package org.example.xbase.expressions.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.example.xbase.expressions.services.ExpressionsGrammarAccess;
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 InternalExpressionsParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_HEX", "RULE_INT", "RULE_DECIMAL", "RULE_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'='", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'*'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'.'", "'::'", "'?.'", "','", "'('", "')'", "'#'", "'{'", "'}'", "'['", "']'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'static'", "'import'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'"
};
public static final int T__68=68;
public static final int T__69=69;
public static final int RULE_ID=8;
public static final int T__66=66;
public static final int T__67=67;
public static final int T__64=64;
public static final int T__29=29;
public static final int T__65=65;
public static final int T__28=28;
public static final int T__62=62;
public static final int T__27=27;
public static final int T__63=63;
public static final int T__26=26;
public static final int T__25=25;
public static final int T__24=24;
public static final int T__23=23;
public static final int T__22=22;
public static final int RULE_ANY_OTHER=12;
public static final int T__21=21;
public static final int T__20=20;
public static final int T__61=61;
public static final int T__60=60;
public static final int EOF=-1;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__19=19;
public static final int T__57=57;
public static final int RULE_HEX=5;
public static final int T__58=58;
public static final int T__16=16;
public static final int T__51=51;
public static final int T__15=15;
public static final int T__52=52;
public static final int T__53=53;
public static final int T__18=18;
public static final int T__54=54;
public static final int T__17=17;
public static final int T__14=14;
public static final int T__13=13;
public static final int T__59=59;
public static final int RULE_INT=6;
public static final int RULE_DECIMAL=7;
public static final int T__50=50;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__80=80;
public static final int T__46=46;
public static final int T__81=81;
public static final int T__47=47;
public static final int T__82=82;
public static final int T__44=44;
public static final int T__83=83;
public static final int T__45=45;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__85=85;
public static final int RULE_SL_COMMENT=10;
public static final int T__84=84;
public static final int T__86=86;
public static final int RULE_ML_COMMENT=9;
public static final int T__30=30;
public static final int T__31=31;
public static final int RULE_STRING=4;
public static final int T__32=32;
public static final int T__71=71;
public static final int T__33=33;
public static final int T__72=72;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__70=70;
public static final int T__36=36;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int RULE_WS=11;
public static final int T__76=76;
public static final int T__75=75;
public static final int T__74=74;
public static final int T__73=73;
public static final int T__79=79;
public static final int T__78=78;
public static final int T__77=77;
// delegates
// delegators
public InternalExpressionsParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalExpressionsParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalExpressionsParser.tokenNames; }
public String getGrammarFileName() { return "../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g"; }
private ExpressionsGrammarAccess grammarAccess;
public InternalExpressionsParser(TokenStream input, ExpressionsGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "ExpressionsModel";
}
@Override
protected ExpressionsGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleExpressionsModel"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:67:1: entryRuleExpressionsModel returns [EObject current=null] : iv_ruleExpressionsModel= ruleExpressionsModel EOF ;
public final EObject entryRuleExpressionsModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleExpressionsModel = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:68:2: (iv_ruleExpressionsModel= ruleExpressionsModel EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:69:2: iv_ruleExpressionsModel= ruleExpressionsModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getExpressionsModelRule());
}
pushFollow(FOLLOW_ruleExpressionsModel_in_entryRuleExpressionsModel75);
iv_ruleExpressionsModel=ruleExpressionsModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleExpressionsModel;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleExpressionsModel85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleExpressionsModel"
// $ANTLR start "ruleExpressionsModel"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:76:1: ruleExpressionsModel returns [EObject current=null] : ( () ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )* ) ;
public final EObject ruleExpressionsModel() throws RecognitionException {
EObject current = null;
EObject lv_expressions_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:79:28: ( ( () ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:80:1: ( () ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:80:1: ( () ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:80:2: () ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:80:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:81:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getExpressionsModelAccess().getExpressionsModelAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:86:2: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( ((LA1_0>=RULE_STRING && LA1_0<=RULE_ID)||LA1_0==19||(LA1_0>=35 && LA1_0<=36)||LA1_0==41||LA1_0==49||(LA1_0>=51 && LA1_0<=52)||LA1_0==54||LA1_0==58||LA1_0==60||(LA1_0>=64 && LA1_0<=81)||LA1_0==83) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:87:1: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:87:1: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:88:3: lv_expressions_1_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getExpressionsModelAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleExpressionsModel140);
lv_expressions_1_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getExpressionsModelRule());
}
add(
current,
"expressions",
lv_expressions_1_0,
"XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop1;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleExpressionsModel"
// $ANTLR start "entryRuleXExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:112: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:113:2: (iv_ruleXExpression= ruleXExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:114:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression177);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression187); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:121: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:124:28: (this_XAssignment_0= ruleXAssignment )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:126:5: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression233);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:142: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:143:2: (iv_ruleXAssignment= ruleXAssignment EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:144:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment267);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment277); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:151: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:154:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:155:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:155:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt3=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
int LA3_1 = input.LA(2);
if ( (LA3_1==EOF||(LA3_1>=RULE_STRING && LA3_1<=RULE_ID)||(LA3_1>=14 && LA3_1<=55)||(LA3_1>=57 && LA3_1<=84)) ) {
alt3=2;
}
else if ( (LA3_1==13) ) {
alt3=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 1, input);
throw nvae;
}
}
break;
case 69:
{
int LA3_2 = input.LA(2);
if ( (LA3_2==EOF||(LA3_2>=RULE_STRING && LA3_2<=RULE_ID)||(LA3_2>=14 && LA3_2<=55)||(LA3_2>=57 && LA3_2<=84)) ) {
alt3=2;
}
else if ( (LA3_2==13) ) {
alt3=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 2, input);
throw nvae;
}
}
break;
case 70:
{
int LA3_3 = input.LA(2);
if ( (LA3_3==13) ) {
alt3=1;
}
else if ( (LA3_3==EOF||(LA3_3>=RULE_STRING && LA3_3<=RULE_ID)||(LA3_3>=14 && LA3_3<=55)||(LA3_3>=57 && LA3_3<=84)) ) {
alt3=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 3, input);
throw nvae;
}
}
break;
case 71:
{
int LA3_4 = input.LA(2);
if ( (LA3_4==13) ) {
alt3=1;
}
else if ( (LA3_4==EOF||(LA3_4>=RULE_STRING && LA3_4<=RULE_ID)||(LA3_4>=14 && LA3_4<=55)||(LA3_4>=57 && LA3_4<=84)) ) {
alt3=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 4, input);
throw nvae;
}
}
break;
case 72:
{
int LA3_5 = input.LA(2);
if ( (LA3_5==EOF||(LA3_5>=RULE_STRING && LA3_5<=RULE_ID)||(LA3_5>=14 && LA3_5<=55)||(LA3_5>=57 && LA3_5<=84)) ) {
alt3=2;
}
else if ( (LA3_5==13) ) {
alt3=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 5, input);
throw nvae;
}
}
break;
case RULE_STRING:
case RULE_HEX:
case RULE_INT:
case RULE_DECIMAL:
case 19:
case 35:
case 36:
case 41:
case 49:
case 51:
case 52:
case 54:
case 58:
case 60:
case 64:
case 65:
case 66:
case 73:
case 74:
case 75:
case 76:
case 77:
case 78:
case 79:
case 80:
case 81:
case 83:
{
alt3=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
throw nvae;
}
switch (alt3) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:155:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:155:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:155:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:155:3: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:156:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:161:2: ( ( ruleFeatureCallID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:162:1: ( ruleFeatureCallID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:162:1: ( ruleFeatureCallID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:163: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_ruleXAssignment335);
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_ruleXAssignment351);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:184:1: ( (lv_value_3_0= ruleXAssignment ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:185:1: (lv_value_3_0= ruleXAssignment )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:185:1: (lv_value_3_0= ruleXAssignment )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:186:3: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment371);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:203:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:203:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:204: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_ruleXAssignment401);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt2=2;
alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:217:6: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:217:7: () ( ( ruleOpMultiAssign ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:217:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:218:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:223:2: ( ( ruleOpMultiAssign ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:224:1: ( ruleOpMultiAssign )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:224:1: ( ruleOpMultiAssign )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:225: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_ruleXAssignment454);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:238:4: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:239:1: (lv_rightOperand_7_0= ruleXAssignment )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:239:1: (lv_rightOperand_7_0= ruleXAssignment )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:240:3: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment477);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:264: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:265:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:266:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign517);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign528); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:273:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:276:28: (kw= '=' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:278:2: kw= '='
{
kw=(Token)match(input,13,FOLLOW_13_in_ruleOpSingleAssign565); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:291: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:292:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:293:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign605);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign616); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:300: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:303:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:304:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:304:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
int alt5=7;
switch ( input.LA(1) ) {
case 14:
{
alt5=1;
}
break;
case 15:
{
alt5=2;
}
break;
case 16:
{
alt5=3;
}
break;
case 17:
{
alt5=4;
}
break;
case 18:
{
alt5=5;
}
break;
case 19:
{
alt5=6;
}
break;
case 20:
{
alt5=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 5, 0, input);
throw nvae;
}
switch (alt5) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:305:2: kw= '+='
{
kw=(Token)match(input,14,FOLLOW_14_in_ruleOpMultiAssign654); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:312:2: kw= '-='
{
kw=(Token)match(input,15,FOLLOW_15_in_ruleOpMultiAssign673); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:319:2: kw= '*='
{
kw=(Token)match(input,16,FOLLOW_16_in_ruleOpMultiAssign692); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:326:2: kw= '/='
{
kw=(Token)match(input,17,FOLLOW_17_in_ruleOpMultiAssign711); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
}
break;
case 5 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:333:2: kw= '%='
{
kw=(Token)match(input,18,FOLLOW_18_in_ruleOpMultiAssign730); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
}
break;
case 6 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:339:6: (kw= '<' kw= '<' kw= '=' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:339:6: (kw= '<' kw= '<' kw= '=' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:340:2: kw= '<' kw= '<' kw= '='
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpMultiAssign750); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpMultiAssign763); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw=(Token)match(input,13,FOLLOW_13_in_ruleOpMultiAssign776); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
}
}
break;
case 7 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:358:6: (kw= '>' (kw= '>' )? kw= '>=' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:358:6: (kw= '>' (kw= '>' )? kw= '>=' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:359:2: kw= '>' (kw= '>' )? kw= '>='
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpMultiAssign797); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:364:1: (kw= '>' )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==20) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:365:2: kw= '>'
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpMultiAssign811); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
}
break;
}
kw=(Token)match(input,21,FOLLOW_21_in_ruleOpMultiAssign826); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:384: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:385:2: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:386:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression867);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression877); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:393: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:396:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:397:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:397:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:398: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_ruleXOrExpression924);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==22) ) {
int LA6_2 = input.LA(2);
if ( (synpred2_InternalExpressions()) ) {
alt6=1;
}
}
switch (alt6) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:411:6: ( () ( ( ruleOpOr ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:411:7: () ( ( ruleOpOr ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:411:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:412:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:417:2: ( ( ruleOpOr ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:418:1: ( ruleOpOr )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:418:1: ( ruleOpOr )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:419: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_ruleXOrExpression977);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:432:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:433:1: (lv_rightOperand_3_0= ruleXAndExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:433:1: (lv_rightOperand_3_0= ruleXAndExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:434:3: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression1000);
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 loop6;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:458: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:459:2: (iv_ruleOpOr= ruleOpOr EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:460:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr1039);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr1050); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:467:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:470:28: (kw= '||' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:472:2: kw= '||'
{
kw=(Token)match(input,22,FOLLOW_22_in_ruleOpOr1087); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:485: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:486:2: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:487:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression1126);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression1136); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:494: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:497:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:498:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:498:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:499: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_ruleXAndExpression1183);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop7:
do {
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==23) ) {
int LA7_2 = input.LA(2);
if ( (synpred3_InternalExpressions()) ) {
alt7=1;
}
}
switch (alt7) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:512:6: ( () ( ( ruleOpAnd ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:512:7: () ( ( ruleOpAnd ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:512:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:513:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:518:2: ( ( ruleOpAnd ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:519:1: ( ruleOpAnd )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:519:1: ( ruleOpAnd )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:520: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_ruleXAndExpression1236);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:533:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:534:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:534:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:535:3: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression1259);
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 loop7;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:559: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:560:2: (iv_ruleOpAnd= ruleOpAnd EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:561:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd1298);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd1309); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:568:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:571:28: (kw= '&&' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:573:2: kw= '&&'
{
kw=(Token)match(input,23,FOLLOW_23_in_ruleOpAnd1346); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:586: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:587:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:588:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression1385);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression1395); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:595: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:598:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:599:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:599:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:600: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_ruleXEqualityExpression1442);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop8:
do {
int alt8=2;
switch ( input.LA(1) ) {
case 24:
{
int LA8_2 = input.LA(2);
if ( (synpred4_InternalExpressions()) ) {
alt8=1;
}
}
break;
case 25:
{
int LA8_3 = input.LA(2);
if ( (synpred4_InternalExpressions()) ) {
alt8=1;
}
}
break;
case 26:
{
int LA8_4 = input.LA(2);
if ( (synpred4_InternalExpressions()) ) {
alt8=1;
}
}
break;
case 27:
{
int LA8_5 = input.LA(2);
if ( (synpred4_InternalExpressions()) ) {
alt8=1;
}
}
break;
}
switch (alt8) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:613:6: ( () ( ( ruleOpEquality ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:613:7: () ( ( ruleOpEquality ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:613:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:614:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:619:2: ( ( ruleOpEquality ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:620:1: ( ruleOpEquality )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:620:1: ( ruleOpEquality )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:621: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_ruleXEqualityExpression1495);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:634:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:635:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:635:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:636:3: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression1518);
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 loop8;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:660: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:661:2: (iv_ruleOpEquality= ruleOpEquality EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:662:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality1557);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality1568); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:669: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:672:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:673:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:673:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
int alt9=4;
switch ( input.LA(1) ) {
case 24:
{
alt9=1;
}
break;
case 25:
{
alt9=2;
}
break;
case 26:
{
alt9=3;
}
break;
case 27:
{
alt9=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 9, 0, input);
throw nvae;
}
switch (alt9) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:674:2: kw= '=='
{
kw=(Token)match(input,24,FOLLOW_24_in_ruleOpEquality1606); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:681:2: kw= '!='
{
kw=(Token)match(input,25,FOLLOW_25_in_ruleOpEquality1625); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:688:2: kw= '==='
{
kw=(Token)match(input,26,FOLLOW_26_in_ruleOpEquality1644); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:695:2: kw= '!=='
{
kw=(Token)match(input,27,FOLLOW_27_in_ruleOpEquality1663); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:708: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:709:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:710:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression1703);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression1713); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:717: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:720:28: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:721:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:721:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:722: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_ruleXRelationalExpression1760);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop10:
do {
int alt10=3;
switch ( input.LA(1) ) {
case 19:
{
int LA10_2 = input.LA(2);
if ( (synpred6_InternalExpressions()) ) {
alt10=2;
}
}
break;
case 20:
{
int LA10_3 = input.LA(2);
if ( (synpred6_InternalExpressions()) ) {
alt10=2;
}
}
break;
case 28:
{
int LA10_4 = input.LA(2);
if ( (synpred5_InternalExpressions()) ) {
alt10=1;
}
}
break;
case 21:
{
int LA10_5 = input.LA(2);
if ( (synpred6_InternalExpressions()) ) {
alt10=2;
}
}
break;
}
switch (alt10) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:732:5: ( () otherlv_2= 'instanceof' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:732:6: () otherlv_2= 'instanceof'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:732:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:733:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,28,FOLLOW_28_in_ruleXRelationalExpression1796); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:742:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:743:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:743:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:744:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression1819);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:766:6: ( () ( ( ruleOpCompare ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:766:7: () ( ( ruleOpCompare ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:766:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:767:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:772:2: ( ( ruleOpCompare ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:773:1: ( ruleOpCompare )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:773:1: ( ruleOpCompare )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:774: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_ruleXRelationalExpression1880);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:787:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:788:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:788:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:789:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression1903);
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 loop10;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:813: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:814:2: (iv_ruleOpCompare= ruleOpCompare EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:815:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare1943);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare1954); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:822: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:825:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:826:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:826:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
int alt11=4;
switch ( input.LA(1) ) {
case 21:
{
alt11=1;
}
break;
case 19:
{
int LA11_2 = input.LA(2);
if ( (LA11_2==EOF||(LA11_2>=RULE_STRING && LA11_2<=RULE_ID)||LA11_2==19||(LA11_2>=35 && LA11_2<=36)||LA11_2==41||LA11_2==49||(LA11_2>=51 && LA11_2<=52)||LA11_2==54||LA11_2==58||LA11_2==60||(LA11_2>=64 && LA11_2<=66)||(LA11_2>=69 && LA11_2<=81)||LA11_2==83) ) {
alt11=4;
}
else if ( (LA11_2==13) ) {
alt11=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 11, 2, input);
throw nvae;
}
}
break;
case 20:
{
alt11=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 11, 0, input);
throw nvae;
}
switch (alt11) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:827:2: kw= '>='
{
kw=(Token)match(input,21,FOLLOW_21_in_ruleOpCompare1992); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:833:6: (kw= '<' kw= '=' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:833:6: (kw= '<' kw= '=' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:834:2: kw= '<' kw= '='
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpCompare2012); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0());
}
kw=(Token)match(input,13,FOLLOW_13_in_ruleOpCompare2025); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1());
}
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:847:2: kw= '>'
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpCompare2045); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:854:2: kw= '<'
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpCompare2064); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:867: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:868:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:869:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression2104);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression2114); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:876: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:879:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:880:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:880:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:881: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_ruleXOtherOperatorExpression2161);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop12:
do {
int alt12=2;
alt12 = dfa12.predict(input);
switch (alt12) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:894:6: ( () ( ( ruleOpOther ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:894:7: () ( ( ruleOpOther ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:894:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:895:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:900:2: ( ( ruleOpOther ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:901:1: ( ruleOpOther )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:901:1: ( ruleOpOther )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:902: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_ruleXOtherOperatorExpression2214);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:915:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:916:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:916:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:917:3: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression2237);
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 loop12;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:941: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:942:2: (iv_ruleOpOther= ruleOpOther EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:943:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther2276);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther2287); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:950: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:953:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:954:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:954:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
int alt15=9;
alt15 = dfa15.predict(input);
switch (alt15) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:955:2: kw= '->'
{
kw=(Token)match(input,29,FOLLOW_29_in_ruleOpOther2325); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:962:2: kw= '..<'
{
kw=(Token)match(input,30,FOLLOW_30_in_ruleOpOther2344); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:968:6: (kw= '>' kw= '..' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:968:6: (kw= '>' kw= '..' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:969:2: kw= '>' kw= '..'
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpOther2364); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0());
}
kw=(Token)match(input,31,FOLLOW_31_in_ruleOpOther2377); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1());
}
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:982:2: kw= '..'
{
kw=(Token)match(input,31,FOLLOW_31_in_ruleOpOther2397); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3());
}
}
break;
case 5 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:989:2: kw= '=>'
{
kw=(Token)match(input,32,FOLLOW_32_in_ruleOpOther2416); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4());
}
}
break;
case 6 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:995:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:995:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:996:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpOther2436); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==20) ) {
int LA13_1 = input.LA(2);
if ( (LA13_1==20) && (synpred8_InternalExpressions())) {
alt13=1;
}
else if ( (LA13_1==EOF||(LA13_1>=RULE_STRING && LA13_1<=RULE_ID)||LA13_1==19||(LA13_1>=35 && LA13_1<=36)||LA13_1==41||LA13_1==49||(LA13_1>=51 && LA13_1<=52)||LA13_1==54||LA13_1==58||LA13_1==60||(LA13_1>=64 && LA13_1<=66)||(LA13_1>=69 && LA13_1<=81)||LA13_1==83) ) {
alt13=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 13, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 13, 0, input);
throw nvae;
}
switch (alt13) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1005:5: (kw= '>' kw= '>' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1006:2: kw= '>' kw= '>'
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpOther2467); 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,20,FOLLOW_20_in_ruleOpOther2480); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1019:2: kw= '>'
{
kw=(Token)match(input,20,FOLLOW_20_in_ruleOpOther2501); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1025:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1025:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1026:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpOther2523); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
int alt14=3;
int LA14_0 = input.LA(1);
if ( (LA14_0==19) ) {
int LA14_1 = input.LA(2);
if ( (synpred9_InternalExpressions()) ) {
alt14=1;
}
else if ( (true) ) {
alt14=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 14, 1, input);
throw nvae;
}
}
else if ( (LA14_0==32) ) {
alt14=3;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1035:5: (kw= '<' kw= '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1036:2: kw= '<' kw= '<'
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpOther2554); 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,19,FOLLOW_19_in_ruleOpOther2567); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1049:2: kw= '<'
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleOpOther2588); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1056:2: kw= '=>'
{
kw=(Token)match(input,32,FOLLOW_32_in_ruleOpOther2607); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1063:2: kw= '<>'
{
kw=(Token)match(input,33,FOLLOW_33_in_ruleOpOther2628); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7());
}
}
break;
case 9 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1070:2: kw= '?:'
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleOpOther2647); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1083: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1084:2: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1085:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionRule());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression2687);
iv_ruleXAdditiveExpression=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAdditiveExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression2697); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAdditiveExpression"
// $ANTLR start "ruleXAdditiveExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1092: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1095:28: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1096:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1096:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1097: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_ruleXAdditiveExpression2744);
this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:1: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==35) ) {
int LA16_2 = input.LA(2);
if ( (synpred10_InternalExpressions()) ) {
alt16=1;
}
}
else if ( (LA16_0==36) ) {
int LA16_3 = input.LA(2);
if ( (synpred10_InternalExpressions()) ) {
alt16=1;
}
}
switch (alt16) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:3: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1110:6: ( () ( ( ruleOpAdd ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1110:7: () ( ( ruleOpAdd ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1110:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1111:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1116:2: ( ( ruleOpAdd ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1117:1: ( ruleOpAdd )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1117:1: ( ruleOpAdd )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1118: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_ruleXAdditiveExpression2797);
ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1131:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1132:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1132:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1133:3: lv_rightOperand_3_0= ruleXMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression2820);
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 loop16;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1157: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1158:2: (iv_ruleOpAdd= ruleOpAdd EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1159:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd2859);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd2870); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1166: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1169:28: ( (kw= '+' | kw= '-' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1170:1: (kw= '+' | kw= '-' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1170:1: (kw= '+' | kw= '-' )
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==35) ) {
alt17=1;
}
else if ( (LA17_0==36) ) {
alt17=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 17, 0, input);
throw nvae;
}
switch (alt17) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1171:2: kw= '+'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleOpAdd2908); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1178:2: kw= '-'
{
kw=(Token)match(input,36,FOLLOW_36_in_ruleOpAdd2927); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1191: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1192:2: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1193:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression2967);
iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMultiplicativeExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression2977); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMultiplicativeExpression"
// $ANTLR start "ruleXMultiplicativeExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1200: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1203:28: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1204:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1204:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1205: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_ruleXMultiplicativeExpression3024);
this_XUnaryOperation_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:1: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
loop18:
do {
int alt18=2;
switch ( input.LA(1) ) {
case 37:
{
int LA18_2 = input.LA(2);
if ( (synpred11_InternalExpressions()) ) {
alt18=1;
}
}
break;
case 38:
{
int LA18_3 = input.LA(2);
if ( (synpred11_InternalExpressions()) ) {
alt18=1;
}
}
break;
case 39:
{
int LA18_4 = input.LA(2);
if ( (synpred11_InternalExpressions()) ) {
alt18=1;
}
}
break;
case 40:
{
int LA18_5 = input.LA(2);
if ( (synpred11_InternalExpressions()) ) {
alt18=1;
}
}
break;
}
switch (alt18) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:3: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1218:6: ( () ( ( ruleOpMulti ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1218:7: () ( ( ruleOpMulti ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1218:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1219:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1224:2: ( ( ruleOpMulti ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1225:1: ( ruleOpMulti )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1225:1: ( ruleOpMulti )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1226: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_ruleXMultiplicativeExpression3077);
ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1239:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1240:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1240:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1241:3: lv_rightOperand_3_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression3100);
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 loop18;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1265: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1266:2: (iv_ruleOpMulti= ruleOpMulti EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1267:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti3139);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti3150); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1274: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1277:28: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1278:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1278:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
int alt19=4;
switch ( input.LA(1) ) {
case 37:
{
alt19=1;
}
break;
case 38:
{
alt19=2;
}
break;
case 39:
{
alt19=3;
}
break;
case 40:
{
alt19=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1279:2: kw= '*'
{
kw=(Token)match(input,37,FOLLOW_37_in_ruleOpMulti3188); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1286:2: kw= '**'
{
kw=(Token)match(input,38,FOLLOW_38_in_ruleOpMulti3207); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1293:2: kw= '/'
{
kw=(Token)match(input,39,FOLLOW_39_in_ruleOpMulti3226); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2());
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1300:2: kw= '%'
{
kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMulti3245); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1313: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1314:2: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1315:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationRule());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation3285);
iv_ruleXUnaryOperation=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXUnaryOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation3295); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXUnaryOperation"
// $ANTLR start "ruleXUnaryOperation"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1322: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1325:28: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1326:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1326:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
int alt20=2;
int LA20_0 = input.LA(1);
if ( ((LA20_0>=35 && LA20_0<=36)||LA20_0==41) ) {
alt20=1;
}
else if ( ((LA20_0>=RULE_STRING && LA20_0<=RULE_ID)||LA20_0==19||LA20_0==49||(LA20_0>=51 && LA20_0<=52)||LA20_0==54||LA20_0==58||LA20_0==60||(LA20_0>=64 && LA20_0<=66)||(LA20_0>=69 && LA20_0<=81)||LA20_0==83) ) {
alt20=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1326:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1326:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1326:3: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1326:3: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1327:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1332:2: ( ( ruleOpUnary ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1333:1: ( ruleOpUnary )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1333:1: ( ruleOpUnary )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1334: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_ruleXUnaryOperation3353);
ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1347:2: ( (lv_operand_2_0= ruleXUnaryOperation ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1348:1: (lv_operand_2_0= ruleXUnaryOperation )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1348:1: (lv_operand_2_0= ruleXUnaryOperation )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1349:3: lv_operand_2_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXUnaryOperation3374);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1367:5: this_XCastedExpression_3= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation3403);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1383: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1384:2: (iv_ruleOpUnary= ruleOpUnary EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1385:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary3439);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary3450); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1392: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1395:28: ( (kw= '!' | kw= '-' | kw= '+' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1396:1: (kw= '!' | kw= '-' | kw= '+' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1396:1: (kw= '!' | kw= '-' | kw= '+' )
int alt21=3;
switch ( input.LA(1) ) {
case 41:
{
alt21=1;
}
break;
case 36:
{
alt21=2;
}
break;
case 35:
{
alt21=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
throw nvae;
}
switch (alt21) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1397:2: kw= '!'
{
kw=(Token)match(input,41,FOLLOW_41_in_ruleOpUnary3488); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1404:2: kw= '-'
{
kw=(Token)match(input,36,FOLLOW_36_in_ruleOpUnary3507); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1411:2: kw= '+'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleOpUnary3526); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1424: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1425:2: (iv_ruleXCastedExpression= ruleXCastedExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1426:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionRule());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression3566);
iv_ruleXCastedExpression=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCastedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression3576); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCastedExpression"
// $ANTLR start "ruleXCastedExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1433: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1436:28: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1437:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1437:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1438: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_ruleXCastedExpression3623);
this_XPostfixOperation_0=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPostfixOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:1: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
loop22:
do {
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==42) ) {
int LA22_2 = input.LA(2);
if ( (synpred12_InternalExpressions()) ) {
alt22=1;
}
}
switch (alt22) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:3: ( ( () 'as' ) )=> ( () otherlv_2= 'as' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1448:5: ( () otherlv_2= 'as' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1448:6: () otherlv_2= 'as'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1448:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1449:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleXCastedExpression3658); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1458:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1459:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1459:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1460:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression3681);
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 loop22;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCastedExpression"
// $ANTLR start "entryRuleXPostfixOperation"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1484: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1485:2: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1486:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationRule());
}
pushFollow(FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation3719);
iv_ruleXPostfixOperation=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPostfixOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXPostfixOperation3729); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPostfixOperation"
// $ANTLR start "ruleXPostfixOperation"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1493: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1496:28: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1497:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1497:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1498:5: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_ruleXPostfixOperation3776);
this_XMemberFeatureCall_0=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMemberFeatureCall_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:1: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==43) ) {
int LA23_1 = input.LA(2);
if ( (synpred13_InternalExpressions()) ) {
alt23=1;
}
}
else if ( (LA23_0==44) ) {
int LA23_2 = input.LA(2);
if ( (synpred13_InternalExpressions()) ) {
alt23=1;
}
}
switch (alt23) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:2: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1511:6: ( () ( ( ruleOpPostfix ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1511:7: () ( ( ruleOpPostfix ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1511:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1512:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1517:2: ( ( ruleOpPostfix ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1518:1: ( ruleOpPostfix )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1518:1: ( ruleOpPostfix )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1519: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_ruleXPostfixOperation3828);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1540: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1541:2: (iv_ruleOpPostfix= ruleOpPostfix EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1542:2: iv_ruleOpPostfix= ruleOpPostfix EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpPostfixRule());
}
pushFollow(FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix3868);
iv_ruleOpPostfix=ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpPostfix.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpPostfix3879); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpPostfix"
// $ANTLR start "ruleOpPostfix"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1549: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1552:28: ( (kw= '++' | kw= '--' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1553:1: (kw= '++' | kw= '--' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1553:1: (kw= '++' | kw= '--' )
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==43) ) {
alt24=1;
}
else if ( (LA24_0==44) ) {
alt24=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 24, 0, input);
throw nvae;
}
switch (alt24) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1554:2: kw= '++'
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpPostfix3917); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1561:2: kw= '--'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpPostfix3936); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1574: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1575:2: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1576:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallRule());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall3976);
iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMemberFeatureCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall3986); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMemberFeatureCall"
// $ANTLR start "ruleXMemberFeatureCall"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1583: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1586: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1587: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1587: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1588: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_ruleXMemberFeatureCall4033);
this_XPrimaryExpression_0=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596: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 ) )? ) )*
loop33:
do {
int alt33=3;
switch ( input.LA(1) ) {
case 45:
{
int LA33_2 = input.LA(2);
if ( (synpred14_InternalExpressions()) ) {
alt33=1;
}
else if ( (synpred15_InternalExpressions()) ) {
alt33=2;
}
}
break;
case 46:
{
int LA33_3 = input.LA(2);
if ( (synpred14_InternalExpressions()) ) {
alt33=1;
}
else if ( (synpred15_InternalExpressions()) ) {
alt33=2;
}
}
break;
case 47:
{
int LA33_4 = input.LA(2);
if ( (synpred15_InternalExpressions()) ) {
alt33=2;
}
}
break;
}
switch (alt33) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:4: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1609:25: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1609:26: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1609:26: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1610:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1615:2: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) )
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==45) ) {
alt25=1;
}
else if ( (LA25_0==46) ) {
alt25=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 0, input);
throw nvae;
}
switch (alt25) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1615:4: otherlv_2= '.'
{
otherlv_2=(Token)match(input,45,FOLLOW_45_in_ruleXMemberFeatureCall4105); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1620:6: ( (lv_explicitStatic_3_0= '::' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1620:6: ( (lv_explicitStatic_3_0= '::' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1621:1: (lv_explicitStatic_3_0= '::' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1621:1: (lv_explicitStatic_3_0= '::' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1622:3: lv_explicitStatic_3_0= '::'
{
lv_explicitStatic_3_0=(Token)match(input,46,FOLLOW_46_in_ruleXMemberFeatureCall4129); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1635:3: ( ( ruleFeatureCallID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1636:1: ( ruleFeatureCallID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1636:1: ( ruleFeatureCallID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1637: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_ruleXMemberFeatureCall4166);
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_ruleXMemberFeatureCall4182);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1658:3: ( (lv_value_6_0= ruleXAssignment ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1659:1: (lv_value_6_0= ruleXAssignment )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1659:1: (lv_value_6_0= ruleXAssignment )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1660:3: lv_value_6_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall4204);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1693:7: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1693:8: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1693:8: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1694:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1699:2: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
int alt26=3;
switch ( input.LA(1) ) {
case 45:
{
alt26=1;
}
break;
case 47:
{
alt26=2;
}
break;
case 46:
{
alt26=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1699:4: otherlv_8= '.'
{
otherlv_8=(Token)match(input,45,FOLLOW_45_in_ruleXMemberFeatureCall4290); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1704:6: ( (lv_nullSafe_9_0= '?.' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1704:6: ( (lv_nullSafe_9_0= '?.' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1705:1: (lv_nullSafe_9_0= '?.' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1705:1: (lv_nullSafe_9_0= '?.' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1706:3: lv_nullSafe_9_0= '?.'
{
lv_nullSafe_9_0=(Token)match(input,47,FOLLOW_47_in_ruleXMemberFeatureCall4314); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1720:6: ( (lv_explicitStatic_10_0= '::' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1720:6: ( (lv_explicitStatic_10_0= '::' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1721:1: (lv_explicitStatic_10_0= '::' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1721:1: (lv_explicitStatic_10_0= '::' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1722:3: lv_explicitStatic_10_0= '::'
{
lv_explicitStatic_10_0=(Token)match(input,46,FOLLOW_46_in_ruleXMemberFeatureCall4351); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1735:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==19) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1735:7: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>'
{
otherlv_11=(Token)match(input,19,FOLLOW_19_in_ruleXMemberFeatureCall4380); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1739:1: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1740:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1740:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1741:3: lv_typeArguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall4401);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1757:2: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==48) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1757:4: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
{
otherlv_13=(Token)match(input,48,FOLLOW_48_in_ruleXMemberFeatureCall4414); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1761:1: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1762:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1762:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1763:3: lv_typeArguments_14_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall4435);
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 loop27;
}
} while (true);
otherlv_15=(Token)match(input,20,FOLLOW_20_in_ruleXMemberFeatureCall4449); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1783:3: ( ( ruleIdOrSuper ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1784:1: ( ruleIdOrSuper )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1784:1: ( ruleIdOrSuper )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1785: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_ruleXMemberFeatureCall4474);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1798: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 alt31=2;
alt31 = dfa31.predict(input);
switch (alt31) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1798: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1798:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1798:4: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1805:1: (lv_explicitOperationCall_17_0= '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1806:3: lv_explicitOperationCall_17_0= '('
{
lv_explicitOperationCall_17_0=(Token)match(input,49,FOLLOW_49_in_ruleXMemberFeatureCall4508); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?
int alt30=3;
alt30 = dfa30.predict(input);
switch (alt30) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1836:1: (lv_memberCallArguments_18_0= ruleXShortClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1837:3: lv_memberCallArguments_18_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall4593);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1854:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1854:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1854:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1854:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1855:1: (lv_memberCallArguments_19_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1855:1: (lv_memberCallArguments_19_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1856: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_ruleXMemberFeatureCall4621);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1872:2: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
loop29:
do {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==48) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1872:4: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) )
{
otherlv_20=(Token)match(input,48,FOLLOW_48_in_ruleXMemberFeatureCall4634); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1876:1: ( (lv_memberCallArguments_21_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1877:1: (lv_memberCallArguments_21_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1877:1: (lv_memberCallArguments_21_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1878: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_ruleXMemberFeatureCall4655);
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 loop29;
}
} while (true);
}
}
break;
}
otherlv_22=(Token)match(input,50,FOLLOW_50_in_ruleXMemberFeatureCall4672); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
int alt32=2;
alt32 = dfa32.predict(input);
switch (alt32) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:4: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1901:1: (lv_memberCallArguments_23_0= ruleXClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1902:3: lv_memberCallArguments_23_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall4707);
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 loop33;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMemberFeatureCall"
// $ANTLR start "entryRuleXPrimaryExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1926: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1927:2: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1928:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionRule());
}
pushFollow(FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression4747);
iv_ruleXPrimaryExpression=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPrimaryExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXPrimaryExpression4757); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPrimaryExpression"
// $ANTLR start "ruleXPrimaryExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1935: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1938: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1939: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1939: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 alt34=15;
alt34 = dfa34.predict(input);
switch (alt34) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1940:5: this_XConstructorCall_0= ruleXConstructorCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression4804);
this_XConstructorCall_0=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XConstructorCall_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1950:5: this_XBlockExpression_1= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression4831);
this_XBlockExpression_1=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBlockExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1960:5: this_XSwitchExpression_2= ruleXSwitchExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2());
}
pushFollow(FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression4858);
this_XSwitchExpression_2=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSwitchExpression_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:7: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3());
}
pushFollow(FOLLOW_ruleXSynchronizedExpression_in_ruleXPrimaryExpression4902);
this_XSynchronizedExpression_3=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSynchronizedExpression_3;
afterParserOrEnumRuleCall();
}
}
}
break;
case 5 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1983:5: this_XFeatureCall_4= ruleXFeatureCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4());
}
pushFollow(FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression4930);
this_XFeatureCall_4=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFeatureCall_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1993:5: this_XLiteral_5= ruleXLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression4957);
this_XLiteral_5=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2003:5: this_XIfExpression_6= ruleXIfExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6());
}
pushFollow(FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression4984);
this_XIfExpression_6=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XIfExpression_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:7: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7());
}
pushFollow(FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression5041);
this_XForLoopExpression_7=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XForLoopExpression_7;
afterParserOrEnumRuleCall();
}
}
}
break;
case 9 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2031:5: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8());
}
pushFollow(FOLLOW_ruleXBasicForLoopExpression_in_ruleXPrimaryExpression5069);
this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBasicForLoopExpression_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2041:5: this_XWhileExpression_9= ruleXWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9());
}
pushFollow(FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression5096);
this_XWhileExpression_9=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XWhileExpression_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2051:5: this_XDoWhileExpression_10= ruleXDoWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10());
}
pushFollow(FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression5123);
this_XDoWhileExpression_10=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XDoWhileExpression_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2061:5: this_XThrowExpression_11= ruleXThrowExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11());
}
pushFollow(FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression5150);
this_XThrowExpression_11=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XThrowExpression_11;
afterParserOrEnumRuleCall();
}
}
break;
case 13 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2071:5: this_XReturnExpression_12= ruleXReturnExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12());
}
pushFollow(FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression5177);
this_XReturnExpression_12=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XReturnExpression_12;
afterParserOrEnumRuleCall();
}
}
break;
case 14 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2081:5: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13());
}
pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression5204);
this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTryCatchFinallyExpression_13;
afterParserOrEnumRuleCall();
}
}
break;
case 15 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2091:5: this_XParenthesizedExpression_14= ruleXParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14());
}
pushFollow(FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression5231);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2107: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2108:2: (iv_ruleXLiteral= ruleXLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2109:2: iv_ruleXLiteral= ruleXLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralRule());
}
pushFollow(FOLLOW_ruleXLiteral_in_entryRuleXLiteral5266);
iv_ruleXLiteral=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXLiteral5276); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXLiteral"
// $ANTLR start "ruleXLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2116: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2119: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2120: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2120: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 alt35=7;
int LA35_0 = input.LA(1);
if ( (LA35_0==51) ) {
alt35=1;
}
else if ( (LA35_0==54) && (synpred21_InternalExpressions())) {
alt35=2;
}
else if ( ((LA35_0>=75 && LA35_0<=76)) ) {
alt35=3;
}
else if ( ((LA35_0>=RULE_HEX && LA35_0<=RULE_DECIMAL)) ) {
alt35=4;
}
else if ( (LA35_0==77) ) {
alt35=5;
}
else if ( (LA35_0==RULE_STRING) ) {
alt35=6;
}
else if ( (LA35_0==78) ) {
alt35=7;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 35, 0, input);
throw nvae;
}
switch (alt35) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2121:5: this_XCollectionLiteral_0= ruleXCollectionLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXCollectionLiteral_in_ruleXLiteral5323);
this_XCollectionLiteral_0=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCollectionLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:7: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXLiteral5363);
this_XClosure_1=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XClosure_1;
afterParserOrEnumRuleCall();
}
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2143:5: this_XBooleanLiteral_2= ruleXBooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2());
}
pushFollow(FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral5391);
this_XBooleanLiteral_2=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBooleanLiteral_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2153:5: this_XNumberLiteral_3= ruleXNumberLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3());
}
pushFollow(FOLLOW_ruleXNumberLiteral_in_ruleXLiteral5418);
this_XNumberLiteral_3=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNumberLiteral_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2163:5: this_XNullLiteral_4= ruleXNullLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4());
}
pushFollow(FOLLOW_ruleXNullLiteral_in_ruleXLiteral5445);
this_XNullLiteral_4=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNullLiteral_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2173:5: this_XStringLiteral_5= ruleXStringLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_ruleXStringLiteral_in_ruleXLiteral5472);
this_XStringLiteral_5=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XStringLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2183:5: this_XTypeLiteral_6= ruleXTypeLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6());
}
pushFollow(FOLLOW_ruleXTypeLiteral_in_ruleXLiteral5499);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2199: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2200:2: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2201:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralRule());
}
pushFollow(FOLLOW_ruleXCollectionLiteral_in_entryRuleXCollectionLiteral5534);
iv_ruleXCollectionLiteral=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCollectionLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCollectionLiteral5544); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCollectionLiteral"
// $ANTLR start "ruleXCollectionLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2208: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2211:28: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2212:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2212:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==51) ) {
int LA36_1 = input.LA(2);
if ( (LA36_1==54) ) {
alt36=2;
}
else if ( (LA36_1==52) ) {
alt36=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 36, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 36, 0, input);
throw nvae;
}
switch (alt36) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2213:5: this_XSetLiteral_0= ruleXSetLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXSetLiteral_in_ruleXCollectionLiteral5591);
this_XSetLiteral_0=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSetLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2223:5: this_XListLiteral_1= ruleXListLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXListLiteral_in_ruleXCollectionLiteral5618);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2239: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2240:2: (iv_ruleXSetLiteral= ruleXSetLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2241:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralRule());
}
pushFollow(FOLLOW_ruleXSetLiteral_in_entryRuleXSetLiteral5653);
iv_ruleXSetLiteral=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSetLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXSetLiteral5663); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSetLiteral"
// $ANTLR start "ruleXSetLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2248: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2251:28: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2252:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2252:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2252:2: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2252:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2253:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,51,FOLLOW_51_in_ruleXSetLiteral5709); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,52,FOLLOW_52_in_ruleXSetLiteral5721); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2266:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( ((LA38_0>=RULE_STRING && LA38_0<=RULE_ID)||LA38_0==19||(LA38_0>=35 && LA38_0<=36)||LA38_0==41||LA38_0==49||(LA38_0>=51 && LA38_0<=52)||LA38_0==54||LA38_0==58||LA38_0==60||(LA38_0>=64 && LA38_0<=66)||(LA38_0>=69 && LA38_0<=81)||LA38_0==83) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2266:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2266:2: ( (lv_elements_3_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2267:1: (lv_elements_3_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2267:1: (lv_elements_3_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2268:3: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral5743);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2284:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop37:
do {
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==48) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2284:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,48,FOLLOW_48_in_ruleXSetLiteral5756); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2288:1: ( (lv_elements_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2289:1: (lv_elements_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2289:1: (lv_elements_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2290:3: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral5777);
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 loop37;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,53,FOLLOW_53_in_ruleXSetLiteral5793); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2318: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2319:2: (iv_ruleXListLiteral= ruleXListLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2320:2: iv_ruleXListLiteral= ruleXListLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralRule());
}
pushFollow(FOLLOW_ruleXListLiteral_in_entryRuleXListLiteral5829);
iv_ruleXListLiteral=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXListLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXListLiteral5839); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXListLiteral"
// $ANTLR start "ruleXListLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2327: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2330:28: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2331:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2331:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2331:2: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2331:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2332:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,51,FOLLOW_51_in_ruleXListLiteral5885); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,54,FOLLOW_54_in_ruleXListLiteral5897); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2345:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt40=2;
int LA40_0 = input.LA(1);
if ( ((LA40_0>=RULE_STRING && LA40_0<=RULE_ID)||LA40_0==19||(LA40_0>=35 && LA40_0<=36)||LA40_0==41||LA40_0==49||(LA40_0>=51 && LA40_0<=52)||LA40_0==54||LA40_0==58||LA40_0==60||(LA40_0>=64 && LA40_0<=66)||(LA40_0>=69 && LA40_0<=81)||LA40_0==83) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2345:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2345:2: ( (lv_elements_3_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2346:1: (lv_elements_3_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2346:1: (lv_elements_3_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2347:3: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral5919);
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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2363:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop39:
do {
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==48) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2363:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,48,FOLLOW_48_in_ruleXListLiteral5932); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2367:1: ( (lv_elements_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2368:1: (lv_elements_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2368:1: (lv_elements_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2369:3: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral5953);
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 loop39;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,55,FOLLOW_55_in_ruleXListLiteral5969); 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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2397: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2398:2: (iv_ruleXClosure= ruleXClosure EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2399:2: iv_ruleXClosure= ruleXClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureRule());
}
pushFollow(FOLLOW_ruleXClosure_in_entryRuleXClosure6005);
iv_ruleXClosure=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXClosure6015); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXClosure"
// $ANTLR start "ruleXClosure"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2406:1: ruleXClosure returns [EObject current=null] : ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ;
public final EObject ruleXClosure() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token lv_explicitSyntax_5_0=null;
Token otherlv_7=null;
EObject lv_declaredFormalParameters_2_0 = null;
EObject lv_declaredFormalParameters_4_0 = null;
EObject lv_expression_6_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2409:28: ( ( ( ( ( () '[' ) )=> ( () 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= ']' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2410:1: ( ( ( ( () '[' ) )=> ( () 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= ']' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2410:1: ( ( ( ( () '[' ) )=> ( () 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= ']' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2410:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2410:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2410:3: ( ( () '[' ) )=> ( () otherlv_1= '[' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2412:5: ( () otherlv_1= '[' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2412:6: () otherlv_1= '['
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2412:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2413:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,54,FOLLOW_54_in_ruleXClosure6075); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?
int alt43=2;
alt43 = dfa43.predict(input);
switch (alt43) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2437:6: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2437:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2437:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )?
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==RULE_ID||LA42_0==32||LA42_0==49) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2437:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2437:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2438:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2438:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2439:3: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXClosure6148);
lv_declaredFormalParameters_2_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_2_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2455:2: (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
loop41:
do {
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==48) ) {
alt41=1;
}
switch (alt41) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2455:4: otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
{
otherlv_3=(Token)match(input,48,FOLLOW_48_in_ruleXClosure6161); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2459:1: ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2460:1: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2460:1: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2461:3: lv_declaredFormalParameters_4_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXClosure6182);
lv_declaredFormalParameters_4_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_4_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop41;
}
} while (true);
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2477:6: ( (lv_explicitSyntax_5_0= '|' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2478:1: (lv_explicitSyntax_5_0= '|' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2478:1: (lv_explicitSyntax_5_0= '|' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2479:3: lv_explicitSyntax_5_0= '|'
{
lv_explicitSyntax_5_0=(Token)match(input,56,FOLLOW_56_in_ruleXClosure6204); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitSyntax_5_0, grammarAccess.getXClosureAccess().getExplicitSyntaxVerticalLineKeyword_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXClosureRule());
}
setWithLastConsumed(current, "explicitSyntax", true, "|");
}
}
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2492:5: ( (lv_expression_6_0= ruleXExpressionInClosure ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2493:1: (lv_expression_6_0= ruleXExpressionInClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2493:1: (lv_expression_6_0= ruleXExpressionInClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2494:3: lv_expression_6_0= ruleXExpressionInClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getExpressionXExpressionInClosureParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpressionInClosure_in_ruleXClosure6241);
lv_expression_6_0=ruleXExpressionInClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXClosureRule());
}
set(
current,
"expression",
lv_expression_6_0,
"XExpressionInClosure");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,55,FOLLOW_55_in_ruleXClosure6253); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXClosureAccess().getRightSquareBracketKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXClosure"
// $ANTLR start "entryRuleXExpressionInClosure"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2522:1: entryRuleXExpressionInClosure returns [EObject current=null] : iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF ;
public final EObject entryRuleXExpressionInClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionInClosure = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2523:2: (iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2524:2: iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureRule());
}
pushFollow(FOLLOW_ruleXExpressionInClosure_in_entryRuleXExpressionInClosure6289);
iv_ruleXExpressionInClosure=ruleXExpressionInClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionInClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpressionInClosure6299); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionInClosure"
// $ANTLR start "ruleXExpressionInClosure"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2531:1: ruleXExpressionInClosure returns [EObject current=null] : ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) ;
public final EObject ruleXExpressionInClosure() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject lv_expressions_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2534:28: ( ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2535:1: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2535:1: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2535:2: () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2535:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2536:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXExpressionInClosureAccess().getXBlockExpressionAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2541:2: ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )*
loop45:
do {
int alt45=2;
int LA45_0 = input.LA(1);
if ( ((LA45_0>=RULE_STRING && LA45_0<=RULE_ID)||LA45_0==19||(LA45_0>=35 && LA45_0<=36)||LA45_0==41||LA45_0==49||(LA45_0>=51 && LA45_0<=52)||LA45_0==54||LA45_0==58||LA45_0==60||(LA45_0>=64 && LA45_0<=81)||LA45_0==83) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2541:3: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2541:3: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2542:1: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2542:1: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2543:3: lv_expressions_1_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0());
}
pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXExpressionInClosure6355);
lv_expressions_1_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXExpressionInClosureRule());
}
add(
current,
"expressions",
lv_expressions_1_0,
"XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2559:2: (otherlv_2= ';' )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==57) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2559:4: otherlv_2= ';'
{
otherlv_2=(Token)match(input,57,FOLLOW_57_in_ruleXExpressionInClosure6368); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1());
}
}
break;
}
}
break;
default :
break loop45;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionInClosure"
// $ANTLR start "entryRuleXShortClosure"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2571:1: entryRuleXShortClosure returns [EObject current=null] : iv_ruleXShortClosure= ruleXShortClosure EOF ;
public final EObject entryRuleXShortClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXShortClosure = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2572:2: (iv_ruleXShortClosure= ruleXShortClosure EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2573:2: iv_ruleXShortClosure= ruleXShortClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureRule());
}
pushFollow(FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure6408);
iv_ruleXShortClosure=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXShortClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXShortClosure6418); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXShortClosure"
// $ANTLR start "ruleXShortClosure"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2580:1: ruleXShortClosure returns [EObject current=null] : ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXShortClosure() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_explicitSyntax_4_0=null;
EObject lv_declaredFormalParameters_1_0 = null;
EObject lv_declaredFormalParameters_3_0 = null;
EObject lv_expression_5_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2583:28: ( ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2584:1: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2584:1: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2584:2: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2584:2: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2584:3: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2600:6: ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2600:7: () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2600:7: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2601:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2606:2: ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )?
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==RULE_ID||LA47_0==32||LA47_0==49) ) {
alt47=1;
}
switch (alt47) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2606:3: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2606:3: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2607:1: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2607:1: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2608:3: lv_declaredFormalParameters_1_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure6526);
lv_declaredFormalParameters_1_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXShortClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_1_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2624:2: (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
loop46:
do {
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==48) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2624:4: otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
{
otherlv_2=(Token)match(input,48,FOLLOW_48_in_ruleXShortClosure6539); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXShortClosureAccess().getCommaKeyword_0_0_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2628:1: ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2629:1: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2629:1: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2630:3: lv_declaredFormalParameters_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure6560);
lv_declaredFormalParameters_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXShortClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_3_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop46;
}
} while (true);
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2646:6: ( (lv_explicitSyntax_4_0= '|' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2647:1: (lv_explicitSyntax_4_0= '|' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2647:1: (lv_explicitSyntax_4_0= '|' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2648:3: lv_explicitSyntax_4_0= '|'
{
lv_explicitSyntax_4_0=(Token)match(input,56,FOLLOW_56_in_ruleXShortClosure6582); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitSyntax_4_0, grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXShortClosureRule());
}
setWithLastConsumed(current, "explicitSyntax", true, "|");
}
}
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2661:4: ( (lv_expression_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2662:1: (lv_expression_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2662:1: (lv_expression_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2663:3: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXShortClosure6618);
lv_expression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXShortClosureRule());
}
set(
current,
"expression",
lv_expression_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXShortClosure"
// $ANTLR start "entryRuleXParenthesizedExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2687:1: entryRuleXParenthesizedExpression returns [EObject current=null] : iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF ;
public final EObject entryRuleXParenthesizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXParenthesizedExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2688:2: (iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2689:2: iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXParenthesizedExpressionRule());
}
pushFollow(FOLLOW_ruleXParenthesizedExpression_in_entryRuleXParenthesizedExpression6654);
iv_ruleXParenthesizedExpression=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXParenthesizedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXParenthesizedExpression6664); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXParenthesizedExpression"
// $ANTLR start "ruleXParenthesizedExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2696:1: ruleXParenthesizedExpression returns [EObject current=null] : (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) ;
public final EObject ruleXParenthesizedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
EObject this_XExpression_1 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2699:28: ( (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2700:1: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2700:1: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2700:3: otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')'
{
otherlv_0=(Token)match(input,49,FOLLOW_49_in_ruleXParenthesizedExpression6701); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0());
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXParenthesizedExpressionAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXParenthesizedExpression6723);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
otherlv_2=(Token)match(input,50,FOLLOW_50_in_ruleXParenthesizedExpression6734); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXParenthesizedExpressionAccess().getRightParenthesisKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXParenthesizedExpression"
// $ANTLR start "entryRuleXIfExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2725:1: entryRuleXIfExpression returns [EObject current=null] : iv_ruleXIfExpression= ruleXIfExpression EOF ;
public final EObject entryRuleXIfExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXIfExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2726:2: (iv_ruleXIfExpression= ruleXIfExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2727:2: iv_ruleXIfExpression= ruleXIfExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionRule());
}
pushFollow(FOLLOW_ruleXIfExpression_in_entryRuleXIfExpression6770);
iv_ruleXIfExpression=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXIfExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXIfExpression6780); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXIfExpression"
// $ANTLR start "ruleXIfExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2734:1: ruleXIfExpression returns [EObject current=null] : ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) ;
public final EObject ruleXIfExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_if_3_0 = null;
EObject lv_then_5_0 = null;
EObject lv_else_7_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2737:28: ( ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2738:1: ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2738:1: ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2738:2: () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2738:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2739:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXIfExpressionAccess().getXIfExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,58,FOLLOW_58_in_ruleXIfExpression6826); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXIfExpressionAccess().getIfKeyword_1());
}
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXIfExpression6838); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXIfExpressionAccess().getLeftParenthesisKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2752:1: ( (lv_if_3_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2753:1: (lv_if_3_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2753:1: (lv_if_3_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2754:3: lv_if_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getIfXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXIfExpression6859);
lv_if_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXIfExpressionRule());
}
set(
current,
"if",
lv_if_3_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,50,FOLLOW_50_in_ruleXIfExpression6871); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXIfExpressionAccess().getRightParenthesisKeyword_4());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2774:1: ( (lv_then_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2775:1: (lv_then_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2775:1: (lv_then_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2776:3: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getThenXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXIfExpression6892);
lv_then_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXIfExpressionRule());
}
set(
current,
"then",
lv_then_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2792:2: ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )?
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==59) ) {
int LA48_1 = input.LA(2);
if ( (synpred25_InternalExpressions()) ) {
alt48=1;
}
}
switch (alt48) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2792:3: ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2792:3: ( ( 'else' )=>otherlv_6= 'else' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2792:4: ( 'else' )=>otherlv_6= 'else'
{
otherlv_6=(Token)match(input,59,FOLLOW_59_in_ruleXIfExpression6913); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXIfExpressionAccess().getElseKeyword_6_0());
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2797:2: ( (lv_else_7_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2798:1: (lv_else_7_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2798:1: (lv_else_7_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2799:3: lv_else_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getElseXExpressionParserRuleCall_6_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXIfExpression6935);
lv_else_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXIfExpressionRule());
}
set(
current,
"else",
lv_else_7_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXIfExpression"
// $ANTLR start "entryRuleXSwitchExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2823:1: entryRuleXSwitchExpression returns [EObject current=null] : iv_ruleXSwitchExpression= ruleXSwitchExpression EOF ;
public final EObject entryRuleXSwitchExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSwitchExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2824:2: (iv_ruleXSwitchExpression= ruleXSwitchExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2825:2: iv_ruleXSwitchExpression= ruleXSwitchExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionRule());
}
pushFollow(FOLLOW_ruleXSwitchExpression_in_entryRuleXSwitchExpression6973);
iv_ruleXSwitchExpression=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSwitchExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXSwitchExpression6983); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSwitchExpression"
// $ANTLR start "ruleXSwitchExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2832:1: ruleXSwitchExpression returns [EObject current=null] : ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) ;
public final EObject ruleXSwitchExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
EObject lv_declaredParam_3_0 = null;
EObject lv_switch_5_0 = null;
EObject lv_declaredParam_7_0 = null;
EObject lv_switch_9_0 = null;
EObject lv_cases_11_0 = null;
EObject lv_default_14_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2835:28: ( ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2836:1: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2836:1: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2836:2: () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2836:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2837:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,60,FOLLOW_60_in_ruleXSwitchExpression7029); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:1: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )
int alt50=2;
alt50 = dfa50.predict(input);
switch (alt50) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:2: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:2: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:3: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:3: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:4: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2852:5: (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2852:7: otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':'
{
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXSwitchExpression7067); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_0_0_0_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2856:1: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2857:1: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2857:1: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2858:3: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_0_0_0_1_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXSwitchExpression7088);
lv_declaredParam_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_3_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,61,FOLLOW_61_in_ruleXSwitchExpression7100); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_2());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2878:3: ( (lv_switch_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2879:1: (lv_switch_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2879:1: (lv_switch_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2880:3: lv_switch_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSwitchExpression7123);
lv_switch_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"switch",
lv_switch_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,50,FOLLOW_50_in_ruleXSwitchExpression7135); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_0_2());
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:6: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:6: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:7: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:7: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?
int alt49=2;
alt49 = dfa49.predict(input);
switch (alt49) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:8: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2906:5: ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2906:6: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2906:6: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2907:1: (lv_declaredParam_7_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2907:1: (lv_declaredParam_7_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2908:3: lv_declaredParam_7_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_1_0_0_0_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXSwitchExpression7184);
lv_declaredParam_7_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_7_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_8=(Token)match(input,61,FOLLOW_61_in_ruleXSwitchExpression7196); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_1());
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2928:4: ( (lv_switch_9_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2929:1: (lv_switch_9_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2929:1: (lv_switch_9_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2930:3: lv_switch_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSwitchExpression7220);
lv_switch_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"switch",
lv_switch_9_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
otherlv_10=(Token)match(input,52,FOLLOW_52_in_ruleXSwitchExpression7234); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXSwitchExpressionAccess().getLeftCurlyBracketKeyword_3());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2950:1: ( (lv_cases_11_0= ruleXCasePart ) )*
loop51:
do {
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==RULE_ID||LA51_0==32||(LA51_0>=48 && LA51_0<=49)||LA51_0==61||LA51_0==63) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2951:1: (lv_cases_11_0= ruleXCasePart )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2951:1: (lv_cases_11_0= ruleXCasePart )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2952:3: lv_cases_11_0= ruleXCasePart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getCasesXCasePartParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleXCasePart_in_ruleXSwitchExpression7255);
lv_cases_11_0=ruleXCasePart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
add(
current,
"cases",
lv_cases_11_0,
"XCasePart");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop51;
}
} while (true);
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2968:3: (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )?
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==62) ) {
alt52=1;
}
switch (alt52) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2968:5: otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) )
{
otherlv_12=(Token)match(input,62,FOLLOW_62_in_ruleXSwitchExpression7269); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0());
}
otherlv_13=(Token)match(input,61,FOLLOW_61_in_ruleXSwitchExpression7281); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2976:1: ( (lv_default_14_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2977:1: (lv_default_14_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2977:1: (lv_default_14_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2978:3: lv_default_14_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDefaultXExpressionParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSwitchExpression7302);
lv_default_14_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"default",
lv_default_14_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,53,FOLLOW_53_in_ruleXSwitchExpression7316); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSwitchExpression"
// $ANTLR start "entryRuleXCasePart"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3006:1: entryRuleXCasePart returns [EObject current=null] : iv_ruleXCasePart= ruleXCasePart EOF ;
public final EObject entryRuleXCasePart() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCasePart = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3007:2: (iv_ruleXCasePart= ruleXCasePart EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3008:2: iv_ruleXCasePart= ruleXCasePart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartRule());
}
pushFollow(FOLLOW_ruleXCasePart_in_entryRuleXCasePart7352);
iv_ruleXCasePart=ruleXCasePart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCasePart;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCasePart7362); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCasePart"
// $ANTLR start "ruleXCasePart"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3015:1: ruleXCasePart returns [EObject current=null] : ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) ;
public final EObject ruleXCasePart() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token lv_fallThrough_6_0=null;
EObject lv_typeGuard_1_0 = null;
EObject lv_case_3_0 = null;
EObject lv_then_5_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3018:28: ( ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3019:1: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3019:1: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3019:2: () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3019:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3020:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXCasePartAccess().getXCasePartAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3025:2: ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )?
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==RULE_ID||LA53_0==32||LA53_0==49) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3026:1: (lv_typeGuard_1_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3026:1: (lv_typeGuard_1_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3027:3: lv_typeGuard_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getTypeGuardJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCasePart7417);
lv_typeGuard_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"typeGuard",
lv_typeGuard_1_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3043:3: (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==63) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3043:5: otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) )
{
otherlv_2=(Token)match(input,63,FOLLOW_63_in_ruleXCasePart7431); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCasePartAccess().getCaseKeyword_2_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3047:1: ( (lv_case_3_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3048:1: (lv_case_3_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3048:1: (lv_case_3_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3049:3: lv_case_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getCaseXExpressionParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXCasePart7452);
lv_case_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"case",
lv_case_3_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3065:4: ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) )
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==61) ) {
alt55=1;
}
else if ( (LA55_0==48) ) {
alt55=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 55, 0, input);
throw nvae;
}
switch (alt55) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3065:5: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3065:5: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3065:7: otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,61,FOLLOW_61_in_ruleXCasePart7468); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXCasePartAccess().getColonKeyword_3_0_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3069:1: ( (lv_then_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3070:1: (lv_then_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3070:1: (lv_then_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3071:3: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getThenXExpressionParserRuleCall_3_0_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXCasePart7489);
lv_then_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"then",
lv_then_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3088:6: ( (lv_fallThrough_6_0= ',' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3088:6: ( (lv_fallThrough_6_0= ',' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3089:1: (lv_fallThrough_6_0= ',' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3089:1: (lv_fallThrough_6_0= ',' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3090:3: lv_fallThrough_6_0= ','
{
lv_fallThrough_6_0=(Token)match(input,48,FOLLOW_48_in_ruleXCasePart7514); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fallThrough_6_0, grammarAccess.getXCasePartAccess().getFallThroughCommaKeyword_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXCasePartRule());
}
setWithLastConsumed(current, "fallThrough", true, ",");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCasePart"
// $ANTLR start "entryRuleXForLoopExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3111:1: entryRuleXForLoopExpression returns [EObject current=null] : iv_ruleXForLoopExpression= ruleXForLoopExpression EOF ;
public final EObject entryRuleXForLoopExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXForLoopExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3112:2: (iv_ruleXForLoopExpression= ruleXForLoopExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3113:2: iv_ruleXForLoopExpression= ruleXForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionRule());
}
pushFollow(FOLLOW_ruleXForLoopExpression_in_entryRuleXForLoopExpression7564);
iv_ruleXForLoopExpression=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXForLoopExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXForLoopExpression7574); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXForLoopExpression"
// $ANTLR start "ruleXForLoopExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3120:1: ruleXForLoopExpression returns [EObject current=null] : ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) ;
public final EObject ruleXForLoopExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_declaredParam_3_0 = null;
EObject lv_forExpression_5_0 = null;
EObject lv_eachExpression_7_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3123:28: ( ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3124:1: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3124:1: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3124:2: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3124:2: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3124:3: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3132:5: ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3132:6: () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3132:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3133:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXForLoopExpressionAccess().getXForLoopExpressionAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,64,FOLLOW_64_in_ruleXForLoopExpression7651); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXForLoopExpressionAccess().getForKeyword_0_0_1());
}
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXForLoopExpression7663); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXForLoopExpressionAccess().getLeftParenthesisKeyword_0_0_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3146:1: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3147:1: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3147:1: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3148:3: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_0_0_3_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXForLoopExpression7684);
lv_declaredParam_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_3_0,
"JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,61,FOLLOW_61_in_ruleXForLoopExpression7696); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXForLoopExpressionAccess().getColonKeyword_0_0_4());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3168:3: ( (lv_forExpression_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3169:1: (lv_forExpression_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3169:1: (lv_forExpression_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3170:3: lv_forExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXForLoopExpression7719);
lv_forExpression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule());
}
set(
current,
"forExpression",
lv_forExpression_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,50,FOLLOW_50_in_ruleXForLoopExpression7731); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXForLoopExpressionAccess().getRightParenthesisKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3190:1: ( (lv_eachExpression_7_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3191:1: (lv_eachExpression_7_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3191:1: (lv_eachExpression_7_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3192:3: lv_eachExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXForLoopExpression7752);
lv_eachExpression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule());
}
set(
current,
"eachExpression",
lv_eachExpression_7_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXForLoopExpression"
// $ANTLR start "entryRuleXBasicForLoopExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3216:1: entryRuleXBasicForLoopExpression returns [EObject current=null] : iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF ;
public final EObject entryRuleXBasicForLoopExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBasicForLoopExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3217:2: (iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3218:2: iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionRule());
}
pushFollow(FOLLOW_ruleXBasicForLoopExpression_in_entryRuleXBasicForLoopExpression7788);
iv_ruleXBasicForLoopExpression=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBasicForLoopExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXBasicForLoopExpression7798); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBasicForLoopExpression"
// $ANTLR start "ruleXBasicForLoopExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3225:1: ruleXBasicForLoopExpression returns [EObject current=null] : ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) ;
public final EObject ruleXBasicForLoopExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_initExpressions_3_0 = null;
EObject lv_initExpressions_5_0 = null;
EObject lv_expression_7_0 = null;
EObject lv_updateExpressions_9_0 = null;
EObject lv_updateExpressions_11_0 = null;
EObject lv_eachExpression_13_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3228:28: ( ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3229:1: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3229:1: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3229:2: () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3229:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3230:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBasicForLoopExpressionAccess().getXBasicForLoopExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,64,FOLLOW_64_in_ruleXBasicForLoopExpression7844); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBasicForLoopExpressionAccess().getForKeyword_1());
}
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXBasicForLoopExpression7856); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXBasicForLoopExpressionAccess().getLeftParenthesisKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3243:1: ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )?
int alt57=2;
int LA57_0 = input.LA(1);
if ( ((LA57_0>=RULE_STRING && LA57_0<=RULE_ID)||LA57_0==19||(LA57_0>=35 && LA57_0<=36)||LA57_0==41||LA57_0==49||(LA57_0>=51 && LA57_0<=52)||LA57_0==54||LA57_0==58||LA57_0==60||(LA57_0>=64 && LA57_0<=81)||LA57_0==83) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3243:2: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3243:2: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3244:1: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3244:1: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3245:3: lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXBasicForLoopExpression7878);
lv_initExpressions_3_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"initExpressions",
lv_initExpressions_3_0,
"XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3261:2: (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )*
loop56:
do {
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==48) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3261:4: otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) )
{
otherlv_4=(Token)match(input,48,FOLLOW_48_in_ruleXBasicForLoopExpression7891); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_3_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3265:1: ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3266:1: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3266:1: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3267:3: lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXBasicForLoopExpression7912);
lv_initExpressions_5_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"initExpressions",
lv_initExpressions_5_0,
"XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop56;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,57,FOLLOW_57_in_ruleXBasicForLoopExpression7928); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_4());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3287:1: ( (lv_expression_7_0= ruleXExpression ) )?
int alt58=2;
int LA58_0 = input.LA(1);
if ( ((LA58_0>=RULE_STRING && LA58_0<=RULE_ID)||LA58_0==19||(LA58_0>=35 && LA58_0<=36)||LA58_0==41||LA58_0==49||(LA58_0>=51 && LA58_0<=52)||LA58_0==54||LA58_0==58||LA58_0==60||(LA58_0>=64 && LA58_0<=66)||(LA58_0>=69 && LA58_0<=81)||LA58_0==83) ) {
alt58=1;
}
switch (alt58) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3288:1: (lv_expression_7_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3288:1: (lv_expression_7_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3289:3: lv_expression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression7949);
lv_expression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
set(
current,
"expression",
lv_expression_7_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_8=(Token)match(input,57,FOLLOW_57_in_ruleXBasicForLoopExpression7962); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_6());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3309:1: ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )?
int alt60=2;
int LA60_0 = input.LA(1);
if ( ((LA60_0>=RULE_STRING && LA60_0<=RULE_ID)||LA60_0==19||(LA60_0>=35 && LA60_0<=36)||LA60_0==41||LA60_0==49||(LA60_0>=51 && LA60_0<=52)||LA60_0==54||LA60_0==58||LA60_0==60||(LA60_0>=64 && LA60_0<=66)||(LA60_0>=69 && LA60_0<=81)||LA60_0==83) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3309:2: ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3309:2: ( (lv_updateExpressions_9_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3310:1: (lv_updateExpressions_9_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3310:1: (lv_updateExpressions_9_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3311:3: lv_updateExpressions_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression7984);
lv_updateExpressions_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"updateExpressions",
lv_updateExpressions_9_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3327:2: (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )*
loop59:
do {
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==48) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3327:4: otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) )
{
otherlv_10=(Token)match(input,48,FOLLOW_48_in_ruleXBasicForLoopExpression7997); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_7_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3331:1: ( (lv_updateExpressions_11_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3332:1: (lv_updateExpressions_11_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3332:1: (lv_updateExpressions_11_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3333:3: lv_updateExpressions_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression8018);
lv_updateExpressions_11_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"updateExpressions",
lv_updateExpressions_11_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop59;
}
} while (true);
}
break;
}
otherlv_12=(Token)match(input,50,FOLLOW_50_in_ruleXBasicForLoopExpression8034); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXBasicForLoopExpressionAccess().getRightParenthesisKeyword_8());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3353:1: ( (lv_eachExpression_13_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3354:1: (lv_eachExpression_13_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3354:1: (lv_eachExpression_13_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3355:3: lv_eachExpression_13_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_9_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression8055);
lv_eachExpression_13_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
set(
current,
"eachExpression",
lv_eachExpression_13_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBasicForLoopExpression"
// $ANTLR start "entryRuleXWhileExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3379:1: entryRuleXWhileExpression returns [EObject current=null] : iv_ruleXWhileExpression= ruleXWhileExpression EOF ;
public final EObject entryRuleXWhileExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXWhileExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3380:2: (iv_ruleXWhileExpression= ruleXWhileExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3381:2: iv_ruleXWhileExpression= ruleXWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionRule());
}
pushFollow(FOLLOW_ruleXWhileExpression_in_entryRuleXWhileExpression8091);
iv_ruleXWhileExpression=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXWhileExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXWhileExpression8101); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXWhileExpression"
// $ANTLR start "ruleXWhileExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3388:1: ruleXWhileExpression returns [EObject current=null] : ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXWhileExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_predicate_3_0 = null;
EObject lv_body_5_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3391:28: ( ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3392:1: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3392:1: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3392:2: () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3392:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3393:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXWhileExpressionAccess().getXWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,65,FOLLOW_65_in_ruleXWhileExpression8147); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXWhileExpressionAccess().getWhileKeyword_1());
}
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXWhileExpression8159); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXWhileExpressionAccess().getLeftParenthesisKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3406:1: ( (lv_predicate_3_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3407:1: (lv_predicate_3_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3407:1: (lv_predicate_3_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3408:3: lv_predicate_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXWhileExpression8180);
lv_predicate_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXWhileExpressionRule());
}
set(
current,
"predicate",
lv_predicate_3_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,50,FOLLOW_50_in_ruleXWhileExpression8192); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXWhileExpressionAccess().getRightParenthesisKeyword_4());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3428:1: ( (lv_body_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3429:1: (lv_body_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3429:1: (lv_body_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3430:3: lv_body_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXWhileExpression8213);
lv_body_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXWhileExpressionRule());
}
set(
current,
"body",
lv_body_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXWhileExpression"
// $ANTLR start "entryRuleXDoWhileExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3454:1: entryRuleXDoWhileExpression returns [EObject current=null] : iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF ;
public final EObject entryRuleXDoWhileExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXDoWhileExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3455:2: (iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3456:2: iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionRule());
}
pushFollow(FOLLOW_ruleXDoWhileExpression_in_entryRuleXDoWhileExpression8249);
iv_ruleXDoWhileExpression=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXDoWhileExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXDoWhileExpression8259); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXDoWhileExpression"
// $ANTLR start "ruleXDoWhileExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3463:1: ruleXDoWhileExpression returns [EObject current=null] : ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) ;
public final EObject ruleXDoWhileExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_body_2_0 = null;
EObject lv_predicate_5_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3466:28: ( ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3467:1: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3467:1: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3467:2: () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3467:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3468:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXDoWhileExpressionAccess().getXDoWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,66,FOLLOW_66_in_ruleXDoWhileExpression8305); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXDoWhileExpressionAccess().getDoKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3477:1: ( (lv_body_2_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3478:1: (lv_body_2_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3478:1: (lv_body_2_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3479:3: lv_body_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXDoWhileExpression8326);
lv_body_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule());
}
set(
current,
"body",
lv_body_2_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,65,FOLLOW_65_in_ruleXDoWhileExpression8338); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXDoWhileExpressionAccess().getWhileKeyword_3());
}
otherlv_4=(Token)match(input,49,FOLLOW_49_in_ruleXDoWhileExpression8350); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXDoWhileExpressionAccess().getLeftParenthesisKeyword_4());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3503:1: ( (lv_predicate_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3504:1: (lv_predicate_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3504:1: (lv_predicate_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3505:3: lv_predicate_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXDoWhileExpression8371);
lv_predicate_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule());
}
set(
current,
"predicate",
lv_predicate_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,50,FOLLOW_50_in_ruleXDoWhileExpression8383); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXDoWhileExpressionAccess().getRightParenthesisKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXDoWhileExpression"
// $ANTLR start "entryRuleXBlockExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3533:1: entryRuleXBlockExpression returns [EObject current=null] : iv_ruleXBlockExpression= ruleXBlockExpression EOF ;
public final EObject entryRuleXBlockExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBlockExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3534:2: (iv_ruleXBlockExpression= ruleXBlockExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3535:2: iv_ruleXBlockExpression= ruleXBlockExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionRule());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_entryRuleXBlockExpression8419);
iv_ruleXBlockExpression=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBlockExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXBlockExpression8429); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBlockExpression"
// $ANTLR start "ruleXBlockExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3542:1: ruleXBlockExpression returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) ;
public final EObject ruleXBlockExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
EObject lv_expressions_2_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3545:28: ( ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3546:1: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3546:1: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3546:2: () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3546:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3547:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBlockExpressionAccess().getXBlockExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,52,FOLLOW_52_in_ruleXBlockExpression8475); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBlockExpressionAccess().getLeftCurlyBracketKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3556:1: ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )*
loop62:
do {
int alt62=2;
int LA62_0 = input.LA(1);
if ( ((LA62_0>=RULE_STRING && LA62_0<=RULE_ID)||LA62_0==19||(LA62_0>=35 && LA62_0<=36)||LA62_0==41||LA62_0==49||(LA62_0>=51 && LA62_0<=52)||LA62_0==54||LA62_0==58||LA62_0==60||(LA62_0>=64 && LA62_0<=81)||LA62_0==83) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3556:2: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3556:2: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3557:1: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3557:1: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3558:3: lv_expressions_2_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXBlockExpression8497);
lv_expressions_2_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBlockExpressionRule());
}
add(
current,
"expressions",
lv_expressions_2_0,
"XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3574:2: (otherlv_3= ';' )?
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==57) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3574:4: otherlv_3= ';'
{
otherlv_3=(Token)match(input,57,FOLLOW_57_in_ruleXBlockExpression8510); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1());
}
}
break;
}
}
break;
default :
break loop62;
}
} while (true);
otherlv_4=(Token)match(input,53,FOLLOW_53_in_ruleXBlockExpression8526); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXBlockExpressionAccess().getRightCurlyBracketKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBlockExpression"
// $ANTLR start "entryRuleXExpressionOrVarDeclaration"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3590:1: entryRuleXExpressionOrVarDeclaration returns [EObject current=null] : iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF ;
public final EObject entryRuleXExpressionOrVarDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionOrVarDeclaration = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3591:2: (iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3592:2: iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationRule());
}
pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_entryRuleXExpressionOrVarDeclaration8562);
iv_ruleXExpressionOrVarDeclaration=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionOrVarDeclaration;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpressionOrVarDeclaration8572); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionOrVarDeclaration"
// $ANTLR start "ruleXExpressionOrVarDeclaration"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3599:1: ruleXExpressionOrVarDeclaration returns [EObject current=null] : (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXExpressionOrVarDeclaration() throws RecognitionException {
EObject current = null;
EObject this_XVariableDeclaration_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3602:28: ( (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3603:1: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3603:1: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
int alt63=2;
int LA63_0 = input.LA(1);
if ( ((LA63_0>=67 && LA63_0<=68)) ) {
alt63=1;
}
else if ( ((LA63_0>=RULE_STRING && LA63_0<=RULE_ID)||LA63_0==19||(LA63_0>=35 && LA63_0<=36)||LA63_0==41||LA63_0==49||(LA63_0>=51 && LA63_0<=52)||LA63_0==54||LA63_0==58||LA63_0==60||(LA63_0>=64 && LA63_0<=66)||(LA63_0>=69 && LA63_0<=81)||LA63_0==83) ) {
alt63=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 63, 0, input);
throw nvae;
}
switch (alt63) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3604:5: this_XVariableDeclaration_0= ruleXVariableDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXVariableDeclaration_in_ruleXExpressionOrVarDeclaration8619);
this_XVariableDeclaration_0=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XVariableDeclaration_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3614:5: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXExpressionOrVarDeclaration8646);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionOrVarDeclaration"
// $ANTLR start "entryRuleXVariableDeclaration"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3630:1: entryRuleXVariableDeclaration returns [EObject current=null] : iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF ;
public final EObject entryRuleXVariableDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXVariableDeclaration = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3631:2: (iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3632:2: iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationRule());
}
pushFollow(FOLLOW_ruleXVariableDeclaration_in_entryRuleXVariableDeclaration8681);
iv_ruleXVariableDeclaration=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXVariableDeclaration;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXVariableDeclaration8691); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXVariableDeclaration"
// $ANTLR start "ruleXVariableDeclaration"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3639:1: ruleXVariableDeclaration returns [EObject current=null] : ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) ;
public final EObject ruleXVariableDeclaration() throws RecognitionException {
EObject current = null;
Token lv_writeable_1_0=null;
Token otherlv_2=null;
Token otherlv_6=null;
EObject lv_type_3_0 = null;
AntlrDatatypeRuleToken lv_name_4_0 = null;
AntlrDatatypeRuleToken lv_name_5_0 = null;
EObject lv_right_7_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3642:28: ( ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3643:1: ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3643:1: ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3643:2: () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3643:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3644:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXVariableDeclarationAccess().getXVariableDeclarationAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3649:2: ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' )
int alt64=2;
int LA64_0 = input.LA(1);
if ( (LA64_0==67) ) {
alt64=1;
}
else if ( (LA64_0==68) ) {
alt64=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 64, 0, input);
throw nvae;
}
switch (alt64) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3649:3: ( (lv_writeable_1_0= 'var' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3649:3: ( (lv_writeable_1_0= 'var' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3650:1: (lv_writeable_1_0= 'var' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3650:1: (lv_writeable_1_0= 'var' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3651:3: lv_writeable_1_0= 'var'
{
lv_writeable_1_0=(Token)match(input,67,FOLLOW_67_in_ruleXVariableDeclaration8744); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_writeable_1_0, grammarAccess.getXVariableDeclarationAccess().getWriteableVarKeyword_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXVariableDeclarationRule());
}
setWithLastConsumed(current, "writeable", true, "var");
}
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3665:7: otherlv_2= 'val'
{
otherlv_2=(Token)match(input,68,FOLLOW_68_in_ruleXVariableDeclaration8775); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:2: ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) )
int alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==RULE_ID) ) {
int LA65_1 = input.LA(2);
if ( (synpred29_InternalExpressions()) ) {
alt65=1;
}
else if ( (true) ) {
alt65=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 65, 1, input);
throw nvae;
}
}
else if ( (LA65_0==49) && (synpred29_InternalExpressions())) {
alt65=1;
}
else if ( (LA65_0==32) && (synpred29_InternalExpressions())) {
alt65=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 65, 0, input);
throw nvae;
}
switch (alt65) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:3: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:3: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:4: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3677:6: ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3677:7: ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3677:7: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3678:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3678:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3679:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getTypeJvmTypeReferenceParserRuleCall_2_0_0_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXVariableDeclaration8823);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"type",
lv_type_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3695:2: ( (lv_name_4_0= ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3696:1: (lv_name_4_0= ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3696:1: (lv_name_4_0= ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3697:3: lv_name_4_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_0_0_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXVariableDeclaration8844);
lv_name_4_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"name",
lv_name_4_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3714:6: ( (lv_name_5_0= ruleValidID ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3714:6: ( (lv_name_5_0= ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3715:1: (lv_name_5_0= ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3715:1: (lv_name_5_0= ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3716:3: lv_name_5_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXVariableDeclaration8873);
lv_name_5_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"name",
lv_name_5_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3732:3: (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )?
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==13) ) {
alt66=1;
}
switch (alt66) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3732:5: otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,13,FOLLOW_13_in_ruleXVariableDeclaration8887); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXVariableDeclarationAccess().getEqualsSignKeyword_3_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3736:1: ( (lv_right_7_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3737:1: (lv_right_7_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3737:1: (lv_right_7_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3738:3: lv_right_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getRightXExpressionParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXVariableDeclaration8908);
lv_right_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"right",
lv_right_7_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXVariableDeclaration"
// $ANTLR start "entryRuleJvmFormalParameter"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3762:1: entryRuleJvmFormalParameter returns [EObject current=null] : iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF ;
public final EObject entryRuleJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmFormalParameter = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3763:2: (iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3764:2: iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterRule());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_entryRuleJvmFormalParameter8946);
iv_ruleJvmFormalParameter=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmFormalParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmFormalParameter8956); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmFormalParameter"
// $ANTLR start "ruleJvmFormalParameter"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3771:1: ruleJvmFormalParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) ;
public final EObject ruleJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject lv_parameterType_0_0 = null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3774:28: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3775:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3775:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3775:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3775:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )?
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==RULE_ID) ) {
int LA67_1 = input.LA(2);
if ( (LA67_1==RULE_ID||LA67_1==19||LA67_1==45||LA67_1==54) ) {
alt67=1;
}
}
else if ( (LA67_0==32||LA67_0==49) ) {
alt67=1;
}
switch (alt67) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3776:1: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3776:1: (lv_parameterType_0_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3777:3: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmFormalParameter9002);
lv_parameterType_0_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule());
}
set(
current,
"parameterType",
lv_parameterType_0_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3793:3: ( (lv_name_1_0= ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3794:1: (lv_name_1_0= ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3794:1: (lv_name_1_0= ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3795:3: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleJvmFormalParameter9024);
lv_name_1_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule());
}
set(
current,
"name",
lv_name_1_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmFormalParameter"
// $ANTLR start "entryRuleFullJvmFormalParameter"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3819:1: entryRuleFullJvmFormalParameter returns [EObject current=null] : iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF ;
public final EObject entryRuleFullJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleFullJvmFormalParameter = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3820:2: (iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3821:2: iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterRule());
}
pushFollow(FOLLOW_ruleFullJvmFormalParameter_in_entryRuleFullJvmFormalParameter9060);
iv_ruleFullJvmFormalParameter=ruleFullJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFullJvmFormalParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleFullJvmFormalParameter9070); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFullJvmFormalParameter"
// $ANTLR start "ruleFullJvmFormalParameter"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3828:1: ruleFullJvmFormalParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) ;
public final EObject ruleFullJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject lv_parameterType_0_0 = null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3831:28: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3832:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3832:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3832:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3832:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3833:1: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3833:1: (lv_parameterType_0_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3834:3: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleFullJvmFormalParameter9116);
lv_parameterType_0_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule());
}
set(
current,
"parameterType",
lv_parameterType_0_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3850:2: ( (lv_name_1_0= ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3851:1: (lv_name_1_0= ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3851:1: (lv_name_1_0= ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3852:3: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleFullJvmFormalParameter9137);
lv_name_1_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule());
}
set(
current,
"name",
lv_name_1_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFullJvmFormalParameter"
// $ANTLR start "entryRuleXFeatureCall"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3876:1: entryRuleXFeatureCall returns [EObject current=null] : iv_ruleXFeatureCall= ruleXFeatureCall EOF ;
public final EObject entryRuleXFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXFeatureCall = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3877:2: (iv_ruleXFeatureCall= ruleXFeatureCall EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3878:2: iv_ruleXFeatureCall= ruleXFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallRule());
}
pushFollow(FOLLOW_ruleXFeatureCall_in_entryRuleXFeatureCall9173);
iv_ruleXFeatureCall=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFeatureCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXFeatureCall9183); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFeatureCall"
// $ANTLR start "ruleXFeatureCall"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3885:1: ruleXFeatureCall returns [EObject current=null] : ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) ;
public final EObject ruleXFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token lv_explicitOperationCall_7_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_typeArguments_2_0 = null;
EObject lv_typeArguments_4_0 = null;
EObject lv_featureCallArguments_8_0 = null;
EObject lv_featureCallArguments_9_0 = null;
EObject lv_featureCallArguments_11_0 = null;
EObject lv_featureCallArguments_13_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3888:28: ( ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3889:1: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3889:1: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3889:2: () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3889:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3890:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXFeatureCallAccess().getXFeatureCallAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3895:2: (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?
int alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==19) ) {
alt69=1;
}
switch (alt69) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3895:4: otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>'
{
otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleXFeatureCall9230); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXFeatureCallAccess().getLessThanSignKeyword_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3899:1: ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3900:1: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3900:1: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3901:3: lv_typeArguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall9251);
lv_typeArguments_2_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_2_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3917:2: (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop68:
do {
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==48) ) {
alt68=1;
}
switch (alt68) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3917:4: otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,48,FOLLOW_48_in_ruleXFeatureCall9264); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXFeatureCallAccess().getCommaKeyword_1_2_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3921:1: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3922:1: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3922:1: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3923:3: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall9285);
lv_typeArguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_4_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop68;
}
} while (true);
otherlv_5=(Token)match(input,20,FOLLOW_20_in_ruleXFeatureCall9299); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFeatureCallAccess().getGreaterThanSignKeyword_1_3());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3943:3: ( ( ruleIdOrSuper ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3944:1: ( ruleIdOrSuper )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3944:1: ( ruleIdOrSuper )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3945:3: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0());
}
pushFollow(FOLLOW_ruleIdOrSuper_in_ruleXFeatureCall9324);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3958:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?
int alt72=2;
alt72 = dfa72.predict(input);
switch (alt72) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3958:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3958:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3958:4: ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3965:1: (lv_explicitOperationCall_7_0= '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3966:3: lv_explicitOperationCall_7_0= '('
{
lv_explicitOperationCall_7_0=(Token)match(input,49,FOLLOW_49_in_ruleXFeatureCall9358); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_7_0, grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?
int alt71=3;
alt71 = dfa71.predict(input);
switch (alt71) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3996:1: (lv_featureCallArguments_8_0= ruleXShortClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3997:3: lv_featureCallArguments_8_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXFeatureCall9443);
lv_featureCallArguments_8_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_8_0,
"XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4014:6: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4014:6: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4014:7: ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4014:7: ( (lv_featureCallArguments_9_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4015:1: (lv_featureCallArguments_9_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4015:1: (lv_featureCallArguments_9_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4016:3: lv_featureCallArguments_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXFeatureCall9471);
lv_featureCallArguments_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_9_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4032:2: (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*
loop70:
do {
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==48) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4032:4: otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) )
{
otherlv_10=(Token)match(input,48,FOLLOW_48_in_ruleXFeatureCall9484); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXFeatureCallAccess().getCommaKeyword_3_1_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4036:1: ( (lv_featureCallArguments_11_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4037:1: (lv_featureCallArguments_11_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4037:1: (lv_featureCallArguments_11_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4038:3: lv_featureCallArguments_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXFeatureCall9505);
lv_featureCallArguments_11_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_11_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop70;
}
} while (true);
}
}
break;
}
otherlv_12=(Token)match(input,50,FOLLOW_50_in_ruleXFeatureCall9522); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXFeatureCallAccess().getRightParenthesisKeyword_3_2());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?
int alt73=2;
alt73 = dfa73.predict(input);
switch (alt73) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:4: ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4061:1: (lv_featureCallArguments_13_0= ruleXClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4062:3: lv_featureCallArguments_13_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXFeatureCall9557);
lv_featureCallArguments_13_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_13_0,
"XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFeatureCall"
// $ANTLR start "entryRuleFeatureCallID"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4086:1: entryRuleFeatureCallID returns [String current=null] : iv_ruleFeatureCallID= ruleFeatureCallID EOF ;
public final String entryRuleFeatureCallID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleFeatureCallID = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4087:2: (iv_ruleFeatureCallID= ruleFeatureCallID EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4088:2: iv_ruleFeatureCallID= ruleFeatureCallID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFeatureCallIDRule());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_entryRuleFeatureCallID9595);
iv_ruleFeatureCallID=ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFeatureCallID.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleFeatureCallID9606); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFeatureCallID"
// $ANTLR start "ruleFeatureCallID"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4095:1: ruleFeatureCallID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) ;
public final AntlrDatatypeRuleToken ruleFeatureCallID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4098:28: ( (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4099:1: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4099:1: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' )
int alt74=5;
switch ( input.LA(1) ) {
case RULE_ID:
{
alt74=1;
}
break;
case 69:
{
alt74=2;
}
break;
case 70:
{
alt74=3;
}
break;
case 71:
{
alt74=4;
}
break;
case 72:
{
alt74=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 74, 0, input);
throw nvae;
}
switch (alt74) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4100:5: this_ValidID_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleFeatureCallID9653);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4112:2: kw= 'extends'
{
kw=(Token)match(input,69,FOLLOW_69_in_ruleFeatureCallID9677); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1());
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4119:2: kw= 'static'
{
kw=(Token)match(input,70,FOLLOW_70_in_ruleFeatureCallID9696); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2());
}
}
break;
case 4 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4126:2: kw= 'import'
{
kw=(Token)match(input,71,FOLLOW_71_in_ruleFeatureCallID9715); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getImportKeyword_3());
}
}
break;
case 5 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4133:2: kw= 'extension'
{
kw=(Token)match(input,72,FOLLOW_72_in_ruleFeatureCallID9734); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFeatureCallID"
// $ANTLR start "entryRuleIdOrSuper"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4146:1: entryRuleIdOrSuper returns [String current=null] : iv_ruleIdOrSuper= ruleIdOrSuper EOF ;
public final String entryRuleIdOrSuper() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleIdOrSuper = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4147:2: (iv_ruleIdOrSuper= ruleIdOrSuper EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4148:2: iv_ruleIdOrSuper= ruleIdOrSuper EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperRule());
}
pushFollow(FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper9775);
iv_ruleIdOrSuper=ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIdOrSuper.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleIdOrSuper9786); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIdOrSuper"
// $ANTLR start "ruleIdOrSuper"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4155:1: ruleIdOrSuper returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) ;
public final AntlrDatatypeRuleToken ruleIdOrSuper() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_FeatureCallID_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4158:28: ( (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4159:1: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4159:1: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' )
int alt75=2;
int LA75_0 = input.LA(1);
if ( (LA75_0==RULE_ID||(LA75_0>=69 && LA75_0<=72)) ) {
alt75=1;
}
else if ( (LA75_0==73) ) {
alt75=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 75, 0, input);
throw nvae;
}
switch (alt75) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4160:5: this_FeatureCallID_0= ruleFeatureCallID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_ruleIdOrSuper9833);
this_FeatureCallID_0=ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_FeatureCallID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4172:2: kw= 'super'
{
kw=(Token)match(input,73,FOLLOW_73_in_ruleIdOrSuper9857); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getIdOrSuperAccess().getSuperKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleIdOrSuper"
// $ANTLR start "entryRuleXConstructorCall"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4185:1: entryRuleXConstructorCall returns [EObject current=null] : iv_ruleXConstructorCall= ruleXConstructorCall EOF ;
public final EObject entryRuleXConstructorCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXConstructorCall = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4186:2: (iv_ruleXConstructorCall= ruleXConstructorCall EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4187:2: iv_ruleXConstructorCall= ruleXConstructorCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallRule());
}
pushFollow(FOLLOW_ruleXConstructorCall_in_entryRuleXConstructorCall9897);
iv_ruleXConstructorCall=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXConstructorCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXConstructorCall9907); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXConstructorCall"
// $ANTLR start "ruleXConstructorCall"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4194:1: ruleXConstructorCall returns [EObject current=null] : ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) ;
public final EObject ruleXConstructorCall() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token lv_explicitConstructorCall_8_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_typeArguments_4_0 = null;
EObject lv_typeArguments_6_0 = null;
EObject lv_arguments_9_0 = null;
EObject lv_arguments_10_0 = null;
EObject lv_arguments_12_0 = null;
EObject lv_arguments_14_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4197:28: ( ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4198:1: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4198:1: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4198:2: () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4198:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4199:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXConstructorCallAccess().getXConstructorCallAction_0(),
current);
}
}
otherlv_1=(Token)match(input,74,FOLLOW_74_in_ruleXConstructorCall9953); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXConstructorCallAccess().getNewKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4208:1: ( ( ruleQualifiedName ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4209:1: ( ruleQualifiedName )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4209:1: ( ruleQualifiedName )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4210:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXConstructorCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getConstructorJvmConstructorCrossReference_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleXConstructorCall9976);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4223:2: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?
int alt77=2;
alt77 = dfa77.predict(input);
switch (alt77) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4223:3: ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4223:3: ( ( '<' )=>otherlv_3= '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4223:4: ( '<' )=>otherlv_3= '<'
{
otherlv_3=(Token)match(input,19,FOLLOW_19_in_ruleXConstructorCall9997); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXConstructorCallAccess().getLessThanSignKeyword_3_0());
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4228:2: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4229:1: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4229:1: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4230:3: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10019);
lv_typeArguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_4_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4246:2: (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )*
loop76:
do {
int alt76=2;
int LA76_0 = input.LA(1);
if ( (LA76_0==48) ) {
alt76=1;
}
switch (alt76) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4246:4: otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
{
otherlv_5=(Token)match(input,48,FOLLOW_48_in_ruleXConstructorCall10032); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXConstructorCallAccess().getCommaKeyword_3_2_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4250:1: ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4251:1: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4251:1: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4252:3: lv_typeArguments_6_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10053);
lv_typeArguments_6_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_6_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop76;
}
} while (true);
otherlv_7=(Token)match(input,20,FOLLOW_20_in_ruleXConstructorCall10067); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXConstructorCallAccess().getGreaterThanSignKeyword_3_3());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4272:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?
int alt80=2;
alt80 = dfa80.predict(input);
switch (alt80) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4272:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4272:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4272:5: ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4279:1: (lv_explicitConstructorCall_8_0= '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4280:3: lv_explicitConstructorCall_8_0= '('
{
lv_explicitConstructorCall_8_0=(Token)match(input,49,FOLLOW_49_in_ruleXConstructorCall10103); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitConstructorCall_8_0, grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallLeftParenthesisKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXConstructorCallRule());
}
setWithLastConsumed(current, "explicitConstructorCall", true, "(");
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?
int alt79=3;
alt79 = dfa79.predict(input);
switch (alt79) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4310:1: (lv_arguments_9_0= ruleXShortClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4311:3: lv_arguments_9_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXConstructorCall10188);
lv_arguments_9_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_9_0,
"XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4328:6: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4328:6: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4328:7: ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4328:7: ( (lv_arguments_10_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4329:1: (lv_arguments_10_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4329:1: (lv_arguments_10_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4330:3: lv_arguments_10_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXConstructorCall10216);
lv_arguments_10_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_10_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4346:2: (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
loop78:
do {
int alt78=2;
int LA78_0 = input.LA(1);
if ( (LA78_0==48) ) {
alt78=1;
}
switch (alt78) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4346:4: otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) )
{
otherlv_11=(Token)match(input,48,FOLLOW_48_in_ruleXConstructorCall10229); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXConstructorCallAccess().getCommaKeyword_4_1_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4350:1: ( (lv_arguments_12_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4351:1: (lv_arguments_12_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4351:1: (lv_arguments_12_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4352:3: lv_arguments_12_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXConstructorCall10250);
lv_arguments_12_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_12_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop78;
}
} while (true);
}
}
break;
}
otherlv_13=(Token)match(input,50,FOLLOW_50_in_ruleXConstructorCall10267); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXConstructorCallAccess().getRightParenthesisKeyword_4_2());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
int alt81=2;
alt81 = dfa81.predict(input);
switch (alt81) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:4: ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4375:1: (lv_arguments_14_0= ruleXClosure )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4376:3: lv_arguments_14_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXClosureParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXConstructorCall10302);
lv_arguments_14_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_14_0,
"XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXConstructorCall"
// $ANTLR start "entryRuleXBooleanLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4400:1: entryRuleXBooleanLiteral returns [EObject current=null] : iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF ;
public final EObject entryRuleXBooleanLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBooleanLiteral = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4401:2: (iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4402:2: iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBooleanLiteralRule());
}
pushFollow(FOLLOW_ruleXBooleanLiteral_in_entryRuleXBooleanLiteral10339);
iv_ruleXBooleanLiteral=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBooleanLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXBooleanLiteral10349); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBooleanLiteral"
// $ANTLR start "ruleXBooleanLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4409:1: ruleXBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleXBooleanLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_isTrue_2_0=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4412:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4413:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4413:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4413:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4413:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4414:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBooleanLiteralAccess().getXBooleanLiteralAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4419:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
int alt82=2;
int LA82_0 = input.LA(1);
if ( (LA82_0==75) ) {
alt82=1;
}
else if ( (LA82_0==76) ) {
alt82=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 82, 0, input);
throw nvae;
}
switch (alt82) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4419:4: otherlv_1= 'false'
{
otherlv_1=(Token)match(input,75,FOLLOW_75_in_ruleXBooleanLiteral10396); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4424:6: ( (lv_isTrue_2_0= 'true' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4424:6: ( (lv_isTrue_2_0= 'true' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4425:1: (lv_isTrue_2_0= 'true' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4425:1: (lv_isTrue_2_0= 'true' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4426:3: lv_isTrue_2_0= 'true'
{
lv_isTrue_2_0=(Token)match(input,76,FOLLOW_76_in_ruleXBooleanLiteral10420); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_isTrue_2_0, grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXBooleanLiteralRule());
}
setWithLastConsumed(current, "isTrue", true, "true");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBooleanLiteral"
// $ANTLR start "entryRuleXNullLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4447:1: entryRuleXNullLiteral returns [EObject current=null] : iv_ruleXNullLiteral= ruleXNullLiteral EOF ;
public final EObject entryRuleXNullLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXNullLiteral = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4448:2: (iv_ruleXNullLiteral= ruleXNullLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4449:2: iv_ruleXNullLiteral= ruleXNullLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNullLiteralRule());
}
pushFollow(FOLLOW_ruleXNullLiteral_in_entryRuleXNullLiteral10470);
iv_ruleXNullLiteral=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNullLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXNullLiteral10480); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNullLiteral"
// $ANTLR start "ruleXNullLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4456:1: ruleXNullLiteral returns [EObject current=null] : ( () otherlv_1= 'null' ) ;
public final EObject ruleXNullLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4459:28: ( ( () otherlv_1= 'null' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4460:1: ( () otherlv_1= 'null' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4460:1: ( () otherlv_1= 'null' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4460:2: () otherlv_1= 'null'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4460:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4461:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNullLiteralAccess().getXNullLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,77,FOLLOW_77_in_ruleXNullLiteral10526); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXNullLiteralAccess().getNullKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXNullLiteral"
// $ANTLR start "entryRuleXNumberLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4478:1: entryRuleXNumberLiteral returns [EObject current=null] : iv_ruleXNumberLiteral= ruleXNumberLiteral EOF ;
public final EObject entryRuleXNumberLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXNumberLiteral = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4479:2: (iv_ruleXNumberLiteral= ruleXNumberLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4480:2: iv_ruleXNumberLiteral= ruleXNumberLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralRule());
}
pushFollow(FOLLOW_ruleXNumberLiteral_in_entryRuleXNumberLiteral10562);
iv_ruleXNumberLiteral=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNumberLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXNumberLiteral10572); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNumberLiteral"
// $ANTLR start "ruleXNumberLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4487:1: ruleXNumberLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleNumber ) ) ) ;
public final EObject ruleXNumberLiteral() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_value_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4490:28: ( ( () ( (lv_value_1_0= ruleNumber ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4491:1: ( () ( (lv_value_1_0= ruleNumber ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4491:1: ( () ( (lv_value_1_0= ruleNumber ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4491:2: () ( (lv_value_1_0= ruleNumber ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4491:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4492:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNumberLiteralAccess().getXNumberLiteralAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4497:2: ( (lv_value_1_0= ruleNumber ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4498:1: (lv_value_1_0= ruleNumber )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4498:1: (lv_value_1_0= ruleNumber )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4499:3: lv_value_1_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleNumber_in_ruleXNumberLiteral10627);
lv_value_1_0=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXNumberLiteralRule());
}
set(
current,
"value",
lv_value_1_0,
"Number");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXNumberLiteral"
// $ANTLR start "entryRuleXStringLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4523:1: entryRuleXStringLiteral returns [EObject current=null] : iv_ruleXStringLiteral= ruleXStringLiteral EOF ;
public final EObject entryRuleXStringLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXStringLiteral = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4524:2: (iv_ruleXStringLiteral= ruleXStringLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4525:2: iv_ruleXStringLiteral= ruleXStringLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXStringLiteralRule());
}
pushFollow(FOLLOW_ruleXStringLiteral_in_entryRuleXStringLiteral10663);
iv_ruleXStringLiteral=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXStringLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXStringLiteral10673); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXStringLiteral"
// $ANTLR start "ruleXStringLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4532:1: ruleXStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleXStringLiteral() throws RecognitionException {
EObject current = null;
Token lv_value_1_0=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4535:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4536:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4536:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4536:2: () ( (lv_value_1_0= RULE_STRING ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4536:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4537:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXStringLiteralAccess().getXStringLiteralAction_0(),
current);
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4542:2: ( (lv_value_1_0= RULE_STRING ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4543:1: (lv_value_1_0= RULE_STRING )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4543:1: (lv_value_1_0= RULE_STRING )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4544:3: lv_value_1_0= RULE_STRING
{
lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXStringLiteral10724); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_value_1_0, grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXStringLiteralRule());
}
setWithLastConsumed(
current,
"value",
lv_value_1_0,
"STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXStringLiteral"
// $ANTLR start "entryRuleXTypeLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4568:1: entryRuleXTypeLiteral returns [EObject current=null] : iv_ruleXTypeLiteral= ruleXTypeLiteral EOF ;
public final EObject entryRuleXTypeLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTypeLiteral = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4569:2: (iv_ruleXTypeLiteral= ruleXTypeLiteral EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4570:2: iv_ruleXTypeLiteral= ruleXTypeLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralRule());
}
pushFollow(FOLLOW_ruleXTypeLiteral_in_entryRuleXTypeLiteral10765);
iv_ruleXTypeLiteral=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTypeLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXTypeLiteral10775); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTypeLiteral"
// $ANTLR start "ruleXTypeLiteral"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4577:1: ruleXTypeLiteral returns [EObject current=null] : ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) ;
public final EObject ruleXTypeLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_arrayDimensions_4_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4580:28: ( ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4581:1: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4581:1: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4581:2: () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4581:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4582:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTypeLiteralAccess().getXTypeLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,78,FOLLOW_78_in_ruleXTypeLiteral10821); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTypeLiteralAccess().getTypeofKeyword_1());
}
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXTypeLiteral10833); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXTypeLiteralAccess().getLeftParenthesisKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4595:1: ( ( ruleQualifiedName ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4596:1: ( ruleQualifiedName )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4596:1: ( ruleQualifiedName )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4597:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXTypeLiteralRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralAccess().getTypeJvmTypeCrossReference_3_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleXTypeLiteral10856);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4610:2: ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )*
loop83:
do {
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==54) ) {
alt83=1;
}
switch (alt83) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4611:1: (lv_arrayDimensions_4_0= ruleArrayBrackets )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4611:1: (lv_arrayDimensions_4_0= ruleArrayBrackets )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4612:3: lv_arrayDimensions_4_0= ruleArrayBrackets
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsArrayBracketsParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleArrayBrackets_in_ruleXTypeLiteral10877);
lv_arrayDimensions_4_0=ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTypeLiteralRule());
}
add(
current,
"arrayDimensions",
lv_arrayDimensions_4_0,
"ArrayBrackets");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop83;
}
} while (true);
otherlv_5=(Token)match(input,50,FOLLOW_50_in_ruleXTypeLiteral10890); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXTypeLiteralAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTypeLiteral"
// $ANTLR start "entryRuleXThrowExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4640:1: entryRuleXThrowExpression returns [EObject current=null] : iv_ruleXThrowExpression= ruleXThrowExpression EOF ;
public final EObject entryRuleXThrowExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXThrowExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4641:2: (iv_ruleXThrowExpression= ruleXThrowExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4642:2: iv_ruleXThrowExpression= ruleXThrowExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionRule());
}
pushFollow(FOLLOW_ruleXThrowExpression_in_entryRuleXThrowExpression10926);
iv_ruleXThrowExpression=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXThrowExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXThrowExpression10936); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXThrowExpression"
// $ANTLR start "ruleXThrowExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4649:1: ruleXThrowExpression returns [EObject current=null] : ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) ;
public final EObject ruleXThrowExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_expression_2_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4652:28: ( ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4653:1: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4653:1: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4653:2: () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4653:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4654:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXThrowExpressionAccess().getXThrowExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,79,FOLLOW_79_in_ruleXThrowExpression10982); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXThrowExpressionAccess().getThrowKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4663:1: ( (lv_expression_2_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4664:1: (lv_expression_2_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4664:1: (lv_expression_2_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4665:3: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXThrowExpression11003);
lv_expression_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXThrowExpressionRule());
}
set(
current,
"expression",
lv_expression_2_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXThrowExpression"
// $ANTLR start "entryRuleXReturnExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4689:1: entryRuleXReturnExpression returns [EObject current=null] : iv_ruleXReturnExpression= ruleXReturnExpression EOF ;
public final EObject entryRuleXReturnExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXReturnExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4690:2: (iv_ruleXReturnExpression= ruleXReturnExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4691:2: iv_ruleXReturnExpression= ruleXReturnExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionRule());
}
pushFollow(FOLLOW_ruleXReturnExpression_in_entryRuleXReturnExpression11039);
iv_ruleXReturnExpression=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXReturnExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXReturnExpression11049); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXReturnExpression"
// $ANTLR start "ruleXReturnExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4698:1: ruleXReturnExpression returns [EObject current=null] : ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) ;
public final EObject ruleXReturnExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_expression_2_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4701:28: ( ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4702:1: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4702:1: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4702:2: () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4702:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4703:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXReturnExpressionAccess().getXReturnExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,80,FOLLOW_80_in_ruleXReturnExpression11095); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXReturnExpressionAccess().getReturnKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4712:1: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?
int alt84=2;
alt84 = dfa84.predict(input);
switch (alt84) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4712:2: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4740:1: (lv_expression_2_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4741:3: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXReturnExpression11330);
lv_expression_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXReturnExpressionRule());
}
set(
current,
"expression",
lv_expression_2_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXReturnExpression"
// $ANTLR start "entryRuleXTryCatchFinallyExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4765:1: entryRuleXTryCatchFinallyExpression returns [EObject current=null] : iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF ;
public final EObject entryRuleXTryCatchFinallyExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTryCatchFinallyExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4766:2: (iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4767:2: iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionRule());
}
pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_entryRuleXTryCatchFinallyExpression11367);
iv_ruleXTryCatchFinallyExpression=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTryCatchFinallyExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXTryCatchFinallyExpression11377); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTryCatchFinallyExpression"
// $ANTLR start "ruleXTryCatchFinallyExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4774:1: ruleXTryCatchFinallyExpression returns [EObject current=null] : ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) ;
public final EObject ruleXTryCatchFinallyExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_expression_2_0 = null;
EObject lv_catchClauses_3_0 = null;
EObject lv_finallyExpression_5_0 = null;
EObject lv_finallyExpression_7_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4777:28: ( ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4778:1: ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4778:1: ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4778:2: () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4778:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4779:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTryCatchFinallyExpressionAccess().getXTryCatchFinallyExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,81,FOLLOW_81_in_ruleXTryCatchFinallyExpression11423); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTryCatchFinallyExpressionAccess().getTryKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4788:1: ( (lv_expression_2_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4789:1: (lv_expression_2_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4789:1: (lv_expression_2_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4790:3: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11444);
lv_expression_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
set(
current,
"expression",
lv_expression_2_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:2: ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) )
int alt87=2;
int LA87_0 = input.LA(1);
if ( (LA87_0==84) ) {
alt87=1;
}
else if ( (LA87_0==82) ) {
alt87=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 87, 0, input);
throw nvae;
}
switch (alt87) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:3: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:3: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:4: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:4: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+
int cnt85=0;
loop85:
do {
int alt85=2;
int LA85_0 = input.LA(1);
if ( (LA85_0==84) ) {
int LA85_2 = input.LA(2);
if ( (synpred38_InternalExpressions()) ) {
alt85=1;
}
}
switch (alt85) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:5: ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4808:1: (lv_catchClauses_3_0= ruleXCatchClause )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4809:3: lv_catchClauses_3_0= ruleXCatchClause
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesXCatchClauseParserRuleCall_3_0_0_0());
}
pushFollow(FOLLOW_ruleXCatchClause_in_ruleXTryCatchFinallyExpression11474);
lv_catchClauses_3_0=ruleXCatchClause();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
add(
current,
"catchClauses",
lv_catchClauses_3_0,
"XCatchClause");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt85 >= 1 ) break loop85;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(85, input);
throw eee;
}
cnt85++;
} while (true);
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4825:3: ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
int alt86=2;
int LA86_0 = input.LA(1);
if ( (LA86_0==82) ) {
int LA86_1 = input.LA(2);
if ( (synpred39_InternalExpressions()) ) {
alt86=1;
}
}
switch (alt86) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4825:4: ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4825:4: ( ( 'finally' )=>otherlv_4= 'finally' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4825:5: ( 'finally' )=>otherlv_4= 'finally'
{
otherlv_4=(Token)match(input,82,FOLLOW_82_in_ruleXTryCatchFinallyExpression11496); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_0_1_0());
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4830:2: ( (lv_finallyExpression_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4831:1: (lv_finallyExpression_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4831:1: (lv_finallyExpression_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4832:3: lv_finallyExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_0_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11518);
lv_finallyExpression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
set(
current,
"finallyExpression",
lv_finallyExpression_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4849:6: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4849:6: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4849:8: otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,82,FOLLOW_82_in_ruleXTryCatchFinallyExpression11540); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4853:1: ( (lv_finallyExpression_7_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4854:1: (lv_finallyExpression_7_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4854:1: (lv_finallyExpression_7_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4855:3: lv_finallyExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11561);
lv_finallyExpression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
set(
current,
"finallyExpression",
lv_finallyExpression_7_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTryCatchFinallyExpression"
// $ANTLR start "entryRuleXSynchronizedExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4879:1: entryRuleXSynchronizedExpression returns [EObject current=null] : iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF ;
public final EObject entryRuleXSynchronizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSynchronizedExpression = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4880:2: (iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4881:2: iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionRule());
}
pushFollow(FOLLOW_ruleXSynchronizedExpression_in_entryRuleXSynchronizedExpression11599);
iv_ruleXSynchronizedExpression=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSynchronizedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXSynchronizedExpression11609); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSynchronizedExpression"
// $ANTLR start "ruleXSynchronizedExpression"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4888:1: ruleXSynchronizedExpression returns [EObject current=null] : ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXSynchronizedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_param_3_0 = null;
EObject lv_expression_5_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4891:28: ( ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4892:1: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4892:1: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4892:2: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4892:2: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4892:3: ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4895:5: ( () otherlv_1= 'synchronized' otherlv_2= '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4895:6: () otherlv_1= 'synchronized' otherlv_2= '('
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4895:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4896:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSynchronizedExpressionAccess().getXSynchronizedExpressionAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,83,FOLLOW_83_in_ruleXSynchronizedExpression11673); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSynchronizedExpressionAccess().getSynchronizedKeyword_0_0_1());
}
otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXSynchronizedExpression11685); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSynchronizedExpressionAccess().getLeftParenthesisKeyword_0_0_2());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4909:3: ( (lv_param_3_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4910:1: (lv_param_3_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4910:1: (lv_param_3_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4911:3: lv_param_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getParamXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSynchronizedExpression11708);
lv_param_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule());
}
set(
current,
"param",
lv_param_3_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,50,FOLLOW_50_in_ruleXSynchronizedExpression11720); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSynchronizedExpressionAccess().getRightParenthesisKeyword_2());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4931:1: ( (lv_expression_5_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4932:1: (lv_expression_5_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4932:1: (lv_expression_5_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4933:3: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getExpressionXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSynchronizedExpression11741);
lv_expression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule());
}
set(
current,
"expression",
lv_expression_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSynchronizedExpression"
// $ANTLR start "entryRuleXCatchClause"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4957:1: entryRuleXCatchClause returns [EObject current=null] : iv_ruleXCatchClause= ruleXCatchClause EOF ;
public final EObject entryRuleXCatchClause() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCatchClause = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4958:2: (iv_ruleXCatchClause= ruleXCatchClause EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4959:2: iv_ruleXCatchClause= ruleXCatchClause EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseRule());
}
pushFollow(FOLLOW_ruleXCatchClause_in_entryRuleXCatchClause11777);
iv_ruleXCatchClause=ruleXCatchClause();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCatchClause;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCatchClause11787); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCatchClause"
// $ANTLR start "ruleXCatchClause"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4966:1: ruleXCatchClause returns [EObject current=null] : ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) ;
public final EObject ruleXCatchClause() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
EObject lv_declaredParam_2_0 = null;
EObject lv_expression_4_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4969:28: ( ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4970:1: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4970:1: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4970:2: ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4970:2: ( ( 'catch' )=>otherlv_0= 'catch' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4970:3: ( 'catch' )=>otherlv_0= 'catch'
{
otherlv_0=(Token)match(input,84,FOLLOW_84_in_ruleXCatchClause11832); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXCatchClauseAccess().getCatchKeyword_0());
}
}
otherlv_1=(Token)match(input,49,FOLLOW_49_in_ruleXCatchClause11845); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXCatchClauseAccess().getLeftParenthesisKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4979:1: ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4980:1: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4980:1: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4981:3: lv_declaredParam_2_0= ruleFullJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleFullJvmFormalParameter_in_ruleXCatchClause11866);
lv_declaredParam_2_0=ruleFullJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCatchClauseRule());
}
set(
current,
"declaredParam",
lv_declaredParam_2_0,
"FullJvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,50,FOLLOW_50_in_ruleXCatchClause11878); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXCatchClauseAccess().getRightParenthesisKeyword_3());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5001:1: ( (lv_expression_4_0= ruleXExpression ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5002:1: (lv_expression_4_0= ruleXExpression )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5002:1: (lv_expression_4_0= ruleXExpression )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5003:3: lv_expression_4_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXCatchClause11899);
lv_expression_4_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCatchClauseRule());
}
set(
current,
"expression",
lv_expression_4_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCatchClause"
// $ANTLR start "entryRuleQualifiedName"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5027:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5028:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5029:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
}
pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName11936);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedName.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName11947); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedName"
// $ANTLR start "ruleQualifiedName"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5036:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) ;
public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
AntlrDatatypeRuleToken this_ValidID_2 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5039:28: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5040:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5040:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5041:5: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName11994);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5051:1: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
loop88:
do {
int alt88=2;
int LA88_0 = input.LA(1);
if ( (LA88_0==45) ) {
int LA88_2 = input.LA(2);
if ( (LA88_2==RULE_ID) ) {
int LA88_3 = input.LA(3);
if ( (synpred42_InternalExpressions()) ) {
alt88=1;
}
}
}
switch (alt88) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5051:2: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5051:2: ( ( '.' )=>kw= '.' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5051:3: ( '.' )=>kw= '.'
{
kw=(Token)match(input,45,FOLLOW_45_in_ruleQualifiedName12022); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1());
}
pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName12045);
this_ValidID_2=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_2);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
default :
break loop88;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedName"
// $ANTLR start "entryRuleNumber"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5078:1: entryRuleNumber returns [String current=null] : iv_ruleNumber= ruleNumber EOF ;
public final String entryRuleNumber() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleNumber = null;
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5082:2: (iv_ruleNumber= ruleNumber EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5083:2: iv_ruleNumber= ruleNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberRule());
}
pushFollow(FOLLOW_ruleNumber_in_entryRuleNumber12099);
iv_ruleNumber=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNumber.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleNumber12110); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
myHiddenTokenState.restore();
}
return current;
}
// $ANTLR end "entryRuleNumber"
// $ANTLR start "ruleNumber"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5093:1: ruleNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) ;
public final AntlrDatatypeRuleToken ruleNumber() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_HEX_0=null;
Token this_INT_1=null;
Token this_DECIMAL_2=null;
Token kw=null;
Token this_INT_4=null;
Token this_DECIMAL_5=null;
enterRule();
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5097:28: ( (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5098:1: (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5098:1: (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) )
int alt92=2;
int LA92_0 = input.LA(1);
if ( (LA92_0==RULE_HEX) ) {
alt92=1;
}
else if ( ((LA92_0>=RULE_INT && LA92_0<=RULE_DECIMAL)) ) {
alt92=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 92, 0, input);
throw nvae;
}
switch (alt92) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5098:6: this_HEX_0= RULE_HEX
{
this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleNumber12154); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_HEX_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_HEX_0, grammarAccess.getNumberAccess().getHEXTerminalRuleCall_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5106:6: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5106:6: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5106:7: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5106:7: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL )
int alt89=2;
int LA89_0 = input.LA(1);
if ( (LA89_0==RULE_INT) ) {
alt89=1;
}
else if ( (LA89_0==RULE_DECIMAL) ) {
alt89=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 89, 0, input);
throw nvae;
}
switch (alt89) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5106:12: this_INT_1= RULE_INT
{
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleNumber12182); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_INT_1);
}
if ( state.backtracking==0 ) {
newLeafNode(this_INT_1, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_0_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5114:10: this_DECIMAL_2= RULE_DECIMAL
{
this_DECIMAL_2=(Token)match(input,RULE_DECIMAL,FOLLOW_RULE_DECIMAL_in_ruleNumber12208); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_DECIMAL_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_DECIMAL_2, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_0_1());
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5121:2: (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
int alt91=2;
int LA91_0 = input.LA(1);
if ( (LA91_0==45) ) {
int LA91_1 = input.LA(2);
if ( ((LA91_1>=RULE_INT && LA91_1<=RULE_DECIMAL)) ) {
alt91=1;
}
}
switch (alt91) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5122:2: kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
{
kw=(Token)match(input,45,FOLLOW_45_in_ruleNumber12228); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getNumberAccess().getFullStopKeyword_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5127:1: (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
int alt90=2;
int LA90_0 = input.LA(1);
if ( (LA90_0==RULE_INT) ) {
alt90=1;
}
else if ( (LA90_0==RULE_DECIMAL) ) {
alt90=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 90, 0, input);
throw nvae;
}
switch (alt90) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5127:6: this_INT_4= RULE_INT
{
this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleNumber12244); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_INT_4);
}
if ( state.backtracking==0 ) {
newLeafNode(this_INT_4, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_1_1_0());
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5135:10: this_DECIMAL_5= RULE_DECIMAL
{
this_DECIMAL_5=(Token)match(input,RULE_DECIMAL,FOLLOW_RULE_DECIMAL_in_ruleNumber12270); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_DECIMAL_5);
}
if ( state.backtracking==0 ) {
newLeafNode(this_DECIMAL_5, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_1_1_1());
}
}
break;
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
myHiddenTokenState.restore();
}
return current;
}
// $ANTLR end "ruleNumber"
// $ANTLR start "entryRuleJvmTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5155:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ;
public final EObject entryRuleJvmTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmTypeReference = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5156:2: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5157:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_entryRuleJvmTypeReference12325);
iv_ruleJvmTypeReference=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmTypeReference12335); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmTypeReference"
// $ANTLR start "ruleJvmTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5164:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ;
public final EObject ruleJvmTypeReference() throws RecognitionException {
EObject current = null;
EObject this_JvmParameterizedTypeReference_0 = null;
EObject this_XFunctionTypeRef_3 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5167:28: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5168:1: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5168:1: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
int alt94=2;
int LA94_0 = input.LA(1);
if ( (LA94_0==RULE_ID) ) {
alt94=1;
}
else if ( (LA94_0==32||LA94_0==49) ) {
alt94=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 94, 0, input);
throw nvae;
}
switch (alt94) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5168:2: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5168:2: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5169:5: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmParameterizedTypeReference_in_ruleJvmTypeReference12383);
this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmParameterizedTypeReference_0;
afterParserOrEnumRuleCall();
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:1: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
loop93:
do {
int alt93=2;
int LA93_0 = input.LA(1);
if ( (LA93_0==54) ) {
int LA93_2 = input.LA(2);
if ( (LA93_2==55) ) {
int LA93_3 = input.LA(3);
if ( (synpred43_InternalExpressions()) ) {
alt93=1;
}
}
}
switch (alt93) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:2: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5178:24: ( () ruleArrayBrackets )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5178:25: () ruleArrayBrackets
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5178:25: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5179:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(),
current);
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1());
}
pushFollow(FOLLOW_ruleArrayBrackets_in_ruleJvmTypeReference12419);
ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop93;
}
} while (true);
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5194:5: this_XFunctionTypeRef_3= ruleXFunctionTypeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXFunctionTypeRef_in_ruleJvmTypeReference12450);
this_XFunctionTypeRef_3=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFunctionTypeRef_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmTypeReference"
// $ANTLR start "entryRuleArrayBrackets"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5210:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ;
public final String entryRuleArrayBrackets() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleArrayBrackets = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5211:2: (iv_ruleArrayBrackets= ruleArrayBrackets EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5212:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getArrayBracketsRule());
}
pushFollow(FOLLOW_ruleArrayBrackets_in_entryRuleArrayBrackets12486);
iv_ruleArrayBrackets=ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleArrayBrackets.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleArrayBrackets12497); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleArrayBrackets"
// $ANTLR start "ruleArrayBrackets"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5219:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ;
public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5222:28: ( (kw= '[' kw= ']' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5223:1: (kw= '[' kw= ']' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5223:1: (kw= '[' kw= ']' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5224:2: kw= '[' kw= ']'
{
kw=(Token)match(input,54,FOLLOW_54_in_ruleArrayBrackets12535); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0());
}
kw=(Token)match(input,55,FOLLOW_55_in_ruleArrayBrackets12548); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleArrayBrackets"
// $ANTLR start "entryRuleXFunctionTypeRef"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5243:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ;
public final EObject entryRuleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
EObject iv_ruleXFunctionTypeRef = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5244:2: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5245:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefRule());
}
pushFollow(FOLLOW_ruleXFunctionTypeRef_in_entryRuleXFunctionTypeRef12588);
iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFunctionTypeRef;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXFunctionTypeRef12598); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFunctionTypeRef"
// $ANTLR start "ruleXFunctionTypeRef"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5252:1: ruleXFunctionTypeRef returns [EObject current=null] : ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
EObject lv_paramTypes_1_0 = null;
EObject lv_paramTypes_3_0 = null;
EObject lv_returnType_6_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5255:28: ( ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5256:1: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5256:1: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5256:2: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5256:2: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )?
int alt97=2;
int LA97_0 = input.LA(1);
if ( (LA97_0==49) ) {
alt97=1;
}
switch (alt97) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5256:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')'
{
otherlv_0=(Token)match(input,49,FOLLOW_49_in_ruleXFunctionTypeRef12636); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5260:1: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )?
int alt96=2;
int LA96_0 = input.LA(1);
if ( (LA96_0==RULE_ID||LA96_0==32||LA96_0==49) ) {
alt96=1;
}
switch (alt96) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5260:2: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5260:2: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5261:1: (lv_paramTypes_1_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5261:1: (lv_paramTypes_1_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5262:3: lv_paramTypes_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12658);
lv_paramTypes_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule());
}
add(
current,
"paramTypes",
lv_paramTypes_1_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5278:2: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
loop95:
do {
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==48) ) {
alt95=1;
}
switch (alt95) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5278:4: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
{
otherlv_2=(Token)match(input,48,FOLLOW_48_in_ruleXFunctionTypeRef12671); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5282:1: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5283:1: (lv_paramTypes_3_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5283:1: (lv_paramTypes_3_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5284:3: lv_paramTypes_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12692);
lv_paramTypes_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule());
}
add(
current,
"paramTypes",
lv_paramTypes_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop95;
}
} while (true);
}
break;
}
otherlv_4=(Token)match(input,50,FOLLOW_50_in_ruleXFunctionTypeRef12708); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2());
}
}
break;
}
otherlv_5=(Token)match(input,32,FOLLOW_32_in_ruleXFunctionTypeRef12722); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5308:1: ( (lv_returnType_6_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5309:1: (lv_returnType_6_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5309:1: (lv_returnType_6_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5310:3: lv_returnType_6_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12743);
lv_returnType_6_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule());
}
set(
current,
"returnType",
lv_returnType_6_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFunctionTypeRef"
// $ANTLR start "entryRuleJvmParameterizedTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5334:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ;
public final EObject entryRuleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmParameterizedTypeReference = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5335:2: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5336:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmParameterizedTypeReference_in_entryRuleJvmParameterizedTypeReference12779);
iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmParameterizedTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmParameterizedTypeReference12789); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmParameterizedTypeReference"
// $ANTLR start "ruleJvmParameterizedTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5343:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ;
public final EObject ruleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_arguments_2_0 = null;
EObject lv_arguments_4_0 = null;
EObject lv_arguments_10_0 = null;
EObject lv_arguments_12_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5346:28: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5347:1: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5347:1: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5347:2: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5347:2: ( ( ruleQualifiedName ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5348:1: ( ruleQualifiedName )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5348:1: ( ruleQualifiedName )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5349:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleJvmParameterizedTypeReference12837);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5362:2: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
int alt102=2;
alt102 = dfa102.predict(input);
switch (alt102) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5362:3: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5362:3: ( ( '<' )=>otherlv_1= '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5362:4: ( '<' )=>otherlv_1= '<'
{
otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleJvmParameterizedTypeReference12858); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0());
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5367:2: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5368:1: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5368:1: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5369:3: lv_arguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12880);
lv_arguments_2_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_2_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5385:2: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop98:
do {
int alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==48) ) {
alt98=1;
}
switch (alt98) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5385:4: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,48,FOLLOW_48_in_ruleJvmParameterizedTypeReference12893); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5389:1: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5390:1: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5390:1: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5391:3: lv_arguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12914);
lv_arguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_4_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop98;
}
} while (true);
otherlv_5=(Token)match(input,20,FOLLOW_20_in_ruleJvmParameterizedTypeReference12928); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:1: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
loop101:
do {
int alt101=2;
int LA101_0 = input.LA(1);
if ( (LA101_0==45) ) {
int LA101_2 = input.LA(2);
if ( (LA101_2==RULE_ID) ) {
int LA101_3 = input.LA(3);
if ( (synpred45_InternalExpressions()) ) {
alt101=1;
}
}
}
switch (alt101) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:2: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:2: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:3: ( ( () '.' ) )=> ( () otherlv_7= '.' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5413:5: ( () otherlv_7= '.' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5413:6: () otherlv_7= '.'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5413:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5414:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(),
current);
}
}
otherlv_7=(Token)match(input,45,FOLLOW_45_in_ruleJvmParameterizedTypeReference12964); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1());
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5423:3: ( ( ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5424:1: ( ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5424:1: ( ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5425:3: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleJvmParameterizedTypeReference12989);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5438:2: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
int alt100=2;
alt100 = dfa100.predict(input);
switch (alt100) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5438:3: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5438:3: ( ( '<' )=>otherlv_9= '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5438:4: ( '<' )=>otherlv_9= '<'
{
otherlv_9=(Token)match(input,19,FOLLOW_19_in_ruleJvmParameterizedTypeReference13010); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0());
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5443:2: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5444:1: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5444:1: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5445:3: lv_arguments_10_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference13032);
lv_arguments_10_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_10_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5461:2: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )*
loop99:
do {
int alt99=2;
int LA99_0 = input.LA(1);
if ( (LA99_0==48) ) {
alt99=1;
}
switch (alt99) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5461:4: otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
{
otherlv_11=(Token)match(input,48,FOLLOW_48_in_ruleJvmParameterizedTypeReference13045); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5465:1: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5466:1: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5466:1: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5467:3: lv_arguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference13066);
lv_arguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_12_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop99;
}
} while (true);
otherlv_13=(Token)match(input,20,FOLLOW_20_in_ruleJvmParameterizedTypeReference13080); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3());
}
}
break;
}
}
break;
default :
break loop101;
}
} while (true);
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmParameterizedTypeReference"
// $ANTLR start "entryRuleJvmArgumentTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5495:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ;
public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmArgumentTypeReference = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5496:2: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5497:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_entryRuleJvmArgumentTypeReference13122);
iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmArgumentTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmArgumentTypeReference13132); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmArgumentTypeReference"
// $ANTLR start "ruleJvmArgumentTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5504:1: ruleJvmArgumentTypeReference returns [EObject current=null] : (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ;
public final EObject ruleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
EObject this_JvmTypeReference_0 = null;
EObject this_JvmWildcardTypeReference_1 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5507:28: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5508:1: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5508:1: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==RULE_ID||LA103_0==32||LA103_0==49) ) {
alt103=1;
}
else if ( (LA103_0==85) ) {
alt103=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 103, 0, input);
throw nvae;
}
switch (alt103) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5509:5: this_JvmTypeReference_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmArgumentTypeReference13179);
this_JvmTypeReference_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmTypeReference_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5519:5: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1());
}
pushFollow(FOLLOW_ruleJvmWildcardTypeReference_in_ruleJvmArgumentTypeReference13206);
this_JvmWildcardTypeReference_1=ruleJvmWildcardTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmWildcardTypeReference_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmArgumentTypeReference"
// $ANTLR start "entryRuleJvmWildcardTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5535:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ;
public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmWildcardTypeReference = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5536:2: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5537:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmWildcardTypeReference_in_entryRuleJvmWildcardTypeReference13241);
iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmWildcardTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmWildcardTypeReference13251); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmWildcardTypeReference"
// $ANTLR start "ruleJvmWildcardTypeReference"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5544:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ;
public final EObject ruleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_constraints_2_0 = null;
EObject lv_constraints_3_0 = null;
EObject lv_constraints_4_0 = null;
EObject lv_constraints_5_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5547:28: ( ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5548:1: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5548:1: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5548:2: () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5548:2: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5549:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(),
current);
}
}
otherlv_1=(Token)match(input,85,FOLLOW_85_in_ruleJvmWildcardTypeReference13297); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5558:1: ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
int alt106=3;
int LA106_0 = input.LA(1);
if ( (LA106_0==69) ) {
alt106=1;
}
else if ( (LA106_0==73) ) {
alt106=2;
}
switch (alt106) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5558:2: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5558:2: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5558:3: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5558:3: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5559:1: (lv_constraints_2_0= ruleJvmUpperBound )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5559:1: (lv_constraints_2_0= ruleJvmUpperBound )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5560:3: lv_constraints_2_0= ruleJvmUpperBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0());
}
pushFollow(FOLLOW_ruleJvmUpperBound_in_ruleJvmWildcardTypeReference13320);
lv_constraints_2_0=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_2_0,
"JvmUpperBound");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5576:2: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
loop104:
do {
int alt104=2;
int LA104_0 = input.LA(1);
if ( (LA104_0==86) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5577:1: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5577:1: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5578:3: lv_constraints_3_0= ruleJvmUpperBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_ruleJvmUpperBoundAnded_in_ruleJvmWildcardTypeReference13341);
lv_constraints_3_0=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_3_0,
"JvmUpperBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop104;
}
} while (true);
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5595:6: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5595:6: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5595:7: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5595:7: ( (lv_constraints_4_0= ruleJvmLowerBound ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5596:1: (lv_constraints_4_0= ruleJvmLowerBound )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5596:1: (lv_constraints_4_0= ruleJvmLowerBound )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5597:3: lv_constraints_4_0= ruleJvmLowerBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0());
}
pushFollow(FOLLOW_ruleJvmLowerBound_in_ruleJvmWildcardTypeReference13371);
lv_constraints_4_0=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_4_0,
"JvmLowerBound");
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5613:2: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
loop105:
do {
int alt105=2;
int LA105_0 = input.LA(1);
if ( (LA105_0==86) ) {
alt105=1;
}
switch (alt105) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5614:1: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5614:1: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5615:3: lv_constraints_5_0= ruleJvmLowerBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_ruleJvmLowerBoundAnded_in_ruleJvmWildcardTypeReference13392);
lv_constraints_5_0=ruleJvmLowerBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_5_0,
"JvmLowerBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop105;
}
} while (true);
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmWildcardTypeReference"
// $ANTLR start "entryRuleJvmUpperBound"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5639:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ;
public final EObject entryRuleJvmUpperBound() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmUpperBound = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5640:2: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5641:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundRule());
}
pushFollow(FOLLOW_ruleJvmUpperBound_in_entryRuleJvmUpperBound13432);
iv_ruleJvmUpperBound=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBound;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmUpperBound13442); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBound"
// $ANTLR start "ruleJvmUpperBound"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5648:1: ruleJvmUpperBound returns [EObject current=null] : (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmUpperBound() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5651:28: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5652:1: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5652:1: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5652:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,69,FOLLOW_69_in_ruleJvmUpperBound13479); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5656:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5657:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5657:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5658:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBound13500);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmUpperBoundRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmUpperBound"
// $ANTLR start "entryRuleJvmUpperBoundAnded"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5682:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ;
public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmUpperBoundAnded = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5683:2: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5684:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule());
}
pushFollow(FOLLOW_ruleJvmUpperBoundAnded_in_entryRuleJvmUpperBoundAnded13536);
iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBoundAnded;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmUpperBoundAnded13546); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBoundAnded"
// $ANTLR start "ruleJvmUpperBoundAnded"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5691:1: ruleJvmUpperBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5694:28: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5695:1: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5695:1: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5695:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,86,FOLLOW_86_in_ruleJvmUpperBoundAnded13583); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5699:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5700:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5700:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5701:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBoundAnded13604);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmUpperBoundAndedRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmUpperBoundAnded"
// $ANTLR start "entryRuleJvmLowerBound"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5725:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ;
public final EObject entryRuleJvmLowerBound() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmLowerBound = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5726:2: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5727:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundRule());
}
pushFollow(FOLLOW_ruleJvmLowerBound_in_entryRuleJvmLowerBound13640);
iv_ruleJvmLowerBound=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBound;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmLowerBound13650); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBound"
// $ANTLR start "ruleJvmLowerBound"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5734:1: ruleJvmLowerBound returns [EObject current=null] : (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBound() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5737:28: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5738:1: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5738:1: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5738:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,73,FOLLOW_73_in_ruleJvmLowerBound13687); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5742:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5743:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5743:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5744:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmLowerBound13708);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmLowerBoundRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmLowerBound"
// $ANTLR start "entryRuleJvmLowerBoundAnded"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5768:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ;
public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmLowerBoundAnded = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5769:2: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5770:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule());
}
pushFollow(FOLLOW_ruleJvmLowerBoundAnded_in_entryRuleJvmLowerBoundAnded13744);
iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBoundAnded;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmLowerBoundAnded13754); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBoundAnded"
// $ANTLR start "ruleJvmLowerBoundAnded"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5777:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5780:28: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5781:1: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5781:1: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5781:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,86,FOLLOW_86_in_ruleJvmLowerBoundAnded13791); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5785:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5786:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5786:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5787:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmLowerBoundAnded13812);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmLowerBoundAnded"
// $ANTLR start "entryRuleQualifiedNameWithWildcard"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5813:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5814:2: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5815:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule());
}
pushFollow(FOLLOW_ruleQualifiedNameWithWildcard_in_entryRuleQualifiedNameWithWildcard13851);
iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNameWithWildcard.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedNameWithWildcard13862); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNameWithWildcard"
// $ANTLR start "ruleQualifiedNameWithWildcard"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5822:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ;
public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5825:28: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5826:1: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5826:1: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5827:5: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedNameWithWildcard13909);
this_QualifiedName_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_QualifiedName_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
kw=(Token)match(input,45,FOLLOW_45_in_ruleQualifiedNameWithWildcard13927); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1());
}
kw=(Token)match(input,37,FOLLOW_37_in_ruleQualifiedNameWithWildcard13940); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNameWithWildcard"
// $ANTLR start "entryRuleValidID"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5857:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
public final String entryRuleValidID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleValidID = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5858:2: (iv_ruleValidID= ruleValidID EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5859:2: iv_ruleValidID= ruleValidID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getValidIDRule());
}
pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID13981);
iv_ruleValidID=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleValidID.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleValidID13992); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleValidID"
// $ANTLR start "ruleValidID"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5866:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5869:28: (this_ID_0= RULE_ID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5870:5: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID14031); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleValidID"
// $ANTLR start "entryRuleXImportDeclaration"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5887: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.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5888:2: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5889:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationRule());
}
pushFollow(FOLLOW_ruleXImportDeclaration_in_entryRuleXImportDeclaration14077);
iv_ruleXImportDeclaration=ruleXImportDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXImportDeclaration;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXImportDeclaration14087); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXImportDeclaration"
// $ANTLR start "ruleXImportDeclaration"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5896:1: ruleXImportDeclaration returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? ) ;
public final EObject ruleXImportDeclaration() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_static_1_0=null;
Token lv_extension_2_0=null;
Token lv_wildcard_4_0=null;
Token otherlv_8=null;
AntlrDatatypeRuleToken lv_memberName_5_0 = null;
AntlrDatatypeRuleToken lv_importedNamespace_7_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5899:28: ( (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5900:1: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5900:1: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5900:3: otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )?
{
otherlv_0=(Token)match(input,71,FOLLOW_71_in_ruleXImportDeclaration14124); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXImportDeclarationAccess().getImportKeyword_0());
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5904:1: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) )
int alt109=3;
alt109 = dfa109.predict(input);
switch (alt109) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5904:2: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5904:2: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5904:3: ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5904:3: ( (lv_static_1_0= 'static' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5905:1: (lv_static_1_0= 'static' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5905:1: (lv_static_1_0= 'static' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5906:3: lv_static_1_0= 'static'
{
lv_static_1_0=(Token)match(input,70,FOLLOW_70_in_ruleXImportDeclaration14144); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_1_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "static", true, "static");
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5919:2: ( (lv_extension_2_0= 'extension' ) )?
int alt107=2;
int LA107_0 = input.LA(1);
if ( (LA107_0==72) ) {
alt107=1;
}
switch (alt107) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5920:1: (lv_extension_2_0= 'extension' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5920:1: (lv_extension_2_0= 'extension' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5921:3: lv_extension_2_0= 'extension'
{
lv_extension_2_0=(Token)match(input,72,FOLLOW_72_in_ruleXImportDeclaration14175); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_extension_2_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "extension", true, "extension");
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5934:3: ( ( ruleQualifiedNameInStaticImport ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5935:1: ( ruleQualifiedNameInStaticImport )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5935:1: ( ruleQualifiedNameInStaticImport )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5936:3: ruleQualifiedNameInStaticImport
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0());
}
pushFollow(FOLLOW_ruleQualifiedNameInStaticImport_in_ruleXImportDeclaration14212);
ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5949:2: ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) )
int alt108=2;
int LA108_0 = input.LA(1);
if ( (LA108_0==37) ) {
alt108=1;
}
else if ( (LA108_0==RULE_ID) ) {
alt108=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 108, 0, input);
throw nvae;
}
switch (alt108) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5949:3: ( (lv_wildcard_4_0= '*' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5949:3: ( (lv_wildcard_4_0= '*' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5950:1: (lv_wildcard_4_0= '*' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5950:1: (lv_wildcard_4_0= '*' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5951:3: lv_wildcard_4_0= '*'
{
lv_wildcard_4_0=(Token)match(input,37,FOLLOW_37_in_ruleXImportDeclaration14231); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_wildcard_4_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "wildcard", true, "*");
}
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5965:6: ( (lv_memberName_5_0= ruleValidID ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5965:6: ( (lv_memberName_5_0= ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5966:1: (lv_memberName_5_0= ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5966:1: (lv_memberName_5_0= ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5967:3: lv_memberName_5_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXImportDeclaration14271);
lv_memberName_5_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_5_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5984:6: ( ( ruleQualifiedName ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5984:6: ( ( ruleQualifiedName ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5985:1: ( ruleQualifiedName )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5985:1: ( ruleQualifiedName )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5986:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleXImportDeclaration14302);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6000:6: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6000:6: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6001:1: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6001:1: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6002:3: lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0());
}
pushFollow(FOLLOW_ruleQualifiedNameWithWildcard_in_ruleXImportDeclaration14329);
lv_importedNamespace_7_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_7_0,
"QualifiedNameWithWildcard");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6018:3: (otherlv_8= ';' )?
int alt110=2;
int LA110_0 = input.LA(1);
if ( (LA110_0==57) ) {
alt110=1;
}
switch (alt110) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6018:5: otherlv_8= ';'
{
otherlv_8=(Token)match(input,57,FOLLOW_57_in_ruleXImportDeclaration14343); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXImportDeclaration"
// $ANTLR start "entryRuleQualifiedNameInStaticImport"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6030:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ;
public final String entryRuleQualifiedNameInStaticImport() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNameInStaticImport = null;
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6031:2: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6032:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule());
}
pushFollow(FOLLOW_ruleQualifiedNameInStaticImport_in_entryRuleQualifiedNameInStaticImport14382);
iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNameInStaticImport.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedNameInStaticImport14393); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNameInStaticImport"
// $ANTLR start "ruleQualifiedNameInStaticImport"
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6039:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ;
public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6042:28: ( (this_ValidID_0= ruleValidID kw= '.' )+ )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6043:1: (this_ValidID_0= ruleValidID kw= '.' )+
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6043:1: (this_ValidID_0= ruleValidID kw= '.' )+
int cnt111=0;
loop111:
do {
int alt111=2;
int LA111_0 = input.LA(1);
if ( (LA111_0==RULE_ID) ) {
int LA111_2 = input.LA(2);
if ( (LA111_2==45) ) {
alt111=1;
}
}
switch (alt111) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:6044:5: this_ValidID_0= ruleValidID kw= '.'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedNameInStaticImport14440);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
kw=(Token)match(input,45,FOLLOW_45_in_ruleQualifiedNameInStaticImport14458); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1());
}
}
break;
default :
if ( cnt111 >= 1 ) break loop111;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(111, input);
throw eee;
}
cnt111++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNameInStaticImport"
// $ANTLR start synpred1_InternalExpressions
public final void synpred1_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:4: ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:4: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:5: () ( ( ruleOpMultiAssign ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:212:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:213:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:213:2: ( ( ruleOpMultiAssign ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:214:1: ( ruleOpMultiAssign )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:214:1: ( ruleOpMultiAssign )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:215:3: ruleOpMultiAssign
{
pushFollow(FOLLOW_ruleOpMultiAssign_in_synpred1_InternalExpressions422);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred1_InternalExpressions
// $ANTLR start synpred2_InternalExpressions
public final void synpred2_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:3: ( ( () ( ( ruleOpOr ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:4: ( () ( ( ruleOpOr ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:4: ( () ( ( ruleOpOr ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:5: () ( ( ruleOpOr ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:406:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:407:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:407:2: ( ( ruleOpOr ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:408:1: ( ruleOpOr )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:408:1: ( ruleOpOr )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:409:3: ruleOpOr
{
pushFollow(FOLLOW_ruleOpOr_in_synpred2_InternalExpressions945);
ruleOpOr();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred2_InternalExpressions
// $ANTLR start synpred3_InternalExpressions
public final void synpred3_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:3: ( ( () ( ( ruleOpAnd ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:4: ( () ( ( ruleOpAnd ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:4: ( () ( ( ruleOpAnd ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:5: () ( ( ruleOpAnd ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:507:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:508:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:508:2: ( ( ruleOpAnd ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:509:1: ( ruleOpAnd )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:509:1: ( ruleOpAnd )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:510:3: ruleOpAnd
{
pushFollow(FOLLOW_ruleOpAnd_in_synpred3_InternalExpressions1204);
ruleOpAnd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred3_InternalExpressions
// $ANTLR start synpred4_InternalExpressions
public final void synpred4_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:3: ( ( () ( ( ruleOpEquality ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:4: ( () ( ( ruleOpEquality ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:4: ( () ( ( ruleOpEquality ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:5: () ( ( ruleOpEquality ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:608:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:609:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:609:2: ( ( ruleOpEquality ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:610:1: ( ruleOpEquality )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:610:1: ( ruleOpEquality )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:611:3: ruleOpEquality
{
pushFollow(FOLLOW_ruleOpEquality_in_synpred4_InternalExpressions1463);
ruleOpEquality();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred4_InternalExpressions
// $ANTLR start synpred5_InternalExpressions
public final void synpred5_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:4: ( ( () 'instanceof' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:5: ( () 'instanceof' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:5: ( () 'instanceof' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:6: () 'instanceof'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:730:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:731:1:
{
}
match(input,28,FOLLOW_28_in_synpred5_InternalExpressions1777); if (state.failed) return ;
}
}
}
// $ANTLR end synpred5_InternalExpressions
// $ANTLR start synpred6_InternalExpressions
public final void synpred6_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:8: ( ( () ( ( ruleOpCompare ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:9: ( () ( ( ruleOpCompare ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:9: ( () ( ( ruleOpCompare ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:10: () ( ( ruleOpCompare ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:761:10: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:762:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:762:2: ( ( ruleOpCompare ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:763:1: ( ruleOpCompare )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:763:1: ( ruleOpCompare )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:764:3: ruleOpCompare
{
pushFollow(FOLLOW_ruleOpCompare_in_synpred6_InternalExpressions1848);
ruleOpCompare();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred6_InternalExpressions
// $ANTLR start synpred7_InternalExpressions
public final void synpred7_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:3: ( ( () ( ( ruleOpOther ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:4: ( () ( ( ruleOpOther ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:4: ( () ( ( ruleOpOther ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:5: () ( ( ruleOpOther ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:889:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:890:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:890:2: ( ( ruleOpOther ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:891:1: ( ruleOpOther )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:891:1: ( ruleOpOther )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:892:3: ruleOpOther
{
pushFollow(FOLLOW_ruleOpOther_in_synpred7_InternalExpressions2182);
ruleOpOther();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred7_InternalExpressions
// $ANTLR start synpred8_InternalExpressions
public final void synpred8_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:3: ( ( '>' '>' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:4: ( '>' '>' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1001:4: ( '>' '>' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1002:2: '>' '>'
{
match(input,20,FOLLOW_20_in_synpred8_InternalExpressions2451); if (state.failed) return ;
match(input,20,FOLLOW_20_in_synpred8_InternalExpressions2456); if (state.failed) return ;
}
}
}
// $ANTLR end synpred8_InternalExpressions
// $ANTLR start synpred9_InternalExpressions
public final void synpred9_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:3: ( ( '<' '<' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:4: ( '<' '<' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1031:4: ( '<' '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1032:2: '<' '<'
{
match(input,19,FOLLOW_19_in_synpred9_InternalExpressions2538); if (state.failed) return ;
match(input,19,FOLLOW_19_in_synpred9_InternalExpressions2543); if (state.failed) return ;
}
}
}
// $ANTLR end synpred9_InternalExpressions
// $ANTLR start synpred10_InternalExpressions
public final void synpred10_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:3: ( ( () ( ( ruleOpAdd ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:4: ( () ( ( ruleOpAdd ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:4: ( () ( ( ruleOpAdd ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:5: () ( ( ruleOpAdd ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1105:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1106:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1106:2: ( ( ruleOpAdd ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1107:1: ( ruleOpAdd )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1107:1: ( ruleOpAdd )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1108:3: ruleOpAdd
{
pushFollow(FOLLOW_ruleOpAdd_in_synpred10_InternalExpressions2765);
ruleOpAdd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred10_InternalExpressions
// $ANTLR start synpred11_InternalExpressions
public final void synpred11_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:3: ( ( () ( ( ruleOpMulti ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:4: ( () ( ( ruleOpMulti ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:4: ( () ( ( ruleOpMulti ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:5: () ( ( ruleOpMulti ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1213:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1214:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1214:2: ( ( ruleOpMulti ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1215:1: ( ruleOpMulti )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1215:1: ( ruleOpMulti )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1216:3: ruleOpMulti
{
pushFollow(FOLLOW_ruleOpMulti_in_synpred11_InternalExpressions3045);
ruleOpMulti();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred11_InternalExpressions
// $ANTLR start synpred12_InternalExpressions
public final void synpred12_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:3: ( ( () 'as' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:4: ( () 'as' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:4: ( () 'as' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:5: () 'as'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1446:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1447:1:
{
}
match(input,42,FOLLOW_42_in_synpred12_InternalExpressions3639); if (state.failed) return ;
}
}
}
// $ANTLR end synpred12_InternalExpressions
// $ANTLR start synpred13_InternalExpressions
public final void synpred13_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:2: ( ( () ( ( ruleOpPostfix ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:3: ( () ( ( ruleOpPostfix ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:3: ( () ( ( ruleOpPostfix ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:4: () ( ( ruleOpPostfix ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1506:4: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1507:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1507:2: ( ( ruleOpPostfix ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1508:1: ( ruleOpPostfix )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1508:1: ( ruleOpPostfix )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1509:3: ruleOpPostfix
{
pushFollow(FOLLOW_ruleOpPostfix_in_synpred13_InternalExpressions3796);
ruleOpPostfix();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred13_InternalExpressions
// $ANTLR start synpred14_InternalExpressions
public final void synpred14_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:4: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:5: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:5: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:6: () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1596:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1597:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1597:2: ( '.' | ( ( '::' ) ) )
int alt112=2;
int LA112_0 = input.LA(1);
if ( (LA112_0==45) ) {
alt112=1;
}
else if ( (LA112_0==46) ) {
alt112=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 112, 0, input);
throw nvae;
}
switch (alt112) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1597:4: '.'
{
match(input,45,FOLLOW_45_in_synpred14_InternalExpressions4051); if (state.failed) return ;
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1599:6: ( ( '::' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1599:6: ( ( '::' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1600:1: ( '::' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1600:1: ( '::' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1601:2: '::'
{
match(input,46,FOLLOW_46_in_synpred14_InternalExpressions4065); if (state.failed) return ;
}
}
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1605:3: ( ( ruleFeatureCallID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1606:1: ( ruleFeatureCallID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1606:1: ( ruleFeatureCallID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1607:3: ruleFeatureCallID
{
pushFollow(FOLLOW_ruleFeatureCallID_in_synpred14_InternalExpressions4081);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return ;
}
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_synpred14_InternalExpressions4087);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred14_InternalExpressions
// $ANTLR start synpred15_InternalExpressions
public final void synpred15_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:9: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:9: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:10: () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1677:10: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1678:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1678:2: ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) )
int alt113=3;
switch ( input.LA(1) ) {
case 45:
{
alt113=1;
}
break;
case 47:
{
alt113=2;
}
break;
case 46:
{
alt113=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 113, 0, input);
throw nvae;
}
switch (alt113) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1678:4: '.'
{
match(input,45,FOLLOW_45_in_synpred15_InternalExpressions4229); if (state.failed) return ;
}
break;
case 2 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1680:6: ( ( '?.' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1680:6: ( ( '?.' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1681:1: ( '?.' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1681:1: ( '?.' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1682:2: '?.'
{
match(input,47,FOLLOW_47_in_synpred15_InternalExpressions4243); if (state.failed) return ;
}
}
}
break;
case 3 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1687:6: ( ( '::' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1687:6: ( ( '::' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1688:1: ( '::' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1688:1: ( '::' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1689:2: '::'
{
match(input,46,FOLLOW_46_in_synpred15_InternalExpressions4263); if (state.failed) return ;
}
}
}
break;
}
}
}
}
// $ANTLR end synpred15_InternalExpressions
// $ANTLR start synpred16_InternalExpressions
public final void synpred16_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1798:4: ( ( '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1799:1: ( '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1799:1: ( '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1800:2: '('
{
match(input,49,FOLLOW_49_in_synpred16_InternalExpressions4490); if (state.failed) return ;
}
}
}
// $ANTLR end synpred16_InternalExpressions
// $ANTLR start synpred17_InternalExpressions
public final void synpred17_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:6: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1819:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1820:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1820:2: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt115=2;
int LA115_0 = input.LA(1);
if ( (LA115_0==RULE_ID||LA115_0==32||LA115_0==49) ) {
alt115=1;
}
switch (alt115) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1820:3: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1820:3: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1821:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1821:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1822:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred17_InternalExpressions4542);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1824:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop114:
do {
int alt114=2;
int LA114_0 = input.LA(1);
if ( (LA114_0==48) ) {
alt114=1;
}
switch (alt114) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1824:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,48,FOLLOW_48_in_synpred17_InternalExpressions4549); if (state.failed) return ;
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1825:1: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1826:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1826:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1827:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred17_InternalExpressions4556);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop114;
}
} while (true);
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1829:6: ( ( '|' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1830:1: ( '|' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1830:1: ( '|' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1831:2: '|'
{
match(input,56,FOLLOW_56_in_synpred17_InternalExpressions4570); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred17_InternalExpressions
// $ANTLR start synpred18_InternalExpressions
public final void synpred18_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:4: ( ( () '[' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:5: ( () '[' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:5: ( () '[' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:6: () '['
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1898:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1899:1:
{
}
match(input,54,FOLLOW_54_in_synpred18_InternalExpressions4690); if (state.failed) return ;
}
}
}
// $ANTLR end synpred18_InternalExpressions
// $ANTLR start synpred19_InternalExpressions
public final void synpred19_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:7: ( ( () 'synchronized' '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:8: ( () 'synchronized' '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:8: ( () 'synchronized' '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:9: () 'synchronized' '('
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1969:9: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:1970:1:
{
}
match(input,83,FOLLOW_83_in_synpred19_InternalExpressions4879); if (state.failed) return ;
match(input,49,FOLLOW_49_in_synpred19_InternalExpressions4883); if (state.failed) return ;
}
}
}
// $ANTLR end synpred19_InternalExpressions
// $ANTLR start synpred20_InternalExpressions
public final void synpred20_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:7: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:8: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:8: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:9: () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2012:9: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2013:1:
{
}
match(input,64,FOLLOW_64_in_synpred20_InternalExpressions5005); if (state.failed) return ;
match(input,49,FOLLOW_49_in_synpred20_InternalExpressions5009); if (state.failed) return ;
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2015:1: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2016:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2016:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2017:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred20_InternalExpressions5016);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,61,FOLLOW_61_in_synpred20_InternalExpressions5022); if (state.failed) return ;
}
}
}
// $ANTLR end synpred20_InternalExpressions
// $ANTLR start synpred21_InternalExpressions
public final void synpred21_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:7: ( ( () '[' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:8: ( () '[' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:8: ( () '[' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:9: () '['
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2130:9: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2131:1:
{
}
match(input,54,FOLLOW_54_in_synpred21_InternalExpressions5344); if (state.failed) return ;
}
}
}
// $ANTLR end synpred21_InternalExpressions
// $ANTLR start synpred23_InternalExpressions
public final void synpred23_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:6: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:6: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt117=2;
int LA117_0 = input.LA(1);
if ( (LA117_0==RULE_ID||LA117_0==32||LA117_0==49) ) {
alt117=1;
}
switch (alt117) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:7: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2422:7: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2423:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2423:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2424:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred23_InternalExpressions6094);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2426:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop116:
do {
int alt116=2;
int LA116_0 = input.LA(1);
if ( (LA116_0==48) ) {
alt116=1;
}
switch (alt116) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2426:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,48,FOLLOW_48_in_synpred23_InternalExpressions6101); if (state.failed) return ;
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2427:1: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2428:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2428:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2429:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred23_InternalExpressions6108);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop116;
}
} while (true);
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2431:6: ( ( '|' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2432:1: ( '|' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2432:1: ( '|' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2433:2: '|'
{
match(input,56,FOLLOW_56_in_synpred23_InternalExpressions6122); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred23_InternalExpressions
// $ANTLR start synpred25_InternalExpressions
public final void synpred25_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2792:4: ( 'else' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2792:6: 'else'
{
match(input,59,FOLLOW_59_in_synpred25_InternalExpressions6905); if (state.failed) return ;
}
}
// $ANTLR end synpred25_InternalExpressions
// $ANTLR start synpred26_InternalExpressions
public final void synpred26_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:4: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:5: ( '(' ( ( ruleJvmFormalParameter ) ) ':' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:5: ( '(' ( ( ruleJvmFormalParameter ) ) ':' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2846:7: '(' ( ( ruleJvmFormalParameter ) ) ':'
{
match(input,49,FOLLOW_49_in_synpred26_InternalExpressions7044); if (state.failed) return ;
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2847:1: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2848:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2848:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2849:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred26_InternalExpressions7051);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,61,FOLLOW_61_in_synpred26_InternalExpressions7057); if (state.failed) return ;
}
}
}
// $ANTLR end synpred26_InternalExpressions
// $ANTLR start synpred27_InternalExpressions
public final void synpred27_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:8: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:9: ( ( ( ruleJvmFormalParameter ) ) ':' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:9: ( ( ( ruleJvmFormalParameter ) ) ':' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:10: ( ( ruleJvmFormalParameter ) ) ':'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2901:10: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2902:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2902:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:2903:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred27_InternalExpressions7159);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,61,FOLLOW_61_in_synpred27_InternalExpressions7165); if (state.failed) return ;
}
}
}
// $ANTLR end synpred27_InternalExpressions
// $ANTLR start synpred29_InternalExpressions
public final void synpred29_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:4: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:5: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:5: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:6: ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3669:6: ( ( ruleJvmTypeReference ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3670:1: ( ruleJvmTypeReference )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3670:1: ( ruleJvmTypeReference )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3671:1: ruleJvmTypeReference
{
pushFollow(FOLLOW_ruleJvmTypeReference_in_synpred29_InternalExpressions8793);
ruleJvmTypeReference();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3673:2: ( ( ruleValidID ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3674:1: ( ruleValidID )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3674:1: ( ruleValidID )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3675:1: ruleValidID
{
pushFollow(FOLLOW_ruleValidID_in_synpred29_InternalExpressions8802);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred29_InternalExpressions
// $ANTLR start synpred30_InternalExpressions
public final void synpred30_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3958:4: ( ( '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3959:1: ( '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3959:1: ( '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3960:2: '('
{
match(input,49,FOLLOW_49_in_synpred30_InternalExpressions9340); if (state.failed) return ;
}
}
}
// $ANTLR end synpred30_InternalExpressions
// $ANTLR start synpred31_InternalExpressions
public final void synpred31_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:6: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3979:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3980:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3980:2: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt121=2;
int LA121_0 = input.LA(1);
if ( (LA121_0==RULE_ID||LA121_0==32||LA121_0==49) ) {
alt121=1;
}
switch (alt121) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3980:3: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3980:3: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3981:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3981:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3982:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred31_InternalExpressions9392);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3984:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop120:
do {
int alt120=2;
int LA120_0 = input.LA(1);
if ( (LA120_0==48) ) {
alt120=1;
}
switch (alt120) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3984:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,48,FOLLOW_48_in_synpred31_InternalExpressions9399); if (state.failed) return ;
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3985:1: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3986:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3986:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3987:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred31_InternalExpressions9406);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop120;
}
} while (true);
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3989:6: ( ( '|' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3990:1: ( '|' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3990:1: ( '|' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:3991:2: '|'
{
match(input,56,FOLLOW_56_in_synpred31_InternalExpressions9420); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred31_InternalExpressions
// $ANTLR start synpred32_InternalExpressions
public final void synpred32_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:4: ( ( () '[' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:5: ( () '[' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:5: ( () '[' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:6: () '['
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4058:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4059:1:
{
}
match(input,54,FOLLOW_54_in_synpred32_InternalExpressions9540); if (state.failed) return ;
}
}
}
// $ANTLR end synpred32_InternalExpressions
// $ANTLR start synpred33_InternalExpressions
public final void synpred33_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4223:4: ( '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4223:6: '<'
{
match(input,19,FOLLOW_19_in_synpred33_InternalExpressions9989); if (state.failed) return ;
}
}
// $ANTLR end synpred33_InternalExpressions
// $ANTLR start synpred34_InternalExpressions
public final void synpred34_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4272:5: ( ( '(' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4273:1: ( '(' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4273:1: ( '(' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4274:2: '('
{
match(input,49,FOLLOW_49_in_synpred34_InternalExpressions10085); if (state.failed) return ;
}
}
}
// $ANTLR end synpred34_InternalExpressions
// $ANTLR start synpred35_InternalExpressions
public final void synpred35_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:6: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4293:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4294:1:
{
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4294:2: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt123=2;
int LA123_0 = input.LA(1);
if ( (LA123_0==RULE_ID||LA123_0==32||LA123_0==49) ) {
alt123=1;
}
switch (alt123) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4294:3: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4294:3: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4295:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4295:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4296:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred35_InternalExpressions10137);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4298:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop122:
do {
int alt122=2;
int LA122_0 = input.LA(1);
if ( (LA122_0==48) ) {
alt122=1;
}
switch (alt122) {
case 1 :
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4298:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,48,FOLLOW_48_in_synpred35_InternalExpressions10144); if (state.failed) return ;
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4299:1: ( ( ruleJvmFormalParameter ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4300:1: ( ruleJvmFormalParameter )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4300:1: ( ruleJvmFormalParameter )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4301:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred35_InternalExpressions10151);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop122;
}
} while (true);
}
break;
}
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4303:6: ( ( '|' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4304:1: ( '|' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4304:1: ( '|' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4305:2: '|'
{
match(input,56,FOLLOW_56_in_synpred35_InternalExpressions10165); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred35_InternalExpressions
// $ANTLR start synpred36_InternalExpressions
public final void synpred36_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:4: ( ( () '[' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:5: ( () '[' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:5: ( () '[' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:6: () '['
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4372:6: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4373:1:
{
}
match(input,54,FOLLOW_54_in_synpred36_InternalExpressions10285); if (state.failed) return ;
}
}
}
// $ANTLR end synpred36_InternalExpressions
// $ANTLR start synpred37_InternalExpressions
public final void synpred37_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4712:2: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:
{
if ( (input.LA(1)>=RULE_STRING && input.LA(1)<=RULE_ID)||input.LA(1)==19||(input.LA(1)>=35 && input.LA(1)<=36)||input.LA(1)==41||input.LA(1)==49||(input.LA(1)>=51 && input.LA(1)<=52)||input.LA(1)==54||input.LA(1)==58||input.LA(1)==60||(input.LA(1)>=64 && input.LA(1)<=66)||(input.LA(1)>=69 && input.LA(1)<=81)||input.LA(1)==83 ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred37_InternalExpressions
// $ANTLR start synpred38_InternalExpressions
public final void synpred38_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:5: ( 'catch' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4806:7: 'catch'
{
match(input,84,FOLLOW_84_in_synpred38_InternalExpressions11458); if (state.failed) return ;
}
}
// $ANTLR end synpred38_InternalExpressions
// $ANTLR start synpred39_InternalExpressions
public final void synpred39_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4825:5: ( 'finally' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:4825:7: 'finally'
{
match(input,82,FOLLOW_82_in_synpred39_InternalExpressions11488); if (state.failed) return ;
}
}
// $ANTLR end synpred39_InternalExpressions
// $ANTLR start synpred42_InternalExpressions
public final void synpred42_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5051:3: ( '.' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5052:2: '.'
{
match(input,45,FOLLOW_45_in_synpred42_InternalExpressions12013); if (state.failed) return ;
}
}
// $ANTLR end synpred42_InternalExpressions
// $ANTLR start synpred43_InternalExpressions
public final void synpred43_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:2: ( ( () ruleArrayBrackets ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:3: ( () ruleArrayBrackets )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:3: ( () ruleArrayBrackets )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:4: () ruleArrayBrackets
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5177:4: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5178:1:
{
}
pushFollow(FOLLOW_ruleArrayBrackets_in_synpred43_InternalExpressions12398);
ruleArrayBrackets();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred43_InternalExpressions
// $ANTLR start synpred44_InternalExpressions
public final void synpred44_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5362:4: ( '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5362:6: '<'
{
match(input,19,FOLLOW_19_in_synpred44_InternalExpressions12850); if (state.failed) return ;
}
}
// $ANTLR end synpred44_InternalExpressions
// $ANTLR start synpred45_InternalExpressions
public final void synpred45_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:3: ( ( () '.' ) )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:4: ( () '.' )
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:4: ( () '.' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:5: () '.'
{
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5411:5: ()
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5412:1:
{
}
match(input,45,FOLLOW_45_in_synpred45_InternalExpressions12945); if (state.failed) return ;
}
}
}
// $ANTLR end synpred45_InternalExpressions
// $ANTLR start synpred46_InternalExpressions
public final void synpred46_InternalExpressions_fragment() throws RecognitionException {
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5438:4: ( '<' )
// ../org.example.xbase.expressions/src-gen/org/example/xbase/expressions/parser/antlr/internal/InternalExpressions.g:5438:6: '<'
{
match(input,19,FOLLOW_19_in_synpred46_InternalExpressions13002); if (state.failed) return ;
}
}
// $ANTLR end synpred46_InternalExpressions
// Delegated rules
public final boolean synpred38_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred38_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred27_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred27_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred18_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred18_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred20_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred20_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred39_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred39_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred23_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred23_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred42_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred42_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred45_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred45_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred7_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred7_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred32_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred32_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred30_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred30_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred44_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred44_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred36_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred36_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred37_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred37_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred35_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred35_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred12_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred12_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred11_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred11_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred17_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred17_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred33_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred33_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred29_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred29_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred46_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred46_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred6_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred6_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred16_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred16_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred43_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred43_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred5_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred5_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred26_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred26_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred3_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred3_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred4_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred4_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred25_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred25_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred2_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred2_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred19_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred19_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred31_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred31_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred21_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred21_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred15_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred15_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred13_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred13_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred9_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred9_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred34_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred34_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred8_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred8_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred1_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred1_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred14_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred14_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred10_InternalExpressions() {
state.backtracking++;
int start = input.mark();
try {
synpred10_InternalExpressions_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
protected DFA2 dfa2 = new DFA2(this);
protected DFA12 dfa12 = new DFA12(this);
protected DFA15 dfa15 = new DFA15(this);
protected DFA31 dfa31 = new DFA31(this);
protected DFA30 dfa30 = new DFA30(this);
protected DFA32 dfa32 = new DFA32(this);
protected DFA34 dfa34 = new DFA34(this);
protected DFA43 dfa43 = new DFA43(this);
protected DFA50 dfa50 = new DFA50(this);
protected DFA49 dfa49 = new DFA49(this);
protected DFA72 dfa72 = new DFA72(this);
protected DFA71 dfa71 = new DFA71(this);
protected DFA73 dfa73 = new DFA73(this);
protected DFA77 dfa77 = new DFA77(this);
protected DFA80 dfa80 = new DFA80(this);
protected DFA79 dfa79 = new DFA79(this);
protected DFA81 dfa81 = new DFA81(this);
protected DFA84 dfa84 = new DFA84(this);
protected DFA102 dfa102 = new DFA102(this);
protected DFA100 dfa100 = new DFA100(this);
protected DFA109 dfa109 = new DFA109(this);
static final String DFA2_eotS =
"\12\uffff";
static final String DFA2_eofS =
"\1\10\11\uffff";
static final String DFA2_minS =
"\1\4\7\0\2\uffff";
static final String DFA2_maxS =
"\1\124\7\0\2\uffff";
static final String DFA2_acceptS =
"\10\uffff\1\2\1\1";
static final String DFA2_specialS =
"\1\uffff\1\4\1\3\1\6\1\5\1\2\1\1\1\0\2\uffff}>";
static final String[] DFA2_transitionS = {
"\5\10\5\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\43\10\1\uffff\34\10",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
""
};
static final short[] DFA2_eot = DFA.unpackEncodedString(DFA2_eotS);
static final short[] DFA2_eof = DFA.unpackEncodedString(DFA2_eofS);
static final char[] DFA2_min = DFA.unpackEncodedStringToUnsignedChars(DFA2_minS);
static final char[] DFA2_max = DFA.unpackEncodedStringToUnsignedChars(DFA2_maxS);
static final short[] DFA2_accept = DFA.unpackEncodedString(DFA2_acceptS);
static final short[] DFA2_special = DFA.unpackEncodedString(DFA2_specialS);
static final short[][] DFA2_transition;
static {
int numStates = DFA2_transitionS.length;
DFA2_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA2_transition[i] = DFA.unpackEncodedString(DFA2_transitionS[i]);
}
}
class DFA2 extends DFA {
public DFA2(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 2;
this.eot = DFA2_eot;
this.eof = DFA2_eof;
this.min = DFA2_min;
this.max = DFA2_max;
this.accept = DFA2_accept;
this.special = DFA2_special;
this.transition = DFA2_transition;
}
public String getDescription() {
return "212:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA2_7 = input.LA(1);
int index2_7 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_7);
if ( s>=0 ) return s;
break;
case 1 :
int LA2_6 = input.LA(1);
int index2_6 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_6);
if ( s>=0 ) return s;
break;
case 2 :
int LA2_5 = input.LA(1);
int index2_5 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_5);
if ( s>=0 ) return s;
break;
case 3 :
int LA2_2 = input.LA(1);
int index2_2 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_2);
if ( s>=0 ) return s;
break;
case 4 :
int LA2_1 = input.LA(1);
int index2_1 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_1);
if ( s>=0 ) return s;
break;
case 5 :
int LA2_4 = input.LA(1);
int index2_4 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_4);
if ( s>=0 ) return s;
break;
case 6 :
int LA2_3 = input.LA(1);
int index2_3 = input.index();
input.rewind();
s = -1;
if ( (synpred1_InternalExpressions()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index2_3);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 2, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA12_eotS =
"\13\uffff";
static final String DFA12_eofS =
"\1\1\12\uffff";
static final String DFA12_minS =
"\1\4\1\uffff\10\0\1\uffff";
static final String DFA12_maxS =
"\1\124\1\uffff\10\0\1\uffff";
static final String DFA12_acceptS =
"\1\uffff\1\2\10\uffff\1\1";
static final String DFA12_specialS =
"\2\uffff\1\7\1\3\1\2\1\1\1\0\1\4\1\6\1\5\1\uffff}>";
static final String[] DFA12_transitionS = {
"\5\1\5\uffff\5\1\1\2\1\3\10\1\1\4\1\5\1\6\1\7\1\10\1\11\25\1\1\uffff\34\1",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
""
};
static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
static final short[][] DFA12_transition;
static {
int numStates = DFA12_transitionS.length;
DFA12_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
}
}
class DFA12 extends DFA {
public DFA12(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 12;
this.eot = DFA12_eot;
this.eof = DFA12_eof;
this.min = DFA12_min;
this.max = DFA12_max;
this.accept = DFA12_accept;
this.special = DFA12_special;
this.transition = DFA12_transition;
}
public String getDescription() {
return "()* loopback of 889:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA12_6 = input.LA(1);
int index12_6 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_6);
if ( s>=0 ) return s;
break;
case 1 :
int LA12_5 = input.LA(1);
int index12_5 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_5);
if ( s>=0 ) return s;
break;
case 2 :
int LA12_4 = input.LA(1);
int index12_4 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_4);
if ( s>=0 ) return s;
break;
case 3 :
int LA12_3 = input.LA(1);
int index12_3 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_3);
if ( s>=0 ) return s;
break;
case 4 :
int LA12_7 = input.LA(1);
int index12_7 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_7);
if ( s>=0 ) return s;
break;
case 5 :
int LA12_9 = input.LA(1);
int index12_9 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_9);
if ( s>=0 ) return s;
break;
case 6 :
int LA12_8 = input.LA(1);
int index12_8 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_8);
if ( s>=0 ) return s;
break;
case 7 :
int LA12_2 = input.LA(1);
int index12_2 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalExpressions()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index12_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 12, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA15_eotS =
"\13\uffff";
static final String DFA15_eofS =
"\13\uffff";
static final String DFA15_minS =
"\1\23\2\uffff\1\24\7\uffff";
static final String DFA15_maxS =
"\1\42\2\uffff\1\37\7\uffff";
static final String DFA15_acceptS =
"\1\uffff\1\1\1\2\1\uffff\1\4\1\5\1\7\1\10\1\11\1\6\1\3";
static final String DFA15_specialS =
"\13\uffff}>";
static final String[] DFA15_transitionS = {
"\1\6\1\3\10\uffff\1\1\1\2\1\4\1\5\1\7\1\10",
"",
"",
"\1\11\12\uffff\1\12",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS);
static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS);
static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS);
static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS);
static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS);
static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS);
static final short[][] DFA15_transition;
static {
int numStates = DFA15_transitionS.length;
DFA15_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]);
}
}
class DFA15 extends DFA {
public DFA15(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 15;
this.eot = DFA15_eot;
this.eof = DFA15_eof;
this.min = DFA15_min;
this.max = DFA15_max;
this.accept = DFA15_accept;
this.special = DFA15_special;
this.transition = DFA15_transition;
}
public String getDescription() {
return "954:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )";
}
}
static final String DFA31_eotS =
"\116\uffff";
static final String DFA31_eofS =
"\1\2\115\uffff";
static final String DFA31_minS =
"\1\4\1\0\114\uffff";
static final String DFA31_maxS =
"\1\124\1\0\114\uffff";
static final String DFA31_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA31_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA31_transitionS = {
"\5\2\5\uffff\43\2\1\1\6\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA31_eot = DFA.unpackEncodedString(DFA31_eotS);
static final short[] DFA31_eof = DFA.unpackEncodedString(DFA31_eofS);
static final char[] DFA31_min = DFA.unpackEncodedStringToUnsignedChars(DFA31_minS);
static final char[] DFA31_max = DFA.unpackEncodedStringToUnsignedChars(DFA31_maxS);
static final short[] DFA31_accept = DFA.unpackEncodedString(DFA31_acceptS);
static final short[] DFA31_special = DFA.unpackEncodedString(DFA31_specialS);
static final short[][] DFA31_transition;
static {
int numStates = DFA31_transitionS.length;
DFA31_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA31_transition[i] = DFA.unpackEncodedString(DFA31_transitionS[i]);
}
}
class DFA31 extends DFA {
public DFA31(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 31;
this.eot = DFA31_eot;
this.eof = DFA31_eof;
this.min = DFA31_min;
this.max = DFA31_max;
this.accept = DFA31_accept;
this.special = DFA31_special;
this.transition = DFA31_transition;
}
public String getDescription() {
return "1798: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= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA31_1 = input.LA(1);
int index31_1 = input.index();
input.rewind();
s = -1;
if ( (synpred16_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index31_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 31, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA30_eotS =
"\44\uffff";
static final String DFA30_eofS =
"\44\uffff";
static final String DFA30_minS =
"\1\4\2\0\41\uffff";
static final String DFA30_maxS =
"\1\123\2\0\41\uffff";
static final String DFA30_acceptS =
"\3\uffff\2\1\1\2\35\uffff\1\3";
static final String DFA30_specialS =
"\1\0\1\1\1\2\41\uffff}>";
static final String[] DFA30_transitionS = {
"\4\5\1\1\12\uffff\1\5\14\uffff\1\3\2\uffff\2\5\4\uffff\1\5\7\uffff\1\2\1\43\2\5\1\uffff\1\5\1\uffff\1\4\1\uffff\1\5\1\uffff\1\5\3\uffff\3\5\2\uffff\15\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA30_eot = DFA.unpackEncodedString(DFA30_eotS);
static final short[] DFA30_eof = DFA.unpackEncodedString(DFA30_eofS);
static final char[] DFA30_min = DFA.unpackEncodedStringToUnsignedChars(DFA30_minS);
static final char[] DFA30_max = DFA.unpackEncodedStringToUnsignedChars(DFA30_maxS);
static final short[] DFA30_accept = DFA.unpackEncodedString(DFA30_acceptS);
static final short[] DFA30_special = DFA.unpackEncodedString(DFA30_specialS);
static final short[][] DFA30_transition;
static {
int numStates = DFA30_transitionS.length;
DFA30_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA30_transition[i] = DFA.unpackEncodedString(DFA30_transitionS[i]);
}
}
class DFA30 extends DFA {
public DFA30(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 30;
this.eot = DFA30_eot;
this.eof = DFA30_eof;
this.min = DFA30_min;
this.max = DFA30_max;
this.accept = DFA30_accept;
this.special = DFA30_special;
this.transition = DFA30_transition;
}
public String getDescription() {
return "1819:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA30_0 = input.LA(1);
int index30_0 = input.index();
input.rewind();
s = -1;
if ( (LA30_0==RULE_ID) ) {s = 1;}
else if ( (LA30_0==49) ) {s = 2;}
else if ( (LA30_0==32) && (synpred17_InternalExpressions())) {s = 3;}
else if ( (LA30_0==56) && (synpred17_InternalExpressions())) {s = 4;}
else if ( ((LA30_0>=RULE_STRING && LA30_0<=RULE_DECIMAL)||LA30_0==19||(LA30_0>=35 && LA30_0<=36)||LA30_0==41||(LA30_0>=51 && LA30_0<=52)||LA30_0==54||LA30_0==58||LA30_0==60||(LA30_0>=64 && LA30_0<=66)||(LA30_0>=69 && LA30_0<=81)||LA30_0==83) ) {s = 5;}
else if ( (LA30_0==50) ) {s = 35;}
input.seek(index30_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA30_1 = input.LA(1);
int index30_1 = input.index();
input.rewind();
s = -1;
if ( (synpred17_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index30_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA30_2 = input.LA(1);
int index30_2 = input.index();
input.rewind();
s = -1;
if ( (synpred17_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index30_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 30, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA32_eotS =
"\116\uffff";
static final String DFA32_eofS =
"\1\2\115\uffff";
static final String DFA32_minS =
"\1\4\1\0\114\uffff";
static final String DFA32_maxS =
"\1\124\1\0\114\uffff";
static final String DFA32_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA32_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA32_transitionS = {
"\5\2\5\uffff\50\2\1\1\1\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA32_eot = DFA.unpackEncodedString(DFA32_eotS);
static final short[] DFA32_eof = DFA.unpackEncodedString(DFA32_eofS);
static final char[] DFA32_min = DFA.unpackEncodedStringToUnsignedChars(DFA32_minS);
static final char[] DFA32_max = DFA.unpackEncodedStringToUnsignedChars(DFA32_maxS);
static final short[] DFA32_accept = DFA.unpackEncodedString(DFA32_acceptS);
static final short[] DFA32_special = DFA.unpackEncodedString(DFA32_specialS);
static final short[][] DFA32_transition;
static {
int numStates = DFA32_transitionS.length;
DFA32_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA32_transition[i] = DFA.unpackEncodedString(DFA32_transitionS[i]);
}
}
class DFA32 extends DFA {
public DFA32(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 32;
this.eot = DFA32_eot;
this.eof = DFA32_eof;
this.min = DFA32_min;
this.max = DFA32_max;
this.accept = DFA32_accept;
this.special = DFA32_special;
this.transition = DFA32_transition;
}
public String getDescription() {
return "1898:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA32_1 = input.LA(1);
int index32_1 = input.index();
input.rewind();
s = -1;
if ( (synpred18_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index32_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 32, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA34_eotS =
"\40\uffff";
static final String DFA34_eofS =
"\40\uffff";
static final String DFA34_minS =
"\1\4\26\uffff\1\0\10\uffff";
static final String DFA34_maxS =
"\1\123\26\uffff\1\0\10\uffff";
static final String DFA34_acceptS =
"\1\uffff\1\1\1\2\1\3\1\4\1\5\6\uffff\1\6\11\uffff\1\7\1\uffff\1\12\1\13\1\14\1\15\1\16\1\17\1\10\1\11";
static final String DFA34_specialS =
"\1\0\26\uffff\1\1\10\uffff}>";
static final String[] DFA34_transitionS = {
"\4\14\1\5\12\uffff\1\5\35\uffff\1\35\1\uffff\1\14\1\2\1\uffff\1\14\3\uffff\1\26\1\uffff\1\3\3\uffff\1\27\1\30\1\31\2\uffff\5\5\1\1\4\14\1\32\1\33\1\34\1\uffff\1\4",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA34_eot = DFA.unpackEncodedString(DFA34_eotS);
static final short[] DFA34_eof = DFA.unpackEncodedString(DFA34_eofS);
static final char[] DFA34_min = DFA.unpackEncodedStringToUnsignedChars(DFA34_minS);
static final char[] DFA34_max = DFA.unpackEncodedStringToUnsignedChars(DFA34_maxS);
static final short[] DFA34_accept = DFA.unpackEncodedString(DFA34_acceptS);
static final short[] DFA34_special = DFA.unpackEncodedString(DFA34_specialS);
static final short[][] DFA34_transition;
static {
int numStates = DFA34_transitionS.length;
DFA34_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA34_transition[i] = DFA.unpackEncodedString(DFA34_transitionS[i]);
}
}
class DFA34 extends DFA {
public DFA34(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 34;
this.eot = DFA34_eot;
this.eof = DFA34_eof;
this.min = DFA34_min;
this.max = DFA34_max;
this.accept = DFA34_accept;
this.special = DFA34_special;
this.transition = DFA34_transition;
}
public String getDescription() {
return "1939: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 )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA34_0 = input.LA(1);
int index34_0 = input.index();
input.rewind();
s = -1;
if ( (LA34_0==74) ) {s = 1;}
else if ( (LA34_0==52) ) {s = 2;}
else if ( (LA34_0==60) ) {s = 3;}
else if ( (LA34_0==83) && (synpred19_InternalExpressions())) {s = 4;}
else if ( (LA34_0==RULE_ID||LA34_0==19||(LA34_0>=69 && LA34_0<=73)) ) {s = 5;}
else if ( ((LA34_0>=RULE_STRING && LA34_0<=RULE_DECIMAL)||LA34_0==51||LA34_0==54||(LA34_0>=75 && LA34_0<=78)) ) {s = 12;}
else if ( (LA34_0==58) ) {s = 22;}
else if ( (LA34_0==64) ) {s = 23;}
else if ( (LA34_0==65) ) {s = 24;}
else if ( (LA34_0==66) ) {s = 25;}
else if ( (LA34_0==79) ) {s = 26;}
else if ( (LA34_0==80) ) {s = 27;}
else if ( (LA34_0==81) ) {s = 28;}
else if ( (LA34_0==49) ) {s = 29;}
input.seek(index34_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA34_23 = input.LA(1);
int index34_23 = input.index();
input.rewind();
s = -1;
if ( (synpred20_InternalExpressions()) ) {s = 30;}
else if ( (true) ) {s = 31;}
input.seek(index34_23);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 34, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA43_eotS =
"\46\uffff";
static final String DFA43_eofS =
"\46\uffff";
static final String DFA43_minS =
"\1\4\2\0\43\uffff";
static final String DFA43_maxS =
"\1\123\2\0\43\uffff";
static final String DFA43_acceptS =
"\3\uffff\2\1\1\2\40\uffff";
static final String DFA43_specialS =
"\1\0\1\1\1\2\43\uffff}>";
static final String[] DFA43_transitionS = {
"\4\5\1\1\12\uffff\1\5\14\uffff\1\3\2\uffff\2\5\4\uffff\1\5\7\uffff\1\2\1\uffff\2\5\1\uffff\2\5\1\4\1\uffff\1\5\1\uffff\1\5\3\uffff\22\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA43_eot = DFA.unpackEncodedString(DFA43_eotS);
static final short[] DFA43_eof = DFA.unpackEncodedString(DFA43_eofS);
static final char[] DFA43_min = DFA.unpackEncodedStringToUnsignedChars(DFA43_minS);
static final char[] DFA43_max = DFA.unpackEncodedStringToUnsignedChars(DFA43_maxS);
static final short[] DFA43_accept = DFA.unpackEncodedString(DFA43_acceptS);
static final short[] DFA43_special = DFA.unpackEncodedString(DFA43_specialS);
static final short[][] DFA43_transition;
static {
int numStates = DFA43_transitionS.length;
DFA43_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA43_transition[i] = DFA.unpackEncodedString(DFA43_transitionS[i]);
}
}
class DFA43 extends DFA {
public DFA43(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 43;
this.eot = DFA43_eot;
this.eof = DFA43_eof;
this.min = DFA43_min;
this.max = DFA43_max;
this.accept = DFA43_accept;
this.special = DFA43_special;
this.transition = DFA43_transition;
}
public String getDescription() {
return "2422:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA43_0 = input.LA(1);
int index43_0 = input.index();
input.rewind();
s = -1;
if ( (LA43_0==RULE_ID) ) {s = 1;}
else if ( (LA43_0==49) ) {s = 2;}
else if ( (LA43_0==32) && (synpred23_InternalExpressions())) {s = 3;}
else if ( (LA43_0==56) && (synpred23_InternalExpressions())) {s = 4;}
else if ( ((LA43_0>=RULE_STRING && LA43_0<=RULE_DECIMAL)||LA43_0==19||(LA43_0>=35 && LA43_0<=36)||LA43_0==41||(LA43_0>=51 && LA43_0<=52)||(LA43_0>=54 && LA43_0<=55)||LA43_0==58||LA43_0==60||(LA43_0>=64 && LA43_0<=81)||LA43_0==83) ) {s = 5;}
input.seek(index43_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA43_1 = input.LA(1);
int index43_1 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index43_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA43_2 = input.LA(1);
int index43_2 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index43_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 43, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA50_eotS =
"\43\uffff";
static final String DFA50_eofS =
"\43\uffff";
static final String DFA50_minS =
"\1\4\1\0\41\uffff";
static final String DFA50_maxS =
"\1\123\1\0\41\uffff";
static final String DFA50_acceptS =
"\2\uffff\1\2\37\uffff\1\1";
static final String DFA50_specialS =
"\1\uffff\1\0\41\uffff}>";
static final String[] DFA50_transitionS = {
"\5\2\12\uffff\1\2\14\uffff\1\2\2\uffff\2\2\4\uffff\1\2\7\uffff\1\1\1\uffff\2\2\1\uffff\1\2\3\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\15\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA50_eot = DFA.unpackEncodedString(DFA50_eotS);
static final short[] DFA50_eof = DFA.unpackEncodedString(DFA50_eofS);
static final char[] DFA50_min = DFA.unpackEncodedStringToUnsignedChars(DFA50_minS);
static final char[] DFA50_max = DFA.unpackEncodedStringToUnsignedChars(DFA50_maxS);
static final short[] DFA50_accept = DFA.unpackEncodedString(DFA50_acceptS);
static final short[] DFA50_special = DFA.unpackEncodedString(DFA50_specialS);
static final short[][] DFA50_transition;
static {
int numStates = DFA50_transitionS.length;
DFA50_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA50_transition[i] = DFA.unpackEncodedString(DFA50_transitionS[i]);
}
}
class DFA50 extends DFA {
public DFA50(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 50;
this.eot = DFA50_eot;
this.eof = DFA50_eof;
this.min = DFA50_min;
this.max = DFA50_max;
this.accept = DFA50_accept;
this.special = DFA50_special;
this.transition = DFA50_transition;
}
public String getDescription() {
return "2846:1: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA50_1 = input.LA(1);
int index50_1 = input.index();
input.rewind();
s = -1;
if ( (synpred26_InternalExpressions()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index50_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 50, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA49_eotS =
"\42\uffff";
static final String DFA49_eofS =
"\42\uffff";
static final String DFA49_minS =
"\1\4\2\0\37\uffff";
static final String DFA49_maxS =
"\1\123\2\0\37\uffff";
static final String DFA49_acceptS =
"\3\uffff\1\1\1\2\35\uffff";
static final String DFA49_specialS =
"\1\0\1\1\1\2\37\uffff}>";
static final String[] DFA49_transitionS = {
"\4\4\1\1\12\uffff\1\4\14\uffff\1\3\2\uffff\2\4\4\uffff\1\4\7\uffff\1\2\1\uffff\2\4\1\uffff\1\4\3\uffff\1\4\1\uffff\1\4\3\uffff\3\4\2\uffff\15\4\1\uffff\1\4",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA49_eot = DFA.unpackEncodedString(DFA49_eotS);
static final short[] DFA49_eof = DFA.unpackEncodedString(DFA49_eofS);
static final char[] DFA49_min = DFA.unpackEncodedStringToUnsignedChars(DFA49_minS);
static final char[] DFA49_max = DFA.unpackEncodedStringToUnsignedChars(DFA49_maxS);
static final short[] DFA49_accept = DFA.unpackEncodedString(DFA49_acceptS);
static final short[] DFA49_special = DFA.unpackEncodedString(DFA49_specialS);
static final short[][] DFA49_transition;
static {
int numStates = DFA49_transitionS.length;
DFA49_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA49_transition[i] = DFA.unpackEncodedString(DFA49_transitionS[i]);
}
}
class DFA49 extends DFA {
public DFA49(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 49;
this.eot = DFA49_eot;
this.eof = DFA49_eof;
this.min = DFA49_min;
this.max = DFA49_max;
this.accept = DFA49_accept;
this.special = DFA49_special;
this.transition = DFA49_transition;
}
public String getDescription() {
return "2901:7: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA49_0 = input.LA(1);
int index49_0 = input.index();
input.rewind();
s = -1;
if ( (LA49_0==RULE_ID) ) {s = 1;}
else if ( (LA49_0==49) ) {s = 2;}
else if ( (LA49_0==32) && (synpred27_InternalExpressions())) {s = 3;}
else if ( ((LA49_0>=RULE_STRING && LA49_0<=RULE_DECIMAL)||LA49_0==19||(LA49_0>=35 && LA49_0<=36)||LA49_0==41||(LA49_0>=51 && LA49_0<=52)||LA49_0==54||LA49_0==58||LA49_0==60||(LA49_0>=64 && LA49_0<=66)||(LA49_0>=69 && LA49_0<=81)||LA49_0==83) ) {s = 4;}
input.seek(index49_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA49_1 = input.LA(1);
int index49_1 = input.index();
input.rewind();
s = -1;
if ( (synpred27_InternalExpressions()) ) {s = 3;}
else if ( (true) ) {s = 4;}
input.seek(index49_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA49_2 = input.LA(1);
int index49_2 = input.index();
input.rewind();
s = -1;
if ( (synpred27_InternalExpressions()) ) {s = 3;}
else if ( (true) ) {s = 4;}
input.seek(index49_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 49, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA72_eotS =
"\116\uffff";
static final String DFA72_eofS =
"\1\2\115\uffff";
static final String DFA72_minS =
"\1\4\1\0\114\uffff";
static final String DFA72_maxS =
"\1\124\1\0\114\uffff";
static final String DFA72_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA72_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA72_transitionS = {
"\5\2\5\uffff\43\2\1\1\6\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA72_eot = DFA.unpackEncodedString(DFA72_eotS);
static final short[] DFA72_eof = DFA.unpackEncodedString(DFA72_eofS);
static final char[] DFA72_min = DFA.unpackEncodedStringToUnsignedChars(DFA72_minS);
static final char[] DFA72_max = DFA.unpackEncodedStringToUnsignedChars(DFA72_maxS);
static final short[] DFA72_accept = DFA.unpackEncodedString(DFA72_acceptS);
static final short[] DFA72_special = DFA.unpackEncodedString(DFA72_specialS);
static final short[][] DFA72_transition;
static {
int numStates = DFA72_transitionS.length;
DFA72_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA72_transition[i] = DFA.unpackEncodedString(DFA72_transitionS[i]);
}
}
class DFA72 extends DFA {
public DFA72(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 72;
this.eot = DFA72_eot;
this.eof = DFA72_eof;
this.min = DFA72_min;
this.max = DFA72_max;
this.accept = DFA72_accept;
this.special = DFA72_special;
this.transition = DFA72_transition;
}
public String getDescription() {
return "3958:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA72_1 = input.LA(1);
int index72_1 = input.index();
input.rewind();
s = -1;
if ( (synpred30_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index72_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 72, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA71_eotS =
"\44\uffff";
static final String DFA71_eofS =
"\44\uffff";
static final String DFA71_minS =
"\1\4\2\0\41\uffff";
static final String DFA71_maxS =
"\1\123\2\0\41\uffff";
static final String DFA71_acceptS =
"\3\uffff\2\1\1\2\35\uffff\1\3";
static final String DFA71_specialS =
"\1\0\1\1\1\2\41\uffff}>";
static final String[] DFA71_transitionS = {
"\4\5\1\1\12\uffff\1\5\14\uffff\1\3\2\uffff\2\5\4\uffff\1\5\7\uffff\1\2\1\43\2\5\1\uffff\1\5\1\uffff\1\4\1\uffff\1\5\1\uffff\1\5\3\uffff\3\5\2\uffff\15\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA71_eot = DFA.unpackEncodedString(DFA71_eotS);
static final short[] DFA71_eof = DFA.unpackEncodedString(DFA71_eofS);
static final char[] DFA71_min = DFA.unpackEncodedStringToUnsignedChars(DFA71_minS);
static final char[] DFA71_max = DFA.unpackEncodedStringToUnsignedChars(DFA71_maxS);
static final short[] DFA71_accept = DFA.unpackEncodedString(DFA71_acceptS);
static final short[] DFA71_special = DFA.unpackEncodedString(DFA71_specialS);
static final short[][] DFA71_transition;
static {
int numStates = DFA71_transitionS.length;
DFA71_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA71_transition[i] = DFA.unpackEncodedString(DFA71_transitionS[i]);
}
}
class DFA71 extends DFA {
public DFA71(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 71;
this.eot = DFA71_eot;
this.eof = DFA71_eof;
this.min = DFA71_min;
this.max = DFA71_max;
this.accept = DFA71_accept;
this.special = DFA71_special;
this.transition = DFA71_transition;
}
public String getDescription() {
return "3979:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA71_0 = input.LA(1);
int index71_0 = input.index();
input.rewind();
s = -1;
if ( (LA71_0==RULE_ID) ) {s = 1;}
else if ( (LA71_0==49) ) {s = 2;}
else if ( (LA71_0==32) && (synpred31_InternalExpressions())) {s = 3;}
else if ( (LA71_0==56) && (synpred31_InternalExpressions())) {s = 4;}
else if ( ((LA71_0>=RULE_STRING && LA71_0<=RULE_DECIMAL)||LA71_0==19||(LA71_0>=35 && LA71_0<=36)||LA71_0==41||(LA71_0>=51 && LA71_0<=52)||LA71_0==54||LA71_0==58||LA71_0==60||(LA71_0>=64 && LA71_0<=66)||(LA71_0>=69 && LA71_0<=81)||LA71_0==83) ) {s = 5;}
else if ( (LA71_0==50) ) {s = 35;}
input.seek(index71_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA71_1 = input.LA(1);
int index71_1 = input.index();
input.rewind();
s = -1;
if ( (synpred31_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index71_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA71_2 = input.LA(1);
int index71_2 = input.index();
input.rewind();
s = -1;
if ( (synpred31_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index71_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 71, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA73_eotS =
"\116\uffff";
static final String DFA73_eofS =
"\1\2\115\uffff";
static final String DFA73_minS =
"\1\4\1\0\114\uffff";
static final String DFA73_maxS =
"\1\124\1\0\114\uffff";
static final String DFA73_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA73_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA73_transitionS = {
"\5\2\5\uffff\50\2\1\1\1\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA73_eot = DFA.unpackEncodedString(DFA73_eotS);
static final short[] DFA73_eof = DFA.unpackEncodedString(DFA73_eofS);
static final char[] DFA73_min = DFA.unpackEncodedStringToUnsignedChars(DFA73_minS);
static final char[] DFA73_max = DFA.unpackEncodedStringToUnsignedChars(DFA73_maxS);
static final short[] DFA73_accept = DFA.unpackEncodedString(DFA73_acceptS);
static final short[] DFA73_special = DFA.unpackEncodedString(DFA73_specialS);
static final short[][] DFA73_transition;
static {
int numStates = DFA73_transitionS.length;
DFA73_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA73_transition[i] = DFA.unpackEncodedString(DFA73_transitionS[i]);
}
}
class DFA73 extends DFA {
public DFA73(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 73;
this.eot = DFA73_eot;
this.eof = DFA73_eof;
this.min = DFA73_min;
this.max = DFA73_max;
this.accept = DFA73_accept;
this.special = DFA73_special;
this.transition = DFA73_transition;
}
public String getDescription() {
return "4058:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA73_1 = input.LA(1);
int index73_1 = input.index();
input.rewind();
s = -1;
if ( (synpred32_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index73_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 73, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA77_eotS =
"\116\uffff";
static final String DFA77_eofS =
"\1\2\115\uffff";
static final String DFA77_minS =
"\1\4\1\0\114\uffff";
static final String DFA77_maxS =
"\1\124\1\0\114\uffff";
static final String DFA77_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA77_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA77_transitionS = {
"\5\2\5\uffff\5\2\1\1\44\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA77_eot = DFA.unpackEncodedString(DFA77_eotS);
static final short[] DFA77_eof = DFA.unpackEncodedString(DFA77_eofS);
static final char[] DFA77_min = DFA.unpackEncodedStringToUnsignedChars(DFA77_minS);
static final char[] DFA77_max = DFA.unpackEncodedStringToUnsignedChars(DFA77_maxS);
static final short[] DFA77_accept = DFA.unpackEncodedString(DFA77_acceptS);
static final short[] DFA77_special = DFA.unpackEncodedString(DFA77_specialS);
static final short[][] DFA77_transition;
static {
int numStates = DFA77_transitionS.length;
DFA77_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA77_transition[i] = DFA.unpackEncodedString(DFA77_transitionS[i]);
}
}
class DFA77 extends DFA {
public DFA77(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 77;
this.eot = DFA77_eot;
this.eof = DFA77_eof;
this.min = DFA77_min;
this.max = DFA77_max;
this.accept = DFA77_accept;
this.special = DFA77_special;
this.transition = DFA77_transition;
}
public String getDescription() {
return "4223:2: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA77_1 = input.LA(1);
int index77_1 = input.index();
input.rewind();
s = -1;
if ( (synpred33_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index77_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 77, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA80_eotS =
"\116\uffff";
static final String DFA80_eofS =
"\1\2\115\uffff";
static final String DFA80_minS =
"\1\4\1\0\114\uffff";
static final String DFA80_maxS =
"\1\124\1\0\114\uffff";
static final String DFA80_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA80_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA80_transitionS = {
"\5\2\5\uffff\43\2\1\1\6\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA80_eot = DFA.unpackEncodedString(DFA80_eotS);
static final short[] DFA80_eof = DFA.unpackEncodedString(DFA80_eofS);
static final char[] DFA80_min = DFA.unpackEncodedStringToUnsignedChars(DFA80_minS);
static final char[] DFA80_max = DFA.unpackEncodedStringToUnsignedChars(DFA80_maxS);
static final short[] DFA80_accept = DFA.unpackEncodedString(DFA80_acceptS);
static final short[] DFA80_special = DFA.unpackEncodedString(DFA80_specialS);
static final short[][] DFA80_transition;
static {
int numStates = DFA80_transitionS.length;
DFA80_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA80_transition[i] = DFA.unpackEncodedString(DFA80_transitionS[i]);
}
}
class DFA80 extends DFA {
public DFA80(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 80;
this.eot = DFA80_eot;
this.eof = DFA80_eof;
this.min = DFA80_min;
this.max = DFA80_max;
this.accept = DFA80_accept;
this.special = DFA80_special;
this.transition = DFA80_transition;
}
public String getDescription() {
return "4272:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA80_1 = input.LA(1);
int index80_1 = input.index();
input.rewind();
s = -1;
if ( (synpred34_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index80_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 80, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA79_eotS =
"\44\uffff";
static final String DFA79_eofS =
"\44\uffff";
static final String DFA79_minS =
"\1\4\2\0\41\uffff";
static final String DFA79_maxS =
"\1\123\2\0\41\uffff";
static final String DFA79_acceptS =
"\3\uffff\2\1\1\2\35\uffff\1\3";
static final String DFA79_specialS =
"\1\0\1\1\1\2\41\uffff}>";
static final String[] DFA79_transitionS = {
"\4\5\1\1\12\uffff\1\5\14\uffff\1\3\2\uffff\2\5\4\uffff\1\5\7\uffff\1\2\1\43\2\5\1\uffff\1\5\1\uffff\1\4\1\uffff\1\5\1\uffff\1\5\3\uffff\3\5\2\uffff\15\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA79_eot = DFA.unpackEncodedString(DFA79_eotS);
static final short[] DFA79_eof = DFA.unpackEncodedString(DFA79_eofS);
static final char[] DFA79_min = DFA.unpackEncodedStringToUnsignedChars(DFA79_minS);
static final char[] DFA79_max = DFA.unpackEncodedStringToUnsignedChars(DFA79_maxS);
static final short[] DFA79_accept = DFA.unpackEncodedString(DFA79_acceptS);
static final short[] DFA79_special = DFA.unpackEncodedString(DFA79_specialS);
static final short[][] DFA79_transition;
static {
int numStates = DFA79_transitionS.length;
DFA79_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA79_transition[i] = DFA.unpackEncodedString(DFA79_transitionS[i]);
}
}
class DFA79 extends DFA {
public DFA79(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 79;
this.eot = DFA79_eot;
this.eof = DFA79_eof;
this.min = DFA79_min;
this.max = DFA79_max;
this.accept = DFA79_accept;
this.special = DFA79_special;
this.transition = DFA79_transition;
}
public String getDescription() {
return "4293:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA79_0 = input.LA(1);
int index79_0 = input.index();
input.rewind();
s = -1;
if ( (LA79_0==RULE_ID) ) {s = 1;}
else if ( (LA79_0==49) ) {s = 2;}
else if ( (LA79_0==32) && (synpred35_InternalExpressions())) {s = 3;}
else if ( (LA79_0==56) && (synpred35_InternalExpressions())) {s = 4;}
else if ( ((LA79_0>=RULE_STRING && LA79_0<=RULE_DECIMAL)||LA79_0==19||(LA79_0>=35 && LA79_0<=36)||LA79_0==41||(LA79_0>=51 && LA79_0<=52)||LA79_0==54||LA79_0==58||LA79_0==60||(LA79_0>=64 && LA79_0<=66)||(LA79_0>=69 && LA79_0<=81)||LA79_0==83) ) {s = 5;}
else if ( (LA79_0==50) ) {s = 35;}
input.seek(index79_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA79_1 = input.LA(1);
int index79_1 = input.index();
input.rewind();
s = -1;
if ( (synpred35_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index79_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA79_2 = input.LA(1);
int index79_2 = input.index();
input.rewind();
s = -1;
if ( (synpred35_InternalExpressions()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index79_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 79, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA81_eotS =
"\116\uffff";
static final String DFA81_eofS =
"\1\2\115\uffff";
static final String DFA81_minS =
"\1\4\1\0\114\uffff";
static final String DFA81_maxS =
"\1\124\1\0\114\uffff";
static final String DFA81_acceptS =
"\2\uffff\1\2\112\uffff\1\1";
static final String DFA81_specialS =
"\1\uffff\1\0\114\uffff}>";
static final String[] DFA81_transitionS = {
"\5\2\5\uffff\50\2\1\1\1\2\1\uffff\34\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA81_eot = DFA.unpackEncodedString(DFA81_eotS);
static final short[] DFA81_eof = DFA.unpackEncodedString(DFA81_eofS);
static final char[] DFA81_min = DFA.unpackEncodedStringToUnsignedChars(DFA81_minS);
static final char[] DFA81_max = DFA.unpackEncodedStringToUnsignedChars(DFA81_maxS);
static final short[] DFA81_accept = DFA.unpackEncodedString(DFA81_acceptS);
static final short[] DFA81_special = DFA.unpackEncodedString(DFA81_specialS);
static final short[][] DFA81_transition;
static {
int numStates = DFA81_transitionS.length;
DFA81_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA81_transition[i] = DFA.unpackEncodedString(DFA81_transitionS[i]);
}
}
class DFA81 extends DFA {
public DFA81(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 81;
this.eot = DFA81_eot;
this.eof = DFA81_eof;
this.min = DFA81_min;
this.max = DFA81_max;
this.accept = DFA81_accept;
this.special = DFA81_special;
this.transition = DFA81_transition;
}
public String getDescription() {
return "4372:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA81_1 = input.LA(1);
int index81_1 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index81_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 81, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA84_eotS =
"\116\uffff";
static final String DFA84_eofS =
"\1\41\115\uffff";
static final String DFA84_minS =
"\1\4\40\0\55\uffff";
static final String DFA84_maxS =
"\1\124\40\0\55\uffff";
static final String DFA84_acceptS =
"\41\uffff\1\2\53\uffff\1\1";
static final String DFA84_specialS =
"\1\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\33\1\34\1\35\1\36\1\37\55\uffff}>";
static final String[] DFA84_transitionS = {
"\1\27\1\23\1\24\1\25\1\1\5\uffff\5\41\1\15\17\41\1\10\1\7\4\41\1\6\7\41\1\40\1\41\1\17\1\12\1\41\1\20\1\41\1\uffff\1\41\1\31\1\41\1\13\3\41\1\32\1\33\1\34\2\41\1\2\1\3\1\4\1\5\1\16\1\11\1\21\1\22\1\26\1\30\1\35\1\36\1\37\1\41\1\14\1\41",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA84_eot = DFA.unpackEncodedString(DFA84_eotS);
static final short[] DFA84_eof = DFA.unpackEncodedString(DFA84_eofS);
static final char[] DFA84_min = DFA.unpackEncodedStringToUnsignedChars(DFA84_minS);
static final char[] DFA84_max = DFA.unpackEncodedStringToUnsignedChars(DFA84_maxS);
static final short[] DFA84_accept = DFA.unpackEncodedString(DFA84_acceptS);
static final short[] DFA84_special = DFA.unpackEncodedString(DFA84_specialS);
static final short[][] DFA84_transition;
static {
int numStates = DFA84_transitionS.length;
DFA84_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA84_transition[i] = DFA.unpackEncodedString(DFA84_transitionS[i]);
}
}
class DFA84 extends DFA {
public DFA84(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 84;
this.eot = DFA84_eot;
this.eof = DFA84_eof;
this.min = DFA84_min;
this.max = DFA84_max;
this.accept = DFA84_accept;
this.special = DFA84_special;
this.transition = DFA84_transition;
}
public String getDescription() {
return "4712:1: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA84_1 = input.LA(1);
int index84_1 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_1);
if ( s>=0 ) return s;
break;
case 1 :
int LA84_2 = input.LA(1);
int index84_2 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_2);
if ( s>=0 ) return s;
break;
case 2 :
int LA84_3 = input.LA(1);
int index84_3 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_3);
if ( s>=0 ) return s;
break;
case 3 :
int LA84_4 = input.LA(1);
int index84_4 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_4);
if ( s>=0 ) return s;
break;
case 4 :
int LA84_5 = input.LA(1);
int index84_5 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_5);
if ( s>=0 ) return s;
break;
case 5 :
int LA84_6 = input.LA(1);
int index84_6 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_6);
if ( s>=0 ) return s;
break;
case 6 :
int LA84_7 = input.LA(1);
int index84_7 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_7);
if ( s>=0 ) return s;
break;
case 7 :
int LA84_8 = input.LA(1);
int index84_8 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_8);
if ( s>=0 ) return s;
break;
case 8 :
int LA84_9 = input.LA(1);
int index84_9 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_9);
if ( s>=0 ) return s;
break;
case 9 :
int LA84_10 = input.LA(1);
int index84_10 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_10);
if ( s>=0 ) return s;
break;
case 10 :
int LA84_11 = input.LA(1);
int index84_11 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_11);
if ( s>=0 ) return s;
break;
case 11 :
int LA84_12 = input.LA(1);
int index84_12 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_12);
if ( s>=0 ) return s;
break;
case 12 :
int LA84_13 = input.LA(1);
int index84_13 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_13);
if ( s>=0 ) return s;
break;
case 13 :
int LA84_14 = input.LA(1);
int index84_14 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_14);
if ( s>=0 ) return s;
break;
case 14 :
int LA84_15 = input.LA(1);
int index84_15 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_15);
if ( s>=0 ) return s;
break;
case 15 :
int LA84_16 = input.LA(1);
int index84_16 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_16);
if ( s>=0 ) return s;
break;
case 16 :
int LA84_17 = input.LA(1);
int index84_17 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_17);
if ( s>=0 ) return s;
break;
case 17 :
int LA84_18 = input.LA(1);
int index84_18 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_18);
if ( s>=0 ) return s;
break;
case 18 :
int LA84_19 = input.LA(1);
int index84_19 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_19);
if ( s>=0 ) return s;
break;
case 19 :
int LA84_20 = input.LA(1);
int index84_20 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_20);
if ( s>=0 ) return s;
break;
case 20 :
int LA84_21 = input.LA(1);
int index84_21 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_21);
if ( s>=0 ) return s;
break;
case 21 :
int LA84_22 = input.LA(1);
int index84_22 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_22);
if ( s>=0 ) return s;
break;
case 22 :
int LA84_23 = input.LA(1);
int index84_23 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_23);
if ( s>=0 ) return s;
break;
case 23 :
int LA84_24 = input.LA(1);
int index84_24 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_24);
if ( s>=0 ) return s;
break;
case 24 :
int LA84_25 = input.LA(1);
int index84_25 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_25);
if ( s>=0 ) return s;
break;
case 25 :
int LA84_26 = input.LA(1);
int index84_26 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_26);
if ( s>=0 ) return s;
break;
case 26 :
int LA84_27 = input.LA(1);
int index84_27 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_27);
if ( s>=0 ) return s;
break;
case 27 :
int LA84_28 = input.LA(1);
int index84_28 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_28);
if ( s>=0 ) return s;
break;
case 28 :
int LA84_29 = input.LA(1);
int index84_29 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_29);
if ( s>=0 ) return s;
break;
case 29 :
int LA84_30 = input.LA(1);
int index84_30 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_30);
if ( s>=0 ) return s;
break;
case 30 :
int LA84_31 = input.LA(1);
int index84_31 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_31);
if ( s>=0 ) return s;
break;
case 31 :
int LA84_32 = input.LA(1);
int index84_32 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalExpressions()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index84_32);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 84, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA102_eotS =
"\117\uffff";
static final String DFA102_eofS =
"\1\2\116\uffff";
static final String DFA102_minS =
"\1\4\1\0\115\uffff";
static final String DFA102_maxS =
"\1\126\1\0\115\uffff";
static final String DFA102_acceptS =
"\2\uffff\1\2\113\uffff\1\1";
static final String DFA102_specialS =
"\1\uffff\1\0\115\uffff}>";
static final String[] DFA102_transitionS = {
"\5\2\5\uffff\5\2\1\1\44\2\1\uffff\34\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA102_eot = DFA.unpackEncodedString(DFA102_eotS);
static final short[] DFA102_eof = DFA.unpackEncodedString(DFA102_eofS);
static final char[] DFA102_min = DFA.unpackEncodedStringToUnsignedChars(DFA102_minS);
static final char[] DFA102_max = DFA.unpackEncodedStringToUnsignedChars(DFA102_maxS);
static final short[] DFA102_accept = DFA.unpackEncodedString(DFA102_acceptS);
static final short[] DFA102_special = DFA.unpackEncodedString(DFA102_specialS);
static final short[][] DFA102_transition;
static {
int numStates = DFA102_transitionS.length;
DFA102_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA102_transition[i] = DFA.unpackEncodedString(DFA102_transitionS[i]);
}
}
class DFA102 extends DFA {
public DFA102(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 102;
this.eot = DFA102_eot;
this.eof = DFA102_eof;
this.min = DFA102_min;
this.max = DFA102_max;
this.accept = DFA102_accept;
this.special = DFA102_special;
this.transition = DFA102_transition;
}
public String getDescription() {
return "5362:2: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA102_1 = input.LA(1);
int index102_1 = input.index();
input.rewind();
s = -1;
if ( (synpred44_InternalExpressions()) ) {s = 78;}
else if ( (true) ) {s = 2;}
input.seek(index102_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 102, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA100_eotS =
"\117\uffff";
static final String DFA100_eofS =
"\1\2\116\uffff";
static final String DFA100_minS =
"\1\4\1\0\115\uffff";
static final String DFA100_maxS =
"\1\126\1\0\115\uffff";
static final String DFA100_acceptS =
"\2\uffff\1\2\113\uffff\1\1";
static final String DFA100_specialS =
"\1\uffff\1\0\115\uffff}>";
static final String[] DFA100_transitionS = {
"\5\2\5\uffff\5\2\1\1\44\2\1\uffff\34\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA100_eot = DFA.unpackEncodedString(DFA100_eotS);
static final short[] DFA100_eof = DFA.unpackEncodedString(DFA100_eofS);
static final char[] DFA100_min = DFA.unpackEncodedStringToUnsignedChars(DFA100_minS);
static final char[] DFA100_max = DFA.unpackEncodedStringToUnsignedChars(DFA100_maxS);
static final short[] DFA100_accept = DFA.unpackEncodedString(DFA100_acceptS);
static final short[] DFA100_special = DFA.unpackEncodedString(DFA100_specialS);
static final short[][] DFA100_transition;
static {
int numStates = DFA100_transitionS.length;
DFA100_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA100_transition[i] = DFA.unpackEncodedString(DFA100_transitionS[i]);
}
}
class DFA100 extends DFA {
public DFA100(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 100;
this.eot = DFA100_eot;
this.eof = DFA100_eof;
this.min = DFA100_min;
this.max = DFA100_max;
this.accept = DFA100_accept;
this.special = DFA100_special;
this.transition = DFA100_transition;
}
public String getDescription() {
return "5438:2: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA100_1 = input.LA(1);
int index100_1 = input.index();
input.rewind();
s = -1;
if ( (synpred46_InternalExpressions()) ) {s = 78;}
else if ( (true) ) {s = 2;}
input.seek(index100_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 100, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA109_eotS =
"\7\uffff";
static final String DFA109_eofS =
"\2\uffff\1\4\2\uffff\1\4\1\uffff";
static final String DFA109_minS =
"\1\10\1\uffff\1\55\1\10\1\uffff\1\55\1\uffff";
static final String DFA109_maxS =
"\1\106\1\uffff\1\71\1\45\1\uffff\1\71\1\uffff";
static final String DFA109_acceptS =
"\1\uffff\1\1\2\uffff\1\2\1\uffff\1\3";
static final String DFA109_specialS =
"\7\uffff}>";
static final String[] DFA109_transitionS = {
"\1\2\75\uffff\1\1",
"",
"\1\3\13\uffff\1\4",
"\1\5\34\uffff\1\6",
"",
"\1\3\13\uffff\1\4",
""
};
static final short[] DFA109_eot = DFA.unpackEncodedString(DFA109_eotS);
static final short[] DFA109_eof = DFA.unpackEncodedString(DFA109_eofS);
static final char[] DFA109_min = DFA.unpackEncodedStringToUnsignedChars(DFA109_minS);
static final char[] DFA109_max = DFA.unpackEncodedStringToUnsignedChars(DFA109_maxS);
static final short[] DFA109_accept = DFA.unpackEncodedString(DFA109_acceptS);
static final short[] DFA109_special = DFA.unpackEncodedString(DFA109_specialS);
static final short[][] DFA109_transition;
static {
int numStates = DFA109_transitionS.length;
DFA109_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA109_transition[i] = DFA.unpackEncodedString(DFA109_transitionS[i]);
}
}
class DFA109 extends DFA {
public DFA109(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 109;
this.eot = DFA109_eot;
this.eof = DFA109_eof;
this.min = DFA109_min;
this.max = DFA109_max;
this.accept = DFA109_accept;
this.special = DFA109_special;
this.transition = DFA109_transition;
}
public String getDescription() {
return "5904:1: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) )";
}
}
public static final BitSet FOLLOW_ruleExpressionsModel_in_entryRuleExpressionsModel75 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleExpressionsModel85 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleExpressionsModel140 = new BitSet(new long[]{0x145A0218000801F2L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_entryRuleXExpression177 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXExpression187 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXExpression233 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAssignment_in_entryRuleXAssignment267 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAssignment277 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFeatureCallID_in_ruleXAssignment335 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_ruleXAssignment351 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXAssignment371 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOrExpression_in_ruleXAssignment401 = new BitSet(new long[]{0x00000000001FC002L});
public static final BitSet FOLLOW_ruleOpMultiAssign_in_ruleXAssignment454 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXAssignment477 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign517 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpSingleAssign528 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_13_in_ruleOpSingleAssign565 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign605 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpMultiAssign616 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_14_in_ruleOpMultiAssign654 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_15_in_ruleOpMultiAssign673 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_16_in_ruleOpMultiAssign692 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_17_in_ruleOpMultiAssign711 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_18_in_ruleOpMultiAssign730 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_ruleOpMultiAssign750 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleOpMultiAssign763 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_13_in_ruleOpMultiAssign776 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_ruleOpMultiAssign797 = new BitSet(new long[]{0x0000000000300000L});
public static final BitSet FOLLOW_20_in_ruleOpMultiAssign811 = new BitSet(new long[]{0x0000000000200000L});
public static final BitSet FOLLOW_21_in_ruleOpMultiAssign826 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression867 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXOrExpression877 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAndExpression_in_ruleXOrExpression924 = new BitSet(new long[]{0x0000000000400002L});
public static final BitSet FOLLOW_ruleOpOr_in_ruleXOrExpression977 = new BitSet(new long[]{0x145A0218004801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXAndExpression_in_ruleXOrExpression1000 = new BitSet(new long[]{0x0000000000400002L});
public static final BitSet FOLLOW_ruleOpOr_in_entryRuleOpOr1039 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpOr1050 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_22_in_ruleOpOr1087 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression1126 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAndExpression1136 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression1183 = new BitSet(new long[]{0x0000000000800002L});
public static final BitSet FOLLOW_ruleOpAnd_in_ruleXAndExpression1236 = new BitSet(new long[]{0x145A0218008801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression1259 = new BitSet(new long[]{0x0000000000800002L});
public static final BitSet FOLLOW_ruleOpAnd_in_entryRuleOpAnd1298 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpAnd1309 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_23_in_ruleOpAnd1346 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression1385 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXEqualityExpression1395 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression1442 = new BitSet(new long[]{0x000000000F000002L});
public static final BitSet FOLLOW_ruleOpEquality_in_ruleXEqualityExpression1495 = new BitSet(new long[]{0x145A02180F0801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression1518 = new BitSet(new long[]{0x000000000F000002L});
public static final BitSet FOLLOW_ruleOpEquality_in_entryRuleOpEquality1557 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpEquality1568 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_24_in_ruleOpEquality1606 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_25_in_ruleOpEquality1625 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_ruleOpEquality1644 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_27_in_ruleOpEquality1663 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression1703 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXRelationalExpression1713 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression1760 = new BitSet(new long[]{0x0000000010380002L});
public static final BitSet FOLLOW_28_in_ruleXRelationalExpression1796 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression1819 = new BitSet(new long[]{0x0000000010380002L});
public static final BitSet FOLLOW_ruleOpCompare_in_ruleXRelationalExpression1880 = new BitSet(new long[]{0x145A0218103801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression1903 = new BitSet(new long[]{0x0000000010380002L});
public static final BitSet FOLLOW_ruleOpCompare_in_entryRuleOpCompare1943 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpCompare1954 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_21_in_ruleOpCompare1992 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_ruleOpCompare2012 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_13_in_ruleOpCompare2025 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_ruleOpCompare2045 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_ruleOpCompare2064 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression2104 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXOtherOperatorExpression2114 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression2161 = new BitSet(new long[]{0x00000007E0180002L});
public static final BitSet FOLLOW_ruleOpOther_in_ruleXOtherOperatorExpression2214 = new BitSet(new long[]{0x145A021FE01801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression2237 = new BitSet(new long[]{0x00000007E0180002L});
public static final BitSet FOLLOW_ruleOpOther_in_entryRuleOpOther2276 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpOther2287 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_ruleOpOther2325 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_30_in_ruleOpOther2344 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_ruleOpOther2364 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_31_in_ruleOpOther2377 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_31_in_ruleOpOther2397 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_32_in_ruleOpOther2416 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_ruleOpOther2436 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_20_in_ruleOpOther2467 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_20_in_ruleOpOther2480 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_ruleOpOther2501 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_ruleOpOther2523 = new BitSet(new long[]{0x0000000100080000L});
public static final BitSet FOLLOW_19_in_ruleOpOther2554 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleOpOther2567 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_ruleOpOther2588 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_32_in_ruleOpOther2607 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_33_in_ruleOpOther2628 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_34_in_ruleOpOther2647 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression2687 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAdditiveExpression2697 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression2744 = new BitSet(new long[]{0x0000001800000002L});
public static final BitSet FOLLOW_ruleOpAdd_in_ruleXAdditiveExpression2797 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression2820 = new BitSet(new long[]{0x0000001800000002L});
public static final BitSet FOLLOW_ruleOpAdd_in_entryRuleOpAdd2859 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpAdd2870 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_35_in_ruleOpAdd2908 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_36_in_ruleOpAdd2927 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression2967 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXMultiplicativeExpression2977 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression3024 = new BitSet(new long[]{0x000001E000000002L});
public static final BitSet FOLLOW_ruleOpMulti_in_ruleXMultiplicativeExpression3077 = new BitSet(new long[]{0x145A03F8000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression3100 = new BitSet(new long[]{0x000001E000000002L});
public static final BitSet FOLLOW_ruleOpMulti_in_entryRuleOpMulti3139 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpMulti3150 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_37_in_ruleOpMulti3188 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_38_in_ruleOpMulti3207 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_39_in_ruleOpMulti3226 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_40_in_ruleOpMulti3245 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation3285 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXUnaryOperation3295 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpUnary_in_ruleXUnaryOperation3353 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_ruleXUnaryOperation3374 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation3403 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpUnary_in_entryRuleOpUnary3439 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpUnary3450 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_41_in_ruleOpUnary3488 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_36_in_ruleOpUnary3507 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_35_in_ruleOpUnary3526 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression3566 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCastedExpression3576 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXPostfixOperation_in_ruleXCastedExpression3623 = new BitSet(new long[]{0x0000040000000002L});
public static final BitSet FOLLOW_42_in_ruleXCastedExpression3658 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression3681 = new BitSet(new long[]{0x0000040000000002L});
public static final BitSet FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation3719 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXPostfixOperation3729 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMemberFeatureCall_in_ruleXPostfixOperation3776 = new BitSet(new long[]{0x0000180000000002L});
public static final BitSet FOLLOW_ruleOpPostfix_in_ruleXPostfixOperation3828 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix3868 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpPostfix3879 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_43_in_ruleOpPostfix3917 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_44_in_ruleOpPostfix3936 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall3976 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXMemberFeatureCall3986 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXPrimaryExpression_in_ruleXMemberFeatureCall4033 = new BitSet(new long[]{0x0000E00000000002L});
public static final BitSet FOLLOW_45_in_ruleXMemberFeatureCall4105 = new BitSet(new long[]{0x0000000000000100L,0x00000000000001E0L});
public static final BitSet FOLLOW_46_in_ruleXMemberFeatureCall4129 = new BitSet(new long[]{0x0000000000000100L,0x00000000000001E0L});
public static final BitSet FOLLOW_ruleFeatureCallID_in_ruleXMemberFeatureCall4166 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_ruleXMemberFeatureCall4182 = new BitSet(new long[]{0x145AE218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall4204 = new BitSet(new long[]{0x0000E00000000002L});
public static final BitSet FOLLOW_45_in_ruleXMemberFeatureCall4290 = new BitSet(new long[]{0x0000000000080100L,0x00000000000003E0L});
public static final BitSet FOLLOW_47_in_ruleXMemberFeatureCall4314 = new BitSet(new long[]{0x0000000000080100L,0x00000000000003E0L});
public static final BitSet FOLLOW_46_in_ruleXMemberFeatureCall4351 = new BitSet(new long[]{0x0000000000080100L,0x00000000000003E0L});
public static final BitSet FOLLOW_19_in_ruleXMemberFeatureCall4380 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall4401 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_48_in_ruleXMemberFeatureCall4414 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall4435 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_20_in_ruleXMemberFeatureCall4449 = new BitSet(new long[]{0x0000000000080100L,0x00000000000003E0L});
public static final BitSet FOLLOW_ruleIdOrSuper_in_ruleXMemberFeatureCall4474 = new BitSet(new long[]{0x0042E00000000002L});
public static final BitSet FOLLOW_49_in_ruleXMemberFeatureCall4508 = new BitSet(new long[]{0x155F0219000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall4593 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall4621 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_48_in_ruleXMemberFeatureCall4634 = new BitSet(new long[]{0x145F0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall4655 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_50_in_ruleXMemberFeatureCall4672 = new BitSet(new long[]{0x0040E00000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall4707 = new BitSet(new long[]{0x0000E00000000002L});
public static final BitSet FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression4747 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXPrimaryExpression4757 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression4804 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression4831 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression4858 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSynchronizedExpression_in_ruleXPrimaryExpression4902 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression4930 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression4957 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression4984 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression5041 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBasicForLoopExpression_in_ruleXPrimaryExpression5069 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression5096 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression5123 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression5150 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression5177 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression5204 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression5231 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXLiteral_in_entryRuleXLiteral5266 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXLiteral5276 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCollectionLiteral_in_ruleXLiteral5323 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXLiteral5363 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral5391 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNumberLiteral_in_ruleXLiteral5418 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNullLiteral_in_ruleXLiteral5445 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXStringLiteral_in_ruleXLiteral5472 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTypeLiteral_in_ruleXLiteral5499 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCollectionLiteral_in_entryRuleXCollectionLiteral5534 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCollectionLiteral5544 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSetLiteral_in_ruleXCollectionLiteral5591 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXListLiteral_in_ruleXCollectionLiteral5618 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSetLiteral_in_entryRuleXSetLiteral5653 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXSetLiteral5663 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_ruleXSetLiteral5709 = new BitSet(new long[]{0x0010000000000000L});
public static final BitSet FOLLOW_52_in_ruleXSetLiteral5721 = new BitSet(new long[]{0x147B0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSetLiteral5743 = new BitSet(new long[]{0x0021000000000000L});
public static final BitSet FOLLOW_48_in_ruleXSetLiteral5756 = new BitSet(new long[]{0x147B0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSetLiteral5777 = new BitSet(new long[]{0x0021000000000000L});
public static final BitSet FOLLOW_53_in_ruleXSetLiteral5793 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXListLiteral_in_entryRuleXListLiteral5829 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXListLiteral5839 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_ruleXListLiteral5885 = new BitSet(new long[]{0x0040000000000000L});
public static final BitSet FOLLOW_54_in_ruleXListLiteral5897 = new BitSet(new long[]{0x14DB0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXListLiteral5919 = new BitSet(new long[]{0x0081000000000000L});
public static final BitSet FOLLOW_48_in_ruleXListLiteral5932 = new BitSet(new long[]{0x14DB0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXListLiteral5953 = new BitSet(new long[]{0x0081000000000000L});
public static final BitSet FOLLOW_55_in_ruleXListLiteral5969 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_entryRuleXClosure6005 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXClosure6015 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_ruleXClosure6075 = new BitSet(new long[]{0x175A0219000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXClosure6148 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_48_in_ruleXClosure6161 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXClosure6182 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_56_in_ruleXClosure6204 = new BitSet(new long[]{0x175A0219000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpressionInClosure_in_ruleXClosure6241 = new BitSet(new long[]{0x0080000000000000L});
public static final BitSet FOLLOW_55_in_ruleXClosure6253 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionInClosure_in_entryRuleXExpressionInClosure6289 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXExpressionInClosure6299 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXExpressionInClosure6355 = new BitSet(new long[]{0x165A0218000801F2L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_57_in_ruleXExpressionInClosure6368 = new BitSet(new long[]{0x165A0218000801F2L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure6408 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXShortClosure6418 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure6526 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_48_in_ruleXShortClosure6539 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure6560 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_56_in_ruleXShortClosure6582 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXShortClosure6618 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXParenthesizedExpression_in_entryRuleXParenthesizedExpression6654 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXParenthesizedExpression6664 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_ruleXParenthesizedExpression6701 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXParenthesizedExpression6723 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXParenthesizedExpression6734 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXIfExpression_in_entryRuleXIfExpression6770 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXIfExpression6780 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_58_in_ruleXIfExpression6826 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXIfExpression6838 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXIfExpression6859 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXIfExpression6871 = new BitSet(new long[]{0x1C5A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXIfExpression6892 = new BitSet(new long[]{0x0800000000000002L});
public static final BitSet FOLLOW_59_in_ruleXIfExpression6913 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXIfExpression6935 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSwitchExpression_in_entryRuleXSwitchExpression6973 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXSwitchExpression6983 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_60_in_ruleXSwitchExpression7029 = new BitSet(new long[]{0x145A0219000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_49_in_ruleXSwitchExpression7067 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXSwitchExpression7088 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_ruleXSwitchExpression7100 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSwitchExpression7123 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXSwitchExpression7135 = new BitSet(new long[]{0x0010000000000000L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXSwitchExpression7184 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_ruleXSwitchExpression7196 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSwitchExpression7220 = new BitSet(new long[]{0x0010000000000000L});
public static final BitSet FOLLOW_52_in_ruleXSwitchExpression7234 = new BitSet(new long[]{0xE023000100000100L});
public static final BitSet FOLLOW_ruleXCasePart_in_ruleXSwitchExpression7255 = new BitSet(new long[]{0xE023000100000100L});
public static final BitSet FOLLOW_62_in_ruleXSwitchExpression7269 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_ruleXSwitchExpression7281 = new BitSet(new long[]{0x147A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSwitchExpression7302 = new BitSet(new long[]{0x0020000000000000L});
public static final BitSet FOLLOW_53_in_ruleXSwitchExpression7316 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCasePart_in_entryRuleXCasePart7352 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCasePart7362 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXCasePart7417 = new BitSet(new long[]{0xA001000000000000L});
public static final BitSet FOLLOW_63_in_ruleXCasePart7431 = new BitSet(new long[]{0x345B0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXCasePart7452 = new BitSet(new long[]{0x2001000000000000L});
public static final BitSet FOLLOW_61_in_ruleXCasePart7468 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXCasePart7489 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_48_in_ruleXCasePart7514 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXForLoopExpression_in_entryRuleXForLoopExpression7564 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXForLoopExpression7574 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_ruleXForLoopExpression7651 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXForLoopExpression7663 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXForLoopExpression7684 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_ruleXForLoopExpression7696 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXForLoopExpression7719 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXForLoopExpression7731 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXForLoopExpression7752 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBasicForLoopExpression_in_entryRuleXBasicForLoopExpression7788 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXBasicForLoopExpression7798 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_ruleXBasicForLoopExpression7844 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXBasicForLoopExpression7856 = new BitSet(new long[]{0x165B0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXBasicForLoopExpression7878 = new BitSet(new long[]{0x0201000000000000L});
public static final BitSet FOLLOW_48_in_ruleXBasicForLoopExpression7891 = new BitSet(new long[]{0x165B0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXBasicForLoopExpression7912 = new BitSet(new long[]{0x0201000000000000L});
public static final BitSet FOLLOW_57_in_ruleXBasicForLoopExpression7928 = new BitSet(new long[]{0x165A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression7949 = new BitSet(new long[]{0x0200000000000000L});
public static final BitSet FOLLOW_57_in_ruleXBasicForLoopExpression7962 = new BitSet(new long[]{0x145F0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression7984 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_48_in_ruleXBasicForLoopExpression7997 = new BitSet(new long[]{0x145F0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression8018 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_50_in_ruleXBasicForLoopExpression8034 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXBasicForLoopExpression8055 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXWhileExpression_in_entryRuleXWhileExpression8091 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXWhileExpression8101 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_65_in_ruleXWhileExpression8147 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXWhileExpression8159 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXWhileExpression8180 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXWhileExpression8192 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXWhileExpression8213 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXDoWhileExpression_in_entryRuleXDoWhileExpression8249 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXDoWhileExpression8259 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_66_in_ruleXDoWhileExpression8305 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXDoWhileExpression8326 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_65_in_ruleXDoWhileExpression8338 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXDoWhileExpression8350 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXDoWhileExpression8371 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXDoWhileExpression8383 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBlockExpression_in_entryRuleXBlockExpression8419 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXBlockExpression8429 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_52_in_ruleXBlockExpression8475 = new BitSet(new long[]{0x167A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpressionOrVarDeclaration_in_ruleXBlockExpression8497 = new BitSet(new long[]{0x167A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_57_in_ruleXBlockExpression8510 = new BitSet(new long[]{0x167A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_53_in_ruleXBlockExpression8526 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionOrVarDeclaration_in_entryRuleXExpressionOrVarDeclaration8562 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXExpressionOrVarDeclaration8572 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXVariableDeclaration_in_ruleXExpressionOrVarDeclaration8619 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXExpressionOrVarDeclaration8646 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXVariableDeclaration_in_entryRuleXVariableDeclaration8681 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXVariableDeclaration8691 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_67_in_ruleXVariableDeclaration8744 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_68_in_ruleXVariableDeclaration8775 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXVariableDeclaration8823 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXVariableDeclaration8844 = new BitSet(new long[]{0x0000000000002002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXVariableDeclaration8873 = new BitSet(new long[]{0x0000000000002002L});
public static final BitSet FOLLOW_13_in_ruleXVariableDeclaration8887 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXVariableDeclaration8908 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_entryRuleJvmFormalParameter8946 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmFormalParameter8956 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmFormalParameter9002 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleValidID_in_ruleJvmFormalParameter9024 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFullJvmFormalParameter_in_entryRuleFullJvmFormalParameter9060 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleFullJvmFormalParameter9070 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleFullJvmFormalParameter9116 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleValidID_in_ruleFullJvmFormalParameter9137 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXFeatureCall_in_entryRuleXFeatureCall9173 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXFeatureCall9183 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_ruleXFeatureCall9230 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall9251 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_48_in_ruleXFeatureCall9264 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall9285 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_20_in_ruleXFeatureCall9299 = new BitSet(new long[]{0x0000000000080100L,0x00000000000003E0L});
public static final BitSet FOLLOW_ruleIdOrSuper_in_ruleXFeatureCall9324 = new BitSet(new long[]{0x0042000000000002L});
public static final BitSet FOLLOW_49_in_ruleXFeatureCall9358 = new BitSet(new long[]{0x155F0219000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXShortClosure_in_ruleXFeatureCall9443 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXFeatureCall9471 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_48_in_ruleXFeatureCall9484 = new BitSet(new long[]{0x145F0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXFeatureCall9505 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_50_in_ruleXFeatureCall9522 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXFeatureCall9557 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFeatureCallID_in_entryRuleFeatureCallID9595 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleFeatureCallID9606 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleFeatureCallID9653 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_69_in_ruleFeatureCallID9677 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_70_in_ruleFeatureCallID9696 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_71_in_ruleFeatureCallID9715 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_ruleFeatureCallID9734 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper9775 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleIdOrSuper9786 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFeatureCallID_in_ruleIdOrSuper9833 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_73_in_ruleIdOrSuper9857 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXConstructorCall_in_entryRuleXConstructorCall9897 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXConstructorCall9907 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_74_in_ruleXConstructorCall9953 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleXConstructorCall9976 = new BitSet(new long[]{0x0042000000080002L});
public static final BitSet FOLLOW_19_in_ruleXConstructorCall9997 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10019 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_48_in_ruleXConstructorCall10032 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10053 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_20_in_ruleXConstructorCall10067 = new BitSet(new long[]{0x0042000000000002L});
public static final BitSet FOLLOW_49_in_ruleXConstructorCall10103 = new BitSet(new long[]{0x155F0219000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXShortClosure_in_ruleXConstructorCall10188 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXConstructorCall10216 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_48_in_ruleXConstructorCall10229 = new BitSet(new long[]{0x145F0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXConstructorCall10250 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_50_in_ruleXConstructorCall10267 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXConstructorCall10302 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBooleanLiteral_in_entryRuleXBooleanLiteral10339 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXBooleanLiteral10349 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_75_in_ruleXBooleanLiteral10396 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_76_in_ruleXBooleanLiteral10420 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNullLiteral_in_entryRuleXNullLiteral10470 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXNullLiteral10480 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_77_in_ruleXNullLiteral10526 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNumberLiteral_in_entryRuleXNumberLiteral10562 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXNumberLiteral10572 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNumber_in_ruleXNumberLiteral10627 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXStringLiteral_in_entryRuleXStringLiteral10663 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXStringLiteral10673 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleXStringLiteral10724 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTypeLiteral_in_entryRuleXTypeLiteral10765 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXTypeLiteral10775 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_78_in_ruleXTypeLiteral10821 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXTypeLiteral10833 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleXTypeLiteral10856 = new BitSet(new long[]{0x0044000000000000L});
public static final BitSet FOLLOW_ruleArrayBrackets_in_ruleXTypeLiteral10877 = new BitSet(new long[]{0x0044000000000000L});
public static final BitSet FOLLOW_50_in_ruleXTypeLiteral10890 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXThrowExpression_in_entryRuleXThrowExpression10926 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXThrowExpression10936 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_79_in_ruleXThrowExpression10982 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXThrowExpression11003 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXReturnExpression_in_entryRuleXReturnExpression11039 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXReturnExpression11049 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_80_in_ruleXReturnExpression11095 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXReturnExpression11330 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTryCatchFinallyExpression_in_entryRuleXTryCatchFinallyExpression11367 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXTryCatchFinallyExpression11377 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_81_in_ruleXTryCatchFinallyExpression11423 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000001FFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11444 = new BitSet(new long[]{0x0000000000000000L,0x0000000000140000L});
public static final BitSet FOLLOW_ruleXCatchClause_in_ruleXTryCatchFinallyExpression11474 = new BitSet(new long[]{0x0000000000000002L,0x0000000000140000L});
public static final BitSet FOLLOW_82_in_ruleXTryCatchFinallyExpression11496 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11518 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_82_in_ruleXTryCatchFinallyExpression11540 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11561 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSynchronizedExpression_in_entryRuleXSynchronizedExpression11599 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXSynchronizedExpression11609 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_83_in_ruleXSynchronizedExpression11673 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXSynchronizedExpression11685 = new BitSet(new long[]{0x145E0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSynchronizedExpression11708 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXSynchronizedExpression11720 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSynchronizedExpression11741 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCatchClause_in_entryRuleXCatchClause11777 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCatchClause11787 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleXCatchClause11832 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_ruleXCatchClause11845 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleFullJvmFormalParameter_in_ruleXCatchClause11866 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ruleXCatchClause11878 = new BitSet(new long[]{0x145A0218000801F0L,0x00000000000BFFFFL});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXCatchClause11899 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName11936 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName11947 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleQualifiedName11994 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_45_in_ruleQualifiedName12022 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleValidID_in_ruleQualifiedName12045 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_ruleNumber_in_entryRuleNumber12099 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleNumber12110 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_HEX_in_ruleNumber12154 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_INT_in_ruleNumber12182 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_RULE_DECIMAL_in_ruleNumber12208 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_45_in_ruleNumber12228 = new BitSet(new long[]{0x00000000000000C0L});
public static final BitSet FOLLOW_RULE_INT_in_ruleNumber12244 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_DECIMAL_in_ruleNumber12270 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_entryRuleJvmTypeReference12325 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmTypeReference12335 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmParameterizedTypeReference_in_ruleJvmTypeReference12383 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_ruleArrayBrackets_in_ruleJvmTypeReference12419 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_ruleXFunctionTypeRef_in_ruleJvmTypeReference12450 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleArrayBrackets_in_entryRuleArrayBrackets12486 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleArrayBrackets12497 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_ruleArrayBrackets12535 = new BitSet(new long[]{0x0080000000000000L});
public static final BitSet FOLLOW_55_in_ruleArrayBrackets12548 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXFunctionTypeRef_in_entryRuleXFunctionTypeRef12588 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXFunctionTypeRef12598 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_ruleXFunctionTypeRef12636 = new BitSet(new long[]{0x0006000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12658 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_48_in_ruleXFunctionTypeRef12671 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12692 = new BitSet(new long[]{0x0005000000000000L});
public static final BitSet FOLLOW_50_in_ruleXFunctionTypeRef12708 = new BitSet(new long[]{0x0000000100000000L});
public static final BitSet FOLLOW_32_in_ruleXFunctionTypeRef12722 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12743 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmParameterizedTypeReference_in_entryRuleJvmParameterizedTypeReference12779 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmParameterizedTypeReference12789 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleJvmParameterizedTypeReference12837 = new BitSet(new long[]{0x0000000000080002L});
public static final BitSet FOLLOW_19_in_ruleJvmParameterizedTypeReference12858 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12880 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_48_in_ruleJvmParameterizedTypeReference12893 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12914 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_20_in_ruleJvmParameterizedTypeReference12928 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_45_in_ruleJvmParameterizedTypeReference12964 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleValidID_in_ruleJvmParameterizedTypeReference12989 = new BitSet(new long[]{0x0000200000080002L});
public static final BitSet FOLLOW_19_in_ruleJvmParameterizedTypeReference13010 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference13032 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_48_in_ruleJvmParameterizedTypeReference13045 = new BitSet(new long[]{0x0002000100000100L,0x0000000000200000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference13066 = new BitSet(new long[]{0x0001000000100000L});
public static final BitSet FOLLOW_20_in_ruleJvmParameterizedTypeReference13080 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_entryRuleJvmArgumentTypeReference13122 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmArgumentTypeReference13132 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmArgumentTypeReference13179 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmWildcardTypeReference_in_ruleJvmArgumentTypeReference13206 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmWildcardTypeReference_in_entryRuleJvmWildcardTypeReference13241 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmWildcardTypeReference13251 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_85_in_ruleJvmWildcardTypeReference13297 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000220L});
public static final BitSet FOLLOW_ruleJvmUpperBound_in_ruleJvmWildcardTypeReference13320 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
public static final BitSet FOLLOW_ruleJvmUpperBoundAnded_in_ruleJvmWildcardTypeReference13341 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
public static final BitSet FOLLOW_ruleJvmLowerBound_in_ruleJvmWildcardTypeReference13371 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
public static final BitSet FOLLOW_ruleJvmLowerBoundAnded_in_ruleJvmWildcardTypeReference13392 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
public static final BitSet FOLLOW_ruleJvmUpperBound_in_entryRuleJvmUpperBound13432 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmUpperBound13442 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_69_in_ruleJvmUpperBound13479 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBound13500 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmUpperBoundAnded_in_entryRuleJvmUpperBoundAnded13536 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmUpperBoundAnded13546 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_86_in_ruleJvmUpperBoundAnded13583 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBoundAnded13604 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmLowerBound_in_entryRuleJvmLowerBound13640 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmLowerBound13650 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_73_in_ruleJvmLowerBound13687 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmLowerBound13708 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmLowerBoundAnded_in_entryRuleJvmLowerBoundAnded13744 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmLowerBoundAnded13754 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_86_in_ruleJvmLowerBoundAnded13791 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmLowerBoundAnded13812 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedNameWithWildcard_in_entryRuleQualifiedNameWithWildcard13851 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameWithWildcard13862 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedNameWithWildcard13909 = new BitSet(new long[]{0x0000200000000000L});
public static final BitSet FOLLOW_45_in_ruleQualifiedNameWithWildcard13927 = new BitSet(new long[]{0x0000002000000000L});
public static final BitSet FOLLOW_37_in_ruleQualifiedNameWithWildcard13940 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_entryRuleValidID13981 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleValidID13992 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleValidID14031 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXImportDeclaration_in_entryRuleXImportDeclaration14077 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXImportDeclaration14087 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_71_in_ruleXImportDeclaration14124 = new BitSet(new long[]{0x0000000000000100L,0x0000000000000040L});
public static final BitSet FOLLOW_70_in_ruleXImportDeclaration14144 = new BitSet(new long[]{0x0000000000000100L,0x0000000000000100L});
public static final BitSet FOLLOW_72_in_ruleXImportDeclaration14175 = new BitSet(new long[]{0x0000000000000100L,0x0000000000000100L});
public static final BitSet FOLLOW_ruleQualifiedNameInStaticImport_in_ruleXImportDeclaration14212 = new BitSet(new long[]{0x0000002000000100L});
public static final BitSet FOLLOW_37_in_ruleXImportDeclaration14231 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXImportDeclaration14271 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleXImportDeclaration14302 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_ruleQualifiedNameWithWildcard_in_ruleXImportDeclaration14329 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_57_in_ruleXImportDeclaration14343 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedNameInStaticImport_in_entryRuleQualifiedNameInStaticImport14382 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameInStaticImport14393 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleQualifiedNameInStaticImport14440 = new BitSet(new long[]{0x0000200000000000L});
public static final BitSet FOLLOW_45_in_ruleQualifiedNameInStaticImport14458 = new BitSet(new long[]{0x0000000000000102L});
public static final BitSet FOLLOW_ruleOpMultiAssign_in_synpred1_InternalExpressions422 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpOr_in_synpred2_InternalExpressions945 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpAnd_in_synpred3_InternalExpressions1204 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpEquality_in_synpred4_InternalExpressions1463 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_synpred5_InternalExpressions1777 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpCompare_in_synpred6_InternalExpressions1848 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpOther_in_synpred7_InternalExpressions2182 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_synpred8_InternalExpressions2451 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_20_in_synpred8_InternalExpressions2456 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_synpred9_InternalExpressions2538 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_synpred9_InternalExpressions2543 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpAdd_in_synpred10_InternalExpressions2765 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpMulti_in_synpred11_InternalExpressions3045 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_42_in_synpred12_InternalExpressions3639 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpPostfix_in_synpred13_InternalExpressions3796 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_45_in_synpred14_InternalExpressions4051 = new BitSet(new long[]{0x0000000000000100L,0x00000000000001E0L});
public static final BitSet FOLLOW_46_in_synpred14_InternalExpressions4065 = new BitSet(new long[]{0x0000000000000100L,0x00000000000001E0L});
public static final BitSet FOLLOW_ruleFeatureCallID_in_synpred14_InternalExpressions4081 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_synpred14_InternalExpressions4087 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_45_in_synpred15_InternalExpressions4229 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_47_in_synpred15_InternalExpressions4243 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_46_in_synpred15_InternalExpressions4263 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_synpred16_InternalExpressions4490 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred17_InternalExpressions4542 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_48_in_synpred17_InternalExpressions4549 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred17_InternalExpressions4556 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_56_in_synpred17_InternalExpressions4570 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_synpred18_InternalExpressions4690 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_83_in_synpred19_InternalExpressions4879 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_synpred19_InternalExpressions4883 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_synpred20_InternalExpressions5005 = new BitSet(new long[]{0x0002000000000000L});
public static final BitSet FOLLOW_49_in_synpred20_InternalExpressions5009 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred20_InternalExpressions5016 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_synpred20_InternalExpressions5022 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_synpred21_InternalExpressions5344 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred23_InternalExpressions6094 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_48_in_synpred23_InternalExpressions6101 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred23_InternalExpressions6108 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_56_in_synpred23_InternalExpressions6122 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_59_in_synpred25_InternalExpressions6905 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_synpred26_InternalExpressions7044 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred26_InternalExpressions7051 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_synpred26_InternalExpressions7057 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred27_InternalExpressions7159 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_61_in_synpred27_InternalExpressions7165 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_synpred29_InternalExpressions8793 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_ruleValidID_in_synpred29_InternalExpressions8802 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_synpred30_InternalExpressions9340 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred31_InternalExpressions9392 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_48_in_synpred31_InternalExpressions9399 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred31_InternalExpressions9406 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_56_in_synpred31_InternalExpressions9420 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_synpred32_InternalExpressions9540 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_synpred33_InternalExpressions9989 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_synpred34_InternalExpressions10085 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred35_InternalExpressions10137 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_48_in_synpred35_InternalExpressions10144 = new BitSet(new long[]{0x0002000100000100L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred35_InternalExpressions10151 = new BitSet(new long[]{0x0101000000000000L});
public static final BitSet FOLLOW_56_in_synpred35_InternalExpressions10165 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_synpred36_InternalExpressions10285 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred37_InternalExpressions11105 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_synpred38_InternalExpressions11458 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_82_in_synpred39_InternalExpressions11488 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_45_in_synpred42_InternalExpressions12013 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleArrayBrackets_in_synpred43_InternalExpressions12398 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_synpred44_InternalExpressions12850 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_45_in_synpred45_InternalExpressions12945 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_19_in_synpred46_InternalExpressions13002 = new BitSet(new long[]{0x0000000000000002L});
}