blob: 4263f316a00122ec8038f811de8acfe5ff21cbca [file] [log] [blame]
package org.eclipse.osbp.xtext.cubedsl.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.eclipse.osbp.xtext.cubedsl.services.CubeDSLGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
* generated by Xtext 2.11.0
*
*/
@SuppressWarnings("all")
public class InternalCubeDSLParser 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", "'package'", "'{'", "'schemaTableNamesToLowerCase'", "'}'", "'cube'", "'defaultMeasure'", "'dimensionUsage'", "'over'", "'dimension'", "'typeTime'", "'hierarchy'", "'hasAll'", "'allMemberName'", "'defaultMember'", "'entity'", "'key'", "'level'", "'column'", "'nameColumn'", "'captionColumn'", "'ordinalColumn'", "'uniqueMembers'", "'levelType'", "'property'", "'type'", "'measure'", "'notVisible'", "'.'", "'import'", "'static'", "'extension'", "'*'", "'ns'", "';'", "'@'", "'('", "','", "')'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'sum'", "'count'", "'min'", "'max'", "'avg'", "'distinct-count'", "'String'", "'Numeric'", "'Integer'", "'Boolean'", "'Date'", "'Time'", "'Timestamp'", "'TimeYears'", "'TimeHalfYears'", "'TimeQuarters'", "'TimeMonths'", "'TimeWeeks'", "'TimeDays'", "'TimeHours'", "'TimeMinutes'", "'TimeSeconds'"
};
public static final int RULE_HEX=6;
public static final int T__50=50;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__52=52;
public static final int T__53=53;
public static final int T__54=54;
public static final int T__133=133;
public static final int T__132=132;
public static final int T__60=60;
public static final int T__135=135;
public static final int T__61=61;
public static final int T__134=134;
public static final int RULE_ID=4;
public static final int T__131=131;
public static final int T__130=130;
public static final int RULE_INT=7;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=9;
public static final int T__67=67;
public static final int T__129=129;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__126=126;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__65=65;
public static final int T__127=127;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__102=102;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int T__19=19;
public static final int T__15=15;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int RULE_DECIMAL=8;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__122=122;
public static final int T__70=70;
public static final int T__121=121;
public static final int T__71=71;
public static final int T__124=124;
public static final int T__72=72;
public static final int T__123=123;
public static final int T__120=120;
public static final int RULE_STRING=5;
public static final int RULE_SL_COMMENT=10;
public static final int T__77=77;
public static final int T__119=119;
public static final int T__78=78;
public static final int T__118=118;
public static final int T__79=79;
public static final int T__73=73;
public static final int T__115=115;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__114=114;
public static final int T__75=75;
public static final int T__117=117;
public static final int T__76=76;
public static final int T__116=116;
public static final int T__80=80;
public static final int T__111=111;
public static final int T__81=81;
public static final int T__110=110;
public static final int T__82=82;
public static final int T__113=113;
public static final int T__83=83;
public static final int T__112=112;
public static final int RULE_WS=11;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__108=108;
public static final int T__89=89;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__84=84;
public static final int T__104=104;
public static final int T__85=85;
public static final int T__103=103;
public static final int T__86=86;
public static final int T__106=106;
public static final int T__87=87;
public static final int T__105=105;
// delegates
// delegators
public InternalCubeDSLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalCubeDSLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalCubeDSLParser.tokenNames; }
public String getGrammarFileName() { return "InternalCubeDSL.g"; }
private CubeDSLGrammarAccess grammarAccess;
public InternalCubeDSLParser(TokenStream input, CubeDSLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "CubeModel";
}
@Override
protected CubeDSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleCubeModel"
// InternalCubeDSL.g:80:1: entryRuleCubeModel returns [EObject current=null] : iv_ruleCubeModel= ruleCubeModel EOF ;
public final EObject entryRuleCubeModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeModel = null;
try {
// InternalCubeDSL.g:80:50: (iv_ruleCubeModel= ruleCubeModel EOF )
// InternalCubeDSL.g:81:2: iv_ruleCubeModel= ruleCubeModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeModelRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeModel=ruleCubeModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeModel;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeModel"
// $ANTLR start "ruleCubeModel"
// InternalCubeDSL.g:87:1: ruleCubeModel returns [EObject current=null] : ( () ( (lv_importSection_1_0= ruleXImportSection ) )? ( (lv_pckg_2_0= ruleCubePackage ) ) ) ;
public final EObject ruleCubeModel() throws RecognitionException {
EObject current = null;
EObject lv_importSection_1_0 = null;
EObject lv_pckg_2_0 = null;
enterRule();
try {
// InternalCubeDSL.g:93:2: ( ( () ( (lv_importSection_1_0= ruleXImportSection ) )? ( (lv_pckg_2_0= ruleCubePackage ) ) ) )
// InternalCubeDSL.g:94:2: ( () ( (lv_importSection_1_0= ruleXImportSection ) )? ( (lv_pckg_2_0= ruleCubePackage ) ) )
{
// InternalCubeDSL.g:94:2: ( () ( (lv_importSection_1_0= ruleXImportSection ) )? ( (lv_pckg_2_0= ruleCubePackage ) ) )
// InternalCubeDSL.g:95:3: () ( (lv_importSection_1_0= ruleXImportSection ) )? ( (lv_pckg_2_0= ruleCubePackage ) )
{
// InternalCubeDSL.g:95:3: ()
// InternalCubeDSL.g:96:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getCubeModelAccess().getCubeModelAction_0(),
current);
}
}
// InternalCubeDSL.g:102:3: ( (lv_importSection_1_0= ruleXImportSection ) )?
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==41) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// InternalCubeDSL.g:103:4: (lv_importSection_1_0= ruleXImportSection )
{
// InternalCubeDSL.g:103:4: (lv_importSection_1_0= ruleXImportSection )
// InternalCubeDSL.g:104:5: lv_importSection_1_0= ruleXImportSection
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeModelAccess().getImportSectionXImportSectionParserRuleCall_1_0());
}
pushFollow(FOLLOW_3);
lv_importSection_1_0=ruleXImportSection();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeModelRule());
}
set(
current,
"importSection",
lv_importSection_1_0,
"org.eclipse.xtext.xbase.Xtype.XImportSection");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalCubeDSL.g:121:3: ( (lv_pckg_2_0= ruleCubePackage ) )
// InternalCubeDSL.g:122:4: (lv_pckg_2_0= ruleCubePackage )
{
// InternalCubeDSL.g:122:4: (lv_pckg_2_0= ruleCubePackage )
// InternalCubeDSL.g:123:5: lv_pckg_2_0= ruleCubePackage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeModelAccess().getPckgCubePackageParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
lv_pckg_2_0=ruleCubePackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeModelRule());
}
set(
current,
"pckg",
lv_pckg_2_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubePackage");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeModel"
// $ANTLR start "entryRuleCubePackage"
// InternalCubeDSL.g:144:1: entryRuleCubePackage returns [EObject current=null] : iv_ruleCubePackage= ruleCubePackage EOF ;
public final EObject entryRuleCubePackage() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubePackage = null;
try {
// InternalCubeDSL.g:144:52: (iv_ruleCubePackage= ruleCubePackage EOF )
// InternalCubeDSL.g:145:2: iv_ruleCubePackage= ruleCubePackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubePackageRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubePackage=ruleCubePackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubePackage;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubePackage"
// $ANTLR start "ruleCubePackage"
// InternalCubeDSL.g:151:1: ruleCubePackage returns [EObject current=null] : (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}' )? ) ;
public final EObject ruleCubePackage() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token lv_schemaTableNamesToLowerCase_3_0=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_dimensions_4_0 = null;
EObject lv_cubes_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:157:2: ( (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}' )? ) )
// InternalCubeDSL.g:158:2: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}' )? )
{
// InternalCubeDSL.g:158:2: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}' )? )
// InternalCubeDSL.g:159:3: otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}' )?
{
otherlv_0=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubePackageAccess().getPackageKeyword_0());
}
// InternalCubeDSL.g:163:3: ( (lv_name_1_0= ruleQualifiedName ) )
// InternalCubeDSL.g:164:4: (lv_name_1_0= ruleQualifiedName )
{
// InternalCubeDSL.g:164:4: (lv_name_1_0= ruleQualifiedName )
// InternalCubeDSL.g:165:5: lv_name_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubePackageAccess().getNameQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_5);
lv_name_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubePackageRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xbase.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:182:3: (otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}' )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==14) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// InternalCubeDSL.g:183:4: otherlv_2= '{' ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )? ( (lv_dimensions_4_0= ruleCubeDimension ) )* ( (lv_cubes_5_0= ruleCubeType ) )* otherlv_6= '}'
{
otherlv_2=(Token)match(input,14,FOLLOW_6); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCubePackageAccess().getLeftCurlyBracketKeyword_2_0());
}
// InternalCubeDSL.g:187:4: ( (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' ) )?
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==15) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// InternalCubeDSL.g:188:5: (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' )
{
// InternalCubeDSL.g:188:5: (lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase' )
// InternalCubeDSL.g:189:6: lv_schemaTableNamesToLowerCase_3_0= 'schemaTableNamesToLowerCase'
{
lv_schemaTableNamesToLowerCase_3_0=(Token)match(input,15,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_schemaTableNamesToLowerCase_3_0, grammarAccess.getCubePackageAccess().getSchemaTableNamesToLowerCaseSchemaTableNamesToLowerCaseKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubePackageRule());
}
setWithLastConsumed(current, "schemaTableNamesToLowerCase", true, "schemaTableNamesToLowerCase");
}
}
}
break;
}
// InternalCubeDSL.g:201:4: ( (lv_dimensions_4_0= ruleCubeDimension ) )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==21) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// InternalCubeDSL.g:202:5: (lv_dimensions_4_0= ruleCubeDimension )
{
// InternalCubeDSL.g:202:5: (lv_dimensions_4_0= ruleCubeDimension )
// InternalCubeDSL.g:203:6: lv_dimensions_4_0= ruleCubeDimension
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubePackageAccess().getDimensionsCubeDimensionParserRuleCall_2_2_0());
}
pushFollow(FOLLOW_7);
lv_dimensions_4_0=ruleCubeDimension();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubePackageRule());
}
add(
current,
"dimensions",
lv_dimensions_4_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeDimension");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop3;
}
} while (true);
// InternalCubeDSL.g:220:4: ( (lv_cubes_5_0= ruleCubeType ) )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==17) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// InternalCubeDSL.g:221:5: (lv_cubes_5_0= ruleCubeType )
{
// InternalCubeDSL.g:221:5: (lv_cubes_5_0= ruleCubeType )
// InternalCubeDSL.g:222:6: lv_cubes_5_0= ruleCubeType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubePackageAccess().getCubesCubeTypeParserRuleCall_2_3_0());
}
pushFollow(FOLLOW_8);
lv_cubes_5_0=ruleCubeType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubePackageRule());
}
add(
current,
"cubes",
lv_cubes_5_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeType");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop4;
}
} while (true);
otherlv_6=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getCubePackageAccess().getRightCurlyBracketKeyword_2_4());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubePackage"
// $ANTLR start "entryRuleCubeType"
// InternalCubeDSL.g:248:1: entryRuleCubeType returns [EObject current=null] : iv_ruleCubeType= ruleCubeType EOF ;
public final EObject entryRuleCubeType() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeType = null;
try {
// InternalCubeDSL.g:248:49: (iv_ruleCubeType= ruleCubeType EOF )
// InternalCubeDSL.g:249:2: iv_ruleCubeType= ruleCubeType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeTypeRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeType=ruleCubeType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeType;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeType"
// $ANTLR start "ruleCubeType"
// InternalCubeDSL.g:255:1: ruleCubeType returns [EObject current=null] : (otherlv_0= 'cube' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) ) )? otherlv_4= '{' ( (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity ) ) otherlv_6= '}' ) ;
public final EObject ruleCubeType() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token lv_defaultMeasure_2_0=null;
Token lv_defaultMeasureValue_3_0=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_cubeTypeEntity_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:261:2: ( (otherlv_0= 'cube' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) ) )? otherlv_4= '{' ( (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity ) ) otherlv_6= '}' ) )
// InternalCubeDSL.g:262:2: (otherlv_0= 'cube' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) ) )? otherlv_4= '{' ( (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity ) ) otherlv_6= '}' )
{
// InternalCubeDSL.g:262:2: (otherlv_0= 'cube' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) ) )? otherlv_4= '{' ( (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity ) ) otherlv_6= '}' )
// InternalCubeDSL.g:263:3: otherlv_0= 'cube' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) ) )? otherlv_4= '{' ( (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity ) ) otherlv_6= '}'
{
otherlv_0=(Token)match(input,17,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeTypeAccess().getCubeKeyword_0());
}
// InternalCubeDSL.g:267:3: ( (lv_name_1_0= RULE_ID ) )
// InternalCubeDSL.g:268:4: (lv_name_1_0= RULE_ID )
{
// InternalCubeDSL.g:268:4: (lv_name_1_0= RULE_ID )
// InternalCubeDSL.g:269:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getCubeTypeAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeTypeRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
// InternalCubeDSL.g:285:3: ( ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) ) )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==18) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// InternalCubeDSL.g:286:4: ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) ) ( (lv_defaultMeasureValue_3_0= RULE_STRING ) )
{
// InternalCubeDSL.g:286:4: ( (lv_defaultMeasure_2_0= 'defaultMeasure' ) )
// InternalCubeDSL.g:287:5: (lv_defaultMeasure_2_0= 'defaultMeasure' )
{
// InternalCubeDSL.g:287:5: (lv_defaultMeasure_2_0= 'defaultMeasure' )
// InternalCubeDSL.g:288:6: lv_defaultMeasure_2_0= 'defaultMeasure'
{
lv_defaultMeasure_2_0=(Token)match(input,18,FOLLOW_10); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_defaultMeasure_2_0, grammarAccess.getCubeTypeAccess().getDefaultMeasureDefaultMeasureKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeTypeRule());
}
setWithLastConsumed(current, "defaultMeasure", true, "defaultMeasure");
}
}
}
// InternalCubeDSL.g:300:4: ( (lv_defaultMeasureValue_3_0= RULE_STRING ) )
// InternalCubeDSL.g:301:5: (lv_defaultMeasureValue_3_0= RULE_STRING )
{
// InternalCubeDSL.g:301:5: (lv_defaultMeasureValue_3_0= RULE_STRING )
// InternalCubeDSL.g:302:6: lv_defaultMeasureValue_3_0= RULE_STRING
{
lv_defaultMeasureValue_3_0=(Token)match(input,RULE_STRING,FOLLOW_11); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_defaultMeasureValue_3_0, grammarAccess.getCubeTypeAccess().getDefaultMeasureValueSTRINGTerminalRuleCall_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeTypeRule());
}
setWithLastConsumed(
current,
"defaultMeasureValue",
lv_defaultMeasureValue_3_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
break;
}
otherlv_4=(Token)match(input,14,FOLLOW_12); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getCubeTypeAccess().getLeftCurlyBracketKeyword_3());
}
// InternalCubeDSL.g:323:3: ( (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity ) )
// InternalCubeDSL.g:324:4: (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity )
{
// InternalCubeDSL.g:324:4: (lv_cubeTypeEntity_5_0= ruleCubeTypeEntity )
// InternalCubeDSL.g:325:5: lv_cubeTypeEntity_5_0= ruleCubeTypeEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeTypeAccess().getCubeTypeEntityCubeTypeEntityParserRuleCall_4_0());
}
pushFollow(FOLLOW_13);
lv_cubeTypeEntity_5_0=ruleCubeTypeEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeTypeRule());
}
set(
current,
"cubeTypeEntity",
lv_cubeTypeEntity_5_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeTypeEntity");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getCubeTypeAccess().getRightCurlyBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeType"
// $ANTLR start "entryRuleCubeDimensionUsage"
// InternalCubeDSL.g:350:1: entryRuleCubeDimensionUsage returns [EObject current=null] : iv_ruleCubeDimensionUsage= ruleCubeDimensionUsage EOF ;
public final EObject entryRuleCubeDimensionUsage() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeDimensionUsage = null;
try {
// InternalCubeDSL.g:350:59: (iv_ruleCubeDimensionUsage= ruleCubeDimensionUsage EOF )
// InternalCubeDSL.g:351:2: iv_ruleCubeDimensionUsage= ruleCubeDimensionUsage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionUsageRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeDimensionUsage=ruleCubeDimensionUsage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeDimensionUsage;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeDimensionUsage"
// $ANTLR start "ruleCubeDimensionUsage"
// InternalCubeDSL.g:357:1: ruleCubeDimensionUsage returns [EObject current=null] : (otherlv_0= 'dimensionUsage' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'over' ( ( ruleLFQN ) ) ) ;
public final EObject ruleCubeDimensionUsage() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
enterRule();
try {
// InternalCubeDSL.g:363:2: ( (otherlv_0= 'dimensionUsage' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'over' ( ( ruleLFQN ) ) ) )
// InternalCubeDSL.g:364:2: (otherlv_0= 'dimensionUsage' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'over' ( ( ruleLFQN ) ) )
{
// InternalCubeDSL.g:364:2: (otherlv_0= 'dimensionUsage' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'over' ( ( ruleLFQN ) ) )
// InternalCubeDSL.g:365:3: otherlv_0= 'dimensionUsage' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'over' ( ( ruleLFQN ) )
{
otherlv_0=(Token)match(input,19,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeDimensionUsageAccess().getDimensionUsageKeyword_0());
}
// InternalCubeDSL.g:369:3: ( (otherlv_1= RULE_ID ) )
// InternalCubeDSL.g:370:4: (otherlv_1= RULE_ID )
{
// InternalCubeDSL.g:370:4: (otherlv_1= RULE_ID )
// InternalCubeDSL.g:371:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeDimensionUsageRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getCubeDimensionUsageAccess().getSourceValueCubeDimensionCrossReference_1_0());
}
}
}
otherlv_2=(Token)match(input,20,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCubeDimensionUsageAccess().getOverKeyword_2());
}
// InternalCubeDSL.g:386:3: ( ( ruleLFQN ) )
// InternalCubeDSL.g:387:4: ( ruleLFQN )
{
// InternalCubeDSL.g:387:4: ( ruleLFQN )
// InternalCubeDSL.g:388:5: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeDimensionUsageRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionUsageAccess().getOverValueLEntityFeatureCrossReference_3_0());
}
pushFollow(FOLLOW_2);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeDimensionUsage"
// $ANTLR start "entryRuleCubeDimension"
// InternalCubeDSL.g:406:1: entryRuleCubeDimension returns [EObject current=null] : iv_ruleCubeDimension= ruleCubeDimension EOF ;
public final EObject entryRuleCubeDimension() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeDimension = null;
try {
// InternalCubeDSL.g:406:54: (iv_ruleCubeDimension= ruleCubeDimension EOF )
// InternalCubeDSL.g:407:2: iv_ruleCubeDimension= ruleCubeDimension EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeDimension=ruleCubeDimension();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeDimension;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeDimension"
// $ANTLR start "ruleCubeDimension"
// InternalCubeDSL.g:413:1: ruleCubeDimension returns [EObject current=null] : (otherlv_0= 'dimension' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_typeTime_2_0= 'typeTime' ) )? otherlv_3= '{' ( (lv_hierarchies_4_0= ruleCubeHierarchy ) )* otherlv_5= '}' ) ;
public final EObject ruleCubeDimension() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_typeTime_2_0=null;
Token otherlv_3=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_hierarchies_4_0 = null;
enterRule();
try {
// InternalCubeDSL.g:419:2: ( (otherlv_0= 'dimension' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_typeTime_2_0= 'typeTime' ) )? otherlv_3= '{' ( (lv_hierarchies_4_0= ruleCubeHierarchy ) )* otherlv_5= '}' ) )
// InternalCubeDSL.g:420:2: (otherlv_0= 'dimension' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_typeTime_2_0= 'typeTime' ) )? otherlv_3= '{' ( (lv_hierarchies_4_0= ruleCubeHierarchy ) )* otherlv_5= '}' )
{
// InternalCubeDSL.g:420:2: (otherlv_0= 'dimension' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_typeTime_2_0= 'typeTime' ) )? otherlv_3= '{' ( (lv_hierarchies_4_0= ruleCubeHierarchy ) )* otherlv_5= '}' )
// InternalCubeDSL.g:421:3: otherlv_0= 'dimension' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_typeTime_2_0= 'typeTime' ) )? otherlv_3= '{' ( (lv_hierarchies_4_0= ruleCubeHierarchy ) )* otherlv_5= '}'
{
otherlv_0=(Token)match(input,21,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeDimensionAccess().getDimensionKeyword_0());
}
// InternalCubeDSL.g:425:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) )
// InternalCubeDSL.g:426:4: (lv_name_1_0= ruleTRANSLATABLEID )
{
// InternalCubeDSL.g:426:4: (lv_name_1_0= ruleTRANSLATABLEID )
// InternalCubeDSL.g:427:5: lv_name_1_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionAccess().getNameTRANSLATABLEIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_15);
lv_name_1_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:444:3: ( (lv_typeTime_2_0= 'typeTime' ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==22) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// InternalCubeDSL.g:445:4: (lv_typeTime_2_0= 'typeTime' )
{
// InternalCubeDSL.g:445:4: (lv_typeTime_2_0= 'typeTime' )
// InternalCubeDSL.g:446:5: lv_typeTime_2_0= 'typeTime'
{
lv_typeTime_2_0=(Token)match(input,22,FOLLOW_11); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_typeTime_2_0, grammarAccess.getCubeDimensionAccess().getTypeTimeTypeTimeKeyword_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeDimensionRule());
}
setWithLastConsumed(current, "typeTime", true, "typeTime");
}
}
}
break;
}
otherlv_3=(Token)match(input,14,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getCubeDimensionAccess().getLeftCurlyBracketKeyword_3());
}
// InternalCubeDSL.g:462:3: ( (lv_hierarchies_4_0= ruleCubeHierarchy ) )*
loop8:
do {
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==23) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// InternalCubeDSL.g:463:4: (lv_hierarchies_4_0= ruleCubeHierarchy )
{
// InternalCubeDSL.g:463:4: (lv_hierarchies_4_0= ruleCubeHierarchy )
// InternalCubeDSL.g:464:5: lv_hierarchies_4_0= ruleCubeHierarchy
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionAccess().getHierarchiesCubeHierarchyParserRuleCall_4_0());
}
pushFollow(FOLLOW_16);
lv_hierarchies_4_0=ruleCubeHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionRule());
}
add(
current,
"hierarchies",
lv_hierarchies_4_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeHierarchy");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop8;
}
} while (true);
otherlv_5=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getCubeDimensionAccess().getRightCurlyBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeDimension"
// $ANTLR start "entryRuleCubeHierarchy"
// InternalCubeDSL.g:489:1: entryRuleCubeHierarchy returns [EObject current=null] : iv_ruleCubeHierarchy= ruleCubeHierarchy EOF ;
public final EObject entryRuleCubeHierarchy() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeHierarchy = null;
try {
// InternalCubeDSL.g:489:54: (iv_ruleCubeHierarchy= ruleCubeHierarchy EOF )
// InternalCubeDSL.g:490:2: iv_ruleCubeHierarchy= ruleCubeHierarchy EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeHierarchyRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeHierarchy=ruleCubeHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeHierarchy;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeHierarchy"
// $ANTLR start "ruleCubeHierarchy"
// InternalCubeDSL.g:496:1: ruleCubeHierarchy returns [EObject current=null] : ( () otherlv_1= 'hierarchy' ( (lv_name_2_0= ruleTRANSLATABLEID ) )? ( (lv_hasAll_3_0= 'hasAll' ) )? ( ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) ) )? ( ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) ) )? otherlv_8= '{' ( (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity ) ) otherlv_10= '}' ) ;
public final EObject ruleCubeHierarchy() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_hasAll_3_0=null;
Token lv_allMemberName_4_0=null;
Token lv_defaultMember_6_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
AntlrDatatypeRuleToken lv_allMemberNameValue_5_0 = null;
AntlrDatatypeRuleToken lv_defaultMemberValue_7_0 = null;
EObject lv_cubeDimEntity_9_0 = null;
enterRule();
try {
// InternalCubeDSL.g:502:2: ( ( () otherlv_1= 'hierarchy' ( (lv_name_2_0= ruleTRANSLATABLEID ) )? ( (lv_hasAll_3_0= 'hasAll' ) )? ( ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) ) )? ( ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) ) )? otherlv_8= '{' ( (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity ) ) otherlv_10= '}' ) )
// InternalCubeDSL.g:503:2: ( () otherlv_1= 'hierarchy' ( (lv_name_2_0= ruleTRANSLATABLEID ) )? ( (lv_hasAll_3_0= 'hasAll' ) )? ( ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) ) )? ( ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) ) )? otherlv_8= '{' ( (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity ) ) otherlv_10= '}' )
{
// InternalCubeDSL.g:503:2: ( () otherlv_1= 'hierarchy' ( (lv_name_2_0= ruleTRANSLATABLEID ) )? ( (lv_hasAll_3_0= 'hasAll' ) )? ( ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) ) )? ( ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) ) )? otherlv_8= '{' ( (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity ) ) otherlv_10= '}' )
// InternalCubeDSL.g:504:3: () otherlv_1= 'hierarchy' ( (lv_name_2_0= ruleTRANSLATABLEID ) )? ( (lv_hasAll_3_0= 'hasAll' ) )? ( ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) ) )? ( ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) ) )? otherlv_8= '{' ( (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity ) ) otherlv_10= '}'
{
// InternalCubeDSL.g:504:3: ()
// InternalCubeDSL.g:505:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getCubeHierarchyAccess().getCubeHierarchyAction_0(),
current);
}
}
otherlv_1=(Token)match(input,23,FOLLOW_17); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getCubeHierarchyAccess().getHierarchyKeyword_1());
}
// InternalCubeDSL.g:515:3: ( (lv_name_2_0= ruleTRANSLATABLEID ) )?
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==RULE_ID) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// InternalCubeDSL.g:516:4: (lv_name_2_0= ruleTRANSLATABLEID )
{
// InternalCubeDSL.g:516:4: (lv_name_2_0= ruleTRANSLATABLEID )
// InternalCubeDSL.g:517:5: lv_name_2_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeHierarchyAccess().getNameTRANSLATABLEIDParserRuleCall_2_0());
}
pushFollow(FOLLOW_18);
lv_name_2_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeHierarchyRule());
}
set(
current,
"name",
lv_name_2_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalCubeDSL.g:534:3: ( (lv_hasAll_3_0= 'hasAll' ) )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==24) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// InternalCubeDSL.g:535:4: (lv_hasAll_3_0= 'hasAll' )
{
// InternalCubeDSL.g:535:4: (lv_hasAll_3_0= 'hasAll' )
// InternalCubeDSL.g:536:5: lv_hasAll_3_0= 'hasAll'
{
lv_hasAll_3_0=(Token)match(input,24,FOLLOW_19); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_hasAll_3_0, grammarAccess.getCubeHierarchyAccess().getHasAllHasAllKeyword_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeHierarchyRule());
}
setWithLastConsumed(current, "hasAll", true, "hasAll");
}
}
}
break;
}
// InternalCubeDSL.g:548:3: ( ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) ) )?
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==25) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// InternalCubeDSL.g:549:4: ( (lv_allMemberName_4_0= 'allMemberName' ) ) ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) )
{
// InternalCubeDSL.g:549:4: ( (lv_allMemberName_4_0= 'allMemberName' ) )
// InternalCubeDSL.g:550:5: (lv_allMemberName_4_0= 'allMemberName' )
{
// InternalCubeDSL.g:550:5: (lv_allMemberName_4_0= 'allMemberName' )
// InternalCubeDSL.g:551:6: lv_allMemberName_4_0= 'allMemberName'
{
lv_allMemberName_4_0=(Token)match(input,25,FOLLOW_10); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_allMemberName_4_0, grammarAccess.getCubeHierarchyAccess().getAllMemberNameAllMemberNameKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeHierarchyRule());
}
setWithLastConsumed(current, "allMemberName", true, "allMemberName");
}
}
}
// InternalCubeDSL.g:563:4: ( (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING ) )
// InternalCubeDSL.g:564:5: (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING )
{
// InternalCubeDSL.g:564:5: (lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING )
// InternalCubeDSL.g:565:6: lv_allMemberNameValue_5_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeHierarchyAccess().getAllMemberNameValueTRANSLATABLESTRINGParserRuleCall_4_1_0());
}
pushFollow(FOLLOW_20);
lv_allMemberNameValue_5_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeHierarchyRule());
}
set(
current,
"allMemberNameValue",
lv_allMemberNameValue_5_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:583:3: ( ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) ) )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==26) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// InternalCubeDSL.g:584:4: ( (lv_defaultMember_6_0= 'defaultMember' ) ) ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) )
{
// InternalCubeDSL.g:584:4: ( (lv_defaultMember_6_0= 'defaultMember' ) )
// InternalCubeDSL.g:585:5: (lv_defaultMember_6_0= 'defaultMember' )
{
// InternalCubeDSL.g:585:5: (lv_defaultMember_6_0= 'defaultMember' )
// InternalCubeDSL.g:586:6: lv_defaultMember_6_0= 'defaultMember'
{
lv_defaultMember_6_0=(Token)match(input,26,FOLLOW_10); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_defaultMember_6_0, grammarAccess.getCubeHierarchyAccess().getDefaultMemberDefaultMemberKeyword_5_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeHierarchyRule());
}
setWithLastConsumed(current, "defaultMember", true, "defaultMember");
}
}
}
// InternalCubeDSL.g:598:4: ( (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING ) )
// InternalCubeDSL.g:599:5: (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING )
{
// InternalCubeDSL.g:599:5: (lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING )
// InternalCubeDSL.g:600:6: lv_defaultMemberValue_7_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeHierarchyAccess().getDefaultMemberValueTRANSLATABLESTRINGParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_11);
lv_defaultMemberValue_7_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeHierarchyRule());
}
set(
current,
"defaultMemberValue",
lv_defaultMemberValue_7_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_8=(Token)match(input,14,FOLLOW_12); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getCubeHierarchyAccess().getLeftCurlyBracketKeyword_6());
}
// InternalCubeDSL.g:622:3: ( (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity ) )
// InternalCubeDSL.g:623:4: (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity )
{
// InternalCubeDSL.g:623:4: (lv_cubeDimEntity_9_0= ruleCubeDimensionEntity )
// InternalCubeDSL.g:624:5: lv_cubeDimEntity_9_0= ruleCubeDimensionEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeHierarchyAccess().getCubeDimEntityCubeDimensionEntityParserRuleCall_7_0());
}
pushFollow(FOLLOW_13);
lv_cubeDimEntity_9_0=ruleCubeDimensionEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeHierarchyRule());
}
set(
current,
"cubeDimEntity",
lv_cubeDimEntity_9_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeDimensionEntity");
afterParserOrEnumRuleCall();
}
}
}
otherlv_10=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getCubeHierarchyAccess().getRightCurlyBracketKeyword_8());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeHierarchy"
// $ANTLR start "entryRuleCubeEntity"
// InternalCubeDSL.g:649:1: entryRuleCubeEntity returns [EObject current=null] : iv_ruleCubeEntity= ruleCubeEntity EOF ;
public final EObject entryRuleCubeEntity() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeEntity = null;
try {
// InternalCubeDSL.g:649:51: (iv_ruleCubeEntity= ruleCubeEntity EOF )
// InternalCubeDSL.g:650:2: iv_ruleCubeEntity= ruleCubeEntity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeEntityRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeEntity=ruleCubeEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeEntity;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeEntity"
// $ANTLR start "ruleCubeEntity"
// InternalCubeDSL.g:656:1: ruleCubeEntity returns [EObject current=null] : (otherlv_0= 'entity' ( ( ruleLFQN ) ) ( ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) ) )? ) ;
public final EObject ruleCubeEntity() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_key_2_0=null;
enterRule();
try {
// InternalCubeDSL.g:662:2: ( (otherlv_0= 'entity' ( ( ruleLFQN ) ) ( ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) ) )? ) )
// InternalCubeDSL.g:663:2: (otherlv_0= 'entity' ( ( ruleLFQN ) ) ( ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) ) )? )
{
// InternalCubeDSL.g:663:2: (otherlv_0= 'entity' ( ( ruleLFQN ) ) ( ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) ) )? )
// InternalCubeDSL.g:664:3: otherlv_0= 'entity' ( ( ruleLFQN ) ) ( ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) ) )?
{
otherlv_0=(Token)match(input,27,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeEntityAccess().getEntityKeyword_0());
}
// InternalCubeDSL.g:668:3: ( ( ruleLFQN ) )
// InternalCubeDSL.g:669:4: ( ruleLFQN )
{
// InternalCubeDSL.g:669:4: ( ruleLFQN )
// InternalCubeDSL.g:670:5: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeEntityRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeEntityAccess().getEntityValueLEntityCrossReference_1_0());
}
pushFollow(FOLLOW_21);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:684:3: ( ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) ) )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==28) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// InternalCubeDSL.g:685:4: ( (lv_key_2_0= 'key' ) ) ( ( ruleLFQN ) )
{
// InternalCubeDSL.g:685:4: ( (lv_key_2_0= 'key' ) )
// InternalCubeDSL.g:686:5: (lv_key_2_0= 'key' )
{
// InternalCubeDSL.g:686:5: (lv_key_2_0= 'key' )
// InternalCubeDSL.g:687:6: lv_key_2_0= 'key'
{
lv_key_2_0=(Token)match(input,28,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_key_2_0, grammarAccess.getCubeEntityAccess().getKeyKeyKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeEntityRule());
}
setWithLastConsumed(current, "key", true, "key");
}
}
}
// InternalCubeDSL.g:699:4: ( ( ruleLFQN ) )
// InternalCubeDSL.g:700:5: ( ruleLFQN )
{
// InternalCubeDSL.g:700:5: ( ruleLFQN )
// InternalCubeDSL.g:701:6: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeEntityRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeEntityAccess().getKeyValueLEntityFeatureCrossReference_2_1_0());
}
pushFollow(FOLLOW_2);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeEntity"
// $ANTLR start "entryRuleCubeTypeEntity"
// InternalCubeDSL.g:720:1: entryRuleCubeTypeEntity returns [EObject current=null] : iv_ruleCubeTypeEntity= ruleCubeTypeEntity EOF ;
public final EObject entryRuleCubeTypeEntity() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeTypeEntity = null;
try {
// InternalCubeDSL.g:720:55: (iv_ruleCubeTypeEntity= ruleCubeTypeEntity EOF )
// InternalCubeDSL.g:721:2: iv_ruleCubeTypeEntity= ruleCubeTypeEntity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeTypeEntityRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeTypeEntity=ruleCubeTypeEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeTypeEntity;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeTypeEntity"
// $ANTLR start "ruleCubeTypeEntity"
// InternalCubeDSL.g:727:1: ruleCubeTypeEntity returns [EObject current=null] : ( ( (lv_entityRef_0_0= ruleCubeEntity ) ) otherlv_1= '{' ( (lv_dimensionUsages_2_0= ruleCubeDimensionUsage ) )* ( (lv_measures_3_0= ruleCubeMeasure ) )* otherlv_4= '}' ) ;
public final EObject ruleCubeTypeEntity() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_4=null;
EObject lv_entityRef_0_0 = null;
EObject lv_dimensionUsages_2_0 = null;
EObject lv_measures_3_0 = null;
enterRule();
try {
// InternalCubeDSL.g:733:2: ( ( ( (lv_entityRef_0_0= ruleCubeEntity ) ) otherlv_1= '{' ( (lv_dimensionUsages_2_0= ruleCubeDimensionUsage ) )* ( (lv_measures_3_0= ruleCubeMeasure ) )* otherlv_4= '}' ) )
// InternalCubeDSL.g:734:2: ( ( (lv_entityRef_0_0= ruleCubeEntity ) ) otherlv_1= '{' ( (lv_dimensionUsages_2_0= ruleCubeDimensionUsage ) )* ( (lv_measures_3_0= ruleCubeMeasure ) )* otherlv_4= '}' )
{
// InternalCubeDSL.g:734:2: ( ( (lv_entityRef_0_0= ruleCubeEntity ) ) otherlv_1= '{' ( (lv_dimensionUsages_2_0= ruleCubeDimensionUsage ) )* ( (lv_measures_3_0= ruleCubeMeasure ) )* otherlv_4= '}' )
// InternalCubeDSL.g:735:3: ( (lv_entityRef_0_0= ruleCubeEntity ) ) otherlv_1= '{' ( (lv_dimensionUsages_2_0= ruleCubeDimensionUsage ) )* ( (lv_measures_3_0= ruleCubeMeasure ) )* otherlv_4= '}'
{
// InternalCubeDSL.g:735:3: ( (lv_entityRef_0_0= ruleCubeEntity ) )
// InternalCubeDSL.g:736:4: (lv_entityRef_0_0= ruleCubeEntity )
{
// InternalCubeDSL.g:736:4: (lv_entityRef_0_0= ruleCubeEntity )
// InternalCubeDSL.g:737:5: lv_entityRef_0_0= ruleCubeEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeTypeEntityAccess().getEntityRefCubeEntityParserRuleCall_0_0());
}
pushFollow(FOLLOW_11);
lv_entityRef_0_0=ruleCubeEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeTypeEntityRule());
}
set(
current,
"entityRef",
lv_entityRef_0_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeEntity");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,14,FOLLOW_22); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getCubeTypeEntityAccess().getLeftCurlyBracketKeyword_1());
}
// InternalCubeDSL.g:758:3: ( (lv_dimensionUsages_2_0= ruleCubeDimensionUsage ) )*
loop14:
do {
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==19) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// InternalCubeDSL.g:759:4: (lv_dimensionUsages_2_0= ruleCubeDimensionUsage )
{
// InternalCubeDSL.g:759:4: (lv_dimensionUsages_2_0= ruleCubeDimensionUsage )
// InternalCubeDSL.g:760:5: lv_dimensionUsages_2_0= ruleCubeDimensionUsage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeTypeEntityAccess().getDimensionUsagesCubeDimensionUsageParserRuleCall_2_0());
}
pushFollow(FOLLOW_22);
lv_dimensionUsages_2_0=ruleCubeDimensionUsage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeTypeEntityRule());
}
add(
current,
"dimensionUsages",
lv_dimensionUsages_2_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeDimensionUsage");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop14;
}
} while (true);
// InternalCubeDSL.g:777:3: ( (lv_measures_3_0= ruleCubeMeasure ) )*
loop15:
do {
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==38) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// InternalCubeDSL.g:778:4: (lv_measures_3_0= ruleCubeMeasure )
{
// InternalCubeDSL.g:778:4: (lv_measures_3_0= ruleCubeMeasure )
// InternalCubeDSL.g:779:5: lv_measures_3_0= ruleCubeMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeTypeEntityAccess().getMeasuresCubeMeasureParserRuleCall_3_0());
}
pushFollow(FOLLOW_23);
lv_measures_3_0=ruleCubeMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeTypeEntityRule());
}
add(
current,
"measures",
lv_measures_3_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeMeasure");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop15;
}
} while (true);
otherlv_4=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getCubeTypeEntityAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeTypeEntity"
// $ANTLR start "entryRuleCubeDimensionEntity"
// InternalCubeDSL.g:804:1: entryRuleCubeDimensionEntity returns [EObject current=null] : iv_ruleCubeDimensionEntity= ruleCubeDimensionEntity EOF ;
public final EObject entryRuleCubeDimensionEntity() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeDimensionEntity = null;
try {
// InternalCubeDSL.g:804:60: (iv_ruleCubeDimensionEntity= ruleCubeDimensionEntity EOF )
// InternalCubeDSL.g:805:2: iv_ruleCubeDimensionEntity= ruleCubeDimensionEntity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeDimensionEntity=ruleCubeDimensionEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeDimensionEntity;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeDimensionEntity"
// $ANTLR start "ruleCubeDimensionEntity"
// InternalCubeDSL.g:811:1: ruleCubeDimensionEntity returns [EObject current=null] : ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' ( (lv_hierarchLevels_3_0= ruleCubeLevel ) )* ( (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity ) )? otherlv_5= '}' ) ;
public final EObject ruleCubeDimensionEntity() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_5=null;
EObject lv_entityRef_1_0 = null;
EObject lv_hierarchLevels_3_0 = null;
EObject lv_dimEntity_4_0 = null;
enterRule();
try {
// InternalCubeDSL.g:817:2: ( ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' ( (lv_hierarchLevels_3_0= ruleCubeLevel ) )* ( (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity ) )? otherlv_5= '}' ) )
// InternalCubeDSL.g:818:2: ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' ( (lv_hierarchLevels_3_0= ruleCubeLevel ) )* ( (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity ) )? otherlv_5= '}' )
{
// InternalCubeDSL.g:818:2: ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' ( (lv_hierarchLevels_3_0= ruleCubeLevel ) )* ( (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity ) )? otherlv_5= '}' )
// InternalCubeDSL.g:819:3: () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' ( (lv_hierarchLevels_3_0= ruleCubeLevel ) )* ( (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity ) )? otherlv_5= '}'
{
// InternalCubeDSL.g:819:3: ()
// InternalCubeDSL.g:820:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getCubeDimensionEntityAccess().getCubeDimensionEntityAction_0(),
current);
}
}
// InternalCubeDSL.g:826:3: ( (lv_entityRef_1_0= ruleCubeEntity ) )
// InternalCubeDSL.g:827:4: (lv_entityRef_1_0= ruleCubeEntity )
{
// InternalCubeDSL.g:827:4: (lv_entityRef_1_0= ruleCubeEntity )
// InternalCubeDSL.g:828:5: lv_entityRef_1_0= ruleCubeEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityAccess().getEntityRefCubeEntityParserRuleCall_1_0());
}
pushFollow(FOLLOW_11);
lv_entityRef_1_0=ruleCubeEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionEntityRule());
}
set(
current,
"entityRef",
lv_entityRef_1_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeEntity");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_24); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCubeDimensionEntityAccess().getLeftCurlyBracketKeyword_2());
}
// InternalCubeDSL.g:849:3: ( (lv_hierarchLevels_3_0= ruleCubeLevel ) )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==29) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// InternalCubeDSL.g:850:4: (lv_hierarchLevels_3_0= ruleCubeLevel )
{
// InternalCubeDSL.g:850:4: (lv_hierarchLevels_3_0= ruleCubeLevel )
// InternalCubeDSL.g:851:5: lv_hierarchLevels_3_0= ruleCubeLevel
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityAccess().getHierarchLevelsCubeLevelParserRuleCall_3_0());
}
pushFollow(FOLLOW_24);
lv_hierarchLevels_3_0=ruleCubeLevel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionEntityRule());
}
add(
current,
"hierarchLevels",
lv_hierarchLevels_3_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeLevel");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop16;
}
} while (true);
// InternalCubeDSL.g:868:3: ( (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity ) )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==27) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// InternalCubeDSL.g:869:4: (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity )
{
// InternalCubeDSL.g:869:4: (lv_dimEntity_4_0= ruleCubeDimensionEntityEntity )
// InternalCubeDSL.g:870:5: lv_dimEntity_4_0= ruleCubeDimensionEntityEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityAccess().getDimEntityCubeDimensionEntityEntityParserRuleCall_4_0());
}
pushFollow(FOLLOW_13);
lv_dimEntity_4_0=ruleCubeDimensionEntityEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionEntityRule());
}
set(
current,
"dimEntity",
lv_dimEntity_4_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeDimensionEntityEntity");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_5=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getCubeDimensionEntityAccess().getRightCurlyBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeDimensionEntity"
// $ANTLR start "entryRuleCubeDimensionEntityEntity"
// InternalCubeDSL.g:895:1: entryRuleCubeDimensionEntityEntity returns [EObject current=null] : iv_ruleCubeDimensionEntityEntity= ruleCubeDimensionEntityEntity EOF ;
public final EObject entryRuleCubeDimensionEntityEntity() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeDimensionEntityEntity = null;
try {
// InternalCubeDSL.g:895:66: (iv_ruleCubeDimensionEntityEntity= ruleCubeDimensionEntityEntity EOF )
// InternalCubeDSL.g:896:2: iv_ruleCubeDimensionEntityEntity= ruleCubeDimensionEntityEntity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityEntityRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeDimensionEntityEntity=ruleCubeDimensionEntityEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeDimensionEntityEntity;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeDimensionEntityEntity"
// $ANTLR start "ruleCubeDimensionEntityEntity"
// InternalCubeDSL.g:902:1: ruleCubeDimensionEntityEntity returns [EObject current=null] : ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' otherlv_3= 'over' ( ( ruleLFQN ) ) ( (lv_hierarchLevels_5_0= ruleCubeLevel ) )* ( (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity ) )? otherlv_7= '}' ) ;
public final EObject ruleCubeDimensionEntityEntity() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_7=null;
EObject lv_entityRef_1_0 = null;
EObject lv_hierarchLevels_5_0 = null;
EObject lv_dimEntity_6_0 = null;
enterRule();
try {
// InternalCubeDSL.g:908:2: ( ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' otherlv_3= 'over' ( ( ruleLFQN ) ) ( (lv_hierarchLevels_5_0= ruleCubeLevel ) )* ( (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity ) )? otherlv_7= '}' ) )
// InternalCubeDSL.g:909:2: ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' otherlv_3= 'over' ( ( ruleLFQN ) ) ( (lv_hierarchLevels_5_0= ruleCubeLevel ) )* ( (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity ) )? otherlv_7= '}' )
{
// InternalCubeDSL.g:909:2: ( () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' otherlv_3= 'over' ( ( ruleLFQN ) ) ( (lv_hierarchLevels_5_0= ruleCubeLevel ) )* ( (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity ) )? otherlv_7= '}' )
// InternalCubeDSL.g:910:3: () ( (lv_entityRef_1_0= ruleCubeEntity ) ) otherlv_2= '{' otherlv_3= 'over' ( ( ruleLFQN ) ) ( (lv_hierarchLevels_5_0= ruleCubeLevel ) )* ( (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity ) )? otherlv_7= '}'
{
// InternalCubeDSL.g:910:3: ()
// InternalCubeDSL.g:911:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getCubeDimensionEntityEntityAccess().getCubeDimensionEntityEntityAction_0(),
current);
}
}
// InternalCubeDSL.g:917:3: ( (lv_entityRef_1_0= ruleCubeEntity ) )
// InternalCubeDSL.g:918:4: (lv_entityRef_1_0= ruleCubeEntity )
{
// InternalCubeDSL.g:918:4: (lv_entityRef_1_0= ruleCubeEntity )
// InternalCubeDSL.g:919:5: lv_entityRef_1_0= ruleCubeEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityEntityAccess().getEntityRefCubeEntityParserRuleCall_1_0());
}
pushFollow(FOLLOW_11);
lv_entityRef_1_0=ruleCubeEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionEntityEntityRule());
}
set(
current,
"entityRef",
lv_entityRef_1_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeEntity");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCubeDimensionEntityEntityAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,20,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getCubeDimensionEntityEntityAccess().getOverKeyword_3());
}
// InternalCubeDSL.g:944:3: ( ( ruleLFQN ) )
// InternalCubeDSL.g:945:4: ( ruleLFQN )
{
// InternalCubeDSL.g:945:4: ( ruleLFQN )
// InternalCubeDSL.g:946:5: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeDimensionEntityEntityRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityEntityAccess().getOverValueLEntityFeatureCrossReference_4_0());
}
pushFollow(FOLLOW_24);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:960:3: ( (lv_hierarchLevels_5_0= ruleCubeLevel ) )*
loop18:
do {
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==29) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// InternalCubeDSL.g:961:4: (lv_hierarchLevels_5_0= ruleCubeLevel )
{
// InternalCubeDSL.g:961:4: (lv_hierarchLevels_5_0= ruleCubeLevel )
// InternalCubeDSL.g:962:5: lv_hierarchLevels_5_0= ruleCubeLevel
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityEntityAccess().getHierarchLevelsCubeLevelParserRuleCall_5_0());
}
pushFollow(FOLLOW_24);
lv_hierarchLevels_5_0=ruleCubeLevel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionEntityEntityRule());
}
add(
current,
"hierarchLevels",
lv_hierarchLevels_5_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeLevel");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop18;
}
} while (true);
// InternalCubeDSL.g:979:3: ( (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity ) )?
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==27) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// InternalCubeDSL.g:980:4: (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity )
{
// InternalCubeDSL.g:980:4: (lv_dimEntity_6_0= ruleCubeDimensionEntityEntity )
// InternalCubeDSL.g:981:5: lv_dimEntity_6_0= ruleCubeDimensionEntityEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeDimensionEntityEntityAccess().getDimEntityCubeDimensionEntityEntityParserRuleCall_6_0());
}
pushFollow(FOLLOW_13);
lv_dimEntity_6_0=ruleCubeDimensionEntityEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeDimensionEntityEntityRule());
}
set(
current,
"dimEntity",
lv_dimEntity_6_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeDimensionEntityEntity");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_7=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getCubeDimensionEntityEntityAccess().getRightCurlyBracketKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeDimensionEntityEntity"
// $ANTLR start "entryRuleCubeLevel"
// InternalCubeDSL.g:1006:1: entryRuleCubeLevel returns [EObject current=null] : iv_ruleCubeLevel= ruleCubeLevel EOF ;
public final EObject entryRuleCubeLevel() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeLevel = null;
try {
// InternalCubeDSL.g:1006:50: (iv_ruleCubeLevel= ruleCubeLevel EOF )
// InternalCubeDSL.g:1007:2: iv_ruleCubeLevel= ruleCubeLevel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeLevel=ruleCubeLevel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeLevel;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeLevel"
// $ANTLR start "ruleCubeLevel"
// InternalCubeDSL.g:1013:1: ruleCubeLevel returns [EObject current=null] : (otherlv_0= 'level' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) ) )? ( (lv_uniqueMembers_10_0= 'uniqueMembers' ) )? ( ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) ) )? (otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}' )? ) ;
public final EObject ruleCubeLevel() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token lv_nameColumn_4_0=null;
Token lv_captionColumn_6_0=null;
Token lv_ordinalColumn_8_0=null;
Token lv_uniqueMembers_10_0=null;
Token lv_levelType_11_0=null;
Token otherlv_13=null;
Token otherlv_15=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
Enumerator lv_levelTypeValue_12_0 = null;
EObject lv_properties_14_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1019:2: ( (otherlv_0= 'level' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) ) )? ( (lv_uniqueMembers_10_0= 'uniqueMembers' ) )? ( ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) ) )? (otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}' )? ) )
// InternalCubeDSL.g:1020:2: (otherlv_0= 'level' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) ) )? ( (lv_uniqueMembers_10_0= 'uniqueMembers' ) )? ( ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) ) )? (otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}' )? )
{
// InternalCubeDSL.g:1020:2: (otherlv_0= 'level' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) ) )? ( (lv_uniqueMembers_10_0= 'uniqueMembers' ) )? ( ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) ) )? (otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}' )? )
// InternalCubeDSL.g:1021:3: otherlv_0= 'level' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) ) )? ( ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) ) )? ( (lv_uniqueMembers_10_0= 'uniqueMembers' ) )? ( ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) ) )? (otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}' )?
{
otherlv_0=(Token)match(input,29,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeLevelAccess().getLevelKeyword_0());
}
// InternalCubeDSL.g:1025:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) )
// InternalCubeDSL.g:1026:4: (lv_name_1_0= ruleTRANSLATABLEID )
{
// InternalCubeDSL.g:1026:4: (lv_name_1_0= ruleTRANSLATABLEID )
// InternalCubeDSL.g:1027:5: lv_name_1_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getNameTRANSLATABLEIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_25);
lv_name_1_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeLevelRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,30,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCubeLevelAccess().getColumnKeyword_2());
}
// InternalCubeDSL.g:1048:3: ( ( ruleLFQN ) )
// InternalCubeDSL.g:1049:4: ( ruleLFQN )
{
// InternalCubeDSL.g:1049:4: ( ruleLFQN )
// InternalCubeDSL.g:1050:5: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getLevelColValueLEntityFeatureCrossReference_3_0());
}
pushFollow(FOLLOW_26);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1064:3: ( ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) ) )?
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==31) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// InternalCubeDSL.g:1065:4: ( (lv_nameColumn_4_0= 'nameColumn' ) ) ( ( ruleLFQN ) )
{
// InternalCubeDSL.g:1065:4: ( (lv_nameColumn_4_0= 'nameColumn' ) )
// InternalCubeDSL.g:1066:5: (lv_nameColumn_4_0= 'nameColumn' )
{
// InternalCubeDSL.g:1066:5: (lv_nameColumn_4_0= 'nameColumn' )
// InternalCubeDSL.g:1067:6: lv_nameColumn_4_0= 'nameColumn'
{
lv_nameColumn_4_0=(Token)match(input,31,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nameColumn_4_0, grammarAccess.getCubeLevelAccess().getNameColumnNameColumnKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
setWithLastConsumed(current, "nameColumn", true, "nameColumn");
}
}
}
// InternalCubeDSL.g:1079:4: ( ( ruleLFQN ) )
// InternalCubeDSL.g:1080:5: ( ruleLFQN )
{
// InternalCubeDSL.g:1080:5: ( ruleLFQN )
// InternalCubeDSL.g:1081:6: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getLevelNameColValueLEntityFeatureCrossReference_4_1_0());
}
pushFollow(FOLLOW_27);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:1096:3: ( ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) ) )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==32) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// InternalCubeDSL.g:1097:4: ( (lv_captionColumn_6_0= 'captionColumn' ) ) ( ( ruleLFQN ) )
{
// InternalCubeDSL.g:1097:4: ( (lv_captionColumn_6_0= 'captionColumn' ) )
// InternalCubeDSL.g:1098:5: (lv_captionColumn_6_0= 'captionColumn' )
{
// InternalCubeDSL.g:1098:5: (lv_captionColumn_6_0= 'captionColumn' )
// InternalCubeDSL.g:1099:6: lv_captionColumn_6_0= 'captionColumn'
{
lv_captionColumn_6_0=(Token)match(input,32,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_captionColumn_6_0, grammarAccess.getCubeLevelAccess().getCaptionColumnCaptionColumnKeyword_5_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
setWithLastConsumed(current, "captionColumn", true, "captionColumn");
}
}
}
// InternalCubeDSL.g:1111:4: ( ( ruleLFQN ) )
// InternalCubeDSL.g:1112:5: ( ruleLFQN )
{
// InternalCubeDSL.g:1112:5: ( ruleLFQN )
// InternalCubeDSL.g:1113:6: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getLevelCaptionColValueLEntityFeatureCrossReference_5_1_0());
}
pushFollow(FOLLOW_28);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:1128:3: ( ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) ) )?
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==33) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// InternalCubeDSL.g:1129:4: ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) ) ( ( ruleLFQN ) )
{
// InternalCubeDSL.g:1129:4: ( (lv_ordinalColumn_8_0= 'ordinalColumn' ) )
// InternalCubeDSL.g:1130:5: (lv_ordinalColumn_8_0= 'ordinalColumn' )
{
// InternalCubeDSL.g:1130:5: (lv_ordinalColumn_8_0= 'ordinalColumn' )
// InternalCubeDSL.g:1131:6: lv_ordinalColumn_8_0= 'ordinalColumn'
{
lv_ordinalColumn_8_0=(Token)match(input,33,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ordinalColumn_8_0, grammarAccess.getCubeLevelAccess().getOrdinalColumnOrdinalColumnKeyword_6_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
setWithLastConsumed(current, "ordinalColumn", true, "ordinalColumn");
}
}
}
// InternalCubeDSL.g:1143:4: ( ( ruleLFQN ) )
// InternalCubeDSL.g:1144:5: ( ruleLFQN )
{
// InternalCubeDSL.g:1144:5: ( ruleLFQN )
// InternalCubeDSL.g:1145:6: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getLevelOrdinalColValueLEntityFeatureCrossReference_6_1_0());
}
pushFollow(FOLLOW_29);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:1160:3: ( (lv_uniqueMembers_10_0= 'uniqueMembers' ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==34) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// InternalCubeDSL.g:1161:4: (lv_uniqueMembers_10_0= 'uniqueMembers' )
{
// InternalCubeDSL.g:1161:4: (lv_uniqueMembers_10_0= 'uniqueMembers' )
// InternalCubeDSL.g:1162:5: lv_uniqueMembers_10_0= 'uniqueMembers'
{
lv_uniqueMembers_10_0=(Token)match(input,34,FOLLOW_30); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_uniqueMembers_10_0, grammarAccess.getCubeLevelAccess().getUniqueMembersUniqueMembersKeyword_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
setWithLastConsumed(current, "uniqueMembers", true, "uniqueMembers");
}
}
}
break;
}
// InternalCubeDSL.g:1174:3: ( ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) ) )?
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==35) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// InternalCubeDSL.g:1175:4: ( (lv_levelType_11_0= 'levelType' ) ) ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) )
{
// InternalCubeDSL.g:1175:4: ( (lv_levelType_11_0= 'levelType' ) )
// InternalCubeDSL.g:1176:5: (lv_levelType_11_0= 'levelType' )
{
// InternalCubeDSL.g:1176:5: (lv_levelType_11_0= 'levelType' )
// InternalCubeDSL.g:1177:6: lv_levelType_11_0= 'levelType'
{
lv_levelType_11_0=(Token)match(input,35,FOLLOW_31); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_levelType_11_0, grammarAccess.getCubeLevelAccess().getLevelTypeLevelTypeKeyword_8_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelRule());
}
setWithLastConsumed(current, "levelType", true, "levelType");
}
}
}
// InternalCubeDSL.g:1189:4: ( (lv_levelTypeValue_12_0= ruleCubeLevelLevelType ) )
// InternalCubeDSL.g:1190:5: (lv_levelTypeValue_12_0= ruleCubeLevelLevelType )
{
// InternalCubeDSL.g:1190:5: (lv_levelTypeValue_12_0= ruleCubeLevelLevelType )
// InternalCubeDSL.g:1191:6: lv_levelTypeValue_12_0= ruleCubeLevelLevelType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getLevelTypeValueCubeLevelLevelTypeEnumRuleCall_8_1_0());
}
pushFollow(FOLLOW_5);
lv_levelTypeValue_12_0=ruleCubeLevelLevelType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeLevelRule());
}
set(
current,
"levelTypeValue",
lv_levelTypeValue_12_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeLevelLevelType");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:1209:3: (otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}' )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==14) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// InternalCubeDSL.g:1210:4: otherlv_13= '{' ( (lv_properties_14_0= ruleCubeLevelProp ) )* otherlv_15= '}'
{
otherlv_13=(Token)match(input,14,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getCubeLevelAccess().getLeftCurlyBracketKeyword_9_0());
}
// InternalCubeDSL.g:1214:4: ( (lv_properties_14_0= ruleCubeLevelProp ) )*
loop25:
do {
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==36) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// InternalCubeDSL.g:1215:5: (lv_properties_14_0= ruleCubeLevelProp )
{
// InternalCubeDSL.g:1215:5: (lv_properties_14_0= ruleCubeLevelProp )
// InternalCubeDSL.g:1216:6: lv_properties_14_0= ruleCubeLevelProp
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelAccess().getPropertiesCubeLevelPropParserRuleCall_9_1_0());
}
pushFollow(FOLLOW_32);
lv_properties_14_0=ruleCubeLevelProp();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeLevelRule());
}
add(
current,
"properties",
lv_properties_14_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeLevelProp");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop25;
}
} while (true);
otherlv_15=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getCubeLevelAccess().getRightCurlyBracketKeyword_9_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeLevel"
// $ANTLR start "entryRuleCubeLevelProp"
// InternalCubeDSL.g:1242:1: entryRuleCubeLevelProp returns [EObject current=null] : iv_ruleCubeLevelProp= ruleCubeLevelProp EOF ;
public final EObject entryRuleCubeLevelProp() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeLevelProp = null;
try {
// InternalCubeDSL.g:1242:54: (iv_ruleCubeLevelProp= ruleCubeLevelProp EOF )
// InternalCubeDSL.g:1243:2: iv_ruleCubeLevelProp= ruleCubeLevelProp EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelPropRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeLevelProp=ruleCubeLevelProp();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeLevelProp;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeLevelProp"
// $ANTLR start "ruleCubeLevelProp"
// InternalCubeDSL.g:1249:1: ruleCubeLevelProp returns [EObject current=null] : (otherlv_0= 'property' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) ) )? ) ;
public final EObject ruleCubeLevelProp() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token lv_type_4_0=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
Enumerator lv_typeValue_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1255:2: ( (otherlv_0= 'property' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) ) )? ) )
// InternalCubeDSL.g:1256:2: (otherlv_0= 'property' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) ) )? )
{
// InternalCubeDSL.g:1256:2: (otherlv_0= 'property' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) ) )? )
// InternalCubeDSL.g:1257:3: otherlv_0= 'property' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'column' ( ( ruleLFQN ) ) ( ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) ) )?
{
otherlv_0=(Token)match(input,36,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeLevelPropAccess().getPropertyKeyword_0());
}
// InternalCubeDSL.g:1261:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) )
// InternalCubeDSL.g:1262:4: (lv_name_1_0= ruleTRANSLATABLEID )
{
// InternalCubeDSL.g:1262:4: (lv_name_1_0= ruleTRANSLATABLEID )
// InternalCubeDSL.g:1263:5: lv_name_1_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelPropAccess().getNameTRANSLATABLEIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_25);
lv_name_1_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeLevelPropRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,30,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCubeLevelPropAccess().getColumnKeyword_2());
}
// InternalCubeDSL.g:1284:3: ( ( ruleLFQN ) )
// InternalCubeDSL.g:1285:4: ( ruleLFQN )
{
// InternalCubeDSL.g:1285:4: ( ruleLFQN )
// InternalCubeDSL.g:1286:5: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelPropRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelPropAccess().getLevelPropColValueLEntityFeatureCrossReference_3_0());
}
pushFollow(FOLLOW_33);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1300:3: ( ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) ) )?
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==37) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// InternalCubeDSL.g:1301:4: ( (lv_type_4_0= 'type' ) ) ( (lv_typeValue_5_0= ruleCubeLevelPropType ) )
{
// InternalCubeDSL.g:1301:4: ( (lv_type_4_0= 'type' ) )
// InternalCubeDSL.g:1302:5: (lv_type_4_0= 'type' )
{
// InternalCubeDSL.g:1302:5: (lv_type_4_0= 'type' )
// InternalCubeDSL.g:1303:6: lv_type_4_0= 'type'
{
lv_type_4_0=(Token)match(input,37,FOLLOW_34); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_type_4_0, grammarAccess.getCubeLevelPropAccess().getTypeTypeKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeLevelPropRule());
}
setWithLastConsumed(current, "type", true, "type");
}
}
}
// InternalCubeDSL.g:1315:4: ( (lv_typeValue_5_0= ruleCubeLevelPropType ) )
// InternalCubeDSL.g:1316:5: (lv_typeValue_5_0= ruleCubeLevelPropType )
{
// InternalCubeDSL.g:1316:5: (lv_typeValue_5_0= ruleCubeLevelPropType )
// InternalCubeDSL.g:1317:6: lv_typeValue_5_0= ruleCubeLevelPropType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeLevelPropAccess().getTypeValueCubeLevelPropTypeEnumRuleCall_4_1_0());
}
pushFollow(FOLLOW_2);
lv_typeValue_5_0=ruleCubeLevelPropType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeLevelPropRule());
}
set(
current,
"typeValue",
lv_typeValue_5_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeLevelPropType");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeLevelProp"
// $ANTLR start "entryRuleCubeMeasure"
// InternalCubeDSL.g:1339:1: entryRuleCubeMeasure returns [EObject current=null] : iv_ruleCubeMeasure= ruleCubeMeasure EOF ;
public final EObject entryRuleCubeMeasure() throws RecognitionException {
EObject current = null;
EObject iv_ruleCubeMeasure = null;
try {
// InternalCubeDSL.g:1339:52: (iv_ruleCubeMeasure= ruleCubeMeasure EOF )
// InternalCubeDSL.g:1340:2: iv_ruleCubeMeasure= ruleCubeMeasure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeMeasureRule());
}
pushFollow(FOLLOW_1);
iv_ruleCubeMeasure=ruleCubeMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCubeMeasure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCubeMeasure"
// $ANTLR start "ruleCubeMeasure"
// InternalCubeDSL.g:1346:1: ruleCubeMeasure returns [EObject current=null] : (otherlv_0= 'measure' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_aggregator_2_0= ruleCubeAggregatorEnum ) ) otherlv_3= 'column' ( ( ruleLFQN ) ) ( (lv_notVisible_5_0= 'notVisible' ) )? ) ;
public final EObject ruleCubeMeasure() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_3=null;
Token lv_notVisible_5_0=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
Enumerator lv_aggregator_2_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1352:2: ( (otherlv_0= 'measure' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_aggregator_2_0= ruleCubeAggregatorEnum ) ) otherlv_3= 'column' ( ( ruleLFQN ) ) ( (lv_notVisible_5_0= 'notVisible' ) )? ) )
// InternalCubeDSL.g:1353:2: (otherlv_0= 'measure' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_aggregator_2_0= ruleCubeAggregatorEnum ) ) otherlv_3= 'column' ( ( ruleLFQN ) ) ( (lv_notVisible_5_0= 'notVisible' ) )? )
{
// InternalCubeDSL.g:1353:2: (otherlv_0= 'measure' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_aggregator_2_0= ruleCubeAggregatorEnum ) ) otherlv_3= 'column' ( ( ruleLFQN ) ) ( (lv_notVisible_5_0= 'notVisible' ) )? )
// InternalCubeDSL.g:1354:3: otherlv_0= 'measure' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ( (lv_aggregator_2_0= ruleCubeAggregatorEnum ) ) otherlv_3= 'column' ( ( ruleLFQN ) ) ( (lv_notVisible_5_0= 'notVisible' ) )?
{
otherlv_0=(Token)match(input,38,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCubeMeasureAccess().getMeasureKeyword_0());
}
// InternalCubeDSL.g:1358:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) )
// InternalCubeDSL.g:1359:4: (lv_name_1_0= ruleTRANSLATABLEID )
{
// InternalCubeDSL.g:1359:4: (lv_name_1_0= ruleTRANSLATABLEID )
// InternalCubeDSL.g:1360:5: lv_name_1_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeMeasureAccess().getNameTRANSLATABLEIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_35);
lv_name_1_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeMeasureRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1377:3: ( (lv_aggregator_2_0= ruleCubeAggregatorEnum ) )
// InternalCubeDSL.g:1378:4: (lv_aggregator_2_0= ruleCubeAggregatorEnum )
{
// InternalCubeDSL.g:1378:4: (lv_aggregator_2_0= ruleCubeAggregatorEnum )
// InternalCubeDSL.g:1379:5: lv_aggregator_2_0= ruleCubeAggregatorEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeMeasureAccess().getAggregatorCubeAggregatorEnumEnumRuleCall_2_0());
}
pushFollow(FOLLOW_25);
lv_aggregator_2_0=ruleCubeAggregatorEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCubeMeasureRule());
}
set(
current,
"aggregator",
lv_aggregator_2_0,
"org.eclipse.osbp.xtext.cubedsl.CubeDSL.CubeAggregatorEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,30,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getCubeMeasureAccess().getColumnKeyword_3());
}
// InternalCubeDSL.g:1400:3: ( ( ruleLFQN ) )
// InternalCubeDSL.g:1401:4: ( ruleLFQN )
{
// InternalCubeDSL.g:1401:4: ( ruleLFQN )
// InternalCubeDSL.g:1402:5: ruleLFQN
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeMeasureRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCubeMeasureAccess().getMeasureColLEntityFeatureCrossReference_4_0());
}
pushFollow(FOLLOW_36);
ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1416:3: ( (lv_notVisible_5_0= 'notVisible' ) )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==39) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// InternalCubeDSL.g:1417:4: (lv_notVisible_5_0= 'notVisible' )
{
// InternalCubeDSL.g:1417:4: (lv_notVisible_5_0= 'notVisible' )
// InternalCubeDSL.g:1418:5: lv_notVisible_5_0= 'notVisible'
{
lv_notVisible_5_0=(Token)match(input,39,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_notVisible_5_0, grammarAccess.getCubeMeasureAccess().getNotVisibleNotVisibleKeyword_5_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCubeMeasureRule());
}
setWithLastConsumed(current, "notVisible", true, "notVisible");
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeMeasure"
// $ANTLR start "entryRuleLFQN"
// InternalCubeDSL.g:1434:1: entryRuleLFQN returns [String current=null] : iv_ruleLFQN= ruleLFQN EOF ;
public final String entryRuleLFQN() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleLFQN = null;
try {
// InternalCubeDSL.g:1434:44: (iv_ruleLFQN= ruleLFQN EOF )
// InternalCubeDSL.g:1435:2: iv_ruleLFQN= ruleLFQN EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getLFQNRule());
}
pushFollow(FOLLOW_1);
iv_ruleLFQN=ruleLFQN();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleLFQN.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleLFQN"
// $ANTLR start "ruleLFQN"
// InternalCubeDSL.g:1441:1: ruleLFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
public final AntlrDatatypeRuleToken ruleLFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token kw=null;
Token this_ID_2=null;
enterRule();
try {
// InternalCubeDSL.g:1447:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
// InternalCubeDSL.g:1448:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
{
// InternalCubeDSL.g:1448:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
// InternalCubeDSL.g:1449:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getLFQNAccess().getIDTerminalRuleCall_0());
}
// InternalCubeDSL.g:1456:3: (kw= '.' this_ID_2= RULE_ID )*
loop29:
do {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==40) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// InternalCubeDSL.g:1457:4: kw= '.' this_ID_2= RULE_ID
{
kw=(Token)match(input,40,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getLFQNAccess().getFullStopKeyword_1_0());
}
this_ID_2=(Token)match(input,RULE_ID,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_2, grammarAccess.getLFQNAccess().getIDTerminalRuleCall_1_1());
}
}
break;
default :
break loop29;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleLFQN"
// $ANTLR start "entryRuleTRANSLATABLEID"
// InternalCubeDSL.g:1474:1: entryRuleTRANSLATABLEID returns [String current=null] : iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ;
public final String entryRuleTRANSLATABLEID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLEID = null;
try {
// InternalCubeDSL.g:1474:54: (iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF )
// InternalCubeDSL.g:1475:2: iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLEIDRule());
}
pushFollow(FOLLOW_1);
iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLEID.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLEID"
// $ANTLR start "ruleTRANSLATABLEID"
// InternalCubeDSL.g:1481:1: ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleTRANSLATABLEID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
enterRule();
try {
// InternalCubeDSL.g:1487:2: (this_ID_0= RULE_ID )
// InternalCubeDSL.g:1488:2: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getTRANSLATABLEIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTRANSLATABLEID"
// $ANTLR start "entryRuleTRANSLATABLESTRING"
// InternalCubeDSL.g:1498:1: entryRuleTRANSLATABLESTRING returns [String current=null] : iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ;
public final String entryRuleTRANSLATABLESTRING() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLESTRING = null;
try {
// InternalCubeDSL.g:1498:58: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF )
// InternalCubeDSL.g:1499:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule());
}
pushFollow(FOLLOW_1);
iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLESTRING.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLESTRING"
// $ANTLR start "ruleTRANSLATABLESTRING"
// InternalCubeDSL.g:1505:1: ruleTRANSLATABLESTRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
public final AntlrDatatypeRuleToken ruleTRANSLATABLESTRING() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_STRING_0=null;
enterRule();
try {
// InternalCubeDSL.g:1511:2: (this_STRING_0= RULE_STRING )
// InternalCubeDSL.g:1512:2: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_STRING_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_STRING_0, grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTRANSLATABLESTRING"
// $ANTLR start "entryRuleXImportDeclaration"
// InternalCubeDSL.g:1522:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ;
public final EObject entryRuleXImportDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXImportDeclaration = null;
try {
// InternalCubeDSL.g:1522:59: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF )
// InternalCubeDSL.g:1523:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXImportDeclaration=ruleXImportDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXImportDeclaration;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXImportDeclaration"
// $ANTLR start "ruleXImportDeclaration"
// InternalCubeDSL.g:1529:1: ruleXImportDeclaration returns [EObject current=null] : ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) ;
public final EObject ruleXImportDeclaration() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_static_2_0=null;
Token lv_extension_3_0=null;
Token lv_wildcard_5_0=null;
Token lv_fqnImport_9_0=null;
Token otherlv_11=null;
AntlrDatatypeRuleToken lv_memberName_6_0 = null;
AntlrDatatypeRuleToken lv_importedNamespace_8_0 = null;
AntlrDatatypeRuleToken lv_importedFullyQualifiedName_10_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1535:2: ( ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) )
// InternalCubeDSL.g:1536:2: ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? )
{
// InternalCubeDSL.g:1536:2: ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? )
// InternalCubeDSL.g:1537:3: () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )?
{
// InternalCubeDSL.g:1537:3: ()
// InternalCubeDSL.g:1538:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXImportDeclarationAccess().getOXImportDeclarationAction_0(),
current);
}
}
otherlv_1=(Token)match(input,41,FOLLOW_38); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXImportDeclarationAccess().getImportKeyword_1());
}
// InternalCubeDSL.g:1548:3: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) )
int alt32=4;
alt32 = dfa32.predict(input);
switch (alt32) {
case 1 :
// InternalCubeDSL.g:1549:4: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) )
{
// InternalCubeDSL.g:1549:4: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) )
// InternalCubeDSL.g:1550:5: ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) )
{
// InternalCubeDSL.g:1550:5: ( (lv_static_2_0= 'static' ) )
// InternalCubeDSL.g:1551:6: (lv_static_2_0= 'static' )
{
// InternalCubeDSL.g:1551:6: (lv_static_2_0= 'static' )
// InternalCubeDSL.g:1552:7: lv_static_2_0= 'static'
{
lv_static_2_0=(Token)match(input,42,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_2_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "static", true, "static");
}
}
}
// InternalCubeDSL.g:1564:5: ( (lv_extension_3_0= 'extension' ) )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==43) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// InternalCubeDSL.g:1565:6: (lv_extension_3_0= 'extension' )
{
// InternalCubeDSL.g:1565:6: (lv_extension_3_0= 'extension' )
// InternalCubeDSL.g:1566:7: lv_extension_3_0= 'extension'
{
lv_extension_3_0=(Token)match(input,43,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_extension_3_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_2_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "extension", true, "extension");
}
}
}
break;
}
// InternalCubeDSL.g:1578:5: ( ( ruleQualifiedNameInStaticImport ) )
// InternalCubeDSL.g:1579:6: ( ruleQualifiedNameInStaticImport )
{
// InternalCubeDSL.g:1579:6: ( ruleQualifiedNameInStaticImport )
// InternalCubeDSL.g:1580:7: ruleQualifiedNameInStaticImport
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_0_2_0());
}
pushFollow(FOLLOW_40);
ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1594:5: ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) )
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==44) ) {
alt31=1;
}
else if ( (LA31_0==RULE_ID) ) {
alt31=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 31, 0, input);
throw nvae;
}
switch (alt31) {
case 1 :
// InternalCubeDSL.g:1595:6: ( (lv_wildcard_5_0= '*' ) )
{
// InternalCubeDSL.g:1595:6: ( (lv_wildcard_5_0= '*' ) )
// InternalCubeDSL.g:1596:7: (lv_wildcard_5_0= '*' )
{
// InternalCubeDSL.g:1596:7: (lv_wildcard_5_0= '*' )
// InternalCubeDSL.g:1597:8: lv_wildcard_5_0= '*'
{
lv_wildcard_5_0=(Token)match(input,44,FOLLOW_41); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_wildcard_5_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_2_0_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "wildcard", true, "*");
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:1610:6: ( (lv_memberName_6_0= ruleValidID ) )
{
// InternalCubeDSL.g:1610:6: ( (lv_memberName_6_0= ruleValidID ) )
// InternalCubeDSL.g:1611:7: (lv_memberName_6_0= ruleValidID )
{
// InternalCubeDSL.g:1611:7: (lv_memberName_6_0= ruleValidID )
// InternalCubeDSL.g:1612:8: lv_memberName_6_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_2_0_3_1_0());
}
pushFollow(FOLLOW_41);
lv_memberName_6_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"memberName",
lv_memberName_6_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// InternalCubeDSL.g:1632:4: ( ( ruleQualifiedName ) )
{
// InternalCubeDSL.g:1632:4: ( ( ruleQualifiedName ) )
// InternalCubeDSL.g:1633:5: ( ruleQualifiedName )
{
// InternalCubeDSL.g:1633:5: ( ruleQualifiedName )
// InternalCubeDSL.g:1634:6: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_1_0());
}
pushFollow(FOLLOW_41);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 3 :
// InternalCubeDSL.g:1649:4: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) )
{
// InternalCubeDSL.g:1649:4: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) )
// InternalCubeDSL.g:1650:5: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard )
{
// InternalCubeDSL.g:1650:5: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard )
// InternalCubeDSL.g:1651:6: lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_2_2_0());
}
pushFollow(FOLLOW_41);
lv_importedNamespace_8_0=ruleQualifiedNameWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_8_0,
"org.eclipse.xtext.xbase.Xtype.QualifiedNameWithWildcard");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 4 :
// InternalCubeDSL.g:1669:4: ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) )
{
// InternalCubeDSL.g:1669:4: ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) )
// InternalCubeDSL.g:1670:5: ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) )
{
// InternalCubeDSL.g:1670:5: ( (lv_fqnImport_9_0= 'ns' ) )
// InternalCubeDSL.g:1671:6: (lv_fqnImport_9_0= 'ns' )
{
// InternalCubeDSL.g:1671:6: (lv_fqnImport_9_0= 'ns' )
// InternalCubeDSL.g:1672:7: lv_fqnImport_9_0= 'ns'
{
lv_fqnImport_9_0=(Token)match(input,45,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fqnImport_9_0, grammarAccess.getXImportDeclarationAccess().getFqnImportNsKeyword_2_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "fqnImport", true, "ns");
}
}
}
// InternalCubeDSL.g:1684:5: ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) )
// InternalCubeDSL.g:1685:6: (lv_importedFullyQualifiedName_10_0= ruleQualifiedName )
{
// InternalCubeDSL.g:1685:6: (lv_importedFullyQualifiedName_10_0= ruleQualifiedName )
// InternalCubeDSL.g:1686:7: lv_importedFullyQualifiedName_10_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedFullyQualifiedNameQualifiedNameParserRuleCall_2_3_1_0());
}
pushFollow(FOLLOW_41);
lv_importedFullyQualifiedName_10_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"importedFullyQualifiedName",
lv_importedFullyQualifiedName_10_0,
"org.eclipse.xtext.xbase.Xbase.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
// InternalCubeDSL.g:1705:3: (otherlv_11= ';' )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==46) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// InternalCubeDSL.g:1706:4: otherlv_11= ';'
{
otherlv_11=(Token)match(input,46,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXImportDeclaration"
// $ANTLR start "entryRuleXAnnotation"
// InternalCubeDSL.g:1715:1: entryRuleXAnnotation returns [EObject current=null] : iv_ruleXAnnotation= ruleXAnnotation EOF ;
public final EObject entryRuleXAnnotation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotation = null;
try {
// InternalCubeDSL.g:1715:52: (iv_ruleXAnnotation= ruleXAnnotation EOF )
// InternalCubeDSL.g:1716:2: iv_ruleXAnnotation= ruleXAnnotation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotation=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotation"
// $ANTLR start "ruleXAnnotation"
// InternalCubeDSL.g:1722:1: ruleXAnnotation returns [EObject current=null] : ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) ;
public final EObject ruleXAnnotation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_8=null;
EObject lv_elementValuePairs_4_0 = null;
EObject lv_elementValuePairs_6_0 = null;
EObject lv_value_7_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1728:2: ( ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) )
// InternalCubeDSL.g:1729:2: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? )
{
// InternalCubeDSL.g:1729:2: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? )
// InternalCubeDSL.g:1730:3: () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
{
// InternalCubeDSL.g:1730:3: ()
// InternalCubeDSL.g:1731:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(),
current);
}
}
otherlv_1=(Token)match(input,47,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1());
}
// InternalCubeDSL.g:1741:3: ( ( ruleQualifiedName ) )
// InternalCubeDSL.g:1742:4: ( ruleQualifiedName )
{
// InternalCubeDSL.g:1742:4: ( ruleQualifiedName )
// InternalCubeDSL.g:1743:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0());
}
pushFollow(FOLLOW_42);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1757:3: ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==48) && (synpred1_InternalCubeDSL())) {
alt36=1;
}
switch (alt36) {
case 1 :
// InternalCubeDSL.g:1758:4: ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')'
{
// InternalCubeDSL.g:1758:4: ( ( '(' )=>otherlv_3= '(' )
// InternalCubeDSL.g:1759:5: ( '(' )=>otherlv_3= '('
{
otherlv_3=(Token)match(input,48,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0());
}
}
// InternalCubeDSL.g:1765:4: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?
int alt35=3;
alt35 = dfa35.predict(input);
switch (alt35) {
case 1 :
// InternalCubeDSL.g:1766:5: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
{
// InternalCubeDSL.g:1766:5: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
// InternalCubeDSL.g:1767:6: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
{
// InternalCubeDSL.g:1767:6: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) )
// InternalCubeDSL.g:1768:7: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
{
// InternalCubeDSL.g:1777:7: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
// InternalCubeDSL.g:1778:8: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0());
}
pushFollow(FOLLOW_44);
lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
current,
"elementValuePairs",
lv_elementValuePairs_4_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1795:6: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
loop34:
do {
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==49) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// InternalCubeDSL.g:1796:7: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
{
otherlv_5=(Token)match(input,49,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0());
}
// InternalCubeDSL.g:1800:7: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
// InternalCubeDSL.g:1801:8: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
{
// InternalCubeDSL.g:1810:8: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
// InternalCubeDSL.g:1811:9: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0());
}
pushFollow(FOLLOW_44);
lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
current,
"elementValuePairs",
lv_elementValuePairs_6_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop34;
}
} while (true);
}
}
break;
case 2 :
// InternalCubeDSL.g:1831:5: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
{
// InternalCubeDSL.g:1831:5: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
// InternalCubeDSL.g:1832:6: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
{
// InternalCubeDSL.g:1832:6: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
// InternalCubeDSL.g:1833:7: lv_value_7_0= ruleXAnnotationElementValueOrCommaList
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_45);
lv_value_7_0=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
set(
current,
"value",
lv_value_7_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValueOrCommaList");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_8=(Token)match(input,50,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotation"
// $ANTLR start "entryRuleXAnnotationElementValuePair"
// InternalCubeDSL.g:1860:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ;
public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValuePair = null;
try {
// InternalCubeDSL.g:1860:68: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF )
// InternalCubeDSL.g:1861:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValuePair;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValuePair"
// $ANTLR start "ruleXAnnotationElementValuePair"
// InternalCubeDSL.g:1867:1: ruleXAnnotationElementValuePair returns [EObject current=null] : ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ;
public final EObject ruleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_value_2_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1873:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) )
// InternalCubeDSL.g:1874:2: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
{
// InternalCubeDSL.g:1874:2: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
// InternalCubeDSL.g:1875:3: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) )
{
// InternalCubeDSL.g:1875:3: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) )
// InternalCubeDSL.g:1876:4: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' )
{
// InternalCubeDSL.g:1885:4: ( ( ( ruleValidID ) ) otherlv_1= '=' )
// InternalCubeDSL.g:1886:5: ( ( ruleValidID ) ) otherlv_1= '='
{
// InternalCubeDSL.g:1886:5: ( ( ruleValidID ) )
// InternalCubeDSL.g:1887:6: ( ruleValidID )
{
// InternalCubeDSL.g:1887:6: ( ruleValidID )
// InternalCubeDSL.g:1888:7: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0());
}
pushFollow(FOLLOW_46);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,51,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1());
}
}
}
// InternalCubeDSL.g:1908:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) )
// InternalCubeDSL.g:1909:4: (lv_value_2_0= ruleXAnnotationElementValue )
{
// InternalCubeDSL.g:1909:4: (lv_value_2_0= ruleXAnnotationElementValue )
// InternalCubeDSL.g:1910:5: lv_value_2_0= ruleXAnnotationElementValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_value_2_0=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule());
}
set(
current,
"value",
lv_value_2_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValue");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValuePair"
// $ANTLR start "entryRuleXAnnotationElementValueOrCommaList"
// InternalCubeDSL.g:1931:1: entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] : iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ;
public final EObject entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValueOrCommaList = null;
try {
// InternalCubeDSL.g:1931:75: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF )
// InternalCubeDSL.g:1932:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValueOrCommaList;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValueOrCommaList"
// $ANTLR start "ruleXAnnotationElementValueOrCommaList"
// InternalCubeDSL.g:1938:1: ruleXAnnotationElementValueOrCommaList returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) ;
public final EObject ruleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_9=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
EObject this_XAnnotationOrExpression_7 = null;
EObject lv_elements_10_0 = null;
enterRule();
try {
// InternalCubeDSL.g:1944:2: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) )
// InternalCubeDSL.g:1945:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )
{
// InternalCubeDSL.g:1945:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )
int alt41=2;
alt41 = dfa41.predict(input);
switch (alt41) {
case 1 :
// InternalCubeDSL.g:1946:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// InternalCubeDSL.g:1946:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// InternalCubeDSL.g:1947:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// InternalCubeDSL.g:1947:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// InternalCubeDSL.g:1948:5: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// InternalCubeDSL.g:1955:5: ( () otherlv_1= '#' otherlv_2= '[' )
// InternalCubeDSL.g:1956:6: () otherlv_1= '#' otherlv_2= '['
{
// InternalCubeDSL.g:1956:6: ()
// InternalCubeDSL.g:1957:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,52,FOLLOW_48); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,53,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// InternalCubeDSL.g:1973:4: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( ((LA38_0>=RULE_ID && LA38_0<=RULE_DECIMAL)||LA38_0==14||(LA38_0>=41 && LA38_0<=43)||(LA38_0>=47 && LA38_0<=48)||(LA38_0>=52 && LA38_0<=53)||LA38_0==60||(LA38_0>=76 && LA38_0<=77)||LA38_0==81||LA38_0==88||LA38_0==90||(LA38_0>=94 && LA38_0<=96)||(LA38_0>=99 && LA38_0<=108)||LA38_0==110) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// InternalCubeDSL.g:1974:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// InternalCubeDSL.g:1974:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// InternalCubeDSL.g:1975:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// InternalCubeDSL.g:1975:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
// InternalCubeDSL.g:1976:7: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_50);
lv_elements_3_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:1993:5: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop37:
do {
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==49) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// InternalCubeDSL.g:1994:6: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0());
}
// InternalCubeDSL.g:1998:6: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// InternalCubeDSL.g:1999:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// InternalCubeDSL.g:1999:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
// InternalCubeDSL.g:2000:8: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_50);
lv_elements_5_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop37;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,54,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// InternalCubeDSL.g:2025:3: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
{
// InternalCubeDSL.g:2025:3: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
// InternalCubeDSL.g:2026:4: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_51);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2034:4: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==49) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// InternalCubeDSL.g:2035:5: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
{
// InternalCubeDSL.g:2035:5: ()
// InternalCubeDSL.g:2036:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndAdd(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(),
current);
}
}
// InternalCubeDSL.g:2042:5: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
int cnt39=0;
loop39:
do {
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==49) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// InternalCubeDSL.g:2043:6: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
{
otherlv_9=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0());
}
// InternalCubeDSL.g:2047:6: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
// InternalCubeDSL.g:2048:7: (lv_elements_10_0= ruleXAnnotationOrExpression )
{
// InternalCubeDSL.g:2048:7: (lv_elements_10_0= ruleXAnnotationOrExpression )
// InternalCubeDSL.g:2049:8: lv_elements_10_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_51);
lv_elements_10_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_10_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
if ( cnt39 >= 1 ) break loop39;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(39, input);
throw eee;
}
cnt39++;
} while (true);
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValueOrCommaList"
// $ANTLR start "entryRuleXAnnotationElementValue"
// InternalCubeDSL.g:2073:1: entryRuleXAnnotationElementValue returns [EObject current=null] : iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ;
public final EObject entryRuleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValue = null;
try {
// InternalCubeDSL.g:2073:64: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF )
// InternalCubeDSL.g:2074:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValue;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValue"
// $ANTLR start "ruleXAnnotationElementValue"
// InternalCubeDSL.g:2080:1: ruleXAnnotationElementValue returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) ;
public final EObject ruleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
EObject this_XAnnotationOrExpression_7 = null;
enterRule();
try {
// InternalCubeDSL.g:2086:2: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) )
// InternalCubeDSL.g:2087:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
{
// InternalCubeDSL.g:2087:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
int alt44=2;
alt44 = dfa44.predict(input);
switch (alt44) {
case 1 :
// InternalCubeDSL.g:2088:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// InternalCubeDSL.g:2088:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// InternalCubeDSL.g:2089:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// InternalCubeDSL.g:2089:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// InternalCubeDSL.g:2090:5: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// InternalCubeDSL.g:2097:5: ( () otherlv_1= '#' otherlv_2= '[' )
// InternalCubeDSL.g:2098:6: () otherlv_1= '#' otherlv_2= '['
{
// InternalCubeDSL.g:2098:6: ()
// InternalCubeDSL.g:2099:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,52,FOLLOW_48); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,53,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// InternalCubeDSL.g:2115:4: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt43=2;
int LA43_0 = input.LA(1);
if ( ((LA43_0>=RULE_ID && LA43_0<=RULE_DECIMAL)||LA43_0==14||(LA43_0>=41 && LA43_0<=43)||(LA43_0>=47 && LA43_0<=48)||(LA43_0>=52 && LA43_0<=53)||LA43_0==60||(LA43_0>=76 && LA43_0<=77)||LA43_0==81||LA43_0==88||LA43_0==90||(LA43_0>=94 && LA43_0<=96)||(LA43_0>=99 && LA43_0<=108)||LA43_0==110) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// InternalCubeDSL.g:2116:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// InternalCubeDSL.g:2116:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// InternalCubeDSL.g:2117:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// InternalCubeDSL.g:2117:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
// InternalCubeDSL.g:2118:7: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_50);
lv_elements_3_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:2135:5: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop42:
do {
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==49) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// InternalCubeDSL.g:2136:6: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0());
}
// InternalCubeDSL.g:2140:6: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// InternalCubeDSL.g:2141:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// InternalCubeDSL.g:2141:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
// InternalCubeDSL.g:2142:8: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_50);
lv_elements_5_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop42;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,54,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// InternalCubeDSL.g:2167:3: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValue"
// $ANTLR start "entryRuleXAnnotationOrExpression"
// InternalCubeDSL.g:2179:1: entryRuleXAnnotationOrExpression returns [EObject current=null] : iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ;
public final EObject entryRuleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationOrExpression = null;
try {
// InternalCubeDSL.g:2179:64: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF )
// InternalCubeDSL.g:2180:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationOrExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationOrExpression"
// $ANTLR start "ruleXAnnotationOrExpression"
// InternalCubeDSL.g:2186:1: ruleXAnnotationOrExpression returns [EObject current=null] : (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAnnotation_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// InternalCubeDSL.g:2192:2: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) )
// InternalCubeDSL.g:2193:2: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
{
// InternalCubeDSL.g:2193:2: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==47) ) {
alt45=1;
}
else if ( ((LA45_0>=RULE_ID && LA45_0<=RULE_DECIMAL)||LA45_0==14||(LA45_0>=41 && LA45_0<=43)||LA45_0==48||(LA45_0>=52 && LA45_0<=53)||LA45_0==60||(LA45_0>=76 && LA45_0<=77)||LA45_0==81||LA45_0==88||LA45_0==90||(LA45_0>=94 && LA45_0<=96)||(LA45_0>=99 && LA45_0<=108)||LA45_0==110) ) {
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 :
// InternalCubeDSL.g:2194:3: this_XAnnotation_0= ruleXAnnotation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XAnnotation_0=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotation_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:2203:3: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
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 "ruleXAnnotationOrExpression"
// $ANTLR start "entryRuleXExpression"
// InternalCubeDSL.g:2215:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ;
public final EObject entryRuleXExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpression = null;
try {
// InternalCubeDSL.g:2215:52: (iv_ruleXExpression= ruleXExpression EOF )
// InternalCubeDSL.g:2216:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// InternalCubeDSL.g:2222: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 {
// InternalCubeDSL.g:2228:2: (this_XAssignment_0= ruleXAssignment )
// InternalCubeDSL.g:2229:2: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_2);
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"
// InternalCubeDSL.g:2240:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ;
public final EObject entryRuleXAssignment() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAssignment = null;
try {
// InternalCubeDSL.g:2240:52: (iv_ruleXAssignment= ruleXAssignment EOF )
// InternalCubeDSL.g:2241:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// InternalCubeDSL.g:2247:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ;
public final EObject ruleXAssignment() throws RecognitionException {
EObject current = null;
EObject lv_value_3_0 = null;
EObject this_XOrExpression_4 = null;
EObject lv_rightOperand_7_0 = null;
enterRule();
try {
// InternalCubeDSL.g:2253:2: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// InternalCubeDSL.g:2254:2: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// InternalCubeDSL.g:2254:2: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt47=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
int LA47_1 = input.LA(2);
if ( (LA47_1==EOF||(LA47_1>=RULE_ID && LA47_1<=RULE_DECIMAL)||LA47_1==14||LA47_1==16||(LA47_1>=40 && LA47_1<=44)||LA47_1==46||(LA47_1>=48 && LA47_1<=50)||(LA47_1>=52 && LA47_1<=86)||(LA47_1>=88 && LA47_1<=111)) ) {
alt47=2;
}
else if ( (LA47_1==51) ) {
alt47=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 1, input);
throw nvae;
}
}
break;
case 99:
{
int LA47_2 = input.LA(2);
if ( (LA47_2==EOF||(LA47_2>=RULE_ID && LA47_2<=RULE_DECIMAL)||LA47_2==14||LA47_2==16||(LA47_2>=40 && LA47_2<=44)||LA47_2==46||(LA47_2>=48 && LA47_2<=50)||(LA47_2>=52 && LA47_2<=86)||(LA47_2>=88 && LA47_2<=111)) ) {
alt47=2;
}
else if ( (LA47_2==51) ) {
alt47=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 2, input);
throw nvae;
}
}
break;
case 42:
{
int LA47_3 = input.LA(2);
if ( (LA47_3==EOF||(LA47_3>=RULE_ID && LA47_3<=RULE_DECIMAL)||LA47_3==14||LA47_3==16||(LA47_3>=40 && LA47_3<=44)||LA47_3==46||(LA47_3>=48 && LA47_3<=50)||(LA47_3>=52 && LA47_3<=86)||(LA47_3>=88 && LA47_3<=111)) ) {
alt47=2;
}
else if ( (LA47_3==51) ) {
alt47=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 3, input);
throw nvae;
}
}
break;
case 41:
{
int LA47_4 = input.LA(2);
if ( (LA47_4==EOF||(LA47_4>=RULE_ID && LA47_4<=RULE_DECIMAL)||LA47_4==14||LA47_4==16||(LA47_4>=40 && LA47_4<=44)||LA47_4==46||(LA47_4>=48 && LA47_4<=50)||(LA47_4>=52 && LA47_4<=86)||(LA47_4>=88 && LA47_4<=111)) ) {
alt47=2;
}
else if ( (LA47_4==51) ) {
alt47=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 4, input);
throw nvae;
}
}
break;
case 43:
{
int LA47_5 = input.LA(2);
if ( (LA47_5==EOF||(LA47_5>=RULE_ID && LA47_5<=RULE_DECIMAL)||LA47_5==14||LA47_5==16||(LA47_5>=40 && LA47_5<=44)||LA47_5==46||(LA47_5>=48 && LA47_5<=50)||(LA47_5>=52 && LA47_5<=86)||(LA47_5>=88 && LA47_5<=111)) ) {
alt47=2;
}
else if ( (LA47_5==51) ) {
alt47=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 5, input);
throw nvae;
}
}
break;
case RULE_STRING:
case RULE_HEX:
case RULE_INT:
case RULE_DECIMAL:
case 14:
case 48:
case 52:
case 53:
case 60:
case 76:
case 77:
case 81:
case 88:
case 90:
case 94:
case 95:
case 96:
case 100:
case 101:
case 102:
case 103:
case 104:
case 105:
case 106:
case 107:
case 108:
case 110:
{
alt47=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
// InternalCubeDSL.g:2255:3: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// InternalCubeDSL.g:2255:3: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// InternalCubeDSL.g:2256:4: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// InternalCubeDSL.g:2256:4: ()
// InternalCubeDSL.g:2257:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// InternalCubeDSL.g:2263:4: ( ( ruleFeatureCallID ) )
// InternalCubeDSL.g:2264:5: ( ruleFeatureCallID )
{
// InternalCubeDSL.g:2264:5: ( ruleFeatureCallID )
// InternalCubeDSL.g:2265:6: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_46);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2());
}
pushFollow(FOLLOW_47);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2286:4: ( (lv_value_3_0= ruleXAssignment ) )
// InternalCubeDSL.g:2287:5: (lv_value_3_0= ruleXAssignment )
{
// InternalCubeDSL.g:2287:5: (lv_value_3_0= ruleXAssignment )
// InternalCubeDSL.g:2288:6: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:2307:3: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// InternalCubeDSL.g:2307:3: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// InternalCubeDSL.g:2308:4: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_52);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2316:4: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt46=2;
alt46 = dfa46.predict(input);
switch (alt46) {
case 1 :
// InternalCubeDSL.g:2317:5: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// InternalCubeDSL.g:2317:5: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// InternalCubeDSL.g:2318:6: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// InternalCubeDSL.g:2328:6: ( () ( ( ruleOpMultiAssign ) ) )
// InternalCubeDSL.g:2329:7: () ( ( ruleOpMultiAssign ) )
{
// InternalCubeDSL.g:2329:7: ()
// InternalCubeDSL.g:2330:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:2336:7: ( ( ruleOpMultiAssign ) )
// InternalCubeDSL.g:2337:8: ( ruleOpMultiAssign )
{
// InternalCubeDSL.g:2337:8: ( ruleOpMultiAssign )
// InternalCubeDSL.g:2338:9: 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_47);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:2354:5: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// InternalCubeDSL.g:2355:6: (lv_rightOperand_7_0= ruleXAssignment )
{
// InternalCubeDSL.g:2355:6: (lv_rightOperand_7_0= ruleXAssignment )
// InternalCubeDSL.g:2356:7: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.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"
// InternalCubeDSL.g:2379:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ;
public final String entryRuleOpSingleAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null;
try {
// InternalCubeDSL.g:2379:54: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// InternalCubeDSL.g:2380:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// InternalCubeDSL.g:2386:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:2392:2: (kw= '=' )
// InternalCubeDSL.g:2393:2: kw= '='
{
kw=(Token)match(input,51,FOLLOW_2); 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"
// InternalCubeDSL.g:2401:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ;
public final String entryRuleOpMultiAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null;
try {
// InternalCubeDSL.g:2401:53: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// InternalCubeDSL.g:2402:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// InternalCubeDSL.g:2408:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ;
public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:2414:2: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) )
// InternalCubeDSL.g:2415:2: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
{
// InternalCubeDSL.g:2415:2: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
int alt49=7;
switch ( input.LA(1) ) {
case 55:
{
alt49=1;
}
break;
case 56:
{
alt49=2;
}
break;
case 57:
{
alt49=3;
}
break;
case 58:
{
alt49=4;
}
break;
case 59:
{
alt49=5;
}
break;
case 60:
{
alt49=6;
}
break;
case 61:
{
alt49=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 49, 0, input);
throw nvae;
}
switch (alt49) {
case 1 :
// InternalCubeDSL.g:2416:3: kw= '+='
{
kw=(Token)match(input,55,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:2422:3: kw= '-='
{
kw=(Token)match(input,56,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:2428:3: kw= '*='
{
kw=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
}
break;
case 4 :
// InternalCubeDSL.g:2434:3: kw= '/='
{
kw=(Token)match(input,58,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
}
break;
case 5 :
// InternalCubeDSL.g:2440:3: kw= '%='
{
kw=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
}
break;
case 6 :
// InternalCubeDSL.g:2446:3: (kw= '<' kw= '<' kw= '=' )
{
// InternalCubeDSL.g:2446:3: (kw= '<' kw= '<' kw= '=' )
// InternalCubeDSL.g:2447:4: kw= '<' kw= '<' kw= '='
{
kw=(Token)match(input,60,FOLLOW_53); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw=(Token)match(input,60,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw=(Token)match(input,51,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
}
}
break;
case 7 :
// InternalCubeDSL.g:2464:3: (kw= '>' (kw= '>' )? kw= '>=' )
{
// InternalCubeDSL.g:2464:3: (kw= '>' (kw= '>' )? kw= '>=' )
// InternalCubeDSL.g:2465:4: kw= '>' (kw= '>' )? kw= '>='
{
kw=(Token)match(input,61,FOLLOW_54); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
// InternalCubeDSL.g:2470:4: (kw= '>' )?
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==61) ) {
alt48=1;
}
switch (alt48) {
case 1 :
// InternalCubeDSL.g:2471:5: kw= '>'
{
kw=(Token)match(input,61,FOLLOW_55); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
}
break;
}
kw=(Token)match(input,62,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMultiAssign"
// $ANTLR start "entryRuleXOrExpression"
// InternalCubeDSL.g:2487:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ;
public final EObject entryRuleXOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOrExpression = null;
try {
// InternalCubeDSL.g:2487:54: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// InternalCubeDSL.g:2488:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// InternalCubeDSL.g:2494: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 {
// InternalCubeDSL.g:2500:2: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// InternalCubeDSL.g:2501:2: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// InternalCubeDSL.g:2501:2: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// InternalCubeDSL.g:2502:3: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_56);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2510:3: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop50:
do {
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==63) ) {
int LA50_2 = input.LA(2);
if ( (synpred8_InternalCubeDSL()) ) {
alt50=1;
}
}
switch (alt50) {
case 1 :
// InternalCubeDSL.g:2511:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// InternalCubeDSL.g:2511:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// InternalCubeDSL.g:2512:5: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// InternalCubeDSL.g:2522:5: ( () ( ( ruleOpOr ) ) )
// InternalCubeDSL.g:2523:6: () ( ( ruleOpOr ) )
{
// InternalCubeDSL.g:2523:6: ()
// InternalCubeDSL.g:2524:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:2530:6: ( ( ruleOpOr ) )
// InternalCubeDSL.g:2531:7: ( ruleOpOr )
{
// InternalCubeDSL.g:2531:7: ( ruleOpOr )
// InternalCubeDSL.g:2532:8: 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_47);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:2548:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// InternalCubeDSL.g:2549:5: (lv_rightOperand_3_0= ruleXAndExpression )
{
// InternalCubeDSL.g:2549:5: (lv_rightOperand_3_0= ruleXAndExpression )
// InternalCubeDSL.g:2550:6: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_56);
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,
"org.eclipse.xtext.xbase.Xbase.XAndExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop50;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// InternalCubeDSL.g:2572:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
public final String entryRuleOpOr() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOr = null;
try {
// InternalCubeDSL.g:2572:44: (iv_ruleOpOr= ruleOpOr EOF )
// InternalCubeDSL.g:2573:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// InternalCubeDSL.g:2579:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:2585:2: (kw= '||' )
// InternalCubeDSL.g:2586:2: kw= '||'
{
kw=(Token)match(input,63,FOLLOW_2); 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"
// InternalCubeDSL.g:2594:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ;
public final EObject entryRuleXAndExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAndExpression = null;
try {
// InternalCubeDSL.g:2594:55: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// InternalCubeDSL.g:2595:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// InternalCubeDSL.g:2601: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 {
// InternalCubeDSL.g:2607:2: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// InternalCubeDSL.g:2608:2: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// InternalCubeDSL.g:2608:2: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// InternalCubeDSL.g:2609:3: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_57);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2617:3: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop51:
do {
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==64) ) {
int LA51_2 = input.LA(2);
if ( (synpred9_InternalCubeDSL()) ) {
alt51=1;
}
}
switch (alt51) {
case 1 :
// InternalCubeDSL.g:2618:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// InternalCubeDSL.g:2618:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// InternalCubeDSL.g:2619:5: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// InternalCubeDSL.g:2629:5: ( () ( ( ruleOpAnd ) ) )
// InternalCubeDSL.g:2630:6: () ( ( ruleOpAnd ) )
{
// InternalCubeDSL.g:2630:6: ()
// InternalCubeDSL.g:2631:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:2637:6: ( ( ruleOpAnd ) )
// InternalCubeDSL.g:2638:7: ( ruleOpAnd )
{
// InternalCubeDSL.g:2638:7: ( ruleOpAnd )
// InternalCubeDSL.g:2639:8: 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_47);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:2655:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// InternalCubeDSL.g:2656:5: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// InternalCubeDSL.g:2656:5: (lv_rightOperand_3_0= ruleXEqualityExpression )
// InternalCubeDSL.g:2657:6: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_57);
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,
"org.eclipse.xtext.xbase.Xbase.XEqualityExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop51;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// InternalCubeDSL.g:2679:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
public final String entryRuleOpAnd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAnd = null;
try {
// InternalCubeDSL.g:2679:45: (iv_ruleOpAnd= ruleOpAnd EOF )
// InternalCubeDSL.g:2680:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// InternalCubeDSL.g:2686:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:2692:2: (kw= '&&' )
// InternalCubeDSL.g:2693:2: kw= '&&'
{
kw=(Token)match(input,64,FOLLOW_2); 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"
// InternalCubeDSL.g:2701:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ;
public final EObject entryRuleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXEqualityExpression = null;
try {
// InternalCubeDSL.g:2701:60: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// InternalCubeDSL.g:2702:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// InternalCubeDSL.g:2708: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 {
// InternalCubeDSL.g:2714:2: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// InternalCubeDSL.g:2715:2: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// InternalCubeDSL.g:2715:2: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// InternalCubeDSL.g:2716:3: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_58);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2724:3: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop52:
do {
int alt52=2;
switch ( input.LA(1) ) {
case 65:
{
int LA52_2 = input.LA(2);
if ( (synpred10_InternalCubeDSL()) ) {
alt52=1;
}
}
break;
case 66:
{
int LA52_3 = input.LA(2);
if ( (synpred10_InternalCubeDSL()) ) {
alt52=1;
}
}
break;
case 67:
{
int LA52_4 = input.LA(2);
if ( (synpred10_InternalCubeDSL()) ) {
alt52=1;
}
}
break;
case 68:
{
int LA52_5 = input.LA(2);
if ( (synpred10_InternalCubeDSL()) ) {
alt52=1;
}
}
break;
}
switch (alt52) {
case 1 :
// InternalCubeDSL.g:2725:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// InternalCubeDSL.g:2725:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// InternalCubeDSL.g:2726:5: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// InternalCubeDSL.g:2736:5: ( () ( ( ruleOpEquality ) ) )
// InternalCubeDSL.g:2737:6: () ( ( ruleOpEquality ) )
{
// InternalCubeDSL.g:2737:6: ()
// InternalCubeDSL.g:2738:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:2744:6: ( ( ruleOpEquality ) )
// InternalCubeDSL.g:2745:7: ( ruleOpEquality )
{
// InternalCubeDSL.g:2745:7: ( ruleOpEquality )
// InternalCubeDSL.g:2746:8: 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_47);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:2762:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// InternalCubeDSL.g:2763:5: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// InternalCubeDSL.g:2763:5: (lv_rightOperand_3_0= ruleXRelationalExpression )
// InternalCubeDSL.g:2764:6: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_58);
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,
"org.eclipse.xtext.xbase.Xbase.XRelationalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop52;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// InternalCubeDSL.g:2786:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
public final String entryRuleOpEquality() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpEquality = null;
try {
// InternalCubeDSL.g:2786:50: (iv_ruleOpEquality= ruleOpEquality EOF )
// InternalCubeDSL.g:2787:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// InternalCubeDSL.g:2793:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:2799:2: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) )
// InternalCubeDSL.g:2800:2: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
{
// InternalCubeDSL.g:2800:2: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
int alt53=4;
switch ( input.LA(1) ) {
case 65:
{
alt53=1;
}
break;
case 66:
{
alt53=2;
}
break;
case 67:
{
alt53=3;
}
break;
case 68:
{
alt53=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 53, 0, input);
throw nvae;
}
switch (alt53) {
case 1 :
// InternalCubeDSL.g:2801:3: kw= '=='
{
kw=(Token)match(input,65,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:2807:3: kw= '!='
{
kw=(Token)match(input,66,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:2813:3: kw= '==='
{
kw=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2());
}
}
break;
case 4 :
// InternalCubeDSL.g:2819:3: kw= '!=='
{
kw=(Token)match(input,68,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleXRelationalExpression"
// InternalCubeDSL.g:2828:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ;
public final EObject entryRuleXRelationalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXRelationalExpression = null;
try {
// InternalCubeDSL.g:2828:62: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// InternalCubeDSL.g:2829:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// InternalCubeDSL.g:2835: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 {
// InternalCubeDSL.g:2841:2: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// InternalCubeDSL.g:2842:2: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// InternalCubeDSL.g:2842:2: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// InternalCubeDSL.g:2843:3: 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_59);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:2851:3: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop54:
do {
int alt54=3;
switch ( input.LA(1) ) {
case 60:
{
int LA54_2 = input.LA(2);
if ( (synpred12_InternalCubeDSL()) ) {
alt54=2;
}
}
break;
case 61:
{
int LA54_3 = input.LA(2);
if ( (synpred12_InternalCubeDSL()) ) {
alt54=2;
}
}
break;
case 69:
{
int LA54_4 = input.LA(2);
if ( (synpred11_InternalCubeDSL()) ) {
alt54=1;
}
}
break;
case 62:
{
int LA54_5 = input.LA(2);
if ( (synpred12_InternalCubeDSL()) ) {
alt54=2;
}
}
break;
}
switch (alt54) {
case 1 :
// InternalCubeDSL.g:2852:4: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// InternalCubeDSL.g:2852:4: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// InternalCubeDSL.g:2853:5: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// InternalCubeDSL.g:2853:5: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// InternalCubeDSL.g:2854:6: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// InternalCubeDSL.g:2860:6: ( () otherlv_2= 'instanceof' )
// InternalCubeDSL.g:2861:7: () otherlv_2= 'instanceof'
{
// InternalCubeDSL.g:2861:7: ()
// InternalCubeDSL.g:2862:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,69,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// InternalCubeDSL.g:2874:5: ( (lv_type_3_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:2875:6: (lv_type_3_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:2875:6: (lv_type_3_0= ruleJvmTypeReference )
// InternalCubeDSL.g:2876:7: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_59);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:2895:4: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// InternalCubeDSL.g:2895:4: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// InternalCubeDSL.g:2896:5: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// InternalCubeDSL.g:2896:5: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// InternalCubeDSL.g:2897:6: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// InternalCubeDSL.g:2907:6: ( () ( ( ruleOpCompare ) ) )
// InternalCubeDSL.g:2908:7: () ( ( ruleOpCompare ) )
{
// InternalCubeDSL.g:2908:7: ()
// InternalCubeDSL.g:2909:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:2915:7: ( ( ruleOpCompare ) )
// InternalCubeDSL.g:2916:8: ( ruleOpCompare )
{
// InternalCubeDSL.g:2916:8: ( ruleOpCompare )
// InternalCubeDSL.g:2917:9: 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_47);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:2933:5: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// InternalCubeDSL.g:2934:6: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// InternalCubeDSL.g:2934:6: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// InternalCubeDSL.g:2935:7: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_59);
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,
"org.eclipse.xtext.xbase.Xbase.XOtherOperatorExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
default :
break loop54;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// InternalCubeDSL.g:2958:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ;
public final String entryRuleOpCompare() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpCompare = null;
try {
// InternalCubeDSL.g:2958:49: (iv_ruleOpCompare= ruleOpCompare EOF )
// InternalCubeDSL.g:2959:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// InternalCubeDSL.g:2965:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:2971:2: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) )
// InternalCubeDSL.g:2972:2: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
{
// InternalCubeDSL.g:2972:2: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
int alt55=4;
switch ( input.LA(1) ) {
case 62:
{
alt55=1;
}
break;
case 60:
{
int LA55_2 = input.LA(2);
if ( (LA55_2==EOF||(LA55_2>=RULE_ID && LA55_2<=RULE_DECIMAL)||LA55_2==14||(LA55_2>=41 && LA55_2<=43)||LA55_2==48||(LA55_2>=52 && LA55_2<=53)||LA55_2==60||(LA55_2>=76 && LA55_2<=77)||LA55_2==81||LA55_2==88||LA55_2==90||(LA55_2>=94 && LA55_2<=96)||(LA55_2>=99 && LA55_2<=108)||LA55_2==110) ) {
alt55=4;
}
else if ( (LA55_2==51) ) {
alt55=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 55, 2, input);
throw nvae;
}
}
break;
case 61:
{
alt55=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 55, 0, input);
throw nvae;
}
switch (alt55) {
case 1 :
// InternalCubeDSL.g:2973:3: kw= '>='
{
kw=(Token)match(input,62,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:2979:3: (kw= '<' kw= '=' )
{
// InternalCubeDSL.g:2979:3: (kw= '<' kw= '=' )
// InternalCubeDSL.g:2980:4: kw= '<' kw= '='
{
kw=(Token)match(input,60,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0());
}
kw=(Token)match(input,51,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1());
}
}
}
break;
case 3 :
// InternalCubeDSL.g:2992:3: kw= '>'
{
kw=(Token)match(input,61,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// InternalCubeDSL.g:2998:3: kw= '<'
{
kw=(Token)match(input,60,FOLLOW_2); 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"
// InternalCubeDSL.g:3007:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ;
public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOtherOperatorExpression = null;
try {
// InternalCubeDSL.g:3007:65: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// InternalCubeDSL.g:3008:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// InternalCubeDSL.g:3014: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 {
// InternalCubeDSL.g:3020:2: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// InternalCubeDSL.g:3021:2: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// InternalCubeDSL.g:3021:2: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// InternalCubeDSL.g:3022:3: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_61);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:3030:3: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop56:
do {
int alt56=2;
alt56 = dfa56.predict(input);
switch (alt56) {
case 1 :
// InternalCubeDSL.g:3031:4: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// InternalCubeDSL.g:3031:4: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// InternalCubeDSL.g:3032:5: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// InternalCubeDSL.g:3042:5: ( () ( ( ruleOpOther ) ) )
// InternalCubeDSL.g:3043:6: () ( ( ruleOpOther ) )
{
// InternalCubeDSL.g:3043:6: ()
// InternalCubeDSL.g:3044:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:3050:6: ( ( ruleOpOther ) )
// InternalCubeDSL.g:3051:7: ( ruleOpOther )
{
// InternalCubeDSL.g:3051:7: ( ruleOpOther )
// InternalCubeDSL.g:3052:8: 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_47);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:3068:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// InternalCubeDSL.g:3069:5: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// InternalCubeDSL.g:3069:5: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// InternalCubeDSL.g:3070:6: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_61);
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,
"org.eclipse.xtext.xbase.Xbase.XAdditiveExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop56;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// InternalCubeDSL.g:3092:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ;
public final String entryRuleOpOther() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOther = null;
try {
// InternalCubeDSL.g:3092:47: (iv_ruleOpOther= ruleOpOther EOF )
// InternalCubeDSL.g:3093:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// InternalCubeDSL.g:3099:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ;
public final AntlrDatatypeRuleToken ruleOpOther() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:3105:2: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) )
// InternalCubeDSL.g:3106:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
{
// InternalCubeDSL.g:3106:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
int alt59=9;
alt59 = dfa59.predict(input);
switch (alt59) {
case 1 :
// InternalCubeDSL.g:3107:3: kw= '->'
{
kw=(Token)match(input,70,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3113:3: kw= '..<'
{
kw=(Token)match(input,71,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:3119:3: (kw= '>' kw= '..' )
{
// InternalCubeDSL.g:3119:3: (kw= '>' kw= '..' )
// InternalCubeDSL.g:3120:4: kw= '>' kw= '..'
{
kw=(Token)match(input,61,FOLLOW_62); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0());
}
kw=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1());
}
}
}
break;
case 4 :
// InternalCubeDSL.g:3132:3: kw= '..'
{
kw=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3());
}
}
break;
case 5 :
// InternalCubeDSL.g:3138:3: kw= '=>'
{
kw=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4());
}
}
break;
case 6 :
// InternalCubeDSL.g:3144:3: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// InternalCubeDSL.g:3144:3: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// InternalCubeDSL.g:3145:4: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,61,FOLLOW_63); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0());
}
// InternalCubeDSL.g:3150:4: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==61) ) {
int LA57_1 = input.LA(2);
if ( (LA57_1==61) && (synpred14_InternalCubeDSL())) {
alt57=1;
}
else if ( (LA57_1==EOF||(LA57_1>=RULE_ID && LA57_1<=RULE_DECIMAL)||LA57_1==14||(LA57_1>=41 && LA57_1<=43)||LA57_1==48||(LA57_1>=52 && LA57_1<=53)||LA57_1==60||(LA57_1>=76 && LA57_1<=77)||LA57_1==81||LA57_1==88||LA57_1==90||(LA57_1>=94 && LA57_1<=96)||(LA57_1>=99 && LA57_1<=108)||LA57_1==110) ) {
alt57=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 57, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 57, 0, input);
throw nvae;
}
switch (alt57) {
case 1 :
// InternalCubeDSL.g:3151:5: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// InternalCubeDSL.g:3151:5: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// InternalCubeDSL.g:3152:6: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// InternalCubeDSL.g:3157:6: (kw= '>' kw= '>' )
// InternalCubeDSL.g:3158:7: kw= '>' kw= '>'
{
kw=(Token)match(input,61,FOLLOW_63); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0());
}
kw=(Token)match(input,61,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1());
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:3171:5: kw= '>'
{
kw=(Token)match(input,61,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1());
}
}
break;
}
}
}
break;
case 7 :
// InternalCubeDSL.g:3179:3: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
{
// InternalCubeDSL.g:3179:3: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
// InternalCubeDSL.g:3180:4: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
{
kw=(Token)match(input,60,FOLLOW_64); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0());
}
// InternalCubeDSL.g:3185:4: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
int alt58=3;
int LA58_0 = input.LA(1);
if ( (LA58_0==60) ) {
int LA58_1 = input.LA(2);
if ( (synpred15_InternalCubeDSL()) ) {
alt58=1;
}
else if ( (true) ) {
alt58=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 58, 1, input);
throw nvae;
}
}
else if ( (LA58_0==73) ) {
alt58=3;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 58, 0, input);
throw nvae;
}
switch (alt58) {
case 1 :
// InternalCubeDSL.g:3186:5: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// InternalCubeDSL.g:3186:5: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// InternalCubeDSL.g:3187:6: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// InternalCubeDSL.g:3192:6: (kw= '<' kw= '<' )
// InternalCubeDSL.g:3193:7: kw= '<' kw= '<'
{
kw=(Token)match(input,60,FOLLOW_53); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0());
}
kw=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1());
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:3206:5: kw= '<'
{
kw=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:3212:5: kw= '=>'
{
kw=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2());
}
}
break;
}
}
}
break;
case 8 :
// InternalCubeDSL.g:3220:3: kw= '<>'
{
kw=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7());
}
}
break;
case 9 :
// InternalCubeDSL.g:3226:3: kw= '?:'
{
kw=(Token)match(input,75,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOther"
// $ANTLR start "entryRuleXAdditiveExpression"
// InternalCubeDSL.g:3235:1: entryRuleXAdditiveExpression returns [EObject current=null] : iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ;
public final EObject entryRuleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAdditiveExpression = null;
try {
// InternalCubeDSL.g:3235:60: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF )
// InternalCubeDSL.g:3236:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAdditiveExpression=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAdditiveExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAdditiveExpression"
// $ANTLR start "ruleXAdditiveExpression"
// InternalCubeDSL.g:3242: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 {
// InternalCubeDSL.g:3248:2: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) )
// InternalCubeDSL.g:3249:2: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
{
// InternalCubeDSL.g:3249:2: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
// InternalCubeDSL.g:3250:3: this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_65);
this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:3258:3: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
loop60:
do {
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==76) ) {
int LA60_2 = input.LA(2);
if ( (synpred16_InternalCubeDSL()) ) {
alt60=1;
}
}
else if ( (LA60_0==77) ) {
int LA60_3 = input.LA(2);
if ( (synpred16_InternalCubeDSL()) ) {
alt60=1;
}
}
switch (alt60) {
case 1 :
// InternalCubeDSL.g:3259:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
{
// InternalCubeDSL.g:3259:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) )
// InternalCubeDSL.g:3260:5: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) )
{
// InternalCubeDSL.g:3270:5: ( () ( ( ruleOpAdd ) ) )
// InternalCubeDSL.g:3271:6: () ( ( ruleOpAdd ) )
{
// InternalCubeDSL.g:3271:6: ()
// InternalCubeDSL.g:3272:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:3278:6: ( ( ruleOpAdd ) )
// InternalCubeDSL.g:3279:7: ( ruleOpAdd )
{
// InternalCubeDSL.g:3279:7: ( ruleOpAdd )
// InternalCubeDSL.g:3280:8: 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_47);
ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:3296:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
// InternalCubeDSL.g:3297:5: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
{
// InternalCubeDSL.g:3297:5: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
// InternalCubeDSL.g:3298:6: lv_rightOperand_3_0= ruleXMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_65);
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,
"org.eclipse.xtext.xbase.Xbase.XMultiplicativeExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop60;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// InternalCubeDSL.g:3320:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ;
public final String entryRuleOpAdd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAdd = null;
try {
// InternalCubeDSL.g:3320:45: (iv_ruleOpAdd= ruleOpAdd EOF )
// InternalCubeDSL.g:3321:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// InternalCubeDSL.g:3327:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ;
public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:3333:2: ( (kw= '+' | kw= '-' ) )
// InternalCubeDSL.g:3334:2: (kw= '+' | kw= '-' )
{
// InternalCubeDSL.g:3334:2: (kw= '+' | kw= '-' )
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==76) ) {
alt61=1;
}
else if ( (LA61_0==77) ) {
alt61=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 61, 0, input);
throw nvae;
}
switch (alt61) {
case 1 :
// InternalCubeDSL.g:3335:3: kw= '+'
{
kw=(Token)match(input,76,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3341:3: kw= '-'
{
kw=(Token)match(input,77,FOLLOW_2); 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"
// InternalCubeDSL.g:3350:1: entryRuleXMultiplicativeExpression returns [EObject current=null] : iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ;
public final EObject entryRuleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMultiplicativeExpression = null;
try {
// InternalCubeDSL.g:3350:66: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF )
// InternalCubeDSL.g:3351:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMultiplicativeExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMultiplicativeExpression"
// $ANTLR start "ruleXMultiplicativeExpression"
// InternalCubeDSL.g:3357: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 {
// InternalCubeDSL.g:3363:2: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) )
// InternalCubeDSL.g:3364:2: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
{
// InternalCubeDSL.g:3364:2: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
// InternalCubeDSL.g:3365:3: this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0());
}
pushFollow(FOLLOW_66);
this_XUnaryOperation_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:3373:3: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
loop62:
do {
int alt62=2;
switch ( input.LA(1) ) {
case 44:
{
int LA62_2 = input.LA(2);
if ( (synpred17_InternalCubeDSL()) ) {
alt62=1;
}
}
break;
case 78:
{
int LA62_3 = input.LA(2);
if ( (synpred17_InternalCubeDSL()) ) {
alt62=1;
}
}
break;
case 79:
{
int LA62_4 = input.LA(2);
if ( (synpred17_InternalCubeDSL()) ) {
alt62=1;
}
}
break;
case 80:
{
int LA62_5 = input.LA(2);
if ( (synpred17_InternalCubeDSL()) ) {
alt62=1;
}
}
break;
}
switch (alt62) {
case 1 :
// InternalCubeDSL.g:3374:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
{
// InternalCubeDSL.g:3374:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) )
// InternalCubeDSL.g:3375:5: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) )
{
// InternalCubeDSL.g:3385:5: ( () ( ( ruleOpMulti ) ) )
// InternalCubeDSL.g:3386:6: () ( ( ruleOpMulti ) )
{
// InternalCubeDSL.g:3386:6: ()
// InternalCubeDSL.g:3387:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:3393:6: ( ( ruleOpMulti ) )
// InternalCubeDSL.g:3394:7: ( ruleOpMulti )
{
// InternalCubeDSL.g:3394:7: ( ruleOpMulti )
// InternalCubeDSL.g:3395:8: 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_47);
ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalCubeDSL.g:3411:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
// InternalCubeDSL.g:3412:5: (lv_rightOperand_3_0= ruleXUnaryOperation )
{
// InternalCubeDSL.g:3412:5: (lv_rightOperand_3_0= ruleXUnaryOperation )
// InternalCubeDSL.g:3413:6: lv_rightOperand_3_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_66);
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,
"org.eclipse.xtext.xbase.Xbase.XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop62;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// InternalCubeDSL.g:3435:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ;
public final String entryRuleOpMulti() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMulti = null;
try {
// InternalCubeDSL.g:3435:47: (iv_ruleOpMulti= ruleOpMulti EOF )
// InternalCubeDSL.g:3436:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// InternalCubeDSL.g:3442: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 {
// InternalCubeDSL.g:3448:2: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) )
// InternalCubeDSL.g:3449:2: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
{
// InternalCubeDSL.g:3449:2: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
int alt63=4;
switch ( input.LA(1) ) {
case 44:
{
alt63=1;
}
break;
case 78:
{
alt63=2;
}
break;
case 79:
{
alt63=3;
}
break;
case 80:
{
alt63=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 63, 0, input);
throw nvae;
}
switch (alt63) {
case 1 :
// InternalCubeDSL.g:3450:3: kw= '*'
{
kw=(Token)match(input,44,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3456:3: kw= '**'
{
kw=(Token)match(input,78,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:3462:3: kw= '/'
{
kw=(Token)match(input,79,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2());
}
}
break;
case 4 :
// InternalCubeDSL.g:3468:3: kw= '%'
{
kw=(Token)match(input,80,FOLLOW_2); 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"
// InternalCubeDSL.g:3477:1: entryRuleXUnaryOperation returns [EObject current=null] : iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ;
public final EObject entryRuleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXUnaryOperation = null;
try {
// InternalCubeDSL.g:3477:56: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF )
// InternalCubeDSL.g:3478:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXUnaryOperation=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXUnaryOperation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXUnaryOperation"
// $ANTLR start "ruleXUnaryOperation"
// InternalCubeDSL.g:3484:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ;
public final EObject ruleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject lv_operand_2_0 = null;
EObject this_XCastedExpression_3 = null;
enterRule();
try {
// InternalCubeDSL.g:3490:2: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) )
// InternalCubeDSL.g:3491:2: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
{
// InternalCubeDSL.g:3491:2: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
int alt64=2;
int LA64_0 = input.LA(1);
if ( ((LA64_0>=76 && LA64_0<=77)||LA64_0==81) ) {
alt64=1;
}
else if ( ((LA64_0>=RULE_ID && LA64_0<=RULE_DECIMAL)||LA64_0==14||(LA64_0>=41 && LA64_0<=43)||LA64_0==48||(LA64_0>=52 && LA64_0<=53)||LA64_0==60||LA64_0==88||LA64_0==90||(LA64_0>=94 && LA64_0<=96)||(LA64_0>=99 && LA64_0<=108)||LA64_0==110) ) {
alt64=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 64, 0, input);
throw nvae;
}
switch (alt64) {
case 1 :
// InternalCubeDSL.g:3492:3: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
{
// InternalCubeDSL.g:3492:3: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
// InternalCubeDSL.g:3493:4: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) )
{
// InternalCubeDSL.g:3493:4: ()
// InternalCubeDSL.g:3494:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(),
current);
}
}
// InternalCubeDSL.g:3500:4: ( ( ruleOpUnary ) )
// InternalCubeDSL.g:3501:5: ( ruleOpUnary )
{
// InternalCubeDSL.g:3501:5: ( ruleOpUnary )
// InternalCubeDSL.g:3502:6: 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_47);
ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:3516:4: ( (lv_operand_2_0= ruleXUnaryOperation ) )
// InternalCubeDSL.g:3517:5: (lv_operand_2_0= ruleXUnaryOperation )
{
// InternalCubeDSL.g:3517:5: (lv_operand_2_0= ruleXUnaryOperation )
// InternalCubeDSL.g:3518:6: lv_operand_2_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_2);
lv_operand_2_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXUnaryOperationRule());
}
set(
current,
"operand",
lv_operand_2_0,
"org.eclipse.xtext.xbase.Xbase.XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:3537:3: this_XCastedExpression_3= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
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"
// InternalCubeDSL.g:3549:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ;
public final String entryRuleOpUnary() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpUnary = null;
try {
// InternalCubeDSL.g:3549:47: (iv_ruleOpUnary= ruleOpUnary EOF )
// InternalCubeDSL.g:3550:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// InternalCubeDSL.g:3556: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 {
// InternalCubeDSL.g:3562:2: ( (kw= '!' | kw= '-' | kw= '+' ) )
// InternalCubeDSL.g:3563:2: (kw= '!' | kw= '-' | kw= '+' )
{
// InternalCubeDSL.g:3563:2: (kw= '!' | kw= '-' | kw= '+' )
int alt65=3;
switch ( input.LA(1) ) {
case 81:
{
alt65=1;
}
break;
case 77:
{
alt65=2;
}
break;
case 76:
{
alt65=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 65, 0, input);
throw nvae;
}
switch (alt65) {
case 1 :
// InternalCubeDSL.g:3564:3: kw= '!'
{
kw=(Token)match(input,81,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3570:3: kw= '-'
{
kw=(Token)match(input,77,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:3576:3: kw= '+'
{
kw=(Token)match(input,76,FOLLOW_2); 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"
// InternalCubeDSL.g:3585:1: entryRuleXCastedExpression returns [EObject current=null] : iv_ruleXCastedExpression= ruleXCastedExpression EOF ;
public final EObject entryRuleXCastedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCastedExpression = null;
try {
// InternalCubeDSL.g:3585:58: (iv_ruleXCastedExpression= ruleXCastedExpression EOF )
// InternalCubeDSL.g:3586:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCastedExpression=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCastedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCastedExpression"
// $ANTLR start "ruleXCastedExpression"
// InternalCubeDSL.g:3592:1: ruleXCastedExpression returns [EObject current=null] : (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ;
public final EObject ruleXCastedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XPostfixOperation_0 = null;
EObject lv_type_3_0 = null;
enterRule();
try {
// InternalCubeDSL.g:3598:2: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) )
// InternalCubeDSL.g:3599:2: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
{
// InternalCubeDSL.g:3599:2: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
// InternalCubeDSL.g:3600:3: this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0());
}
pushFollow(FOLLOW_67);
this_XPostfixOperation_0=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPostfixOperation_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:3608:3: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
loop66:
do {
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==82) ) {
int LA66_2 = input.LA(2);
if ( (synpred18_InternalCubeDSL()) ) {
alt66=1;
}
}
switch (alt66) {
case 1 :
// InternalCubeDSL.g:3609:4: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// InternalCubeDSL.g:3609:4: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) )
// InternalCubeDSL.g:3610:5: ( ( () 'as' ) )=> ( () otherlv_2= 'as' )
{
// InternalCubeDSL.g:3616:5: ( () otherlv_2= 'as' )
// InternalCubeDSL.g:3617:6: () otherlv_2= 'as'
{
// InternalCubeDSL.g:3617:6: ()
// InternalCubeDSL.g:3618:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,82,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1());
}
}
}
// InternalCubeDSL.g:3630:4: ( (lv_type_3_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:3631:5: (lv_type_3_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:3631:5: (lv_type_3_0= ruleJvmTypeReference )
// InternalCubeDSL.g:3632:6: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_67);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop66;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCastedExpression"
// $ANTLR start "entryRuleXPostfixOperation"
// InternalCubeDSL.g:3654:1: entryRuleXPostfixOperation returns [EObject current=null] : iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ;
public final EObject entryRuleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPostfixOperation = null;
try {
// InternalCubeDSL.g:3654:58: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF )
// InternalCubeDSL.g:3655:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXPostfixOperation=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPostfixOperation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPostfixOperation"
// $ANTLR start "ruleXPostfixOperation"
// InternalCubeDSL.g:3661:1: ruleXPostfixOperation returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ;
public final EObject ruleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject this_XMemberFeatureCall_0 = null;
enterRule();
try {
// InternalCubeDSL.g:3667:2: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) )
// InternalCubeDSL.g:3668:2: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
{
// InternalCubeDSL.g:3668:2: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
// InternalCubeDSL.g:3669:3: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0());
}
pushFollow(FOLLOW_68);
this_XMemberFeatureCall_0=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMemberFeatureCall_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:3677:3: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==83) ) {
int LA67_1 = input.LA(2);
if ( (synpred19_InternalCubeDSL()) ) {
alt67=1;
}
}
else if ( (LA67_0==84) ) {
int LA67_2 = input.LA(2);
if ( (synpred19_InternalCubeDSL()) ) {
alt67=1;
}
}
switch (alt67) {
case 1 :
// InternalCubeDSL.g:3678:4: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) )
{
// InternalCubeDSL.g:3688:4: ( () ( ( ruleOpPostfix ) ) )
// InternalCubeDSL.g:3689:5: () ( ( ruleOpPostfix ) )
{
// InternalCubeDSL.g:3689:5: ()
// InternalCubeDSL.g:3690:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(),
current);
}
}
// InternalCubeDSL.g:3696:5: ( ( ruleOpPostfix ) )
// InternalCubeDSL.g:3697:6: ( ruleOpPostfix )
{
// InternalCubeDSL.g:3697:6: ( ruleOpPostfix )
// InternalCubeDSL.g:3698:7: ruleOpPostfix
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXPostfixOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0());
}
pushFollow(FOLLOW_2);
ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPostfixOperation"
// $ANTLR start "entryRuleOpPostfix"
// InternalCubeDSL.g:3718:1: entryRuleOpPostfix returns [String current=null] : iv_ruleOpPostfix= ruleOpPostfix EOF ;
public final String entryRuleOpPostfix() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpPostfix = null;
try {
// InternalCubeDSL.g:3718:49: (iv_ruleOpPostfix= ruleOpPostfix EOF )
// InternalCubeDSL.g:3719:2: iv_ruleOpPostfix= ruleOpPostfix EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpPostfixRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpPostfix=ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpPostfix.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpPostfix"
// $ANTLR start "ruleOpPostfix"
// InternalCubeDSL.g:3725:1: ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '++' | kw= '--' ) ;
public final AntlrDatatypeRuleToken ruleOpPostfix() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:3731:2: ( (kw= '++' | kw= '--' ) )
// InternalCubeDSL.g:3732:2: (kw= '++' | kw= '--' )
{
// InternalCubeDSL.g:3732:2: (kw= '++' | kw= '--' )
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==83) ) {
alt68=1;
}
else if ( (LA68_0==84) ) {
alt68=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 68, 0, input);
throw nvae;
}
switch (alt68) {
case 1 :
// InternalCubeDSL.g:3733:3: kw= '++'
{
kw=(Token)match(input,83,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3739:3: kw= '--'
{
kw=(Token)match(input,84,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpPostfix"
// $ANTLR start "entryRuleXMemberFeatureCall"
// InternalCubeDSL.g:3748:1: entryRuleXMemberFeatureCall returns [EObject current=null] : iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ;
public final EObject entryRuleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMemberFeatureCall = null;
try {
// InternalCubeDSL.g:3748:59: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF )
// InternalCubeDSL.g:3749:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMemberFeatureCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMemberFeatureCall"
// $ANTLR start "ruleXMemberFeatureCall"
// InternalCubeDSL.g:3755:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ;
public final EObject ruleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_explicitStatic_3_0=null;
Token otherlv_8=null;
Token lv_nullSafe_9_0=null;
Token lv_explicitStatic_10_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token lv_explicitOperationCall_17_0=null;
Token otherlv_20=null;
Token otherlv_22=null;
EObject this_XPrimaryExpression_0 = null;
EObject lv_value_6_0 = null;
EObject lv_typeArguments_12_0 = null;
EObject lv_typeArguments_14_0 = null;
EObject lv_memberCallArguments_18_0 = null;
EObject lv_memberCallArguments_19_0 = null;
EObject lv_memberCallArguments_21_0 = null;
EObject lv_memberCallArguments_23_0 = null;
enterRule();
try {
// InternalCubeDSL.g:3761:2: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) )
// InternalCubeDSL.g:3762:2: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
{
// InternalCubeDSL.g:3762:2: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
// InternalCubeDSL.g:3763:3: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_69);
this_XPrimaryExpression_0=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:3771:3: ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
loop77:
do {
int alt77=3;
switch ( input.LA(1) ) {
case 40:
{
int LA77_2 = input.LA(2);
if ( (synpred20_InternalCubeDSL()) ) {
alt77=1;
}
else if ( (synpred21_InternalCubeDSL()) ) {
alt77=2;
}
}
break;
case 85:
{
int LA77_3 = input.LA(2);
if ( (synpred20_InternalCubeDSL()) ) {
alt77=1;
}
else if ( (synpred21_InternalCubeDSL()) ) {
alt77=2;
}
}
break;
case 86:
{
int LA77_4 = input.LA(2);
if ( (synpred21_InternalCubeDSL()) ) {
alt77=2;
}
}
break;
}
switch (alt77) {
case 1 :
// InternalCubeDSL.g:3772:4: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
{
// InternalCubeDSL.g:3772:4: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
// InternalCubeDSL.g:3773:5: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) )
{
// InternalCubeDSL.g:3773:5: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// InternalCubeDSL.g:3774:6: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// InternalCubeDSL.g:3794:6: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// InternalCubeDSL.g:3795:7: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// InternalCubeDSL.g:3795:7: ()
// InternalCubeDSL.g:3796:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(),
current);
}
}
// InternalCubeDSL.g:3802:7: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) )
int alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==40) ) {
alt69=1;
}
else if ( (LA69_0==85) ) {
alt69=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 69, 0, input);
throw nvae;
}
switch (alt69) {
case 1 :
// InternalCubeDSL.g:3803:8: otherlv_2= '.'
{
otherlv_2=(Token)match(input,40,FOLLOW_70); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3808:8: ( (lv_explicitStatic_3_0= '::' ) )
{
// InternalCubeDSL.g:3808:8: ( (lv_explicitStatic_3_0= '::' ) )
// InternalCubeDSL.g:3809:9: (lv_explicitStatic_3_0= '::' )
{
// InternalCubeDSL.g:3809:9: (lv_explicitStatic_3_0= '::' )
// InternalCubeDSL.g:3810:10: lv_explicitStatic_3_0= '::'
{
lv_explicitStatic_3_0=(Token)match(input,85,FOLLOW_70); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
// InternalCubeDSL.g:3823:7: ( ( ruleFeatureCallID ) )
// InternalCubeDSL.g:3824:8: ( ruleFeatureCallID )
{
// InternalCubeDSL.g:3824:8: ( ruleFeatureCallID )
// InternalCubeDSL.g:3825:9: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0());
}
pushFollow(FOLLOW_46);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3());
}
pushFollow(FOLLOW_47);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:3848:5: ( (lv_value_6_0= ruleXAssignment ) )
// InternalCubeDSL.g:3849:6: (lv_value_6_0= ruleXAssignment )
{
// InternalCubeDSL.g:3849:6: (lv_value_6_0= ruleXAssignment )
// InternalCubeDSL.g:3850:7: lv_value_6_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_69);
lv_value_6_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
set(
current,
"value",
lv_value_6_0,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:3869:4: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
{
// InternalCubeDSL.g:3869:4: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
// InternalCubeDSL.g:3870:5: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
{
// InternalCubeDSL.g:3870:5: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) )
// InternalCubeDSL.g:3871:6: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
{
// InternalCubeDSL.g:3891:6: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
// InternalCubeDSL.g:3892:7: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
{
// InternalCubeDSL.g:3892:7: ()
// InternalCubeDSL.g:3893:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(),
current);
}
}
// InternalCubeDSL.g:3899:7: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
int alt70=3;
switch ( input.LA(1) ) {
case 40:
{
alt70=1;
}
break;
case 86:
{
alt70=2;
}
break;
case 85:
{
alt70=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 70, 0, input);
throw nvae;
}
switch (alt70) {
case 1 :
// InternalCubeDSL.g:3900:8: otherlv_8= '.'
{
otherlv_8=(Token)match(input,40,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:3905:8: ( (lv_nullSafe_9_0= '?.' ) )
{
// InternalCubeDSL.g:3905:8: ( (lv_nullSafe_9_0= '?.' ) )
// InternalCubeDSL.g:3906:9: (lv_nullSafe_9_0= '?.' )
{
// InternalCubeDSL.g:3906:9: (lv_nullSafe_9_0= '?.' )
// InternalCubeDSL.g:3907:10: lv_nullSafe_9_0= '?.'
{
lv_nullSafe_9_0=(Token)match(input,86,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "nullSafe", true, "?.");
}
}
}
}
break;
case 3 :
// InternalCubeDSL.g:3920:8: ( (lv_explicitStatic_10_0= '::' ) )
{
// InternalCubeDSL.g:3920:8: ( (lv_explicitStatic_10_0= '::' ) )
// InternalCubeDSL.g:3921:9: (lv_explicitStatic_10_0= '::' )
{
// InternalCubeDSL.g:3921:9: (lv_explicitStatic_10_0= '::' )
// InternalCubeDSL.g:3922:10: lv_explicitStatic_10_0= '::'
{
lv_explicitStatic_10_0=(Token)match(input,85,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
}
}
// InternalCubeDSL.g:3937:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )?
int alt72=2;
int LA72_0 = input.LA(1);
if ( (LA72_0==60) ) {
alt72=1;
}
switch (alt72) {
case 1 :
// InternalCubeDSL.g:3938:6: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>'
{
otherlv_11=(Token)match(input,60,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0());
}
// InternalCubeDSL.g:3942:6: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:3943:7: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:3943:7: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:3944:8: lv_typeArguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_73);
lv_typeArguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_12_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:3961:6: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )*
loop71:
do {
int alt71=2;
int LA71_0 = input.LA(1);
if ( (LA71_0==49) ) {
alt71=1;
}
switch (alt71) {
case 1 :
// InternalCubeDSL.g:3962:7: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
{
otherlv_13=(Token)match(input,49,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0());
}
// InternalCubeDSL.g:3966:7: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:3967:8: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:3967:8: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:3968:9: lv_typeArguments_14_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0());
}
pushFollow(FOLLOW_73);
lv_typeArguments_14_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_14_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop71;
}
} while (true);
otherlv_15=(Token)match(input,61,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3());
}
}
break;
}
// InternalCubeDSL.g:3991:5: ( ( ruleIdOrSuper ) )
// InternalCubeDSL.g:3992:6: ( ruleIdOrSuper )
{
// InternalCubeDSL.g:3992:6: ( ruleIdOrSuper )
// InternalCubeDSL.g:3993:7: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0());
}
pushFollow(FOLLOW_74);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4007:5: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )?
int alt75=2;
alt75 = dfa75.predict(input);
switch (alt75) {
case 1 :
// InternalCubeDSL.g:4008:6: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')'
{
// InternalCubeDSL.g:4008:6: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) )
// InternalCubeDSL.g:4009:7: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' )
{
// InternalCubeDSL.g:4013:7: (lv_explicitOperationCall_17_0= '(' )
// InternalCubeDSL.g:4014:8: lv_explicitOperationCall_17_0= '('
{
lv_explicitOperationCall_17_0=(Token)match(input,48,FOLLOW_75); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// InternalCubeDSL.g:4026:6: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?
int alt74=3;
alt74 = dfa74.predict(input);
switch (alt74) {
case 1 :
// InternalCubeDSL.g:4027:7: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
{
// InternalCubeDSL.g:4027:7: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
// InternalCubeDSL.g:4028:8: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure )
{
// InternalCubeDSL.g:4053:8: (lv_memberCallArguments_18_0= ruleXShortClosure )
// InternalCubeDSL.g:4054:9: lv_memberCallArguments_18_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0());
}
pushFollow(FOLLOW_45);
lv_memberCallArguments_18_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_18_0,
"org.eclipse.xtext.xbase.Xbase.XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:4072:7: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
{
// InternalCubeDSL.g:4072:7: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
// InternalCubeDSL.g:4073:8: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
{
// InternalCubeDSL.g:4073:8: ( (lv_memberCallArguments_19_0= ruleXExpression ) )
// InternalCubeDSL.g:4074:9: (lv_memberCallArguments_19_0= ruleXExpression )
{
// InternalCubeDSL.g:4074:9: (lv_memberCallArguments_19_0= ruleXExpression )
// InternalCubeDSL.g:4075:10: lv_memberCallArguments_19_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0());
}
pushFollow(FOLLOW_44);
lv_memberCallArguments_19_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_19_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4092:8: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
loop73:
do {
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==49) ) {
alt73=1;
}
switch (alt73) {
case 1 :
// InternalCubeDSL.g:4093:9: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) )
{
otherlv_20=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0());
}
// InternalCubeDSL.g:4097:9: ( (lv_memberCallArguments_21_0= ruleXExpression ) )
// InternalCubeDSL.g:4098:10: (lv_memberCallArguments_21_0= ruleXExpression )
{
// InternalCubeDSL.g:4098:10: (lv_memberCallArguments_21_0= ruleXExpression )
// InternalCubeDSL.g:4099:11: lv_memberCallArguments_21_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0());
}
pushFollow(FOLLOW_44);
lv_memberCallArguments_21_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_21_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop73;
}
} while (true);
}
}
break;
}
otherlv_22=(Token)match(input,50,FOLLOW_76); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2());
}
}
break;
}
// InternalCubeDSL.g:4124:5: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
int alt76=2;
alt76 = dfa76.predict(input);
switch (alt76) {
case 1 :
// InternalCubeDSL.g:4125:6: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure )
{
// InternalCubeDSL.g:4131:6: (lv_memberCallArguments_23_0= ruleXClosure )
// InternalCubeDSL.g:4132:7: lv_memberCallArguments_23_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0());
}
pushFollow(FOLLOW_69);
lv_memberCallArguments_23_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_23_0,
"org.eclipse.xtext.xbase.Xbase.XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
break;
default :
break loop77;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMemberFeatureCall"
// $ANTLR start "entryRuleXPrimaryExpression"
// InternalCubeDSL.g:4155:1: entryRuleXPrimaryExpression returns [EObject current=null] : iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ;
public final EObject entryRuleXPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPrimaryExpression = null;
try {
// InternalCubeDSL.g:4155:59: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF )
// InternalCubeDSL.g:4156:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXPrimaryExpression=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPrimaryExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPrimaryExpression"
// $ANTLR start "ruleXPrimaryExpression"
// InternalCubeDSL.g:4162:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ;
public final EObject ruleXPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject this_XConstructorCall_0 = null;
EObject this_XBlockExpression_1 = null;
EObject this_XSwitchExpression_2 = null;
EObject this_XSynchronizedExpression_3 = null;
EObject this_XFeatureCall_4 = null;
EObject this_XLiteral_5 = null;
EObject this_XIfExpression_6 = null;
EObject this_XForLoopExpression_7 = null;
EObject this_XBasicForLoopExpression_8 = null;
EObject this_XWhileExpression_9 = null;
EObject this_XDoWhileExpression_10 = null;
EObject this_XThrowExpression_11 = null;
EObject this_XReturnExpression_12 = null;
EObject this_XTryCatchFinallyExpression_13 = null;
EObject this_XParenthesizedExpression_14 = null;
enterRule();
try {
// InternalCubeDSL.g:4168:2: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) )
// InternalCubeDSL.g:4169:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )
{
// InternalCubeDSL.g:4169:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )
int alt78=15;
alt78 = dfa78.predict(input);
switch (alt78) {
case 1 :
// InternalCubeDSL.g:4170:3: this_XConstructorCall_0= ruleXConstructorCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XConstructorCall_0=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XConstructorCall_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:4179:3: this_XBlockExpression_1= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XBlockExpression_1=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBlockExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalCubeDSL.g:4188:3: this_XSwitchExpression_2= ruleXSwitchExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_XSwitchExpression_2=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSwitchExpression_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalCubeDSL.g:4197:3: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
{
// InternalCubeDSL.g:4197:3: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
// InternalCubeDSL.g:4198:4: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_XSynchronizedExpression_3=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSynchronizedExpression_3;
afterParserOrEnumRuleCall();
}
}
}
break;
case 5 :
// InternalCubeDSL.g:4215:3: this_XFeatureCall_4= ruleXFeatureCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_XFeatureCall_4=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFeatureCall_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalCubeDSL.g:4224:3: this_XLiteral_5= ruleXLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_XLiteral_5=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalCubeDSL.g:4233:3: this_XIfExpression_6= ruleXIfExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_XIfExpression_6=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XIfExpression_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// InternalCubeDSL.g:4242:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
{
// InternalCubeDSL.g:4242:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
// InternalCubeDSL.g:4243:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7());
}
pushFollow(FOLLOW_2);
this_XForLoopExpression_7=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XForLoopExpression_7;
afterParserOrEnumRuleCall();
}
}
}
break;
case 9 :
// InternalCubeDSL.g:4266:3: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8());
}
pushFollow(FOLLOW_2);
this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBasicForLoopExpression_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// InternalCubeDSL.g:4275:3: this_XWhileExpression_9= ruleXWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9());
}
pushFollow(FOLLOW_2);
this_XWhileExpression_9=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XWhileExpression_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// InternalCubeDSL.g:4284:3: this_XDoWhileExpression_10= ruleXDoWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10());
}
pushFollow(FOLLOW_2);
this_XDoWhileExpression_10=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XDoWhileExpression_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// InternalCubeDSL.g:4293:3: this_XThrowExpression_11= ruleXThrowExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11());
}
pushFollow(FOLLOW_2);
this_XThrowExpression_11=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XThrowExpression_11;
afterParserOrEnumRuleCall();
}
}
break;
case 13 :
// InternalCubeDSL.g:4302:3: this_XReturnExpression_12= ruleXReturnExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12());
}
pushFollow(FOLLOW_2);
this_XReturnExpression_12=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XReturnExpression_12;
afterParserOrEnumRuleCall();
}
}
break;
case 14 :
// InternalCubeDSL.g:4311:3: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13());
}
pushFollow(FOLLOW_2);
this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTryCatchFinallyExpression_13;
afterParserOrEnumRuleCall();
}
}
break;
case 15 :
// InternalCubeDSL.g:4320:3: this_XParenthesizedExpression_14= ruleXParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14());
}
pushFollow(FOLLOW_2);
this_XParenthesizedExpression_14=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XParenthesizedExpression_14;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPrimaryExpression"
// $ANTLR start "entryRuleXLiteral"
// InternalCubeDSL.g:4332:1: entryRuleXLiteral returns [EObject current=null] : iv_ruleXLiteral= ruleXLiteral EOF ;
public final EObject entryRuleXLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXLiteral = null;
try {
// InternalCubeDSL.g:4332:49: (iv_ruleXLiteral= ruleXLiteral EOF )
// InternalCubeDSL.g:4333:2: iv_ruleXLiteral= ruleXLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXLiteral=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXLiteral"
// $ANTLR start "ruleXLiteral"
// InternalCubeDSL.g:4339:1: ruleXLiteral returns [EObject current=null] : (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ;
public final EObject ruleXLiteral() throws RecognitionException {
EObject current = null;
EObject this_XCollectionLiteral_0 = null;
EObject this_XClosure_1 = null;
EObject this_XBooleanLiteral_2 = null;
EObject this_XNumberLiteral_3 = null;
EObject this_XNullLiteral_4 = null;
EObject this_XStringLiteral_5 = null;
EObject this_XTypeLiteral_6 = null;
enterRule();
try {
// InternalCubeDSL.g:4345:2: ( (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) )
// InternalCubeDSL.g:4346:2: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral )
{
// InternalCubeDSL.g:4346:2: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral )
int alt79=7;
int LA79_0 = input.LA(1);
if ( (LA79_0==52) ) {
alt79=1;
}
else if ( (LA79_0==53) && (synpred27_InternalCubeDSL())) {
alt79=2;
}
else if ( ((LA79_0>=102 && LA79_0<=103)) ) {
alt79=3;
}
else if ( ((LA79_0>=RULE_HEX && LA79_0<=RULE_DECIMAL)) ) {
alt79=4;
}
else if ( (LA79_0==104) ) {
alt79=5;
}
else if ( (LA79_0==RULE_STRING) ) {
alt79=6;
}
else if ( (LA79_0==105) ) {
alt79=7;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 79, 0, input);
throw nvae;
}
switch (alt79) {
case 1 :
// InternalCubeDSL.g:4347:3: this_XCollectionLiteral_0= ruleXCollectionLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XCollectionLiteral_0=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCollectionLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:4356:3: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
{
// InternalCubeDSL.g:4356:3: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
// InternalCubeDSL.g:4357:4: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XClosure_1=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XClosure_1;
afterParserOrEnumRuleCall();
}
}
}
break;
case 3 :
// InternalCubeDSL.g:4373:3: this_XBooleanLiteral_2= ruleXBooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_XBooleanLiteral_2=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBooleanLiteral_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalCubeDSL.g:4382:3: this_XNumberLiteral_3= ruleXNumberLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_XNumberLiteral_3=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNumberLiteral_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// InternalCubeDSL.g:4391:3: this_XNullLiteral_4= ruleXNullLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_XNullLiteral_4=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNullLiteral_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalCubeDSL.g:4400:3: this_XStringLiteral_5= ruleXStringLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_XStringLiteral_5=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XStringLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalCubeDSL.g:4409:3: this_XTypeLiteral_6= ruleXTypeLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_XTypeLiteral_6=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTypeLiteral_6;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXLiteral"
// $ANTLR start "entryRuleXCollectionLiteral"
// InternalCubeDSL.g:4421:1: entryRuleXCollectionLiteral returns [EObject current=null] : iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ;
public final EObject entryRuleXCollectionLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCollectionLiteral = null;
try {
// InternalCubeDSL.g:4421:59: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF )
// InternalCubeDSL.g:4422:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCollectionLiteral=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCollectionLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCollectionLiteral"
// $ANTLR start "ruleXCollectionLiteral"
// InternalCubeDSL.g:4428:1: ruleXCollectionLiteral returns [EObject current=null] : (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ;
public final EObject ruleXCollectionLiteral() throws RecognitionException {
EObject current = null;
EObject this_XSetLiteral_0 = null;
EObject this_XListLiteral_1 = null;
enterRule();
try {
// InternalCubeDSL.g:4434:2: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) )
// InternalCubeDSL.g:4435:2: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
{
// InternalCubeDSL.g:4435:2: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
int alt80=2;
int LA80_0 = input.LA(1);
if ( (LA80_0==52) ) {
int LA80_1 = input.LA(2);
if ( (LA80_1==53) ) {
alt80=2;
}
else if ( (LA80_1==14) ) {
alt80=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 80, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 80, 0, input);
throw nvae;
}
switch (alt80) {
case 1 :
// InternalCubeDSL.g:4436:3: this_XSetLiteral_0= ruleXSetLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XSetLiteral_0=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSetLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:4445:3: this_XListLiteral_1= ruleXListLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XListLiteral_1=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XListLiteral_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCollectionLiteral"
// $ANTLR start "entryRuleXSetLiteral"
// InternalCubeDSL.g:4457:1: entryRuleXSetLiteral returns [EObject current=null] : iv_ruleXSetLiteral= ruleXSetLiteral EOF ;
public final EObject entryRuleXSetLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSetLiteral = null;
try {
// InternalCubeDSL.g:4457:52: (iv_ruleXSetLiteral= ruleXSetLiteral EOF )
// InternalCubeDSL.g:4458:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXSetLiteral=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSetLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSetLiteral"
// $ANTLR start "ruleXSetLiteral"
// InternalCubeDSL.g:4464:1: ruleXSetLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ;
public final EObject ruleXSetLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:4470:2: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) )
// InternalCubeDSL.g:4471:2: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
{
// InternalCubeDSL.g:4471:2: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
// InternalCubeDSL.g:4472:3: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}'
{
// InternalCubeDSL.g:4472:3: ()
// InternalCubeDSL.g:4473:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,52,FOLLOW_11); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_77); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2());
}
// InternalCubeDSL.g:4487:3: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt82=2;
int LA82_0 = input.LA(1);
if ( ((LA82_0>=RULE_ID && LA82_0<=RULE_DECIMAL)||LA82_0==14||(LA82_0>=41 && LA82_0<=43)||LA82_0==48||(LA82_0>=52 && LA82_0<=53)||LA82_0==60||(LA82_0>=76 && LA82_0<=77)||LA82_0==81||LA82_0==88||LA82_0==90||(LA82_0>=94 && LA82_0<=96)||(LA82_0>=99 && LA82_0<=108)||LA82_0==110) ) {
alt82=1;
}
switch (alt82) {
case 1 :
// InternalCubeDSL.g:4488:4: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// InternalCubeDSL.g:4488:4: ( (lv_elements_3_0= ruleXExpression ) )
// InternalCubeDSL.g:4489:5: (lv_elements_3_0= ruleXExpression )
{
// InternalCubeDSL.g:4489:5: (lv_elements_3_0= ruleXExpression )
// InternalCubeDSL.g:4490:6: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_78);
lv_elements_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSetLiteralRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4507:4: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop81:
do {
int alt81=2;
int LA81_0 = input.LA(1);
if ( (LA81_0==49) ) {
alt81=1;
}
switch (alt81) {
case 1 :
// InternalCubeDSL.g:4508:5: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0());
}
// InternalCubeDSL.g:4512:5: ( (lv_elements_5_0= ruleXExpression ) )
// InternalCubeDSL.g:4513:6: (lv_elements_5_0= ruleXExpression )
{
// InternalCubeDSL.g:4513:6: (lv_elements_5_0= ruleXExpression )
// InternalCubeDSL.g:4514:7: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_78);
lv_elements_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSetLiteralRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop81;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSetLiteral"
// $ANTLR start "entryRuleXListLiteral"
// InternalCubeDSL.g:4541:1: entryRuleXListLiteral returns [EObject current=null] : iv_ruleXListLiteral= ruleXListLiteral EOF ;
public final EObject entryRuleXListLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXListLiteral = null;
try {
// InternalCubeDSL.g:4541:53: (iv_ruleXListLiteral= ruleXListLiteral EOF )
// InternalCubeDSL.g:4542:2: iv_ruleXListLiteral= ruleXListLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXListLiteral=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXListLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXListLiteral"
// $ANTLR start "ruleXListLiteral"
// InternalCubeDSL.g:4548:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ;
public final EObject ruleXListLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:4554:2: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) )
// InternalCubeDSL.g:4555:2: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
{
// InternalCubeDSL.g:4555:2: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
// InternalCubeDSL.g:4556:3: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']'
{
// InternalCubeDSL.g:4556:3: ()
// InternalCubeDSL.g:4557:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,52,FOLLOW_48); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,53,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2());
}
// InternalCubeDSL.g:4571:3: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt84=2;
int LA84_0 = input.LA(1);
if ( ((LA84_0>=RULE_ID && LA84_0<=RULE_DECIMAL)||LA84_0==14||(LA84_0>=41 && LA84_0<=43)||LA84_0==48||(LA84_0>=52 && LA84_0<=53)||LA84_0==60||(LA84_0>=76 && LA84_0<=77)||LA84_0==81||LA84_0==88||LA84_0==90||(LA84_0>=94 && LA84_0<=96)||(LA84_0>=99 && LA84_0<=108)||LA84_0==110) ) {
alt84=1;
}
switch (alt84) {
case 1 :
// InternalCubeDSL.g:4572:4: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// InternalCubeDSL.g:4572:4: ( (lv_elements_3_0= ruleXExpression ) )
// InternalCubeDSL.g:4573:5: (lv_elements_3_0= ruleXExpression )
{
// InternalCubeDSL.g:4573:5: (lv_elements_3_0= ruleXExpression )
// InternalCubeDSL.g:4574:6: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_50);
lv_elements_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXListLiteralRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4591:4: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop83:
do {
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==49) ) {
alt83=1;
}
switch (alt83) {
case 1 :
// InternalCubeDSL.g:4592:5: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0());
}
// InternalCubeDSL.g:4596:5: ( (lv_elements_5_0= ruleXExpression ) )
// InternalCubeDSL.g:4597:6: (lv_elements_5_0= ruleXExpression )
{
// InternalCubeDSL.g:4597:6: (lv_elements_5_0= ruleXExpression )
// InternalCubeDSL.g:4598:7: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_50);
lv_elements_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXListLiteralRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop83;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,54,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXListLiteral"
// $ANTLR start "entryRuleXClosure"
// InternalCubeDSL.g:4625:1: entryRuleXClosure returns [EObject current=null] : iv_ruleXClosure= ruleXClosure EOF ;
public final EObject entryRuleXClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXClosure = null;
try {
// InternalCubeDSL.g:4625:49: (iv_ruleXClosure= ruleXClosure EOF )
// InternalCubeDSL.g:4626:2: iv_ruleXClosure= ruleXClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureRule());
}
pushFollow(FOLLOW_1);
iv_ruleXClosure=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXClosure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXClosure"
// $ANTLR start "ruleXClosure"
// InternalCubeDSL.g:4632: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 {
// InternalCubeDSL.g:4638: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= ']' ) )
// InternalCubeDSL.g:4639: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= ']' )
{
// InternalCubeDSL.g:4639: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= ']' )
// InternalCubeDSL.g:4640:3: ( ( ( () '[' ) )=> ( () 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= ']'
{
// InternalCubeDSL.g:4640:3: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) )
// InternalCubeDSL.g:4641:4: ( ( () '[' ) )=> ( () otherlv_1= '[' )
{
// InternalCubeDSL.g:4647:4: ( () otherlv_1= '[' )
// InternalCubeDSL.g:4648:5: () otherlv_1= '['
{
// InternalCubeDSL.g:4648:5: ()
// InternalCubeDSL.g:4649:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,53,FOLLOW_79); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1());
}
}
}
// InternalCubeDSL.g:4661:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?
int alt87=2;
alt87 = dfa87.predict(input);
switch (alt87) {
case 1 :
// InternalCubeDSL.g:4662:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
{
// InternalCubeDSL.g:4685:4: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
// InternalCubeDSL.g:4686:5: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) )
{
// InternalCubeDSL.g:4686:5: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )?
int alt86=2;
int LA86_0 = input.LA(1);
if ( (LA86_0==RULE_ID||LA86_0==48||LA86_0==73) ) {
alt86=1;
}
switch (alt86) {
case 1 :
// InternalCubeDSL.g:4687:6: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
{
// InternalCubeDSL.g:4687:6: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4688:7: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4688:7: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:4689:8: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0());
}
pushFollow(FOLLOW_80);
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,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4706:6: (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
loop85:
do {
int alt85=2;
int LA85_0 = input.LA(1);
if ( (LA85_0==49) ) {
alt85=1;
}
switch (alt85) {
case 1 :
// InternalCubeDSL.g:4707:7: otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
{
otherlv_3=(Token)match(input,49,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0());
}
// InternalCubeDSL.g:4711:7: ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4712:8: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4712:8: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:4713:9: lv_declaredFormalParameters_4_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0());
}
pushFollow(FOLLOW_80);
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,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop85;
}
} while (true);
}
break;
}
// InternalCubeDSL.g:4732:5: ( (lv_explicitSyntax_5_0= '|' ) )
// InternalCubeDSL.g:4733:6: (lv_explicitSyntax_5_0= '|' )
{
// InternalCubeDSL.g:4733:6: (lv_explicitSyntax_5_0= '|' )
// InternalCubeDSL.g:4734:7: lv_explicitSyntax_5_0= '|'
{
lv_explicitSyntax_5_0=(Token)match(input,87,FOLLOW_81); 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;
}
// InternalCubeDSL.g:4748:3: ( (lv_expression_6_0= ruleXExpressionInClosure ) )
// InternalCubeDSL.g:4749:4: (lv_expression_6_0= ruleXExpressionInClosure )
{
// InternalCubeDSL.g:4749:4: (lv_expression_6_0= ruleXExpressionInClosure )
// InternalCubeDSL.g:4750:5: lv_expression_6_0= ruleXExpressionInClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getExpressionXExpressionInClosureParserRuleCall_2_0());
}
pushFollow(FOLLOW_82);
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,
"org.eclipse.xtext.xbase.Xbase.XExpressionInClosure");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,54,FOLLOW_2); 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"
// InternalCubeDSL.g:4775:1: entryRuleXExpressionInClosure returns [EObject current=null] : iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF ;
public final EObject entryRuleXExpressionInClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionInClosure = null;
try {
// InternalCubeDSL.g:4775:61: (iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF )
// InternalCubeDSL.g:4776:2: iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureRule());
}
pushFollow(FOLLOW_1);
iv_ruleXExpressionInClosure=ruleXExpressionInClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionInClosure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionInClosure"
// $ANTLR start "ruleXExpressionInClosure"
// InternalCubeDSL.g:4782:1: ruleXExpressionInClosure returns [EObject current=null] : ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) ;
public final EObject ruleXExpressionInClosure() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject lv_expressions_1_0 = null;
enterRule();
try {
// InternalCubeDSL.g:4788:2: ( ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) )
// InternalCubeDSL.g:4789:2: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* )
{
// InternalCubeDSL.g:4789:2: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* )
// InternalCubeDSL.g:4790:3: () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )*
{
// InternalCubeDSL.g:4790:3: ()
// InternalCubeDSL.g:4791:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXExpressionInClosureAccess().getXBlockExpressionAction_0(),
current);
}
}
// InternalCubeDSL.g:4797:3: ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )*
loop89:
do {
int alt89=2;
int LA89_0 = input.LA(1);
if ( ((LA89_0>=RULE_ID && LA89_0<=RULE_DECIMAL)||LA89_0==14||(LA89_0>=41 && LA89_0<=43)||LA89_0==48||(LA89_0>=52 && LA89_0<=53)||LA89_0==60||(LA89_0>=76 && LA89_0<=77)||LA89_0==81||LA89_0==88||LA89_0==90||(LA89_0>=94 && LA89_0<=108)||LA89_0==110) ) {
alt89=1;
}
switch (alt89) {
case 1 :
// InternalCubeDSL.g:4798:4: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )?
{
// InternalCubeDSL.g:4798:4: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )
// InternalCubeDSL.g:4799:5: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
{
// InternalCubeDSL.g:4799:5: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
// InternalCubeDSL.g:4800:6: lv_expressions_1_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0());
}
pushFollow(FOLLOW_83);
lv_expressions_1_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXExpressionInClosureRule());
}
add(
current,
"expressions",
lv_expressions_1_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4817:4: (otherlv_2= ';' )?
int alt88=2;
int LA88_0 = input.LA(1);
if ( (LA88_0==46) ) {
alt88=1;
}
switch (alt88) {
case 1 :
// InternalCubeDSL.g:4818:5: otherlv_2= ';'
{
otherlv_2=(Token)match(input,46,FOLLOW_84); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1());
}
}
break;
}
}
break;
default :
break loop89;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionInClosure"
// $ANTLR start "entryRuleXShortClosure"
// InternalCubeDSL.g:4828:1: entryRuleXShortClosure returns [EObject current=null] : iv_ruleXShortClosure= ruleXShortClosure EOF ;
public final EObject entryRuleXShortClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXShortClosure = null;
try {
// InternalCubeDSL.g:4828:54: (iv_ruleXShortClosure= ruleXShortClosure EOF )
// InternalCubeDSL.g:4829:2: iv_ruleXShortClosure= ruleXShortClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureRule());
}
pushFollow(FOLLOW_1);
iv_ruleXShortClosure=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXShortClosure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXShortClosure"
// $ANTLR start "ruleXShortClosure"
// InternalCubeDSL.g:4835: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 {
// InternalCubeDSL.g:4841:2: ( ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:4842:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:4842:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )
// InternalCubeDSL.g:4843:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) )
{
// InternalCubeDSL.g:4843:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) )
// InternalCubeDSL.g:4844:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
{
// InternalCubeDSL.g:4869:4: ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
// InternalCubeDSL.g:4870:5: () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) )
{
// InternalCubeDSL.g:4870:5: ()
// InternalCubeDSL.g:4871:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
// InternalCubeDSL.g:4877:5: ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )?
int alt91=2;
int LA91_0 = input.LA(1);
if ( (LA91_0==RULE_ID||LA91_0==48||LA91_0==73) ) {
alt91=1;
}
switch (alt91) {
case 1 :
// InternalCubeDSL.g:4878:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
{
// InternalCubeDSL.g:4878:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4879:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4879:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:4880:8: lv_declaredFormalParameters_1_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0());
}
pushFollow(FOLLOW_80);
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,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:4897:6: (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
loop90:
do {
int alt90=2;
int LA90_0 = input.LA(1);
if ( (LA90_0==49) ) {
alt90=1;
}
switch (alt90) {
case 1 :
// InternalCubeDSL.g:4898:7: otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
{
otherlv_2=(Token)match(input,49,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXShortClosureAccess().getCommaKeyword_0_0_1_1_0());
}
// InternalCubeDSL.g:4902:7: ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4903:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4903:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:4904:9: lv_declaredFormalParameters_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0());
}
pushFollow(FOLLOW_80);
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,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop90;
}
} while (true);
}
break;
}
// InternalCubeDSL.g:4923:5: ( (lv_explicitSyntax_4_0= '|' ) )
// InternalCubeDSL.g:4924:6: (lv_explicitSyntax_4_0= '|' )
{
// InternalCubeDSL.g:4924:6: (lv_explicitSyntax_4_0= '|' )
// InternalCubeDSL.g:4925:7: lv_explicitSyntax_4_0= '|'
{
lv_explicitSyntax_4_0=(Token)match(input,87,FOLLOW_47); 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, "|");
}
}
}
}
}
// InternalCubeDSL.g:4939:3: ( (lv_expression_5_0= ruleXExpression ) )
// InternalCubeDSL.g:4940:4: (lv_expression_5_0= ruleXExpression )
{
// InternalCubeDSL.g:4940:4: (lv_expression_5_0= ruleXExpression )
// InternalCubeDSL.g:4941:5: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXShortClosure"
// $ANTLR start "entryRuleXParenthesizedExpression"
// InternalCubeDSL.g:4962:1: entryRuleXParenthesizedExpression returns [EObject current=null] : iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF ;
public final EObject entryRuleXParenthesizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXParenthesizedExpression = null;
try {
// InternalCubeDSL.g:4962:65: (iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF )
// InternalCubeDSL.g:4963:2: iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXParenthesizedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXParenthesizedExpression=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXParenthesizedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXParenthesizedExpression"
// $ANTLR start "ruleXParenthesizedExpression"
// InternalCubeDSL.g:4969: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 {
// InternalCubeDSL.g:4975:2: ( (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) )
// InternalCubeDSL.g:4976:2: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
{
// InternalCubeDSL.g:4976:2: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
// InternalCubeDSL.g:4977:3: otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')'
{
otherlv_0=(Token)match(input,48,FOLLOW_47); 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_45);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
otherlv_2=(Token)match(input,50,FOLLOW_2); 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"
// InternalCubeDSL.g:4997:1: entryRuleXIfExpression returns [EObject current=null] : iv_ruleXIfExpression= ruleXIfExpression EOF ;
public final EObject entryRuleXIfExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXIfExpression = null;
try {
// InternalCubeDSL.g:4997:54: (iv_ruleXIfExpression= ruleXIfExpression EOF )
// InternalCubeDSL.g:4998:2: iv_ruleXIfExpression= ruleXIfExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXIfExpression=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXIfExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXIfExpression"
// $ANTLR start "ruleXIfExpression"
// InternalCubeDSL.g:5004: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 {
// InternalCubeDSL.g:5010: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 ) ) )? ) )
// InternalCubeDSL.g:5011: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 ) ) )? )
{
// InternalCubeDSL.g:5011: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 ) ) )? )
// InternalCubeDSL.g:5012:3: () 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 ) ) )?
{
// InternalCubeDSL.g:5012:3: ()
// InternalCubeDSL.g:5013:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXIfExpressionAccess().getXIfExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,88,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXIfExpressionAccess().getIfKeyword_1());
}
otherlv_2=(Token)match(input,48,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXIfExpressionAccess().getLeftParenthesisKeyword_2());
}
// InternalCubeDSL.g:5027:3: ( (lv_if_3_0= ruleXExpression ) )
// InternalCubeDSL.g:5028:4: (lv_if_3_0= ruleXExpression )
{
// InternalCubeDSL.g:5028:4: (lv_if_3_0= ruleXExpression )
// InternalCubeDSL.g:5029:5: lv_if_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getIfXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_45);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,50,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXIfExpressionAccess().getRightParenthesisKeyword_4());
}
// InternalCubeDSL.g:5050:3: ( (lv_then_5_0= ruleXExpression ) )
// InternalCubeDSL.g:5051:4: (lv_then_5_0= ruleXExpression )
{
// InternalCubeDSL.g:5051:4: (lv_then_5_0= ruleXExpression )
// InternalCubeDSL.g:5052:5: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getThenXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_86);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:5069:3: ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )?
int alt92=2;
int LA92_0 = input.LA(1);
if ( (LA92_0==89) ) {
int LA92_1 = input.LA(2);
if ( (synpred31_InternalCubeDSL()) ) {
alt92=1;
}
}
switch (alt92) {
case 1 :
// InternalCubeDSL.g:5070:4: ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) )
{
// InternalCubeDSL.g:5070:4: ( ( 'else' )=>otherlv_6= 'else' )
// InternalCubeDSL.g:5071:5: ( 'else' )=>otherlv_6= 'else'
{
otherlv_6=(Token)match(input,89,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXIfExpressionAccess().getElseKeyword_6_0());
}
}
// InternalCubeDSL.g:5077:4: ( (lv_else_7_0= ruleXExpression ) )
// InternalCubeDSL.g:5078:5: (lv_else_7_0= ruleXExpression )
{
// InternalCubeDSL.g:5078:5: (lv_else_7_0= ruleXExpression )
// InternalCubeDSL.g:5079:6: lv_else_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getElseXExpressionParserRuleCall_6_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXIfExpression"
// $ANTLR start "entryRuleXSwitchExpression"
// InternalCubeDSL.g:5101:1: entryRuleXSwitchExpression returns [EObject current=null] : iv_ruleXSwitchExpression= ruleXSwitchExpression EOF ;
public final EObject entryRuleXSwitchExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSwitchExpression = null;
try {
// InternalCubeDSL.g:5101:58: (iv_ruleXSwitchExpression= ruleXSwitchExpression EOF )
// InternalCubeDSL.g:5102:2: iv_ruleXSwitchExpression= ruleXSwitchExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXSwitchExpression=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSwitchExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSwitchExpression"
// $ANTLR start "ruleXSwitchExpression"
// InternalCubeDSL.g:5108:1: ruleXSwitchExpression returns [EObject current=null] : ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) ;
public final EObject ruleXSwitchExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
EObject lv_declaredParam_3_0 = null;
EObject lv_switch_5_0 = null;
EObject lv_declaredParam_7_0 = null;
EObject lv_switch_9_0 = null;
EObject lv_cases_11_0 = null;
EObject lv_default_14_0 = null;
enterRule();
try {
// InternalCubeDSL.g:5114:2: ( ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) )
// InternalCubeDSL.g:5115:2: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
{
// InternalCubeDSL.g:5115:2: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
// InternalCubeDSL.g:5116:3: () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}'
{
// InternalCubeDSL.g:5116:3: ()
// InternalCubeDSL.g:5117:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,90,FOLLOW_87); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1());
}
// InternalCubeDSL.g:5127:3: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )
int alt94=2;
alt94 = dfa94.predict(input);
switch (alt94) {
case 1 :
// InternalCubeDSL.g:5128:4: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// InternalCubeDSL.g:5128:4: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' )
// InternalCubeDSL.g:5129:5: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// InternalCubeDSL.g:5129:5: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) )
// InternalCubeDSL.g:5130:6: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
{
// InternalCubeDSL.g:5140:6: (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
// InternalCubeDSL.g:5141:7: otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':'
{
otherlv_2=(Token)match(input,48,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_0_0_0_0());
}
// InternalCubeDSL.g:5145:7: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:5146:8: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:5146:8: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:5147:9: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_0_0_0_1_0());
}
pushFollow(FOLLOW_88);
lv_declaredParam_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_3_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,91,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_2());
}
}
}
// InternalCubeDSL.g:5170:5: ( (lv_switch_5_0= ruleXExpression ) )
// InternalCubeDSL.g:5171:6: (lv_switch_5_0= ruleXExpression )
{
// InternalCubeDSL.g:5171:6: (lv_switch_5_0= ruleXExpression )
// InternalCubeDSL.g:5172:7: lv_switch_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_45);
lv_switch_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"switch",
lv_switch_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,50,FOLLOW_11); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_0_2());
}
}
}
break;
case 2 :
// InternalCubeDSL.g:5195:4: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:5195:4: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) )
// InternalCubeDSL.g:5196:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) )
{
// InternalCubeDSL.g:5196:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?
int alt93=2;
alt93 = dfa93.predict(input);
switch (alt93) {
case 1 :
// InternalCubeDSL.g:5197:6: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' )
{
// InternalCubeDSL.g:5206:6: ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' )
// InternalCubeDSL.g:5207:7: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':'
{
// InternalCubeDSL.g:5207:7: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:5208:8: (lv_declaredParam_7_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:5208:8: (lv_declaredParam_7_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:5209:9: lv_declaredParam_7_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_1_0_0_0_0());
}
pushFollow(FOLLOW_88);
lv_declaredParam_7_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_7_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_8=(Token)match(input,91,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_1());
}
}
}
break;
}
// InternalCubeDSL.g:5232:5: ( (lv_switch_9_0= ruleXExpression ) )
// InternalCubeDSL.g:5233:6: (lv_switch_9_0= ruleXExpression )
{
// InternalCubeDSL.g:5233:6: (lv_switch_9_0= ruleXExpression )
// InternalCubeDSL.g:5234:7: lv_switch_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_11);
lv_switch_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"switch",
lv_switch_9_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
otherlv_10=(Token)match(input,14,FOLLOW_89); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXSwitchExpressionAccess().getLeftCurlyBracketKeyword_3());
}
// InternalCubeDSL.g:5257:3: ( (lv_cases_11_0= ruleXCasePart ) )*
loop95:
do {
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==RULE_ID||(LA95_0>=48 && LA95_0<=49)||LA95_0==73||LA95_0==91||LA95_0==93) ) {
alt95=1;
}
switch (alt95) {
case 1 :
// InternalCubeDSL.g:5258:4: (lv_cases_11_0= ruleXCasePart )
{
// InternalCubeDSL.g:5258:4: (lv_cases_11_0= ruleXCasePart )
// InternalCubeDSL.g:5259:5: lv_cases_11_0= ruleXCasePart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getCasesXCasePartParserRuleCall_4_0());
}
pushFollow(FOLLOW_89);
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,
"org.eclipse.xtext.xbase.Xbase.XCasePart");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop95;
}
} while (true);
// InternalCubeDSL.g:5276:3: (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )?
int alt96=2;
int LA96_0 = input.LA(1);
if ( (LA96_0==92) ) {
alt96=1;
}
switch (alt96) {
case 1 :
// InternalCubeDSL.g:5277:4: otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) )
{
otherlv_12=(Token)match(input,92,FOLLOW_88); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0());
}
otherlv_13=(Token)match(input,91,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1());
}
// InternalCubeDSL.g:5285:4: ( (lv_default_14_0= ruleXExpression ) )
// InternalCubeDSL.g:5286:5: (lv_default_14_0= ruleXExpression )
{
// InternalCubeDSL.g:5286:5: (lv_default_14_0= ruleXExpression )
// InternalCubeDSL.g:5287:6: lv_default_14_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDefaultXExpressionParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_13);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,16,FOLLOW_2); 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"
// InternalCubeDSL.g:5313:1: entryRuleXCasePart returns [EObject current=null] : iv_ruleXCasePart= ruleXCasePart EOF ;
public final EObject entryRuleXCasePart() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCasePart = null;
try {
// InternalCubeDSL.g:5313:50: (iv_ruleXCasePart= ruleXCasePart EOF )
// InternalCubeDSL.g:5314:2: iv_ruleXCasePart= ruleXCasePart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCasePart=ruleXCasePart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCasePart;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCasePart"
// $ANTLR start "ruleXCasePart"
// InternalCubeDSL.g:5320:1: ruleXCasePart returns [EObject current=null] : ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) ;
public final EObject ruleXCasePart() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token lv_fallThrough_6_0=null;
EObject lv_typeGuard_1_0 = null;
EObject lv_case_3_0 = null;
EObject lv_then_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:5326:2: ( ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) )
// InternalCubeDSL.g:5327:2: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) )
{
// InternalCubeDSL.g:5327:2: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) )
// InternalCubeDSL.g:5328:3: () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) )
{
// InternalCubeDSL.g:5328:3: ()
// InternalCubeDSL.g:5329:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXCasePartAccess().getXCasePartAction_0(),
current);
}
}
// InternalCubeDSL.g:5335:3: ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )?
int alt97=2;
int LA97_0 = input.LA(1);
if ( (LA97_0==RULE_ID||LA97_0==48||LA97_0==73) ) {
alt97=1;
}
switch (alt97) {
case 1 :
// InternalCubeDSL.g:5336:4: (lv_typeGuard_1_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:5336:4: (lv_typeGuard_1_0= ruleJvmTypeReference )
// InternalCubeDSL.g:5337:5: lv_typeGuard_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getTypeGuardJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_90);
lv_typeGuard_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"typeGuard",
lv_typeGuard_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalCubeDSL.g:5354:3: (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )?
int alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==93) ) {
alt98=1;
}
switch (alt98) {
case 1 :
// InternalCubeDSL.g:5355:4: otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) )
{
otherlv_2=(Token)match(input,93,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCasePartAccess().getCaseKeyword_2_0());
}
// InternalCubeDSL.g:5359:4: ( (lv_case_3_0= ruleXExpression ) )
// InternalCubeDSL.g:5360:5: (lv_case_3_0= ruleXExpression )
{
// InternalCubeDSL.g:5360:5: (lv_case_3_0= ruleXExpression )
// InternalCubeDSL.g:5361:6: lv_case_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getCaseXExpressionParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_91);
lv_case_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"case",
lv_case_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:5379:3: ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) )
int alt99=2;
int LA99_0 = input.LA(1);
if ( (LA99_0==91) ) {
alt99=1;
}
else if ( (LA99_0==49) ) {
alt99=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 99, 0, input);
throw nvae;
}
switch (alt99) {
case 1 :
// InternalCubeDSL.g:5380:4: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:5380:4: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) )
// InternalCubeDSL.g:5381:5: otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,91,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXCasePartAccess().getColonKeyword_3_0_0());
}
// InternalCubeDSL.g:5385:5: ( (lv_then_5_0= ruleXExpression ) )
// InternalCubeDSL.g:5386:6: (lv_then_5_0= ruleXExpression )
{
// InternalCubeDSL.g:5386:6: (lv_then_5_0= ruleXExpression )
// InternalCubeDSL.g:5387:7: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getThenXExpressionParserRuleCall_3_0_1_0());
}
pushFollow(FOLLOW_2);
lv_then_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"then",
lv_then_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:5406:4: ( (lv_fallThrough_6_0= ',' ) )
{
// InternalCubeDSL.g:5406:4: ( (lv_fallThrough_6_0= ',' ) )
// InternalCubeDSL.g:5407:5: (lv_fallThrough_6_0= ',' )
{
// InternalCubeDSL.g:5407:5: (lv_fallThrough_6_0= ',' )
// InternalCubeDSL.g:5408:6: lv_fallThrough_6_0= ','
{
lv_fallThrough_6_0=(Token)match(input,49,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fallThrough_6_0, grammarAccess.getXCasePartAccess().getFallThroughCommaKeyword_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXCasePartRule());
}
setWithLastConsumed(current, "fallThrough", true, ",");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCasePart"
// $ANTLR start "entryRuleXForLoopExpression"
// InternalCubeDSL.g:5425:1: entryRuleXForLoopExpression returns [EObject current=null] : iv_ruleXForLoopExpression= ruleXForLoopExpression EOF ;
public final EObject entryRuleXForLoopExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXForLoopExpression = null;
try {
// InternalCubeDSL.g:5425:59: (iv_ruleXForLoopExpression= ruleXForLoopExpression EOF )
// InternalCubeDSL.g:5426:2: iv_ruleXForLoopExpression= ruleXForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXForLoopExpression=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXForLoopExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXForLoopExpression"
// $ANTLR start "ruleXForLoopExpression"
// InternalCubeDSL.g:5432:1: ruleXForLoopExpression returns [EObject current=null] : ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) ;
public final EObject ruleXForLoopExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_declaredParam_3_0 = null;
EObject lv_forExpression_5_0 = null;
EObject lv_eachExpression_7_0 = null;
enterRule();
try {
// InternalCubeDSL.g:5438:2: ( ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:5439:2: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:5439:2: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) )
// InternalCubeDSL.g:5440:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) )
{
// InternalCubeDSL.g:5440:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) )
// InternalCubeDSL.g:5441:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
{
// InternalCubeDSL.g:5454:4: ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
// InternalCubeDSL.g:5455:5: () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':'
{
// InternalCubeDSL.g:5455:5: ()
// InternalCubeDSL.g:5456:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXForLoopExpressionAccess().getXForLoopExpressionAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,94,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXForLoopExpressionAccess().getForKeyword_0_0_1());
}
otherlv_2=(Token)match(input,48,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXForLoopExpressionAccess().getLeftParenthesisKeyword_0_0_2());
}
// InternalCubeDSL.g:5470:5: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// InternalCubeDSL.g:5471:6: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// InternalCubeDSL.g:5471:6: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// InternalCubeDSL.g:5472:7: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_0_0_3_0());
}
pushFollow(FOLLOW_88);
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,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,91,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXForLoopExpressionAccess().getColonKeyword_0_0_4());
}
}
}
// InternalCubeDSL.g:5495:3: ( (lv_forExpression_5_0= ruleXExpression ) )
// InternalCubeDSL.g:5496:4: (lv_forExpression_5_0= ruleXExpression )
{
// InternalCubeDSL.g:5496:4: (lv_forExpression_5_0= ruleXExpression )
// InternalCubeDSL.g:5497:5: lv_forExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_45);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,50,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXForLoopExpressionAccess().getRightParenthesisKeyword_2());
}
// InternalCubeDSL.g:5518:3: ( (lv_eachExpression_7_0= ruleXExpression ) )
// InternalCubeDSL.g:5519:4: (lv_eachExpression_7_0= ruleXExpression )
{
// InternalCubeDSL.g:5519:4: (lv_eachExpression_7_0= ruleXExpression )
// InternalCubeDSL.g:5520:5: lv_eachExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXForLoopExpression"
// $ANTLR start "entryRuleXBasicForLoopExpression"
// InternalCubeDSL.g:5541:1: entryRuleXBasicForLoopExpression returns [EObject current=null] : iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF ;
public final EObject entryRuleXBasicForLoopExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBasicForLoopExpression = null;
try {
// InternalCubeDSL.g:5541:64: (iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF )
// InternalCubeDSL.g:5542:2: iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXBasicForLoopExpression=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBasicForLoopExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBasicForLoopExpression"
// $ANTLR start "ruleXBasicForLoopExpression"
// InternalCubeDSL.g:5548:1: ruleXBasicForLoopExpression returns [EObject current=null] : ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) ;
public final EObject ruleXBasicForLoopExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_initExpressions_3_0 = null;
EObject lv_initExpressions_5_0 = null;
EObject lv_expression_7_0 = null;
EObject lv_updateExpressions_9_0 = null;
EObject lv_updateExpressions_11_0 = null;
EObject lv_eachExpression_13_0 = null;
enterRule();
try {
// InternalCubeDSL.g:5554:2: ( ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:5555:2: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:5555:2: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) )
// InternalCubeDSL.g:5556:3: () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) )
{
// InternalCubeDSL.g:5556:3: ()
// InternalCubeDSL.g:5557:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBasicForLoopExpressionAccess().getXBasicForLoopExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,94,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBasicForLoopExpressionAccess().getForKeyword_1());
}
otherlv_2=(Token)match(input,48,FOLLOW_92); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXBasicForLoopExpressionAccess().getLeftParenthesisKeyword_2());
}
// InternalCubeDSL.g:5571:3: ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )?
int alt101=2;
int LA101_0 = input.LA(1);
if ( ((LA101_0>=RULE_ID && LA101_0<=RULE_DECIMAL)||LA101_0==14||(LA101_0>=41 && LA101_0<=43)||LA101_0==48||(LA101_0>=52 && LA101_0<=53)||LA101_0==60||(LA101_0>=76 && LA101_0<=77)||LA101_0==81||LA101_0==88||LA101_0==90||(LA101_0>=94 && LA101_0<=108)||LA101_0==110) ) {
alt101=1;
}
switch (alt101) {
case 1 :
// InternalCubeDSL.g:5572:4: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )*
{
// InternalCubeDSL.g:5572:4: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) )
// InternalCubeDSL.g:5573:5: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration )
{
// InternalCubeDSL.g:5573:5: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration )
// InternalCubeDSL.g:5574:6: lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_93);
lv_initExpressions_3_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"initExpressions",
lv_initExpressions_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:5591:4: (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )*
loop100:
do {
int alt100=2;
int LA100_0 = input.LA(1);
if ( (LA100_0==49) ) {
alt100=1;
}
switch (alt100) {
case 1 :
// InternalCubeDSL.g:5592:5: otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) )
{
otherlv_4=(Token)match(input,49,FOLLOW_94); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_3_1_0());
}
// InternalCubeDSL.g:5596:5: ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) )
// InternalCubeDSL.g:5597:6: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration )
{
// InternalCubeDSL.g:5597:6: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration )
// InternalCubeDSL.g:5598:7: lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_93);
lv_initExpressions_5_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"initExpressions",
lv_initExpressions_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop100;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,46,FOLLOW_95); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_4());
}
// InternalCubeDSL.g:5621:3: ( (lv_expression_7_0= ruleXExpression ) )?
int alt102=2;
int LA102_0 = input.LA(1);
if ( ((LA102_0>=RULE_ID && LA102_0<=RULE_DECIMAL)||LA102_0==14||(LA102_0>=41 && LA102_0<=43)||LA102_0==48||(LA102_0>=52 && LA102_0<=53)||LA102_0==60||(LA102_0>=76 && LA102_0<=77)||LA102_0==81||LA102_0==88||LA102_0==90||(LA102_0>=94 && LA102_0<=96)||(LA102_0>=99 && LA102_0<=108)||LA102_0==110) ) {
alt102=1;
}
switch (alt102) {
case 1 :
// InternalCubeDSL.g:5622:4: (lv_expression_7_0= ruleXExpression )
{
// InternalCubeDSL.g:5622:4: (lv_expression_7_0= ruleXExpression )
// InternalCubeDSL.g:5623:5: lv_expression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_96);
lv_expression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
set(
current,
"expression",
lv_expression_7_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_8=(Token)match(input,46,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_6());
}
// InternalCubeDSL.g:5644:3: ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )?
int alt104=2;
int LA104_0 = input.LA(1);
if ( ((LA104_0>=RULE_ID && LA104_0<=RULE_DECIMAL)||LA104_0==14||(LA104_0>=41 && LA104_0<=43)||LA104_0==48||(LA104_0>=52 && LA104_0<=53)||LA104_0==60||(LA104_0>=76 && LA104_0<=77)||LA104_0==81||LA104_0==88||LA104_0==90||(LA104_0>=94 && LA104_0<=96)||(LA104_0>=99 && LA104_0<=108)||LA104_0==110) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// InternalCubeDSL.g:5645:4: ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )*
{
// InternalCubeDSL.g:5645:4: ( (lv_updateExpressions_9_0= ruleXExpression ) )
// InternalCubeDSL.g:5646:5: (lv_updateExpressions_9_0= ruleXExpression )
{
// InternalCubeDSL.g:5646:5: (lv_updateExpressions_9_0= ruleXExpression )
// InternalCubeDSL.g:5647:6: lv_updateExpressions_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_0_0());
}
pushFollow(FOLLOW_44);
lv_updateExpressions_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"updateExpressions",
lv_updateExpressions_9_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:5664:4: (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )*
loop103:
do {
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==49) ) {
alt103=1;
}
switch (alt103) {
case 1 :
// InternalCubeDSL.g:5665:5: otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) )
{
otherlv_10=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_7_1_0());
}
// InternalCubeDSL.g:5669:5: ( (lv_updateExpressions_11_0= ruleXExpression ) )
// InternalCubeDSL.g:5670:6: (lv_updateExpressions_11_0= ruleXExpression )
{
// InternalCubeDSL.g:5670:6: (lv_updateExpressions_11_0= ruleXExpression )
// InternalCubeDSL.g:5671:7: lv_updateExpressions_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_1_1_0());
}
pushFollow(FOLLOW_44);
lv_updateExpressions_11_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"updateExpressions",
lv_updateExpressions_11_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop103;
}
} while (true);
}
break;
}
otherlv_12=(Token)match(input,50,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXBasicForLoopExpressionAccess().getRightParenthesisKeyword_8());
}
// InternalCubeDSL.g:5694:3: ( (lv_eachExpression_13_0= ruleXExpression ) )
// InternalCubeDSL.g:5695:4: (lv_eachExpression_13_0= ruleXExpression )
{
// InternalCubeDSL.g:5695:4: (lv_eachExpression_13_0= ruleXExpression )
// InternalCubeDSL.g:5696:5: lv_eachExpression_13_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_9_0());
}
pushFollow(FOLLOW_2);
lv_eachExpression_13_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
set(
current,
"eachExpression",
lv_eachExpression_13_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBasicForLoopExpression"
// $ANTLR start "entryRuleXWhileExpression"
// InternalCubeDSL.g:5717:1: entryRuleXWhileExpression returns [EObject current=null] : iv_ruleXWhileExpression= ruleXWhileExpression EOF ;
public final EObject entryRuleXWhileExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXWhileExpression = null;
try {
// InternalCubeDSL.g:5717:57: (iv_ruleXWhileExpression= ruleXWhileExpression EOF )
// InternalCubeDSL.g:5718:2: iv_ruleXWhileExpression= ruleXWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXWhileExpression=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXWhileExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXWhileExpression"
// $ANTLR start "ruleXWhileExpression"
// InternalCubeDSL.g:5724: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 {
// InternalCubeDSL.g:5730:2: ( ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:5731:2: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:5731:2: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
// InternalCubeDSL.g:5732:3: () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) )
{
// InternalCubeDSL.g:5732:3: ()
// InternalCubeDSL.g:5733:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXWhileExpressionAccess().getXWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,95,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXWhileExpressionAccess().getWhileKeyword_1());
}
otherlv_2=(Token)match(input,48,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXWhileExpressionAccess().getLeftParenthesisKeyword_2());
}
// InternalCubeDSL.g:5747:3: ( (lv_predicate_3_0= ruleXExpression ) )
// InternalCubeDSL.g:5748:4: (lv_predicate_3_0= ruleXExpression )
{
// InternalCubeDSL.g:5748:4: (lv_predicate_3_0= ruleXExpression )
// InternalCubeDSL.g:5749:5: lv_predicate_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_45);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,50,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXWhileExpressionAccess().getRightParenthesisKeyword_4());
}
// InternalCubeDSL.g:5770:3: ( (lv_body_5_0= ruleXExpression ) )
// InternalCubeDSL.g:5771:4: (lv_body_5_0= ruleXExpression )
{
// InternalCubeDSL.g:5771:4: (lv_body_5_0= ruleXExpression )
// InternalCubeDSL.g:5772:5: lv_body_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXWhileExpression"
// $ANTLR start "entryRuleXDoWhileExpression"
// InternalCubeDSL.g:5793:1: entryRuleXDoWhileExpression returns [EObject current=null] : iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF ;
public final EObject entryRuleXDoWhileExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXDoWhileExpression = null;
try {
// InternalCubeDSL.g:5793:59: (iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF )
// InternalCubeDSL.g:5794:2: iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXDoWhileExpression=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXDoWhileExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXDoWhileExpression"
// $ANTLR start "ruleXDoWhileExpression"
// InternalCubeDSL.g:5800: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 {
// InternalCubeDSL.g:5806:2: ( ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) )
// InternalCubeDSL.g:5807:2: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// InternalCubeDSL.g:5807:2: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
// InternalCubeDSL.g:5808:3: () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// InternalCubeDSL.g:5808:3: ()
// InternalCubeDSL.g:5809:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXDoWhileExpressionAccess().getXDoWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,96,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXDoWhileExpressionAccess().getDoKeyword_1());
}
// InternalCubeDSL.g:5819:3: ( (lv_body_2_0= ruleXExpression ) )
// InternalCubeDSL.g:5820:4: (lv_body_2_0= ruleXExpression )
{
// InternalCubeDSL.g:5820:4: (lv_body_2_0= ruleXExpression )
// InternalCubeDSL.g:5821:5: lv_body_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_97);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,95,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXDoWhileExpressionAccess().getWhileKeyword_3());
}
otherlv_4=(Token)match(input,48,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXDoWhileExpressionAccess().getLeftParenthesisKeyword_4());
}
// InternalCubeDSL.g:5846:3: ( (lv_predicate_5_0= ruleXExpression ) )
// InternalCubeDSL.g:5847:4: (lv_predicate_5_0= ruleXExpression )
{
// InternalCubeDSL.g:5847:4: (lv_predicate_5_0= ruleXExpression )
// InternalCubeDSL.g:5848:5: lv_predicate_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_45);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,50,FOLLOW_2); 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"
// InternalCubeDSL.g:5873:1: entryRuleXBlockExpression returns [EObject current=null] : iv_ruleXBlockExpression= ruleXBlockExpression EOF ;
public final EObject entryRuleXBlockExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBlockExpression = null;
try {
// InternalCubeDSL.g:5873:57: (iv_ruleXBlockExpression= ruleXBlockExpression EOF )
// InternalCubeDSL.g:5874:2: iv_ruleXBlockExpression= ruleXBlockExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXBlockExpression=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBlockExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBlockExpression"
// $ANTLR start "ruleXBlockExpression"
// InternalCubeDSL.g:5880:1: ruleXBlockExpression returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) ;
public final EObject ruleXBlockExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
EObject lv_expressions_2_0 = null;
enterRule();
try {
// InternalCubeDSL.g:5886:2: ( ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) )
// InternalCubeDSL.g:5887:2: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
{
// InternalCubeDSL.g:5887:2: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
// InternalCubeDSL.g:5888:3: () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}'
{
// InternalCubeDSL.g:5888:3: ()
// InternalCubeDSL.g:5889:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBlockExpressionAccess().getXBlockExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,14,FOLLOW_98); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBlockExpressionAccess().getLeftCurlyBracketKeyword_1());
}
// InternalCubeDSL.g:5899:3: ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )*
loop106:
do {
int alt106=2;
int LA106_0 = input.LA(1);
if ( ((LA106_0>=RULE_ID && LA106_0<=RULE_DECIMAL)||LA106_0==14||(LA106_0>=41 && LA106_0<=43)||LA106_0==48||(LA106_0>=52 && LA106_0<=53)||LA106_0==60||(LA106_0>=76 && LA106_0<=77)||LA106_0==81||LA106_0==88||LA106_0==90||(LA106_0>=94 && LA106_0<=108)||LA106_0==110) ) {
alt106=1;
}
switch (alt106) {
case 1 :
// InternalCubeDSL.g:5900:4: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )?
{
// InternalCubeDSL.g:5900:4: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) )
// InternalCubeDSL.g:5901:5: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration )
{
// InternalCubeDSL.g:5901:5: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration )
// InternalCubeDSL.g:5902:6: lv_expressions_2_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_99);
lv_expressions_2_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBlockExpressionRule());
}
add(
current,
"expressions",
lv_expressions_2_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:5919:4: (otherlv_3= ';' )?
int alt105=2;
int LA105_0 = input.LA(1);
if ( (LA105_0==46) ) {
alt105=1;
}
switch (alt105) {
case 1 :
// InternalCubeDSL.g:5920:5: otherlv_3= ';'
{
otherlv_3=(Token)match(input,46,FOLLOW_98); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1());
}
}
break;
}
}
break;
default :
break loop106;
}
} while (true);
otherlv_4=(Token)match(input,16,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXBlockExpressionAccess().getRightCurlyBracketKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBlockExpression"
// $ANTLR start "entryRuleXExpressionOrVarDeclaration"
// InternalCubeDSL.g:5934:1: entryRuleXExpressionOrVarDeclaration returns [EObject current=null] : iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF ;
public final EObject entryRuleXExpressionOrVarDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionOrVarDeclaration = null;
try {
// InternalCubeDSL.g:5934:68: (iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF )
// InternalCubeDSL.g:5935:2: iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXExpressionOrVarDeclaration=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionOrVarDeclaration;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionOrVarDeclaration"
// $ANTLR start "ruleXExpressionOrVarDeclaration"
// InternalCubeDSL.g:5941:1: ruleXExpressionOrVarDeclaration returns [EObject current=null] : (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXExpressionOrVarDeclaration() throws RecognitionException {
EObject current = null;
EObject this_XVariableDeclaration_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// InternalCubeDSL.g:5947:2: ( (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) )
// InternalCubeDSL.g:5948:2: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
{
// InternalCubeDSL.g:5948:2: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
int alt107=2;
int LA107_0 = input.LA(1);
if ( ((LA107_0>=97 && LA107_0<=98)) ) {
alt107=1;
}
else if ( ((LA107_0>=RULE_ID && LA107_0<=RULE_DECIMAL)||LA107_0==14||(LA107_0>=41 && LA107_0<=43)||LA107_0==48||(LA107_0>=52 && LA107_0<=53)||LA107_0==60||(LA107_0>=76 && LA107_0<=77)||LA107_0==81||LA107_0==88||LA107_0==90||(LA107_0>=94 && LA107_0<=96)||(LA107_0>=99 && LA107_0<=108)||LA107_0==110) ) {
alt107=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 107, 0, input);
throw nvae;
}
switch (alt107) {
case 1 :
// InternalCubeDSL.g:5949:3: this_XVariableDeclaration_0= ruleXVariableDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XVariableDeclaration_0=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XVariableDeclaration_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:5958:3: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionOrVarDeclaration"
// $ANTLR start "entryRuleXVariableDeclaration"
// InternalCubeDSL.g:5970:1: entryRuleXVariableDeclaration returns [EObject current=null] : iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF ;
public final EObject entryRuleXVariableDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXVariableDeclaration = null;
try {
// InternalCubeDSL.g:5970:61: (iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF )
// InternalCubeDSL.g:5971:2: iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXVariableDeclaration=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXVariableDeclaration;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXVariableDeclaration"
// $ANTLR start "ruleXVariableDeclaration"
// InternalCubeDSL.g:5977: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 {
// InternalCubeDSL.g:5983: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 ) ) )? ) )
// InternalCubeDSL.g:5984: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 ) ) )? )
{
// InternalCubeDSL.g:5984: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 ) ) )? )
// InternalCubeDSL.g:5985:3: () ( ( (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 ) ) )?
{
// InternalCubeDSL.g:5985:3: ()
// InternalCubeDSL.g:5986:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXVariableDeclarationAccess().getXVariableDeclarationAction_0(),
current);
}
}
// InternalCubeDSL.g:5992:3: ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' )
int alt108=2;
int LA108_0 = input.LA(1);
if ( (LA108_0==97) ) {
alt108=1;
}
else if ( (LA108_0==98) ) {
alt108=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 108, 0, input);
throw nvae;
}
switch (alt108) {
case 1 :
// InternalCubeDSL.g:5993:4: ( (lv_writeable_1_0= 'var' ) )
{
// InternalCubeDSL.g:5993:4: ( (lv_writeable_1_0= 'var' ) )
// InternalCubeDSL.g:5994:5: (lv_writeable_1_0= 'var' )
{
// InternalCubeDSL.g:5994:5: (lv_writeable_1_0= 'var' )
// InternalCubeDSL.g:5995:6: lv_writeable_1_0= 'var'
{
lv_writeable_1_0=(Token)match(input,97,FOLLOW_60); 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 :
// InternalCubeDSL.g:6008:4: otherlv_2= 'val'
{
otherlv_2=(Token)match(input,98,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1());
}
}
break;
}
// InternalCubeDSL.g:6013:3: ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) )
int alt109=2;
int LA109_0 = input.LA(1);
if ( (LA109_0==RULE_ID) ) {
int LA109_1 = input.LA(2);
if ( (synpred35_InternalCubeDSL()) ) {
alt109=1;
}
else if ( (true) ) {
alt109=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 109, 1, input);
throw nvae;
}
}
else if ( (LA109_0==48) && (synpred35_InternalCubeDSL())) {
alt109=1;
}
else if ( (LA109_0==73) && (synpred35_InternalCubeDSL())) {
alt109=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 109, 0, input);
throw nvae;
}
switch (alt109) {
case 1 :
// InternalCubeDSL.g:6014:4: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
{
// InternalCubeDSL.g:6014:4: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
// InternalCubeDSL.g:6015:5: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
{
// InternalCubeDSL.g:6028:5: ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
// InternalCubeDSL.g:6029:6: ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) )
{
// InternalCubeDSL.g:6029:6: ( (lv_type_3_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:6030:7: (lv_type_3_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:6030:7: (lv_type_3_0= ruleJvmTypeReference )
// InternalCubeDSL.g:6031:8: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getTypeJvmTypeReferenceParserRuleCall_2_0_0_0_0());
}
pushFollow(FOLLOW_4);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6048:6: ( (lv_name_4_0= ruleValidID ) )
// InternalCubeDSL.g:6049:7: (lv_name_4_0= ruleValidID )
{
// InternalCubeDSL.g:6049:7: (lv_name_4_0= ruleValidID )
// InternalCubeDSL.g:6050:8: lv_name_4_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_0_0_1_0());
}
pushFollow(FOLLOW_100);
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,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:6070:4: ( (lv_name_5_0= ruleValidID ) )
{
// InternalCubeDSL.g:6070:4: ( (lv_name_5_0= ruleValidID ) )
// InternalCubeDSL.g:6071:5: (lv_name_5_0= ruleValidID )
{
// InternalCubeDSL.g:6071:5: (lv_name_5_0= ruleValidID )
// InternalCubeDSL.g:6072:6: lv_name_5_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_100);
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,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalCubeDSL.g:6090:3: (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )?
int alt110=2;
int LA110_0 = input.LA(1);
if ( (LA110_0==51) ) {
alt110=1;
}
switch (alt110) {
case 1 :
// InternalCubeDSL.g:6091:4: otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,51,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXVariableDeclarationAccess().getEqualsSignKeyword_3_0());
}
// InternalCubeDSL.g:6095:4: ( (lv_right_7_0= ruleXExpression ) )
// InternalCubeDSL.g:6096:5: (lv_right_7_0= ruleXExpression )
{
// InternalCubeDSL.g:6096:5: (lv_right_7_0= ruleXExpression )
// InternalCubeDSL.g:6097:6: lv_right_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getRightXExpressionParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXVariableDeclaration"
// $ANTLR start "entryRuleJvmFormalParameter"
// InternalCubeDSL.g:6119:1: entryRuleJvmFormalParameter returns [EObject current=null] : iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF ;
public final EObject entryRuleJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmFormalParameter = null;
try {
// InternalCubeDSL.g:6119:59: (iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF )
// InternalCubeDSL.g:6120:2: iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmFormalParameter=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmFormalParameter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmFormalParameter"
// $ANTLR start "ruleJvmFormalParameter"
// InternalCubeDSL.g:6126: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 {
// InternalCubeDSL.g:6132:2: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) )
// InternalCubeDSL.g:6133:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
{
// InternalCubeDSL.g:6133:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
// InternalCubeDSL.g:6134:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) )
{
// InternalCubeDSL.g:6134:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )?
int alt111=2;
int LA111_0 = input.LA(1);
if ( (LA111_0==RULE_ID) ) {
int LA111_1 = input.LA(2);
if ( (LA111_1==RULE_ID||LA111_1==40||LA111_1==53||LA111_1==60) ) {
alt111=1;
}
}
else if ( (LA111_0==48||LA111_0==73) ) {
alt111=1;
}
switch (alt111) {
case 1 :
// InternalCubeDSL.g:6135:4: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:6135:4: (lv_parameterType_0_0= ruleJvmTypeReference )
// InternalCubeDSL.g:6136:5: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_4);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalCubeDSL.g:6153:3: ( (lv_name_1_0= ruleValidID ) )
// InternalCubeDSL.g:6154:4: (lv_name_1_0= ruleValidID )
{
// InternalCubeDSL.g:6154:4: (lv_name_1_0= ruleValidID )
// InternalCubeDSL.g:6155:5: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmFormalParameter"
// $ANTLR start "entryRuleFullJvmFormalParameter"
// InternalCubeDSL.g:6176:1: entryRuleFullJvmFormalParameter returns [EObject current=null] : iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF ;
public final EObject entryRuleFullJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleFullJvmFormalParameter = null;
try {
// InternalCubeDSL.g:6176:63: (iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF )
// InternalCubeDSL.g:6177:2: iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterRule());
}
pushFollow(FOLLOW_1);
iv_ruleFullJvmFormalParameter=ruleFullJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFullJvmFormalParameter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFullJvmFormalParameter"
// $ANTLR start "ruleFullJvmFormalParameter"
// InternalCubeDSL.g:6183: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 {
// InternalCubeDSL.g:6189:2: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) )
// InternalCubeDSL.g:6190:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
{
// InternalCubeDSL.g:6190:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
// InternalCubeDSL.g:6191:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) )
{
// InternalCubeDSL.g:6191:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:6192:4: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:6192:4: (lv_parameterType_0_0= ruleJvmTypeReference )
// InternalCubeDSL.g:6193:5: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_4);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6210:3: ( (lv_name_1_0= ruleValidID ) )
// InternalCubeDSL.g:6211:4: (lv_name_1_0= ruleValidID )
{
// InternalCubeDSL.g:6211:4: (lv_name_1_0= ruleValidID )
// InternalCubeDSL.g:6212:5: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFullJvmFormalParameter"
// $ANTLR start "entryRuleXFeatureCall"
// InternalCubeDSL.g:6233:1: entryRuleXFeatureCall returns [EObject current=null] : iv_ruleXFeatureCall= ruleXFeatureCall EOF ;
public final EObject entryRuleXFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXFeatureCall = null;
try {
// InternalCubeDSL.g:6233:53: (iv_ruleXFeatureCall= ruleXFeatureCall EOF )
// InternalCubeDSL.g:6234:2: iv_ruleXFeatureCall= ruleXFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleXFeatureCall=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFeatureCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFeatureCall"
// $ANTLR start "ruleXFeatureCall"
// InternalCubeDSL.g:6240:1: ruleXFeatureCall returns [EObject current=null] : ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) ;
public final EObject ruleXFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token lv_explicitOperationCall_7_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_typeArguments_2_0 = null;
EObject lv_typeArguments_4_0 = null;
EObject lv_featureCallArguments_8_0 = null;
EObject lv_featureCallArguments_9_0 = null;
EObject lv_featureCallArguments_11_0 = null;
EObject lv_featureCallArguments_13_0 = null;
enterRule();
try {
// InternalCubeDSL.g:6246:2: ( ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) )
// InternalCubeDSL.g:6247:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )
{
// InternalCubeDSL.g:6247:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )
// InternalCubeDSL.g:6248:3: () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?
{
// InternalCubeDSL.g:6248:3: ()
// InternalCubeDSL.g:6249:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXFeatureCallAccess().getXFeatureCallAction_0(),
current);
}
}
// InternalCubeDSL.g:6255:3: (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?
int alt113=2;
int LA113_0 = input.LA(1);
if ( (LA113_0==60) ) {
alt113=1;
}
switch (alt113) {
case 1 :
// InternalCubeDSL.g:6256:4: otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>'
{
otherlv_1=(Token)match(input,60,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXFeatureCallAccess().getLessThanSignKeyword_1_0());
}
// InternalCubeDSL.g:6260:4: ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:6261:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:6261:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:6262:6: lv_typeArguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_73);
lv_typeArguments_2_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_2_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6279:4: (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop112:
do {
int alt112=2;
int LA112_0 = input.LA(1);
if ( (LA112_0==49) ) {
alt112=1;
}
switch (alt112) {
case 1 :
// InternalCubeDSL.g:6280:5: otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,49,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXFeatureCallAccess().getCommaKeyword_1_2_0());
}
// InternalCubeDSL.g:6284:5: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:6285:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:6285:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:6286:7: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_73);
lv_typeArguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_4_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop112;
}
} while (true);
otherlv_5=(Token)match(input,61,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFeatureCallAccess().getGreaterThanSignKeyword_1_3());
}
}
break;
}
// InternalCubeDSL.g:6309:3: ( ( ruleIdOrSuper ) )
// InternalCubeDSL.g:6310:4: ( ruleIdOrSuper )
{
// InternalCubeDSL.g:6310:4: ( ruleIdOrSuper )
// InternalCubeDSL.g:6311:5: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0());
}
pushFollow(FOLLOW_101);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6325:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?
int alt116=2;
alt116 = dfa116.predict(input);
switch (alt116) {
case 1 :
// InternalCubeDSL.g:6326:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')'
{
// InternalCubeDSL.g:6326:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) )
// InternalCubeDSL.g:6327:5: ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' )
{
// InternalCubeDSL.g:6331:5: (lv_explicitOperationCall_7_0= '(' )
// InternalCubeDSL.g:6332:6: lv_explicitOperationCall_7_0= '('
{
lv_explicitOperationCall_7_0=(Token)match(input,48,FOLLOW_75); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_7_0, grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// InternalCubeDSL.g:6344:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?
int alt115=3;
alt115 = dfa115.predict(input);
switch (alt115) {
case 1 :
// InternalCubeDSL.g:6345:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )
{
// InternalCubeDSL.g:6345:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )
// InternalCubeDSL.g:6346:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure )
{
// InternalCubeDSL.g:6371:6: (lv_featureCallArguments_8_0= ruleXShortClosure )
// InternalCubeDSL.g:6372:7: lv_featureCallArguments_8_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0());
}
pushFollow(FOLLOW_45);
lv_featureCallArguments_8_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_8_0,
"org.eclipse.xtext.xbase.Xbase.XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:6390:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )
{
// InternalCubeDSL.g:6390:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )
// InternalCubeDSL.g:6391:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*
{
// InternalCubeDSL.g:6391:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) )
// InternalCubeDSL.g:6392:7: (lv_featureCallArguments_9_0= ruleXExpression )
{
// InternalCubeDSL.g:6392:7: (lv_featureCallArguments_9_0= ruleXExpression )
// InternalCubeDSL.g:6393:8: lv_featureCallArguments_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0());
}
pushFollow(FOLLOW_44);
lv_featureCallArguments_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_9_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6410:6: (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*
loop114:
do {
int alt114=2;
int LA114_0 = input.LA(1);
if ( (LA114_0==49) ) {
alt114=1;
}
switch (alt114) {
case 1 :
// InternalCubeDSL.g:6411:7: otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) )
{
otherlv_10=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXFeatureCallAccess().getCommaKeyword_3_1_1_1_0());
}
// InternalCubeDSL.g:6415:7: ( (lv_featureCallArguments_11_0= ruleXExpression ) )
// InternalCubeDSL.g:6416:8: (lv_featureCallArguments_11_0= ruleXExpression )
{
// InternalCubeDSL.g:6416:8: (lv_featureCallArguments_11_0= ruleXExpression )
// InternalCubeDSL.g:6417:9: lv_featureCallArguments_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0());
}
pushFollow(FOLLOW_44);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop114;
}
} while (true);
}
}
break;
}
otherlv_12=(Token)match(input,50,FOLLOW_102); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXFeatureCallAccess().getRightParenthesisKeyword_3_2());
}
}
break;
}
// InternalCubeDSL.g:6442:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?
int alt117=2;
alt117 = dfa117.predict(input);
switch (alt117) {
case 1 :
// InternalCubeDSL.g:6443:4: ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure )
{
// InternalCubeDSL.g:6449:4: (lv_featureCallArguments_13_0= ruleXClosure )
// InternalCubeDSL.g:6450:5: lv_featureCallArguments_13_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0());
}
pushFollow(FOLLOW_2);
lv_featureCallArguments_13_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_13_0,
"org.eclipse.xtext.xbase.Xbase.XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFeatureCall"
// $ANTLR start "entryRuleFeatureCallID"
// InternalCubeDSL.g:6471:1: entryRuleFeatureCallID returns [String current=null] : iv_ruleFeatureCallID= ruleFeatureCallID EOF ;
public final String entryRuleFeatureCallID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleFeatureCallID = null;
try {
// InternalCubeDSL.g:6471:53: (iv_ruleFeatureCallID= ruleFeatureCallID EOF )
// InternalCubeDSL.g:6472:2: iv_ruleFeatureCallID= ruleFeatureCallID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFeatureCallIDRule());
}
pushFollow(FOLLOW_1);
iv_ruleFeatureCallID=ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFeatureCallID.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFeatureCallID"
// $ANTLR start "ruleFeatureCallID"
// InternalCubeDSL.g:6478:1: ruleFeatureCallID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) ;
public final AntlrDatatypeRuleToken ruleFeatureCallID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// InternalCubeDSL.g:6484:2: ( (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) )
// InternalCubeDSL.g:6485:2: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' )
{
// InternalCubeDSL.g:6485:2: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' )
int alt118=5;
switch ( input.LA(1) ) {
case RULE_ID:
{
alt118=1;
}
break;
case 99:
{
alt118=2;
}
break;
case 42:
{
alt118=3;
}
break;
case 41:
{
alt118=4;
}
break;
case 43:
{
alt118=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 118, 0, input);
throw nvae;
}
switch (alt118) {
case 1 :
// InternalCubeDSL.g:6486:3: this_ValidID_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:6497:3: kw= 'extends'
{
kw=(Token)match(input,99,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1());
}
}
break;
case 3 :
// InternalCubeDSL.g:6503:3: kw= 'static'
{
kw=(Token)match(input,42,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2());
}
}
break;
case 4 :
// InternalCubeDSL.g:6509:3: kw= 'import'
{
kw=(Token)match(input,41,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getImportKeyword_3());
}
}
break;
case 5 :
// InternalCubeDSL.g:6515:3: kw= 'extension'
{
kw=(Token)match(input,43,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFeatureCallID"
// $ANTLR start "entryRuleIdOrSuper"
// InternalCubeDSL.g:6524:1: entryRuleIdOrSuper returns [String current=null] : iv_ruleIdOrSuper= ruleIdOrSuper EOF ;
public final String entryRuleIdOrSuper() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleIdOrSuper = null;
try {
// InternalCubeDSL.g:6524:49: (iv_ruleIdOrSuper= ruleIdOrSuper EOF )
// InternalCubeDSL.g:6525:2: iv_ruleIdOrSuper= ruleIdOrSuper EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperRule());
}
pushFollow(FOLLOW_1);
iv_ruleIdOrSuper=ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIdOrSuper.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIdOrSuper"
// $ANTLR start "ruleIdOrSuper"
// InternalCubeDSL.g:6531:1: ruleIdOrSuper returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) ;
public final AntlrDatatypeRuleToken ruleIdOrSuper() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_FeatureCallID_0 = null;
enterRule();
try {
// InternalCubeDSL.g:6537:2: ( (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) )
// InternalCubeDSL.g:6538:2: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' )
{
// InternalCubeDSL.g:6538:2: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' )
int alt119=2;
int LA119_0 = input.LA(1);
if ( (LA119_0==RULE_ID||(LA119_0>=41 && LA119_0<=43)||LA119_0==99) ) {
alt119=1;
}
else if ( (LA119_0==100) ) {
alt119=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 119, 0, input);
throw nvae;
}
switch (alt119) {
case 1 :
// InternalCubeDSL.g:6539:3: this_FeatureCallID_0= ruleFeatureCallID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_FeatureCallID_0=ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_FeatureCallID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:6550:3: kw= 'super'
{
kw=(Token)match(input,100,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getIdOrSuperAccess().getSuperKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleIdOrSuper"
// $ANTLR start "entryRuleXConstructorCall"
// InternalCubeDSL.g:6559:1: entryRuleXConstructorCall returns [EObject current=null] : iv_ruleXConstructorCall= ruleXConstructorCall EOF ;
public final EObject entryRuleXConstructorCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXConstructorCall = null;
try {
// InternalCubeDSL.g:6559:57: (iv_ruleXConstructorCall= ruleXConstructorCall EOF )
// InternalCubeDSL.g:6560:2: iv_ruleXConstructorCall= ruleXConstructorCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleXConstructorCall=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXConstructorCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXConstructorCall"
// $ANTLR start "ruleXConstructorCall"
// InternalCubeDSL.g:6566:1: ruleXConstructorCall returns [EObject current=null] : ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) ;
public final EObject ruleXConstructorCall() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token lv_explicitConstructorCall_8_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_typeArguments_4_0 = null;
EObject lv_typeArguments_6_0 = null;
EObject lv_arguments_9_0 = null;
EObject lv_arguments_10_0 = null;
EObject lv_arguments_12_0 = null;
EObject lv_arguments_14_0 = null;
enterRule();
try {
// InternalCubeDSL.g:6572:2: ( ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) )
// InternalCubeDSL.g:6573:2: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? )
{
// InternalCubeDSL.g:6573:2: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? )
// InternalCubeDSL.g:6574:3: () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
{
// InternalCubeDSL.g:6574:3: ()
// InternalCubeDSL.g:6575:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXConstructorCallAccess().getXConstructorCallAction_0(),
current);
}
}
otherlv_1=(Token)match(input,101,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXConstructorCallAccess().getNewKeyword_1());
}
// InternalCubeDSL.g:6585:3: ( ( ruleQualifiedName ) )
// InternalCubeDSL.g:6586:4: ( ruleQualifiedName )
{
// InternalCubeDSL.g:6586:4: ( ruleQualifiedName )
// InternalCubeDSL.g:6587:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXConstructorCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getConstructorJvmConstructorCrossReference_2_0());
}
pushFollow(FOLLOW_103);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6601:3: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?
int alt121=2;
alt121 = dfa121.predict(input);
switch (alt121) {
case 1 :
// InternalCubeDSL.g:6602:4: ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>'
{
// InternalCubeDSL.g:6602:4: ( ( '<' )=>otherlv_3= '<' )
// InternalCubeDSL.g:6603:5: ( '<' )=>otherlv_3= '<'
{
otherlv_3=(Token)match(input,60,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXConstructorCallAccess().getLessThanSignKeyword_3_0());
}
}
// InternalCubeDSL.g:6609:4: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:6610:5: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:6610:5: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:6611:6: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_73);
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,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6628:4: (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )*
loop120:
do {
int alt120=2;
int LA120_0 = input.LA(1);
if ( (LA120_0==49) ) {
alt120=1;
}
switch (alt120) {
case 1 :
// InternalCubeDSL.g:6629:5: otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
{
otherlv_5=(Token)match(input,49,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXConstructorCallAccess().getCommaKeyword_3_2_0());
}
// InternalCubeDSL.g:6633:5: ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:6634:6: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:6634:6: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:6635:7: lv_typeArguments_6_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_2_1_0());
}
pushFollow(FOLLOW_73);
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,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop120;
}
} while (true);
otherlv_7=(Token)match(input,61,FOLLOW_101); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXConstructorCallAccess().getGreaterThanSignKeyword_3_3());
}
}
break;
}
// InternalCubeDSL.g:6658:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?
int alt124=2;
alt124 = dfa124.predict(input);
switch (alt124) {
case 1 :
// InternalCubeDSL.g:6659:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')'
{
// InternalCubeDSL.g:6659:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) )
// InternalCubeDSL.g:6660:5: ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' )
{
// InternalCubeDSL.g:6664:5: (lv_explicitConstructorCall_8_0= '(' )
// InternalCubeDSL.g:6665:6: lv_explicitConstructorCall_8_0= '('
{
lv_explicitConstructorCall_8_0=(Token)match(input,48,FOLLOW_75); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitConstructorCall_8_0, grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallLeftParenthesisKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXConstructorCallRule());
}
setWithLastConsumed(current, "explicitConstructorCall", true, "(");
}
}
}
// InternalCubeDSL.g:6677:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?
int alt123=3;
alt123 = dfa123.predict(input);
switch (alt123) {
case 1 :
// InternalCubeDSL.g:6678:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
{
// InternalCubeDSL.g:6678:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
// InternalCubeDSL.g:6679:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure )
{
// InternalCubeDSL.g:6704:6: (lv_arguments_9_0= ruleXShortClosure )
// InternalCubeDSL.g:6705:7: lv_arguments_9_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0());
}
pushFollow(FOLLOW_45);
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,
"org.eclipse.xtext.xbase.Xbase.XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalCubeDSL.g:6723:5: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
{
// InternalCubeDSL.g:6723:5: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
// InternalCubeDSL.g:6724:6: ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
{
// InternalCubeDSL.g:6724:6: ( (lv_arguments_10_0= ruleXExpression ) )
// InternalCubeDSL.g:6725:7: (lv_arguments_10_0= ruleXExpression )
{
// InternalCubeDSL.g:6725:7: (lv_arguments_10_0= ruleXExpression )
// InternalCubeDSL.g:6726:8: lv_arguments_10_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_0_0());
}
pushFollow(FOLLOW_44);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:6743:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
loop122:
do {
int alt122=2;
int LA122_0 = input.LA(1);
if ( (LA122_0==49) ) {
alt122=1;
}
switch (alt122) {
case 1 :
// InternalCubeDSL.g:6744:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) )
{
otherlv_11=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXConstructorCallAccess().getCommaKeyword_4_1_1_1_0());
}
// InternalCubeDSL.g:6748:7: ( (lv_arguments_12_0= ruleXExpression ) )
// InternalCubeDSL.g:6749:8: (lv_arguments_12_0= ruleXExpression )
{
// InternalCubeDSL.g:6749:8: (lv_arguments_12_0= ruleXExpression )
// InternalCubeDSL.g:6750:9: lv_arguments_12_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_1_1_0());
}
pushFollow(FOLLOW_44);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop122;
}
} while (true);
}
}
break;
}
otherlv_13=(Token)match(input,50,FOLLOW_102); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXConstructorCallAccess().getRightParenthesisKeyword_4_2());
}
}
break;
}
// InternalCubeDSL.g:6775:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
int alt125=2;
alt125 = dfa125.predict(input);
switch (alt125) {
case 1 :
// InternalCubeDSL.g:6776:4: ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure )
{
// InternalCubeDSL.g:6782:4: (lv_arguments_14_0= ruleXClosure )
// InternalCubeDSL.g:6783:5: lv_arguments_14_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXClosureParserRuleCall_5_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXConstructorCall"
// $ANTLR start "entryRuleXBooleanLiteral"
// InternalCubeDSL.g:6804:1: entryRuleXBooleanLiteral returns [EObject current=null] : iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF ;
public final EObject entryRuleXBooleanLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBooleanLiteral = null;
try {
// InternalCubeDSL.g:6804:56: (iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF )
// InternalCubeDSL.g:6805:2: iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBooleanLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXBooleanLiteral=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBooleanLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBooleanLiteral"
// $ANTLR start "ruleXBooleanLiteral"
// InternalCubeDSL.g:6811: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 {
// InternalCubeDSL.g:6817:2: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
// InternalCubeDSL.g:6818:2: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
// InternalCubeDSL.g:6818:2: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
// InternalCubeDSL.g:6819:3: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
// InternalCubeDSL.g:6819:3: ()
// InternalCubeDSL.g:6820:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBooleanLiteralAccess().getXBooleanLiteralAction_0(),
current);
}
}
// InternalCubeDSL.g:6826:3: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
int alt126=2;
int LA126_0 = input.LA(1);
if ( (LA126_0==102) ) {
alt126=1;
}
else if ( (LA126_0==103) ) {
alt126=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 126, 0, input);
throw nvae;
}
switch (alt126) {
case 1 :
// InternalCubeDSL.g:6827:4: otherlv_1= 'false'
{
otherlv_1=(Token)match(input,102,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0());
}
}
break;
case 2 :
// InternalCubeDSL.g:6832:4: ( (lv_isTrue_2_0= 'true' ) )
{
// InternalCubeDSL.g:6832:4: ( (lv_isTrue_2_0= 'true' ) )
// InternalCubeDSL.g:6833:5: (lv_isTrue_2_0= 'true' )
{
// InternalCubeDSL.g:6833:5: (lv_isTrue_2_0= 'true' )
// InternalCubeDSL.g:6834:6: lv_isTrue_2_0= 'true'
{
lv_isTrue_2_0=(Token)match(input,103,FOLLOW_2); 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"
// InternalCubeDSL.g:6851:1: entryRuleXNullLiteral returns [EObject current=null] : iv_ruleXNullLiteral= ruleXNullLiteral EOF ;
public final EObject entryRuleXNullLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXNullLiteral = null;
try {
// InternalCubeDSL.g:6851:53: (iv_ruleXNullLiteral= ruleXNullLiteral EOF )
// InternalCubeDSL.g:6852:2: iv_ruleXNullLiteral= ruleXNullLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNullLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXNullLiteral=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNullLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNullLiteral"
// $ANTLR start "ruleXNullLiteral"
// InternalCubeDSL.g:6858:1: ruleXNullLiteral returns [EObject current=null] : ( () otherlv_1= 'null' ) ;
public final EObject ruleXNullLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// InternalCubeDSL.g:6864:2: ( ( () otherlv_1= 'null' ) )
// InternalCubeDSL.g:6865:2: ( () otherlv_1= 'null' )
{
// InternalCubeDSL.g:6865:2: ( () otherlv_1= 'null' )
// InternalCubeDSL.g:6866:3: () otherlv_1= 'null'
{
// InternalCubeDSL.g:6866:3: ()
// InternalCubeDSL.g:6867:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNullLiteralAccess().getXNullLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,104,FOLLOW_2); 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"
// InternalCubeDSL.g:6881:1: entryRuleXNumberLiteral returns [EObject current=null] : iv_ruleXNumberLiteral= ruleXNumberLiteral EOF ;
public final EObject entryRuleXNumberLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXNumberLiteral = null;
try {
// InternalCubeDSL.g:6881:55: (iv_ruleXNumberLiteral= ruleXNumberLiteral EOF )
// InternalCubeDSL.g:6882:2: iv_ruleXNumberLiteral= ruleXNumberLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXNumberLiteral=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNumberLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNumberLiteral"
// $ANTLR start "ruleXNumberLiteral"
// InternalCubeDSL.g:6888: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 {
// InternalCubeDSL.g:6894:2: ( ( () ( (lv_value_1_0= ruleNumber ) ) ) )
// InternalCubeDSL.g:6895:2: ( () ( (lv_value_1_0= ruleNumber ) ) )
{
// InternalCubeDSL.g:6895:2: ( () ( (lv_value_1_0= ruleNumber ) ) )
// InternalCubeDSL.g:6896:3: () ( (lv_value_1_0= ruleNumber ) )
{
// InternalCubeDSL.g:6896:3: ()
// InternalCubeDSL.g:6897:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNumberLiteralAccess().getXNumberLiteralAction_0(),
current);
}
}
// InternalCubeDSL.g:6903:3: ( (lv_value_1_0= ruleNumber ) )
// InternalCubeDSL.g:6904:4: (lv_value_1_0= ruleNumber )
{
// InternalCubeDSL.g:6904:4: (lv_value_1_0= ruleNumber )
// InternalCubeDSL.g:6905:5: lv_value_1_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.Number");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXNumberLiteral"
// $ANTLR start "entryRuleXStringLiteral"
// InternalCubeDSL.g:6926:1: entryRuleXStringLiteral returns [EObject current=null] : iv_ruleXStringLiteral= ruleXStringLiteral EOF ;
public final EObject entryRuleXStringLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXStringLiteral = null;
try {
// InternalCubeDSL.g:6926:55: (iv_ruleXStringLiteral= ruleXStringLiteral EOF )
// InternalCubeDSL.g:6927:2: iv_ruleXStringLiteral= ruleXStringLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXStringLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXStringLiteral=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXStringLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXStringLiteral"
// $ANTLR start "ruleXStringLiteral"
// InternalCubeDSL.g:6933: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 {
// InternalCubeDSL.g:6939:2: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
// InternalCubeDSL.g:6940:2: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
// InternalCubeDSL.g:6940:2: ( () ( (lv_value_1_0= RULE_STRING ) ) )
// InternalCubeDSL.g:6941:3: () ( (lv_value_1_0= RULE_STRING ) )
{
// InternalCubeDSL.g:6941:3: ()
// InternalCubeDSL.g:6942:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXStringLiteralAccess().getXStringLiteralAction_0(),
current);
}
}
// InternalCubeDSL.g:6948:3: ( (lv_value_1_0= RULE_STRING ) )
// InternalCubeDSL.g:6949:4: (lv_value_1_0= RULE_STRING )
{
// InternalCubeDSL.g:6949:4: (lv_value_1_0= RULE_STRING )
// InternalCubeDSL.g:6950:5: lv_value_1_0= RULE_STRING
{
lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); 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,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXStringLiteral"
// $ANTLR start "entryRuleXTypeLiteral"
// InternalCubeDSL.g:6970:1: entryRuleXTypeLiteral returns [EObject current=null] : iv_ruleXTypeLiteral= ruleXTypeLiteral EOF ;
public final EObject entryRuleXTypeLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTypeLiteral = null;
try {
// InternalCubeDSL.g:6970:53: (iv_ruleXTypeLiteral= ruleXTypeLiteral EOF )
// InternalCubeDSL.g:6971:2: iv_ruleXTypeLiteral= ruleXTypeLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXTypeLiteral=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTypeLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTypeLiteral"
// $ANTLR start "ruleXTypeLiteral"
// InternalCubeDSL.g:6977:1: ruleXTypeLiteral returns [EObject current=null] : ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) ;
public final EObject ruleXTypeLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_arrayDimensions_4_0 = null;
enterRule();
try {
// InternalCubeDSL.g:6983:2: ( ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) )
// InternalCubeDSL.g:6984:2: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' )
{
// InternalCubeDSL.g:6984:2: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' )
// InternalCubeDSL.g:6985:3: () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')'
{
// InternalCubeDSL.g:6985:3: ()
// InternalCubeDSL.g:6986:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTypeLiteralAccess().getXTypeLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,105,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTypeLiteralAccess().getTypeofKeyword_1());
}
otherlv_2=(Token)match(input,48,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXTypeLiteralAccess().getLeftParenthesisKeyword_2());
}
// InternalCubeDSL.g:7000:3: ( ( ruleQualifiedName ) )
// InternalCubeDSL.g:7001:4: ( ruleQualifiedName )
{
// InternalCubeDSL.g:7001:4: ( ruleQualifiedName )
// InternalCubeDSL.g:7002:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXTypeLiteralRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralAccess().getTypeJvmTypeCrossReference_3_0());
}
pushFollow(FOLLOW_104);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7016:3: ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )*
loop127:
do {
int alt127=2;
int LA127_0 = input.LA(1);
if ( (LA127_0==53) ) {
alt127=1;
}
switch (alt127) {
case 1 :
// InternalCubeDSL.g:7017:4: (lv_arrayDimensions_4_0= ruleArrayBrackets )
{
// InternalCubeDSL.g:7017:4: (lv_arrayDimensions_4_0= ruleArrayBrackets )
// InternalCubeDSL.g:7018:5: lv_arrayDimensions_4_0= ruleArrayBrackets
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsArrayBracketsParserRuleCall_4_0());
}
pushFollow(FOLLOW_104);
lv_arrayDimensions_4_0=ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTypeLiteralRule());
}
add(
current,
"arrayDimensions",
lv_arrayDimensions_4_0,
"org.eclipse.xtext.xbase.Xtype.ArrayBrackets");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop127;
}
} while (true);
otherlv_5=(Token)match(input,50,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXTypeLiteralAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTypeLiteral"
// $ANTLR start "entryRuleXThrowExpression"
// InternalCubeDSL.g:7043:1: entryRuleXThrowExpression returns [EObject current=null] : iv_ruleXThrowExpression= ruleXThrowExpression EOF ;
public final EObject entryRuleXThrowExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXThrowExpression = null;
try {
// InternalCubeDSL.g:7043:57: (iv_ruleXThrowExpression= ruleXThrowExpression EOF )
// InternalCubeDSL.g:7044:2: iv_ruleXThrowExpression= ruleXThrowExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXThrowExpression=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXThrowExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXThrowExpression"
// $ANTLR start "ruleXThrowExpression"
// InternalCubeDSL.g:7050: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 {
// InternalCubeDSL.g:7056:2: ( ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:7057:2: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:7057:2: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
// InternalCubeDSL.g:7058:3: () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) )
{
// InternalCubeDSL.g:7058:3: ()
// InternalCubeDSL.g:7059:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXThrowExpressionAccess().getXThrowExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,106,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXThrowExpressionAccess().getThrowKeyword_1());
}
// InternalCubeDSL.g:7069:3: ( (lv_expression_2_0= ruleXExpression ) )
// InternalCubeDSL.g:7070:4: (lv_expression_2_0= ruleXExpression )
{
// InternalCubeDSL.g:7070:4: (lv_expression_2_0= ruleXExpression )
// InternalCubeDSL.g:7071:5: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXThrowExpression"
// $ANTLR start "entryRuleXReturnExpression"
// InternalCubeDSL.g:7092:1: entryRuleXReturnExpression returns [EObject current=null] : iv_ruleXReturnExpression= ruleXReturnExpression EOF ;
public final EObject entryRuleXReturnExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXReturnExpression = null;
try {
// InternalCubeDSL.g:7092:58: (iv_ruleXReturnExpression= ruleXReturnExpression EOF )
// InternalCubeDSL.g:7093:2: iv_ruleXReturnExpression= ruleXReturnExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXReturnExpression=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXReturnExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXReturnExpression"
// $ANTLR start "ruleXReturnExpression"
// InternalCubeDSL.g:7099:1: ruleXReturnExpression returns [EObject current=null] : ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) ;
public final EObject ruleXReturnExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_expression_2_0 = null;
enterRule();
try {
// InternalCubeDSL.g:7105:2: ( ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) )
// InternalCubeDSL.g:7106:2: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? )
{
// InternalCubeDSL.g:7106:2: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? )
// InternalCubeDSL.g:7107:3: () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?
{
// InternalCubeDSL.g:7107:3: ()
// InternalCubeDSL.g:7108:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXReturnExpressionAccess().getXReturnExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,107,FOLLOW_105); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXReturnExpressionAccess().getReturnKeyword_1());
}
// InternalCubeDSL.g:7118:3: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?
int alt128=2;
alt128 = dfa128.predict(input);
switch (alt128) {
case 1 :
// InternalCubeDSL.g:7119:4: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression )
{
// InternalCubeDSL.g:7120:4: (lv_expression_2_0= ruleXExpression )
// InternalCubeDSL.g:7121:5: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXReturnExpression"
// $ANTLR start "entryRuleXTryCatchFinallyExpression"
// InternalCubeDSL.g:7142:1: entryRuleXTryCatchFinallyExpression returns [EObject current=null] : iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF ;
public final EObject entryRuleXTryCatchFinallyExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTryCatchFinallyExpression = null;
try {
// InternalCubeDSL.g:7142:67: (iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF )
// InternalCubeDSL.g:7143:2: iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXTryCatchFinallyExpression=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTryCatchFinallyExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTryCatchFinallyExpression"
// $ANTLR start "ruleXTryCatchFinallyExpression"
// InternalCubeDSL.g:7149: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 {
// InternalCubeDSL.g:7155: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 ) ) ) ) ) )
// InternalCubeDSL.g:7156: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 ) ) ) ) )
{
// InternalCubeDSL.g:7156: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 ) ) ) ) )
// InternalCubeDSL.g:7157:3: () 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 ) ) ) )
{
// InternalCubeDSL.g:7157:3: ()
// InternalCubeDSL.g:7158:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTryCatchFinallyExpressionAccess().getXTryCatchFinallyExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,108,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTryCatchFinallyExpressionAccess().getTryKeyword_1());
}
// InternalCubeDSL.g:7168:3: ( (lv_expression_2_0= ruleXExpression ) )
// InternalCubeDSL.g:7169:4: (lv_expression_2_0= ruleXExpression )
{
// InternalCubeDSL.g:7169:4: (lv_expression_2_0= ruleXExpression )
// InternalCubeDSL.g:7170:5: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_106);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7187:3: ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) )
int alt131=2;
int LA131_0 = input.LA(1);
if ( (LA131_0==111) ) {
alt131=1;
}
else if ( (LA131_0==109) ) {
alt131=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 131, 0, input);
throw nvae;
}
switch (alt131) {
case 1 :
// InternalCubeDSL.g:7188:4: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
{
// InternalCubeDSL.g:7188:4: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
// InternalCubeDSL.g:7189:5: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
{
// InternalCubeDSL.g:7189:5: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+
int cnt129=0;
loop129:
do {
int alt129=2;
int LA129_0 = input.LA(1);
if ( (LA129_0==111) ) {
int LA129_2 = input.LA(2);
if ( (synpred44_InternalCubeDSL()) ) {
alt129=1;
}
}
switch (alt129) {
case 1 :
// InternalCubeDSL.g:7190:6: ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause )
{
// InternalCubeDSL.g:7191:6: (lv_catchClauses_3_0= ruleXCatchClause )
// InternalCubeDSL.g:7192:7: lv_catchClauses_3_0= ruleXCatchClause
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesXCatchClauseParserRuleCall_3_0_0_0());
}
pushFollow(FOLLOW_107);
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,
"org.eclipse.xtext.xbase.Xbase.XCatchClause");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt129 >= 1 ) break loop129;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(129, input);
throw eee;
}
cnt129++;
} while (true);
// InternalCubeDSL.g:7209:5: ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
int alt130=2;
int LA130_0 = input.LA(1);
if ( (LA130_0==109) ) {
int LA130_1 = input.LA(2);
if ( (synpred45_InternalCubeDSL()) ) {
alt130=1;
}
}
switch (alt130) {
case 1 :
// InternalCubeDSL.g:7210:6: ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) )
{
// InternalCubeDSL.g:7210:6: ( ( 'finally' )=>otherlv_4= 'finally' )
// InternalCubeDSL.g:7211:7: ( 'finally' )=>otherlv_4= 'finally'
{
otherlv_4=(Token)match(input,109,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_0_1_0());
}
}
// InternalCubeDSL.g:7217:6: ( (lv_finallyExpression_5_0= ruleXExpression ) )
// InternalCubeDSL.g:7218:7: (lv_finallyExpression_5_0= ruleXExpression )
{
// InternalCubeDSL.g:7218:7: (lv_finallyExpression_5_0= ruleXExpression )
// InternalCubeDSL.g:7219:8: lv_finallyExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_0_1_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// InternalCubeDSL.g:7239:4: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:7239:4: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
// InternalCubeDSL.g:7240:5: otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,109,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_1_0());
}
// InternalCubeDSL.g:7244:5: ( (lv_finallyExpression_7_0= ruleXExpression ) )
// InternalCubeDSL.g:7245:6: (lv_finallyExpression_7_0= ruleXExpression )
{
// InternalCubeDSL.g:7245:6: (lv_finallyExpression_7_0= ruleXExpression )
// InternalCubeDSL.g:7246:7: lv_finallyExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTryCatchFinallyExpression"
// $ANTLR start "entryRuleXSynchronizedExpression"
// InternalCubeDSL.g:7269:1: entryRuleXSynchronizedExpression returns [EObject current=null] : iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF ;
public final EObject entryRuleXSynchronizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSynchronizedExpression = null;
try {
// InternalCubeDSL.g:7269:64: (iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF )
// InternalCubeDSL.g:7270:2: iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXSynchronizedExpression=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSynchronizedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSynchronizedExpression"
// $ANTLR start "ruleXSynchronizedExpression"
// InternalCubeDSL.g:7276:1: ruleXSynchronizedExpression returns [EObject current=null] : ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXSynchronizedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_param_3_0 = null;
EObject lv_expression_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:7282:2: ( ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:7283:2: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:7283:2: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) )
// InternalCubeDSL.g:7284:3: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) )
{
// InternalCubeDSL.g:7284:3: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) )
// InternalCubeDSL.g:7285:4: ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' )
{
// InternalCubeDSL.g:7292:4: ( () otherlv_1= 'synchronized' otherlv_2= '(' )
// InternalCubeDSL.g:7293:5: () otherlv_1= 'synchronized' otherlv_2= '('
{
// InternalCubeDSL.g:7293:5: ()
// InternalCubeDSL.g:7294:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSynchronizedExpressionAccess().getXSynchronizedExpressionAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,110,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSynchronizedExpressionAccess().getSynchronizedKeyword_0_0_1());
}
otherlv_2=(Token)match(input,48,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSynchronizedExpressionAccess().getLeftParenthesisKeyword_0_0_2());
}
}
}
// InternalCubeDSL.g:7310:3: ( (lv_param_3_0= ruleXExpression ) )
// InternalCubeDSL.g:7311:4: (lv_param_3_0= ruleXExpression )
{
// InternalCubeDSL.g:7311:4: (lv_param_3_0= ruleXExpression )
// InternalCubeDSL.g:7312:5: lv_param_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getParamXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_45);
lv_param_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule());
}
set(
current,
"param",
lv_param_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,50,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSynchronizedExpressionAccess().getRightParenthesisKeyword_2());
}
// InternalCubeDSL.g:7333:3: ( (lv_expression_5_0= ruleXExpression ) )
// InternalCubeDSL.g:7334:4: (lv_expression_5_0= ruleXExpression )
{
// InternalCubeDSL.g:7334:4: (lv_expression_5_0= ruleXExpression )
// InternalCubeDSL.g:7335:5: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getExpressionXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_expression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule());
}
set(
current,
"expression",
lv_expression_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSynchronizedExpression"
// $ANTLR start "entryRuleXCatchClause"
// InternalCubeDSL.g:7356:1: entryRuleXCatchClause returns [EObject current=null] : iv_ruleXCatchClause= ruleXCatchClause EOF ;
public final EObject entryRuleXCatchClause() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCatchClause = null;
try {
// InternalCubeDSL.g:7356:53: (iv_ruleXCatchClause= ruleXCatchClause EOF )
// InternalCubeDSL.g:7357:2: iv_ruleXCatchClause= ruleXCatchClause EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCatchClause=ruleXCatchClause();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCatchClause;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCatchClause"
// $ANTLR start "ruleXCatchClause"
// InternalCubeDSL.g:7363: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 {
// InternalCubeDSL.g:7369:2: ( ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) )
// InternalCubeDSL.g:7370:2: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
{
// InternalCubeDSL.g:7370:2: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
// InternalCubeDSL.g:7371:3: ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) )
{
// InternalCubeDSL.g:7371:3: ( ( 'catch' )=>otherlv_0= 'catch' )
// InternalCubeDSL.g:7372:4: ( 'catch' )=>otherlv_0= 'catch'
{
otherlv_0=(Token)match(input,111,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXCatchClauseAccess().getCatchKeyword_0());
}
}
otherlv_1=(Token)match(input,48,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXCatchClauseAccess().getLeftParenthesisKeyword_1());
}
// InternalCubeDSL.g:7382:3: ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) )
// InternalCubeDSL.g:7383:4: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
{
// InternalCubeDSL.g:7383:4: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
// InternalCubeDSL.g:7384:5: lv_declaredParam_2_0= ruleFullJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_45);
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,
"org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,50,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXCatchClauseAccess().getRightParenthesisKeyword_3());
}
// InternalCubeDSL.g:7405:3: ( (lv_expression_4_0= ruleXExpression ) )
// InternalCubeDSL.g:7406:4: (lv_expression_4_0= ruleXExpression )
{
// InternalCubeDSL.g:7406:4: (lv_expression_4_0= ruleXExpression )
// InternalCubeDSL.g:7407:5: lv_expression_4_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCatchClause"
// $ANTLR start "entryRuleQualifiedName"
// InternalCubeDSL.g:7428:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
try {
// InternalCubeDSL.g:7428:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// InternalCubeDSL.g:7429:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedName.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedName"
// $ANTLR start "ruleQualifiedName"
// InternalCubeDSL.g:7435: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 {
// InternalCubeDSL.g:7441:2: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) )
// InternalCubeDSL.g:7442:2: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
{
// InternalCubeDSL.g:7442:2: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
// InternalCubeDSL.g:7443:3: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_37);
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();
}
// InternalCubeDSL.g:7453:3: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
loop132:
do {
int alt132=2;
int LA132_0 = input.LA(1);
if ( (LA132_0==40) ) {
int LA132_2 = input.LA(2);
if ( (LA132_2==RULE_ID) ) {
int LA132_3 = input.LA(3);
if ( (synpred48_InternalCubeDSL()) ) {
alt132=1;
}
}
}
switch (alt132) {
case 1 :
// InternalCubeDSL.g:7454:4: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID
{
// InternalCubeDSL.g:7454:4: ( ( '.' )=>kw= '.' )
// InternalCubeDSL.g:7455:5: ( '.' )=>kw= '.'
{
kw=(Token)match(input,40,FOLLOW_4); 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_37);
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 loop132;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedName"
// $ANTLR start "entryRuleNumber"
// InternalCubeDSL.g:7477: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 {
// InternalCubeDSL.g:7479:2: (iv_ruleNumber= ruleNumber EOF )
// InternalCubeDSL.g:7480:2: iv_ruleNumber= ruleNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberRule());
}
pushFollow(FOLLOW_1);
iv_ruleNumber=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNumber.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
myHiddenTokenState.restore();
}
return current;
}
// $ANTLR end "entryRuleNumber"
// $ANTLR start "ruleNumber"
// InternalCubeDSL.g:7489: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 {
// InternalCubeDSL.g:7496:2: ( (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 ) )? ) ) )
// InternalCubeDSL.g:7497:2: (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 ) )? ) )
{
// InternalCubeDSL.g:7497:2: (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 alt136=2;
int LA136_0 = input.LA(1);
if ( (LA136_0==RULE_HEX) ) {
alt136=1;
}
else if ( ((LA136_0>=RULE_INT && LA136_0<=RULE_DECIMAL)) ) {
alt136=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 136, 0, input);
throw nvae;
}
switch (alt136) {
case 1 :
// InternalCubeDSL.g:7498:3: this_HEX_0= RULE_HEX
{
this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_2); 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 :
// InternalCubeDSL.g:7506:3: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
{
// InternalCubeDSL.g:7506:3: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
// InternalCubeDSL.g:7507:4: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
{
// InternalCubeDSL.g:7507:4: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL )
int alt133=2;
int LA133_0 = input.LA(1);
if ( (LA133_0==RULE_INT) ) {
alt133=1;
}
else if ( (LA133_0==RULE_DECIMAL) ) {
alt133=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 133, 0, input);
throw nvae;
}
switch (alt133) {
case 1 :
// InternalCubeDSL.g:7508:5: this_INT_1= RULE_INT
{
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_37); 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 :
// InternalCubeDSL.g:7516:5: this_DECIMAL_2= RULE_DECIMAL
{
this_DECIMAL_2=(Token)match(input,RULE_DECIMAL,FOLLOW_37); 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;
}
// InternalCubeDSL.g:7524:4: (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
int alt135=2;
int LA135_0 = input.LA(1);
if ( (LA135_0==40) ) {
int LA135_1 = input.LA(2);
if ( ((LA135_1>=RULE_INT && LA135_1<=RULE_DECIMAL)) ) {
alt135=1;
}
}
switch (alt135) {
case 1 :
// InternalCubeDSL.g:7525:5: kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
{
kw=(Token)match(input,40,FOLLOW_108); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getNumberAccess().getFullStopKeyword_1_1_0());
}
// InternalCubeDSL.g:7530:5: (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
int alt134=2;
int LA134_0 = input.LA(1);
if ( (LA134_0==RULE_INT) ) {
alt134=1;
}
else if ( (LA134_0==RULE_DECIMAL) ) {
alt134=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 134, 0, input);
throw nvae;
}
switch (alt134) {
case 1 :
// InternalCubeDSL.g:7531:6: this_INT_4= RULE_INT
{
this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2); 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 :
// InternalCubeDSL.g:7539:6: this_DECIMAL_5= RULE_DECIMAL
{
this_DECIMAL_5=(Token)match(input,RULE_DECIMAL,FOLLOW_2); 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"
// InternalCubeDSL.g:7556:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ;
public final EObject entryRuleJvmTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmTypeReference = null;
try {
// InternalCubeDSL.g:7556:57: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF )
// InternalCubeDSL.g:7557:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmTypeReference=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmTypeReference"
// $ANTLR start "ruleJvmTypeReference"
// InternalCubeDSL.g:7563:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ;
public final EObject ruleJvmTypeReference() throws RecognitionException {
EObject current = null;
EObject this_JvmParameterizedTypeReference_0 = null;
EObject this_XFunctionTypeRef_3 = null;
enterRule();
try {
// InternalCubeDSL.g:7569:2: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) )
// InternalCubeDSL.g:7570:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
{
// InternalCubeDSL.g:7570:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
int alt138=2;
int LA138_0 = input.LA(1);
if ( (LA138_0==RULE_ID) ) {
alt138=1;
}
else if ( (LA138_0==48||LA138_0==73) ) {
alt138=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 138, 0, input);
throw nvae;
}
switch (alt138) {
case 1 :
// InternalCubeDSL.g:7571:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
{
// InternalCubeDSL.g:7571:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
// InternalCubeDSL.g:7572:4: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_102);
this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmParameterizedTypeReference_0;
afterParserOrEnumRuleCall();
}
// InternalCubeDSL.g:7580:4: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
loop137:
do {
int alt137=2;
int LA137_0 = input.LA(1);
if ( (LA137_0==53) ) {
int LA137_2 = input.LA(2);
if ( (LA137_2==54) ) {
int LA137_3 = input.LA(3);
if ( (synpred49_InternalCubeDSL()) ) {
alt137=1;
}
}
}
switch (alt137) {
case 1 :
// InternalCubeDSL.g:7581:5: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets )
{
// InternalCubeDSL.g:7587:5: ( () ruleArrayBrackets )
// InternalCubeDSL.g:7588:6: () ruleArrayBrackets
{
// InternalCubeDSL.g:7588:6: ()
// InternalCubeDSL.g:7589:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(),
current);
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1());
}
pushFollow(FOLLOW_102);
ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop137;
}
} while (true);
}
}
break;
case 2 :
// InternalCubeDSL.g:7606:3: this_XFunctionTypeRef_3= ruleXFunctionTypeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XFunctionTypeRef_3=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFunctionTypeRef_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmTypeReference"
// $ANTLR start "entryRuleArrayBrackets"
// InternalCubeDSL.g:7618:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ;
public final String entryRuleArrayBrackets() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleArrayBrackets = null;
try {
// InternalCubeDSL.g:7618:53: (iv_ruleArrayBrackets= ruleArrayBrackets EOF )
// InternalCubeDSL.g:7619:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getArrayBracketsRule());
}
pushFollow(FOLLOW_1);
iv_ruleArrayBrackets=ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleArrayBrackets.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleArrayBrackets"
// $ANTLR start "ruleArrayBrackets"
// InternalCubeDSL.g:7625:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ;
public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalCubeDSL.g:7631:2: ( (kw= '[' kw= ']' ) )
// InternalCubeDSL.g:7632:2: (kw= '[' kw= ']' )
{
// InternalCubeDSL.g:7632:2: (kw= '[' kw= ']' )
// InternalCubeDSL.g:7633:3: kw= '[' kw= ']'
{
kw=(Token)match(input,53,FOLLOW_82); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0());
}
kw=(Token)match(input,54,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleArrayBrackets"
// $ANTLR start "entryRuleXFunctionTypeRef"
// InternalCubeDSL.g:7647:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ;
public final EObject entryRuleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
EObject iv_ruleXFunctionTypeRef = null;
try {
// InternalCubeDSL.g:7647:57: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF )
// InternalCubeDSL.g:7648:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefRule());
}
pushFollow(FOLLOW_1);
iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFunctionTypeRef;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFunctionTypeRef"
// $ANTLR start "ruleXFunctionTypeRef"
// InternalCubeDSL.g:7654: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 {
// InternalCubeDSL.g:7660:2: ( ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) )
// InternalCubeDSL.g:7661:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
{
// InternalCubeDSL.g:7661:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
// InternalCubeDSL.g:7662:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) )
{
// InternalCubeDSL.g:7662:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )?
int alt141=2;
int LA141_0 = input.LA(1);
if ( (LA141_0==48) ) {
alt141=1;
}
switch (alt141) {
case 1 :
// InternalCubeDSL.g:7663:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')'
{
otherlv_0=(Token)match(input,48,FOLLOW_109); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0());
}
// InternalCubeDSL.g:7667:4: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )?
int alt140=2;
int LA140_0 = input.LA(1);
if ( (LA140_0==RULE_ID||LA140_0==48||LA140_0==73) ) {
alt140=1;
}
switch (alt140) {
case 1 :
// InternalCubeDSL.g:7668:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
{
// InternalCubeDSL.g:7668:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:7669:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:7669:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
// InternalCubeDSL.g:7670:7: lv_paramTypes_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_44);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7687:5: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
loop139:
do {
int alt139=2;
int LA139_0 = input.LA(1);
if ( (LA139_0==49) ) {
alt139=1;
}
switch (alt139) {
case 1 :
// InternalCubeDSL.g:7688:6: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
{
otherlv_2=(Token)match(input,49,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0());
}
// InternalCubeDSL.g:7692:6: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:7693:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:7693:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
// InternalCubeDSL.g:7694:8: lv_paramTypes_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_44);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop139;
}
} while (true);
}
break;
}
otherlv_4=(Token)match(input,50,FOLLOW_110); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2());
}
}
break;
}
otherlv_5=(Token)match(input,73,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1());
}
// InternalCubeDSL.g:7722:3: ( (lv_returnType_6_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:7723:4: (lv_returnType_6_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:7723:4: (lv_returnType_6_0= ruleJvmTypeReference )
// InternalCubeDSL.g:7724:5: lv_returnType_6_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFunctionTypeRef"
// $ANTLR start "entryRuleJvmParameterizedTypeReference"
// InternalCubeDSL.g:7745:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ;
public final EObject entryRuleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmParameterizedTypeReference = null;
try {
// InternalCubeDSL.g:7745:70: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF )
// InternalCubeDSL.g:7746:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmParameterizedTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmParameterizedTypeReference"
// $ANTLR start "ruleJvmParameterizedTypeReference"
// InternalCubeDSL.g:7752:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ;
public final EObject ruleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_arguments_2_0 = null;
EObject lv_arguments_4_0 = null;
EObject lv_arguments_10_0 = null;
EObject lv_arguments_12_0 = null;
enterRule();
try {
// InternalCubeDSL.g:7758:2: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) )
// InternalCubeDSL.g:7759:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
{
// InternalCubeDSL.g:7759:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
// InternalCubeDSL.g:7760:3: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
{
// InternalCubeDSL.g:7760:3: ( ( ruleQualifiedName ) )
// InternalCubeDSL.g:7761:4: ( ruleQualifiedName )
{
// InternalCubeDSL.g:7761:4: ( ruleQualifiedName )
// InternalCubeDSL.g:7762:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0());
}
pushFollow(FOLLOW_111);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7776:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
int alt146=2;
alt146 = dfa146.predict(input);
switch (alt146) {
case 1 :
// InternalCubeDSL.g:7777:4: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
{
// InternalCubeDSL.g:7777:4: ( ( '<' )=>otherlv_1= '<' )
// InternalCubeDSL.g:7778:5: ( '<' )=>otherlv_1= '<'
{
otherlv_1=(Token)match(input,60,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0());
}
}
// InternalCubeDSL.g:7784:4: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:7785:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:7785:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:7786:6: lv_arguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_73);
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,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7803:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop142:
do {
int alt142=2;
int LA142_0 = input.LA(1);
if ( (LA142_0==49) ) {
alt142=1;
}
switch (alt142) {
case 1 :
// InternalCubeDSL.g:7804:5: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,49,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0());
}
// InternalCubeDSL.g:7808:5: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:7809:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:7809:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:7810:7: lv_arguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_73);
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,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop142;
}
} while (true);
otherlv_5=(Token)match(input,61,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3());
}
// InternalCubeDSL.g:7832:4: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
loop145:
do {
int alt145=2;
int LA145_0 = input.LA(1);
if ( (LA145_0==40) ) {
int LA145_2 = input.LA(2);
if ( (LA145_2==RULE_ID) ) {
int LA145_3 = input.LA(3);
if ( (synpred51_InternalCubeDSL()) ) {
alt145=1;
}
}
}
switch (alt145) {
case 1 :
// InternalCubeDSL.g:7833:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
{
// InternalCubeDSL.g:7833:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) )
// InternalCubeDSL.g:7834:6: ( ( () '.' ) )=> ( () otherlv_7= '.' )
{
// InternalCubeDSL.g:7840:6: ( () otherlv_7= '.' )
// InternalCubeDSL.g:7841:7: () otherlv_7= '.'
{
// InternalCubeDSL.g:7841:7: ()
// InternalCubeDSL.g:7842:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(),
current);
}
}
otherlv_7=(Token)match(input,40,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1());
}
}
}
// InternalCubeDSL.g:7854:5: ( ( ruleValidID ) )
// InternalCubeDSL.g:7855:6: ( ruleValidID )
{
// InternalCubeDSL.g:7855:6: ( ruleValidID )
// InternalCubeDSL.g:7856:7: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0());
}
pushFollow(FOLLOW_112);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7870:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
int alt144=2;
alt144 = dfa144.predict(input);
switch (alt144) {
case 1 :
// InternalCubeDSL.g:7871:6: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>'
{
// InternalCubeDSL.g:7871:6: ( ( '<' )=>otherlv_9= '<' )
// InternalCubeDSL.g:7872:7: ( '<' )=>otherlv_9= '<'
{
otherlv_9=(Token)match(input,60,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0());
}
}
// InternalCubeDSL.g:7878:6: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:7879:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:7879:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:7880:8: lv_arguments_10_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0());
}
pushFollow(FOLLOW_73);
lv_arguments_10_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_10_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:7897:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )*
loop143:
do {
int alt143=2;
int LA143_0 = input.LA(1);
if ( (LA143_0==49) ) {
alt143=1;
}
switch (alt143) {
case 1 :
// InternalCubeDSL.g:7898:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
{
otherlv_11=(Token)match(input,49,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0());
}
// InternalCubeDSL.g:7902:7: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
// InternalCubeDSL.g:7903:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
{
// InternalCubeDSL.g:7903:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
// InternalCubeDSL.g:7904:9: lv_arguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0());
}
pushFollow(FOLLOW_73);
lv_arguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_12_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop143;
}
} while (true);
otherlv_13=(Token)match(input,61,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3());
}
}
break;
}
}
break;
default :
break loop145;
}
} while (true);
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmParameterizedTypeReference"
// $ANTLR start "entryRuleJvmArgumentTypeReference"
// InternalCubeDSL.g:7933:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ;
public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmArgumentTypeReference = null;
try {
// InternalCubeDSL.g:7933:65: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF )
// InternalCubeDSL.g:7934:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmArgumentTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmArgumentTypeReference"
// $ANTLR start "ruleJvmArgumentTypeReference"
// InternalCubeDSL.g:7940: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 {
// InternalCubeDSL.g:7946:2: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) )
// InternalCubeDSL.g:7947:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
{
// InternalCubeDSL.g:7947:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
int alt147=2;
int LA147_0 = input.LA(1);
if ( (LA147_0==RULE_ID||LA147_0==48||LA147_0==73) ) {
alt147=1;
}
else if ( (LA147_0==112) ) {
alt147=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 147, 0, input);
throw nvae;
}
switch (alt147) {
case 1 :
// InternalCubeDSL.g:7948:3: this_JvmTypeReference_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_JvmTypeReference_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmTypeReference_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalCubeDSL.g:7957:3: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1());
}
pushFollow(FOLLOW_2);
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"
// InternalCubeDSL.g:7969:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ;
public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmWildcardTypeReference = null;
try {
// InternalCubeDSL.g:7969:65: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF )
// InternalCubeDSL.g:7970:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmWildcardTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmWildcardTypeReference"
// $ANTLR start "ruleJvmWildcardTypeReference"
// InternalCubeDSL.g:7976:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ;
public final EObject ruleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_constraints_2_0 = null;
EObject lv_constraints_3_0 = null;
EObject lv_constraints_4_0 = null;
EObject lv_constraints_5_0 = null;
enterRule();
try {
// InternalCubeDSL.g:7982:2: ( ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) )
// InternalCubeDSL.g:7983:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
{
// InternalCubeDSL.g:7983:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
// InternalCubeDSL.g:7984:3: () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
{
// InternalCubeDSL.g:7984:3: ()
// InternalCubeDSL.g:7985:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(),
current);
}
}
otherlv_1=(Token)match(input,112,FOLLOW_113); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1());
}
// InternalCubeDSL.g:7995:3: ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
int alt150=3;
int LA150_0 = input.LA(1);
if ( (LA150_0==99) ) {
alt150=1;
}
else if ( (LA150_0==100) ) {
alt150=2;
}
switch (alt150) {
case 1 :
// InternalCubeDSL.g:7996:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
{
// InternalCubeDSL.g:7996:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
// InternalCubeDSL.g:7997:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
{
// InternalCubeDSL.g:7997:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
// InternalCubeDSL.g:7998:6: (lv_constraints_2_0= ruleJvmUpperBound )
{
// InternalCubeDSL.g:7998:6: (lv_constraints_2_0= ruleJvmUpperBound )
// InternalCubeDSL.g:7999:7: lv_constraints_2_0= ruleJvmUpperBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0());
}
pushFollow(FOLLOW_114);
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,
"org.eclipse.xtext.xbase.Xtype.JvmUpperBound");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:8016:5: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
loop148:
do {
int alt148=2;
int LA148_0 = input.LA(1);
if ( (LA148_0==113) ) {
alt148=1;
}
switch (alt148) {
case 1 :
// InternalCubeDSL.g:8017:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
{
// InternalCubeDSL.g:8017:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
// InternalCubeDSL.g:8018:7: lv_constraints_3_0= ruleJvmUpperBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_114);
lv_constraints_3_0=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_3_0,
"org.eclipse.xtext.xbase.Xtype.JvmUpperBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop148;
}
} while (true);
}
}
break;
case 2 :
// InternalCubeDSL.g:8037:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
{
// InternalCubeDSL.g:8037:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
// InternalCubeDSL.g:8038:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
{
// InternalCubeDSL.g:8038:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) )
// InternalCubeDSL.g:8039:6: (lv_constraints_4_0= ruleJvmLowerBound )
{
// InternalCubeDSL.g:8039:6: (lv_constraints_4_0= ruleJvmLowerBound )
// InternalCubeDSL.g:8040:7: lv_constraints_4_0= ruleJvmLowerBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0());
}
pushFollow(FOLLOW_114);
lv_constraints_4_0=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_4_0,
"org.eclipse.xtext.xbase.Xtype.JvmLowerBound");
afterParserOrEnumRuleCall();
}
}
}
// InternalCubeDSL.g:8057:5: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
loop149:
do {
int alt149=2;
int LA149_0 = input.LA(1);
if ( (LA149_0==113) ) {
alt149=1;
}
switch (alt149) {
case 1 :
// InternalCubeDSL.g:8058:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
{
// InternalCubeDSL.g:8058:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
// InternalCubeDSL.g:8059:7: lv_constraints_5_0= ruleJvmLowerBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_114);
lv_constraints_5_0=ruleJvmLowerBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_5_0,
"org.eclipse.xtext.xbase.Xtype.JvmLowerBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop149;
}
} while (true);
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmWildcardTypeReference"
// $ANTLR start "entryRuleJvmUpperBound"
// InternalCubeDSL.g:8082:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ;
public final EObject entryRuleJvmUpperBound() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmUpperBound = null;
try {
// InternalCubeDSL.g:8082:54: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF )
// InternalCubeDSL.g:8083:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmUpperBound=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBound;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBound"
// $ANTLR start "ruleJvmUpperBound"
// InternalCubeDSL.g:8089: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 {
// InternalCubeDSL.g:8095:2: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalCubeDSL.g:8096:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalCubeDSL.g:8096:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalCubeDSL.g:8097:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,99,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0());
}
// InternalCubeDSL.g:8101:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:8102:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:8102:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalCubeDSL.g:8103:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmUpperBound"
// $ANTLR start "entryRuleJvmUpperBoundAnded"
// InternalCubeDSL.g:8124:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ;
public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmUpperBoundAnded = null;
try {
// InternalCubeDSL.g:8124:59: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF )
// InternalCubeDSL.g:8125:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBoundAnded;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBoundAnded"
// $ANTLR start "ruleJvmUpperBoundAnded"
// InternalCubeDSL.g:8131: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 {
// InternalCubeDSL.g:8137:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalCubeDSL.g:8138:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalCubeDSL.g:8138:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalCubeDSL.g:8139:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,113,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0());
}
// InternalCubeDSL.g:8143:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:8144:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:8144:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalCubeDSL.g:8145:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmUpperBoundAnded"
// $ANTLR start "entryRuleJvmLowerBound"
// InternalCubeDSL.g:8166:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ;
public final EObject entryRuleJvmLowerBound() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmLowerBound = null;
try {
// InternalCubeDSL.g:8166:54: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF )
// InternalCubeDSL.g:8167:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmLowerBound=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBound;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBound"
// $ANTLR start "ruleJvmLowerBound"
// InternalCubeDSL.g:8173: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 {
// InternalCubeDSL.g:8179:2: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalCubeDSL.g:8180:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalCubeDSL.g:8180:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalCubeDSL.g:8181:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,100,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0());
}
// InternalCubeDSL.g:8185:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:8186:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:8186:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalCubeDSL.g:8187:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
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,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmLowerBound"
// $ANTLR start "entryRuleJvmLowerBoundAnded"
// InternalCubeDSL.g:8208:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ;
public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmLowerBoundAnded = null;
try {
// InternalCubeDSL.g:8208:59: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF )
// InternalCubeDSL.g:8209:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBoundAnded;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBoundAnded"
// $ANTLR start "ruleJvmLowerBoundAnded"
// InternalCubeDSL.g:8215:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// InternalCubeDSL.g:8221:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalCubeDSL.g:8222:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalCubeDSL.g:8222:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalCubeDSL.g:8223:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,113,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0());
}
// InternalCubeDSL.g:8227:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalCubeDSL.g:8228:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalCubeDSL.g:8228:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalCubeDSL.g:8229:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmLowerBoundAnded"
// $ANTLR start "entryRuleQualifiedNameWithWildcard"
// InternalCubeDSL.g:8250:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null;
try {
// InternalCubeDSL.g:8250:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
// InternalCubeDSL.g:8251:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNameWithWildcard.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNameWithWildcard"
// $ANTLR start "ruleQualifiedNameWithWildcard"
// InternalCubeDSL.g:8257:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ;
public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// InternalCubeDSL.g:8263:2: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) )
// InternalCubeDSL.g:8264:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
{
// InternalCubeDSL.g:8264:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
// InternalCubeDSL.g:8265:3: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_115);
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,40,FOLLOW_116); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1());
}
kw=(Token)match(input,44,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNameWithWildcard"
// $ANTLR start "entryRuleValidID"
// InternalCubeDSL.g:8289:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
public final String entryRuleValidID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleValidID = null;
try {
// InternalCubeDSL.g:8289:47: (iv_ruleValidID= ruleValidID EOF )
// InternalCubeDSL.g:8290:2: iv_ruleValidID= ruleValidID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getValidIDRule());
}
pushFollow(FOLLOW_1);
iv_ruleValidID=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleValidID.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleValidID"
// $ANTLR start "ruleValidID"
// InternalCubeDSL.g:8296: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 {
// InternalCubeDSL.g:8302:2: (this_ID_0= RULE_ID )
// InternalCubeDSL.g:8303:2: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleValidID"
// $ANTLR start "entryRuleXImportSection"
// InternalCubeDSL.g:8313:1: entryRuleXImportSection returns [EObject current=null] : iv_ruleXImportSection= ruleXImportSection EOF ;
public final EObject entryRuleXImportSection() throws RecognitionException {
EObject current = null;
EObject iv_ruleXImportSection = null;
try {
// InternalCubeDSL.g:8313:55: (iv_ruleXImportSection= ruleXImportSection EOF )
// InternalCubeDSL.g:8314:2: iv_ruleXImportSection= ruleXImportSection EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportSectionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXImportSection=ruleXImportSection();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXImportSection;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXImportSection"
// $ANTLR start "ruleXImportSection"
// InternalCubeDSL.g:8320:1: ruleXImportSection returns [EObject current=null] : ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ ;
public final EObject ruleXImportSection() throws RecognitionException {
EObject current = null;
EObject lv_importDeclarations_0_0 = null;
enterRule();
try {
// InternalCubeDSL.g:8326:2: ( ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ )
// InternalCubeDSL.g:8327:2: ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+
{
// InternalCubeDSL.g:8327:2: ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+
int cnt151=0;
loop151:
do {
int alt151=2;
int LA151_0 = input.LA(1);
if ( (LA151_0==41) ) {
alt151=1;
}
switch (alt151) {
case 1 :
// InternalCubeDSL.g:8328:3: (lv_importDeclarations_0_0= ruleXImportDeclaration )
{
// InternalCubeDSL.g:8328:3: (lv_importDeclarations_0_0= ruleXImportDeclaration )
// InternalCubeDSL.g:8329:4: lv_importDeclarations_0_0= ruleXImportDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportSectionAccess().getImportDeclarationsXImportDeclarationParserRuleCall_0());
}
pushFollow(FOLLOW_117);
lv_importDeclarations_0_0=ruleXImportDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportSectionRule());
}
add(
current,
"importDeclarations",
lv_importDeclarations_0_0,
"org.eclipse.osbp.xtext.oxtype.OXtype.XImportDeclaration");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt151 >= 1 ) break loop151;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(151, input);
throw eee;
}
cnt151++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXImportSection"
// $ANTLR start "entryRuleQualifiedNameInStaticImport"
// InternalCubeDSL.g:8349:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ;
public final String entryRuleQualifiedNameInStaticImport() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNameInStaticImport = null;
try {
// InternalCubeDSL.g:8349:67: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF )
// InternalCubeDSL.g:8350:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNameInStaticImport.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNameInStaticImport"
// $ANTLR start "ruleQualifiedNameInStaticImport"
// InternalCubeDSL.g:8356:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ;
public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// InternalCubeDSL.g:8362:2: ( (this_ValidID_0= ruleValidID kw= '.' )+ )
// InternalCubeDSL.g:8363:2: (this_ValidID_0= ruleValidID kw= '.' )+
{
// InternalCubeDSL.g:8363:2: (this_ValidID_0= ruleValidID kw= '.' )+
int cnt152=0;
loop152:
do {
int alt152=2;
int LA152_0 = input.LA(1);
if ( (LA152_0==RULE_ID) ) {
int LA152_2 = input.LA(2);
if ( (LA152_2==40) ) {
alt152=1;
}
}
switch (alt152) {
case 1 :
// InternalCubeDSL.g:8364:3: this_ValidID_0= ruleValidID kw= '.'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_115);
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,40,FOLLOW_118); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1());
}
}
break;
default :
if ( cnt152 >= 1 ) break loop152;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(152, input);
throw eee;
}
cnt152++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNameInStaticImport"
// $ANTLR start "ruleCubeAggregatorEnum"
// InternalCubeDSL.g:8383:1: ruleCubeAggregatorEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'count' ) | (enumLiteral_2= 'min' ) | (enumLiteral_3= 'max' ) | (enumLiteral_4= 'avg' ) | (enumLiteral_5= 'distinct-count' ) ) ;
public final Enumerator ruleCubeAggregatorEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
enterRule();
try {
// InternalCubeDSL.g:8389:2: ( ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'count' ) | (enumLiteral_2= 'min' ) | (enumLiteral_3= 'max' ) | (enumLiteral_4= 'avg' ) | (enumLiteral_5= 'distinct-count' ) ) )
// InternalCubeDSL.g:8390:2: ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'count' ) | (enumLiteral_2= 'min' ) | (enumLiteral_3= 'max' ) | (enumLiteral_4= 'avg' ) | (enumLiteral_5= 'distinct-count' ) )
{
// InternalCubeDSL.g:8390:2: ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'count' ) | (enumLiteral_2= 'min' ) | (enumLiteral_3= 'max' ) | (enumLiteral_4= 'avg' ) | (enumLiteral_5= 'distinct-count' ) )
int alt153=6;
switch ( input.LA(1) ) {
case 114:
{
alt153=1;
}
break;
case 115:
{
alt153=2;
}
break;
case 116:
{
alt153=3;
}
break;
case 117:
{
alt153=4;
}
break;
case 118:
{
alt153=5;
}
break;
case 119:
{
alt153=6;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 153, 0, input);
throw nvae;
}
switch (alt153) {
case 1 :
// InternalCubeDSL.g:8391:3: (enumLiteral_0= 'sum' )
{
// InternalCubeDSL.g:8391:3: (enumLiteral_0= 'sum' )
// InternalCubeDSL.g:8392:4: enumLiteral_0= 'sum'
{
enumLiteral_0=(Token)match(input,114,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeAggregatorEnumAccess().getSUMEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getCubeAggregatorEnumAccess().getSUMEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalCubeDSL.g:8399:3: (enumLiteral_1= 'count' )
{
// InternalCubeDSL.g:8399:3: (enumLiteral_1= 'count' )
// InternalCubeDSL.g:8400:4: enumLiteral_1= 'count'
{
enumLiteral_1=(Token)match(input,115,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeAggregatorEnumAccess().getCOUNTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getCubeAggregatorEnumAccess().getCOUNTEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalCubeDSL.g:8407:3: (enumLiteral_2= 'min' )
{
// InternalCubeDSL.g:8407:3: (enumLiteral_2= 'min' )
// InternalCubeDSL.g:8408:4: enumLiteral_2= 'min'
{
enumLiteral_2=(Token)match(input,116,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeAggregatorEnumAccess().getMINEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getCubeAggregatorEnumAccess().getMINEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalCubeDSL.g:8415:3: (enumLiteral_3= 'max' )
{
// InternalCubeDSL.g:8415:3: (enumLiteral_3= 'max' )
// InternalCubeDSL.g:8416:4: enumLiteral_3= 'max'
{
enumLiteral_3=(Token)match(input,117,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeAggregatorEnumAccess().getMAXEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getCubeAggregatorEnumAccess().getMAXEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalCubeDSL.g:8423:3: (enumLiteral_4= 'avg' )
{
// InternalCubeDSL.g:8423:3: (enumLiteral_4= 'avg' )
// InternalCubeDSL.g:8424:4: enumLiteral_4= 'avg'
{
enumLiteral_4=(Token)match(input,118,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeAggregatorEnumAccess().getAVGEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getCubeAggregatorEnumAccess().getAVGEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalCubeDSL.g:8431:3: (enumLiteral_5= 'distinct-count' )
{
// InternalCubeDSL.g:8431:3: (enumLiteral_5= 'distinct-count' )
// InternalCubeDSL.g:8432:4: enumLiteral_5= 'distinct-count'
{
enumLiteral_5=(Token)match(input,119,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeAggregatorEnumAccess().getDSCEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getCubeAggregatorEnumAccess().getDSCEnumLiteralDeclaration_5());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeAggregatorEnum"
// $ANTLR start "ruleCubeLevelPropType"
// InternalCubeDSL.g:8442:1: ruleCubeLevelPropType returns [Enumerator current=null] : ( (enumLiteral_0= 'String' ) | (enumLiteral_1= 'Numeric' ) | (enumLiteral_2= 'Integer' ) | (enumLiteral_3= 'Boolean' ) | (enumLiteral_4= 'Date' ) | (enumLiteral_5= 'Time' ) | (enumLiteral_6= 'Timestamp' ) ) ;
public final Enumerator ruleCubeLevelPropType() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
Token enumLiteral_6=null;
enterRule();
try {
// InternalCubeDSL.g:8448:2: ( ( (enumLiteral_0= 'String' ) | (enumLiteral_1= 'Numeric' ) | (enumLiteral_2= 'Integer' ) | (enumLiteral_3= 'Boolean' ) | (enumLiteral_4= 'Date' ) | (enumLiteral_5= 'Time' ) | (enumLiteral_6= 'Timestamp' ) ) )
// InternalCubeDSL.g:8449:2: ( (enumLiteral_0= 'String' ) | (enumLiteral_1= 'Numeric' ) | (enumLiteral_2= 'Integer' ) | (enumLiteral_3= 'Boolean' ) | (enumLiteral_4= 'Date' ) | (enumLiteral_5= 'Time' ) | (enumLiteral_6= 'Timestamp' ) )
{
// InternalCubeDSL.g:8449:2: ( (enumLiteral_0= 'String' ) | (enumLiteral_1= 'Numeric' ) | (enumLiteral_2= 'Integer' ) | (enumLiteral_3= 'Boolean' ) | (enumLiteral_4= 'Date' ) | (enumLiteral_5= 'Time' ) | (enumLiteral_6= 'Timestamp' ) )
int alt154=7;
switch ( input.LA(1) ) {
case 120:
{
alt154=1;
}
break;
case 121:
{
alt154=2;
}
break;
case 122:
{
alt154=3;
}
break;
case 123:
{
alt154=4;
}
break;
case 124:
{
alt154=5;
}
break;
case 125:
{
alt154=6;
}
break;
case 126:
{
alt154=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 154, 0, input);
throw nvae;
}
switch (alt154) {
case 1 :
// InternalCubeDSL.g:8450:3: (enumLiteral_0= 'String' )
{
// InternalCubeDSL.g:8450:3: (enumLiteral_0= 'String' )
// InternalCubeDSL.g:8451:4: enumLiteral_0= 'String'
{
enumLiteral_0=(Token)match(input,120,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getSTRINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getCubeLevelPropTypeAccess().getSTRINGEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalCubeDSL.g:8458:3: (enumLiteral_1= 'Numeric' )
{
// InternalCubeDSL.g:8458:3: (enumLiteral_1= 'Numeric' )
// InternalCubeDSL.g:8459:4: enumLiteral_1= 'Numeric'
{
enumLiteral_1=(Token)match(input,121,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getNUMERICEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getCubeLevelPropTypeAccess().getNUMERICEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalCubeDSL.g:8466:3: (enumLiteral_2= 'Integer' )
{
// InternalCubeDSL.g:8466:3: (enumLiteral_2= 'Integer' )
// InternalCubeDSL.g:8467:4: enumLiteral_2= 'Integer'
{
enumLiteral_2=(Token)match(input,122,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getINTEGEREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getCubeLevelPropTypeAccess().getINTEGEREnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalCubeDSL.g:8474:3: (enumLiteral_3= 'Boolean' )
{
// InternalCubeDSL.g:8474:3: (enumLiteral_3= 'Boolean' )
// InternalCubeDSL.g:8475:4: enumLiteral_3= 'Boolean'
{
enumLiteral_3=(Token)match(input,123,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getBOOLEANEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getCubeLevelPropTypeAccess().getBOOLEANEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalCubeDSL.g:8482:3: (enumLiteral_4= 'Date' )
{
// InternalCubeDSL.g:8482:3: (enumLiteral_4= 'Date' )
// InternalCubeDSL.g:8483:4: enumLiteral_4= 'Date'
{
enumLiteral_4=(Token)match(input,124,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getDATEEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getCubeLevelPropTypeAccess().getDATEEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalCubeDSL.g:8490:3: (enumLiteral_5= 'Time' )
{
// InternalCubeDSL.g:8490:3: (enumLiteral_5= 'Time' )
// InternalCubeDSL.g:8491:4: enumLiteral_5= 'Time'
{
enumLiteral_5=(Token)match(input,125,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getTIMEEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getCubeLevelPropTypeAccess().getTIMEEnumLiteralDeclaration_5());
}
}
}
break;
case 7 :
// InternalCubeDSL.g:8498:3: (enumLiteral_6= 'Timestamp' )
{
// InternalCubeDSL.g:8498:3: (enumLiteral_6= 'Timestamp' )
// InternalCubeDSL.g:8499:4: enumLiteral_6= 'Timestamp'
{
enumLiteral_6=(Token)match(input,126,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelPropTypeAccess().getTIMESTAMPEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_6, grammarAccess.getCubeLevelPropTypeAccess().getTIMESTAMPEnumLiteralDeclaration_6());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeLevelPropType"
// $ANTLR start "ruleCubeLevelLevelType"
// InternalCubeDSL.g:8509:1: ruleCubeLevelLevelType returns [Enumerator current=null] : ( (enumLiteral_0= 'Time' ) | (enumLiteral_1= 'TimeYears' ) | (enumLiteral_2= 'TimeHalfYears' ) | (enumLiteral_3= 'TimeQuarters' ) | (enumLiteral_4= 'TimeMonths' ) | (enumLiteral_5= 'TimeWeeks' ) | (enumLiteral_6= 'TimeDays' ) | (enumLiteral_7= 'TimeHours' ) | (enumLiteral_8= 'TimeMinutes' ) | (enumLiteral_9= 'TimeSeconds' ) ) ;
public final Enumerator ruleCubeLevelLevelType() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
Token enumLiteral_6=null;
Token enumLiteral_7=null;
Token enumLiteral_8=null;
Token enumLiteral_9=null;
enterRule();
try {
// InternalCubeDSL.g:8515:2: ( ( (enumLiteral_0= 'Time' ) | (enumLiteral_1= 'TimeYears' ) | (enumLiteral_2= 'TimeHalfYears' ) | (enumLiteral_3= 'TimeQuarters' ) | (enumLiteral_4= 'TimeMonths' ) | (enumLiteral_5= 'TimeWeeks' ) | (enumLiteral_6= 'TimeDays' ) | (enumLiteral_7= 'TimeHours' ) | (enumLiteral_8= 'TimeMinutes' ) | (enumLiteral_9= 'TimeSeconds' ) ) )
// InternalCubeDSL.g:8516:2: ( (enumLiteral_0= 'Time' ) | (enumLiteral_1= 'TimeYears' ) | (enumLiteral_2= 'TimeHalfYears' ) | (enumLiteral_3= 'TimeQuarters' ) | (enumLiteral_4= 'TimeMonths' ) | (enumLiteral_5= 'TimeWeeks' ) | (enumLiteral_6= 'TimeDays' ) | (enumLiteral_7= 'TimeHours' ) | (enumLiteral_8= 'TimeMinutes' ) | (enumLiteral_9= 'TimeSeconds' ) )
{
// InternalCubeDSL.g:8516:2: ( (enumLiteral_0= 'Time' ) | (enumLiteral_1= 'TimeYears' ) | (enumLiteral_2= 'TimeHalfYears' ) | (enumLiteral_3= 'TimeQuarters' ) | (enumLiteral_4= 'TimeMonths' ) | (enumLiteral_5= 'TimeWeeks' ) | (enumLiteral_6= 'TimeDays' ) | (enumLiteral_7= 'TimeHours' ) | (enumLiteral_8= 'TimeMinutes' ) | (enumLiteral_9= 'TimeSeconds' ) )
int alt155=10;
switch ( input.LA(1) ) {
case 125:
{
alt155=1;
}
break;
case 127:
{
alt155=2;
}
break;
case 128:
{
alt155=3;
}
break;
case 129:
{
alt155=4;
}
break;
case 130:
{
alt155=5;
}
break;
case 131:
{
alt155=6;
}
break;
case 132:
{
alt155=7;
}
break;
case 133:
{
alt155=8;
}
break;
case 134:
{
alt155=9;
}
break;
case 135:
{
alt155=10;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 155, 0, input);
throw nvae;
}
switch (alt155) {
case 1 :
// InternalCubeDSL.g:8517:3: (enumLiteral_0= 'Time' )
{
// InternalCubeDSL.g:8517:3: (enumLiteral_0= 'Time' )
// InternalCubeDSL.g:8518:4: enumLiteral_0= 'Time'
{
enumLiteral_0=(Token)match(input,125,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIMEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIMEEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalCubeDSL.g:8525:3: (enumLiteral_1= 'TimeYears' )
{
// InternalCubeDSL.g:8525:3: (enumLiteral_1= 'TimeYears' )
// InternalCubeDSL.g:8526:4: enumLiteral_1= 'TimeYears'
{
enumLiteral_1=(Token)match(input,127,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_YEARSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_YEARSEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalCubeDSL.g:8533:3: (enumLiteral_2= 'TimeHalfYears' )
{
// InternalCubeDSL.g:8533:3: (enumLiteral_2= 'TimeHalfYears' )
// InternalCubeDSL.g:8534:4: enumLiteral_2= 'TimeHalfYears'
{
enumLiteral_2=(Token)match(input,128,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_HALF_YEARSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_HALF_YEARSEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalCubeDSL.g:8541:3: (enumLiteral_3= 'TimeQuarters' )
{
// InternalCubeDSL.g:8541:3: (enumLiteral_3= 'TimeQuarters' )
// InternalCubeDSL.g:8542:4: enumLiteral_3= 'TimeQuarters'
{
enumLiteral_3=(Token)match(input,129,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_QUARTERSEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_QUARTERSEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalCubeDSL.g:8549:3: (enumLiteral_4= 'TimeMonths' )
{
// InternalCubeDSL.g:8549:3: (enumLiteral_4= 'TimeMonths' )
// InternalCubeDSL.g:8550:4: enumLiteral_4= 'TimeMonths'
{
enumLiteral_4=(Token)match(input,130,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_MONTHSEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_MONTHSEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalCubeDSL.g:8557:3: (enumLiteral_5= 'TimeWeeks' )
{
// InternalCubeDSL.g:8557:3: (enumLiteral_5= 'TimeWeeks' )
// InternalCubeDSL.g:8558:4: enumLiteral_5= 'TimeWeeks'
{
enumLiteral_5=(Token)match(input,131,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_WEEKSEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_WEEKSEnumLiteralDeclaration_5());
}
}
}
break;
case 7 :
// InternalCubeDSL.g:8565:3: (enumLiteral_6= 'TimeDays' )
{
// InternalCubeDSL.g:8565:3: (enumLiteral_6= 'TimeDays' )
// InternalCubeDSL.g:8566:4: enumLiteral_6= 'TimeDays'
{
enumLiteral_6=(Token)match(input,132,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_DAYSEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_6, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_DAYSEnumLiteralDeclaration_6());
}
}
}
break;
case 8 :
// InternalCubeDSL.g:8573:3: (enumLiteral_7= 'TimeHours' )
{
// InternalCubeDSL.g:8573:3: (enumLiteral_7= 'TimeHours' )
// InternalCubeDSL.g:8574:4: enumLiteral_7= 'TimeHours'
{
enumLiteral_7=(Token)match(input,133,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_HOURSEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_7, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_HOURSEnumLiteralDeclaration_7());
}
}
}
break;
case 9 :
// InternalCubeDSL.g:8581:3: (enumLiteral_8= 'TimeMinutes' )
{
// InternalCubeDSL.g:8581:3: (enumLiteral_8= 'TimeMinutes' )
// InternalCubeDSL.g:8582:4: enumLiteral_8= 'TimeMinutes'
{
enumLiteral_8=(Token)match(input,134,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_MINUTESEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_8, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_MINUTESEnumLiteralDeclaration_8());
}
}
}
break;
case 10 :
// InternalCubeDSL.g:8589:3: (enumLiteral_9= 'TimeSeconds' )
{
// InternalCubeDSL.g:8589:3: (enumLiteral_9= 'TimeSeconds' )
// InternalCubeDSL.g:8590:4: enumLiteral_9= 'TimeSeconds'
{
enumLiteral_9=(Token)match(input,135,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_SECONDSEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_9, grammarAccess.getCubeLevelLevelTypeAccess().getMDLEVEL_TYPE_TIME_SECONDSEnumLiteralDeclaration_9());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCubeLevelLevelType"
// $ANTLR start synpred1_InternalCubeDSL
public final void synpred1_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:1759:5: ( '(' )
// InternalCubeDSL.g:1759:6: '('
{
match(input,48,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred1_InternalCubeDSL
// $ANTLR start synpred2_InternalCubeDSL
public final void synpred2_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:1768:7: ( ( ( ( ruleValidID ) ) '=' ) )
// InternalCubeDSL.g:1768:8: ( ( ( ruleValidID ) ) '=' )
{
// InternalCubeDSL.g:1768:8: ( ( ( ruleValidID ) ) '=' )
// InternalCubeDSL.g:1769:8: ( ( ruleValidID ) ) '='
{
// InternalCubeDSL.g:1769:8: ( ( ruleValidID ) )
// InternalCubeDSL.g:1770:9: ( ruleValidID )
{
// InternalCubeDSL.g:1770:9: ( ruleValidID )
// InternalCubeDSL.g:1771:10: ruleValidID
{
pushFollow(FOLLOW_46);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
match(input,51,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred2_InternalCubeDSL
// $ANTLR start synpred5_InternalCubeDSL
public final void synpred5_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:1948:5: ( ( () '#' '[' ) )
// InternalCubeDSL.g:1948:6: ( () '#' '[' )
{
// InternalCubeDSL.g:1948:6: ( () '#' '[' )
// InternalCubeDSL.g:1949:6: () '#' '['
{
// InternalCubeDSL.g:1949:6: ()
// InternalCubeDSL.g:1950:6:
{
}
match(input,52,FOLLOW_48); if (state.failed) return ;
match(input,53,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred5_InternalCubeDSL
// $ANTLR start synpred6_InternalCubeDSL
public final void synpred6_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2090:5: ( ( () '#' '[' ) )
// InternalCubeDSL.g:2090:6: ( () '#' '[' )
{
// InternalCubeDSL.g:2090:6: ( () '#' '[' )
// InternalCubeDSL.g:2091:6: () '#' '['
{
// InternalCubeDSL.g:2091:6: ()
// InternalCubeDSL.g:2092:6:
{
}
match(input,52,FOLLOW_48); if (state.failed) return ;
match(input,53,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred6_InternalCubeDSL
// $ANTLR start synpred7_InternalCubeDSL
public final void synpred7_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2318:6: ( ( () ( ( ruleOpMultiAssign ) ) ) )
// InternalCubeDSL.g:2318:7: ( () ( ( ruleOpMultiAssign ) ) )
{
// InternalCubeDSL.g:2318:7: ( () ( ( ruleOpMultiAssign ) ) )
// InternalCubeDSL.g:2319:7: () ( ( ruleOpMultiAssign ) )
{
// InternalCubeDSL.g:2319:7: ()
// InternalCubeDSL.g:2320:7:
{
}
// InternalCubeDSL.g:2321:7: ( ( ruleOpMultiAssign ) )
// InternalCubeDSL.g:2322:8: ( ruleOpMultiAssign )
{
// InternalCubeDSL.g:2322:8: ( ruleOpMultiAssign )
// InternalCubeDSL.g:2323:9: ruleOpMultiAssign
{
pushFollow(FOLLOW_2);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred7_InternalCubeDSL
// $ANTLR start synpred8_InternalCubeDSL
public final void synpred8_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2512:5: ( ( () ( ( ruleOpOr ) ) ) )
// InternalCubeDSL.g:2512:6: ( () ( ( ruleOpOr ) ) )
{
// InternalCubeDSL.g:2512:6: ( () ( ( ruleOpOr ) ) )
// InternalCubeDSL.g:2513:6: () ( ( ruleOpOr ) )
{
// InternalCubeDSL.g:2513:6: ()
// InternalCubeDSL.g:2514:6:
{
}
// InternalCubeDSL.g:2515:6: ( ( ruleOpOr ) )
// InternalCubeDSL.g:2516:7: ( ruleOpOr )
{
// InternalCubeDSL.g:2516:7: ( ruleOpOr )
// InternalCubeDSL.g:2517:8: ruleOpOr
{
pushFollow(FOLLOW_2);
ruleOpOr();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred8_InternalCubeDSL
// $ANTLR start synpred9_InternalCubeDSL
public final void synpred9_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2619:5: ( ( () ( ( ruleOpAnd ) ) ) )
// InternalCubeDSL.g:2619:6: ( () ( ( ruleOpAnd ) ) )
{
// InternalCubeDSL.g:2619:6: ( () ( ( ruleOpAnd ) ) )
// InternalCubeDSL.g:2620:6: () ( ( ruleOpAnd ) )
{
// InternalCubeDSL.g:2620:6: ()
// InternalCubeDSL.g:2621:6:
{
}
// InternalCubeDSL.g:2622:6: ( ( ruleOpAnd ) )
// InternalCubeDSL.g:2623:7: ( ruleOpAnd )
{
// InternalCubeDSL.g:2623:7: ( ruleOpAnd )
// InternalCubeDSL.g:2624:8: ruleOpAnd
{
pushFollow(FOLLOW_2);
ruleOpAnd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred9_InternalCubeDSL
// $ANTLR start synpred10_InternalCubeDSL
public final void synpred10_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2726:5: ( ( () ( ( ruleOpEquality ) ) ) )
// InternalCubeDSL.g:2726:6: ( () ( ( ruleOpEquality ) ) )
{
// InternalCubeDSL.g:2726:6: ( () ( ( ruleOpEquality ) ) )
// InternalCubeDSL.g:2727:6: () ( ( ruleOpEquality ) )
{
// InternalCubeDSL.g:2727:6: ()
// InternalCubeDSL.g:2728:6:
{
}
// InternalCubeDSL.g:2729:6: ( ( ruleOpEquality ) )
// InternalCubeDSL.g:2730:7: ( ruleOpEquality )
{
// InternalCubeDSL.g:2730:7: ( ruleOpEquality )
// InternalCubeDSL.g:2731:8: ruleOpEquality
{
pushFollow(FOLLOW_2);
ruleOpEquality();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred10_InternalCubeDSL
// $ANTLR start synpred11_InternalCubeDSL
public final void synpred11_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2854:6: ( ( () 'instanceof' ) )
// InternalCubeDSL.g:2854:7: ( () 'instanceof' )
{
// InternalCubeDSL.g:2854:7: ( () 'instanceof' )
// InternalCubeDSL.g:2855:7: () 'instanceof'
{
// InternalCubeDSL.g:2855:7: ()
// InternalCubeDSL.g:2856:7:
{
}
match(input,69,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred11_InternalCubeDSL
// $ANTLR start synpred12_InternalCubeDSL
public final void synpred12_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:2897:6: ( ( () ( ( ruleOpCompare ) ) ) )
// InternalCubeDSL.g:2897:7: ( () ( ( ruleOpCompare ) ) )
{
// InternalCubeDSL.g:2897:7: ( () ( ( ruleOpCompare ) ) )
// InternalCubeDSL.g:2898:7: () ( ( ruleOpCompare ) )
{
// InternalCubeDSL.g:2898:7: ()
// InternalCubeDSL.g:2899:7:
{
}
// InternalCubeDSL.g:2900:7: ( ( ruleOpCompare ) )
// InternalCubeDSL.g:2901:8: ( ruleOpCompare )
{
// InternalCubeDSL.g:2901:8: ( ruleOpCompare )
// InternalCubeDSL.g:2902:9: ruleOpCompare
{
pushFollow(FOLLOW_2);
ruleOpCompare();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred12_InternalCubeDSL
// $ANTLR start synpred13_InternalCubeDSL
public final void synpred13_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3032:5: ( ( () ( ( ruleOpOther ) ) ) )
// InternalCubeDSL.g:3032:6: ( () ( ( ruleOpOther ) ) )
{
// InternalCubeDSL.g:3032:6: ( () ( ( ruleOpOther ) ) )
// InternalCubeDSL.g:3033:6: () ( ( ruleOpOther ) )
{
// InternalCubeDSL.g:3033:6: ()
// InternalCubeDSL.g:3034:6:
{
}
// InternalCubeDSL.g:3035:6: ( ( ruleOpOther ) )
// InternalCubeDSL.g:3036:7: ( ruleOpOther )
{
// InternalCubeDSL.g:3036:7: ( ruleOpOther )
// InternalCubeDSL.g:3037:8: ruleOpOther
{
pushFollow(FOLLOW_2);
ruleOpOther();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred13_InternalCubeDSL
// $ANTLR start synpred14_InternalCubeDSL
public final void synpred14_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3152:6: ( ( '>' '>' ) )
// InternalCubeDSL.g:3152:7: ( '>' '>' )
{
// InternalCubeDSL.g:3152:7: ( '>' '>' )
// InternalCubeDSL.g:3153:7: '>' '>'
{
match(input,61,FOLLOW_63); if (state.failed) return ;
match(input,61,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred14_InternalCubeDSL
// $ANTLR start synpred15_InternalCubeDSL
public final void synpred15_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3187:6: ( ( '<' '<' ) )
// InternalCubeDSL.g:3187:7: ( '<' '<' )
{
// InternalCubeDSL.g:3187:7: ( '<' '<' )
// InternalCubeDSL.g:3188:7: '<' '<'
{
match(input,60,FOLLOW_53); if (state.failed) return ;
match(input,60,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred15_InternalCubeDSL
// $ANTLR start synpred16_InternalCubeDSL
public final void synpred16_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3260:5: ( ( () ( ( ruleOpAdd ) ) ) )
// InternalCubeDSL.g:3260:6: ( () ( ( ruleOpAdd ) ) )
{
// InternalCubeDSL.g:3260:6: ( () ( ( ruleOpAdd ) ) )
// InternalCubeDSL.g:3261:6: () ( ( ruleOpAdd ) )
{
// InternalCubeDSL.g:3261:6: ()
// InternalCubeDSL.g:3262:6:
{
}
// InternalCubeDSL.g:3263:6: ( ( ruleOpAdd ) )
// InternalCubeDSL.g:3264:7: ( ruleOpAdd )
{
// InternalCubeDSL.g:3264:7: ( ruleOpAdd )
// InternalCubeDSL.g:3265:8: ruleOpAdd
{
pushFollow(FOLLOW_2);
ruleOpAdd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred16_InternalCubeDSL
// $ANTLR start synpred17_InternalCubeDSL
public final void synpred17_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3375:5: ( ( () ( ( ruleOpMulti ) ) ) )
// InternalCubeDSL.g:3375:6: ( () ( ( ruleOpMulti ) ) )
{
// InternalCubeDSL.g:3375:6: ( () ( ( ruleOpMulti ) ) )
// InternalCubeDSL.g:3376:6: () ( ( ruleOpMulti ) )
{
// InternalCubeDSL.g:3376:6: ()
// InternalCubeDSL.g:3377:6:
{
}
// InternalCubeDSL.g:3378:6: ( ( ruleOpMulti ) )
// InternalCubeDSL.g:3379:7: ( ruleOpMulti )
{
// InternalCubeDSL.g:3379:7: ( ruleOpMulti )
// InternalCubeDSL.g:3380:8: ruleOpMulti
{
pushFollow(FOLLOW_2);
ruleOpMulti();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred17_InternalCubeDSL
// $ANTLR start synpred18_InternalCubeDSL
public final void synpred18_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3610:5: ( ( () 'as' ) )
// InternalCubeDSL.g:3610:6: ( () 'as' )
{
// InternalCubeDSL.g:3610:6: ( () 'as' )
// InternalCubeDSL.g:3611:6: () 'as'
{
// InternalCubeDSL.g:3611:6: ()
// InternalCubeDSL.g:3612:6:
{
}
match(input,82,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred18_InternalCubeDSL
// $ANTLR start synpred19_InternalCubeDSL
public final void synpred19_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3678:4: ( ( () ( ( ruleOpPostfix ) ) ) )
// InternalCubeDSL.g:3678:5: ( () ( ( ruleOpPostfix ) ) )
{
// InternalCubeDSL.g:3678:5: ( () ( ( ruleOpPostfix ) ) )
// InternalCubeDSL.g:3679:5: () ( ( ruleOpPostfix ) )
{
// InternalCubeDSL.g:3679:5: ()
// InternalCubeDSL.g:3680:5:
{
}
// InternalCubeDSL.g:3681:5: ( ( ruleOpPostfix ) )
// InternalCubeDSL.g:3682:6: ( ruleOpPostfix )
{
// InternalCubeDSL.g:3682:6: ( ruleOpPostfix )
// InternalCubeDSL.g:3683:7: ruleOpPostfix
{
pushFollow(FOLLOW_2);
ruleOpPostfix();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred19_InternalCubeDSL
// $ANTLR start synpred20_InternalCubeDSL
public final void synpred20_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3774:6: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// InternalCubeDSL.g:3774:7: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// InternalCubeDSL.g:3774:7: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// InternalCubeDSL.g:3775:7: () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// InternalCubeDSL.g:3775:7: ()
// InternalCubeDSL.g:3776:7:
{
}
// InternalCubeDSL.g:3777:7: ( '.' | ( ( '::' ) ) )
int alt156=2;
int LA156_0 = input.LA(1);
if ( (LA156_0==40) ) {
alt156=1;
}
else if ( (LA156_0==85) ) {
alt156=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 156, 0, input);
throw nvae;
}
switch (alt156) {
case 1 :
// InternalCubeDSL.g:3778:8: '.'
{
match(input,40,FOLLOW_70); if (state.failed) return ;
}
break;
case 2 :
// InternalCubeDSL.g:3780:8: ( ( '::' ) )
{
// InternalCubeDSL.g:3780:8: ( ( '::' ) )
// InternalCubeDSL.g:3781:9: ( '::' )
{
// InternalCubeDSL.g:3781:9: ( '::' )
// InternalCubeDSL.g:3782:10: '::'
{
match(input,85,FOLLOW_70); if (state.failed) return ;
}
}
}
break;
}
// InternalCubeDSL.g:3786:7: ( ( ruleFeatureCallID ) )
// InternalCubeDSL.g:3787:8: ( ruleFeatureCallID )
{
// InternalCubeDSL.g:3787:8: ( ruleFeatureCallID )
// InternalCubeDSL.g:3788:9: ruleFeatureCallID
{
pushFollow(FOLLOW_46);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return ;
}
}
pushFollow(FOLLOW_2);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred20_InternalCubeDSL
// $ANTLR start synpred21_InternalCubeDSL
public final void synpred21_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:3871:6: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )
// InternalCubeDSL.g:3871:7: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) )
{
// InternalCubeDSL.g:3871:7: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) )
// InternalCubeDSL.g:3872:7: () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) )
{
// InternalCubeDSL.g:3872:7: ()
// InternalCubeDSL.g:3873:7:
{
}
// InternalCubeDSL.g:3874:7: ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) )
int alt157=3;
switch ( input.LA(1) ) {
case 40:
{
alt157=1;
}
break;
case 86:
{
alt157=2;
}
break;
case 85:
{
alt157=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 157, 0, input);
throw nvae;
}
switch (alt157) {
case 1 :
// InternalCubeDSL.g:3875:8: '.'
{
match(input,40,FOLLOW_2); if (state.failed) return ;
}
break;
case 2 :
// InternalCubeDSL.g:3877:8: ( ( '?.' ) )
{
// InternalCubeDSL.g:3877:8: ( ( '?.' ) )
// InternalCubeDSL.g:3878:9: ( '?.' )
{
// InternalCubeDSL.g:3878:9: ( '?.' )
// InternalCubeDSL.g:3879:10: '?.'
{
match(input,86,FOLLOW_2); if (state.failed) return ;
}
}
}
break;
case 3 :
// InternalCubeDSL.g:3883:8: ( ( '::' ) )
{
// InternalCubeDSL.g:3883:8: ( ( '::' ) )
// InternalCubeDSL.g:3884:9: ( '::' )
{
// InternalCubeDSL.g:3884:9: ( '::' )
// InternalCubeDSL.g:3885:10: '::'
{
match(input,85,FOLLOW_2); if (state.failed) return ;
}
}
}
break;
}
}
}
}
// $ANTLR end synpred21_InternalCubeDSL
// $ANTLR start synpred22_InternalCubeDSL
public final void synpred22_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4009:7: ( ( '(' ) )
// InternalCubeDSL.g:4009:8: ( '(' )
{
// InternalCubeDSL.g:4009:8: ( '(' )
// InternalCubeDSL.g:4010:8: '('
{
match(input,48,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred22_InternalCubeDSL
// $ANTLR start synpred23_InternalCubeDSL
public final void synpred23_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4028:8: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalCubeDSL.g:4028:9: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalCubeDSL.g:4028:9: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalCubeDSL.g:4029:9: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalCubeDSL.g:4029:9: ()
// InternalCubeDSL.g:4030:9:
{
}
// InternalCubeDSL.g:4031:9: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt159=2;
int LA159_0 = input.LA(1);
if ( (LA159_0==RULE_ID||LA159_0==48||LA159_0==73) ) {
alt159=1;
}
switch (alt159) {
case 1 :
// InternalCubeDSL.g:4032:10: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalCubeDSL.g:4032:10: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4033:11: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4033:11: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:4034:12: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalCubeDSL.g:4037:10: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop158:
do {
int alt158=2;
int LA158_0 = input.LA(1);
if ( (LA158_0==49) ) {
alt158=1;
}
switch (alt158) {
case 1 :
// InternalCubeDSL.g:4038:11: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,49,FOLLOW_60); if (state.failed) return ;
// InternalCubeDSL.g:4039:11: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4040:12: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4040:12: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:4041:13: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop158;
}
} while (true);
}
break;
}
// InternalCubeDSL.g:4046:9: ( ( '|' ) )
// InternalCubeDSL.g:4047:10: ( '|' )
{
// InternalCubeDSL.g:4047:10: ( '|' )
// InternalCubeDSL.g:4048:11: '|'
{
match(input,87,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred23_InternalCubeDSL
// $ANTLR start synpred24_InternalCubeDSL
public final void synpred24_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4125:6: ( ( () '[' ) )
// InternalCubeDSL.g:4125:7: ( () '[' )
{
// InternalCubeDSL.g:4125:7: ( () '[' )
// InternalCubeDSL.g:4126:7: () '['
{
// InternalCubeDSL.g:4126:7: ()
// InternalCubeDSL.g:4127:7:
{
}
match(input,53,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred24_InternalCubeDSL
// $ANTLR start synpred25_InternalCubeDSL
public final void synpred25_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4198:4: ( ( () 'synchronized' '(' ) )
// InternalCubeDSL.g:4198:5: ( () 'synchronized' '(' )
{
// InternalCubeDSL.g:4198:5: ( () 'synchronized' '(' )
// InternalCubeDSL.g:4199:5: () 'synchronized' '('
{
// InternalCubeDSL.g:4199:5: ()
// InternalCubeDSL.g:4200:5:
{
}
match(input,110,FOLLOW_85); if (state.failed) return ;
match(input,48,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred25_InternalCubeDSL
// $ANTLR start synpred26_InternalCubeDSL
public final void synpred26_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4243:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )
// InternalCubeDSL.g:4243:5: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' )
{
// InternalCubeDSL.g:4243:5: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' )
// InternalCubeDSL.g:4244:5: () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':'
{
// InternalCubeDSL.g:4244:5: ()
// InternalCubeDSL.g:4245:5:
{
}
match(input,94,FOLLOW_85); if (state.failed) return ;
match(input,48,FOLLOW_60); if (state.failed) return ;
// InternalCubeDSL.g:4248:5: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4249:6: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4249:6: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:4250:7: ruleJvmFormalParameter
{
pushFollow(FOLLOW_88);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,91,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred26_InternalCubeDSL
// $ANTLR start synpred27_InternalCubeDSL
public final void synpred27_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4357:4: ( ( () '[' ) )
// InternalCubeDSL.g:4357:5: ( () '[' )
{
// InternalCubeDSL.g:4357:5: ( () '[' )
// InternalCubeDSL.g:4358:5: () '['
{
// InternalCubeDSL.g:4358:5: ()
// InternalCubeDSL.g:4359:5:
{
}
match(input,53,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred27_InternalCubeDSL
// $ANTLR start synpred29_InternalCubeDSL
public final void synpred29_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:4662:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalCubeDSL.g:4662:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalCubeDSL.g:4662:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalCubeDSL.g:4663:5: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalCubeDSL.g:4663:5: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt161=2;
int LA161_0 = input.LA(1);
if ( (LA161_0==RULE_ID||LA161_0==48||LA161_0==73) ) {
alt161=1;
}
switch (alt161) {
case 1 :
// InternalCubeDSL.g:4664:6: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalCubeDSL.g:4664:6: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4665:7: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4665:7: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:4666:8: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalCubeDSL.g:4669:6: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop160:
do {
int alt160=2;
int LA160_0 = input.LA(1);
if ( (LA160_0==49) ) {
alt160=1;
}
switch (alt160) {
case 1 :
// InternalCubeDSL.g:4670:7: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,49,FOLLOW_60); if (state.failed) return ;
// InternalCubeDSL.g:4671:7: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:4672:8: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:4672:8: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:4673:9: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop160;
}
} while (true);
}
break;
}
// InternalCubeDSL.g:4678:5: ( ( '|' ) )
// InternalCubeDSL.g:4679:6: ( '|' )
{
// InternalCubeDSL.g:4679:6: ( '|' )
// InternalCubeDSL.g:4680:7: '|'
{
match(input,87,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred29_InternalCubeDSL
// $ANTLR start synpred31_InternalCubeDSL
public final void synpred31_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:5071:5: ( 'else' )
// InternalCubeDSL.g:5071:6: 'else'
{
match(input,89,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred31_InternalCubeDSL
// $ANTLR start synpred32_InternalCubeDSL
public final void synpred32_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:5130:6: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )
// InternalCubeDSL.g:5130:7: ( '(' ( ( ruleJvmFormalParameter ) ) ':' )
{
// InternalCubeDSL.g:5130:7: ( '(' ( ( ruleJvmFormalParameter ) ) ':' )
// InternalCubeDSL.g:5131:7: '(' ( ( ruleJvmFormalParameter ) ) ':'
{
match(input,48,FOLLOW_60); if (state.failed) return ;
// InternalCubeDSL.g:5132:7: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:5133:8: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:5133:8: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:5134:9: ruleJvmFormalParameter
{
pushFollow(FOLLOW_88);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,91,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred32_InternalCubeDSL
// $ANTLR start synpred33_InternalCubeDSL
public final void synpred33_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:5197:6: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )
// InternalCubeDSL.g:5197:7: ( ( ( ruleJvmFormalParameter ) ) ':' )
{
// InternalCubeDSL.g:5197:7: ( ( ( ruleJvmFormalParameter ) ) ':' )
// InternalCubeDSL.g:5198:7: ( ( ruleJvmFormalParameter ) ) ':'
{
// InternalCubeDSL.g:5198:7: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:5199:8: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:5199:8: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:5200:9: ruleJvmFormalParameter
{
pushFollow(FOLLOW_88);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,91,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred33_InternalCubeDSL
// $ANTLR start synpred35_InternalCubeDSL
public final void synpred35_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6015:5: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )
// InternalCubeDSL.g:6015:6: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
{
// InternalCubeDSL.g:6015:6: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
// InternalCubeDSL.g:6016:6: ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) )
{
// InternalCubeDSL.g:6016:6: ( ( ruleJvmTypeReference ) )
// InternalCubeDSL.g:6017:7: ( ruleJvmTypeReference )
{
// InternalCubeDSL.g:6017:7: ( ruleJvmTypeReference )
// InternalCubeDSL.g:6018:8: ruleJvmTypeReference
{
pushFollow(FOLLOW_4);
ruleJvmTypeReference();
state._fsp--;
if (state.failed) return ;
}
}
// InternalCubeDSL.g:6021:6: ( ( ruleValidID ) )
// InternalCubeDSL.g:6022:7: ( ruleValidID )
{
// InternalCubeDSL.g:6022:7: ( ruleValidID )
// InternalCubeDSL.g:6023:8: ruleValidID
{
pushFollow(FOLLOW_2);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred35_InternalCubeDSL
// $ANTLR start synpred36_InternalCubeDSL
public final void synpred36_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6327:5: ( ( '(' ) )
// InternalCubeDSL.g:6327:6: ( '(' )
{
// InternalCubeDSL.g:6327:6: ( '(' )
// InternalCubeDSL.g:6328:6: '('
{
match(input,48,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred36_InternalCubeDSL
// $ANTLR start synpred37_InternalCubeDSL
public final void synpred37_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6346:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalCubeDSL.g:6346:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalCubeDSL.g:6346:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalCubeDSL.g:6347:7: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalCubeDSL.g:6347:7: ()
// InternalCubeDSL.g:6348:7:
{
}
// InternalCubeDSL.g:6349:7: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt165=2;
int LA165_0 = input.LA(1);
if ( (LA165_0==RULE_ID||LA165_0==48||LA165_0==73) ) {
alt165=1;
}
switch (alt165) {
case 1 :
// InternalCubeDSL.g:6350:8: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalCubeDSL.g:6350:8: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:6351:9: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:6351:9: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:6352:10: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalCubeDSL.g:6355:8: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop164:
do {
int alt164=2;
int LA164_0 = input.LA(1);
if ( (LA164_0==49) ) {
alt164=1;
}
switch (alt164) {
case 1 :
// InternalCubeDSL.g:6356:9: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,49,FOLLOW_60); if (state.failed) return ;
// InternalCubeDSL.g:6357:9: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:6358:10: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:6358:10: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:6359:11: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop164;
}
} while (true);
}
break;
}
// InternalCubeDSL.g:6364:7: ( ( '|' ) )
// InternalCubeDSL.g:6365:8: ( '|' )
{
// InternalCubeDSL.g:6365:8: ( '|' )
// InternalCubeDSL.g:6366:9: '|'
{
match(input,87,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred37_InternalCubeDSL
// $ANTLR start synpred38_InternalCubeDSL
public final void synpred38_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6443:4: ( ( () '[' ) )
// InternalCubeDSL.g:6443:5: ( () '[' )
{
// InternalCubeDSL.g:6443:5: ( () '[' )
// InternalCubeDSL.g:6444:5: () '['
{
// InternalCubeDSL.g:6444:5: ()
// InternalCubeDSL.g:6445:5:
{
}
match(input,53,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred38_InternalCubeDSL
// $ANTLR start synpred39_InternalCubeDSL
public final void synpred39_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6603:5: ( '<' )
// InternalCubeDSL.g:6603:6: '<'
{
match(input,60,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred39_InternalCubeDSL
// $ANTLR start synpred40_InternalCubeDSL
public final void synpred40_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6660:5: ( ( '(' ) )
// InternalCubeDSL.g:6660:6: ( '(' )
{
// InternalCubeDSL.g:6660:6: ( '(' )
// InternalCubeDSL.g:6661:6: '('
{
match(input,48,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred40_InternalCubeDSL
// $ANTLR start synpred41_InternalCubeDSL
public final void synpred41_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6679:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalCubeDSL.g:6679:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalCubeDSL.g:6679:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalCubeDSL.g:6680:7: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalCubeDSL.g:6680:7: ()
// InternalCubeDSL.g:6681:7:
{
}
// InternalCubeDSL.g:6682:7: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt167=2;
int LA167_0 = input.LA(1);
if ( (LA167_0==RULE_ID||LA167_0==48||LA167_0==73) ) {
alt167=1;
}
switch (alt167) {
case 1 :
// InternalCubeDSL.g:6683:8: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalCubeDSL.g:6683:8: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:6684:9: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:6684:9: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:6685:10: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalCubeDSL.g:6688:8: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop166:
do {
int alt166=2;
int LA166_0 = input.LA(1);
if ( (LA166_0==49) ) {
alt166=1;
}
switch (alt166) {
case 1 :
// InternalCubeDSL.g:6689:9: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,49,FOLLOW_60); if (state.failed) return ;
// InternalCubeDSL.g:6690:9: ( ( ruleJvmFormalParameter ) )
// InternalCubeDSL.g:6691:10: ( ruleJvmFormalParameter )
{
// InternalCubeDSL.g:6691:10: ( ruleJvmFormalParameter )
// InternalCubeDSL.g:6692:11: ruleJvmFormalParameter
{
pushFollow(FOLLOW_80);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop166;
}
} while (true);
}
break;
}
// InternalCubeDSL.g:6697:7: ( ( '|' ) )
// InternalCubeDSL.g:6698:8: ( '|' )
{
// InternalCubeDSL.g:6698:8: ( '|' )
// InternalCubeDSL.g:6699:9: '|'
{
match(input,87,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred41_InternalCubeDSL
// $ANTLR start synpred42_InternalCubeDSL
public final void synpred42_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:6776:4: ( ( () '[' ) )
// InternalCubeDSL.g:6776:5: ( () '[' )
{
// InternalCubeDSL.g:6776:5: ( () '[' )
// InternalCubeDSL.g:6777:5: () '['
{
// InternalCubeDSL.g:6777:5: ()
// InternalCubeDSL.g:6778:5:
{
}
match(input,53,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred42_InternalCubeDSL
// $ANTLR start synpred43_InternalCubeDSL
public final void synpred43_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7119:4: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )
// InternalCubeDSL.g:
{
if ( (input.LA(1)>=RULE_ID && input.LA(1)<=RULE_DECIMAL)||input.LA(1)==14||(input.LA(1)>=41 && input.LA(1)<=43)||input.LA(1)==48||(input.LA(1)>=52 && input.LA(1)<=53)||input.LA(1)==60||(input.LA(1)>=76 && input.LA(1)<=77)||input.LA(1)==81||input.LA(1)==88||input.LA(1)==90||(input.LA(1)>=94 && input.LA(1)<=96)||(input.LA(1)>=99 && input.LA(1)<=108)||input.LA(1)==110 ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred43_InternalCubeDSL
// $ANTLR start synpred44_InternalCubeDSL
public final void synpred44_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7190:6: ( 'catch' )
// InternalCubeDSL.g:7190:7: 'catch'
{
match(input,111,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred44_InternalCubeDSL
// $ANTLR start synpred45_InternalCubeDSL
public final void synpred45_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7211:7: ( 'finally' )
// InternalCubeDSL.g:7211:8: 'finally'
{
match(input,109,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred45_InternalCubeDSL
// $ANTLR start synpred48_InternalCubeDSL
public final void synpred48_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7455:5: ( '.' )
// InternalCubeDSL.g:7455:6: '.'
{
match(input,40,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred48_InternalCubeDSL
// $ANTLR start synpred49_InternalCubeDSL
public final void synpred49_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7581:5: ( ( () ruleArrayBrackets ) )
// InternalCubeDSL.g:7581:6: ( () ruleArrayBrackets )
{
// InternalCubeDSL.g:7581:6: ( () ruleArrayBrackets )
// InternalCubeDSL.g:7582:6: () ruleArrayBrackets
{
// InternalCubeDSL.g:7582:6: ()
// InternalCubeDSL.g:7583:6:
{
}
pushFollow(FOLLOW_2);
ruleArrayBrackets();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred49_InternalCubeDSL
// $ANTLR start synpred50_InternalCubeDSL
public final void synpred50_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7778:5: ( '<' )
// InternalCubeDSL.g:7778:6: '<'
{
match(input,60,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred50_InternalCubeDSL
// $ANTLR start synpred51_InternalCubeDSL
public final void synpred51_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7834:6: ( ( () '.' ) )
// InternalCubeDSL.g:7834:7: ( () '.' )
{
// InternalCubeDSL.g:7834:7: ( () '.' )
// InternalCubeDSL.g:7835:7: () '.'
{
// InternalCubeDSL.g:7835:7: ()
// InternalCubeDSL.g:7836:7:
{
}
match(input,40,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred51_InternalCubeDSL
// $ANTLR start synpred52_InternalCubeDSL
public final void synpred52_InternalCubeDSL_fragment() throws RecognitionException {
// InternalCubeDSL.g:7872:7: ( '<' )
// InternalCubeDSL.g:7872:8: '<'
{
match(input,60,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred52_InternalCubeDSL
// Delegated rules
public final boolean synpred1_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred1_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred45_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred45_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred33_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred26_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred29_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred23_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred42_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred11_InternalCubeDSL_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 synpred48_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred48_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred14_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred17_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred40_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred7_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred12_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred36_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred43_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred43_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred39_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred39_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred15_InternalCubeDSL_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 synpred52_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred52_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred27_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred27_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred24_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred21_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred22_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred37_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred8_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred18_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred5_InternalCubeDSL_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 synpred49_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred49_InternalCubeDSL_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 synpred50_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred50_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred25_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred25_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred2_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred2_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred31_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred16_InternalCubeDSL_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 synpred51_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred51_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred20_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred32_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred35_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred19_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred38_InternalCubeDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred44_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred44_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred13_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred10_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred6_InternalCubeDSL_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 synpred41_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred41_InternalCubeDSL_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_InternalCubeDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred9_InternalCubeDSL_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 DFA32 dfa32 = new DFA32(this);
protected DFA35 dfa35 = new DFA35(this);
protected DFA41 dfa41 = new DFA41(this);
protected DFA44 dfa44 = new DFA44(this);
protected DFA46 dfa46 = new DFA46(this);
protected DFA56 dfa56 = new DFA56(this);
protected DFA59 dfa59 = new DFA59(this);
protected DFA75 dfa75 = new DFA75(this);
protected DFA74 dfa74 = new DFA74(this);
protected DFA76 dfa76 = new DFA76(this);
protected DFA78 dfa78 = new DFA78(this);
protected DFA87 dfa87 = new DFA87(this);
protected DFA94 dfa94 = new DFA94(this);
protected DFA93 dfa93 = new DFA93(this);
protected DFA116 dfa116 = new DFA116(this);
protected DFA115 dfa115 = new DFA115(this);
protected DFA117 dfa117 = new DFA117(this);
protected DFA121 dfa121 = new DFA121(this);
protected DFA124 dfa124 = new DFA124(this);
protected DFA123 dfa123 = new DFA123(this);
protected DFA125 dfa125 = new DFA125(this);
protected DFA128 dfa128 = new DFA128(this);
protected DFA146 dfa146 = new DFA146(this);
protected DFA144 dfa144 = new DFA144(this);
static final String dfa_1s = "\10\uffff";
static final String dfa_2s = "\2\uffff\1\5\3\uffff\1\5\1\uffff";
static final String dfa_3s = "\1\4\1\uffff\1\15\1\uffff\1\4\1\uffff\1\15\1\uffff";
static final String dfa_4s = "\1\55\1\uffff\1\56\1\uffff\1\54\1\uffff\1\56\1\uffff";
static final String dfa_5s = "\1\uffff\1\1\1\uffff\1\4\1\uffff\1\2\1\uffff\1\3";
static final String dfa_6s = "\10\uffff}>";
static final String[] dfa_7s = {
"\1\2\45\uffff\1\1\2\uffff\1\3",
"",
"\1\5\32\uffff\1\4\1\5\4\uffff\1\5",
"",
"\1\6\47\uffff\1\7",
"",
"\1\5\32\uffff\1\4\1\5\4\uffff\1\5",
""
};
static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s);
static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s);
static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s);
static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s);
class DFA32 extends DFA {
public DFA32(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 32;
this.eot = dfa_1;
this.eof = dfa_2;
this.min = dfa_3;
this.max = dfa_4;
this.accept = dfa_5;
this.special = dfa_6;
this.transition = dfa_7;
}
public String getDescription() {
return "1548:3: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) )";
}
}
static final String dfa_8s = "\44\uffff";
static final String dfa_9s = "\1\4\1\0\42\uffff";
static final String dfa_10s = "\1\156\1\0\42\uffff";
static final String dfa_11s = "\2\uffff\1\2\37\uffff\1\3\1\1";
static final String dfa_12s = "\1\uffff\1\0\42\uffff}>";
static final String[] dfa_13s = {
"\1\1\4\2\5\uffff\1\2\32\uffff\3\2\3\uffff\2\2\1\uffff\1\42\1\uffff\2\2\6\uffff\1\2\17\uffff\2\2\3\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\12\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s);
static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s);
static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s);
class DFA35 extends DFA {
public DFA35(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 35;
this.eot = dfa_8;
this.eof = dfa_8;
this.min = dfa_9;
this.max = dfa_10;
this.accept = dfa_11;
this.special = dfa_12;
this.transition = dfa_13;
}
public String getDescription() {
return "1765:4: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA35_1 = input.LA(1);
int index35_1 = input.index();
input.rewind();
s = -1;
if ( (synpred2_InternalCubeDSL()) ) {s = 35;}
else if ( (true) ) {s = 2;}
input.seek(index35_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 35, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_14s = "\43\uffff";
static final String dfa_15s = "\1\4\1\0\41\uffff";
static final String dfa_16s = "\1\156\1\0\41\uffff";
static final String dfa_17s = "\2\uffff\1\2\37\uffff\1\1";
static final String dfa_18s = "\1\uffff\1\0\41\uffff}>";
static final String[] dfa_19s = {
"\5\2\5\uffff\1\2\32\uffff\3\2\3\uffff\2\2\3\uffff\1\1\1\2\6\uffff\1\2\17\uffff\2\2\3\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\12\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s);
static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s);
static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s);
static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s);
static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s);
static final short[][] dfa_19 = unpackEncodedStringArray(dfa_19s);
class DFA41 extends DFA {
public DFA41(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 41;
this.eot = dfa_14;
this.eof = dfa_14;
this.min = dfa_15;
this.max = dfa_16;
this.accept = dfa_17;
this.special = dfa_18;
this.transition = dfa_19;
}
public String getDescription() {
return "1945:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA41_1 = input.LA(1);
int index41_1 = input.index();
input.rewind();
s = -1;
if ( (synpred5_InternalCubeDSL()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index41_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 41, _s, input);
error(nvae);
throw nvae;
}
}
class DFA44 extends DFA {
public DFA44(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 44;
this.eot = dfa_14;
this.eof = dfa_14;
this.min = dfa_15;
this.max = dfa_16;
this.accept = dfa_17;
this.special = dfa_18;
this.transition = dfa_19;
}
public String getDescription() {
return "2087:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA44_1 = input.LA(1);
int index44_1 = input.index();
input.rewind();
s = -1;
if ( (synpred6_InternalCubeDSL()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index44_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 44, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_20s = "\12\uffff";
static final String dfa_21s = "\1\10\11\uffff";
static final String dfa_22s = "\1\4\7\0\2\uffff";
static final String dfa_23s = "\1\157\7\0\2\uffff";
static final String dfa_24s = "\10\uffff\1\2\1\1";
static final String dfa_25s = "\1\uffff\1\2\1\3\1\4\1\5\1\6\1\1\1\0\2\uffff}>";
static final String[] dfa_26s = {
"\5\10\5\uffff\1\10\1\uffff\1\10\27\uffff\5\10\1\uffff\1\10\1\uffff\3\10\1\uffff\3\10\1\1\1\2\1\3\1\4\1\5\1\6\1\7\31\10\1\uffff\30\10",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
""
};
static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s);
static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s);
static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s);
static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s);
static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s);
static final short[] dfa_25 = DFA.unpackEncodedString(dfa_25s);
static final short[][] dfa_26 = unpackEncodedStringArray(dfa_26s);
class DFA46 extends DFA {
public DFA46(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 46;
this.eot = dfa_20;
this.eof = dfa_21;
this.min = dfa_22;
this.max = dfa_23;
this.accept = dfa_24;
this.special = dfa_25;
this.transition = dfa_26;
}
public String getDescription() {
return "2316:4: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA46_7 = input.LA(1);
int index46_7 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_7);
if ( s>=0 ) return s;
break;
case 1 :
int LA46_6 = input.LA(1);
int index46_6 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_6);
if ( s>=0 ) return s;
break;
case 2 :
int LA46_1 = input.LA(1);
int index46_1 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_1);
if ( s>=0 ) return s;
break;
case 3 :
int LA46_2 = input.LA(1);
int index46_2 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_2);
if ( s>=0 ) return s;
break;
case 4 :
int LA46_3 = input.LA(1);
int index46_3 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_3);
if ( s>=0 ) return s;
break;
case 5 :
int LA46_4 = input.LA(1);
int index46_4 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_4);
if ( s>=0 ) return s;
break;
case 6 :
int LA46_5 = input.LA(1);
int index46_5 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalCubeDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index46_5);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 46, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_27s = "\13\uffff";
static final String dfa_28s = "\1\1\12\uffff";
static final String dfa_29s = "\1\4\1\uffff\10\0\1\uffff";
static final String dfa_30s = "\1\157\1\uffff\10\0\1\uffff";
static final String dfa_31s = "\1\uffff\1\2\10\uffff\1\1";
static final String dfa_32s = "\2\uffff\1\6\1\5\1\3\1\4\1\7\1\2\1\0\1\1\1\uffff}>";
static final String[] dfa_33s = {
"\5\1\5\uffff\1\1\1\uffff\1\1\27\uffff\5\1\1\uffff\1\1\1\uffff\3\1\1\uffff\10\1\1\2\1\3\10\1\1\4\1\5\1\6\1\7\1\10\1\11\13\1\1\uffff\30\1",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
""
};
static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s);
static final short[] dfa_28 = DFA.unpackEncodedString(dfa_28s);
static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s);
static final char[] dfa_30 = DFA.unpackEncodedStringToUnsignedChars(dfa_30s);
static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s);
static final short[] dfa_32 = DFA.unpackEncodedString(dfa_32s);
static final short[][] dfa_33 = unpackEncodedStringArray(dfa_33s);
class DFA56 extends DFA {
public DFA56(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 56;
this.eot = dfa_27;
this.eof = dfa_28;
this.min = dfa_29;
this.max = dfa_30;
this.accept = dfa_31;
this.special = dfa_32;
this.transition = dfa_33;
}
public String getDescription() {
return "()* loopback of 3030:3: ( ( ( ( () ( ( 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 LA56_8 = input.LA(1);
int index56_8 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_8);
if ( s>=0 ) return s;
break;
case 1 :
int LA56_9 = input.LA(1);
int index56_9 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_9);
if ( s>=0 ) return s;
break;
case 2 :
int LA56_7 = input.LA(1);
int index56_7 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_7);
if ( s>=0 ) return s;
break;
case 3 :
int LA56_4 = input.LA(1);
int index56_4 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_4);
if ( s>=0 ) return s;
break;
case 4 :
int LA56_5 = input.LA(1);
int index56_5 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_5);
if ( s>=0 ) return s;
break;
case 5 :
int LA56_3 = input.LA(1);
int index56_3 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_3);
if ( s>=0 ) return s;
break;
case 6 :
int LA56_2 = input.LA(1);
int index56_2 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_2);
if ( s>=0 ) return s;
break;
case 7 :
int LA56_6 = input.LA(1);
int index56_6 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalCubeDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index56_6);
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 dfa_34s = "\1\74\2\uffff\1\75\7\uffff";
static final String dfa_35s = "\1\113\2\uffff\1\110\7\uffff";
static final String dfa_36s = "\1\uffff\1\1\1\2\1\uffff\1\4\1\5\1\7\1\10\1\11\1\3\1\6";
static final String dfa_37s = "\13\uffff}>";
static final String[] dfa_38s = {
"\1\6\1\3\10\uffff\1\1\1\2\1\4\1\5\1\7\1\10",
"",
"",
"\1\12\12\uffff\1\11",
"",
"",
"",
"",
"",
"",
""
};
static final char[] dfa_34 = DFA.unpackEncodedStringToUnsignedChars(dfa_34s);
static final char[] dfa_35 = DFA.unpackEncodedStringToUnsignedChars(dfa_35s);
static final short[] dfa_36 = DFA.unpackEncodedString(dfa_36s);
static final short[] dfa_37 = DFA.unpackEncodedString(dfa_37s);
static final short[][] dfa_38 = unpackEncodedStringArray(dfa_38s);
class DFA59 extends DFA {
public DFA59(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 59;
this.eot = dfa_27;
this.eof = dfa_27;
this.min = dfa_34;
this.max = dfa_35;
this.accept = dfa_36;
this.special = dfa_37;
this.transition = dfa_38;
}
public String getDescription() {
return "3106:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )";
}
}
static final String dfa_39s = "\116\uffff";
static final String dfa_40s = "\1\2\115\uffff";
static final String dfa_41s = "\1\4\1\0\114\uffff";
static final String dfa_42s = "\1\157\1\0\114\uffff";
static final String dfa_43s = "\2\uffff\1\2\112\uffff\1\1";
static final String dfa_44s = "\1\uffff\1\0\114\uffff}>";
static final String[] dfa_45s = {
"\5\2\5\uffff\1\2\1\uffff\1\2\27\uffff\5\2\1\uffff\1\2\1\uffff\1\1\2\2\1\uffff\43\2\1\uffff\30\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_39 = DFA.unpackEncodedString(dfa_39s);
static final short[] dfa_40 = DFA.unpackEncodedString(dfa_40s);
static final char[] dfa_41 = DFA.unpackEncodedStringToUnsignedChars(dfa_41s);
static final char[] dfa_42 = DFA.unpackEncodedStringToUnsignedChars(dfa_42s);
static final short[] dfa_43 = DFA.unpackEncodedString(dfa_43s);
static final short[] dfa_44 = DFA.unpackEncodedString(dfa_44s);
static final short[][] dfa_45 = unpackEncodedStringArray(dfa_45s);
class DFA75 extends DFA {
public DFA75(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 75;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_45;
}
public String getDescription() {
return "4007:5: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA75_1 = input.LA(1);
int index75_1 = input.index();
input.rewind();
s = -1;
if ( (synpred22_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index75_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 75, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_46s = "\1\4\2\0\41\uffff";
static final String dfa_47s = "\1\156\2\0\41\uffff";
static final String dfa_48s = "\3\uffff\2\1\1\2\35\uffff\1\3";
static final String dfa_49s = "\1\0\1\1\1\2\41\uffff}>";
static final String[] dfa_50s = {
"\1\1\4\5\5\uffff\1\5\32\uffff\3\5\4\uffff\1\2\1\uffff\1\43\1\uffff\2\5\6\uffff\1\5\14\uffff\1\3\2\uffff\2\5\3\uffff\1\5\5\uffff\1\4\1\5\1\uffff\1\5\3\uffff\3\5\2\uffff\12\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final char[] dfa_46 = DFA.unpackEncodedStringToUnsignedChars(dfa_46s);
static final char[] dfa_47 = DFA.unpackEncodedStringToUnsignedChars(dfa_47s);
static final short[] dfa_48 = DFA.unpackEncodedString(dfa_48s);
static final short[] dfa_49 = DFA.unpackEncodedString(dfa_49s);
static final short[][] dfa_50 = unpackEncodedStringArray(dfa_50s);
class DFA74 extends DFA {
public DFA74(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 74;
this.eot = dfa_8;
this.eof = dfa_8;
this.min = dfa_46;
this.max = dfa_47;
this.accept = dfa_48;
this.special = dfa_49;
this.transition = dfa_50;
}
public String getDescription() {
return "4026:6: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA74_0 = input.LA(1);
int index74_0 = input.index();
input.rewind();
s = -1;
if ( (LA74_0==RULE_ID) ) {s = 1;}
else if ( (LA74_0==48) ) {s = 2;}
else if ( (LA74_0==73) && (synpred23_InternalCubeDSL())) {s = 3;}
else if ( (LA74_0==87) && (synpred23_InternalCubeDSL())) {s = 4;}
else if ( ((LA74_0>=RULE_STRING && LA74_0<=RULE_DECIMAL)||LA74_0==14||(LA74_0>=41 && LA74_0<=43)||(LA74_0>=52 && LA74_0<=53)||LA74_0==60||(LA74_0>=76 && LA74_0<=77)||LA74_0==81||LA74_0==88||LA74_0==90||(LA74_0>=94 && LA74_0<=96)||(LA74_0>=99 && LA74_0<=108)||LA74_0==110) ) {s = 5;}
else if ( (LA74_0==50) ) {s = 35;}
input.seek(index74_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA74_1 = input.LA(1);
int index74_1 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index74_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA74_2 = input.LA(1);
int index74_2 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index74_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 74, _s, input);
error(nvae);
throw nvae;
}
}
static final String[] dfa_51s = {
"\5\2\5\uffff\1\2\1\uffff\1\2\27\uffff\5\2\1\uffff\1\2\1\uffff\3\2\1\uffff\1\2\1\1\41\2\1\uffff\30\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_51 = unpackEncodedStringArray(dfa_51s);
class DFA76 extends DFA {
public DFA76(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 76;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_51;
}
public String getDescription() {
return "4124:5: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA76_1 = input.LA(1);
int index76_1 = input.index();
input.rewind();
s = -1;
if ( (synpred24_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index76_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 76, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_52s = "\40\uffff";
static final String dfa_53s = "\1\4\26\uffff\1\0\10\uffff";
static final String dfa_54s = "\1\156\26\uffff\1\0\10\uffff";
static final String dfa_55s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\6\uffff\1\6\11\uffff\1\7\1\uffff\1\12\1\13\1\14\1\15\1\16\1\17\1\10\1\11";
static final String dfa_56s = "\1\0\26\uffff\1\1\10\uffff}>";
static final String[] dfa_57s = {
"\1\5\4\14\5\uffff\1\2\32\uffff\3\5\4\uffff\1\35\3\uffff\2\14\6\uffff\1\5\33\uffff\1\26\1\uffff\1\3\3\uffff\1\27\1\30\1\31\2\uffff\2\5\1\1\4\14\1\32\1\33\1\34\1\uffff\1\4",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_52 = DFA.unpackEncodedString(dfa_52s);
static final char[] dfa_53 = DFA.unpackEncodedStringToUnsignedChars(dfa_53s);
static final char[] dfa_54 = DFA.unpackEncodedStringToUnsignedChars(dfa_54s);
static final short[] dfa_55 = DFA.unpackEncodedString(dfa_55s);
static final short[] dfa_56 = DFA.unpackEncodedString(dfa_56s);
static final short[][] dfa_57 = unpackEncodedStringArray(dfa_57s);
class DFA78 extends DFA {
public DFA78(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 78;
this.eot = dfa_52;
this.eof = dfa_52;
this.min = dfa_53;
this.max = dfa_54;
this.accept = dfa_55;
this.special = dfa_56;
this.transition = dfa_57;
}
public String getDescription() {
return "4169:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA78_0 = input.LA(1);
int index78_0 = input.index();
input.rewind();
s = -1;
if ( (LA78_0==101) ) {s = 1;}
else if ( (LA78_0==14) ) {s = 2;}
else if ( (LA78_0==90) ) {s = 3;}
else if ( (LA78_0==110) && (synpred25_InternalCubeDSL())) {s = 4;}
else if ( (LA78_0==RULE_ID||(LA78_0>=41 && LA78_0<=43)||LA78_0==60||(LA78_0>=99 && LA78_0<=100)) ) {s = 5;}
else if ( ((LA78_0>=RULE_STRING && LA78_0<=RULE_DECIMAL)||(LA78_0>=52 && LA78_0<=53)||(LA78_0>=102 && LA78_0<=105)) ) {s = 12;}
else if ( (LA78_0==88) ) {s = 22;}
else if ( (LA78_0==94) ) {s = 23;}
else if ( (LA78_0==95) ) {s = 24;}
else if ( (LA78_0==96) ) {s = 25;}
else if ( (LA78_0==106) ) {s = 26;}
else if ( (LA78_0==107) ) {s = 27;}
else if ( (LA78_0==108) ) {s = 28;}
else if ( (LA78_0==48) ) {s = 29;}
input.seek(index78_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA78_23 = input.LA(1);
int index78_23 = input.index();
input.rewind();
s = -1;
if ( (synpred26_InternalCubeDSL()) ) {s = 30;}
else if ( (true) ) {s = 31;}
input.seek(index78_23);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 78, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_58s = "\46\uffff";
static final String dfa_59s = "\1\4\2\0\43\uffff";
static final String dfa_60s = "\1\156\2\0\43\uffff";
static final String dfa_61s = "\3\uffff\2\1\1\2\40\uffff";
static final String dfa_62s = "\1\0\1\1\1\2\43\uffff}>";
static final String[] dfa_63s = {
"\1\1\4\5\5\uffff\1\5\32\uffff\3\5\4\uffff\1\2\3\uffff\3\5\5\uffff\1\5\14\uffff\1\3\2\uffff\2\5\3\uffff\1\5\5\uffff\1\4\1\5\1\uffff\1\5\3\uffff\17\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_58 = DFA.unpackEncodedString(dfa_58s);
static final char[] dfa_59 = DFA.unpackEncodedStringToUnsignedChars(dfa_59s);
static final char[] dfa_60 = DFA.unpackEncodedStringToUnsignedChars(dfa_60s);
static final short[] dfa_61 = DFA.unpackEncodedString(dfa_61s);
static final short[] dfa_62 = DFA.unpackEncodedString(dfa_62s);
static final short[][] dfa_63 = unpackEncodedStringArray(dfa_63s);
class DFA87 extends DFA {
public DFA87(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 87;
this.eot = dfa_58;
this.eof = dfa_58;
this.min = dfa_59;
this.max = dfa_60;
this.accept = dfa_61;
this.special = dfa_62;
this.transition = dfa_63;
}
public String getDescription() {
return "4661: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 LA87_0 = input.LA(1);
int index87_0 = input.index();
input.rewind();
s = -1;
if ( (LA87_0==RULE_ID) ) {s = 1;}
else if ( (LA87_0==48) ) {s = 2;}
else if ( (LA87_0==73) && (synpred29_InternalCubeDSL())) {s = 3;}
else if ( (LA87_0==87) && (synpred29_InternalCubeDSL())) {s = 4;}
else if ( ((LA87_0>=RULE_STRING && LA87_0<=RULE_DECIMAL)||LA87_0==14||(LA87_0>=41 && LA87_0<=43)||(LA87_0>=52 && LA87_0<=54)||LA87_0==60||(LA87_0>=76 && LA87_0<=77)||LA87_0==81||LA87_0==88||LA87_0==90||(LA87_0>=94 && LA87_0<=108)||LA87_0==110) ) {s = 5;}
input.seek(index87_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA87_1 = input.LA(1);
int index87_1 = input.index();
input.rewind();
s = -1;
if ( (synpred29_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index87_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA87_2 = input.LA(1);
int index87_2 = input.index();
input.rewind();
s = -1;
if ( (synpred29_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index87_2);
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[] dfa_64s = {
"\5\2\5\uffff\1\2\32\uffff\3\2\4\uffff\1\1\3\uffff\2\2\6\uffff\1\2\14\uffff\1\2\2\uffff\2\2\3\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\12\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_64 = unpackEncodedStringArray(dfa_64s);
class DFA94 extends DFA {
public DFA94(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 94;
this.eot = dfa_14;
this.eof = dfa_14;
this.min = dfa_15;
this.max = dfa_16;
this.accept = dfa_17;
this.special = dfa_18;
this.transition = dfa_64;
}
public String getDescription() {
return "5127:3: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA94_1 = input.LA(1);
int index94_1 = input.index();
input.rewind();
s = -1;
if ( (synpred32_InternalCubeDSL()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index94_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 94, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_65s = "\42\uffff";
static final String dfa_66s = "\1\4\2\0\37\uffff";
static final String dfa_67s = "\1\156\2\0\37\uffff";
static final String dfa_68s = "\3\uffff\1\1\1\2\35\uffff";
static final String dfa_69s = "\1\0\1\1\1\2\37\uffff}>";
static final String[] dfa_70s = {
"\1\1\4\4\5\uffff\1\4\32\uffff\3\4\4\uffff\1\2\3\uffff\2\4\6\uffff\1\4\14\uffff\1\3\2\uffff\2\4\3\uffff\1\4\6\uffff\1\4\1\uffff\1\4\3\uffff\3\4\2\uffff\12\4\1\uffff\1\4",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_65 = DFA.unpackEncodedString(dfa_65s);
static final char[] dfa_66 = DFA.unpackEncodedStringToUnsignedChars(dfa_66s);
static final char[] dfa_67 = DFA.unpackEncodedStringToUnsignedChars(dfa_67s);
static final short[] dfa_68 = DFA.unpackEncodedString(dfa_68s);
static final short[] dfa_69 = DFA.unpackEncodedString(dfa_69s);
static final short[][] dfa_70 = unpackEncodedStringArray(dfa_70s);
class DFA93 extends DFA {
public DFA93(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 93;
this.eot = dfa_65;
this.eof = dfa_65;
this.min = dfa_66;
this.max = dfa_67;
this.accept = dfa_68;
this.special = dfa_69;
this.transition = dfa_70;
}
public String getDescription() {
return "5196:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA93_0 = input.LA(1);
int index93_0 = input.index();
input.rewind();
s = -1;
if ( (LA93_0==RULE_ID) ) {s = 1;}
else if ( (LA93_0==48) ) {s = 2;}
else if ( (LA93_0==73) && (synpred33_InternalCubeDSL())) {s = 3;}
else if ( ((LA93_0>=RULE_STRING && LA93_0<=RULE_DECIMAL)||LA93_0==14||(LA93_0>=41 && LA93_0<=43)||(LA93_0>=52 && LA93_0<=53)||LA93_0==60||(LA93_0>=76 && LA93_0<=77)||LA93_0==81||LA93_0==88||LA93_0==90||(LA93_0>=94 && LA93_0<=96)||(LA93_0>=99 && LA93_0<=108)||LA93_0==110) ) {s = 4;}
input.seek(index93_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA93_1 = input.LA(1);
int index93_1 = input.index();
input.rewind();
s = -1;
if ( (synpred33_InternalCubeDSL()) ) {s = 3;}
else if ( (true) ) {s = 4;}
input.seek(index93_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA93_2 = input.LA(1);
int index93_2 = input.index();
input.rewind();
s = -1;
if ( (synpred33_InternalCubeDSL()) ) {s = 3;}
else if ( (true) ) {s = 4;}
input.seek(index93_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 93, _s, input);
error(nvae);
throw nvae;
}
}
class DFA116 extends DFA {
public DFA116(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 116;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_45;
}
public String getDescription() {
return "6325:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA116_1 = input.LA(1);
int index116_1 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index116_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 116, _s, input);
error(nvae);
throw nvae;
}
}
class DFA115 extends DFA {
public DFA115(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 115;
this.eot = dfa_8;
this.eof = dfa_8;
this.min = dfa_46;
this.max = dfa_47;
this.accept = dfa_48;
this.special = dfa_49;
this.transition = dfa_50;
}
public String getDescription() {
return "6344:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA115_0 = input.LA(1);
int index115_0 = input.index();
input.rewind();
s = -1;
if ( (LA115_0==RULE_ID) ) {s = 1;}
else if ( (LA115_0==48) ) {s = 2;}
else if ( (LA115_0==73) && (synpred37_InternalCubeDSL())) {s = 3;}
else if ( (LA115_0==87) && (synpred37_InternalCubeDSL())) {s = 4;}
else if ( ((LA115_0>=RULE_STRING && LA115_0<=RULE_DECIMAL)||LA115_0==14||(LA115_0>=41 && LA115_0<=43)||(LA115_0>=52 && LA115_0<=53)||LA115_0==60||(LA115_0>=76 && LA115_0<=77)||LA115_0==81||LA115_0==88||LA115_0==90||(LA115_0>=94 && LA115_0<=96)||(LA115_0>=99 && LA115_0<=108)||LA115_0==110) ) {s = 5;}
else if ( (LA115_0==50) ) {s = 35;}
input.seek(index115_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA115_1 = input.LA(1);
int index115_1 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index115_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA115_2 = input.LA(1);
int index115_2 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index115_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 115, _s, input);
error(nvae);
throw nvae;
}
}
class DFA117 extends DFA {
public DFA117(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 117;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_51;
}
public String getDescription() {
return "6442:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA117_1 = input.LA(1);
int index117_1 = input.index();
input.rewind();
s = -1;
if ( (synpred38_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index117_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 117, _s, input);
error(nvae);
throw nvae;
}
}
static final String[] dfa_71s = {
"\5\2\5\uffff\1\2\1\uffff\1\2\27\uffff\5\2\1\uffff\1\2\1\uffff\3\2\1\uffff\10\2\1\1\32\2\1\uffff\30\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_71 = unpackEncodedStringArray(dfa_71s);
class DFA121 extends DFA {
public DFA121(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 121;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_71;
}
public String getDescription() {
return "6601:3: ( ( ( '<' )=>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 LA121_1 = input.LA(1);
int index121_1 = input.index();
input.rewind();
s = -1;
if ( (synpred39_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index121_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 121, _s, input);
error(nvae);
throw nvae;
}
}
class DFA124 extends DFA {
public DFA124(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 124;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_45;
}
public String getDescription() {
return "6658:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA124_1 = input.LA(1);
int index124_1 = input.index();
input.rewind();
s = -1;
if ( (synpred40_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index124_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 124, _s, input);
error(nvae);
throw nvae;
}
}
class DFA123 extends DFA {
public DFA123(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 123;
this.eot = dfa_8;
this.eof = dfa_8;
this.min = dfa_46;
this.max = dfa_47;
this.accept = dfa_48;
this.special = dfa_49;
this.transition = dfa_50;
}
public String getDescription() {
return "6677:4: ( ( ( ( () ( ( ( 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 LA123_0 = input.LA(1);
int index123_0 = input.index();
input.rewind();
s = -1;
if ( (LA123_0==RULE_ID) ) {s = 1;}
else if ( (LA123_0==48) ) {s = 2;}
else if ( (LA123_0==73) && (synpred41_InternalCubeDSL())) {s = 3;}
else if ( (LA123_0==87) && (synpred41_InternalCubeDSL())) {s = 4;}
else if ( ((LA123_0>=RULE_STRING && LA123_0<=RULE_DECIMAL)||LA123_0==14||(LA123_0>=41 && LA123_0<=43)||(LA123_0>=52 && LA123_0<=53)||LA123_0==60||(LA123_0>=76 && LA123_0<=77)||LA123_0==81||LA123_0==88||LA123_0==90||(LA123_0>=94 && LA123_0<=96)||(LA123_0>=99 && LA123_0<=108)||LA123_0==110) ) {s = 5;}
else if ( (LA123_0==50) ) {s = 35;}
input.seek(index123_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA123_1 = input.LA(1);
int index123_1 = input.index();
input.rewind();
s = -1;
if ( (synpred41_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index123_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA123_2 = input.LA(1);
int index123_2 = input.index();
input.rewind();
s = -1;
if ( (synpred41_InternalCubeDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index123_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 123, _s, input);
error(nvae);
throw nvae;
}
}
class DFA125 extends DFA {
public DFA125(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 125;
this.eot = dfa_39;
this.eof = dfa_40;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_51;
}
public String getDescription() {
return "6775: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 LA125_1 = input.LA(1);
int index125_1 = input.index();
input.rewind();
s = -1;
if ( (synpred42_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index125_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 125, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_72s = "\1\41\115\uffff";
static final String dfa_73s = "\1\4\40\0\55\uffff";
static final String dfa_74s = "\1\157\40\0\55\uffff";
static final String dfa_75s = "\41\uffff\1\2\53\uffff\1\1";
static final String dfa_76s = "\1\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\33\1\34\1\35\1\36\1\37\55\uffff}>";
static final String[] dfa_77s = {
"\1\1\1\27\1\23\1\24\1\25\5\uffff\1\12\1\uffff\1\41\27\uffff\1\41\1\4\1\3\1\5\1\41\1\uffff\1\41\1\uffff\1\40\2\41\1\uffff\1\17\1\20\6\41\1\15\17\41\1\10\1\7\3\41\1\6\5\41\1\uffff\1\31\1\41\1\13\3\41\1\32\1\33\1\34\2\41\1\2\1\16\1\11\1\21\1\22\1\26\1\30\1\35\1\36\1\37\1\41\1\14\1\41",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_72 = DFA.unpackEncodedString(dfa_72s);
static final char[] dfa_73 = DFA.unpackEncodedStringToUnsignedChars(dfa_73s);
static final char[] dfa_74 = DFA.unpackEncodedStringToUnsignedChars(dfa_74s);
static final short[] dfa_75 = DFA.unpackEncodedString(dfa_75s);
static final short[] dfa_76 = DFA.unpackEncodedString(dfa_76s);
static final short[][] dfa_77 = unpackEncodedStringArray(dfa_77s);
class DFA128 extends DFA {
public DFA128(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 128;
this.eot = dfa_39;
this.eof = dfa_72;
this.min = dfa_73;
this.max = dfa_74;
this.accept = dfa_75;
this.special = dfa_76;
this.transition = dfa_77;
}
public String getDescription() {
return "7118:3: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA128_1 = input.LA(1);
int index128_1 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_1);
if ( s>=0 ) return s;
break;
case 1 :
int LA128_2 = input.LA(1);
int index128_2 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_2);
if ( s>=0 ) return s;
break;
case 2 :
int LA128_3 = input.LA(1);
int index128_3 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_3);
if ( s>=0 ) return s;
break;
case 3 :
int LA128_4 = input.LA(1);
int index128_4 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_4);
if ( s>=0 ) return s;
break;
case 4 :
int LA128_5 = input.LA(1);
int index128_5 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_5);
if ( s>=0 ) return s;
break;
case 5 :
int LA128_6 = input.LA(1);
int index128_6 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_6);
if ( s>=0 ) return s;
break;
case 6 :
int LA128_7 = input.LA(1);
int index128_7 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_7);
if ( s>=0 ) return s;
break;
case 7 :
int LA128_8 = input.LA(1);
int index128_8 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_8);
if ( s>=0 ) return s;
break;
case 8 :
int LA128_9 = input.LA(1);
int index128_9 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_9);
if ( s>=0 ) return s;
break;
case 9 :
int LA128_10 = input.LA(1);
int index128_10 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_10);
if ( s>=0 ) return s;
break;
case 10 :
int LA128_11 = input.LA(1);
int index128_11 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_11);
if ( s>=0 ) return s;
break;
case 11 :
int LA128_12 = input.LA(1);
int index128_12 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_12);
if ( s>=0 ) return s;
break;
case 12 :
int LA128_13 = input.LA(1);
int index128_13 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_13);
if ( s>=0 ) return s;
break;
case 13 :
int LA128_14 = input.LA(1);
int index128_14 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_14);
if ( s>=0 ) return s;
break;
case 14 :
int LA128_15 = input.LA(1);
int index128_15 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_15);
if ( s>=0 ) return s;
break;
case 15 :
int LA128_16 = input.LA(1);
int index128_16 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_16);
if ( s>=0 ) return s;
break;
case 16 :
int LA128_17 = input.LA(1);
int index128_17 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_17);
if ( s>=0 ) return s;
break;
case 17 :
int LA128_18 = input.LA(1);
int index128_18 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_18);
if ( s>=0 ) return s;
break;
case 18 :
int LA128_19 = input.LA(1);
int index128_19 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_19);
if ( s>=0 ) return s;
break;
case 19 :
int LA128_20 = input.LA(1);
int index128_20 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_20);
if ( s>=0 ) return s;
break;
case 20 :
int LA128_21 = input.LA(1);
int index128_21 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_21);
if ( s>=0 ) return s;
break;
case 21 :
int LA128_22 = input.LA(1);
int index128_22 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_22);
if ( s>=0 ) return s;
break;
case 22 :
int LA128_23 = input.LA(1);
int index128_23 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_23);
if ( s>=0 ) return s;
break;
case 23 :
int LA128_24 = input.LA(1);
int index128_24 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_24);
if ( s>=0 ) return s;
break;
case 24 :
int LA128_25 = input.LA(1);
int index128_25 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_25);
if ( s>=0 ) return s;
break;
case 25 :
int LA128_26 = input.LA(1);
int index128_26 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_26);
if ( s>=0 ) return s;
break;
case 26 :
int LA128_27 = input.LA(1);
int index128_27 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_27);
if ( s>=0 ) return s;
break;
case 27 :
int LA128_28 = input.LA(1);
int index128_28 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_28);
if ( s>=0 ) return s;
break;
case 28 :
int LA128_29 = input.LA(1);
int index128_29 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_29);
if ( s>=0 ) return s;
break;
case 29 :
int LA128_30 = input.LA(1);
int index128_30 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_30);
if ( s>=0 ) return s;
break;
case 30 :
int LA128_31 = input.LA(1);
int index128_31 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_31);
if ( s>=0 ) return s;
break;
case 31 :
int LA128_32 = input.LA(1);
int index128_32 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalCubeDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index128_32);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 128, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_78s = "\117\uffff";
static final String dfa_79s = "\1\2\116\uffff";
static final String dfa_80s = "\1\4\1\0\115\uffff";
static final String dfa_81s = "\1\161\1\0\115\uffff";
static final String dfa_82s = "\2\uffff\1\2\113\uffff\1\1";
static final String dfa_83s = "\1\uffff\1\0\115\uffff}>";
static final String[] dfa_84s = {
"\5\2\5\uffff\1\2\1\uffff\1\2\27\uffff\5\2\1\uffff\1\2\1\uffff\3\2\1\uffff\10\2\1\1\32\2\1\uffff\30\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_78 = DFA.unpackEncodedString(dfa_78s);
static final short[] dfa_79 = DFA.unpackEncodedString(dfa_79s);
static final char[] dfa_80 = DFA.unpackEncodedStringToUnsignedChars(dfa_80s);
static final char[] dfa_81 = DFA.unpackEncodedStringToUnsignedChars(dfa_81s);
static final short[] dfa_82 = DFA.unpackEncodedString(dfa_82s);
static final short[] dfa_83 = DFA.unpackEncodedString(dfa_83s);
static final short[][] dfa_84 = unpackEncodedStringArray(dfa_84s);
class DFA146 extends DFA {
public DFA146(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 146;
this.eot = dfa_78;
this.eof = dfa_79;
this.min = dfa_80;
this.max = dfa_81;
this.accept = dfa_82;
this.special = dfa_83;
this.transition = dfa_84;
}
public String getDescription() {
return "7776:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA146_1 = input.LA(1);
int index146_1 = input.index();
input.rewind();
s = -1;
if ( (synpred50_InternalCubeDSL()) ) {s = 78;}
else if ( (true) ) {s = 2;}
input.seek(index146_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 146, _s, input);
error(nvae);
throw nvae;
}
}
class DFA144 extends DFA {
public DFA144(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 144;
this.eot = dfa_78;
this.eof = dfa_79;
this.min = dfa_80;
this.max = dfa_81;
this.accept = dfa_82;
this.special = dfa_83;
this.transition = dfa_84;
}
public String getDescription() {
return "7870:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA144_1 = input.LA(1);
int index144_1 = input.index();
input.rewind();
s = -1;
if ( (synpred52_InternalCubeDSL()) ) {s = 78;}
else if ( (true) ) {s = 2;}
input.seek(index144_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 144, _s, input);
error(nvae);
throw nvae;
}
}
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000004002L});
public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000238000L});
public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000230000L});
public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000030000L});
public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000044000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000008000000L});
public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000404000L});
public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000810000L});
public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000007004010L});
public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000007004000L});
public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000006004000L});
public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000004004000L});
public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000010000002L});
public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000004000090000L});
public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000004000010000L});
public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000028010000L});
public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000F80004002L});
public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000F00004002L});
public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000E00004002L});
public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000C00004002L});
public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000800004002L});
public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000000L,0xA000000000000000L,0x00000000000000FFL});
public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000001000010000L});
public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000002000000002L});
public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000000L,0x7F00000000000000L});
public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x00FC000000000000L});
public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000008000000002L});
public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000010000000002L});
public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000240000000010L});
public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000010L});
public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000100000000010L});
public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000400000000002L});
public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0001000000000002L});
public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x10358E00000041F0L,0x00005FF9C5023000L});
public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0006000000000000L});
public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0008000000000000L});
public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x10318E00000041F0L,0x00005FF9C5023000L});
public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0020000000000000L});
public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x10718E00000041F0L,0x00005FF9C5023000L});
public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0042000000000000L});
public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0002000000000002L});
public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x3F80000000000002L});
public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x1000000000000000L});
public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x6000000000000000L});
public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x4000000000000000L});
public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x8000000000000002L});
public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000001L});
public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000000000000002L,0x000000000000001EL});
public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x7000000000000002L,0x0000000000000020L});
public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0001000000000010L,0x0000000000000200L});
public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x3000000000000002L,0x0000000000000FC0L});
public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x2000000000000000L});
public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x1000000000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000000002L,0x0000000000003000L});
public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000100000000002L,0x000000000001C000L});
public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0000000000000002L,0x0000000000040000L});
public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0000000000000002L,0x0000000000180000L});
public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000010000000002L,0x0000000000600000L});
public static final BitSet FOLLOW_70 = new BitSet(new long[]{0x00000E0000000010L,0x0000000800000000L});
public static final BitSet FOLLOW_71 = new BitSet(new long[]{0x10000E0000000010L,0x0000001800000000L});
public static final BitSet FOLLOW_72 = new BitSet(new long[]{0x0001000000000010L,0x0001000000000200L});
public static final BitSet FOLLOW_73 = new BitSet(new long[]{0x2002000000000000L});
public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x0021010000000002L,0x0000000000600000L});
public static final BitSet FOLLOW_75 = new BitSet(new long[]{0x10358E00000041F0L,0x00005FF9C5823200L});
public static final BitSet FOLLOW_76 = new BitSet(new long[]{0x0020010000000002L,0x0000000000600000L});
public static final BitSet FOLLOW_77 = new BitSet(new long[]{0x10318E00000141F0L,0x00005FF9C5023000L});
public static final BitSet FOLLOW_78 = new BitSet(new long[]{0x0002000000010000L});
public static final BitSet FOLLOW_79 = new BitSet(new long[]{0x10718E00000041F0L,0x00005FFFC5823200L});
public static final BitSet FOLLOW_80 = new BitSet(new long[]{0x0002000000000000L,0x0000000000800000L});
public static final BitSet FOLLOW_81 = new BitSet(new long[]{0x10718E00000041F0L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_82 = new BitSet(new long[]{0x0040000000000000L});
public static final BitSet FOLLOW_83 = new BitSet(new long[]{0x1031CE00000041F2L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_84 = new BitSet(new long[]{0x10318E00000041F2L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_85 = new BitSet(new long[]{0x0001000000000000L});
public static final BitSet FOLLOW_86 = new BitSet(new long[]{0x0000000000000002L,0x0000000002000000L});
public static final BitSet FOLLOW_87 = new BitSet(new long[]{0x10318E00000041F0L,0x00005FF9C5023200L});
public static final BitSet FOLLOW_88 = new BitSet(new long[]{0x0000000000000000L,0x0000000008000000L});
public static final BitSet FOLLOW_89 = new BitSet(new long[]{0x0003000000010010L,0x0000000038000200L});
public static final BitSet FOLLOW_90 = new BitSet(new long[]{0x0002000000000000L,0x0000000028000000L});
public static final BitSet FOLLOW_91 = new BitSet(new long[]{0x0002000000000000L,0x0000000008000000L});
public static final BitSet FOLLOW_92 = new BitSet(new long[]{0x1031CE00000041F0L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_93 = new BitSet(new long[]{0x0002400000000000L});
public static final BitSet FOLLOW_94 = new BitSet(new long[]{0x10318E00000041F0L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_95 = new BitSet(new long[]{0x1031CE00000041F0L,0x00005FF9C5023000L});
public static final BitSet FOLLOW_96 = new BitSet(new long[]{0x0000400000000000L});
public static final BitSet FOLLOW_97 = new BitSet(new long[]{0x0000000000000000L,0x0000000080000000L});
public static final BitSet FOLLOW_98 = new BitSet(new long[]{0x10318E00000141F0L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_99 = new BitSet(new long[]{0x1031CE00000141F0L,0x00005FFFC5023000L});
public static final BitSet FOLLOW_100 = new BitSet(new long[]{0x0008000000000002L});
public static final BitSet FOLLOW_101 = new BitSet(new long[]{0x0021000000000002L});
public static final BitSet FOLLOW_102 = new BitSet(new long[]{0x0020000000000002L});
public static final BitSet FOLLOW_103 = new BitSet(new long[]{0x1021000000000002L});
public static final BitSet FOLLOW_104 = new BitSet(new long[]{0x0024000000000000L});
public static final BitSet FOLLOW_105 = new BitSet(new long[]{0x10318E00000041F2L,0x00005FF9C5023000L});
public static final BitSet FOLLOW_106 = new BitSet(new long[]{0x0000000000000000L,0x0000A00000000000L});
public static final BitSet FOLLOW_107 = new BitSet(new long[]{0x0000000000000002L,0x0000A00000000000L});
public static final BitSet FOLLOW_108 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_109 = new BitSet(new long[]{0x0005000000000010L,0x0000000000000200L});
public static final BitSet FOLLOW_110 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_111 = new BitSet(new long[]{0x1000000000000002L});
public static final BitSet FOLLOW_112 = new BitSet(new long[]{0x1000010000000002L});
public static final BitSet FOLLOW_113 = new BitSet(new long[]{0x0000000000000002L,0x0000001800000000L});
public static final BitSet FOLLOW_114 = new BitSet(new long[]{0x0000000000000002L,0x0002000000000000L});
public static final BitSet FOLLOW_115 = new BitSet(new long[]{0x0000010000000000L});
public static final BitSet FOLLOW_116 = new BitSet(new long[]{0x0000100000000000L});
public static final BitSet FOLLOW_117 = new BitSet(new long[]{0x0000020000000002L});
public static final BitSet FOLLOW_118 = new BitSet(new long[]{0x0000000000000012L});
}