package org.xtest.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.xtest.services.XTestGrammarAccess;
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 InternalXTestParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_HEX", "RULE_INT", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "';'", "'import'", "'static'", "'extension'", "'.'", "'*'", "':'", "'xsuite'", "'xtest'", "'assert'", "'throws'", "'...'", "'def'", "'<'", "','", "'>'", "'('", "')'", "':='", "'class'", "'='", "'+='", "'||'", "'&&'", "'=='", "'!='", "'instanceof'", "'>='", "'<='", "'->'", "'..'", "'=>'", "'<>'", "'?:'", "'<=>'", "'+'", "'-'", "'**'", "'/'", "'%'", "'!'", "'as'", "'?.'", "'*.'", "'['", "'|'", "']'", "'if'", "'else'", "'switch'", "'{'", "'default'", "'}'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'super'", "'::'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'catch'", "'?'", "'extends'", "'&'"
};
public static final int T__68=68;
public static final int T__69=69;
public static final int RULE_ID=4;
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=6;
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=7;
public static final int RULE_DECIMAL=8;
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=5;
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 InternalXTestParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalXTestParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalXTestParser.tokenNames; }
public String getGrammarFileName() { return "../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g"; }
private XTestGrammarAccess grammarAccess;
public InternalXTestParser(TokenStream input, XTestGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "Body";
}
@Override
protected XTestGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleBody"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:67:1: entryRuleBody returns [EObject current=null] : iv_ruleBody= ruleBody EOF ;
public final EObject entryRuleBody() throws RecognitionException {
EObject current = null;
EObject iv_ruleBody = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:68:2: (iv_ruleBody= ruleBody EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:69:2: iv_ruleBody= ruleBody EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBodyRule());
}
pushFollow(FOLLOW_ruleBody_in_entryRuleBody75);
iv_ruleBody=ruleBody();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleBody;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleBody85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleBody"
// $ANTLR start "ruleBody"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:76:1: ruleBody returns [EObject current=null] : ( () ( ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )? )* ( ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )? )* ( ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )? )* ) ;
public final EObject ruleBody() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_fileparam_1_0 = null;
EObject lv_imports_3_0 = null;
EObject lv_expressions_5_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:79:28: ( ( () ( ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )? )* ( ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )? )* ( ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )? )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:80:1: ( () ( ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )? )* ( ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )? )* ( ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )? )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:80:1: ( () ( ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )? )* ( ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )? )* ( ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )? )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:80:2: () ( ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )? )* ( ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )? )* ( ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )? )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:80:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:81:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getBodyAccess().getBodyAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:86:2: ( ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )? )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==RULE_ID) ) {
int LA2_2 = input.LA(2);
if ( (LA2_2==19) && (synpred1_InternalXTest())) {
alt2=1;
}
}
switch (alt2) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:86:3: ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) ) (otherlv_2= ';' )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:86:3: ( ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:86:4: ( ( RULE_ID ) )=> (lv_fileparam_1_0= ruleFileParam )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:92:1: (lv_fileparam_1_0= ruleFileParam )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:93:3: lv_fileparam_1_0= ruleFileParam
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBodyAccess().getFileparamFileParamParserRuleCall_1_0_0());
}
pushFollow(FOLLOW_ruleFileParam_in_ruleBody153);
lv_fileparam_1_0=ruleFileParam();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getBodyRule());
}
add(
current,
"fileparam",
lv_fileparam_1_0,
"FileParam");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:109:2: (otherlv_2= ';' )?
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==13) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:109:4: otherlv_2= ';'
{
otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleBody166); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getBodyAccess().getSemicolonKeyword_1_1());
}
}
break;
}
}
break;
default :
break loop2;
}
} while (true);
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:113:5: ( ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )? )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==14) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:113:6: ( (lv_imports_3_0= ruleImport ) ) (otherlv_4= ';' )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:113:6: ( (lv_imports_3_0= ruleImport ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:114:1: (lv_imports_3_0= ruleImport )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:114:1: (lv_imports_3_0= ruleImport )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:115:3: lv_imports_3_0= ruleImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBodyAccess().getImportsImportParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_ruleImport_in_ruleBody192);
lv_imports_3_0=ruleImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getBodyRule());
}
add(
current,
"imports",
lv_imports_3_0,
"Import");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:131:2: (otherlv_4= ';' )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==13) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:131:4: otherlv_4= ';'
{
otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleBody205); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getBodyAccess().getSemicolonKeyword_2_1());
}
}
break;
}
}
break;
default :
break loop4;
}
} while (true);
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:135:5: ( ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )? )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( ((LA6_0>=RULE_ID && LA6_0<=RULE_DECIMAL)||LA6_0==15||(LA6_0>=20 && LA6_0<=22)||(LA6_0>=25 && LA6_0<=26)||LA6_0==29||LA6_0==32||(LA6_0>=48 && LA6_0<=49)||LA6_0==53||LA6_0==57||LA6_0==60||(LA6_0>=62 && LA6_0<=63)||(LA6_0>=67 && LA6_0<=72)||(LA6_0>=74 && LA6_0<=81)) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:135:6: ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) ) (otherlv_6= ';' )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:135:6: ( (lv_expressions_5_0= ruleXExpressionInsideBlock ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:136:1: (lv_expressions_5_0= ruleXExpressionInsideBlock )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:136:1: (lv_expressions_5_0= ruleXExpressionInsideBlock )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:137:3: lv_expressions_5_0= ruleXExpressionInsideBlock
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBodyAccess().getExpressionsXExpressionInsideBlockParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_ruleXExpressionInsideBlock_in_ruleBody231);
lv_expressions_5_0=ruleXExpressionInsideBlock();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getBodyRule());
}
add(
current,
"expressions",
lv_expressions_5_0,
"XExpressionInsideBlock");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:153:2: (otherlv_6= ';' )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==13) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:153:4: otherlv_6= ';'
{
otherlv_6=(Token)match(input,13,FOLLOW_13_in_ruleBody244); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getBodyAccess().getSemicolonKeyword_3_1());
}
}
break;
}
}
break;
default :
break loop6;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBody"
// $ANTLR start "entryRuleImport"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:165:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
EObject iv_ruleImport = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:166:2: (iv_ruleImport= ruleImport EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:167:2: iv_ruleImport= ruleImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImportRule());
}
pushFollow(FOLLOW_ruleImport_in_entryRuleImport284);
iv_ruleImport=ruleImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleImport;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleImport294); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleImport"
// $ANTLR start "ruleImport"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:174:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) ) ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_static_1_0=null;
Token lv_extension_2_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_importedNamespace_7_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:177:28: ( (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:178:1: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:178:1: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:178:3: otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) )
{
otherlv_0=(Token)match(input,14,FOLLOW_14_in_ruleImport331); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:182:1: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) )
int alt8=3;
alt8 = dfa8.predict(input);
switch (alt8) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:182:2: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:182:2: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:182:3: ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:182:3: ( (lv_static_1_0= 'static' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:183:1: (lv_static_1_0= 'static' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:183:1: (lv_static_1_0= 'static' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:184:3: lv_static_1_0= 'static'
{
lv_static_1_0=(Token)match(input,15,FOLLOW_15_in_ruleImport351); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_1_0, grammarAccess.getImportAccess().getStaticStaticKeyword_1_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getImportRule());
}
setWithLastConsumed(current, "static", true, "static");
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:197:2: ( (lv_extension_2_0= 'extension' ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==16) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:198:1: (lv_extension_2_0= 'extension' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:198:1: (lv_extension_2_0= 'extension' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:199:3: lv_extension_2_0= 'extension'
{
lv_extension_2_0=(Token)match(input,16,FOLLOW_16_in_ruleImport382); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_extension_2_0, grammarAccess.getImportAccess().getExtensionExtensionKeyword_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getImportRule());
}
setWithLastConsumed(current, "extension", true, "extension");
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:212:3: ( ( ruleQualifiedName ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:213:1: ( ruleQualifiedName )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:213:1: ( ruleQualifiedName )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:214:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getImportRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImportAccess().getImportedTypeJvmTypeCrossReference_1_0_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleImport419);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleImport431); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getImportAccess().getFullStopKeyword_1_0_3());
}
otherlv_5=(Token)match(input,18,FOLLOW_18_in_ruleImport443); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getImportAccess().getAsteriskKeyword_1_0_4());
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:236:6: ( ( ruleQualifiedName ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:236:6: ( ( ruleQualifiedName ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:237:1: ( ruleQualifiedName )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:237:1: ( ruleQualifiedName )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:238:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getImportRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImportAccess().getImportedTypeJvmTypeCrossReference_1_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleImport473);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:252:6: ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:252:6: ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:253:1: (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:253:1: (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:254:3: lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceQualifiedNamespaceWithWildcardParserRuleCall_1_2_0());
}
pushFollow(FOLLOW_ruleQualifiedNamespaceWithWildcard_in_ruleImport500);
lv_importedNamespace_7_0=ruleQualifiedNamespaceWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImportRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_7_0,
"QualifiedNamespaceWithWildcard");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleImport"
// $ANTLR start "entryRuleQualifiedNamespaceWithWildcard"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:278:1: entryRuleQualifiedNamespaceWithWildcard returns [String current=null] : iv_ruleQualifiedNamespaceWithWildcard= ruleQualifiedNamespaceWithWildcard EOF ;
public final String entryRuleQualifiedNamespaceWithWildcard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNamespaceWithWildcard = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:279:2: (iv_ruleQualifiedNamespaceWithWildcard= ruleQualifiedNamespaceWithWildcard EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:280:2: iv_ruleQualifiedNamespaceWithWildcard= ruleQualifiedNamespaceWithWildcard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNamespaceWithWildcardRule());
}
pushFollow(FOLLOW_ruleQualifiedNamespaceWithWildcard_in_entryRuleQualifiedNamespaceWithWildcard538);
iv_ruleQualifiedNamespaceWithWildcard=ruleQualifiedNamespaceWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNamespaceWithWildcard.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedNamespaceWithWildcard549); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNamespaceWithWildcard"
// $ANTLR start "ruleQualifiedNamespaceWithWildcard"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:287:1: ruleQualifiedNamespaceWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ;
public final AntlrDatatypeRuleToken ruleQualifiedNamespaceWithWildcard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:290:28: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:291:1: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:291:1: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:292:5: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNamespaceWithWildcardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedNamespaceWithWildcard596);
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,17,FOLLOW_17_in_ruleQualifiedNamespaceWithWildcard614); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNamespaceWithWildcardAccess().getFullStopKeyword_1());
}
kw=(Token)match(input,18,FOLLOW_18_in_ruleQualifiedNamespaceWithWildcard627); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNamespaceWithWildcardAccess().getAsteriskKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNamespaceWithWildcard"
// $ANTLR start "entryRuleFileParam"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:322:1: entryRuleFileParam returns [EObject current=null] : iv_ruleFileParam= ruleFileParam EOF ;
public final EObject entryRuleFileParam() throws RecognitionException {
EObject current = null;
EObject iv_ruleFileParam = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:323:2: (iv_ruleFileParam= ruleFileParam EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:324:2: iv_ruleFileParam= ruleFileParam EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFileParamRule());
}
pushFollow(FOLLOW_ruleFileParam_in_entryRuleFileParam667);
iv_ruleFileParam=ruleFileParam();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFileParam;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleFileParam677); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFileParam"
// $ANTLR start "ruleFileParam"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:331:1: ruleFileParam returns [EObject current=null] : ( ( ( ( RULE_ID ) )=> (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (lv_value_2_0= ruleXBooleanLiteral ) ) ) ;
public final EObject ruleFileParam() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
EObject lv_value_2_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:334:28: ( ( ( ( ( RULE_ID ) )=> (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (lv_value_2_0= ruleXBooleanLiteral ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:335:1: ( ( ( ( RULE_ID ) )=> (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (lv_value_2_0= ruleXBooleanLiteral ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:335:1: ( ( ( ( RULE_ID ) )=> (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (lv_value_2_0= ruleXBooleanLiteral ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:335:2: ( ( ( RULE_ID ) )=> (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (lv_value_2_0= ruleXBooleanLiteral ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:335:2: ( ( ( RULE_ID ) )=> (otherlv_0= RULE_ID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:335:3: ( ( RULE_ID ) )=> (otherlv_0= RULE_ID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:341:1: (otherlv_0= RULE_ID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:342:3: otherlv_0= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getFileParamRule());
}
}
otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFileParam734); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getFileParamAccess().getFeatureJvmEnumerationLiteralCrossReference_0_0());
}
}
}
otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleFileParam746); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getFileParamAccess().getColonKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:357:1: ( (lv_value_2_0= ruleXBooleanLiteral ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:358:1: (lv_value_2_0= ruleXBooleanLiteral )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:358:1: (lv_value_2_0= ruleXBooleanLiteral )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:359:3: lv_value_2_0= ruleXBooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFileParamAccess().getValueXBooleanLiteralParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXBooleanLiteral_in_ruleFileParam767);
lv_value_2_0=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFileParamRule());
}
set(
current,
"value",
lv_value_2_0,
"XBooleanLiteral");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFileParam"
// $ANTLR start "entryRuleUniqueName"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:383:1: entryRuleUniqueName returns [EObject current=null] : iv_ruleUniqueName= ruleUniqueName EOF ;
public final EObject entryRuleUniqueName() throws RecognitionException {
EObject current = null;
EObject iv_ruleUniqueName = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:384:2: (iv_ruleUniqueName= ruleUniqueName EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:385:2: iv_ruleUniqueName= ruleUniqueName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUniqueNameRule());
}
pushFollow(FOLLOW_ruleUniqueName_in_entryRuleUniqueName803);
iv_ruleUniqueName=ruleUniqueName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUniqueName;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUniqueName813); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUniqueName"
// $ANTLR start "ruleUniqueName"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:392:1: ruleUniqueName returns [EObject current=null] : ( () ( ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) ) )? ( (lv_identifier_2_0= ruleXParenthesizedExpression ) )? ) ;
public final EObject ruleUniqueName() throws RecognitionException {
EObject current = null;
Token lv_name_1_1=null;
Token lv_name_1_2=null;
EObject lv_identifier_2_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:395:28: ( ( () ( ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) ) )? ( (lv_identifier_2_0= ruleXParenthesizedExpression ) )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:396:1: ( () ( ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) ) )? ( (lv_identifier_2_0= ruleXParenthesizedExpression ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:396:1: ( () ( ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) ) )? ( (lv_identifier_2_0= ruleXParenthesizedExpression ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:396:2: () ( ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) ) )? ( (lv_identifier_2_0= ruleXParenthesizedExpression ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:396:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:397:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getUniqueNameAccess().getUniqueNameAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:402:2: ( ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) ) )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( ((LA10_0>=RULE_ID && LA10_0<=RULE_STRING)) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:403:1: ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:403:1: ( (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:404:1: (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:404:1: (lv_name_1_1= RULE_STRING | lv_name_1_2= RULE_ID )
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==RULE_STRING) ) {
alt9=1;
}
else if ( (LA9_0==RULE_ID) ) {
alt9=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 9, 0, input);
throw nvae;
}
switch (alt9) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:405:3: lv_name_1_1= RULE_STRING
{
lv_name_1_1=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleUniqueName866); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_1, grammarAccess.getUniqueNameAccess().getNameSTRINGTerminalRuleCall_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUniqueNameRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_1,
"STRING");
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:420:8: lv_name_1_2= RULE_ID
{
lv_name_1_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUniqueName886); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_2, grammarAccess.getUniqueNameAccess().getNameIDTerminalRuleCall_1_0_1());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUniqueNameRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_2,
"ID");
}
}
break;
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:438:3: ( (lv_identifier_2_0= ruleXParenthesizedExpression ) )?
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==29) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:439:1: (lv_identifier_2_0= ruleXParenthesizedExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:439:1: (lv_identifier_2_0= ruleXParenthesizedExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:440:3: lv_identifier_2_0= ruleXParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUniqueNameAccess().getIdentifierXParenthesizedExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXParenthesizedExpression_in_ruleUniqueName916);
lv_identifier_2_0=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUniqueNameRule());
}
set(
current,
"identifier",
lv_identifier_2_0,
"XParenthesizedExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUniqueName"
// $ANTLR start "entryRuleXTestExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:464:1: entryRuleXTestExpression returns [EObject current=null] : iv_ruleXTestExpression= ruleXTestExpression EOF ;
public final EObject entryRuleXTestExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTestExpression = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:465:2: (iv_ruleXTestExpression= ruleXTestExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:466:2: iv_ruleXTestExpression= ruleXTestExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTestExpressionRule());
}
pushFollow(FOLLOW_ruleXTestExpression_in_entryRuleXTestExpression953);
iv_ruleXTestExpression=ruleXTestExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTestExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXTestExpression963); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTestExpression"
// $ANTLR start "ruleXTestExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:473:1: ruleXTestExpression returns [EObject current=null] : ( () (otherlv_1= 'xsuite' | otherlv_2= 'xtest' ) ( (lv_name_3_0= ruleUniqueName ) ) ( (lv_expression_4_0= ruleXBlockExpression ) ) ) ;
public final EObject ruleXTestExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
EObject lv_name_3_0 = null;
EObject lv_expression_4_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:476:28: ( ( () (otherlv_1= 'xsuite' | otherlv_2= 'xtest' ) ( (lv_name_3_0= ruleUniqueName ) ) ( (lv_expression_4_0= ruleXBlockExpression ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:477:1: ( () (otherlv_1= 'xsuite' | otherlv_2= 'xtest' ) ( (lv_name_3_0= ruleUniqueName ) ) ( (lv_expression_4_0= ruleXBlockExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:477:1: ( () (otherlv_1= 'xsuite' | otherlv_2= 'xtest' ) ( (lv_name_3_0= ruleUniqueName ) ) ( (lv_expression_4_0= ruleXBlockExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:477:2: () (otherlv_1= 'xsuite' | otherlv_2= 'xtest' ) ( (lv_name_3_0= ruleUniqueName ) ) ( (lv_expression_4_0= ruleXBlockExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:477:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:478:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTestExpressionAccess().getXTestExpressionAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:483:2: (otherlv_1= 'xsuite' | otherlv_2= 'xtest' )
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==20) ) {
alt12=1;
}
else if ( (LA12_0==21) ) {
alt12=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 0, input);
throw nvae;
}
switch (alt12) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:483:4: otherlv_1= 'xsuite'
{
otherlv_1=(Token)match(input,20,FOLLOW_20_in_ruleXTestExpression1010); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTestExpressionAccess().getXsuiteKeyword_1_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:488:7: otherlv_2= 'xtest'
{
otherlv_2=(Token)match(input,21,FOLLOW_21_in_ruleXTestExpression1028); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXTestExpressionAccess().getXtestKeyword_1_1());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:492:2: ( (lv_name_3_0= ruleUniqueName ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:493:1: (lv_name_3_0= ruleUniqueName )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:493:1: (lv_name_3_0= ruleUniqueName )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:494:3: lv_name_3_0= ruleUniqueName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTestExpressionAccess().getNameUniqueNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleUniqueName_in_ruleXTestExpression1050);
lv_name_3_0=ruleUniqueName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTestExpressionRule());
}
set(
current,
"name",
lv_name_3_0,
"UniqueName");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:510:2: ( (lv_expression_4_0= ruleXBlockExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:511:1: (lv_expression_4_0= ruleXBlockExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:511:1: (lv_expression_4_0= ruleXBlockExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:512:3: lv_expression_4_0= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTestExpressionAccess().getExpressionXBlockExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXTestExpression1071);
lv_expression_4_0=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTestExpressionRule());
}
set(
current,
"expression",
lv_expression_4_0,
"XBlockExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTestExpression"
// $ANTLR start "entryRuleXAssertExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:536:1: entryRuleXAssertExpression returns [EObject current=null] : iv_ruleXAssertExpression= ruleXAssertExpression EOF ;
public final EObject entryRuleXAssertExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAssertExpression = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:537:2: (iv_ruleXAssertExpression= ruleXAssertExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:538:2: iv_ruleXAssertExpression= ruleXAssertExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssertExpressionRule());
}
pushFollow(FOLLOW_ruleXAssertExpression_in_entryRuleXAssertExpression1107);
iv_ruleXAssertExpression=ruleXAssertExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssertExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAssertExpression1117); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssertExpression"
// $ANTLR start "ruleXAssertExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:545:1: ruleXAssertExpression returns [EObject current=null] : ( () otherlv_1= 'assert' ( (lv_actual_2_0= ruleXExpression ) ) ( ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) ) )? ) ;
public final EObject ruleXAssertExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
EObject lv_actual_2_0 = null;
EObject lv_throws_4_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:548:28: ( ( () otherlv_1= 'assert' ( (lv_actual_2_0= ruleXExpression ) ) ( ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) ) )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:549:1: ( () otherlv_1= 'assert' ( (lv_actual_2_0= ruleXExpression ) ) ( ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:549:1: ( () otherlv_1= 'assert' ( (lv_actual_2_0= ruleXExpression ) ) ( ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:549:2: () otherlv_1= 'assert' ( (lv_actual_2_0= ruleXExpression ) ) ( ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:549:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:550:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssertExpressionAccess().getXAssertExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,22,FOLLOW_22_in_ruleXAssertExpression1163); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAssertExpressionAccess().getAssertKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:559:1: ( (lv_actual_2_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:560:1: (lv_actual_2_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:560:1: (lv_actual_2_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:561:3: lv_actual_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssertExpressionAccess().getActualXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXAssertExpression1184);
lv_actual_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssertExpressionRule());
}
set(
current,
"actual",
lv_actual_2_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:577:2: ( ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) ) )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==23) ) {
int LA13_1 = input.LA(2);
if ( (synpred3_InternalXTest()) ) {
alt13=1;
}
}
switch (alt13) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:577:3: ( ( 'throws' )=>otherlv_3= 'throws' ) ( (lv_throws_4_0= ruleJvmTypeReference ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:577:3: ( ( 'throws' )=>otherlv_3= 'throws' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:577:4: ( 'throws' )=>otherlv_3= 'throws'
{
otherlv_3=(Token)match(input,23,FOLLOW_23_in_ruleXAssertExpression1205); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXAssertExpressionAccess().getThrowsKeyword_3_0());
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:582:2: ( (lv_throws_4_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:583:1: (lv_throws_4_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:583:1: (lv_throws_4_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:584:3: lv_throws_4_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssertExpressionAccess().getThrowsJvmTypeReferenceParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXAssertExpression1227);
lv_throws_4_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssertExpressionRule());
}
set(
current,
"throws",
lv_throws_4_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAssertExpression"
// $ANTLR start "entryRuleParameter"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:608:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ;
public final EObject entryRuleParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleParameter = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:609:2: (iv_ruleParameter= ruleParameter EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:610:2: iv_ruleParameter= ruleParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getParameterRule());
}
pushFollow(FOLLOW_ruleParameter_in_entryRuleParameter1265);
iv_ruleParameter=ruleParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleParameter1275); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleParameter"
// $ANTLR start "ruleParameter"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:617:1: ruleParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_varArg_1_0= '...' ) )? ( (lv_name_2_0= ruleValidID ) ) ) ;
public final EObject ruleParameter() throws RecognitionException {
EObject current = null;
Token lv_varArg_1_0=null;
EObject lv_parameterType_0_0 = null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:620:28: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_varArg_1_0= '...' ) )? ( (lv_name_2_0= ruleValidID ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:621:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_varArg_1_0= '...' ) )? ( (lv_name_2_0= ruleValidID ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:621:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_varArg_1_0= '...' ) )? ( (lv_name_2_0= ruleValidID ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:621:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_varArg_1_0= '...' ) )? ( (lv_name_2_0= ruleValidID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:621:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:622:1: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:622:1: (lv_parameterType_0_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:623:3: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleParameter1321);
lv_parameterType_0_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getParameterRule());
}
set(
current,
"parameterType",
lv_parameterType_0_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:639:2: ( (lv_varArg_1_0= '...' ) )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==24) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:640:1: (lv_varArg_1_0= '...' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:640:1: (lv_varArg_1_0= '...' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:641:3: lv_varArg_1_0= '...'
{
lv_varArg_1_0=(Token)match(input,24,FOLLOW_24_in_ruleParameter1339); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_varArg_1_0, grammarAccess.getParameterAccess().getVarArgFullStopFullStopFullStopKeyword_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getParameterRule());
}
setWithLastConsumed(current, "varArg", true, "...");
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:654:3: ( (lv_name_2_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:655:1: (lv_name_2_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:655:1: (lv_name_2_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:656:3: lv_name_2_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getParameterAccess().getNameValidIDParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleParameter1374);
lv_name_2_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getParameterRule());
}
set(
current,
"name",
lv_name_2_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleParameter"
// $ANTLR start "entryRuleXMethodDef"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:680:1: entryRuleXMethodDef returns [EObject current=null] : iv_ruleXMethodDef= ruleXMethodDef EOF ;
public final EObject entryRuleXMethodDef() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMethodDef = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:681:2: (iv_ruleXMethodDef= ruleXMethodDef EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:682:2: iv_ruleXMethodDef= ruleXMethodDef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefRule());
}
pushFollow(FOLLOW_ruleXMethodDef_in_entryRuleXMethodDef1410);
iv_ruleXMethodDef=ruleXMethodDef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMethodDef;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMethodDef1420); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMethodDef"
// $ANTLR start "ruleXMethodDef"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:689:1: ruleXMethodDef returns [EObject current=null] : ( () ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) ) ) (otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>' )? ( (lv_returnType_9_0= ruleJvmTypeReference ) )? ( (lv_name_10_0= ruleValidID ) ) (otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')' )? ( (lv_expression_16_0= ruleXBlockExpression ) ) ) ;
public final EObject ruleXMethodDef() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_static_3_0=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_15=null;
EObject lv_typeParameters_5_0 = null;
EObject lv_typeParameters_7_0 = null;
EObject lv_returnType_9_0 = null;
AntlrDatatypeRuleToken lv_name_10_0 = null;
EObject lv_parameters_12_0 = null;
EObject lv_parameters_14_0 = null;
EObject lv_expression_16_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:692:28: ( ( () ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) ) ) (otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>' )? ( (lv_returnType_9_0= ruleJvmTypeReference ) )? ( (lv_name_10_0= ruleValidID ) ) (otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')' )? ( (lv_expression_16_0= ruleXBlockExpression ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:693:1: ( () ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) ) ) (otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>' )? ( (lv_returnType_9_0= ruleJvmTypeReference ) )? ( (lv_name_10_0= ruleValidID ) ) (otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')' )? ( (lv_expression_16_0= ruleXBlockExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:693:1: ( () ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) ) ) (otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>' )? ( (lv_returnType_9_0= ruleJvmTypeReference ) )? ( (lv_name_10_0= ruleValidID ) ) (otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')' )? ( (lv_expression_16_0= ruleXBlockExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:693:2: () ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) ) ) (otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>' )? ( (lv_returnType_9_0= ruleJvmTypeReference ) )? ( (lv_name_10_0= ruleValidID ) ) (otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')' )? ( (lv_expression_16_0= ruleXBlockExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:693:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:694:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXMethodDefAccess().getXMethodDefAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:699:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:701:1: ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:701:1: ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:702:2: ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1());
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:705:2: ( ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?)
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:706:3: ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+ {...}?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:706:3: ( ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) ) )+
int cnt15=0;
loop15:
do {
int alt15=3;
int LA15_0 = input.LA(1);
if ( LA15_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 0) ) {
alt15=1;
}
else if ( LA15_0 ==15 && getUnorderedGroupHelper().canSelect(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 1) ) {
alt15=2;
}
switch (alt15) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:708:4: ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:708:4: ({...}? => ( ({...}? => (otherlv_2= 'def' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:709:5: {...}? => ( ({...}? => (otherlv_2= 'def' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleXMethodDef", "getUnorderedGroupHelper().canSelect(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 0)");
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:709:107: ( ({...}? => (otherlv_2= 'def' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:710:6: ({...}? => (otherlv_2= 'def' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 0);
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:713:6: ({...}? => (otherlv_2= 'def' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:713:7: {...}? => (otherlv_2= 'def' )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleXMethodDef", "true");
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:713:16: (otherlv_2= 'def' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:713:18: otherlv_2= 'def'
{
otherlv_2=(Token)match(input,25,FOLLOW_25_in_ruleXMethodDef1512); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXMethodDefAccess().getDefKeyword_1_0());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1());
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:724:4: ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:724:4: ({...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:725:5: {...}? => ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleXMethodDef", "getUnorderedGroupHelper().canSelect(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 1)");
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:725:107: ( ({...}? => ( (lv_static_3_0= 'static' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:726:6: ({...}? => ( (lv_static_3_0= 'static' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1(), 1);
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:729:6: ({...}? => ( (lv_static_3_0= 'static' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:729:7: {...}? => ( (lv_static_3_0= 'static' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleXMethodDef", "true");
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:729:16: ( (lv_static_3_0= 'static' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:730:1: (lv_static_3_0= 'static' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:730:1: (lv_static_3_0= 'static' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:731:3: lv_static_3_0= 'static'
{
lv_static_3_0=(Token)match(input,15,FOLLOW_15_in_ruleXMethodDef1585); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_3_0, grammarAccess.getXMethodDefAccess().getStaticStaticKeyword_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMethodDefRule());
}
setWithLastConsumed(current, "static", true, "static");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1());
}
}
}
break;
default :
if ( cnt15 >= 1 ) break loop15;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(15, input);
throw eee;
}
cnt15++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleXMethodDef", "getUnorderedGroupHelper().canLeave(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getXMethodDefAccess().getUnorderedGroup_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:759:2: (otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>' )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==26) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:759:4: otherlv_4= '<' ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) ) (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )* otherlv_8= '>'
{
otherlv_4=(Token)match(input,26,FOLLOW_26_in_ruleXMethodDef1657); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXMethodDefAccess().getLessThanSignKeyword_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:763:1: ( (lv_typeParameters_5_0= ruleJvmTypeParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:764:1: (lv_typeParameters_5_0= ruleJvmTypeParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:764:1: (lv_typeParameters_5_0= ruleJvmTypeParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:765:3: lv_typeParameters_5_0= ruleJvmTypeParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getTypeParametersJvmTypeParameterParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeParameter_in_ruleXMethodDef1678);
lv_typeParameters_5_0=ruleJvmTypeParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
add(
current,
"typeParameters",
lv_typeParameters_5_0,
"JvmTypeParameter");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:781:2: (otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) ) )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==27) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:781:4: otherlv_6= ',' ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) )
{
otherlv_6=(Token)match(input,27,FOLLOW_27_in_ruleXMethodDef1691); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXMethodDefAccess().getCommaKeyword_2_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:785:1: ( (lv_typeParameters_7_0= ruleJvmTypeParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:786:1: (lv_typeParameters_7_0= ruleJvmTypeParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:786:1: (lv_typeParameters_7_0= ruleJvmTypeParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:787:3: lv_typeParameters_7_0= ruleJvmTypeParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getTypeParametersJvmTypeParameterParserRuleCall_2_2_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeParameter_in_ruleXMethodDef1712);
lv_typeParameters_7_0=ruleJvmTypeParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
add(
current,
"typeParameters",
lv_typeParameters_7_0,
"JvmTypeParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop16;
}
} while (true);
otherlv_8=(Token)match(input,28,FOLLOW_28_in_ruleXMethodDef1726); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXMethodDefAccess().getGreaterThanSignKeyword_2_3());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:807:3: ( (lv_returnType_9_0= ruleJvmTypeReference ) )?
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==RULE_ID) ) {
int LA18_1 = input.LA(2);
if ( (LA18_1==RULE_ID||LA18_1==17||LA18_1==26||LA18_1==57) ) {
alt18=1;
}
}
else if ( (LA18_0==29||LA18_0==44) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:808:1: (lv_returnType_9_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:808:1: (lv_returnType_9_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:809:3: lv_returnType_9_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXMethodDef1749);
lv_returnType_9_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
set(
current,
"returnType",
lv_returnType_9_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:825:3: ( (lv_name_10_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:826:1: (lv_name_10_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:826:1: (lv_name_10_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:827:3: lv_name_10_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getNameValidIDParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXMethodDef1771);
lv_name_10_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
set(
current,
"name",
lv_name_10_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:843:2: (otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')' )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==29) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:843:4: otherlv_11= '(' ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )? otherlv_15= ')'
{
otherlv_11=(Token)match(input,29,FOLLOW_29_in_ruleXMethodDef1784); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXMethodDefAccess().getLeftParenthesisKeyword_5_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:847:1: ( ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )* )?
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==RULE_ID||LA20_0==29||LA20_0==44) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:847:2: ( (lv_parameters_12_0= ruleParameter ) ) (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:847:2: ( (lv_parameters_12_0= ruleParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:848:1: (lv_parameters_12_0= ruleParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:848:1: (lv_parameters_12_0= ruleParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:849:3: lv_parameters_12_0= ruleParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getParametersParameterParserRuleCall_5_1_0_0());
}
pushFollow(FOLLOW_ruleParameter_in_ruleXMethodDef1806);
lv_parameters_12_0=ruleParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
add(
current,
"parameters",
lv_parameters_12_0,
"Parameter");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:865:2: (otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) ) )*
loop19:
do {
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==27) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:865:4: otherlv_13= ',' ( (lv_parameters_14_0= ruleParameter ) )
{
otherlv_13=(Token)match(input,27,FOLLOW_27_in_ruleXMethodDef1819); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXMethodDefAccess().getCommaKeyword_5_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:869:1: ( (lv_parameters_14_0= ruleParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:870:1: (lv_parameters_14_0= ruleParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:870:1: (lv_parameters_14_0= ruleParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:871:3: lv_parameters_14_0= ruleParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getParametersParameterParserRuleCall_5_1_1_1_0());
}
pushFollow(FOLLOW_ruleParameter_in_ruleXMethodDef1840);
lv_parameters_14_0=ruleParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
add(
current,
"parameters",
lv_parameters_14_0,
"Parameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop19;
}
} while (true);
}
break;
}
otherlv_15=(Token)match(input,30,FOLLOW_30_in_ruleXMethodDef1856); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXMethodDefAccess().getRightParenthesisKeyword_5_2());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:891:3: ( (lv_expression_16_0= ruleXBlockExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:892:1: (lv_expression_16_0= ruleXBlockExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:892:1: (lv_expression_16_0= ruleXBlockExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:893:3: lv_expression_16_0= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefAccess().getExpressionXBlockExpressionParserRuleCall_6_0());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXMethodDef1879);
lv_expression_16_0=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefRule());
}
set(
current,
"expression",
lv_expression_16_0,
"XBlockExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMethodDef"
// $ANTLR start "entryRuleXMethodDefExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:917:1: entryRuleXMethodDefExpression returns [EObject current=null] : iv_ruleXMethodDefExpression= ruleXMethodDefExpression EOF ;
public final EObject entryRuleXMethodDefExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMethodDefExpression = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:918:2: (iv_ruleXMethodDefExpression= ruleXMethodDefExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:919:2: iv_ruleXMethodDefExpression= ruleXMethodDefExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefExpressionRule());
}
pushFollow(FOLLOW_ruleXMethodDefExpression_in_entryRuleXMethodDefExpression1915);
iv_ruleXMethodDefExpression=ruleXMethodDefExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMethodDefExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMethodDefExpression1925); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMethodDefExpression"
// $ANTLR start "ruleXMethodDefExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:926:1: ruleXMethodDefExpression returns [EObject current=null] : ( () ( (lv_method_1_0= ruleXMethodDef ) ) ) ;
public final EObject ruleXMethodDefExpression() throws RecognitionException {
EObject current = null;
EObject lv_method_1_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:929:28: ( ( () ( (lv_method_1_0= ruleXMethodDef ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:930:1: ( () ( (lv_method_1_0= ruleXMethodDef ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:930:1: ( () ( (lv_method_1_0= ruleXMethodDef ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:930:2: () ( (lv_method_1_0= ruleXMethodDef ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:930:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:931:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXMethodDefExpressionAccess().getXMethodDefExpressionAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:936:2: ( (lv_method_1_0= ruleXMethodDef ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:937:1: (lv_method_1_0= ruleXMethodDef )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:937:1: (lv_method_1_0= ruleXMethodDef )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:938:3: lv_method_1_0= ruleXMethodDef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMethodDefExpressionAccess().getMethodXMethodDefParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXMethodDef_in_ruleXMethodDefExpression1980);
lv_method_1_0=ruleXMethodDef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMethodDefExpressionRule());
}
set(
current,
"method",
lv_method_1_0,
"XMethodDef");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMethodDefExpression"
// $ANTLR start "entryRuleXPrimaryExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:962: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:963:2: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:964:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionRule());
}
pushFollow(FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression2016);
iv_ruleXPrimaryExpression=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPrimaryExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXPrimaryExpression2026); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPrimaryExpression"
// $ANTLR start "ruleXPrimaryExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:971:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | this_XFeatureCall_3= ruleXFeatureCall | this_XLiteral_4= ruleXLiteral | this_XIfExpression_5= ruleXIfExpression | this_XForLoopExpression_6= ruleXForLoopExpression | this_XWhileExpression_7= ruleXWhileExpression | this_XDoWhileExpression_8= ruleXDoWhileExpression | this_XThrowExpression_9= ruleXThrowExpression | this_XReturnExpression_10= ruleXReturnExpression | this_XTryCatchFinallyExpression_11= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_12= ruleXParenthesizedExpression | this_XTestExpression_13= ruleXTestExpression | this_XAssertExpression_14= ruleXAssertExpression | this_XMethodDefExpression_15= ruleXMethodDefExpression ) ;
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_XFeatureCall_3 = null;
EObject this_XLiteral_4 = null;
EObject this_XIfExpression_5 = null;
EObject this_XForLoopExpression_6 = null;
EObject this_XWhileExpression_7 = null;
EObject this_XDoWhileExpression_8 = null;
EObject this_XThrowExpression_9 = null;
EObject this_XReturnExpression_10 = null;
EObject this_XTryCatchFinallyExpression_11 = null;
EObject this_XParenthesizedExpression_12 = null;
EObject this_XTestExpression_13 = null;
EObject this_XAssertExpression_14 = null;
EObject this_XMethodDefExpression_15 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:974:28: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | this_XFeatureCall_3= ruleXFeatureCall | this_XLiteral_4= ruleXLiteral | this_XIfExpression_5= ruleXIfExpression | this_XForLoopExpression_6= ruleXForLoopExpression | this_XWhileExpression_7= ruleXWhileExpression | this_XDoWhileExpression_8= ruleXDoWhileExpression | this_XThrowExpression_9= ruleXThrowExpression | this_XReturnExpression_10= ruleXReturnExpression | this_XTryCatchFinallyExpression_11= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_12= ruleXParenthesizedExpression | this_XTestExpression_13= ruleXTestExpression | this_XAssertExpression_14= ruleXAssertExpression | this_XMethodDefExpression_15= ruleXMethodDefExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:975:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | this_XFeatureCall_3= ruleXFeatureCall | this_XLiteral_4= ruleXLiteral | this_XIfExpression_5= ruleXIfExpression | this_XForLoopExpression_6= ruleXForLoopExpression | this_XWhileExpression_7= ruleXWhileExpression | this_XDoWhileExpression_8= ruleXDoWhileExpression | this_XThrowExpression_9= ruleXThrowExpression | this_XReturnExpression_10= ruleXReturnExpression | this_XTryCatchFinallyExpression_11= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_12= ruleXParenthesizedExpression | this_XTestExpression_13= ruleXTestExpression | this_XAssertExpression_14= ruleXAssertExpression | this_XMethodDefExpression_15= ruleXMethodDefExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:975:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | this_XFeatureCall_3= ruleXFeatureCall | this_XLiteral_4= ruleXLiteral | this_XIfExpression_5= ruleXIfExpression | this_XForLoopExpression_6= ruleXForLoopExpression | this_XWhileExpression_7= ruleXWhileExpression | this_XDoWhileExpression_8= ruleXDoWhileExpression | this_XThrowExpression_9= ruleXThrowExpression | this_XReturnExpression_10= ruleXReturnExpression | this_XTryCatchFinallyExpression_11= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_12= ruleXParenthesizedExpression | this_XTestExpression_13= ruleXTestExpression | this_XAssertExpression_14= ruleXAssertExpression | this_XMethodDefExpression_15= ruleXMethodDefExpression )
int alt22=16;
alt22 = dfa22.predict(input);
switch (alt22) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:976:5: this_XConstructorCall_0= ruleXConstructorCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression2073);
this_XConstructorCall_0=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XConstructorCall_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:986:5: this_XBlockExpression_1= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression2100);
this_XBlockExpression_1=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBlockExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:996:5: this_XSwitchExpression_2= ruleXSwitchExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2());
}
pushFollow(FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression2127);
this_XSwitchExpression_2=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSwitchExpression_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1006:5: this_XFeatureCall_3= ruleXFeatureCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_3());
}
pushFollow(FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression2154);
this_XFeatureCall_3=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFeatureCall_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1016:5: this_XLiteral_4= ruleXLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_4());
}
pushFollow(FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression2181);
this_XLiteral_4=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XLiteral_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1026:5: this_XIfExpression_5= ruleXIfExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_5());
}
pushFollow(FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression2208);
this_XIfExpression_5=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XIfExpression_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1036:5: this_XForLoopExpression_6= ruleXForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_6());
}
pushFollow(FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression2235);
this_XForLoopExpression_6=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XForLoopExpression_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1046:5: this_XWhileExpression_7= ruleXWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_7());
}
pushFollow(FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression2262);
this_XWhileExpression_7=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XWhileExpression_7;
afterParserOrEnumRuleCall();
}
}
break;
case 9 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1056:5: this_XDoWhileExpression_8= ruleXDoWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_8());
}
pushFollow(FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression2289);
this_XDoWhileExpression_8=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XDoWhileExpression_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1066:5: this_XThrowExpression_9= ruleXThrowExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_9());
}
pushFollow(FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression2316);
this_XThrowExpression_9=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XThrowExpression_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1076:5: this_XReturnExpression_10= ruleXReturnExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_10());
}
pushFollow(FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression2343);
this_XReturnExpression_10=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XReturnExpression_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1086:5: this_XTryCatchFinallyExpression_11= ruleXTryCatchFinallyExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_11());
}
pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression2370);
this_XTryCatchFinallyExpression_11=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTryCatchFinallyExpression_11;
afterParserOrEnumRuleCall();
}
}
break;
case 13 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1096:5: this_XParenthesizedExpression_12= ruleXParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_12());
}
pushFollow(FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression2397);
this_XParenthesizedExpression_12=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XParenthesizedExpression_12;
afterParserOrEnumRuleCall();
}
}
break;
case 14 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1106:5: this_XTestExpression_13= ruleXTestExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTestExpressionParserRuleCall_13());
}
pushFollow(FOLLOW_ruleXTestExpression_in_ruleXPrimaryExpression2424);
this_XTestExpression_13=ruleXTestExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTestExpression_13;
afterParserOrEnumRuleCall();
}
}
break;
case 15 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1116:5: this_XAssertExpression_14= ruleXAssertExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXAssertExpressionParserRuleCall_14());
}
pushFollow(FOLLOW_ruleXAssertExpression_in_ruleXPrimaryExpression2451);
this_XAssertExpression_14=ruleXAssertExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAssertExpression_14;
afterParserOrEnumRuleCall();
}
}
break;
case 16 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1126:5: this_XMethodDefExpression_15= ruleXMethodDefExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXMethodDefExpressionParserRuleCall_15());
}
pushFollow(FOLLOW_ruleXMethodDefExpression_in_ruleXPrimaryExpression2478);
this_XMethodDefExpression_15=ruleXMethodDefExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMethodDefExpression_15;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPrimaryExpression"
// $ANTLR start "entryRuleStaticEquals"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1142:1: entryRuleStaticEquals returns [String current=null] : iv_ruleStaticEquals= ruleStaticEquals EOF ;
public final String entryRuleStaticEquals() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleStaticEquals = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1143:2: (iv_ruleStaticEquals= ruleStaticEquals EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1144:2: iv_ruleStaticEquals= ruleStaticEquals EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStaticEqualsRule());
}
pushFollow(FOLLOW_ruleStaticEquals_in_entryRuleStaticEquals2514);
iv_ruleStaticEquals=ruleStaticEquals();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStaticEquals.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleStaticEquals2525); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStaticEquals"
// $ANTLR start "ruleStaticEquals"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1151:1: ruleStaticEquals returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= ':=' ;
public final AntlrDatatypeRuleToken ruleStaticEquals() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1154:28: (kw= ':=' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1156:2: kw= ':='
{
kw=(Token)match(input,31,FOLLOW_31_in_ruleStaticEquals2562); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getStaticEqualsAccess().getColonEqualsSignKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStaticEquals"
// $ANTLR start "entryRuleXFeatureCall"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1169: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1170:2: (iv_ruleXFeatureCall= ruleXFeatureCall EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1171:2: iv_ruleXFeatureCall= ruleXFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallRule());
}
pushFollow(FOLLOW_ruleXFeatureCall_in_entryRuleXFeatureCall2601);
iv_ruleXFeatureCall=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFeatureCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXFeatureCall2611); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFeatureCall"
// $ANTLR start "ruleXFeatureCall"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1178:1: ruleXFeatureCall returns [EObject current=null] : ( () ( ( ruleStaticQualifier ) )? (otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>' )? ( ( ( ruleIdOrSuper ) ) | otherlv_8= 'class' ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )? ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )? ( () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) ) )? ) ;
public final EObject ruleXFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_explicitOperationCall_9_0=null;
Token otherlv_12=null;
Token otherlv_14=null;
EObject lv_typeArguments_3_0 = null;
EObject lv_typeArguments_5_0 = null;
EObject lv_featureCallArguments_10_0 = null;
EObject lv_featureCallArguments_11_0 = null;
EObject lv_featureCallArguments_13_0 = null;
EObject lv_featureCallArguments_15_0 = null;
EObject lv_value_18_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1181:28: ( ( () ( ( ruleStaticQualifier ) )? (otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>' )? ( ( ( ruleIdOrSuper ) ) | otherlv_8= 'class' ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )? ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )? ( () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) ) )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1182:1: ( () ( ( ruleStaticQualifier ) )? (otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>' )? ( ( ( ruleIdOrSuper ) ) | otherlv_8= 'class' ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )? ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )? ( () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1182:1: ( () ( ( ruleStaticQualifier ) )? (otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>' )? ( ( ( ruleIdOrSuper ) ) | otherlv_8= 'class' ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )? ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )? ( () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1182:2: () ( ( ruleStaticQualifier ) )? (otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>' )? ( ( ( ruleIdOrSuper ) ) | otherlv_8= 'class' ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )? ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )? ( () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1182:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1183:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXFeatureCallAccess().getXFeatureCallAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1188:2: ( ( ruleStaticQualifier ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==RULE_ID) ) {
int LA23_1 = input.LA(2);
if ( (LA23_1==73) ) {
alt23=1;
}
}
switch (alt23) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1189:1: ( ruleStaticQualifier )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1189:1: ( ruleStaticQualifier )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1190:3: ruleStaticQualifier
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getDeclaringTypeJvmDeclaredTypeCrossReference_1_0());
}
pushFollow(FOLLOW_ruleStaticQualifier_in_ruleXFeatureCall2668);
ruleStaticQualifier();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1203:3: (otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>' )?
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==26) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1203:5: otherlv_2= '<' ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) ) (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )* otherlv_6= '>'
{
otherlv_2=(Token)match(input,26,FOLLOW_26_in_ruleXFeatureCall2682); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXFeatureCallAccess().getLessThanSignKeyword_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1207:1: ( (lv_typeArguments_3_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1208:1: (lv_typeArguments_3_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1208:1: (lv_typeArguments_3_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1209:3: lv_typeArguments_3_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall2703);
lv_typeArguments_3_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_3_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1225:2: (otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) ) )*
loop24:
do {
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==27) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1225:4: otherlv_4= ',' ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) )
{
otherlv_4=(Token)match(input,27,FOLLOW_27_in_ruleXFeatureCall2716); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXFeatureCallAccess().getCommaKeyword_2_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1229:1: ( (lv_typeArguments_5_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1230:1: (lv_typeArguments_5_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1230:1: (lv_typeArguments_5_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1231:3: lv_typeArguments_5_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_2_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall2737);
lv_typeArguments_5_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_5_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop24;
}
} while (true);
otherlv_6=(Token)match(input,28,FOLLOW_28_in_ruleXFeatureCall2751); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXFeatureCallAccess().getGreaterThanSignKeyword_2_3());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1251:3: ( ( ( ruleIdOrSuper ) ) | otherlv_8= 'class' )
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==RULE_ID||LA26_0==72) ) {
alt26=1;
}
else if ( (LA26_0==32) ) {
alt26=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1251:4: ( ( ruleIdOrSuper ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1251:4: ( ( ruleIdOrSuper ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1252:1: ( ruleIdOrSuper )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1252:1: ( ruleIdOrSuper )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1253:3: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_3_0_0());
}
pushFollow(FOLLOW_ruleIdOrSuper_in_ruleXFeatureCall2777);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1267:7: otherlv_8= 'class'
{
otherlv_8=(Token)match(input,32,FOLLOW_32_in_ruleXFeatureCall2795); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXFeatureCallAccess().getClassKeyword_3_1());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1271:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )?
int alt29=2;
alt29 = dfa29.predict(input);
switch (alt29) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1271:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1271:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1271:4: ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1278:1: (lv_explicitOperationCall_9_0= '(' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1279:3: lv_explicitOperationCall_9_0= '('
{
lv_explicitOperationCall_9_0=(Token)match(input,29,FOLLOW_29_in_ruleXFeatureCall2830); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_9_0, grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )?
int alt28=3;
alt28 = dfa28.predict(input);
switch (alt28) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1309:1: (lv_featureCallArguments_10_0= ruleXShortClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1310:3: lv_featureCallArguments_10_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_4_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXFeatureCall2915);
lv_featureCallArguments_10_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_10_0,
"XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1327:6: ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1327:6: ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1327:7: ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1327:7: ( (lv_featureCallArguments_11_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1328:1: (lv_featureCallArguments_11_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1328:1: (lv_featureCallArguments_11_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1329:3: lv_featureCallArguments_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_4_1_1_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXFeatureCall2943);
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();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1345:2: (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==27) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1345:4: otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) )
{
otherlv_12=(Token)match(input,27,FOLLOW_27_in_ruleXFeatureCall2956); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXFeatureCallAccess().getCommaKeyword_4_1_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1349:1: ( (lv_featureCallArguments_13_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1350:1: (lv_featureCallArguments_13_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1350:1: (lv_featureCallArguments_13_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1351:3: lv_featureCallArguments_13_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_4_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXFeatureCall2977);
lv_featureCallArguments_13_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_13_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop27;
}
} while (true);
}
}
break;
}
otherlv_14=(Token)match(input,30,FOLLOW_30_in_ruleXFeatureCall2994); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getXFeatureCallAccess().getRightParenthesisKeyword_4_2());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1371:3: ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )?
int alt30=2;
alt30 = dfa30.predict(input);
switch (alt30) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1371:4: ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1376:1: (lv_featureCallArguments_15_0= ruleXClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1377:3: lv_featureCallArguments_15_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXFeatureCall3027);
lv_featureCallArguments_15_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_15_0,
"XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1393:3: ( () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) ) )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==31) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1393:4: () ruleStaticEquals ( (lv_value_18_0= ruleXAssignment ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1393:4: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1394:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXFeatureCallAccess().getXAssignmentAssignableAction_6_0(),
current);
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getStaticEqualsParserRuleCall_6_1());
}
pushFollow(FOLLOW_ruleStaticEquals_in_ruleXFeatureCall3054);
ruleStaticEquals();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1407:1: ( (lv_value_18_0= ruleXAssignment ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1408:1: (lv_value_18_0= ruleXAssignment )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1408:1: (lv_value_18_0= ruleXAssignment )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1409:3: lv_value_18_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getValueXAssignmentParserRuleCall_6_2_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXFeatureCall3074);
lv_value_18_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
set(
current,
"value",
lv_value_18_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFeatureCall"
// $ANTLR start "entryRuleXExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1433: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1434:2: (iv_ruleXExpression= ruleXExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1435:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression3112);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression3122); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1442: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1445:28: (this_XAssignment_0= ruleXAssignment )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1447:5: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression3168);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1463: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1464:2: (iv_ruleXAssignment= ruleXAssignment EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1465:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment3202);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment3212); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1472:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleValidID ) ) 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1475:28: ( ( ( () ( ( ruleValidID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1476:1: ( ( () ( ( ruleValidID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1476:1: ( ( () ( ( ruleValidID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==RULE_ID) ) {
int LA33_1 = input.LA(2);
if ( (LA33_1==EOF||(LA33_1>=RULE_ID && LA33_1<=RULE_DECIMAL)||LA33_1==13||LA33_1==15||(LA33_1>=17 && LA33_1<=23)||(LA33_1>=25 && LA33_1<=32)||(LA33_1>=34 && LA33_1<=57)||(LA33_1>=59 && LA33_1<=83)) ) {
alt33=2;
}
else if ( (LA33_1==33) ) {
alt33=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 33, 1, input);
throw nvae;
}
}
else if ( ((LA33_0>=RULE_STRING && LA33_0<=RULE_DECIMAL)||LA33_0==15||(LA33_0>=20 && LA33_0<=22)||(LA33_0>=25 && LA33_0<=26)||LA33_0==29||LA33_0==32||(LA33_0>=48 && LA33_0<=49)||LA33_0==53||LA33_0==57||LA33_0==60||(LA33_0>=62 && LA33_0<=63)||(LA33_0>=67 && LA33_0<=69)||LA33_0==72||(LA33_0>=74 && LA33_0<=81)) ) {
alt33=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 33, 0, input);
throw nvae;
}
switch (alt33) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1476:2: ( () ( ( ruleValidID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1476:2: ( () ( ( ruleValidID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1476:3: () ( ( ruleValidID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1476:3: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1477:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1482:2: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1483:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1483:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1484:3: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXAssignment3270);
ruleValidID();
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_ruleXAssignment3286);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1505:1: ( (lv_value_3_0= ruleXAssignment ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1506:1: (lv_value_3_0= ruleXAssignment )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1506:1: (lv_value_3_0= ruleXAssignment )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1507:3: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment3306);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1524:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1524:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1525: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_ruleXAssignment3336);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==34) ) {
int LA32_1 = input.LA(2);
if ( (synpred7_InternalXTest()) ) {
alt32=1;
}
}
switch (alt32) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1538:6: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1538:7: () ( ( ruleOpMultiAssign ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1538:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1539:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1544:2: ( ( ruleOpMultiAssign ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1545:1: ( ruleOpMultiAssign )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1545:1: ( ruleOpMultiAssign )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1546: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_ruleXAssignment3389);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1559:4: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1560:1: (lv_rightOperand_7_0= ruleXAssignment )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1560:1: (lv_rightOperand_7_0= ruleXAssignment )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1561:3: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment3412);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1585: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1586:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1587:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign3452);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign3463); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1594:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1597:28: (kw= '=' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1599:2: kw= '='
{
kw=(Token)match(input,33,FOLLOW_33_in_ruleOpSingleAssign3500); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1612: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1613:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1614:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign3540);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign3551); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1621:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '+=' ;
public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1624:28: (kw= '+=' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1626:2: kw= '+='
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleOpMultiAssign3588); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMultiAssign"
// $ANTLR start "entryRuleXOrExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1639: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1640:2: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1641:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression3627);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression3637); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1648: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1651:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1652:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1652:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1653: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_ruleXOrExpression3684);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop34:
do {
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==35) ) {
int LA34_2 = input.LA(2);
if ( (synpred8_InternalXTest()) ) {
alt34=1;
}
}
switch (alt34) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1666:6: ( () ( ( ruleOpOr ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1666:7: () ( ( ruleOpOr ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1666:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1667:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1672:2: ( ( ruleOpOr ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1673:1: ( ruleOpOr )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1673:1: ( ruleOpOr )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1674: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_ruleXOrExpression3737);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1687:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1688:1: (lv_rightOperand_3_0= ruleXAndExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1688:1: (lv_rightOperand_3_0= ruleXAndExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1689:3: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression3760);
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 loop34;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1713: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1714:2: (iv_ruleOpOr= ruleOpOr EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1715:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr3799);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr3810); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1722:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1725:28: (kw= '||' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1727:2: kw= '||'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleOpOr3847); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1740: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1741:2: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1742:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression3886);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression3896); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1749: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1752:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1753:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1753:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1754: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_ruleXAndExpression3943);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop35:
do {
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==36) ) {
int LA35_2 = input.LA(2);
if ( (synpred9_InternalXTest()) ) {
alt35=1;
}
}
switch (alt35) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1767:6: ( () ( ( ruleOpAnd ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1767:7: () ( ( ruleOpAnd ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1767:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1768:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1773:2: ( ( ruleOpAnd ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1774:1: ( ruleOpAnd )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1774:1: ( ruleOpAnd )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1775: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_ruleXAndExpression3996);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1788:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1789:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1789:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1790:3: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression4019);
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 loop35;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1814: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1815:2: (iv_ruleOpAnd= ruleOpAnd EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1816:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd4058);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd4069); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1823:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1826:28: (kw= '&&' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1828:2: kw= '&&'
{
kw=(Token)match(input,36,FOLLOW_36_in_ruleOpAnd4106); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1841: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1842:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1843:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression4145);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression4155); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1850: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1853:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1854:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1854:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1855: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_ruleXEqualityExpression4202);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop36:
do {
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==37) ) {
int LA36_2 = input.LA(2);
if ( (synpred10_InternalXTest()) ) {
alt36=1;
}
}
else if ( (LA36_0==38) ) {
int LA36_3 = input.LA(2);
if ( (synpred10_InternalXTest()) ) {
alt36=1;
}
}
switch (alt36) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1868:6: ( () ( ( ruleOpEquality ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1868:7: () ( ( ruleOpEquality ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1868:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1869:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1874:2: ( ( ruleOpEquality ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1875:1: ( ruleOpEquality )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1875:1: ( ruleOpEquality )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1876: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_ruleXEqualityExpression4255);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1889:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1890:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1890:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1891:3: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression4278);
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 loop36;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1915: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1916:2: (iv_ruleOpEquality= ruleOpEquality EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1917:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality4317);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality4328); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1924:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1927:28: ( (kw= '==' | kw= '!=' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1928:1: (kw= '==' | kw= '!=' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1928:1: (kw= '==' | kw= '!=' )
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==37) ) {
alt37=1;
}
else if ( (LA37_0==38) ) {
alt37=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 37, 0, input);
throw nvae;
}
switch (alt37) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1929:2: kw= '=='
{
kw=(Token)match(input,37,FOLLOW_37_in_ruleOpEquality4366); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1936:2: kw= '!='
{
kw=(Token)match(input,38,FOLLOW_38_in_ruleOpEquality4385); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleXRelationalExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1949: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1950:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1951:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression4425);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression4435); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1958: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1961:28: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1962:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1962:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1963: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_ruleXRelationalExpression4482);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop38:
do {
int alt38=3;
switch ( input.LA(1) ) {
case 28:
{
int LA38_2 = input.LA(2);
if ( (synpred12_InternalXTest()) ) {
alt38=2;
}
}
break;
case 26:
{
int LA38_3 = input.LA(2);
if ( (synpred12_InternalXTest()) ) {
alt38=2;
}
}
break;
case 39:
{
int LA38_4 = input.LA(2);
if ( (synpred11_InternalXTest()) ) {
alt38=1;
}
}
break;
case 40:
{
int LA38_5 = input.LA(2);
if ( (synpred12_InternalXTest()) ) {
alt38=2;
}
}
break;
case 41:
{
int LA38_6 = input.LA(2);
if ( (synpred12_InternalXTest()) ) {
alt38=2;
}
}
break;
}
switch (alt38) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1973:5: ( () otherlv_2= 'instanceof' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1973:6: () otherlv_2= 'instanceof'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1973:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1974:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,39,FOLLOW_39_in_ruleXRelationalExpression4518); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1983:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1984:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1984:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1985:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression4541);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2007:6: ( () ( ( ruleOpCompare ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2007:7: () ( ( ruleOpCompare ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2007:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2008:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2013:2: ( ( ruleOpCompare ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2014:1: ( ruleOpCompare )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2014:1: ( ruleOpCompare )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2015: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_ruleXRelationalExpression4602);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2028:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2029:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2029:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2030:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4625);
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 loop38;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2054: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2055:2: (iv_ruleOpCompare= ruleOpCompare EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2056:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare4665);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare4676); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2063:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2066:28: ( (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2067:1: (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2067:1: (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' )
int alt39=4;
switch ( input.LA(1) ) {
case 40:
{
alt39=1;
}
break;
case 41:
{
alt39=2;
}
break;
case 28:
{
alt39=3;
}
break;
case 26:
{
alt39=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2068:2: kw= '>='
{
kw=(Token)match(input,40,FOLLOW_40_in_ruleOpCompare4714); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2075:2: kw= '<='
{
kw=(Token)match(input,41,FOLLOW_41_in_ruleOpCompare4733); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2082:2: kw= '>'
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleOpCompare4752); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2089:2: kw= '<'
{
kw=(Token)match(input,26,FOLLOW_26_in_ruleOpCompare4771); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2102: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2103:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2104:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression4811);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression4821); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2111: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2114:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2115:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2115:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2116: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_ruleXOtherOperatorExpression4868);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop40:
do {
int alt40=2;
alt40 = dfa40.predict(input);
switch (alt40) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2129:6: ( () ( ( ruleOpOther ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2129:7: () ( ( ruleOpOther ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2129:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2130:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2135:2: ( ( ruleOpOther ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2136:1: ( ruleOpOther )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2136:1: ( ruleOpOther )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2137: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_ruleXOtherOperatorExpression4921);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2150:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2151:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2151:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2152:3: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4944);
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 loop40;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2176: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2177:2: (iv_ruleOpOther= ruleOpOther EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2178:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther4983);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther4994); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2185:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2188:28: ( (kw= '->' | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' ) ) | kw= '<>' | kw= '?:' | kw= '<=>' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2189:1: (kw= '->' | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' ) ) | kw= '<>' | kw= '?:' | kw= '<=>' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2189:1: (kw= '->' | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' ) ) | kw= '<>' | kw= '?:' | kw= '<=>' )
int alt43=8;
switch ( input.LA(1) ) {
case 42:
{
alt43=1;
}
break;
case 43:
{
alt43=2;
}
break;
case 44:
{
alt43=3;
}
break;
case 28:
{
alt43=4;
}
break;
case 26:
{
alt43=5;
}
break;
case 45:
{
alt43=6;
}
break;
case 46:
{
alt43=7;
}
break;
case 47:
{
alt43=8;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 0, input);
throw nvae;
}
switch (alt43) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2190:2: kw= '->'
{
kw=(Token)match(input,42,FOLLOW_42_in_ruleOpOther5032); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2197:2: kw= '..'
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOther5051); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_1());
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2204:2: kw= '=>'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpOther5070); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2210:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2210:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2211:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleOpOther5090); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_3_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==28) ) {
int LA41_1 = input.LA(2);
if ( (LA41_1==28) && (synpred14_InternalXTest())) {
alt41=1;
}
else if ( (LA41_1==EOF||(LA41_1>=RULE_ID && LA41_1<=RULE_DECIMAL)||LA41_1==15||(LA41_1>=20 && LA41_1<=22)||(LA41_1>=25 && LA41_1<=26)||LA41_1==29||LA41_1==32||(LA41_1>=48 && LA41_1<=49)||LA41_1==53||LA41_1==57||LA41_1==60||(LA41_1>=62 && LA41_1<=63)||(LA41_1>=67 && LA41_1<=69)||LA41_1==72||(LA41_1>=74 && LA41_1<=81)) ) {
alt41=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2220:5: (kw= '>' kw= '>' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2221:2: kw= '>' kw= '>'
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleOpOther5121); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_3_1_0_0_0());
}
kw=(Token)match(input,28,FOLLOW_28_in_ruleOpOther5134); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_3_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2234:2: kw= '>'
{
kw=(Token)match(input,28,FOLLOW_28_in_ruleOpOther5155); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_3_1_1());
}
}
break;
}
}
}
break;
case 5 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2240:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2240:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2241:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' )
{
kw=(Token)match(input,26,FOLLOW_26_in_ruleOpOther5177); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_4_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' )
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==26) ) {
int LA42_1 = input.LA(2);
if ( (synpred15_InternalXTest()) ) {
alt42=1;
}
else if ( (true) ) {
alt42=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 42, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2250:5: (kw= '<' kw= '<' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2251:2: kw= '<' kw= '<'
{
kw=(Token)match(input,26,FOLLOW_26_in_ruleOpOther5208); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_4_1_0_0_0());
}
kw=(Token)match(input,26,FOLLOW_26_in_ruleOpOther5221); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_4_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2264:2: kw= '<'
{
kw=(Token)match(input,26,FOLLOW_26_in_ruleOpOther5242); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_4_1_1());
}
}
break;
}
}
}
break;
case 6 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2271:2: kw= '<>'
{
kw=(Token)match(input,45,FOLLOW_45_in_ruleOpOther5263); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_5());
}
}
break;
case 7 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2278:2: kw= '?:'
{
kw=(Token)match(input,46,FOLLOW_46_in_ruleOpOther5282); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_6());
}
}
break;
case 8 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2285:2: kw= '<=>'
{
kw=(Token)match(input,47,FOLLOW_47_in_ruleOpOther5301); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_7());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOther"
// $ANTLR start "entryRuleXAdditiveExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2298: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2299:2: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2300:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionRule());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression5341);
iv_ruleXAdditiveExpression=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAdditiveExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression5351); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAdditiveExpression"
// $ANTLR start "ruleXAdditiveExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2307: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2310:28: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2311:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2311:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2312: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_ruleXAdditiveExpression5398);
this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:1: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
loop44:
do {
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==48) ) {
int LA44_2 = input.LA(2);
if ( (synpred16_InternalXTest()) ) {
alt44=1;
}
}
else if ( (LA44_0==49) ) {
int LA44_3 = input.LA(2);
if ( (synpred16_InternalXTest()) ) {
alt44=1;
}
}
switch (alt44) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:3: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2325:6: ( () ( ( ruleOpAdd ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2325:7: () ( ( ruleOpAdd ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2325:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2326:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2331:2: ( ( ruleOpAdd ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2332:1: ( ruleOpAdd )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2332:1: ( ruleOpAdd )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2333: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_ruleXAdditiveExpression5451);
ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2346:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2347:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2347:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2348:3: lv_rightOperand_3_0= ruleXMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression5474);
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 loop44;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2372: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2373:2: (iv_ruleOpAdd= ruleOpAdd EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2374:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd5513);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd5524); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2381: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2384:28: ( (kw= '+' | kw= '-' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2385:1: (kw= '+' | kw= '-' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2385:1: (kw= '+' | kw= '-' )
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==48) ) {
alt45=1;
}
else if ( (LA45_0==49) ) {
alt45=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 45, 0, input);
throw nvae;
}
switch (alt45) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2386:2: kw= '+'
{
kw=(Token)match(input,48,FOLLOW_48_in_ruleOpAdd5562); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2393:2: kw= '-'
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpAdd5581); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2406: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2407:2: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2408:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression5621);
iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMultiplicativeExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression5631); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMultiplicativeExpression"
// $ANTLR start "ruleXMultiplicativeExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2415: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2418:28: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2419:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2419:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2420: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_ruleXMultiplicativeExpression5678);
this_XUnaryOperation_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:1: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
loop46:
do {
int alt46=2;
switch ( input.LA(1) ) {
case 18:
{
int LA46_2 = input.LA(2);
if ( (synpred17_InternalXTest()) ) {
alt46=1;
}
}
break;
case 50:
{
int LA46_3 = input.LA(2);
if ( (synpred17_InternalXTest()) ) {
alt46=1;
}
}
break;
case 51:
{
int LA46_4 = input.LA(2);
if ( (synpred17_InternalXTest()) ) {
alt46=1;
}
}
break;
case 52:
{
int LA46_5 = input.LA(2);
if ( (synpred17_InternalXTest()) ) {
alt46=1;
}
}
break;
}
switch (alt46) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:3: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2433:6: ( () ( ( ruleOpMulti ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2433:7: () ( ( ruleOpMulti ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2433:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2434:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2439:2: ( ( ruleOpMulti ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2440:1: ( ruleOpMulti )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2440:1: ( ruleOpMulti )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2441: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_ruleXMultiplicativeExpression5731);
ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2454:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2455:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2455:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2456:3: lv_rightOperand_3_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5754);
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 loop46;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2480: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2481:2: (iv_ruleOpMulti= ruleOpMulti EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2482:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti5793);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti5804); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2489: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2492:28: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2493:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2493:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
int alt47=4;
switch ( input.LA(1) ) {
case 18:
{
alt47=1;
}
break;
case 50:
{
alt47=2;
}
break;
case 51:
{
alt47=3;
}
break;
case 52:
{
alt47=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2494:2: kw= '*'
{
kw=(Token)match(input,18,FOLLOW_18_in_ruleOpMulti5842); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2501:2: kw= '**'
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpMulti5861); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1());
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2508:2: kw= '/'
{
kw=(Token)match(input,51,FOLLOW_51_in_ruleOpMulti5880); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2());
}
}
break;
case 4 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2515:2: kw= '%'
{
kw=(Token)match(input,52,FOLLOW_52_in_ruleOpMulti5899); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2528: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2529:2: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2530:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationRule());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation5939);
iv_ruleXUnaryOperation=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXUnaryOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation5949); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXUnaryOperation"
// $ANTLR start "ruleXUnaryOperation"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2537:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) ) ) | 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2540:28: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2541:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2541:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
int alt48=2;
int LA48_0 = input.LA(1);
if ( ((LA48_0>=48 && LA48_0<=49)||LA48_0==53) ) {
alt48=1;
}
else if ( ((LA48_0>=RULE_ID && LA48_0<=RULE_DECIMAL)||LA48_0==15||(LA48_0>=20 && LA48_0<=22)||(LA48_0>=25 && LA48_0<=26)||LA48_0==29||LA48_0==32||LA48_0==57||LA48_0==60||(LA48_0>=62 && LA48_0<=63)||(LA48_0>=67 && LA48_0<=69)||LA48_0==72||(LA48_0>=74 && LA48_0<=81)) ) {
alt48=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 48, 0, input);
throw nvae;
}
switch (alt48) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2541:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2541:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2541:3: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXCastedExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2541:3: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2542:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2547:2: ( ( ruleOpUnary ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2548:1: ( ruleOpUnary )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2548:1: ( ruleOpUnary )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2549: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_ruleXUnaryOperation6007);
ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2562:2: ( (lv_operand_2_0= ruleXCastedExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2563:1: (lv_operand_2_0= ruleXCastedExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2563:1: (lv_operand_2_0= ruleXCastedExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2564:3: lv_operand_2_0= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXCastedExpressionParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation6028);
lv_operand_2_0=ruleXCastedExpression();
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,
"XCastedExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2582:5: this_XCastedExpression_3= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation6057);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2598: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2599:2: (iv_ruleOpUnary= ruleOpUnary EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2600:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary6093);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary6104); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2607: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2610:28: ( (kw= '!' | kw= '-' | kw= '+' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2611:1: (kw= '!' | kw= '-' | kw= '+' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2611:1: (kw= '!' | kw= '-' | kw= '+' )
int alt49=3;
switch ( input.LA(1) ) {
case 53:
{
alt49=1;
}
break;
case 49:
{
alt49=2;
}
break;
case 48:
{
alt49=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 49, 0, input);
throw nvae;
}
switch (alt49) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2612:2: kw= '!'
{
kw=(Token)match(input,53,FOLLOW_53_in_ruleOpUnary6142); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2619:2: kw= '-'
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpUnary6161); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2626:2: kw= '+'
{
kw=(Token)match(input,48,FOLLOW_48_in_ruleOpUnary6180); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2639: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2640:2: (iv_ruleXCastedExpression= ruleXCastedExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2641:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionRule());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression6220);
iv_ruleXCastedExpression=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCastedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression6230); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCastedExpression"
// $ANTLR start "ruleXCastedExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2648:1: ruleXCastedExpression returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ;
public final EObject ruleXCastedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XMemberFeatureCall_0 = null;
EObject lv_type_3_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2651:28: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2652:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2652:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2653:5: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXMemberFeatureCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_ruleXCastedExpression6277);
this_XMemberFeatureCall_0=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMemberFeatureCall_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:1: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
loop50:
do {
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==54) ) {
int LA50_2 = input.LA(2);
if ( (synpred18_InternalXTest()) ) {
alt50=1;
}
}
switch (alt50) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:3: ( ( () 'as' ) )=> ( () otherlv_2= 'as' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2663:5: ( () otherlv_2= 'as' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2663:6: () otherlv_2= 'as'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2663:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2664:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,54,FOLLOW_54_in_ruleXCastedExpression6312); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1());
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2673:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2674:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2674:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2675:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression6335);
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 loop50;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCastedExpression"
// $ANTLR start "entryRuleXMemberFeatureCall"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2699: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2700:2: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2701:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallRule());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall6373);
iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMemberFeatureCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall6383); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMemberFeatureCall"
// $ANTLR start "ruleXMemberFeatureCall"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2708:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? ) )* ) ;
public final EObject ruleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_7=null;
Token lv_nullSafe_8_0=null;
Token lv_spreading_9_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token lv_explicitOperationCall_16_0=null;
Token otherlv_19=null;
Token otherlv_21=null;
EObject this_XPrimaryExpression_0 = null;
EObject lv_value_5_0 = null;
EObject lv_typeArguments_11_0 = null;
EObject lv_typeArguments_13_0 = null;
EObject lv_memberCallArguments_17_0 = null;
EObject lv_memberCallArguments_18_0 = null;
EObject lv_memberCallArguments_20_0 = null;
EObject lv_memberCallArguments_22_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2711:28: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? ) )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2712:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2712:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2713:5: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXPrimaryExpression_in_ruleXMemberFeatureCall6430);
this_XPrimaryExpression_0=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:1: ( ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? ) )*
loop58:
do {
int alt58=3;
switch ( input.LA(1) ) {
case 17:
{
int LA58_2 = input.LA(2);
if ( (synpred19_InternalXTest()) ) {
alt58=1;
}
else if ( (synpred20_InternalXTest()) ) {
alt58=2;
}
}
break;
case 55:
{
int LA58_3 = input.LA(2);
if ( (synpred20_InternalXTest()) ) {
alt58=2;
}
}
break;
case 56:
{
int LA58_4 = input.LA(2);
if ( (synpred20_InternalXTest()) ) {
alt58=2;
}
}
break;
}
switch (alt58) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:2: ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:2: ( ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:3: ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) ) ( (lv_value_5_0= ruleXAssignment ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:3: ( ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:4: ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )=> ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2727:25: ( () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2727:26: () otherlv_2= '.' ( ( ruleValidID ) ) ruleOpSingleAssign
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2727:26: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2728:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,17,FOLLOW_17_in_ruleXMemberFeatureCall6479); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2737:1: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2738:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2738:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2739:3: ruleValidID
{
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_ruleValidID_in_ruleXMemberFeatureCall6502);
ruleValidID();
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_ruleXMemberFeatureCall6518);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2760:3: ( (lv_value_5_0= ruleXAssignment ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2761:1: (lv_value_5_0= ruleXAssignment )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2761:1: (lv_value_5_0= ruleXAssignment )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2762:3: lv_value_5_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall6540);
lv_value_5_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_5_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) ) (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )? ( ( ruleValidID ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )=> ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2795:7: ( () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2795:8: () (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2795:8: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2796:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2801:2: (otherlv_7= '.' | ( (lv_nullSafe_8_0= '?.' ) ) | ( (lv_spreading_9_0= '*.' ) ) )
int alt51=3;
switch ( input.LA(1) ) {
case 17:
{
alt51=1;
}
break;
case 55:
{
alt51=2;
}
break;
case 56:
{
alt51=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 51, 0, input);
throw nvae;
}
switch (alt51) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2801:4: otherlv_7= '.'
{
otherlv_7=(Token)match(input,17,FOLLOW_17_in_ruleXMemberFeatureCall6626); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2806:6: ( (lv_nullSafe_8_0= '?.' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2806:6: ( (lv_nullSafe_8_0= '?.' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2807:1: (lv_nullSafe_8_0= '?.' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2807:1: (lv_nullSafe_8_0= '?.' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2808:3: lv_nullSafe_8_0= '?.'
{
lv_nullSafe_8_0=(Token)match(input,55,FOLLOW_55_in_ruleXMemberFeatureCall6650); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nullSafe_8_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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2822:6: ( (lv_spreading_9_0= '*.' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2822:6: ( (lv_spreading_9_0= '*.' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2823:1: (lv_spreading_9_0= '*.' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2823:1: (lv_spreading_9_0= '*.' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2824:3: lv_spreading_9_0= '*.'
{
lv_spreading_9_0=(Token)match(input,56,FOLLOW_56_in_ruleXMemberFeatureCall6687); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_spreading_9_0, grammarAccess.getXMemberFeatureCallAccess().getSpreadingAsteriskFullStopKeyword_1_1_0_0_1_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "spreading", true, "*.");
}
}
}
}
break;
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2837:5: (otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>' )?
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==26) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2837:7: otherlv_10= '<' ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) ) (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )* otherlv_14= '>'
{
otherlv_10=(Token)match(input,26,FOLLOW_26_in_ruleXMemberFeatureCall6716); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2841:1: ( (lv_typeArguments_11_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2842:1: (lv_typeArguments_11_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2842:1: (lv_typeArguments_11_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2843:3: lv_typeArguments_11_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6737);
lv_typeArguments_11_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_11_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2859:2: (otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) ) )*
loop52:
do {
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==27) ) {
alt52=1;
}
switch (alt52) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2859:4: otherlv_12= ',' ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) )
{
otherlv_12=(Token)match(input,27,FOLLOW_27_in_ruleXMemberFeatureCall6750); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2863:1: ( (lv_typeArguments_13_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2864:1: (lv_typeArguments_13_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2864:1: (lv_typeArguments_13_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2865:3: lv_typeArguments_13_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6771);
lv_typeArguments_13_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_13_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop52;
}
} while (true);
otherlv_14=(Token)match(input,28,FOLLOW_28_in_ruleXMemberFeatureCall6785); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2885:3: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2886:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2886:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2887:3: ruleValidID
{
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_ruleValidID_in_ruleXMemberFeatureCall6810);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2900:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )?
int alt56=2;
alt56 = dfa56.predict(input);
switch (alt56) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2900:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2900:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2900:4: ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2907:1: (lv_explicitOperationCall_16_0= '(' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2908:3: lv_explicitOperationCall_16_0= '('
{
lv_explicitOperationCall_16_0=(Token)match(input,29,FOLLOW_29_in_ruleXMemberFeatureCall6844); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_16_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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )?
int alt55=3;
alt55 = dfa55.predict(input);
switch (alt55) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2938:1: (lv_memberCallArguments_17_0= ruleXShortClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2939:3: lv_memberCallArguments_17_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall6929);
lv_memberCallArguments_17_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_17_0,
"XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2956:6: ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2956:6: ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2956:7: ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2956:7: ( (lv_memberCallArguments_18_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2957:1: (lv_memberCallArguments_18_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2957:1: (lv_memberCallArguments_18_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2958:3: lv_memberCallArguments_18_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6957);
lv_memberCallArguments_18_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_18_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2974:2: (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )*
loop54:
do {
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==27) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2974:4: otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) )
{
otherlv_19=(Token)match(input,27,FOLLOW_27_in_ruleXMemberFeatureCall6970); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_19, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2978:1: ( (lv_memberCallArguments_20_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2979:1: (lv_memberCallArguments_20_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2979:1: (lv_memberCallArguments_20_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2980:3: lv_memberCallArguments_20_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6991);
lv_memberCallArguments_20_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_20_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop54;
}
} while (true);
}
}
break;
}
otherlv_21=(Token)match(input,30,FOLLOW_30_in_ruleXMemberFeatureCall7008); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_21, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )?
int alt57=2;
alt57 = dfa57.predict(input);
switch (alt57) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:4: ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3003:1: (lv_memberCallArguments_22_0= ruleXClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3004:3: lv_memberCallArguments_22_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall7043);
lv_memberCallArguments_22_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_22_0,
"XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
break;
default :
break loop58;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMemberFeatureCall"
// $ANTLR start "entryRuleXLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3028: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3029:2: (iv_ruleXLiteral= ruleXLiteral EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3030:2: iv_ruleXLiteral= ruleXLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralRule());
}
pushFollow(FOLLOW_ruleXLiteral_in_entryRuleXLiteral7083);
iv_ruleXLiteral=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXLiteral7093); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXLiteral"
// $ANTLR start "ruleXLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3037:1: ruleXLiteral returns [EObject current=null] : ( ( ( ( () '[' ) )=>this_XClosure_0= ruleXClosure ) | this_XBooleanLiteral_1= ruleXBooleanLiteral | this_XNumberLiteral_2= ruleXNumberLiteral | this_XNullLiteral_3= ruleXNullLiteral | this_XStringLiteral_4= ruleXStringLiteral | this_XTypeLiteral_5= ruleXTypeLiteral ) ;
public final EObject ruleXLiteral() throws RecognitionException {
EObject current = null;
EObject this_XClosure_0 = null;
EObject this_XBooleanLiteral_1 = null;
EObject this_XNumberLiteral_2 = null;
EObject this_XNullLiteral_3 = null;
EObject this_XStringLiteral_4 = null;
EObject this_XTypeLiteral_5 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3040:28: ( ( ( ( ( () '[' ) )=>this_XClosure_0= ruleXClosure ) | this_XBooleanLiteral_1= ruleXBooleanLiteral | this_XNumberLiteral_2= ruleXNumberLiteral | this_XNullLiteral_3= ruleXNullLiteral | this_XStringLiteral_4= ruleXStringLiteral | this_XTypeLiteral_5= ruleXTypeLiteral ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:1: ( ( ( ( () '[' ) )=>this_XClosure_0= ruleXClosure ) | this_XBooleanLiteral_1= ruleXBooleanLiteral | this_XNumberLiteral_2= ruleXNumberLiteral | this_XNullLiteral_3= ruleXNullLiteral | this_XStringLiteral_4= ruleXStringLiteral | this_XTypeLiteral_5= ruleXTypeLiteral )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:1: ( ( ( ( () '[' ) )=>this_XClosure_0= ruleXClosure ) | this_XBooleanLiteral_1= ruleXBooleanLiteral | this_XNumberLiteral_2= ruleXNumberLiteral | this_XNullLiteral_3= ruleXNullLiteral | this_XStringLiteral_4= ruleXStringLiteral | this_XTypeLiteral_5= ruleXTypeLiteral )
int alt59=6;
int LA59_0 = input.LA(1);
if ( (LA59_0==57) && (synpred24_InternalXTest())) {
alt59=1;
}
else if ( ((LA59_0>=75 && LA59_0<=76)) ) {
alt59=2;
}
else if ( ((LA59_0>=RULE_HEX && LA59_0<=RULE_DECIMAL)) ) {
alt59=3;
}
else if ( (LA59_0==77) ) {
alt59=4;
}
else if ( (LA59_0==RULE_STRING) ) {
alt59=5;
}
else if ( (LA59_0==78) ) {
alt59=6;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 59, 0, input);
throw nvae;
}
switch (alt59) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:2: ( ( ( () '[' ) )=>this_XClosure_0= ruleXClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:2: ( ( ( () '[' ) )=>this_XClosure_0= ruleXClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:3: ( ( () '[' ) )=>this_XClosure_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXLiteral7153);
this_XClosure_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XClosure_0;
afterParserOrEnumRuleCall();
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3054:5: this_XBooleanLiteral_1= ruleXBooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral7181);
this_XBooleanLiteral_1=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBooleanLiteral_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3064:5: this_XNumberLiteral_2= ruleXNumberLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_2());
}
pushFollow(FOLLOW_ruleXNumberLiteral_in_ruleXLiteral7208);
this_XNumberLiteral_2=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNumberLiteral_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3074:5: this_XNullLiteral_3= ruleXNullLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_3());
}
pushFollow(FOLLOW_ruleXNullLiteral_in_ruleXLiteral7235);
this_XNullLiteral_3=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNullLiteral_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3084:5: this_XStringLiteral_4= ruleXStringLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_4());
}
pushFollow(FOLLOW_ruleXStringLiteral_in_ruleXLiteral7262);
this_XStringLiteral_4=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XStringLiteral_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3094:5: this_XTypeLiteral_5= ruleXTypeLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_ruleXTypeLiteral_in_ruleXLiteral7289);
this_XTypeLiteral_5=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTypeLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXLiteral"
// $ANTLR start "entryRuleXClosure"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3110: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3111:2: (iv_ruleXClosure= ruleXClosure EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3112:2: iv_ruleXClosure= ruleXClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureRule());
}
pushFollow(FOLLOW_ruleXClosure_in_entryRuleXClosure7324);
iv_ruleXClosure=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXClosure7334); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXClosure"
// $ANTLR start "ruleXClosure"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3119: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3122: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3123: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3123: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3123: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3123:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3123:3: ( ( () '[' ) )=> ( () otherlv_1= '[' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3125:5: ( () otherlv_1= '[' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3125:6: () otherlv_1= '['
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3125:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3126:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,57,FOLLOW_57_in_ruleXClosure7394); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1());
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?
int alt62=2;
alt62 = dfa62.predict(input);
switch (alt62) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3150:6: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3150:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3150:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )?
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==RULE_ID||LA61_0==29||LA61_0==44) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3150:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3150:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3151:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3151:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3152:3: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXClosure7467);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3168:2: (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
loop60:
do {
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==27) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3168:4: otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
{
otherlv_3=(Token)match(input,27,FOLLOW_27_in_ruleXClosure7480); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3172:1: ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3173:1: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3173:1: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3174:3: lv_declaredFormalParameters_4_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXClosure7501);
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 loop60;
}
} while (true);
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3190:6: ( (lv_explicitSyntax_5_0= '|' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3191:1: (lv_explicitSyntax_5_0= '|' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3191:1: (lv_explicitSyntax_5_0= '|' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3192:3: lv_explicitSyntax_5_0= '|'
{
lv_explicitSyntax_5_0=(Token)match(input,58,FOLLOW_58_in_ruleXClosure7523); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3205:5: ( (lv_expression_6_0= ruleXExpressionInClosure ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3206:1: (lv_expression_6_0= ruleXExpressionInClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3206:1: (lv_expression_6_0= ruleXExpressionInClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3207:3: lv_expression_6_0= ruleXExpressionInClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getExpressionXExpressionInClosureParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpressionInClosure_in_ruleXClosure7560);
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,59,FOLLOW_59_in_ruleXClosure7572); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3235: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3236:2: (iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3237:2: iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureRule());
}
pushFollow(FOLLOW_ruleXExpressionInClosure_in_entryRuleXExpressionInClosure7608);
iv_ruleXExpressionInClosure=ruleXExpressionInClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionInClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpressionInClosure7618); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionInClosure"
// $ANTLR start "ruleXExpressionInClosure"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3244:1: ruleXExpressionInClosure returns [EObject current=null] : ( () ( ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )? )* ) ;
public final EObject ruleXExpressionInClosure() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject lv_expressions_1_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3247:28: ( ( () ( ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )? )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3248:1: ( () ( ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )? )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3248:1: ( () ( ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )? )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3248:2: () ( ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )? )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3248:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3249:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXExpressionInClosureAccess().getXBlockExpressionAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3254:2: ( ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )? )*
loop64:
do {
int alt64=2;
int LA64_0 = input.LA(1);
if ( ((LA64_0>=RULE_ID && LA64_0<=RULE_DECIMAL)||LA64_0==15||(LA64_0>=20 && LA64_0<=22)||(LA64_0>=25 && LA64_0<=26)||LA64_0==29||LA64_0==32||(LA64_0>=48 && LA64_0<=49)||LA64_0==53||LA64_0==57||LA64_0==60||(LA64_0>=62 && LA64_0<=63)||(LA64_0>=67 && LA64_0<=72)||(LA64_0>=74 && LA64_0<=81)) ) {
alt64=1;
}
switch (alt64) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3254:3: ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) ) (otherlv_2= ';' )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3254:3: ( (lv_expressions_1_0= ruleXExpressionInsideBlock ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3255:1: (lv_expressions_1_0= ruleXExpressionInsideBlock )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3255:1: (lv_expressions_1_0= ruleXExpressionInsideBlock )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3256:3: lv_expressions_1_0= ruleXExpressionInsideBlock
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureAccess().getExpressionsXExpressionInsideBlockParserRuleCall_1_0_0());
}
pushFollow(FOLLOW_ruleXExpressionInsideBlock_in_ruleXExpressionInClosure7674);
lv_expressions_1_0=ruleXExpressionInsideBlock();
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,
"XExpressionInsideBlock");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3272:2: (otherlv_2= ';' )?
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==13) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3272:4: otherlv_2= ';'
{
otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleXExpressionInClosure7687); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1());
}
}
break;
}
}
break;
default :
break loop64;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionInClosure"
// $ANTLR start "entryRuleXShortClosure"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3284: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3285:2: (iv_ruleXShortClosure= ruleXShortClosure EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3286:2: iv_ruleXShortClosure= ruleXShortClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureRule());
}
pushFollow(FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure7727);
iv_ruleXShortClosure=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXShortClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXShortClosure7737); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXShortClosure"
// $ANTLR start "ruleXShortClosure"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3293: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3296: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3297: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3297: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3297: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3297:2: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3297:3: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3313:6: ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3313:7: () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3313:7: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3314:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3319:2: ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )?
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==RULE_ID||LA66_0==29||LA66_0==44) ) {
alt66=1;
}
switch (alt66) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3319:3: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3319:3: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3320:1: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3320:1: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3321:3: lv_declaredFormalParameters_1_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure7845);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3337:2: (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
loop65:
do {
int alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==27) ) {
alt65=1;
}
switch (alt65) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3337:4: otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
{
otherlv_2=(Token)match(input,27,FOLLOW_27_in_ruleXShortClosure7858); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXShortClosureAccess().getCommaKeyword_0_0_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3341:1: ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3342:1: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3342:1: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3343:3: lv_declaredFormalParameters_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure7879);
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 loop65;
}
} while (true);
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3359:6: ( (lv_explicitSyntax_4_0= '|' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3360:1: (lv_explicitSyntax_4_0= '|' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3360:1: (lv_explicitSyntax_4_0= '|' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3361:3: lv_explicitSyntax_4_0= '|'
{
lv_explicitSyntax_4_0=(Token)match(input,58,FOLLOW_58_in_ruleXShortClosure7901); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3374:4: ( (lv_expression_5_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3375:1: (lv_expression_5_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3375:1: (lv_expression_5_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3376:3: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXShortClosure7937);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3400: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3401:2: (iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3402:2: iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXParenthesizedExpressionRule());
}
pushFollow(FOLLOW_ruleXParenthesizedExpression_in_entryRuleXParenthesizedExpression7973);
iv_ruleXParenthesizedExpression=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXParenthesizedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXParenthesizedExpression7983); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXParenthesizedExpression"
// $ANTLR start "ruleXParenthesizedExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3409: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3412:28: ( (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3413:1: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3413:1: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3413:3: otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')'
{
otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleXParenthesizedExpression8020); 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_ruleXParenthesizedExpression8042);
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,30,FOLLOW_30_in_ruleXParenthesizedExpression8053); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3438: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3439:2: (iv_ruleXIfExpression= ruleXIfExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3440:2: iv_ruleXIfExpression= ruleXIfExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionRule());
}
pushFollow(FOLLOW_ruleXIfExpression_in_entryRuleXIfExpression8089);
iv_ruleXIfExpression=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXIfExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXIfExpression8099); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXIfExpression"
// $ANTLR start "ruleXIfExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3447: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3450: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3451: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3451: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3451: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3451:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3452:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXIfExpressionAccess().getXIfExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,60,FOLLOW_60_in_ruleXIfExpression8145); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXIfExpressionAccess().getIfKeyword_1());
}
otherlv_2=(Token)match(input,29,FOLLOW_29_in_ruleXIfExpression8157); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXIfExpressionAccess().getLeftParenthesisKeyword_2());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3465:1: ( (lv_if_3_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3466:1: (lv_if_3_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3466:1: (lv_if_3_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3467:3: lv_if_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getIfXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXIfExpression8178);
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,30,FOLLOW_30_in_ruleXIfExpression8190); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXIfExpressionAccess().getRightParenthesisKeyword_4());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3487:1: ( (lv_then_5_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3488:1: (lv_then_5_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3488:1: (lv_then_5_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3489:3: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getThenXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXIfExpression8211);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3505:2: ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )?
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==61) ) {
int LA67_1 = input.LA(2);
if ( (synpred28_InternalXTest()) ) {
alt67=1;
}
}
switch (alt67) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3505:3: ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3505:3: ( ( 'else' )=>otherlv_6= 'else' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3505:4: ( 'else' )=>otherlv_6= 'else'
{
otherlv_6=(Token)match(input,61,FOLLOW_61_in_ruleXIfExpression8232); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXIfExpressionAccess().getElseKeyword_6_0());
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3510:2: ( (lv_else_7_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3511:1: (lv_else_7_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3511:1: (lv_else_7_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3512:3: lv_else_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getElseXExpressionParserRuleCall_6_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXIfExpression8254);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3536: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3537:2: (iv_ruleXSwitchExpression= ruleXSwitchExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3538:2: iv_ruleXSwitchExpression= ruleXSwitchExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionRule());
}
pushFollow(FOLLOW_ruleXSwitchExpression_in_entryRuleXSwitchExpression8292);
iv_ruleXSwitchExpression=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSwitchExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXSwitchExpression8302); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSwitchExpression"
// $ANTLR start "ruleXSwitchExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3545:1: ruleXSwitchExpression returns [EObject current=null] : ( () otherlv_1= 'switch' ( ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) ) | ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' ) ) 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_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
AntlrDatatypeRuleToken lv_localVarName_2_0 = null;
EObject lv_switch_4_0 = null;
AntlrDatatypeRuleToken lv_localVarName_6_0 = null;
EObject lv_switch_8_0 = null;
EObject lv_cases_11_0 = null;
EObject lv_default_14_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3548:28: ( ( () otherlv_1= 'switch' ( ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) ) | ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )+ (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3549:1: ( () otherlv_1= 'switch' ( ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) ) | ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )+ (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3549:1: ( () otherlv_1= 'switch' ( ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) ) | ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )+ (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3549:2: () otherlv_1= 'switch' ( ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) ) | ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )+ (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3549:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3550:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,62,FOLLOW_62_in_ruleXSwitchExpression8348); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:1: ( ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) ) | ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' ) )
int alt69=2;
int LA69_0 = input.LA(1);
if ( ((LA69_0>=RULE_ID && LA69_0<=RULE_DECIMAL)||LA69_0==15||(LA69_0>=20 && LA69_0<=22)||(LA69_0>=25 && LA69_0<=26)||LA69_0==32||(LA69_0>=48 && LA69_0<=49)||LA69_0==53||LA69_0==57||LA69_0==60||(LA69_0>=62 && LA69_0<=63)||(LA69_0>=67 && LA69_0<=69)||LA69_0==72||(LA69_0>=74 && LA69_0<=81)) ) {
alt69=1;
}
else if ( (LA69_0==29) ) {
int LA69_2 = input.LA(2);
if ( (LA69_2==RULE_ID) ) {
int LA69_3 = input.LA(3);
if ( ((LA69_3>=17 && LA69_3<=18)||LA69_3==26||(LA69_3>=28 && LA69_3<=31)||(LA69_3>=33 && LA69_3<=52)||(LA69_3>=54 && LA69_3<=57)||LA69_3==73) ) {
alt69=1;
}
else if ( (LA69_3==19) && (synpred30_InternalXTest())) {
alt69=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 69, 3, input);
throw nvae;
}
}
else if ( ((LA69_2>=RULE_STRING && LA69_2<=RULE_DECIMAL)||LA69_2==15||(LA69_2>=20 && LA69_2<=22)||(LA69_2>=25 && LA69_2<=26)||LA69_2==29||LA69_2==32||(LA69_2>=48 && LA69_2<=49)||LA69_2==53||LA69_2==57||LA69_2==60||(LA69_2>=62 && LA69_2<=63)||(LA69_2>=67 && LA69_2<=69)||LA69_2==72||(LA69_2>=74 && LA69_2<=81)) ) {
alt69=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 69, 2, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 69, 0, input);
throw nvae;
}
switch (alt69) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:2: ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:2: ( ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:3: ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )? ( (lv_switch_4_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:3: ( ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' ) )?
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==RULE_ID) ) {
int LA68_1 = input.LA(2);
if ( (LA68_1==19) && (synpred29_InternalXTest())) {
alt68=1;
}
}
switch (alt68) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:4: ( ( ( ( ruleValidID ) ) ':' ) )=> ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3564:5: ( ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3564:6: ( (lv_localVarName_2_0= ruleValidID ) ) otherlv_3= ':'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3564:6: ( (lv_localVarName_2_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3565:1: (lv_localVarName_2_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3565:1: (lv_localVarName_2_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3566:3: lv_localVarName_2_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getLocalVarNameValidIDParserRuleCall_2_0_0_0_0_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXSwitchExpression8391);
lv_localVarName_2_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"localVarName",
lv_localVarName_2_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,19,FOLLOW_19_in_ruleXSwitchExpression8403); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1());
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3586:4: ( (lv_switch_4_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3587:1: (lv_switch_4_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3587:1: (lv_switch_4_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3588:3: lv_switch_4_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSwitchExpression8427);
lv_switch_4_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_4_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:6: ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:6: ( ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:7: ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) ) ( (lv_switch_8_0= ruleXExpression ) ) otherlv_9= ')'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:7: ( ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:8: ( ( '(' ( ( ruleValidID ) ) ':' ) )=> (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3611:5: (otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3611:7: otherlv_5= '(' ( (lv_localVarName_6_0= ruleValidID ) ) otherlv_7= ':'
{
otherlv_5=(Token)match(input,29,FOLLOW_29_in_ruleXSwitchExpression8471); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3615:1: ( (lv_localVarName_6_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3616:1: (lv_localVarName_6_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3616:1: (lv_localVarName_6_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3617:3: lv_localVarName_6_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getLocalVarNameValidIDParserRuleCall_2_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXSwitchExpression8492);
lv_localVarName_6_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"localVarName",
lv_localVarName_6_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,19,FOLLOW_19_in_ruleXSwitchExpression8504); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2());
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3637:3: ( (lv_switch_8_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3638:1: (lv_switch_8_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3638:1: (lv_switch_8_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3639:3: lv_switch_8_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSwitchExpression8527);
lv_switch_8_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_8_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_9=(Token)match(input,30,FOLLOW_30_in_ruleXSwitchExpression8539); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2());
}
}
}
break;
}
otherlv_10=(Token)match(input,63,FOLLOW_63_in_ruleXSwitchExpression8553); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXSwitchExpressionAccess().getLeftCurlyBracketKeyword_3());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3663:1: ( (lv_cases_11_0= ruleXCasePart ) )+
int cnt70=0;
loop70:
do {
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==RULE_ID||LA70_0==19||LA70_0==29||LA70_0==44||LA70_0==66) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3664:1: (lv_cases_11_0= ruleXCasePart )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3664:1: (lv_cases_11_0= ruleXCasePart )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3665:3: lv_cases_11_0= ruleXCasePart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getCasesXCasePartParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleXCasePart_in_ruleXSwitchExpression8574);
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 :
if ( cnt70 >= 1 ) break loop70;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(70, input);
throw eee;
}
cnt70++;
} while (true);
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3681:3: (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )?
int alt71=2;
int LA71_0 = input.LA(1);
if ( (LA71_0==64) ) {
alt71=1;
}
switch (alt71) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3681:5: otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) )
{
otherlv_12=(Token)match(input,64,FOLLOW_64_in_ruleXSwitchExpression8588); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0());
}
otherlv_13=(Token)match(input,19,FOLLOW_19_in_ruleXSwitchExpression8600); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3689:1: ( (lv_default_14_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3690:1: (lv_default_14_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3690:1: (lv_default_14_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3691:3: lv_default_14_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDefaultXExpressionParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSwitchExpression8621);
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,65,FOLLOW_65_in_ruleXSwitchExpression8635); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3719: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3720:2: (iv_ruleXCasePart= ruleXCasePart EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3721:2: iv_ruleXCasePart= ruleXCasePart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartRule());
}
pushFollow(FOLLOW_ruleXCasePart_in_entryRuleXCasePart8671);
iv_ruleXCasePart=ruleXCasePart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCasePart;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCasePart8681); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCasePart"
// $ANTLR start "ruleXCasePart"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3728:1: ruleXCasePart returns [EObject current=null] : ( ( (lv_typeGuard_0_0= ruleJvmTypeReference ) )? (otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) ) )? otherlv_3= ':' ( (lv_then_4_0= ruleXExpression ) ) ) ;
public final EObject ruleXCasePart() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
EObject lv_typeGuard_0_0 = null;
EObject lv_case_2_0 = null;
EObject lv_then_4_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3731:28: ( ( ( (lv_typeGuard_0_0= ruleJvmTypeReference ) )? (otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) ) )? otherlv_3= ':' ( (lv_then_4_0= ruleXExpression ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3732:1: ( ( (lv_typeGuard_0_0= ruleJvmTypeReference ) )? (otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) ) )? otherlv_3= ':' ( (lv_then_4_0= ruleXExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3732:1: ( ( (lv_typeGuard_0_0= ruleJvmTypeReference ) )? (otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) ) )? otherlv_3= ':' ( (lv_then_4_0= ruleXExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3732:2: ( (lv_typeGuard_0_0= ruleJvmTypeReference ) )? (otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) ) )? otherlv_3= ':' ( (lv_then_4_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3732:2: ( (lv_typeGuard_0_0= ruleJvmTypeReference ) )?
int alt72=2;
int LA72_0 = input.LA(1);
if ( (LA72_0==RULE_ID||LA72_0==29||LA72_0==44) ) {
alt72=1;
}
switch (alt72) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3733:1: (lv_typeGuard_0_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3733:1: (lv_typeGuard_0_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3734:3: lv_typeGuard_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getTypeGuardJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCasePart8727);
lv_typeGuard_0_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_0_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3750:3: (otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) ) )?
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==66) ) {
alt73=1;
}
switch (alt73) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3750:5: otherlv_1= 'case' ( (lv_case_2_0= ruleXExpression ) )
{
otherlv_1=(Token)match(input,66,FOLLOW_66_in_ruleXCasePart8741); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXCasePartAccess().getCaseKeyword_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3754:1: ( (lv_case_2_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3755:1: (lv_case_2_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3755:1: (lv_case_2_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3756:3: lv_case_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getCaseXExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXCasePart8762);
lv_case_2_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_2_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_3=(Token)match(input,19,FOLLOW_19_in_ruleXCasePart8776); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXCasePartAccess().getColonKeyword_2());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3776:1: ( (lv_then_4_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3777:1: (lv_then_4_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3777:1: (lv_then_4_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3778:3: lv_then_4_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getThenXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXCasePart8797);
lv_then_4_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_4_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCasePart"
// $ANTLR start "entryRuleXForLoopExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3802: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3803:2: (iv_ruleXForLoopExpression= ruleXForLoopExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3804:2: iv_ruleXForLoopExpression= ruleXForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionRule());
}
pushFollow(FOLLOW_ruleXForLoopExpression_in_entryRuleXForLoopExpression8833);
iv_ruleXForLoopExpression=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXForLoopExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXForLoopExpression8843); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXForLoopExpression"
// $ANTLR start "ruleXForLoopExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3811:1: ruleXForLoopExpression returns [EObject current=null] : ( () 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3814:28: ( ( () 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3815:1: ( () 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3815:1: ( () 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3815:2: () 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3815:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3816:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXForLoopExpressionAccess().getXForLoopExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,67,FOLLOW_67_in_ruleXForLoopExpression8889); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXForLoopExpressionAccess().getForKeyword_1());
}
otherlv_2=(Token)match(input,29,FOLLOW_29_in_ruleXForLoopExpression8901); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXForLoopExpressionAccess().getLeftParenthesisKeyword_2());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3829:1: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3830:1: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3830:1: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3831:3: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXForLoopExpression8922);
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,19,FOLLOW_19_in_ruleXForLoopExpression8934); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXForLoopExpressionAccess().getColonKeyword_4());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3851:1: ( (lv_forExpression_5_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3852:1: (lv_forExpression_5_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3852:1: (lv_forExpression_5_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3853:3: lv_forExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXForLoopExpression8955);
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,30,FOLLOW_30_in_ruleXForLoopExpression8967); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXForLoopExpressionAccess().getRightParenthesisKeyword_6());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3873:1: ( (lv_eachExpression_7_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3874:1: (lv_eachExpression_7_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3874:1: (lv_eachExpression_7_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3875:3: lv_eachExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_7_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXForLoopExpression8988);
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 "entryRuleXWhileExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3899: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3900:2: (iv_ruleXWhileExpression= ruleXWhileExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3901:2: iv_ruleXWhileExpression= ruleXWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionRule());
}
pushFollow(FOLLOW_ruleXWhileExpression_in_entryRuleXWhileExpression9024);
iv_ruleXWhileExpression=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXWhileExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXWhileExpression9034); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXWhileExpression"
// $ANTLR start "ruleXWhileExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3908: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3911:28: ( ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3912:1: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3912:1: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3912:2: () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3912:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3913:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXWhileExpressionAccess().getXWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,68,FOLLOW_68_in_ruleXWhileExpression9080); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXWhileExpressionAccess().getWhileKeyword_1());
}
otherlv_2=(Token)match(input,29,FOLLOW_29_in_ruleXWhileExpression9092); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXWhileExpressionAccess().getLeftParenthesisKeyword_2());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3926:1: ( (lv_predicate_3_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3927:1: (lv_predicate_3_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3927:1: (lv_predicate_3_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3928:3: lv_predicate_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXWhileExpression9113);
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,30,FOLLOW_30_in_ruleXWhileExpression9125); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXWhileExpressionAccess().getRightParenthesisKeyword_4());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3948:1: ( (lv_body_5_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3949:1: (lv_body_5_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3949:1: (lv_body_5_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3950:3: lv_body_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXWhileExpression9146);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3974: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3975:2: (iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3976:2: iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionRule());
}
pushFollow(FOLLOW_ruleXDoWhileExpression_in_entryRuleXDoWhileExpression9182);
iv_ruleXDoWhileExpression=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXDoWhileExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXDoWhileExpression9192); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXDoWhileExpression"
// $ANTLR start "ruleXDoWhileExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3983: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3986:28: ( ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3987:1: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3987:1: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3987:2: () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3987:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3988:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXDoWhileExpressionAccess().getXDoWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,69,FOLLOW_69_in_ruleXDoWhileExpression9238); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXDoWhileExpressionAccess().getDoKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3997:1: ( (lv_body_2_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3998:1: (lv_body_2_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3998:1: (lv_body_2_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3999:3: lv_body_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXDoWhileExpression9259);
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,68,FOLLOW_68_in_ruleXDoWhileExpression9271); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXDoWhileExpressionAccess().getWhileKeyword_3());
}
otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXDoWhileExpression9283); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXDoWhileExpressionAccess().getLeftParenthesisKeyword_4());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4023:1: ( (lv_predicate_5_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4024:1: (lv_predicate_5_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4024:1: (lv_predicate_5_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4025:3: lv_predicate_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXDoWhileExpression9304);
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,30,FOLLOW_30_in_ruleXDoWhileExpression9316); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4053: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4054:2: (iv_ruleXBlockExpression= ruleXBlockExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4055:2: iv_ruleXBlockExpression= ruleXBlockExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionRule());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_entryRuleXBlockExpression9352);
iv_ruleXBlockExpression=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBlockExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXBlockExpression9362); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBlockExpression"
// $ANTLR start "ruleXBlockExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4062:1: ruleXBlockExpression returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4065:28: ( ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4066:1: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4066:1: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4066:2: () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (otherlv_3= ';' )? )* otherlv_4= '}'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4066:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4067:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBlockExpressionAccess().getXBlockExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,63,FOLLOW_63_in_ruleXBlockExpression9408); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBlockExpressionAccess().getLeftCurlyBracketKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4076:1: ( ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (otherlv_3= ';' )? )*
loop75:
do {
int alt75=2;
int LA75_0 = input.LA(1);
if ( ((LA75_0>=RULE_ID && LA75_0<=RULE_DECIMAL)||LA75_0==15||(LA75_0>=20 && LA75_0<=22)||(LA75_0>=25 && LA75_0<=26)||LA75_0==29||LA75_0==32||(LA75_0>=48 && LA75_0<=49)||LA75_0==53||LA75_0==57||LA75_0==60||(LA75_0>=62 && LA75_0<=63)||(LA75_0>=67 && LA75_0<=72)||(LA75_0>=74 && LA75_0<=81)) ) {
alt75=1;
}
switch (alt75) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4076:2: ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) ) (otherlv_3= ';' )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4076:2: ( (lv_expressions_2_0= ruleXExpressionInsideBlock ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4077:1: (lv_expressions_2_0= ruleXExpressionInsideBlock )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4077:1: (lv_expressions_2_0= ruleXExpressionInsideBlock )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4078:3: lv_expressions_2_0= ruleXExpressionInsideBlock
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionAccess().getExpressionsXExpressionInsideBlockParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_ruleXExpressionInsideBlock_in_ruleXBlockExpression9430);
lv_expressions_2_0=ruleXExpressionInsideBlock();
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,
"XExpressionInsideBlock");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4094:2: (otherlv_3= ';' )?
int alt74=2;
int LA74_0 = input.LA(1);
if ( (LA74_0==13) ) {
alt74=1;
}
switch (alt74) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4094:4: otherlv_3= ';'
{
otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleXBlockExpression9443); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1());
}
}
break;
}
}
break;
default :
break loop75;
}
} while (true);
otherlv_4=(Token)match(input,65,FOLLOW_65_in_ruleXBlockExpression9459); 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 "entryRuleXExpressionInsideBlock"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4110:1: entryRuleXExpressionInsideBlock returns [EObject current=null] : iv_ruleXExpressionInsideBlock= ruleXExpressionInsideBlock EOF ;
public final EObject entryRuleXExpressionInsideBlock() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionInsideBlock = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4111:2: (iv_ruleXExpressionInsideBlock= ruleXExpressionInsideBlock EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4112:2: iv_ruleXExpressionInsideBlock= ruleXExpressionInsideBlock EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInsideBlockRule());
}
pushFollow(FOLLOW_ruleXExpressionInsideBlock_in_entryRuleXExpressionInsideBlock9495);
iv_ruleXExpressionInsideBlock=ruleXExpressionInsideBlock();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionInsideBlock;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpressionInsideBlock9505); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionInsideBlock"
// $ANTLR start "ruleXExpressionInsideBlock"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4119:1: ruleXExpressionInsideBlock returns [EObject current=null] : (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXExpressionInsideBlock() throws RecognitionException {
EObject current = null;
EObject this_XVariableDeclaration_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4122:28: ( (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4123:1: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4123:1: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
int alt76=2;
int LA76_0 = input.LA(1);
if ( ((LA76_0>=70 && LA76_0<=71)) ) {
alt76=1;
}
else if ( ((LA76_0>=RULE_ID && LA76_0<=RULE_DECIMAL)||LA76_0==15||(LA76_0>=20 && LA76_0<=22)||(LA76_0>=25 && LA76_0<=26)||LA76_0==29||LA76_0==32||(LA76_0>=48 && LA76_0<=49)||LA76_0==53||LA76_0==57||LA76_0==60||(LA76_0>=62 && LA76_0<=63)||(LA76_0>=67 && LA76_0<=69)||LA76_0==72||(LA76_0>=74 && LA76_0<=81)) ) {
alt76=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 76, 0, input);
throw nvae;
}
switch (alt76) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4124:5: this_XVariableDeclaration_0= ruleXVariableDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInsideBlockAccess().getXVariableDeclarationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXVariableDeclaration_in_ruleXExpressionInsideBlock9552);
this_XVariableDeclaration_0=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XVariableDeclaration_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4134:5: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInsideBlockAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXExpressionInsideBlock9579);
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 "ruleXExpressionInsideBlock"
// $ANTLR start "entryRuleXVariableDeclaration"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4150: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4151:2: (iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4152:2: iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationRule());
}
pushFollow(FOLLOW_ruleXVariableDeclaration_in_entryRuleXVariableDeclaration9614);
iv_ruleXVariableDeclaration=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXVariableDeclaration;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXVariableDeclaration9624); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXVariableDeclaration"
// $ANTLR start "ruleXVariableDeclaration"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4159: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4162: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4163: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4163: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4163: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4163:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4164:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXVariableDeclarationAccess().getXVariableDeclarationAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4169:2: ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' )
int alt77=2;
int LA77_0 = input.LA(1);
if ( (LA77_0==70) ) {
alt77=1;
}
else if ( (LA77_0==71) ) {
alt77=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 77, 0, input);
throw nvae;
}
switch (alt77) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4169:3: ( (lv_writeable_1_0= 'var' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4169:3: ( (lv_writeable_1_0= 'var' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4170:1: (lv_writeable_1_0= 'var' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4170:1: (lv_writeable_1_0= 'var' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4171:3: lv_writeable_1_0= 'var'
{
lv_writeable_1_0=(Token)match(input,70,FOLLOW_70_in_ruleXVariableDeclaration9677); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4185:7: otherlv_2= 'val'
{
otherlv_2=(Token)match(input,71,FOLLOW_71_in_ruleXVariableDeclaration9708); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:2: ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) )
int alt78=2;
int LA78_0 = input.LA(1);
if ( (LA78_0==RULE_ID) ) {
int LA78_1 = input.LA(2);
if ( (synpred31_InternalXTest()) ) {
alt78=1;
}
else if ( (true) ) {
alt78=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 78, 1, input);
throw nvae;
}
}
else if ( (LA78_0==29) && (synpred31_InternalXTest())) {
alt78=1;
}
else if ( (LA78_0==44) && (synpred31_InternalXTest())) {
alt78=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 78, 0, input);
throw nvae;
}
switch (alt78) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:3: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:3: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:4: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4197:6: ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4197:7: ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4197:7: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4198:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4198:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4199:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getTypeJvmTypeReferenceParserRuleCall_2_0_0_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXVariableDeclaration9756);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4215:2: ( (lv_name_4_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4216:1: (lv_name_4_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4216:1: (lv_name_4_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4217:3: lv_name_4_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_0_0_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXVariableDeclaration9777);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4234:6: ( (lv_name_5_0= ruleValidID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4234:6: ( (lv_name_5_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4235:1: (lv_name_5_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4235:1: (lv_name_5_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4236:3: lv_name_5_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXVariableDeclaration9806);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4252:3: (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )?
int alt79=2;
int LA79_0 = input.LA(1);
if ( (LA79_0==33) ) {
alt79=1;
}
switch (alt79) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4252:5: otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,33,FOLLOW_33_in_ruleXVariableDeclaration9820); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXVariableDeclarationAccess().getEqualsSignKeyword_3_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4256:1: ( (lv_right_7_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4257:1: (lv_right_7_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4257:1: (lv_right_7_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4258:3: lv_right_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getRightXExpressionParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXVariableDeclaration9841);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4282: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4283:2: (iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4284:2: iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterRule());
}
pushFollow(FOLLOW_ruleJvmFormalParameter_in_entryRuleJvmFormalParameter9879);
iv_ruleJvmFormalParameter=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmFormalParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmFormalParameter9889); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmFormalParameter"
// $ANTLR start "ruleJvmFormalParameter"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4291: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4294:28: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4295:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4295:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4295:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4295:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )?
int alt80=2;
int LA80_0 = input.LA(1);
if ( (LA80_0==RULE_ID) ) {
int LA80_1 = input.LA(2);
if ( (LA80_1==RULE_ID||LA80_1==17||LA80_1==26||LA80_1==57) ) {
alt80=1;
}
}
else if ( (LA80_0==29||LA80_0==44) ) {
alt80=1;
}
switch (alt80) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4296:1: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4296:1: (lv_parameterType_0_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4297:3: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmFormalParameter9935);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4313:3: ( (lv_name_1_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4314:1: (lv_name_1_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4314:1: (lv_name_1_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4315:3: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleJvmFormalParameter9957);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4339: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4340:2: (iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4341:2: iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterRule());
}
pushFollow(FOLLOW_ruleFullJvmFormalParameter_in_entryRuleFullJvmFormalParameter9993);
iv_ruleFullJvmFormalParameter=ruleFullJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFullJvmFormalParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleFullJvmFormalParameter10003); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFullJvmFormalParameter"
// $ANTLR start "ruleFullJvmFormalParameter"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4348: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4351:28: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4352:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4352:1: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4352:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4352:2: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4353:1: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4353:1: (lv_parameterType_0_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4354:3: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleFullJvmFormalParameter10049);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4370:2: ( (lv_name_1_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4371:1: (lv_name_1_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4371:1: (lv_name_1_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4372:3: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleFullJvmFormalParameter10070);
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 "entryRuleIdOrSuper"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4396: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4397:2: (iv_ruleIdOrSuper= ruleIdOrSuper EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4398:2: iv_ruleIdOrSuper= ruleIdOrSuper EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperRule());
}
pushFollow(FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper10107);
iv_ruleIdOrSuper=ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIdOrSuper.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleIdOrSuper10118); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIdOrSuper"
// $ANTLR start "ruleIdOrSuper"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4405:1: ruleIdOrSuper returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID | kw= 'super' ) ;
public final AntlrDatatypeRuleToken ruleIdOrSuper() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4408:28: ( (this_ValidID_0= ruleValidID | kw= 'super' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4409:1: (this_ValidID_0= ruleValidID | kw= 'super' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4409:1: (this_ValidID_0= ruleValidID | kw= 'super' )
int alt81=2;
int LA81_0 = input.LA(1);
if ( (LA81_0==RULE_ID) ) {
alt81=1;
}
else if ( (LA81_0==72) ) {
alt81=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 81, 0, input);
throw nvae;
}
switch (alt81) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4410:5: this_ValidID_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleIdOrSuper10165);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4422:2: kw= 'super'
{
kw=(Token)match(input,72,FOLLOW_72_in_ruleIdOrSuper10189); 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 "entryRuleStaticQualifier"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4435:1: entryRuleStaticQualifier returns [String current=null] : iv_ruleStaticQualifier= ruleStaticQualifier EOF ;
public final String entryRuleStaticQualifier() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleStaticQualifier = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4436:2: (iv_ruleStaticQualifier= ruleStaticQualifier EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4437:2: iv_ruleStaticQualifier= ruleStaticQualifier EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStaticQualifierRule());
}
pushFollow(FOLLOW_ruleStaticQualifier_in_entryRuleStaticQualifier10230);
iv_ruleStaticQualifier=ruleStaticQualifier();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStaticQualifier.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleStaticQualifier10241); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStaticQualifier"
// $ANTLR start "ruleStaticQualifier"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4444:1: ruleStaticQualifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '::' )+ ;
public final AntlrDatatypeRuleToken ruleStaticQualifier() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4447:28: ( (this_ValidID_0= ruleValidID kw= '::' )+ )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4448:1: (this_ValidID_0= ruleValidID kw= '::' )+
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4448:1: (this_ValidID_0= ruleValidID kw= '::' )+
int cnt82=0;
loop82:
do {
int alt82=2;
int LA82_0 = input.LA(1);
if ( (LA82_0==RULE_ID) ) {
int LA82_2 = input.LA(2);
if ( (LA82_2==73) ) {
alt82=1;
}
}
switch (alt82) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4449:5: this_ValidID_0= ruleValidID kw= '::'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStaticQualifierAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleStaticQualifier10288);
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,73,FOLLOW_73_in_ruleStaticQualifier10306); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getStaticQualifierAccess().getColonColonKeyword_1());
}
}
break;
default :
if ( cnt82 >= 1 ) break loop82;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(82, input);
throw eee;
}
cnt82++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStaticQualifier"
// $ANTLR start "entryRuleXConstructorCall"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4473: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4474:2: (iv_ruleXConstructorCall= ruleXConstructorCall EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4475:2: iv_ruleXConstructorCall= ruleXConstructorCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallRule());
}
pushFollow(FOLLOW_ruleXConstructorCall_in_entryRuleXConstructorCall10347);
iv_ruleXConstructorCall=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXConstructorCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXConstructorCall10357); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXConstructorCall"
// $ANTLR start "ruleXConstructorCall"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4482: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= '>' )? ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( 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 otherlv_8=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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4485:28: ( ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4486:1: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4486:1: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4486:2: () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4486:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4487:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXConstructorCallAccess().getXConstructorCallAction_0(),
current);
}
}
otherlv_1=(Token)match(input,74,FOLLOW_74_in_ruleXConstructorCall10403); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXConstructorCallAccess().getNewKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4496:1: ( ( ruleQualifiedName ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4497:1: ( ruleQualifiedName )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4497:1: ( ruleQualifiedName )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4498: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_ruleXConstructorCall10426);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4511:2: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?
int alt84=2;
alt84 = dfa84.predict(input);
switch (alt84) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4511:3: ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4511:3: ( ( '<' )=>otherlv_3= '<' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4511:4: ( '<' )=>otherlv_3= '<'
{
otherlv_3=(Token)match(input,26,FOLLOW_26_in_ruleXConstructorCall10447); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXConstructorCallAccess().getLessThanSignKeyword_3_0());
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4516:2: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4517:1: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4517:1: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4518:3: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10469);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4534:2: (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )*
loop83:
do {
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==27) ) {
alt83=1;
}
switch (alt83) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4534:4: otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
{
otherlv_5=(Token)match(input,27,FOLLOW_27_in_ruleXConstructorCall10482); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXConstructorCallAccess().getCommaKeyword_3_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4538:1: ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4539:1: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4539:1: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4540:3: lv_typeArguments_6_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10503);
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 loop83;
}
} while (true);
otherlv_7=(Token)match(input,28,FOLLOW_28_in_ruleXConstructorCall10517); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXConstructorCallAccess().getGreaterThanSignKeyword_3_3());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4560:3: ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?
int alt87=2;
alt87 = dfa87.predict(input);
switch (alt87) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4560:4: ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4560:4: ( ( '(' )=>otherlv_8= '(' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4560:5: ( '(' )=>otherlv_8= '('
{
otherlv_8=(Token)match(input,29,FOLLOW_29_in_ruleXConstructorCall10540); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXConstructorCallAccess().getLeftParenthesisKeyword_4_0());
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?
int alt86=3;
alt86 = dfa86.predict(input);
switch (alt86) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4582:1: (lv_arguments_9_0= ruleXShortClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4583:3: lv_arguments_9_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXConstructorCall10613);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4600:6: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4600:6: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4600:7: ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4600:7: ( (lv_arguments_10_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4601:1: (lv_arguments_10_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4601:1: (lv_arguments_10_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4602:3: lv_arguments_10_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXConstructorCall10641);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4618:2: (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
loop85:
do {
int alt85=2;
int LA85_0 = input.LA(1);
if ( (LA85_0==27) ) {
alt85=1;
}
switch (alt85) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4618:4: otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) )
{
otherlv_11=(Token)match(input,27,FOLLOW_27_in_ruleXConstructorCall10654); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXConstructorCallAccess().getCommaKeyword_4_1_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4622:1: ( (lv_arguments_12_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4623:1: (lv_arguments_12_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4623:1: (lv_arguments_12_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4624:3: lv_arguments_12_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXConstructorCall10675);
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 loop85;
}
} while (true);
}
}
break;
}
otherlv_13=(Token)match(input,30,FOLLOW_30_in_ruleXConstructorCall10692); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXConstructorCallAccess().getRightParenthesisKeyword_4_2());
}
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
int alt88=2;
alt88 = dfa88.predict(input);
switch (alt88) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:4: ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4647:1: (lv_arguments_14_0= ruleXClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4648:3: lv_arguments_14_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXClosureParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXConstructorCall10727);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4672: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4673:2: (iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4674:2: iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBooleanLiteralRule());
}
pushFollow(FOLLOW_ruleXBooleanLiteral_in_entryRuleXBooleanLiteral10764);
iv_ruleXBooleanLiteral=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBooleanLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXBooleanLiteral10774); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBooleanLiteral"
// $ANTLR start "ruleXBooleanLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4681: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4684:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4685:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4685:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4685:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4685:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4686:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBooleanLiteralAccess().getXBooleanLiteralAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4691:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
int alt89=2;
int LA89_0 = input.LA(1);
if ( (LA89_0==75) ) {
alt89=1;
}
else if ( (LA89_0==76) ) {
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4691:4: otherlv_1= 'false'
{
otherlv_1=(Token)match(input,75,FOLLOW_75_in_ruleXBooleanLiteral10821); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0());
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4696:6: ( (lv_isTrue_2_0= 'true' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4696:6: ( (lv_isTrue_2_0= 'true' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4697:1: (lv_isTrue_2_0= 'true' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4697:1: (lv_isTrue_2_0= 'true' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4698:3: lv_isTrue_2_0= 'true'
{
lv_isTrue_2_0=(Token)match(input,76,FOLLOW_76_in_ruleXBooleanLiteral10845); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4719: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4720:2: (iv_ruleXNullLiteral= ruleXNullLiteral EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4721:2: iv_ruleXNullLiteral= ruleXNullLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNullLiteralRule());
}
pushFollow(FOLLOW_ruleXNullLiteral_in_entryRuleXNullLiteral10895);
iv_ruleXNullLiteral=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNullLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXNullLiteral10905); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNullLiteral"
// $ANTLR start "ruleXNullLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4728: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4731:28: ( ( () otherlv_1= 'null' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4732:1: ( () otherlv_1= 'null' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4732:1: ( () otherlv_1= 'null' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4732:2: () otherlv_1= 'null'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4732:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4733:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNullLiteralAccess().getXNullLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,77,FOLLOW_77_in_ruleXNullLiteral10951); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4750: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4751:2: (iv_ruleXNumberLiteral= ruleXNumberLiteral EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4752:2: iv_ruleXNumberLiteral= ruleXNumberLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralRule());
}
pushFollow(FOLLOW_ruleXNumberLiteral_in_entryRuleXNumberLiteral10987);
iv_ruleXNumberLiteral=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNumberLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXNumberLiteral10997); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNumberLiteral"
// $ANTLR start "ruleXNumberLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4759: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4762:28: ( ( () ( (lv_value_1_0= ruleNumber ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4763:1: ( () ( (lv_value_1_0= ruleNumber ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4763:1: ( () ( (lv_value_1_0= ruleNumber ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4763:2: () ( (lv_value_1_0= ruleNumber ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4763:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4764:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNumberLiteralAccess().getXNumberLiteralAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4769:2: ( (lv_value_1_0= ruleNumber ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4770:1: (lv_value_1_0= ruleNumber )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4770:1: (lv_value_1_0= ruleNumber )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4771:3: lv_value_1_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleNumber_in_ruleXNumberLiteral11052);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4795: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4796:2: (iv_ruleXStringLiteral= ruleXStringLiteral EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4797:2: iv_ruleXStringLiteral= ruleXStringLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXStringLiteralRule());
}
pushFollow(FOLLOW_ruleXStringLiteral_in_entryRuleXStringLiteral11088);
iv_ruleXStringLiteral=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXStringLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXStringLiteral11098); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXStringLiteral"
// $ANTLR start "ruleXStringLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4804: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4807:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4808:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4808:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4808:2: () ( (lv_value_1_0= RULE_STRING ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4808:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4809:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXStringLiteralAccess().getXStringLiteralAction_0(),
current);
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4814:2: ( (lv_value_1_0= RULE_STRING ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4815:1: (lv_value_1_0= RULE_STRING )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4815:1: (lv_value_1_0= RULE_STRING )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4816:3: lv_value_1_0= RULE_STRING
{
lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleXStringLiteral11149); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4840: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4841:2: (iv_ruleXTypeLiteral= ruleXTypeLiteral EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4842:2: iv_ruleXTypeLiteral= ruleXTypeLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralRule());
}
pushFollow(FOLLOW_ruleXTypeLiteral_in_entryRuleXTypeLiteral11190);
iv_ruleXTypeLiteral=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTypeLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXTypeLiteral11200); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTypeLiteral"
// $ANTLR start "ruleXTypeLiteral"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4849:1: ruleXTypeLiteral returns [EObject current=null] : ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) otherlv_4= ')' ) ;
public final EObject ruleXTypeLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4852:28: ( ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) otherlv_4= ')' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4853:1: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) otherlv_4= ')' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4853:1: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) otherlv_4= ')' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4853:2: () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) otherlv_4= ')'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4853:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4854:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTypeLiteralAccess().getXTypeLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,78,FOLLOW_78_in_ruleXTypeLiteral11246); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTypeLiteralAccess().getTypeofKeyword_1());
}
otherlv_2=(Token)match(input,29,FOLLOW_29_in_ruleXTypeLiteral11258); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXTypeLiteralAccess().getLeftParenthesisKeyword_2());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4867:1: ( ( ruleQualifiedName ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4868:1: ( ruleQualifiedName )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4868:1: ( ruleQualifiedName )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4869: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_ruleXTypeLiteral11281);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,30,FOLLOW_30_in_ruleXTypeLiteral11293); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXTypeLiteralAccess().getRightParenthesisKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTypeLiteral"
// $ANTLR start "entryRuleXThrowExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4894: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4895:2: (iv_ruleXThrowExpression= ruleXThrowExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4896:2: iv_ruleXThrowExpression= ruleXThrowExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionRule());
}
pushFollow(FOLLOW_ruleXThrowExpression_in_entryRuleXThrowExpression11329);
iv_ruleXThrowExpression=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXThrowExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXThrowExpression11339); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXThrowExpression"
// $ANTLR start "ruleXThrowExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4903: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4906:28: ( ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4907:1: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4907:1: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4907:2: () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4907:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4908:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXThrowExpressionAccess().getXThrowExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,79,FOLLOW_79_in_ruleXThrowExpression11385); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXThrowExpressionAccess().getThrowKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4917:1: ( (lv_expression_2_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4918:1: (lv_expression_2_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4918:1: (lv_expression_2_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4919:3: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXThrowExpression11406);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4943: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4944:2: (iv_ruleXReturnExpression= ruleXReturnExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4945:2: iv_ruleXReturnExpression= ruleXReturnExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionRule());
}
pushFollow(FOLLOW_ruleXReturnExpression_in_entryRuleXReturnExpression11442);
iv_ruleXReturnExpression=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXReturnExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXReturnExpression11452); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXReturnExpression"
// $ANTLR start "ruleXReturnExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4952:1: ruleXReturnExpression returns [EObject current=null] : ( () otherlv_1= 'return' ( ( ( ruleXExpression ) )=> (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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4955:28: ( ( () otherlv_1= 'return' ( ( ( ruleXExpression ) )=> (lv_expression_2_0= ruleXExpression ) )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4956:1: ( () otherlv_1= 'return' ( ( ( ruleXExpression ) )=> (lv_expression_2_0= ruleXExpression ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4956:1: ( () otherlv_1= 'return' ( ( ( ruleXExpression ) )=> (lv_expression_2_0= ruleXExpression ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4956:2: () otherlv_1= 'return' ( ( ( ruleXExpression ) )=> (lv_expression_2_0= ruleXExpression ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4956:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4957:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXReturnExpressionAccess().getXReturnExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,80,FOLLOW_80_in_ruleXReturnExpression11498); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXReturnExpressionAccess().getReturnKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4966:1: ( ( ( ruleXExpression ) )=> (lv_expression_2_0= ruleXExpression ) )?
int alt90=2;
alt90 = dfa90.predict(input);
switch (alt90) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4966:2: ( ( ruleXExpression ) )=> (lv_expression_2_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4971:1: (lv_expression_2_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4972:3: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXReturnExpression11529);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4996: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4997:2: (iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4998:2: iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionRule());
}
pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_entryRuleXTryCatchFinallyExpression11566);
iv_ruleXTryCatchFinallyExpression=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTryCatchFinallyExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXTryCatchFinallyExpression11576); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTryCatchFinallyExpression"
// $ANTLR start "ruleXTryCatchFinallyExpression"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5005: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5008: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5009: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5009: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5009: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5009:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5010:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTryCatchFinallyExpressionAccess().getXTryCatchFinallyExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,81,FOLLOW_81_in_ruleXTryCatchFinallyExpression11622); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTryCatchFinallyExpressionAccess().getTryKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5019:1: ( (lv_expression_2_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5020:1: (lv_expression_2_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5020:1: (lv_expression_2_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5021:3: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11643);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037: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 alt93=2;
int LA93_0 = input.LA(1);
if ( (LA93_0==83) ) {
alt93=1;
}
else if ( (LA93_0==82) ) {
alt93=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 93, 0, input);
throw nvae;
}
switch (alt93) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:3: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:3: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:4: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:4: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+
int cnt91=0;
loop91:
do {
int alt91=2;
int LA91_0 = input.LA(1);
if ( (LA91_0==83) ) {
int LA91_2 = input.LA(2);
if ( (synpred37_InternalXTest()) ) {
alt91=1;
}
}
switch (alt91) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:5: ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5039:1: (lv_catchClauses_3_0= ruleXCatchClause )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5040:3: lv_catchClauses_3_0= ruleXCatchClause
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesXCatchClauseParserRuleCall_3_0_0_0());
}
pushFollow(FOLLOW_ruleXCatchClause_in_ruleXTryCatchFinallyExpression11673);
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 ( cnt91 >= 1 ) break loop91;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(91, input);
throw eee;
}
cnt91++;
} while (true);
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5056:3: ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
int alt92=2;
int LA92_0 = input.LA(1);
if ( (LA92_0==82) ) {
int LA92_1 = input.LA(2);
if ( (synpred38_InternalXTest()) ) {
alt92=1;
}
}
switch (alt92) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5056:4: ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5056:4: ( ( 'finally' )=>otherlv_4= 'finally' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5056:5: ( 'finally' )=>otherlv_4= 'finally'
{
otherlv_4=(Token)match(input,82,FOLLOW_82_in_ruleXTryCatchFinallyExpression11695); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_0_1_0());
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5061:2: ( (lv_finallyExpression_5_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5062:1: (lv_finallyExpression_5_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5062:1: (lv_finallyExpression_5_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5063:3: lv_finallyExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_0_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11717);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5080:6: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5080:6: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5080:8: otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,82,FOLLOW_82_in_ruleXTryCatchFinallyExpression11739); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5084:1: ( (lv_finallyExpression_7_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5085:1: (lv_finallyExpression_7_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5085:1: (lv_finallyExpression_7_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5086:3: lv_finallyExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11760);
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 "entryRuleXCatchClause"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5110: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5111:2: (iv_ruleXCatchClause= ruleXCatchClause EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5112:2: iv_ruleXCatchClause= ruleXCatchClause EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseRule());
}
pushFollow(FOLLOW_ruleXCatchClause_in_entryRuleXCatchClause11798);
iv_ruleXCatchClause=ruleXCatchClause();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCatchClause;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCatchClause11808); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCatchClause"
// $ANTLR start "ruleXCatchClause"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5119: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5122:28: ( ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5123:1: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5123:1: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5123:2: ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5123:2: ( ( 'catch' )=>otherlv_0= 'catch' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5123:3: ( 'catch' )=>otherlv_0= 'catch'
{
otherlv_0=(Token)match(input,83,FOLLOW_83_in_ruleXCatchClause11853); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXCatchClauseAccess().getCatchKeyword_0());
}
}
otherlv_1=(Token)match(input,29,FOLLOW_29_in_ruleXCatchClause11866); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXCatchClauseAccess().getLeftParenthesisKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5132:1: ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5133:1: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5133:1: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5134:3: lv_declaredParam_2_0= ruleFullJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleFullJvmFormalParameter_in_ruleXCatchClause11887);
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,30,FOLLOW_30_in_ruleXCatchClause11899); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXCatchClauseAccess().getRightParenthesisKeyword_3());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5154:1: ( (lv_expression_4_0= ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5155:1: (lv_expression_4_0= ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5155:1: (lv_expression_4_0= ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5156:3: lv_expression_4_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXCatchClause11920);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5180: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5181:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5182:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
}
pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName11957);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedName.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName11968); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedName"
// $ANTLR start "ruleQualifiedName"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5189: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5192:28: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5193:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5193:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5194:5: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName12015);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5204:1: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
loop94:
do {
int alt94=2;
int LA94_0 = input.LA(1);
if ( (LA94_0==17) ) {
int LA94_1 = input.LA(2);
if ( (LA94_1==RULE_ID) ) {
int LA94_3 = input.LA(3);
if ( (synpred40_InternalXTest()) ) {
alt94=1;
}
}
}
switch (alt94) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5204:2: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5204:2: ( ( '.' )=>kw= '.' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5204:3: ( '.' )=>kw= '.'
{
kw=(Token)match(input,17,FOLLOW_17_in_ruleQualifiedName12043); 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_ruleQualifiedName12066);
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 loop94;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedName"
// $ANTLR start "entryRuleNumber"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5231: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5235:2: (iv_ruleNumber= ruleNumber EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5236:2: iv_ruleNumber= ruleNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberRule());
}
pushFollow(FOLLOW_ruleNumber_in_entryRuleNumber12120);
iv_ruleNumber=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNumber.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleNumber12131); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
myHiddenTokenState.restore();
}
return current;
}
// $ANTLR end "entryRuleNumber"
// $ANTLR start "ruleNumber"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5246: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5250: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5251: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5251: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 alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==RULE_HEX) ) {
alt98=1;
}
else if ( ((LA98_0>=RULE_INT && LA98_0<=RULE_DECIMAL)) ) {
alt98=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 98, 0, input);
throw nvae;
}
switch (alt98) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5251:6: this_HEX_0= RULE_HEX
{
this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleNumber12175); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5259:6: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5259:6: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5259:7: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5259:7: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL )
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==RULE_INT) ) {
alt95=1;
}
else if ( (LA95_0==RULE_DECIMAL) ) {
alt95=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 95, 0, input);
throw nvae;
}
switch (alt95) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5259:12: this_INT_1= RULE_INT
{
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleNumber12203); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5267:10: this_DECIMAL_2= RULE_DECIMAL
{
this_DECIMAL_2=(Token)match(input,RULE_DECIMAL,FOLLOW_RULE_DECIMAL_in_ruleNumber12229); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5274:2: (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
int alt97=2;
int LA97_0 = input.LA(1);
if ( (LA97_0==17) ) {
int LA97_1 = input.LA(2);
if ( ((LA97_1>=RULE_INT && LA97_1<=RULE_DECIMAL)) ) {
alt97=1;
}
}
switch (alt97) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5275:2: kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
{
kw=(Token)match(input,17,FOLLOW_17_in_ruleNumber12249); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getNumberAccess().getFullStopKeyword_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5280:1: (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
int alt96=2;
int LA96_0 = input.LA(1);
if ( (LA96_0==RULE_INT) ) {
alt96=1;
}
else if ( (LA96_0==RULE_DECIMAL) ) {
alt96=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 96, 0, input);
throw nvae;
}
switch (alt96) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5280:6: this_INT_4= RULE_INT
{
this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleNumber12265); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5288:10: this_DECIMAL_5= RULE_DECIMAL
{
this_DECIMAL_5=(Token)match(input,RULE_DECIMAL,FOLLOW_RULE_DECIMAL_in_ruleNumber12291); 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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5306: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5307:2: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5308:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_entryRuleJvmTypeReference12344);
iv_ruleJvmTypeReference=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmTypeReference12354); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmTypeReference"
// $ANTLR start "ruleJvmTypeReference"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5315:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )* ) | this_XFunctionTypeRef_4= ruleXFunctionTypeRef ) ;
public final EObject ruleJvmTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_3=null;
EObject this_JvmParameterizedTypeReference_0 = null;
EObject this_XFunctionTypeRef_4 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5318:28: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )* ) | this_XFunctionTypeRef_4= ruleXFunctionTypeRef ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5319:1: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )* ) | this_XFunctionTypeRef_4= ruleXFunctionTypeRef )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5319:1: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )* ) | this_XFunctionTypeRef_4= ruleXFunctionTypeRef )
int alt100=2;
int LA100_0 = input.LA(1);
if ( (LA100_0==RULE_ID) ) {
alt100=1;
}
else if ( (LA100_0==29||LA100_0==44) ) {
alt100=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 100, 0, input);
throw nvae;
}
switch (alt100) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5319:2: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5319:2: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5320:5: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleJvmParameterizedTypeReference_in_ruleJvmTypeReference12402);
this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmParameterizedTypeReference_0;
afterParserOrEnumRuleCall();
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:1: ( ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' ) )*
loop99:
do {
int alt99=2;
int LA99_0 = input.LA(1);
if ( (LA99_0==57) ) {
int LA99_2 = input.LA(2);
if ( (LA99_2==59) ) {
int LA99_3 = input.LA(3);
if ( (synpred41_InternalXTest()) ) {
alt99=1;
}
}
}
switch (alt99) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:2: ( ( () '[' ']' ) )=> ( () otherlv_2= '[' otherlv_3= ']' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5331:5: ( () otherlv_2= '[' otherlv_3= ']' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5331:6: () otherlv_2= '[' otherlv_3= ']'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5331:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5332:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(),
current);
}
}
otherlv_2=(Token)match(input,57,FOLLOW_57_in_ruleJvmTypeReference12440); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getJvmTypeReferenceAccess().getLeftSquareBracketKeyword_0_1_0_1());
}
otherlv_3=(Token)match(input,59,FOLLOW_59_in_ruleJvmTypeReference12452); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getJvmTypeReferenceAccess().getRightSquareBracketKeyword_0_1_0_2());
}
}
}
break;
default :
break loop99;
}
} while (true);
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5347:5: this_XFunctionTypeRef_4= ruleXFunctionTypeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXFunctionTypeRef_in_ruleJvmTypeReference12484);
this_XFunctionTypeRef_4=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFunctionTypeRef_4;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmTypeReference"
// $ANTLR start "entryRuleXFunctionTypeRef"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5363: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5364:2: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5365:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefRule());
}
pushFollow(FOLLOW_ruleXFunctionTypeRef_in_entryRuleXFunctionTypeRef12519);
iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFunctionTypeRef;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXFunctionTypeRef12529); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFunctionTypeRef"
// $ANTLR start "ruleXFunctionTypeRef"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5372: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5375: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5376: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5376: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5376: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5376:2: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )?
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==29) ) {
alt103=1;
}
switch (alt103) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5376:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')'
{
otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleXFunctionTypeRef12567); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5380:1: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )?
int alt102=2;
int LA102_0 = input.LA(1);
if ( (LA102_0==RULE_ID||LA102_0==29||LA102_0==44) ) {
alt102=1;
}
switch (alt102) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5380:2: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5380:2: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5381:1: (lv_paramTypes_1_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5381:1: (lv_paramTypes_1_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5382:3: lv_paramTypes_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12589);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5398:2: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
loop101:
do {
int alt101=2;
int LA101_0 = input.LA(1);
if ( (LA101_0==27) ) {
alt101=1;
}
switch (alt101) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5398:4: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
{
otherlv_2=(Token)match(input,27,FOLLOW_27_in_ruleXFunctionTypeRef12602); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5402:1: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5403:1: (lv_paramTypes_3_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5403:1: (lv_paramTypes_3_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5404:3: lv_paramTypes_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12623);
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 loop101;
}
} while (true);
}
break;
}
otherlv_4=(Token)match(input,30,FOLLOW_30_in_ruleXFunctionTypeRef12639); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2());
}
}
break;
}
otherlv_5=(Token)match(input,44,FOLLOW_44_in_ruleXFunctionTypeRef12653); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5428:1: ( (lv_returnType_6_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5429:1: (lv_returnType_6_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5429:1: (lv_returnType_6_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5430:3: lv_returnType_6_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12674);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5454: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5455:2: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5456:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmParameterizedTypeReference_in_entryRuleJvmParameterizedTypeReference12710);
iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmParameterizedTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmParameterizedTypeReference12720); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmParameterizedTypeReference"
// $ANTLR start "ruleJvmParameterizedTypeReference"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5463:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ) ;
public final EObject ruleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
EObject lv_arguments_2_0 = null;
EObject lv_arguments_4_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5466:28: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5467:1: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5467:1: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5467:2: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5467:2: ( ( ruleQualifiedName ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5468:1: ( ruleQualifiedName )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5468:1: ( ruleQualifiedName )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5469: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_ruleJvmParameterizedTypeReference12768);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5482:2: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?
int alt105=2;
alt105 = dfa105.predict(input);
switch (alt105) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5482:3: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5482:3: ( ( '<' )=>otherlv_1= '<' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5482:4: ( '<' )=>otherlv_1= '<'
{
otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleJvmParameterizedTypeReference12789); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0());
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5487:2: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5488:1: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5488:1: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5489:3: lv_arguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12811);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5505:2: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop104:
do {
int alt104=2;
int LA104_0 = input.LA(1);
if ( (LA104_0==27) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5505:4: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,27,FOLLOW_27_in_ruleJvmParameterizedTypeReference12824); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5509:1: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5510:1: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5510:1: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5511:3: lv_arguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12845);
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 loop104;
}
} while (true);
otherlv_5=(Token)match(input,28,FOLLOW_28_in_ruleJvmParameterizedTypeReference12859); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmParameterizedTypeReference"
// $ANTLR start "entryRuleJvmArgumentTypeReference"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5539: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5540:2: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5541:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_entryRuleJvmArgumentTypeReference12897);
iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmArgumentTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmArgumentTypeReference12907); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmArgumentTypeReference"
// $ANTLR start "ruleJvmArgumentTypeReference"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5548: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5551:28: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5552:1: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5552:1: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
int alt106=2;
int LA106_0 = input.LA(1);
if ( (LA106_0==RULE_ID||LA106_0==29||LA106_0==44) ) {
alt106=1;
}
else if ( (LA106_0==84) ) {
alt106=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 106, 0, input);
throw nvae;
}
switch (alt106) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5553:5: this_JvmTypeReference_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmArgumentTypeReference12954);
this_JvmTypeReference_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmTypeReference_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5563:5: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1());
}
pushFollow(FOLLOW_ruleJvmWildcardTypeReference_in_ruleJvmArgumentTypeReference12981);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5579: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5580:2: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5581:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule());
}
pushFollow(FOLLOW_ruleJvmWildcardTypeReference_in_entryRuleJvmWildcardTypeReference13016);
iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmWildcardTypeReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmWildcardTypeReference13026); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmWildcardTypeReference"
// $ANTLR start "ruleJvmWildcardTypeReference"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5588:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? ) ;
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;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5591:28: ( ( () otherlv_1= '?' ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5592:1: ( () otherlv_1= '?' ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5592:1: ( () otherlv_1= '?' ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5592:2: () otherlv_1= '?' ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5592:2: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5593:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(),
current);
}
}
otherlv_1=(Token)match(input,84,FOLLOW_84_in_ruleJvmWildcardTypeReference13072); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5602:1: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )?
int alt107=3;
int LA107_0 = input.LA(1);
if ( (LA107_0==85) ) {
alt107=1;
}
else if ( (LA107_0==72) ) {
alt107=2;
}
switch (alt107) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5602:2: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5602:2: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5603:1: (lv_constraints_2_0= ruleJvmUpperBound )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5603:1: (lv_constraints_2_0= ruleJvmUpperBound )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5604:3: lv_constraints_2_0= ruleJvmUpperBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_ruleJvmUpperBound_in_ruleJvmWildcardTypeReference13094);
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();
}
}
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5621:6: ( (lv_constraints_3_0= ruleJvmLowerBound ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5621:6: ( (lv_constraints_3_0= ruleJvmLowerBound ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5622:1: (lv_constraints_3_0= ruleJvmLowerBound )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5622:1: (lv_constraints_3_0= ruleJvmLowerBound )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5623:3: lv_constraints_3_0= ruleJvmLowerBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleJvmLowerBound_in_ruleJvmWildcardTypeReference13121);
lv_constraints_3_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_3_0,
"JvmLowerBound");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmWildcardTypeReference"
// $ANTLR start "entryRuleJvmUpperBound"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5647: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5648:2: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5649:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundRule());
}
pushFollow(FOLLOW_ruleJvmUpperBound_in_entryRuleJvmUpperBound13159);
iv_ruleJvmUpperBound=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBound;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmUpperBound13169); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBound"
// $ANTLR start "ruleJvmUpperBound"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5656: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5659:28: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5660:1: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5660:1: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5660:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,85,FOLLOW_85_in_ruleJvmUpperBound13206); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5664:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5665:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5665:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5666:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBound13227);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5690: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5691:2: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5692:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule());
}
pushFollow(FOLLOW_ruleJvmUpperBoundAnded_in_entryRuleJvmUpperBoundAnded13263);
iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBoundAnded;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmUpperBoundAnded13273); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBoundAnded"
// $ANTLR start "ruleJvmUpperBoundAnded"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5699: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5702:28: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5703:1: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5703:1: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5703:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,86,FOLLOW_86_in_ruleJvmUpperBoundAnded13310); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5707:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5708:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5708:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5709:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBoundAnded13331);
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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5733: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5734:2: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5735:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundRule());
}
pushFollow(FOLLOW_ruleJvmLowerBound_in_entryRuleJvmLowerBound13367);
iv_ruleJvmLowerBound=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBound;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmLowerBound13377); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBound"
// $ANTLR start "ruleJvmLowerBound"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5742: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5745:28: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5746:1: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5746:1: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5746:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,72,FOLLOW_72_in_ruleJvmLowerBound13414); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0());
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5750:1: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5751:1: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5751:1: (lv_typeReference_1_0= ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5752:3: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleJvmLowerBound13435);
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 "entryRuleJvmTypeParameter"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5776:1: entryRuleJvmTypeParameter returns [EObject current=null] : iv_ruleJvmTypeParameter= ruleJvmTypeParameter EOF ;
public final EObject entryRuleJvmTypeParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmTypeParameter = null;
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5777:2: (iv_ruleJvmTypeParameter= ruleJvmTypeParameter EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5778:2: iv_ruleJvmTypeParameter= ruleJvmTypeParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeParameterRule());
}
pushFollow(FOLLOW_ruleJvmTypeParameter_in_entryRuleJvmTypeParameter13471);
iv_ruleJvmTypeParameter=ruleJvmTypeParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmTypeParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleJvmTypeParameter13481); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmTypeParameter"
// $ANTLR start "ruleJvmTypeParameter"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5785:1: ruleJvmTypeParameter returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidID ) ) ( ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? ) ;
public final EObject ruleJvmTypeParameter() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_name_0_0 = null;
EObject lv_constraints_1_0 = null;
EObject lv_constraints_2_0 = null;
EObject lv_constraints_3_0 = null;
enterRule();
try {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5788:28: ( ( ( (lv_name_0_0= ruleValidID ) ) ( ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5789:1: ( ( (lv_name_0_0= ruleValidID ) ) ( ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5789:1: ( ( (lv_name_0_0= ruleValidID ) ) ( ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )? )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5789:2: ( (lv_name_0_0= ruleValidID ) ) ( ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )?
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5789:2: ( (lv_name_0_0= ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5790:1: (lv_name_0_0= ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5790:1: (lv_name_0_0= ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5791:3: lv_name_0_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeParameterAccess().getNameValidIDParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleJvmTypeParameter13527);
lv_name_0_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmTypeParameterRule());
}
set(
current,
"name",
lv_name_0_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5807:2: ( ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* ) | ( (lv_constraints_3_0= ruleJvmLowerBound ) ) )?
int alt109=3;
int LA109_0 = input.LA(1);
if ( (LA109_0==85) ) {
alt109=1;
}
else if ( (LA109_0==72) ) {
alt109=2;
}
switch (alt109) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5807:3: ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5807:3: ( ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )* )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5807:4: ( (lv_constraints_1_0= ruleJvmUpperBound ) ) ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5807:4: ( (lv_constraints_1_0= ruleJvmUpperBound ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5808:1: (lv_constraints_1_0= ruleJvmUpperBound )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5808:1: (lv_constraints_1_0= ruleJvmUpperBound )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5809:3: lv_constraints_1_0= ruleJvmUpperBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeParameterAccess().getConstraintsJvmUpperBoundParserRuleCall_1_0_0_0());
}
pushFollow(FOLLOW_ruleJvmUpperBound_in_ruleJvmTypeParameter13550);
lv_constraints_1_0=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmTypeParameterRule());
}
add(
current,
"constraints",
lv_constraints_1_0,
"JvmUpperBound");
afterParserOrEnumRuleCall();
}
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5825:2: ( (lv_constraints_2_0= ruleJvmUpperBoundAnded ) )*
loop108:
do {
int alt108=2;
int LA108_0 = input.LA(1);
if ( (LA108_0==86) ) {
alt108=1;
}
switch (alt108) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5826:1: (lv_constraints_2_0= ruleJvmUpperBoundAnded )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5826:1: (lv_constraints_2_0= ruleJvmUpperBoundAnded )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5827:3: lv_constraints_2_0= ruleJvmUpperBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeParameterAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleJvmUpperBoundAnded_in_ruleJvmTypeParameter13571);
lv_constraints_2_0=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmTypeParameterRule());
}
add(
current,
"constraints",
lv_constraints_2_0,
"JvmUpperBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop108;
}
} while (true);
}
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5844:6: ( (lv_constraints_3_0= ruleJvmLowerBound ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5844:6: ( (lv_constraints_3_0= ruleJvmLowerBound ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5845:1: (lv_constraints_3_0= ruleJvmLowerBound )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5845:1: (lv_constraints_3_0= ruleJvmLowerBound )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5846:3: lv_constraints_3_0= ruleJvmLowerBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeParameterAccess().getConstraintsJvmLowerBoundParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmLowerBound_in_ruleJvmTypeParameter13600);
lv_constraints_3_0=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmTypeParameterRule());
}
add(
current,
"constraints",
lv_constraints_3_0,
"JvmLowerBound");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmTypeParameter"
// $ANTLR start "entryRuleValidID"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5870: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5871:2: (iv_ruleValidID= ruleValidID EOF )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5872:2: iv_ruleValidID= ruleValidID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getValidIDRule());
}
pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID13639);
iv_ruleValidID=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleValidID.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleValidID13650); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleValidID"
// $ANTLR start "ruleValidID"
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5879: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.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5882:28: (this_ID_0= RULE_ID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5883:5: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID13689); 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 synpred1_InternalXTest
public final void synpred1_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:86:4: ( ( RULE_ID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:87:1: ( RULE_ID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:87:1: ( RULE_ID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:88:2: RULE_ID
{
match(input,RULE_ID,FOLLOW_RULE_ID_in_synpred1_InternalXTest135); if (state.failed) return ;
}
}
}
// $ANTLR end synpred1_InternalXTest
// $ANTLR start synpred3_InternalXTest
public final void synpred3_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:577:4: ( 'throws' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:577:6: 'throws'
{
match(input,23,FOLLOW_23_in_synpred3_InternalXTest1197); if (state.failed) return ;
}
}
// $ANTLR end synpred3_InternalXTest
// $ANTLR start synpred4_InternalXTest
public final void synpred4_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1271:4: ( ( '(' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1272:1: ( '(' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1272:1: ( '(' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1273:2: '('
{
match(input,29,FOLLOW_29_in_synpred4_InternalXTest2812); if (state.failed) return ;
}
}
}
// $ANTLR end synpred4_InternalXTest
// $ANTLR start synpred5_InternalXTest
public final void synpred5_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:6: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1292:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1293:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1293:2: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt111=2;
int LA111_0 = input.LA(1);
if ( (LA111_0==RULE_ID||LA111_0==29||LA111_0==44) ) {
alt111=1;
}
switch (alt111) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1293:3: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1293:3: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1294:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1294:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1295:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred5_InternalXTest2864);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1297:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop110:
do {
int alt110=2;
int LA110_0 = input.LA(1);
if ( (LA110_0==27) ) {
alt110=1;
}
switch (alt110) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1297:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,27,FOLLOW_27_in_synpred5_InternalXTest2871); if (state.failed) return ;
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1298:1: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1299:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1299:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1300:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred5_InternalXTest2878);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop110;
}
} while (true);
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1302:6: ( ( '|' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1303:1: ( '|' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1303:1: ( '|' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1304:2: '|'
{
match(input,58,FOLLOW_58_in_synpred5_InternalXTest2892); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred5_InternalXTest
// $ANTLR start synpred6_InternalXTest
public final void synpred6_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1371:4: ( ( ruleXClosure ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1372:1: ( ruleXClosure )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1372:1: ( ruleXClosure )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1373:1: ruleXClosure
{
pushFollow(FOLLOW_ruleXClosure_in_synpred6_InternalXTest3010);
ruleXClosure();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred6_InternalXTest
// $ANTLR start synpred7_InternalXTest
public final void synpred7_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:4: ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:4: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:5: () ( ( ruleOpMultiAssign ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1533:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1534:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1534:2: ( ( ruleOpMultiAssign ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1535:1: ( ruleOpMultiAssign )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1535:1: ( ruleOpMultiAssign )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1536:3: ruleOpMultiAssign
{
pushFollow(FOLLOW_ruleOpMultiAssign_in_synpred7_InternalXTest3357);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred7_InternalXTest
// $ANTLR start synpred8_InternalXTest
public final void synpred8_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:3: ( ( () ( ( ruleOpOr ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:4: ( () ( ( ruleOpOr ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:4: ( () ( ( ruleOpOr ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:5: () ( ( ruleOpOr ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1661:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1662:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1662:2: ( ( ruleOpOr ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1663:1: ( ruleOpOr )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1663:1: ( ruleOpOr )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1664:3: ruleOpOr
{
pushFollow(FOLLOW_ruleOpOr_in_synpred8_InternalXTest3705);
ruleOpOr();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred8_InternalXTest
// $ANTLR start synpred9_InternalXTest
public final void synpred9_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:3: ( ( () ( ( ruleOpAnd ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:4: ( () ( ( ruleOpAnd ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:4: ( () ( ( ruleOpAnd ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:5: () ( ( ruleOpAnd ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1762:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1763:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1763:2: ( ( ruleOpAnd ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1764:1: ( ruleOpAnd )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1764:1: ( ruleOpAnd )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1765:3: ruleOpAnd
{
pushFollow(FOLLOW_ruleOpAnd_in_synpred9_InternalXTest3964);
ruleOpAnd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred9_InternalXTest
// $ANTLR start synpred10_InternalXTest
public final void synpred10_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:3: ( ( () ( ( ruleOpEquality ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:4: ( () ( ( ruleOpEquality ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:4: ( () ( ( ruleOpEquality ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:5: () ( ( ruleOpEquality ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1863:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1864:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1864:2: ( ( ruleOpEquality ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1865:1: ( ruleOpEquality )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1865:1: ( ruleOpEquality )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1866:3: ruleOpEquality
{
pushFollow(FOLLOW_ruleOpEquality_in_synpred10_InternalXTest4223);
ruleOpEquality();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred10_InternalXTest
// $ANTLR start synpred11_InternalXTest
public final void synpred11_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:4: ( ( () 'instanceof' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:5: ( () 'instanceof' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:5: ( () 'instanceof' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:6: () 'instanceof'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1971:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:1972:1:
{
}
match(input,39,FOLLOW_39_in_synpred11_InternalXTest4499); if (state.failed) return ;
}
}
}
// $ANTLR end synpred11_InternalXTest
// $ANTLR start synpred12_InternalXTest
public final void synpred12_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:8: ( ( () ( ( ruleOpCompare ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:9: ( () ( ( ruleOpCompare ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:9: ( () ( ( ruleOpCompare ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:10: () ( ( ruleOpCompare ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2002:10: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2003:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2003:2: ( ( ruleOpCompare ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2004:1: ( ruleOpCompare )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2004:1: ( ruleOpCompare )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2005:3: ruleOpCompare
{
pushFollow(FOLLOW_ruleOpCompare_in_synpred12_InternalXTest4570);
ruleOpCompare();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred12_InternalXTest
// $ANTLR start synpred13_InternalXTest
public final void synpred13_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:3: ( ( () ( ( ruleOpOther ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:4: ( () ( ( ruleOpOther ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:4: ( () ( ( ruleOpOther ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:5: () ( ( ruleOpOther ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2124:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2125:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2125:2: ( ( ruleOpOther ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2126:1: ( ruleOpOther )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2126:1: ( ruleOpOther )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2127:3: ruleOpOther
{
pushFollow(FOLLOW_ruleOpOther_in_synpred13_InternalXTest4889);
ruleOpOther();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred13_InternalXTest
// $ANTLR start synpred14_InternalXTest
public final void synpred14_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:3: ( ( '>' '>' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:4: ( '>' '>' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2216:4: ( '>' '>' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2217:2: '>' '>'
{
match(input,28,FOLLOW_28_in_synpred14_InternalXTest5105); if (state.failed) return ;
match(input,28,FOLLOW_28_in_synpred14_InternalXTest5110); if (state.failed) return ;
}
}
}
// $ANTLR end synpred14_InternalXTest
// $ANTLR start synpred15_InternalXTest
public final void synpred15_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:3: ( ( '<' '<' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:4: ( '<' '<' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2246:4: ( '<' '<' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2247:2: '<' '<'
{
match(input,26,FOLLOW_26_in_synpred15_InternalXTest5192); if (state.failed) return ;
match(input,26,FOLLOW_26_in_synpred15_InternalXTest5197); if (state.failed) return ;
}
}
}
// $ANTLR end synpred15_InternalXTest
// $ANTLR start synpred16_InternalXTest
public final void synpred16_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:3: ( ( () ( ( ruleOpAdd ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:4: ( () ( ( ruleOpAdd ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:4: ( () ( ( ruleOpAdd ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:5: () ( ( ruleOpAdd ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2320:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2321:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2321:2: ( ( ruleOpAdd ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2322:1: ( ruleOpAdd )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2322:1: ( ruleOpAdd )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2323:3: ruleOpAdd
{
pushFollow(FOLLOW_ruleOpAdd_in_synpred16_InternalXTest5419);
ruleOpAdd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred16_InternalXTest
// $ANTLR start synpred17_InternalXTest
public final void synpred17_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:3: ( ( () ( ( ruleOpMulti ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:4: ( () ( ( ruleOpMulti ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:4: ( () ( ( ruleOpMulti ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:5: () ( ( ruleOpMulti ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2428:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2429:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2429:2: ( ( ruleOpMulti ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2430:1: ( ruleOpMulti )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2430:1: ( ruleOpMulti )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2431:3: ruleOpMulti
{
pushFollow(FOLLOW_ruleOpMulti_in_synpred17_InternalXTest5699);
ruleOpMulti();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred17_InternalXTest
// $ANTLR start synpred18_InternalXTest
public final void synpred18_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:3: ( ( () 'as' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:4: ( () 'as' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:4: ( () 'as' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:5: () 'as'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2661:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2662:1:
{
}
match(input,54,FOLLOW_54_in_synpred18_InternalXTest6293); if (state.failed) return ;
}
}
}
// $ANTLR end synpred18_InternalXTest
// $ANTLR start synpred19_InternalXTest
public final void synpred19_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:4: ( ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:5: ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:5: ( () '.' ( ( ruleValidID ) ) ruleOpSingleAssign )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:6: () '.' ( ( ruleValidID ) ) ruleOpSingleAssign
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2721:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2722:1:
{
}
match(input,17,FOLLOW_17_in_synpred19_InternalXTest6447); if (state.failed) return ;
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2723:1: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2724:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2724:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2725:3: ruleValidID
{
pushFollow(FOLLOW_ruleValidID_in_synpred19_InternalXTest6456);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_synpred19_InternalXTest6462);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred19_InternalXTest
// $ANTLR start synpred20_InternalXTest
public final void synpred20_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:9: ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:9: ( () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:10: () ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2779:10: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2780:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2780:2: ( '.' | ( ( '?.' ) ) | ( ( '*.' ) ) )
int alt112=3;
switch ( input.LA(1) ) {
case 17:
{
alt112=1;
}
break;
case 55:
{
alt112=2;
}
break;
case 56:
{
alt112=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 112, 0, input);
throw nvae;
}
switch (alt112) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2780:4: '.'
{
match(input,17,FOLLOW_17_in_synpred20_InternalXTest6565); if (state.failed) return ;
}
break;
case 2 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2782:6: ( ( '?.' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2782:6: ( ( '?.' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2783:1: ( '?.' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2783:1: ( '?.' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2784:2: '?.'
{
match(input,55,FOLLOW_55_in_synpred20_InternalXTest6579); if (state.failed) return ;
}
}
}
break;
case 3 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2789:6: ( ( '*.' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2789:6: ( ( '*.' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2790:1: ( '*.' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2790:1: ( '*.' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2791:2: '*.'
{
match(input,56,FOLLOW_56_in_synpred20_InternalXTest6599); if (state.failed) return ;
}
}
}
break;
}
}
}
}
// $ANTLR end synpred20_InternalXTest
// $ANTLR start synpred21_InternalXTest
public final void synpred21_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2900:4: ( ( '(' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2901:1: ( '(' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2901:1: ( '(' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2902:2: '('
{
match(input,29,FOLLOW_29_in_synpred21_InternalXTest6826); if (state.failed) return ;
}
}
}
// $ANTLR end synpred21_InternalXTest
// $ANTLR start synpred22_InternalXTest
public final void synpred22_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:6: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2921:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2922:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2922:2: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt114=2;
int LA114_0 = input.LA(1);
if ( (LA114_0==RULE_ID||LA114_0==29||LA114_0==44) ) {
alt114=1;
}
switch (alt114) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2922:3: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2922:3: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2923:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2923:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2924:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred22_InternalXTest6878);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2926:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop113:
do {
int alt113=2;
int LA113_0 = input.LA(1);
if ( (LA113_0==27) ) {
alt113=1;
}
switch (alt113) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2926:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,27,FOLLOW_27_in_synpred22_InternalXTest6885); if (state.failed) return ;
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2927:1: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2928:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2928:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2929:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred22_InternalXTest6892);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop113;
}
} while (true);
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2931:6: ( ( '|' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2932:1: ( '|' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2932:1: ( '|' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:2933:2: '|'
{
match(input,58,FOLLOW_58_in_synpred22_InternalXTest6906); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred22_InternalXTest
// $ANTLR start synpred23_InternalXTest
public final void synpred23_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:4: ( ( () '[' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:5: ( () '[' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:5: ( () '[' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:6: () '['
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3000:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3001:1:
{
}
match(input,57,FOLLOW_57_in_synpred23_InternalXTest7026); if (state.failed) return ;
}
}
}
// $ANTLR end synpred23_InternalXTest
// $ANTLR start synpred24_InternalXTest
public final void synpred24_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:3: ( ( () '[' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:4: ( () '[' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:4: ( () '[' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:5: () '['
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3041:5: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3042:1:
{
}
match(input,57,FOLLOW_57_in_synpred24_InternalXTest7134); if (state.failed) return ;
}
}
}
// $ANTLR end synpred24_InternalXTest
// $ANTLR start synpred26_InternalXTest
public final void synpred26_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:6: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:6: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt116=2;
int LA116_0 = input.LA(1);
if ( (LA116_0==RULE_ID||LA116_0==29||LA116_0==44) ) {
alt116=1;
}
switch (alt116) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:7: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3135:7: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3136:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3136:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3137:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred26_InternalXTest7413);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3139:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop115:
do {
int alt115=2;
int LA115_0 = input.LA(1);
if ( (LA115_0==27) ) {
alt115=1;
}
switch (alt115) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3139:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,27,FOLLOW_27_in_synpred26_InternalXTest7420); if (state.failed) return ;
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3140:1: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3141:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3141:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3142:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred26_InternalXTest7427);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop115;
}
} while (true);
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3144:6: ( ( '|' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3145:1: ( '|' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3145:1: ( '|' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3146:2: '|'
{
match(input,58,FOLLOW_58_in_synpred26_InternalXTest7441); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred26_InternalXTest
// $ANTLR start synpred28_InternalXTest
public final void synpred28_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3505:4: ( 'else' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3505:6: 'else'
{
match(input,61,FOLLOW_61_in_synpred28_InternalXTest8224); if (state.failed) return ;
}
}
// $ANTLR end synpred28_InternalXTest
// $ANTLR start synpred29_InternalXTest
public final void synpred29_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:4: ( ( ( ( ruleValidID ) ) ':' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:5: ( ( ( ruleValidID ) ) ':' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:5: ( ( ( ruleValidID ) ) ':' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:6: ( ( ruleValidID ) ) ':'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3559:6: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3560:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3560:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3561:1: ruleValidID
{
pushFollow(FOLLOW_ruleValidID_in_synpred29_InternalXTest8366);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
match(input,19,FOLLOW_19_in_synpred29_InternalXTest8372); if (state.failed) return ;
}
}
}
// $ANTLR end synpred29_InternalXTest
// $ANTLR start synpred30_InternalXTest
public final void synpred30_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:8: ( ( '(' ( ( ruleValidID ) ) ':' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:9: ( '(' ( ( ruleValidID ) ) ':' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:9: ( '(' ( ( ruleValidID ) ) ':' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3605:11: '(' ( ( ruleValidID ) ) ':'
{
match(input,29,FOLLOW_29_in_synpred30_InternalXTest8448); if (state.failed) return ;
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3606:1: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3607:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3607:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:3608:1: ruleValidID
{
pushFollow(FOLLOW_ruleValidID_in_synpred30_InternalXTest8455);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
match(input,19,FOLLOW_19_in_synpred30_InternalXTest8461); if (state.failed) return ;
}
}
}
// $ANTLR end synpred30_InternalXTest
// $ANTLR start synpred31_InternalXTest
public final void synpred31_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:4: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:5: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:5: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:6: ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4189:6: ( ( ruleJvmTypeReference ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4190:1: ( ruleJvmTypeReference )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4190:1: ( ruleJvmTypeReference )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4191:1: ruleJvmTypeReference
{
pushFollow(FOLLOW_ruleJvmTypeReference_in_synpred31_InternalXTest9726);
ruleJvmTypeReference();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4193:2: ( ( ruleValidID ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4194:1: ( ruleValidID )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4194:1: ( ruleValidID )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4195:1: ruleValidID
{
pushFollow(FOLLOW_ruleValidID_in_synpred31_InternalXTest9735);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred31_InternalXTest
// $ANTLR start synpred32_InternalXTest
public final void synpred32_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4511:4: ( '<' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4511:6: '<'
{
match(input,26,FOLLOW_26_in_synpred32_InternalXTest10439); if (state.failed) return ;
}
}
// $ANTLR end synpred32_InternalXTest
// $ANTLR start synpred33_InternalXTest
public final void synpred33_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4560:5: ( '(' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4560:7: '('
{
match(input,29,FOLLOW_29_in_synpred33_InternalXTest10532); if (state.failed) return ;
}
}
// $ANTLR end synpred33_InternalXTest
// $ANTLR start synpred34_InternalXTest
public final void synpred34_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:5: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:6: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4565:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4566:1:
{
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4566:2: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt120=2;
int LA120_0 = input.LA(1);
if ( (LA120_0==RULE_ID||LA120_0==29||LA120_0==44) ) {
alt120=1;
}
switch (alt120) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4566:3: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4566:3: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4567:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4567:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4568:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred34_InternalXTest10562);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4570:2: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop119:
do {
int alt119=2;
int LA119_0 = input.LA(1);
if ( (LA119_0==27) ) {
alt119=1;
}
switch (alt119) {
case 1 :
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4570:4: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,27,FOLLOW_27_in_synpred34_InternalXTest10569); if (state.failed) return ;
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4571:1: ( ( ruleJvmFormalParameter ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4572:1: ( ruleJvmFormalParameter )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4572:1: ( ruleJvmFormalParameter )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4573:1: ruleJvmFormalParameter
{
pushFollow(FOLLOW_ruleJvmFormalParameter_in_synpred34_InternalXTest10576);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop119;
}
} while (true);
}
break;
}
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4575:6: ( ( '|' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4576:1: ( '|' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4576:1: ( '|' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4577:2: '|'
{
match(input,58,FOLLOW_58_in_synpred34_InternalXTest10590); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred34_InternalXTest
// $ANTLR start synpred35_InternalXTest
public final void synpred35_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:4: ( ( () '[' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:5: ( () '[' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:5: ( () '[' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:6: () '['
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4644:6: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4645:1:
{
}
match(input,57,FOLLOW_57_in_synpred35_InternalXTest10710); if (state.failed) return ;
}
}
}
// $ANTLR end synpred35_InternalXTest
// $ANTLR start synpred36_InternalXTest
public final void synpred36_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4966:2: ( ( ruleXExpression ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4967:1: ( ruleXExpression )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4967:1: ( ruleXExpression )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:4968:1: ruleXExpression
{
pushFollow(FOLLOW_ruleXExpression_in_synpred36_InternalXTest11512);
ruleXExpression();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred36_InternalXTest
// $ANTLR start synpred37_InternalXTest
public final void synpred37_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:5: ( 'catch' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5037:7: 'catch'
{
match(input,83,FOLLOW_83_in_synpred37_InternalXTest11657); if (state.failed) return ;
}
}
// $ANTLR end synpred37_InternalXTest
// $ANTLR start synpred38_InternalXTest
public final void synpred38_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5056:5: ( 'finally' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5056:7: 'finally'
{
match(input,82,FOLLOW_82_in_synpred38_InternalXTest11687); if (state.failed) return ;
}
}
// $ANTLR end synpred38_InternalXTest
// $ANTLR start synpred40_InternalXTest
public final void synpred40_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5204:3: ( '.' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5205:2: '.'
{
match(input,17,FOLLOW_17_in_synpred40_InternalXTest12034); if (state.failed) return ;
}
}
// $ANTLR end synpred40_InternalXTest
// $ANTLR start synpred41_InternalXTest
public final void synpred41_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:2: ( ( () '[' ']' ) )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:3: ( () '[' ']' )
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:3: ( () '[' ']' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:4: () '[' ']'
{
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5328:4: ()
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5329:1:
{
}
match(input,57,FOLLOW_57_in_synpred41_InternalXTest12417); if (state.failed) return ;
match(input,59,FOLLOW_59_in_synpred41_InternalXTest12421); if (state.failed) return ;
}
}
}
// $ANTLR end synpred41_InternalXTest
// $ANTLR start synpred42_InternalXTest
public final void synpred42_InternalXTest_fragment() throws RecognitionException {
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5482:4: ( '<' )
// ../org.xtest/src-gen/org/xtest/parser/antlr/internal/InternalXTest.g:5482:6: '<'
{
match(input,26,FOLLOW_26_in_synpred42_InternalXTest12781); if (state.failed) return ;
}
}
// $ANTLR end synpred42_InternalXTest
// Delegated rules
public final boolean synpred41_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred41_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred11_InternalXTest_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 synpred40_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred40_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred13_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred42_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred17_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred9_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred26_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred4_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred36_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred35_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred33_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred16_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred32_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred29_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred20_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred7_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred1_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred21_InternalXTest_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 synpred24_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred24_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred23_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred19_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred5_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred3_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred37_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred34_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred12_InternalXTest_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 synpred28_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred28_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred31_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred10_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred18_InternalXTest_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 synpred38_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred38_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred30_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred14_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred6_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred15_InternalXTest_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_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred8_InternalXTest_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 synpred22_InternalXTest() {
state.backtracking++;
int start = input.mark();
try {
synpred22_InternalXTest_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 DFA8 dfa8 = new DFA8(this);
protected DFA22 dfa22 = new DFA22(this);
protected DFA29 dfa29 = new DFA29(this);
protected DFA28 dfa28 = new DFA28(this);
protected DFA30 dfa30 = new DFA30(this);
protected DFA40 dfa40 = new DFA40(this);
protected DFA56 dfa56 = new DFA56(this);
protected DFA55 dfa55 = new DFA55(this);
protected DFA57 dfa57 = new DFA57(this);
protected DFA62 dfa62 = new DFA62(this);
protected DFA84 dfa84 = new DFA84(this);
protected DFA87 dfa87 = new DFA87(this);
protected DFA86 dfa86 = new DFA86(this);
protected DFA88 dfa88 = new DFA88(this);
protected DFA90 dfa90 = new DFA90(this);
protected DFA105 dfa105 = new DFA105(this);
static final String DFA8_eotS =
"\7\uffff";
static final String DFA8_eofS =
"\2\uffff\1\4\3\uffff\1\4";
static final String DFA8_minS =
"\1\4\1\uffff\2\4\2\uffff\1\4";
static final String DFA8_maxS =
"\1\17\1\uffff\1\121\1\22\2\uffff\1\121";
static final String DFA8_acceptS =
"\1\uffff\1\1\2\uffff\1\2\1\3\1\uffff";
static final String DFA8_specialS =
"\7\uffff}>";
static final String[] DFA8_transitionS = {
"\1\2\12\uffff\1\1",
"",
"\5\4\4\uffff\3\4\1\uffff\1\3\2\uffff\3\4\2\uffff\2\4\2\uffff"+
"\1\4\2\uffff\1\4\17\uffff\2\4\3\uffff\1\4\3\uffff\1\4\2\uffff"+
"\1\4\1\uffff\2\4\3\uffff\6\4\1\uffff\10\4",
"\1\6\15\uffff\1\5",
"",
"",
"\5\4\4\uffff\3\4\1\uffff\1\3\2\uffff\3\4\2\uffff\2\4\2\uffff"+
"\1\4\2\uffff\1\4\17\uffff\2\4\3\uffff\1\4\3\uffff\1\4\2\uffff"+
"\1\4\1\uffff\2\4\3\uffff\6\4\1\uffff\10\4"
};
static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS);
static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS);
static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS);
static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS);
static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS);
static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS);
static final short[][] DFA8_transition;
static {
int numStates = DFA8_transitionS.length;
DFA8_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]);
}
}
class DFA8 extends DFA {
public DFA8(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 8;
this.eot = DFA8_eot;
this.eof = DFA8_eof;
this.min = DFA8_min;
this.max = DFA8_max;
this.accept = DFA8_accept;
this.special = DFA8_special;
this.transition = DFA8_transition;
}
public String getDescription() {
return "182:1: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedName ) ) otherlv_4= '.' otherlv_5= '*' ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNamespaceWithWildcard ) ) )";
}
}
static final String DFA22_eotS =
"\21\uffff";
static final String DFA22_eofS =
"\21\uffff";
static final String DFA22_minS =
"\1\4\20\uffff";
static final String DFA22_maxS =
"\1\121\20\uffff";
static final String DFA22_acceptS =
"\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1"+
"\15\1\16\1\17\1\20";
static final String DFA22_specialS =
"\21\uffff}>";
static final String[] DFA22_transitionS = {
"\1\4\4\5\6\uffff\1\20\4\uffff\2\16\1\17\2\uffff\1\20\1\4\2"+
"\uffff\1\15\2\uffff\1\4\30\uffff\1\5\2\uffff\1\6\1\uffff\1\3"+
"\1\2\3\uffff\1\7\1\10\1\11\2\uffff\1\4\1\uffff\1\1\4\5\1\12"+
"\1\13\1\14",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS);
static final short[] DFA22_eof = DFA.unpackEncodedString(DFA22_eofS);
static final char[] DFA22_min = DFA.unpackEncodedStringToUnsignedChars(DFA22_minS);
static final char[] DFA22_max = DFA.unpackEncodedStringToUnsignedChars(DFA22_maxS);
static final short[] DFA22_accept = DFA.unpackEncodedString(DFA22_acceptS);
static final short[] DFA22_special = DFA.unpackEncodedString(DFA22_specialS);
static final short[][] DFA22_transition;
static {
int numStates = DFA22_transitionS.length;
DFA22_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA22_transition[i] = DFA.unpackEncodedString(DFA22_transitionS[i]);
}
}
class DFA22 extends DFA {
public DFA22(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 22;
this.eot = DFA22_eot;
this.eof = DFA22_eof;
this.min = DFA22_min;
this.max = DFA22_max;
this.accept = DFA22_accept;
this.special = DFA22_special;
this.transition = DFA22_transition;
}
public String getDescription() {
return "975:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | this_XFeatureCall_3= ruleXFeatureCall | this_XLiteral_4= ruleXLiteral | this_XIfExpression_5= ruleXIfExpression | this_XForLoopExpression_6= ruleXForLoopExpression | this_XWhileExpression_7= ruleXWhileExpression | this_XDoWhileExpression_8= ruleXDoWhileExpression | this_XThrowExpression_9= ruleXThrowExpression | this_XReturnExpression_10= ruleXReturnExpression | this_XTryCatchFinallyExpression_11= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_12= ruleXParenthesizedExpression | this_XTestExpression_13= ruleXTestExpression | this_XAssertExpression_14= ruleXAssertExpression | this_XMethodDefExpression_15= ruleXMethodDefExpression )";
}
}
static final String DFA29_eotS =
"\111\uffff";
static final String DFA29_eofS =
"\1\2\110\uffff";
static final String DFA29_minS =
"\1\4\1\0\107\uffff";
static final String DFA29_maxS =
"\1\123\1\0\107\uffff";
static final String DFA29_acceptS =
"\2\uffff\1\2\105\uffff\1\1";
static final String DFA29_specialS =
"\1\uffff\1\0\107\uffff}>";
static final String[] DFA29_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\4\2\1\1\3"+
"\2\1\uffff\30\2\1\uffff\16\2\1\uffff\12\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA29_eot = DFA.unpackEncodedString(DFA29_eotS);
static final short[] DFA29_eof = DFA.unpackEncodedString(DFA29_eofS);
static final char[] DFA29_min = DFA.unpackEncodedStringToUnsignedChars(DFA29_minS);
static final char[] DFA29_max = DFA.unpackEncodedStringToUnsignedChars(DFA29_maxS);
static final short[] DFA29_accept = DFA.unpackEncodedString(DFA29_acceptS);
static final short[] DFA29_special = DFA.unpackEncodedString(DFA29_specialS);
static final short[][] DFA29_transition;
static {
int numStates = DFA29_transitionS.length;
DFA29_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA29_transition[i] = DFA.unpackEncodedString(DFA29_transitionS[i]);
}
}
class DFA29 extends DFA {
public DFA29(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 29;
this.eot = DFA29_eot;
this.eof = DFA29_eof;
this.min = DFA29_min;
this.max = DFA29_max;
this.accept = DFA29_accept;
this.special = DFA29_special;
this.transition = DFA29_transition;
}
public String getDescription() {
return "1271:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_9_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )? otherlv_14= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA29_1 = input.LA(1);
int index29_1 = input.index();
input.rewind();
s = -1;
if ( (synpred4_InternalXTest()) ) {s = 72;}
else if ( (true) ) {s = 2;}
input.seek(index29_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 29, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA28_eotS =
"\44\uffff";
static final String DFA28_eofS =
"\44\uffff";
static final String DFA28_minS =
"\1\4\2\0\41\uffff";
static final String DFA28_maxS =
"\1\121\2\0\41\uffff";
static final String DFA28_acceptS =
"\3\uffff\2\1\1\2\35\uffff\1\3";
static final String DFA28_specialS =
"\1\0\1\1\1\2\41\uffff}>";
static final String[] DFA28_transitionS = {
"\1\1\4\5\6\uffff\1\5\4\uffff\3\5\2\uffff\2\5\2\uffff\1\2\1"+
"\43\1\uffff\1\5\13\uffff\1\3\3\uffff\2\5\3\uffff\1\5\3\uffff"+
"\1\5\1\4\1\uffff\1\5\1\uffff\2\5\3\uffff\3\5\2\uffff\1\5\1\uffff"+
"\10\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA28_eot = DFA.unpackEncodedString(DFA28_eotS);
static final short[] DFA28_eof = DFA.unpackEncodedString(DFA28_eofS);
static final char[] DFA28_min = DFA.unpackEncodedStringToUnsignedChars(DFA28_minS);
static final char[] DFA28_max = DFA.unpackEncodedStringToUnsignedChars(DFA28_maxS);
static final short[] DFA28_accept = DFA.unpackEncodedString(DFA28_acceptS);
static final short[] DFA28_special = DFA.unpackEncodedString(DFA28_specialS);
static final short[][] DFA28_transition;
static {
int numStates = DFA28_transitionS.length;
DFA28_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA28_transition[i] = DFA.unpackEncodedString(DFA28_transitionS[i]);
}
}
class DFA28 extends DFA {
public DFA28(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 28;
this.eot = DFA28_eot;
this.eof = DFA28_eof;
this.min = DFA28_min;
this.max = DFA28_max;
this.accept = DFA28_accept;
this.special = DFA28_special;
this.transition = DFA28_transition;
}
public String getDescription() {
return "1292:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_10_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_11_0= ruleXExpression ) ) (otherlv_12= ',' ( (lv_featureCallArguments_13_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA28_0 = input.LA(1);
int index28_0 = input.index();
input.rewind();
s = -1;
if ( (LA28_0==RULE_ID) ) {s = 1;}
else if ( (LA28_0==29) ) {s = 2;}
else if ( (LA28_0==44) && (synpred5_InternalXTest())) {s = 3;}
else if ( (LA28_0==58) && (synpred5_InternalXTest())) {s = 4;}
else if ( ((LA28_0>=RULE_STRING && LA28_0<=RULE_DECIMAL)||LA28_0==15||(LA28_0>=20 && LA28_0<=22)||(LA28_0>=25 && LA28_0<=26)||LA28_0==32||(LA28_0>=48 && LA28_0<=49)||LA28_0==53||LA28_0==57||LA28_0==60||(LA28_0>=62 && LA28_0<=63)||(LA28_0>=67 && LA28_0<=69)||LA28_0==72||(LA28_0>=74 && LA28_0<=81)) ) {s = 5;}
else if ( (LA28_0==30) ) {s = 35;}
input.seek(index28_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA28_1 = input.LA(1);
int index28_1 = input.index();
input.rewind();
s = -1;
if ( (synpred5_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index28_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA28_2 = input.LA(1);
int index28_2 = input.index();
input.rewind();
s = -1;
if ( (synpred5_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index28_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 28, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA30_eotS =
"\111\uffff";
static final String DFA30_eofS =
"\1\2\110\uffff";
static final String DFA30_minS =
"\1\4\1\0\107\uffff";
static final String DFA30_maxS =
"\1\123\1\0\107\uffff";
static final String DFA30_acceptS =
"\2\uffff\1\2\105\uffff\1\1";
static final String DFA30_specialS =
"\1\uffff\1\0\107\uffff}>";
static final String[] DFA30_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\10\2\1\uffff"+
"\27\2\1\1\1\uffff\16\2\1\uffff\12\2",
"\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 "1371:3: ( ( ( ruleXClosure ) )=> (lv_featureCallArguments_15_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA30_1 = input.LA(1);
int index30_1 = input.index();
input.rewind();
s = -1;
if ( (synpred6_InternalXTest()) ) {s = 72;}
else if ( (true) ) {s = 2;}
input.seek(index30_1);
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 DFA40_eotS =
"\13\uffff";
static final String DFA40_eofS =
"\1\1\12\uffff";
static final String DFA40_minS =
"\1\4\1\uffff\10\0\1\uffff";
static final String DFA40_maxS =
"\1\123\1\uffff\10\0\1\uffff";
static final String DFA40_acceptS =
"\1\uffff\1\2\10\uffff\1\1";
static final String DFA40_specialS =
"\2\uffff\1\7\1\6\1\2\1\5\1\4\1\3\1\0\1\1\1\uffff}>";
static final String[] DFA40_transitionS = {
"\5\1\4\uffff\1\1\1\uffff\1\1\1\uffff\7\1\1\uffff\1\1\1\3\1"+
"\1\1\2\2\1\1\uffff\1\1\1\uffff\10\1\1\4\1\5\1\6\1\7\1\10\1\11"+
"\12\1\1\uffff\16\1\1\uffff\12\1",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
""
};
static final short[] DFA40_eot = DFA.unpackEncodedString(DFA40_eotS);
static final short[] DFA40_eof = DFA.unpackEncodedString(DFA40_eofS);
static final char[] DFA40_min = DFA.unpackEncodedStringToUnsignedChars(DFA40_minS);
static final char[] DFA40_max = DFA.unpackEncodedStringToUnsignedChars(DFA40_maxS);
static final short[] DFA40_accept = DFA.unpackEncodedString(DFA40_acceptS);
static final short[] DFA40_special = DFA.unpackEncodedString(DFA40_specialS);
static final short[][] DFA40_transition;
static {
int numStates = DFA40_transitionS.length;
DFA40_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA40_transition[i] = DFA.unpackEncodedString(DFA40_transitionS[i]);
}
}
class DFA40 extends DFA {
public DFA40(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 40;
this.eot = DFA40_eot;
this.eof = DFA40_eof;
this.min = DFA40_min;
this.max = DFA40_max;
this.accept = DFA40_accept;
this.special = DFA40_special;
this.transition = DFA40_transition;
}
public String getDescription() {
return "()* loopback of 2124: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 LA40_8 = input.LA(1);
int index40_8 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_8);
if ( s>=0 ) return s;
break;
case 1 :
int LA40_9 = input.LA(1);
int index40_9 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_9);
if ( s>=0 ) return s;
break;
case 2 :
int LA40_4 = input.LA(1);
int index40_4 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_4);
if ( s>=0 ) return s;
break;
case 3 :
int LA40_7 = input.LA(1);
int index40_7 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_7);
if ( s>=0 ) return s;
break;
case 4 :
int LA40_6 = input.LA(1);
int index40_6 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_6);
if ( s>=0 ) return s;
break;
case 5 :
int LA40_5 = input.LA(1);
int index40_5 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_5);
if ( s>=0 ) return s;
break;
case 6 :
int LA40_3 = input.LA(1);
int index40_3 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_3);
if ( s>=0 ) return s;
break;
case 7 :
int LA40_2 = input.LA(1);
int index40_2 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalXTest()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index40_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 40, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA56_eotS =
"\110\uffff";
static final String DFA56_eofS =
"\1\2\107\uffff";
static final String DFA56_minS =
"\1\4\1\0\106\uffff";
static final String DFA56_maxS =
"\1\123\1\0\106\uffff";
static final String DFA56_acceptS =
"\2\uffff\1\2\104\uffff\1\1";
static final String DFA56_specialS =
"\1\uffff\1\0\106\uffff}>";
static final String[] DFA56_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\4\2\1\1\1"+
"\2\1\uffff\1\2\1\uffff\30\2\1\uffff\16\2\1\uffff\12\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA56_eot = DFA.unpackEncodedString(DFA56_eotS);
static final short[] DFA56_eof = DFA.unpackEncodedString(DFA56_eofS);
static final char[] DFA56_min = DFA.unpackEncodedStringToUnsignedChars(DFA56_minS);
static final char[] DFA56_max = DFA.unpackEncodedStringToUnsignedChars(DFA56_maxS);
static final short[] DFA56_accept = DFA.unpackEncodedString(DFA56_acceptS);
static final short[] DFA56_special = DFA.unpackEncodedString(DFA56_specialS);
static final short[][] DFA56_transition;
static {
int numStates = DFA56_transitionS.length;
DFA56_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA56_transition[i] = DFA.unpackEncodedString(DFA56_transitionS[i]);
}
}
class DFA56 extends DFA {
public DFA56(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 56;
this.eot = DFA56_eot;
this.eof = DFA56_eof;
this.min = DFA56_min;
this.max = DFA56_max;
this.accept = DFA56_accept;
this.special = DFA56_special;
this.transition = DFA56_transition;
}
public String getDescription() {
return "2900:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_16_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )? otherlv_21= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA56_1 = input.LA(1);
int index56_1 = input.index();
input.rewind();
s = -1;
if ( (synpred21_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 2;}
input.seek(index56_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 56, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA55_eotS =
"\44\uffff";
static final String DFA55_eofS =
"\44\uffff";
static final String DFA55_minS =
"\1\4\2\0\41\uffff";
static final String DFA55_maxS =
"\1\121\2\0\41\uffff";
static final String DFA55_acceptS =
"\3\uffff\2\1\1\2\35\uffff\1\3";
static final String DFA55_specialS =
"\1\0\1\1\1\2\41\uffff}>";
static final String[] DFA55_transitionS = {
"\1\1\4\5\6\uffff\1\5\4\uffff\3\5\2\uffff\2\5\2\uffff\1\2\1"+
"\43\1\uffff\1\5\13\uffff\1\3\3\uffff\2\5\3\uffff\1\5\3\uffff"+
"\1\5\1\4\1\uffff\1\5\1\uffff\2\5\3\uffff\3\5\2\uffff\1\5\1\uffff"+
"\10\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA55_eot = DFA.unpackEncodedString(DFA55_eotS);
static final short[] DFA55_eof = DFA.unpackEncodedString(DFA55_eofS);
static final char[] DFA55_min = DFA.unpackEncodedStringToUnsignedChars(DFA55_minS);
static final char[] DFA55_max = DFA.unpackEncodedStringToUnsignedChars(DFA55_maxS);
static final short[] DFA55_accept = DFA.unpackEncodedString(DFA55_acceptS);
static final short[] DFA55_special = DFA.unpackEncodedString(DFA55_specialS);
static final short[][] DFA55_transition;
static {
int numStates = DFA55_transitionS.length;
DFA55_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA55_transition[i] = DFA.unpackEncodedString(DFA55_transitionS[i]);
}
}
class DFA55 extends DFA {
public DFA55(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 55;
this.eot = DFA55_eot;
this.eof = DFA55_eof;
this.min = DFA55_min;
this.max = DFA55_max;
this.accept = DFA55_accept;
this.special = DFA55_special;
this.transition = DFA55_transition;
}
public String getDescription() {
return "2921:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_17_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_18_0= ruleXExpression ) ) (otherlv_19= ',' ( (lv_memberCallArguments_20_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA55_0 = input.LA(1);
int index55_0 = input.index();
input.rewind();
s = -1;
if ( (LA55_0==RULE_ID) ) {s = 1;}
else if ( (LA55_0==29) ) {s = 2;}
else if ( (LA55_0==44) && (synpred22_InternalXTest())) {s = 3;}
else if ( (LA55_0==58) && (synpred22_InternalXTest())) {s = 4;}
else if ( ((LA55_0>=RULE_STRING && LA55_0<=RULE_DECIMAL)||LA55_0==15||(LA55_0>=20 && LA55_0<=22)||(LA55_0>=25 && LA55_0<=26)||LA55_0==32||(LA55_0>=48 && LA55_0<=49)||LA55_0==53||LA55_0==57||LA55_0==60||(LA55_0>=62 && LA55_0<=63)||(LA55_0>=67 && LA55_0<=69)||LA55_0==72||(LA55_0>=74 && LA55_0<=81)) ) {s = 5;}
else if ( (LA55_0==30) ) {s = 35;}
input.seek(index55_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA55_1 = input.LA(1);
int index55_1 = input.index();
input.rewind();
s = -1;
if ( (synpred22_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index55_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA55_2 = input.LA(1);
int index55_2 = input.index();
input.rewind();
s = -1;
if ( (synpred22_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index55_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 55, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA57_eotS =
"\110\uffff";
static final String DFA57_eofS =
"\1\2\107\uffff";
static final String DFA57_minS =
"\1\4\1\0\106\uffff";
static final String DFA57_maxS =
"\1\123\1\0\106\uffff";
static final String DFA57_acceptS =
"\2\uffff\1\2\104\uffff\1\1";
static final String DFA57_specialS =
"\1\uffff\1\0\106\uffff}>";
static final String[] DFA57_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\6\2\1\uffff"+
"\1\2\1\uffff\27\2\1\1\1\uffff\16\2\1\uffff\12\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA57_eot = DFA.unpackEncodedString(DFA57_eotS);
static final short[] DFA57_eof = DFA.unpackEncodedString(DFA57_eofS);
static final char[] DFA57_min = DFA.unpackEncodedStringToUnsignedChars(DFA57_minS);
static final char[] DFA57_max = DFA.unpackEncodedStringToUnsignedChars(DFA57_maxS);
static final short[] DFA57_accept = DFA.unpackEncodedString(DFA57_acceptS);
static final short[] DFA57_special = DFA.unpackEncodedString(DFA57_specialS);
static final short[][] DFA57_transition;
static {
int numStates = DFA57_transitionS.length;
DFA57_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA57_transition[i] = DFA.unpackEncodedString(DFA57_transitionS[i]);
}
}
class DFA57 extends DFA {
public DFA57(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 57;
this.eot = DFA57_eot;
this.eof = DFA57_eof;
this.min = DFA57_min;
this.max = DFA57_max;
this.accept = DFA57_accept;
this.special = DFA57_special;
this.transition = DFA57_transition;
}
public String getDescription() {
return "3000:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_22_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA57_1 = input.LA(1);
int index57_1 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 2;}
input.seek(index57_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 57, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA62_eotS =
"\46\uffff";
static final String DFA62_eofS =
"\46\uffff";
static final String DFA62_minS =
"\1\4\2\0\43\uffff";
static final String DFA62_maxS =
"\1\121\2\0\43\uffff";
static final String DFA62_acceptS =
"\3\uffff\2\1\1\2\40\uffff";
static final String DFA62_specialS =
"\1\0\1\1\1\2\43\uffff}>";
static final String[] DFA62_transitionS = {
"\1\1\4\5\6\uffff\1\5\4\uffff\3\5\2\uffff\2\5\2\uffff\1\2\2"+
"\uffff\1\5\13\uffff\1\3\3\uffff\2\5\3\uffff\1\5\3\uffff\1\5"+
"\1\4\2\5\1\uffff\2\5\3\uffff\6\5\1\uffff\10\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA62_eot = DFA.unpackEncodedString(DFA62_eotS);
static final short[] DFA62_eof = DFA.unpackEncodedString(DFA62_eofS);
static final char[] DFA62_min = DFA.unpackEncodedStringToUnsignedChars(DFA62_minS);
static final char[] DFA62_max = DFA.unpackEncodedStringToUnsignedChars(DFA62_maxS);
static final short[] DFA62_accept = DFA.unpackEncodedString(DFA62_acceptS);
static final short[] DFA62_special = DFA.unpackEncodedString(DFA62_specialS);
static final short[][] DFA62_transition;
static {
int numStates = DFA62_transitionS.length;
DFA62_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA62_transition[i] = DFA.unpackEncodedString(DFA62_transitionS[i]);
}
}
class DFA62 extends DFA {
public DFA62(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 62;
this.eot = DFA62_eot;
this.eof = DFA62_eof;
this.min = DFA62_min;
this.max = DFA62_max;
this.accept = DFA62_accept;
this.special = DFA62_special;
this.transition = DFA62_transition;
}
public String getDescription() {
return "3135: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 LA62_0 = input.LA(1);
int index62_0 = input.index();
input.rewind();
s = -1;
if ( (LA62_0==RULE_ID) ) {s = 1;}
else if ( (LA62_0==29) ) {s = 2;}
else if ( (LA62_0==44) && (synpred26_InternalXTest())) {s = 3;}
else if ( (LA62_0==58) && (synpred26_InternalXTest())) {s = 4;}
else if ( ((LA62_0>=RULE_STRING && LA62_0<=RULE_DECIMAL)||LA62_0==15||(LA62_0>=20 && LA62_0<=22)||(LA62_0>=25 && LA62_0<=26)||LA62_0==32||(LA62_0>=48 && LA62_0<=49)||LA62_0==53||LA62_0==57||(LA62_0>=59 && LA62_0<=60)||(LA62_0>=62 && LA62_0<=63)||(LA62_0>=67 && LA62_0<=72)||(LA62_0>=74 && LA62_0<=81)) ) {s = 5;}
input.seek(index62_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA62_1 = input.LA(1);
int index62_1 = input.index();
input.rewind();
s = -1;
if ( (synpred26_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index62_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA62_2 = input.LA(1);
int index62_2 = input.index();
input.rewind();
s = -1;
if ( (synpred26_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index62_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 62, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA84_eotS =
"\110\uffff";
static final String DFA84_eofS =
"\1\2\107\uffff";
static final String DFA84_minS =
"\1\4\1\0\106\uffff";
static final String DFA84_maxS =
"\1\123\1\0\106\uffff";
static final String DFA84_acceptS =
"\2\uffff\1\2\104\uffff\1\1";
static final String DFA84_specialS =
"\1\uffff\1\0\106\uffff}>";
static final String[] DFA84_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\1\2\1\1\4"+
"\2\1\uffff\1\2\1\uffff\30\2\1\uffff\16\2\1\uffff\12\2",
"\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 "4511: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 LA84_1 = input.LA(1);
int index84_1 = input.index();
input.rewind();
s = -1;
if ( (synpred32_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 2;}
input.seek(index84_1);
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 DFA87_eotS =
"\110\uffff";
static final String DFA87_eofS =
"\1\2\107\uffff";
static final String DFA87_minS =
"\1\4\1\0\106\uffff";
static final String DFA87_maxS =
"\1\123\1\0\106\uffff";
static final String DFA87_acceptS =
"\2\uffff\1\2\104\uffff\1\1";
static final String DFA87_specialS =
"\1\uffff\1\0\106\uffff}>";
static final String[] DFA87_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\4\2\1\1\1"+
"\2\1\uffff\1\2\1\uffff\30\2\1\uffff\16\2\1\uffff\12\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA87_eot = DFA.unpackEncodedString(DFA87_eotS);
static final short[] DFA87_eof = DFA.unpackEncodedString(DFA87_eofS);
static final char[] DFA87_min = DFA.unpackEncodedStringToUnsignedChars(DFA87_minS);
static final char[] DFA87_max = DFA.unpackEncodedStringToUnsignedChars(DFA87_maxS);
static final short[] DFA87_accept = DFA.unpackEncodedString(DFA87_acceptS);
static final short[] DFA87_special = DFA.unpackEncodedString(DFA87_specialS);
static final short[][] DFA87_transition;
static {
int numStates = DFA87_transitionS.length;
DFA87_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA87_transition[i] = DFA.unpackEncodedString(DFA87_transitionS[i]);
}
}
class DFA87 extends DFA {
public DFA87(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 87;
this.eot = DFA87_eot;
this.eof = DFA87_eof;
this.min = DFA87_min;
this.max = DFA87_max;
this.accept = DFA87_accept;
this.special = DFA87_special;
this.transition = DFA87_transition;
}
public String getDescription() {
return "4560:3: ( ( ( '(' )=>otherlv_8= '(' ) ( ( ( ( () ( ( ( 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 LA87_1 = input.LA(1);
int index87_1 = input.index();
input.rewind();
s = -1;
if ( (synpred33_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 2;}
input.seek(index87_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 87, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA86_eotS =
"\44\uffff";
static final String DFA86_eofS =
"\44\uffff";
static final String DFA86_minS =
"\1\4\2\0\41\uffff";
static final String DFA86_maxS =
"\1\121\2\0\41\uffff";
static final String DFA86_acceptS =
"\3\uffff\2\1\1\2\35\uffff\1\3";
static final String DFA86_specialS =
"\1\0\1\1\1\2\41\uffff}>";
static final String[] DFA86_transitionS = {
"\1\1\4\5\6\uffff\1\5\4\uffff\3\5\2\uffff\2\5\2\uffff\1\2\1"+
"\43\1\uffff\1\5\13\uffff\1\3\3\uffff\2\5\3\uffff\1\5\3\uffff"+
"\1\5\1\4\1\uffff\1\5\1\uffff\2\5\3\uffff\3\5\2\uffff\1\5\1\uffff"+
"\10\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA86_eot = DFA.unpackEncodedString(DFA86_eotS);
static final short[] DFA86_eof = DFA.unpackEncodedString(DFA86_eofS);
static final char[] DFA86_min = DFA.unpackEncodedStringToUnsignedChars(DFA86_minS);
static final char[] DFA86_max = DFA.unpackEncodedStringToUnsignedChars(DFA86_maxS);
static final short[] DFA86_accept = DFA.unpackEncodedString(DFA86_acceptS);
static final short[] DFA86_special = DFA.unpackEncodedString(DFA86_specialS);
static final short[][] DFA86_transition;
static {
int numStates = DFA86_transitionS.length;
DFA86_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA86_transition[i] = DFA.unpackEncodedString(DFA86_transitionS[i]);
}
}
class DFA86 extends DFA {
public DFA86(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 86;
this.eot = DFA86_eot;
this.eof = DFA86_eof;
this.min = DFA86_min;
this.max = DFA86_max;
this.accept = DFA86_accept;
this.special = DFA86_special;
this.transition = DFA86_transition;
}
public String getDescription() {
return "4565: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 LA86_0 = input.LA(1);
int index86_0 = input.index();
input.rewind();
s = -1;
if ( (LA86_0==RULE_ID) ) {s = 1;}
else if ( (LA86_0==29) ) {s = 2;}
else if ( (LA86_0==44) && (synpred34_InternalXTest())) {s = 3;}
else if ( (LA86_0==58) && (synpred34_InternalXTest())) {s = 4;}
else if ( ((LA86_0>=RULE_STRING && LA86_0<=RULE_DECIMAL)||LA86_0==15||(LA86_0>=20 && LA86_0<=22)||(LA86_0>=25 && LA86_0<=26)||LA86_0==32||(LA86_0>=48 && LA86_0<=49)||LA86_0==53||LA86_0==57||LA86_0==60||(LA86_0>=62 && LA86_0<=63)||(LA86_0>=67 && LA86_0<=69)||LA86_0==72||(LA86_0>=74 && LA86_0<=81)) ) {s = 5;}
else if ( (LA86_0==30) ) {s = 35;}
input.seek(index86_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA86_1 = input.LA(1);
int index86_1 = input.index();
input.rewind();
s = -1;
if ( (synpred34_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index86_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA86_2 = input.LA(1);
int index86_2 = input.index();
input.rewind();
s = -1;
if ( (synpred34_InternalXTest()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index86_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 86, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA88_eotS =
"\110\uffff";
static final String DFA88_eofS =
"\1\2\107\uffff";
static final String DFA88_minS =
"\1\4\1\0\106\uffff";
static final String DFA88_maxS =
"\1\123\1\0\106\uffff";
static final String DFA88_acceptS =
"\2\uffff\1\2\104\uffff\1\1";
static final String DFA88_specialS =
"\1\uffff\1\0\106\uffff}>";
static final String[] DFA88_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\7\2\1\uffff\6\2\1\uffff"+
"\1\2\1\uffff\27\2\1\1\1\uffff\16\2\1\uffff\12\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA88_eot = DFA.unpackEncodedString(DFA88_eotS);
static final short[] DFA88_eof = DFA.unpackEncodedString(DFA88_eofS);
static final char[] DFA88_min = DFA.unpackEncodedStringToUnsignedChars(DFA88_minS);
static final char[] DFA88_max = DFA.unpackEncodedStringToUnsignedChars(DFA88_maxS);
static final short[] DFA88_accept = DFA.unpackEncodedString(DFA88_acceptS);
static final short[] DFA88_special = DFA.unpackEncodedString(DFA88_specialS);
static final short[][] DFA88_transition;
static {
int numStates = DFA88_transitionS.length;
DFA88_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA88_transition[i] = DFA.unpackEncodedString(DFA88_transitionS[i]);
}
}
class DFA88 extends DFA {
public DFA88(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 88;
this.eot = DFA88_eot;
this.eof = DFA88_eof;
this.min = DFA88_min;
this.max = DFA88_max;
this.accept = DFA88_accept;
this.special = DFA88_special;
this.transition = DFA88_transition;
}
public String getDescription() {
return "4644: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 LA88_1 = input.LA(1);
int index88_1 = input.index();
input.rewind();
s = -1;
if ( (synpred35_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 2;}
input.seek(index88_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 88, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA90_eotS =
"\110\uffff";
static final String DFA90_eofS =
"\1\41\107\uffff";
static final String DFA90_minS =
"\1\4\40\0\47\uffff";
static final String DFA90_maxS =
"\1\123\40\0\47\uffff";
static final String DFA90_acceptS =
"\41\uffff\1\2\45\uffff\1\1";
static final String DFA90_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\47\uffff}>";
static final String[] DFA90_transitionS = {
"\1\1\1\22\1\16\1\17\1\20\4\uffff\1\41\1\uffff\1\40\1\uffff"+
"\3\41\1\34\1\35\1\36\1\41\1\uffff\1\37\1\10\2\41\1\33\1\41\1"+
"\uffff\1\12\1\uffff\16\41\1\4\1\3\3\41\1\2\3\41\1\13\1\uffff"+
"\1\41\1\24\1\41\1\7\1\6\3\41\1\25\1\26\1\27\2\41\1\11\1\uffff"+
"\1\5\1\14\1\15\1\21\1\23\1\30\1\31\1\32\2\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[] DFA90_eot = DFA.unpackEncodedString(DFA90_eotS);
static final short[] DFA90_eof = DFA.unpackEncodedString(DFA90_eofS);
static final char[] DFA90_min = DFA.unpackEncodedStringToUnsignedChars(DFA90_minS);
static final char[] DFA90_max = DFA.unpackEncodedStringToUnsignedChars(DFA90_maxS);
static final short[] DFA90_accept = DFA.unpackEncodedString(DFA90_acceptS);
static final short[] DFA90_special = DFA.unpackEncodedString(DFA90_specialS);
static final short[][] DFA90_transition;
static {
int numStates = DFA90_transitionS.length;
DFA90_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA90_transition[i] = DFA.unpackEncodedString(DFA90_transitionS[i]);
}
}
class DFA90 extends DFA {
public DFA90(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 90;
this.eot = DFA90_eot;
this.eof = DFA90_eof;
this.min = DFA90_min;
this.max = DFA90_max;
this.accept = DFA90_accept;
this.special = DFA90_special;
this.transition = DFA90_transition;
}
public String getDescription() {
return "4966:1: ( ( ( ruleXExpression ) )=> (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 LA90_1 = input.LA(1);
int index90_1 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_1);
if ( s>=0 ) return s;
break;
case 1 :
int LA90_2 = input.LA(1);
int index90_2 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_2);
if ( s>=0 ) return s;
break;
case 2 :
int LA90_3 = input.LA(1);
int index90_3 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_3);
if ( s>=0 ) return s;
break;
case 3 :
int LA90_4 = input.LA(1);
int index90_4 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_4);
if ( s>=0 ) return s;
break;
case 4 :
int LA90_5 = input.LA(1);
int index90_5 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_5);
if ( s>=0 ) return s;
break;
case 5 :
int LA90_6 = input.LA(1);
int index90_6 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_6);
if ( s>=0 ) return s;
break;
case 6 :
int LA90_7 = input.LA(1);
int index90_7 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_7);
if ( s>=0 ) return s;
break;
case 7 :
int LA90_8 = input.LA(1);
int index90_8 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_8);
if ( s>=0 ) return s;
break;
case 8 :
int LA90_9 = input.LA(1);
int index90_9 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_9);
if ( s>=0 ) return s;
break;
case 9 :
int LA90_10 = input.LA(1);
int index90_10 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_10);
if ( s>=0 ) return s;
break;
case 10 :
int LA90_11 = input.LA(1);
int index90_11 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_11);
if ( s>=0 ) return s;
break;
case 11 :
int LA90_12 = input.LA(1);
int index90_12 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_12);
if ( s>=0 ) return s;
break;
case 12 :
int LA90_13 = input.LA(1);
int index90_13 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_13);
if ( s>=0 ) return s;
break;
case 13 :
int LA90_14 = input.LA(1);
int index90_14 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_14);
if ( s>=0 ) return s;
break;
case 14 :
int LA90_15 = input.LA(1);
int index90_15 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_15);
if ( s>=0 ) return s;
break;
case 15 :
int LA90_16 = input.LA(1);
int index90_16 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_16);
if ( s>=0 ) return s;
break;
case 16 :
int LA90_17 = input.LA(1);
int index90_17 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_17);
if ( s>=0 ) return s;
break;
case 17 :
int LA90_18 = input.LA(1);
int index90_18 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_18);
if ( s>=0 ) return s;
break;
case 18 :
int LA90_19 = input.LA(1);
int index90_19 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_19);
if ( s>=0 ) return s;
break;
case 19 :
int LA90_20 = input.LA(1);
int index90_20 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_20);
if ( s>=0 ) return s;
break;
case 20 :
int LA90_21 = input.LA(1);
int index90_21 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_21);
if ( s>=0 ) return s;
break;
case 21 :
int LA90_22 = input.LA(1);
int index90_22 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_22);
if ( s>=0 ) return s;
break;
case 22 :
int LA90_23 = input.LA(1);
int index90_23 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_23);
if ( s>=0 ) return s;
break;
case 23 :
int LA90_24 = input.LA(1);
int index90_24 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_24);
if ( s>=0 ) return s;
break;
case 24 :
int LA90_25 = input.LA(1);
int index90_25 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_25);
if ( s>=0 ) return s;
break;
case 25 :
int LA90_26 = input.LA(1);
int index90_26 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_26);
if ( s>=0 ) return s;
break;
case 26 :
int LA90_27 = input.LA(1);
int index90_27 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_27);
if ( s>=0 ) return s;
break;
case 27 :
int LA90_28 = input.LA(1);
int index90_28 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_28);
if ( s>=0 ) return s;
break;
case 28 :
int LA90_29 = input.LA(1);
int index90_29 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_29);
if ( s>=0 ) return s;
break;
case 29 :
int LA90_30 = input.LA(1);
int index90_30 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_30);
if ( s>=0 ) return s;
break;
case 30 :
int LA90_31 = input.LA(1);
int index90_31 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_31);
if ( s>=0 ) return s;
break;
case 31 :
int LA90_32 = input.LA(1);
int index90_32 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalXTest()) ) {s = 71;}
else if ( (true) ) {s = 33;}
input.seek(index90_32);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 90, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA105_eotS =
"\112\uffff";
static final String DFA105_eofS =
"\1\2\111\uffff";
static final String DFA105_minS =
"\1\4\1\0\110\uffff";
static final String DFA105_maxS =
"\1\126\1\0\110\uffff";
static final String DFA105_acceptS =
"\2\uffff\1\2\106\uffff\1\1";
static final String DFA105_specialS =
"\1\uffff\1\0\110\uffff}>";
static final String[] DFA105_transitionS = {
"\5\2\4\uffff\1\2\1\uffff\1\2\1\uffff\11\2\1\1\4\2\1\uffff\1"+
"\2\1\uffff\30\2\1\uffff\16\2\1\uffff\12\2\2\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA105_eot = DFA.unpackEncodedString(DFA105_eotS);
static final short[] DFA105_eof = DFA.unpackEncodedString(DFA105_eofS);
static final char[] DFA105_min = DFA.unpackEncodedStringToUnsignedChars(DFA105_minS);
static final char[] DFA105_max = DFA.unpackEncodedStringToUnsignedChars(DFA105_maxS);
static final short[] DFA105_accept = DFA.unpackEncodedString(DFA105_acceptS);
static final short[] DFA105_special = DFA.unpackEncodedString(DFA105_specialS);
static final short[][] DFA105_transition;
static {
int numStates = DFA105_transitionS.length;
DFA105_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA105_transition[i] = DFA.unpackEncodedString(DFA105_transitionS[i]);
}
}
class DFA105 extends DFA {
public DFA105(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 105;
this.eot = DFA105_eot;
this.eof = DFA105_eof;
this.min = DFA105_min;
this.max = DFA105_max;
this.accept = DFA105_accept;
this.special = DFA105_special;
this.transition = DFA105_transition;
}
public String getDescription() {
return "5482:2: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA105_1 = input.LA(1);
int index105_1 = input.index();
input.rewind();
s = -1;
if ( (synpred42_InternalXTest()) ) {s = 73;}
else if ( (true) ) {s = 2;}
input.seek(index105_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 105, _s, input);
error(nvae);
throw nvae;
}
}
public static final BitSet FOLLOW_ruleBody_in_entryRuleBody75 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleBody85 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFileParam_in_ruleBody153 = new BitSet(new long[]{0xD22300012670E1F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_13_in_ruleBody166 = new BitSet(new long[]{0xD22300012670E1F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleImport_in_ruleBody192 = new BitSet(new long[]{0xD22300012670E1F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_13_in_ruleBody205 = new BitSet(new long[]{0xD22300012670C1F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpressionInsideBlock_in_ruleBody231 = new BitSet(new long[]{0xD22300012670A1F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_13_in_ruleBody244 = new BitSet(new long[]{0xD2230001267081F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleImport_in_entryRuleImport284 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleImport294 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_14_in_ruleImport331 = new BitSet(new long[]{0x0000000000008010L});
public static final BitSet FOLLOW_15_in_ruleImport351 = new BitSet(new long[]{0x0000000000010010L});
public static final BitSet FOLLOW_16_in_ruleImport382 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleImport419 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_17_in_ruleImport431 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_18_in_ruleImport443 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleImport473 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedNamespaceWithWildcard_in_ruleImport500 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedNamespaceWithWildcard_in_entryRuleQualifiedNamespaceWithWildcard538 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNamespaceWithWildcard549 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedNamespaceWithWildcard596 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_17_in_ruleQualifiedNamespaceWithWildcard614 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_18_in_ruleQualifiedNamespaceWithWildcard627 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFileParam_in_entryRuleFileParam667 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleFileParam677 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleFileParam734 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleFileParam746 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001800L});
public static final BitSet FOLLOW_ruleXBooleanLiteral_in_ruleFileParam767 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleUniqueName_in_entryRuleUniqueName803 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleUniqueName813 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleUniqueName866 = new BitSet(new long[]{0x0000000020000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleUniqueName886 = new BitSet(new long[]{0x0000000020000002L});
public static final BitSet FOLLOW_ruleXParenthesizedExpression_in_ruleUniqueName916 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTestExpression_in_entryRuleXTestExpression953 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXTestExpression963 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_20_in_ruleXTestExpression1010 = new BitSet(new long[]{0x8000000020000030L});
public static final BitSet FOLLOW_21_in_ruleXTestExpression1028 = new BitSet(new long[]{0x8000000020000030L});
public static final BitSet FOLLOW_ruleUniqueName_in_ruleXTestExpression1050 = new BitSet(new long[]{0x8000000000000000L});
public static final BitSet FOLLOW_ruleXBlockExpression_in_ruleXTestExpression1071 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAssertExpression_in_entryRuleXAssertExpression1107 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAssertExpression1117 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_22_in_ruleXAssertExpression1163 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXAssertExpression1184 = new BitSet(new long[]{0x0000000000800002L});
public static final BitSet FOLLOW_23_in_ruleXAssertExpression1205 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXAssertExpression1227 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleParameter_in_entryRuleParameter1265 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleParameter1275 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleParameter1321 = new BitSet(new long[]{0x0000000001000010L});
public static final BitSet FOLLOW_24_in_ruleParameter1339 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleParameter1374 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMethodDef_in_entryRuleXMethodDef1410 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXMethodDef1420 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_25_in_ruleXMethodDef1512 = new BitSet(new long[]{0x0000100026008010L});
public static final BitSet FOLLOW_15_in_ruleXMethodDef1585 = new BitSet(new long[]{0x0000100026008010L});
public static final BitSet FOLLOW_26_in_ruleXMethodDef1657 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleJvmTypeParameter_in_ruleXMethodDef1678 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_27_in_ruleXMethodDef1691 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleJvmTypeParameter_in_ruleXMethodDef1712 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_28_in_ruleXMethodDef1726 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXMethodDef1749 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXMethodDef1771 = new BitSet(new long[]{0x8000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXMethodDef1784 = new BitSet(new long[]{0x0000100060000010L});
public static final BitSet FOLLOW_ruleParameter_in_ruleXMethodDef1806 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_27_in_ruleXMethodDef1819 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleParameter_in_ruleXMethodDef1840 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_30_in_ruleXMethodDef1856 = new BitSet(new long[]{0x8000000000000000L});
public static final BitSet FOLLOW_ruleXBlockExpression_in_ruleXMethodDef1879 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMethodDefExpression_in_entryRuleXMethodDefExpression1915 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXMethodDefExpression1925 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMethodDef_in_ruleXMethodDefExpression1980 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression2016 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXPrimaryExpression2026 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression2073 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression2100 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression2127 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression2154 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression2181 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression2208 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression2235 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression2262 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression2289 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression2316 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression2343 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression2370 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression2397 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTestExpression_in_ruleXPrimaryExpression2424 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAssertExpression_in_ruleXPrimaryExpression2451 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMethodDefExpression_in_ruleXPrimaryExpression2478 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleStaticEquals_in_entryRuleStaticEquals2514 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleStaticEquals2525 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_31_in_ruleStaticEquals2562 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXFeatureCall_in_entryRuleXFeatureCall2601 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXFeatureCall2611 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleStaticQualifier_in_ruleXFeatureCall2668 = new BitSet(new long[]{0x0000000104000010L,0x0000000000000100L});
public static final BitSet FOLLOW_26_in_ruleXFeatureCall2682 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall2703 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_27_in_ruleXFeatureCall2716 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXFeatureCall2737 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_28_in_ruleXFeatureCall2751 = new BitSet(new long[]{0x0000000100000010L,0x0000000000000100L});
public static final BitSet FOLLOW_ruleIdOrSuper_in_ruleXFeatureCall2777 = new BitSet(new long[]{0x02000000A0000002L});
public static final BitSet FOLLOW_32_in_ruleXFeatureCall2795 = new BitSet(new long[]{0x02000000A0000002L});
public static final BitSet FOLLOW_29_in_ruleXFeatureCall2830 = new BitSet(new long[]{0xD6231001667081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXShortClosure_in_ruleXFeatureCall2915 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXFeatureCall2943 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_27_in_ruleXFeatureCall2956 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXFeatureCall2977 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_30_in_ruleXFeatureCall2994 = new BitSet(new long[]{0x0200000080000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXFeatureCall3027 = new BitSet(new long[]{0x0000000080000002L});
public static final BitSet FOLLOW_ruleStaticEquals_in_ruleXFeatureCall3054 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXFeatureCall3074 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpression_in_entryRuleXExpression3112 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXExpression3122 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXExpression3168 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAssignment_in_entryRuleXAssignment3202 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAssignment3212 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXAssignment3270 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_ruleXAssignment3286 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXAssignment3306 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOrExpression_in_ruleXAssignment3336 = new BitSet(new long[]{0x0000000400000002L});
public static final BitSet FOLLOW_ruleOpMultiAssign_in_ruleXAssignment3389 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXAssignment3412 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign3452 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpSingleAssign3463 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_33_in_ruleOpSingleAssign3500 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign3540 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpMultiAssign3551 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_34_in_ruleOpMultiAssign3588 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression3627 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXOrExpression3637 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAndExpression_in_ruleXOrExpression3684 = new BitSet(new long[]{0x0000000800000002L});
public static final BitSet FOLLOW_ruleOpOr_in_ruleXOrExpression3737 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXAndExpression_in_ruleXOrExpression3760 = new BitSet(new long[]{0x0000000800000002L});
public static final BitSet FOLLOW_ruleOpOr_in_entryRuleOpOr3799 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpOr3810 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_35_in_ruleOpOr3847 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression3886 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAndExpression3896 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression3943 = new BitSet(new long[]{0x0000001000000002L});
public static final BitSet FOLLOW_ruleOpAnd_in_ruleXAndExpression3996 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression4019 = new BitSet(new long[]{0x0000001000000002L});
public static final BitSet FOLLOW_ruleOpAnd_in_entryRuleOpAnd4058 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpAnd4069 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_36_in_ruleOpAnd4106 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression4145 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXEqualityExpression4155 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression4202 = new BitSet(new long[]{0x0000006000000002L});
public static final BitSet FOLLOW_ruleOpEquality_in_ruleXEqualityExpression4255 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression4278 = new BitSet(new long[]{0x0000006000000002L});
public static final BitSet FOLLOW_ruleOpEquality_in_entryRuleOpEquality4317 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpEquality4328 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_37_in_ruleOpEquality4366 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_38_in_ruleOpEquality4385 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression4425 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXRelationalExpression4435 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4482 = new BitSet(new long[]{0x0000038014000002L});
public static final BitSet FOLLOW_39_in_ruleXRelationalExpression4518 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression4541 = new BitSet(new long[]{0x0000038014000002L});
public static final BitSet FOLLOW_ruleOpCompare_in_ruleXRelationalExpression4602 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4625 = new BitSet(new long[]{0x0000038014000002L});
public static final BitSet FOLLOW_ruleOpCompare_in_entryRuleOpCompare4665 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpCompare4676 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_40_in_ruleOpCompare4714 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_41_in_ruleOpCompare4733 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleOpCompare4752 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_ruleOpCompare4771 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression4811 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXOtherOperatorExpression4821 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4868 = new BitSet(new long[]{0x0000FC0014000002L});
public static final BitSet FOLLOW_ruleOpOther_in_ruleXOtherOperatorExpression4921 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4944 = new BitSet(new long[]{0x0000FC0014000002L});
public static final BitSet FOLLOW_ruleOpOther_in_entryRuleOpOther4983 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpOther4994 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_42_in_ruleOpOther5032 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_43_in_ruleOpOther5051 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_44_in_ruleOpOther5070 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleOpOther5090 = new BitSet(new long[]{0x0000000010000000L});
public static final BitSet FOLLOW_28_in_ruleOpOther5121 = new BitSet(new long[]{0x0000000010000000L});
public static final BitSet FOLLOW_28_in_ruleOpOther5134 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_ruleOpOther5155 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_ruleOpOther5177 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_26_in_ruleOpOther5208 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_26_in_ruleOpOther5221 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_ruleOpOther5242 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_45_in_ruleOpOther5263 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_46_in_ruleOpOther5282 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_47_in_ruleOpOther5301 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression5341 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXAdditiveExpression5351 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression5398 = new BitSet(new long[]{0x0003000000000002L});
public static final BitSet FOLLOW_ruleOpAdd_in_ruleXAdditiveExpression5451 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression5474 = new BitSet(new long[]{0x0003000000000002L});
public static final BitSet FOLLOW_ruleOpAdd_in_entryRuleOpAdd5513 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpAdd5524 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_48_in_ruleOpAdd5562 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_ruleOpAdd5581 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression5621 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXMultiplicativeExpression5631 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5678 = new BitSet(new long[]{0x001C000000040002L});
public static final BitSet FOLLOW_ruleOpMulti_in_ruleXMultiplicativeExpression5731 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5754 = new BitSet(new long[]{0x001C000000040002L});
public static final BitSet FOLLOW_ruleOpMulti_in_entryRuleOpMulti5793 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpMulti5804 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_18_in_ruleOpMulti5842 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_50_in_ruleOpMulti5861 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_ruleOpMulti5880 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_52_in_ruleOpMulti5899 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation5939 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXUnaryOperation5949 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpUnary_in_ruleXUnaryOperation6007 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation6028 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation6057 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpUnary_in_entryRuleOpUnary6093 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOpUnary6104 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_53_in_ruleOpUnary6142 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_ruleOpUnary6161 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_48_in_ruleOpUnary6180 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression6220 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCastedExpression6230 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXMemberFeatureCall_in_ruleXCastedExpression6277 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_54_in_ruleXCastedExpression6312 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression6335 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall6373 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXMemberFeatureCall6383 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXPrimaryExpression_in_ruleXMemberFeatureCall6430 = new BitSet(new long[]{0x0180000000020002L});
public static final BitSet FOLLOW_17_in_ruleXMemberFeatureCall6479 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXMemberFeatureCall6502 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_ruleXMemberFeatureCall6518 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall6540 = new BitSet(new long[]{0x0180000000020002L});
public static final BitSet FOLLOW_17_in_ruleXMemberFeatureCall6626 = new BitSet(new long[]{0x0000000004000010L});
public static final BitSet FOLLOW_55_in_ruleXMemberFeatureCall6650 = new BitSet(new long[]{0x0000000004000010L});
public static final BitSet FOLLOW_56_in_ruleXMemberFeatureCall6687 = new BitSet(new long[]{0x0000000004000010L});
public static final BitSet FOLLOW_26_in_ruleXMemberFeatureCall6716 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6737 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_27_in_ruleXMemberFeatureCall6750 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6771 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_28_in_ruleXMemberFeatureCall6785 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXMemberFeatureCall6810 = new BitSet(new long[]{0x0380000020020002L});
public static final BitSet FOLLOW_29_in_ruleXMemberFeatureCall6844 = new BitSet(new long[]{0xD6231001667081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall6929 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6957 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_27_in_ruleXMemberFeatureCall6970 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6991 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_30_in_ruleXMemberFeatureCall7008 = new BitSet(new long[]{0x0380000000020002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall7043 = new BitSet(new long[]{0x0180000000020002L});
public static final BitSet FOLLOW_ruleXLiteral_in_entryRuleXLiteral7083 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXLiteral7093 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXLiteral7153 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral7181 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNumberLiteral_in_ruleXLiteral7208 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNullLiteral_in_ruleXLiteral7235 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXStringLiteral_in_ruleXLiteral7262 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTypeLiteral_in_ruleXLiteral7289 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_entryRuleXClosure7324 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXClosure7334 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_ruleXClosure7394 = new BitSet(new long[]{0xDE231001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXClosure7467 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_27_in_ruleXClosure7480 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXClosure7501 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_58_in_ruleXClosure7523 = new BitSet(new long[]{0xDA230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpressionInClosure_in_ruleXClosure7560 = new BitSet(new long[]{0x0800000000000000L});
public static final BitSet FOLLOW_59_in_ruleXClosure7572 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionInClosure_in_entryRuleXExpressionInClosure7608 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXExpressionInClosure7618 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionInsideBlock_in_ruleXExpressionInClosure7674 = new BitSet(new long[]{0xD22300012670A1F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_13_in_ruleXExpressionInClosure7687 = new BitSet(new long[]{0xD2230001267081F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure7727 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXShortClosure7737 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure7845 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_27_in_ruleXShortClosure7858 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXShortClosure7879 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_58_in_ruleXShortClosure7901 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXShortClosure7937 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXParenthesizedExpression_in_entryRuleXParenthesizedExpression7973 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXParenthesizedExpression7983 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_ruleXParenthesizedExpression8020 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXParenthesizedExpression8042 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXParenthesizedExpression8053 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXIfExpression_in_entryRuleXIfExpression8089 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXIfExpression8099 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_60_in_ruleXIfExpression8145 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXIfExpression8157 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXIfExpression8178 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXIfExpression8190 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXIfExpression8211 = new BitSet(new long[]{0x2000000000000002L});
public static final BitSet FOLLOW_61_in_ruleXIfExpression8232 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXIfExpression8254 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXSwitchExpression_in_entryRuleXSwitchExpression8292 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXSwitchExpression8302 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_62_in_ruleXSwitchExpression8348 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXSwitchExpression8391 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleXSwitchExpression8403 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSwitchExpression8427 = new BitSet(new long[]{0x8000000000000000L});
public static final BitSet FOLLOW_29_in_ruleXSwitchExpression8471 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXSwitchExpression8492 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleXSwitchExpression8504 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSwitchExpression8527 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXSwitchExpression8539 = new BitSet(new long[]{0x8000000000000000L});
public static final BitSet FOLLOW_63_in_ruleXSwitchExpression8553 = new BitSet(new long[]{0x0000100020080010L,0x0000000000000004L});
public static final BitSet FOLLOW_ruleXCasePart_in_ruleXSwitchExpression8574 = new BitSet(new long[]{0x0000100020080010L,0x0000000000000007L});
public static final BitSet FOLLOW_64_in_ruleXSwitchExpression8588 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleXSwitchExpression8600 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXSwitchExpression8621 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_65_in_ruleXSwitchExpression8635 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCasePart_in_entryRuleXCasePart8671 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCasePart8681 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXCasePart8727 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000004L});
public static final BitSet FOLLOW_66_in_ruleXCasePart8741 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXCasePart8762 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleXCasePart8776 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXCasePart8797 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXForLoopExpression_in_entryRuleXForLoopExpression8833 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXForLoopExpression8843 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_67_in_ruleXForLoopExpression8889 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXForLoopExpression8901 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_ruleXForLoopExpression8922 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_ruleXForLoopExpression8934 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXForLoopExpression8955 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXForLoopExpression8967 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXForLoopExpression8988 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXWhileExpression_in_entryRuleXWhileExpression9024 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXWhileExpression9034 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_68_in_ruleXWhileExpression9080 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXWhileExpression9092 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXWhileExpression9113 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXWhileExpression9125 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXWhileExpression9146 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXDoWhileExpression_in_entryRuleXDoWhileExpression9182 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXDoWhileExpression9192 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_69_in_ruleXDoWhileExpression9238 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXDoWhileExpression9259 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_68_in_ruleXDoWhileExpression9271 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXDoWhileExpression9283 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXDoWhileExpression9304 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXDoWhileExpression9316 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBlockExpression_in_entryRuleXBlockExpression9352 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXBlockExpression9362 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_63_in_ruleXBlockExpression9408 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDFAL});
public static final BitSet FOLLOW_ruleXExpressionInsideBlock_in_ruleXBlockExpression9430 = new BitSet(new long[]{0xD22300012670A1F0L,0x000000000003FDFAL});
public static final BitSet FOLLOW_13_in_ruleXBlockExpression9443 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDFAL});
public static final BitSet FOLLOW_65_in_ruleXBlockExpression9459 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpressionInsideBlock_in_entryRuleXExpressionInsideBlock9495 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXExpressionInsideBlock9505 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXVariableDeclaration_in_ruleXExpressionInsideBlock9552 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXExpressionInsideBlock9579 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXVariableDeclaration_in_entryRuleXVariableDeclaration9614 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXVariableDeclaration9624 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_70_in_ruleXVariableDeclaration9677 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_71_in_ruleXVariableDeclaration9708 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXVariableDeclaration9756 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXVariableDeclaration9777 = new BitSet(new long[]{0x0000000200000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleXVariableDeclaration9806 = new BitSet(new long[]{0x0000000200000002L});
public static final BitSet FOLLOW_33_in_ruleXVariableDeclaration9820 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXVariableDeclaration9841 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_entryRuleJvmFormalParameter9879 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmFormalParameter9889 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmFormalParameter9935 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleJvmFormalParameter9957 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleFullJvmFormalParameter_in_entryRuleFullJvmFormalParameter9993 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleFullJvmFormalParameter10003 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleFullJvmFormalParameter10049 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleFullJvmFormalParameter10070 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper10107 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleIdOrSuper10118 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleIdOrSuper10165 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_ruleIdOrSuper10189 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleStaticQualifier_in_entryRuleStaticQualifier10230 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleStaticQualifier10241 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleStaticQualifier10288 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_73_in_ruleStaticQualifier10306 = new BitSet(new long[]{0x0000000000000012L});
public static final BitSet FOLLOW_ruleXConstructorCall_in_entryRuleXConstructorCall10347 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXConstructorCall10357 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_74_in_ruleXConstructorCall10403 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleXConstructorCall10426 = new BitSet(new long[]{0x0200000024000002L});
public static final BitSet FOLLOW_26_in_ruleXConstructorCall10447 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10469 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_27_in_ruleXConstructorCall10482 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleXConstructorCall10503 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_28_in_ruleXConstructorCall10517 = new BitSet(new long[]{0x0200000020000002L});
public static final BitSet FOLLOW_29_in_ruleXConstructorCall10540 = new BitSet(new long[]{0xD6231001667081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXShortClosure_in_ruleXConstructorCall10613 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXConstructorCall10641 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_27_in_ruleXConstructorCall10654 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXConstructorCall10675 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_30_in_ruleXConstructorCall10692 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_ruleXConstructorCall10727 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXBooleanLiteral_in_entryRuleXBooleanLiteral10764 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXBooleanLiteral10774 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_75_in_ruleXBooleanLiteral10821 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_76_in_ruleXBooleanLiteral10845 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNullLiteral_in_entryRuleXNullLiteral10895 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXNullLiteral10905 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_77_in_ruleXNullLiteral10951 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXNumberLiteral_in_entryRuleXNumberLiteral10987 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXNumberLiteral10997 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNumber_in_ruleXNumberLiteral11052 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXStringLiteral_in_entryRuleXStringLiteral11088 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXStringLiteral11098 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleXStringLiteral11149 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTypeLiteral_in_entryRuleXTypeLiteral11190 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXTypeLiteral11200 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_78_in_ruleXTypeLiteral11246 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXTypeLiteral11258 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleXTypeLiteral11281 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXTypeLiteral11293 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXThrowExpression_in_entryRuleXThrowExpression11329 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXThrowExpression11339 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_79_in_ruleXThrowExpression11385 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXThrowExpression11406 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXReturnExpression_in_entryRuleXReturnExpression11442 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXReturnExpression11452 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_80_in_ruleXReturnExpression11498 = new BitSet(new long[]{0xD2230001267081F2L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXReturnExpression11529 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXTryCatchFinallyExpression_in_entryRuleXTryCatchFinallyExpression11566 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXTryCatchFinallyExpression11576 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_81_in_ruleXTryCatchFinallyExpression11622 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11643 = new BitSet(new long[]{0x0000000000000000L,0x00000000000C0000L});
public static final BitSet FOLLOW_ruleXCatchClause_in_ruleXTryCatchFinallyExpression11673 = new BitSet(new long[]{0x0000000000000002L,0x00000000000C0000L});
public static final BitSet FOLLOW_82_in_ruleXTryCatchFinallyExpression11695 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11717 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_82_in_ruleXTryCatchFinallyExpression11739 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXTryCatchFinallyExpression11760 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXCatchClause_in_entryRuleXCatchClause11798 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXCatchClause11808 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_83_in_ruleXCatchClause11853 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_ruleXCatchClause11866 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleFullJvmFormalParameter_in_ruleXCatchClause11887 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_30_in_ruleXCatchClause11899 = new BitSet(new long[]{0xD2230001267081F0L,0x000000000003FDF8L});
public static final BitSet FOLLOW_ruleXExpression_in_ruleXCatchClause11920 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName11957 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName11968 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleQualifiedName12015 = new BitSet(new long[]{0x0000000000020002L});
public static final BitSet FOLLOW_17_in_ruleQualifiedName12043 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_ruleQualifiedName12066 = new BitSet(new long[]{0x0000000000020002L});
public static final BitSet FOLLOW_ruleNumber_in_entryRuleNumber12120 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleNumber12131 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_HEX_in_ruleNumber12175 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_INT_in_ruleNumber12203 = new BitSet(new long[]{0x0000000000020002L});
public static final BitSet FOLLOW_RULE_DECIMAL_in_ruleNumber12229 = new BitSet(new long[]{0x0000000000020002L});
public static final BitSet FOLLOW_17_in_ruleNumber12249 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_RULE_INT_in_ruleNumber12265 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_DECIMAL_in_ruleNumber12291 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_entryRuleJvmTypeReference12344 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmTypeReference12354 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmParameterizedTypeReference_in_ruleJvmTypeReference12402 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_57_in_ruleJvmTypeReference12440 = new BitSet(new long[]{0x0800000000000000L});
public static final BitSet FOLLOW_59_in_ruleJvmTypeReference12452 = new BitSet(new long[]{0x0200000000000002L});
public static final BitSet FOLLOW_ruleXFunctionTypeRef_in_ruleJvmTypeReference12484 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXFunctionTypeRef_in_entryRuleXFunctionTypeRef12519 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleXFunctionTypeRef12529 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_ruleXFunctionTypeRef12567 = new BitSet(new long[]{0x0000100060000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12589 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_27_in_ruleXFunctionTypeRef12602 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12623 = new BitSet(new long[]{0x0000000048000000L});
public static final BitSet FOLLOW_30_in_ruleXFunctionTypeRef12639 = new BitSet(new long[]{0x0000100000000000L});
public static final BitSet FOLLOW_44_in_ruleXFunctionTypeRef12653 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleXFunctionTypeRef12674 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmParameterizedTypeReference_in_entryRuleJvmParameterizedTypeReference12710 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmParameterizedTypeReference12720 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleJvmParameterizedTypeReference12768 = new BitSet(new long[]{0x0000000004000002L});
public static final BitSet FOLLOW_26_in_ruleJvmParameterizedTypeReference12789 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12811 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_27_in_ruleJvmParameterizedTypeReference12824 = new BitSet(new long[]{0x0000100020000010L,0x0000000000100000L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_ruleJvmParameterizedTypeReference12845 = new BitSet(new long[]{0x0000000018000000L});
public static final BitSet FOLLOW_28_in_ruleJvmParameterizedTypeReference12859 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmArgumentTypeReference_in_entryRuleJvmArgumentTypeReference12897 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmArgumentTypeReference12907 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmArgumentTypeReference12954 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmWildcardTypeReference_in_ruleJvmArgumentTypeReference12981 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmWildcardTypeReference_in_entryRuleJvmWildcardTypeReference13016 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmWildcardTypeReference13026 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_ruleJvmWildcardTypeReference13072 = new BitSet(new long[]{0x0000000000000002L,0x0000000000200100L});
public static final BitSet FOLLOW_ruleJvmUpperBound_in_ruleJvmWildcardTypeReference13094 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmLowerBound_in_ruleJvmWildcardTypeReference13121 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmUpperBound_in_entryRuleJvmUpperBound13159 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmUpperBound13169 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_85_in_ruleJvmUpperBound13206 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBound13227 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmUpperBoundAnded_in_entryRuleJvmUpperBoundAnded13263 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmUpperBoundAnded13273 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_86_in_ruleJvmUpperBoundAnded13310 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmUpperBoundAnded13331 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmLowerBound_in_entryRuleJvmLowerBound13367 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmLowerBound13377 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_ruleJvmLowerBound13414 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_ruleJvmLowerBound13435 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeParameter_in_entryRuleJvmTypeParameter13471 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJvmTypeParameter13481 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_ruleJvmTypeParameter13527 = new BitSet(new long[]{0x0000000000000002L,0x0000000000200100L});
public static final BitSet FOLLOW_ruleJvmUpperBound_in_ruleJvmTypeParameter13550 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
public static final BitSet FOLLOW_ruleJvmUpperBoundAnded_in_ruleJvmTypeParameter13571 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
public static final BitSet FOLLOW_ruleJvmLowerBound_in_ruleJvmTypeParameter13600 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_entryRuleValidID13639 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleValidID13650 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleValidID13689 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_synpred1_InternalXTest135 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_23_in_synpred3_InternalXTest1197 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_synpred4_InternalXTest2812 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred5_InternalXTest2864 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_27_in_synpred5_InternalXTest2871 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred5_InternalXTest2878 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_58_in_synpred5_InternalXTest2892 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXClosure_in_synpred6_InternalXTest3010 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpMultiAssign_in_synpred7_InternalXTest3357 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpOr_in_synpred8_InternalXTest3705 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpAnd_in_synpred9_InternalXTest3964 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpEquality_in_synpred10_InternalXTest4223 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_39_in_synpred11_InternalXTest4499 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpCompare_in_synpred12_InternalXTest4570 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpOther_in_synpred13_InternalXTest4889 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_synpred14_InternalXTest5105 = new BitSet(new long[]{0x0000000010000000L});
public static final BitSet FOLLOW_28_in_synpred14_InternalXTest5110 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_synpred15_InternalXTest5192 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_26_in_synpred15_InternalXTest5197 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpAdd_in_synpred16_InternalXTest5419 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOpMulti_in_synpred17_InternalXTest5699 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_synpred18_InternalXTest6293 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_17_in_synpred19_InternalXTest6447 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_synpred19_InternalXTest6456 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_ruleOpSingleAssign_in_synpred19_InternalXTest6462 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_17_in_synpred20_InternalXTest6565 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_55_in_synpred20_InternalXTest6579 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_56_in_synpred20_InternalXTest6599 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_synpred21_InternalXTest6826 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred22_InternalXTest6878 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_27_in_synpred22_InternalXTest6885 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred22_InternalXTest6892 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_58_in_synpred22_InternalXTest6906 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_synpred23_InternalXTest7026 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_synpred24_InternalXTest7134 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred26_InternalXTest7413 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_27_in_synpred26_InternalXTest7420 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred26_InternalXTest7427 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_58_in_synpred26_InternalXTest7441 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_61_in_synpred28_InternalXTest8224 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValidID_in_synpred29_InternalXTest8366 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_synpred29_InternalXTest8372 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_synpred30_InternalXTest8448 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_synpred30_InternalXTest8455 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_synpred30_InternalXTest8461 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmTypeReference_in_synpred31_InternalXTest9726 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValidID_in_synpred31_InternalXTest9735 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_synpred32_InternalXTest10439 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_synpred33_InternalXTest10532 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred34_InternalXTest10562 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_27_in_synpred34_InternalXTest10569 = new BitSet(new long[]{0x0000100020000010L});
public static final BitSet FOLLOW_ruleJvmFormalParameter_in_synpred34_InternalXTest10576 = new BitSet(new long[]{0x0400000008000000L});
public static final BitSet FOLLOW_58_in_synpred34_InternalXTest10590 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_synpred35_InternalXTest10710 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleXExpression_in_synpred36_InternalXTest11512 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_83_in_synpred37_InternalXTest11657 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_82_in_synpred38_InternalXTest11687 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_17_in_synpred40_InternalXTest12034 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_synpred41_InternalXTest12417 = new BitSet(new long[]{0x0800000000000000L});
public static final BitSet FOLLOW_59_in_synpred41_InternalXTest12421 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_26_in_synpred42_InternalXTest12781 = new BitSet(new long[]{0x0000000000000002L});
}