blob: 21b155edd9936ac07d19ac0212d076e10be7fec3 [file] [log] [blame]
/**
*
* 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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.datamartdsl.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.datamartdsl.services.DatamartDSLGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
@SuppressWarnings("all")
public class InternalDatamartDSLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'{'", "'}'", "'datamart'", "'described by'", "'for'", "'using'", "'role'", "'task'", "'columns'", "'conditions'", "'column'", "'filter'", "'cube'", "'nonempty values'", "'join'", "'entity'", "'tracking'", "'navigation'", "'properties'", "'ordering'", "'filler rows'", "'to'", "'many to one'", "'one to many'", "'property'", "'aggregate'", "'on axis'", "'scale'", "'condition'", "'order'", "'or'", "'and'", "'('", "')'", "'filtered'", "'optional'", "'selected'", "'derive'", "'from'", "'+'", "'-'", "'*'", "'/'", "'of'", "'over'", "'slicer'", "'axis'", "'derived'", "'measure'", "'hierarchy'", "'default'", "'condensed'", "'exploded'", "'level'", "'detailed'", "'except'", "'ordered by'", "'descending'", "'import'", "'.'", "'fill'", "'with'", "'filler-date future'", "'years'", "'filler-date past'", "'filler-date range'", "'up to and including'", "'filler-signed-double range'", "'decimals'", "'round to'", "'filler-signed-double random'", "'filler-signed-integer range'", "'filler-signed-integer random'", "'filler-text random'", "'filler-text paragraps'", "'filler-text sentences'", "'filler-text words'", "'filler-unsigned-double range'", "'filler-unsigned-double random'", "'filler-unsigned-integer range'", "'filler-unsigned-integer random'", "'@'", "','", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'**'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'case'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'rows'", "'pages'", "'sections'", "'chapters'", "'previous'", "'next'", "'first'", "'last'", "'lag'", "'lead'", "'year-to-date'", "'periods'", "'tail'", "'head'", "'topcount'", "'topsummation'", "'toppercentage'", "'bottomcount'", "'bottomsummation'", "'bottompercentage'", "'average'", "'summation'", "'deviation'", "'<='", "'like'", "'count'", "'group1'", "'group2'", "'group3'", "'group4'", "'group5'", "'group6'", "'group7'", "'group8'", "'group9'", "'BusinessAdministrator'", "'PotentialOwner'", "'Recipient'", "'TaskInitiator'", "'TaskStakeholder'", "'ExcludedOwner'", "'Name'", "'Priority'", "'Status'", "'Subject'", "'Description'", "'ExpirationTime'", "'CreatedOn'", "'CreatedBy'", "'ActivationTime'", "'ActualOwner'", "'TaskId'", "'ProcessId'", "'ProcessInstanceId'", "'ProcessSessionId'", "'Groups'", "'Users'", "'ascending'"
};
public static final int T__144=144;
public static final int T__143=143;
public static final int T__146=146;
public static final int T__50=50;
public static final int T__145=145;
public static final int T__140=140;
public static final int T__142=142;
public static final int T__141=141;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__137=137;
public static final int T__52=52;
public static final int T__136=136;
public static final int T__53=53;
public static final int T__139=139;
public static final int T__54=54;
public static final int T__138=138;
public static final int T__133=133;
public static final int T__132=132;
public static final int T__60=60;
public static final int T__135=135;
public static final int T__61=61;
public static final int T__134=134;
public static final int RULE_ID=4;
public static final int T__131=131;
public static final int T__130=130;
public static final int RULE_INT=5;
public static final int T__66=66;
public static final int T__67=67;
public static final int T__129=129;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__126=126;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__65=65;
public static final int T__127=127;
public static final int T__166=166;
public static final int T__165=165;
public static final int T__168=168;
public static final int T__167=167;
public static final int T__162=162;
public static final int T__161=161;
public static final int T__164=164;
public static final int T__163=163;
public static final int T__160=160;
public static final int 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__159=159;
public static final int T__30=30;
public static final int T__158=158;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__155=155;
public static final int T__154=154;
public static final int T__157=157;
public static final int T__156=156;
public static final int T__151=151;
public static final int T__150=150;
public static final int T__153=153;
public static final int T__152=152;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__148=148;
public static final int T__41=41;
public static final int T__147=147;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__149=149;
public static final int T__100=100;
public static final int T__102=102;
public static final int T__101=101;
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__13=13;
public static final int T__14=14;
public static final int T__214=214;
public static final int T__213=213;
public static final int T__215=215;
public static final int T__210=210;
public static final int T__212=212;
public static final int T__211=211;
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__207=207;
public static final int T__23=23;
public static final int T__206=206;
public static final int T__24=24;
public static final int T__209=209;
public static final int T__25=25;
public static final int T__208=208;
public static final int T__203=203;
public static final int T__202=202;
public static final int T__20=20;
public static final int T__205=205;
public static final int T__21=21;
public static final int T__204=204;
public static final int T__122=122;
public static final int T__121=121;
public static final int T__124=124;
public static final int T__123=123;
public static final int T__120=120;
public static final int RULE_SL_COMMENT=10;
public static final int T__119=119;
public static final int T__118=118;
public static final int T__115=115;
public static final int EOF=-1;
public static final int T__114=114;
public static final int T__117=117;
public static final int T__116=116;
public static final int T__111=111;
public static final int T__110=110;
public static final int T__113=113;
public static final int T__112=112;
public static final int T__108=108;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__104=104;
public static final int T__103=103;
public static final int T__106=106;
public static final int T__105=105;
public static final int RULE_HEX=7;
public static final int RULE_ML_COMMENT=9;
public static final int T__201=201;
public static final int T__200=200;
public static final int T__91=91;
public static final int T__188=188;
public static final int T__92=92;
public static final int T__187=187;
public static final int T__93=93;
public static final int T__94=94;
public static final int T__189=189;
public static final int T__184=184;
public static final int T__183=183;
public static final int T__186=186;
public static final int T__90=90;
public static final int T__185=185;
public static final int T__180=180;
public static final int T__182=182;
public static final int T__181=181;
public static final int T__99=99;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int T__177=177;
public static final int T__176=176;
public static final int T__179=179;
public static final int T__178=178;
public static final int T__173=173;
public static final int T__172=172;
public static final int T__175=175;
public static final int T__174=174;
public static final int T__171=171;
public static final int T__170=170;
public static final int T__169=169;
public static final int T__70=70;
public static final int T__71=71;
public static final int T__72=72;
public static final int RULE_STRING=6;
public static final int T__77=77;
public static final int T__78=78;
public static final int T__79=79;
public static final int T__73=73;
public static final int T__74=74;
public static final int T__75=75;
public static final int T__76=76;
public static final int T__80=80;
public static final int T__199=199;
public static final int T__81=81;
public static final int T__198=198;
public static final int T__82=82;
public static final int T__83=83;
public static final int T__195=195;
public static final int T__194=194;
public static final int RULE_WS=11;
public static final int T__197=197;
public static final int T__196=196;
public static final int T__191=191;
public static final int T__190=190;
public static final int T__193=193;
public static final int T__192=192;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__89=89;
public static final int T__84=84;
public static final int T__85=85;
public static final int T__86=86;
public static final int T__87=87;
// delegates
// delegators
public InternalDatamartDSLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalDatamartDSLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalDatamartDSLParser.tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g"; }
private DatamartDSLGrammarAccess grammarAccess;
public InternalDatamartDSLParser(TokenStream input, DatamartDSLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "DatamartModel";
}
@Override
protected DatamartDSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleDatamartModel"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:68:1: entryRuleDatamartModel returns [EObject current=null] : iv_ruleDatamartModel= ruleDatamartModel EOF ;
public final EObject entryRuleDatamartModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartModel = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:69:2: (iv_ruleDatamartModel= ruleDatamartModel EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:70:2: iv_ruleDatamartModel= ruleDatamartModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartModelRule());
}
pushFollow(FOLLOW_ruleDatamartModel_in_entryRuleDatamartModel75);
iv_ruleDatamartModel=ruleDatamartModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartModel;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartModel85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartModel"
// $ANTLR start "ruleDatamartModel"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:77:1: ruleDatamartModel returns [EObject current=null] : ( (lv_packages_0_0= ruleDatamartPackage ) )* ;
public final EObject ruleDatamartModel() throws RecognitionException {
EObject current = null;
EObject lv_packages_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:80:28: ( ( (lv_packages_0_0= ruleDatamartPackage ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:81:1: ( (lv_packages_0_0= ruleDatamartPackage ) )*
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:81:1: ( (lv_packages_0_0= ruleDatamartPackage ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==13) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:82:1: (lv_packages_0_0= ruleDatamartPackage )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:82:1: (lv_packages_0_0= ruleDatamartPackage )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:83:3: lv_packages_0_0= ruleDatamartPackage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartModelAccess().getPackagesDatamartPackageParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartPackage_in_ruleDatamartModel130);
lv_packages_0_0=ruleDatamartPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartModelRule());
}
add(
current,
"packages",
lv_packages_0_0,
"DatamartPackage");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop1;
}
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartModel"
// $ANTLR start "entryRuleDatamartPackage"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:107:1: entryRuleDatamartPackage returns [EObject current=null] : iv_ruleDatamartPackage= ruleDatamartPackage EOF ;
public final EObject entryRuleDatamartPackage() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartPackage = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:108:2: (iv_ruleDatamartPackage= ruleDatamartPackage EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:109:2: iv_ruleDatamartPackage= ruleDatamartPackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPackageRule());
}
pushFollow(FOLLOW_ruleDatamartPackage_in_entryRuleDatamartPackage166);
iv_ruleDatamartPackage=ruleDatamartPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartPackage;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartPackage176); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartPackage"
// $ANTLR start "ruleDatamartPackage"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:116:1: ruleDatamartPackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}' )? ) ;
public final EObject ruleDatamartPackage() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
EObject lv_imports_4_0 = null;
EObject lv_definitions_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:119:28: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}' )? ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}' )? )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}' )? )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:120:2: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}' )?
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:120:2: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:121:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDatamartPackageAccess().getDatamartPackageAction_0(),
current);
}
}
otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleDatamartPackage222); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartPackageAccess().getPackageKeyword_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:130:1: ( (lv_name_2_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:131:1: (lv_name_2_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:131:1: (lv_name_2_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:132:3: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleDatamartPackage243);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartPackageRule());
}
set(
current,
"name",
lv_name_2_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:148:2: (otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}' )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==14) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:148:4: otherlv_3= '{' ( (lv_imports_4_0= ruleDatamartImport ) )* ( (lv_definitions_5_0= ruleDatamartDefinition ) )* otherlv_6= '}'
{
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleDatamartPackage256); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartPackageAccess().getLeftCurlyBracketKeyword_3_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:152:1: ( (lv_imports_4_0= ruleDatamartImport ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==72) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:153:1: (lv_imports_4_0= ruleDatamartImport )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:153:1: (lv_imports_4_0= ruleDatamartImport )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:154:3: lv_imports_4_0= ruleDatamartImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPackageAccess().getImportsDatamartImportParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleDatamartImport_in_ruleDatamartPackage277);
lv_imports_4_0=ruleDatamartImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartPackageRule());
}
add(
current,
"imports",
lv_imports_4_0,
"DatamartImport");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop2;
}
} while (true);
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:170:3: ( (lv_definitions_5_0= ruleDatamartDefinition ) )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==16) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:171:1: (lv_definitions_5_0= ruleDatamartDefinition )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:171:1: (lv_definitions_5_0= ruleDatamartDefinition )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:172:3: lv_definitions_5_0= ruleDatamartDefinition
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPackageAccess().getDefinitionsDatamartDefinitionParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleDatamartDefinition_in_ruleDatamartPackage299);
lv_definitions_5_0=ruleDatamartDefinition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartPackageRule());
}
add(
current,
"definitions",
lv_definitions_5_0,
"DatamartDefinition");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop3;
}
} while (true);
otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleDatamartPackage312); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDatamartPackageAccess().getRightCurlyBracketKeyword_3_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartPackage"
// $ANTLR start "entryRuleDatamartDefinition"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:200:1: entryRuleDatamartDefinition returns [EObject current=null] : iv_ruleDatamartDefinition= ruleDatamartDefinition EOF ;
public final EObject entryRuleDatamartDefinition() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartDefinition = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:201:2: (iv_ruleDatamartDefinition= ruleDatamartDefinition EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:202:2: iv_ruleDatamartDefinition= ruleDatamartDefinition EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefinitionRule());
}
pushFollow(FOLLOW_ruleDatamartDefinition_in_entryRuleDatamartDefinition350);
iv_ruleDatamartDefinition=ruleDatamartDefinition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartDefinition;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartDefinition360); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartDefinition"
// $ANTLR start "ruleDatamartDefinition"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:209:1: ruleDatamartDefinition returns [EObject current=null] : (otherlv_0= 'datamart' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}' )? otherlv_8= 'using' ( (lv_source_9_0= ruleDatamartSource ) ) ) ;
public final EObject ruleDatamartDefinition() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token lv_description_2_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_8=null;
AntlrDatatypeRuleToken lv_descriptionValue_3_0 = null;
EObject lv_roles_6_0 = null;
EObject lv_source_9_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:212:28: ( (otherlv_0= 'datamart' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}' )? otherlv_8= 'using' ( (lv_source_9_0= ruleDatamartSource ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:213:1: (otherlv_0= 'datamart' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}' )? otherlv_8= 'using' ( (lv_source_9_0= ruleDatamartSource ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:213:1: (otherlv_0= 'datamart' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}' )? otherlv_8= 'using' ( (lv_source_9_0= ruleDatamartSource ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:213:3: otherlv_0= 'datamart' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}' )? otherlv_8= 'using' ( (lv_source_9_0= ruleDatamartSource ) )
{
otherlv_0=(Token)match(input,16,FOLLOW_16_in_ruleDatamartDefinition397); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartDefinitionAccess().getDatamartKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:217:1: ( (lv_name_1_0= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:218:1: (lv_name_1_0= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:218:1: (lv_name_1_0= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:219:3: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartDefinition414); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getDatamartDefinitionAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartDefinitionRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"ID");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:235:2: ( ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==17) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:235:3: ( (lv_description_2_0= 'described by' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:235:3: ( (lv_description_2_0= 'described by' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:236:1: (lv_description_2_0= 'described by' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:236:1: (lv_description_2_0= 'described by' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:237:3: lv_description_2_0= 'described by'
{
lv_description_2_0=(Token)match(input,17,FOLLOW_17_in_ruleDatamartDefinition438); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_description_2_0, grammarAccess.getDatamartDefinitionAccess().getDescriptionDescribedByKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartDefinitionRule());
}
setWithLastConsumed(current, "description", true, "described by");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:250:2: ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:251:1: (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:251:1: (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:252:3: lv_descriptionValue_3_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefinitionAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleDatamartDefinition472);
lv_descriptionValue_3_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDefinitionRule());
}
set(
current,
"descriptionValue",
lv_descriptionValue_3_0,
"TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:268:4: (otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}' )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==18) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:268:6: otherlv_4= 'for' otherlv_5= '{' ( (lv_roles_6_0= ruleDatamartRole ) )* otherlv_7= '}'
{
otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleDatamartDefinition487); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartDefinitionAccess().getForKeyword_3_0());
}
otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleDatamartDefinition499); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartDefinitionAccess().getLeftCurlyBracketKeyword_3_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:276:1: ( (lv_roles_6_0= ruleDatamartRole ) )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==20) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:277:1: (lv_roles_6_0= ruleDatamartRole )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:277:1: (lv_roles_6_0= ruleDatamartRole )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:278:3: lv_roles_6_0= ruleDatamartRole
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefinitionAccess().getRolesDatamartRoleParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleDatamartRole_in_ruleDatamartDefinition520);
lv_roles_6_0=ruleDatamartRole();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDefinitionRule());
}
add(
current,
"roles",
lv_roles_6_0,
"DatamartRole");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop6;
}
} while (true);
otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleDatamartDefinition533); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartDefinitionAccess().getRightCurlyBracketKeyword_3_3());
}
}
break;
}
otherlv_8=(Token)match(input,19,FOLLOW_19_in_ruleDatamartDefinition547); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDatamartDefinitionAccess().getUsingKeyword_4());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:302:1: ( (lv_source_9_0= ruleDatamartSource ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:303:1: (lv_source_9_0= ruleDatamartSource )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:303:1: (lv_source_9_0= ruleDatamartSource )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:304:3: lv_source_9_0= ruleDatamartSource
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefinitionAccess().getSourceDatamartSourceParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleDatamartSource_in_ruleDatamartDefinition568);
lv_source_9_0=ruleDatamartSource();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDefinitionRule());
}
set(
current,
"source",
lv_source_9_0,
"DatamartSource");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartDefinition"
// $ANTLR start "entryRuleDatamartRole"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:328:1: entryRuleDatamartRole returns [EObject current=null] : iv_ruleDatamartRole= ruleDatamartRole EOF ;
public final EObject entryRuleDatamartRole() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartRole = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:329:2: (iv_ruleDatamartRole= ruleDatamartRole EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:330:2: iv_ruleDatamartRole= ruleDatamartRole EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartRoleRule());
}
pushFollow(FOLLOW_ruleDatamartRole_in_entryRuleDatamartRole604);
iv_ruleDatamartRole=ruleDatamartRole();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartRole;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartRole614); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartRole"
// $ANTLR start "ruleDatamartRole"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:337:1: ruleDatamartRole returns [EObject current=null] : (otherlv_0= 'role' ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleDatamartRole() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:340:28: ( (otherlv_0= 'role' ( (otherlv_1= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:341:1: (otherlv_0= 'role' ( (otherlv_1= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:341:1: (otherlv_0= 'role' ( (otherlv_1= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:341:3: otherlv_0= 'role' ( (otherlv_1= RULE_ID ) )
{
otherlv_0=(Token)match(input,20,FOLLOW_20_in_ruleDatamartRole651); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartRoleAccess().getRoleKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:345:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:346:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:346:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:347:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartRoleRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartRole671); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartRoleAccess().getAssignedRoleRoleCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartRole"
// $ANTLR start "entryRuleDatamartSource"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:366:1: entryRuleDatamartSource returns [EObject current=null] : iv_ruleDatamartSource= ruleDatamartSource EOF ;
public final EObject entryRuleDatamartSource() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSource = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:367:2: (iv_ruleDatamartSource= ruleDatamartSource EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:368:2: iv_ruleDatamartSource= ruleDatamartSource EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSourceRule());
}
pushFollow(FOLLOW_ruleDatamartSource_in_entryRuleDatamartSource707);
iv_ruleDatamartSource=ruleDatamartSource();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSource;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSource717); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSource"
// $ANTLR start "ruleDatamartSource"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:375:1: ruleDatamartSource returns [EObject current=null] : (this_DatamartCube_0= ruleDatamartCube | this_DatamartEntity_1= ruleDatamartEntity | this_DatamartTask_2= ruleDatamartTask ) ;
public final EObject ruleDatamartSource() throws RecognitionException {
EObject current = null;
EObject this_DatamartCube_0 = null;
EObject this_DatamartEntity_1 = null;
EObject this_DatamartTask_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:378:28: ( (this_DatamartCube_0= ruleDatamartCube | this_DatamartEntity_1= ruleDatamartEntity | this_DatamartTask_2= ruleDatamartTask ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:379:1: (this_DatamartCube_0= ruleDatamartCube | this_DatamartEntity_1= ruleDatamartEntity | this_DatamartTask_2= ruleDatamartTask )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:379:1: (this_DatamartCube_0= ruleDatamartCube | this_DatamartEntity_1= ruleDatamartEntity | this_DatamartTask_2= ruleDatamartTask )
int alt8=3;
switch ( input.LA(1) ) {
case 26:
{
alt8=1;
}
break;
case 29:
{
alt8=2;
}
break;
case 21:
{
alt8=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 8, 0, input);
throw nvae;
}
switch (alt8) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:380:5: this_DatamartCube_0= ruleDatamartCube
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSourceAccess().getDatamartCubeParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartCube_in_ruleDatamartSource764);
this_DatamartCube_0=ruleDatamartCube();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartCube_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:390:5: this_DatamartEntity_1= ruleDatamartEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSourceAccess().getDatamartEntityParserRuleCall_1());
}
pushFollow(FOLLOW_ruleDatamartEntity_in_ruleDatamartSource791);
this_DatamartEntity_1=ruleDatamartEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartEntity_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:400:5: this_DatamartTask_2= ruleDatamartTask
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSourceAccess().getDatamartTaskParserRuleCall_2());
}
pushFollow(FOLLOW_ruleDatamartTask_in_ruleDatamartSource818);
this_DatamartTask_2=ruleDatamartTask();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartTask_2;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSource"
// $ANTLR start "entryRuleDatamartTask"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:416:1: entryRuleDatamartTask returns [EObject current=null] : iv_ruleDatamartTask= ruleDatamartTask EOF ;
public final EObject entryRuleDatamartTask() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTask = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:417:2: (iv_ruleDatamartTask= ruleDatamartTask EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:418:2: iv_ruleDatamartTask= ruleDatamartTask EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTaskRule());
}
pushFollow(FOLLOW_ruleDatamartTask_in_entryRuleDatamartTask853);
iv_ruleDatamartTask=ruleDatamartTask();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTask;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartTask863); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTask"
// $ANTLR start "ruleDatamartTask"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:425:1: ruleDatamartTask returns [EObject current=null] : (otherlv_0= 'task' ( (lv_taskQuery_1_0= ruleTaskQueryTopicEnum ) ) (otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}' )? (otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}' )? ) ;
public final EObject ruleDatamartTask() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token otherlv_9=null;
Enumerator lv_taskQuery_1_0 = null;
EObject lv_columns_4_0 = null;
EObject lv_conditions_8_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:428:28: ( (otherlv_0= 'task' ( (lv_taskQuery_1_0= ruleTaskQueryTopicEnum ) ) (otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}' )? (otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}' )? ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:429:1: (otherlv_0= 'task' ( (lv_taskQuery_1_0= ruleTaskQueryTopicEnum ) ) (otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}' )? (otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}' )? )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:429:1: (otherlv_0= 'task' ( (lv_taskQuery_1_0= ruleTaskQueryTopicEnum ) ) (otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}' )? (otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}' )? )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:429:3: otherlv_0= 'task' ( (lv_taskQuery_1_0= ruleTaskQueryTopicEnum ) ) (otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}' )? (otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}' )?
{
otherlv_0=(Token)match(input,21,FOLLOW_21_in_ruleDatamartTask900); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartTaskAccess().getTaskKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:433:1: ( (lv_taskQuery_1_0= ruleTaskQueryTopicEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:434:1: (lv_taskQuery_1_0= ruleTaskQueryTopicEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:434:1: (lv_taskQuery_1_0= ruleTaskQueryTopicEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:435:3: lv_taskQuery_1_0= ruleTaskQueryTopicEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTaskAccess().getTaskQueryTaskQueryTopicEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleTaskQueryTopicEnum_in_ruleDatamartTask921);
lv_taskQuery_1_0=ruleTaskQueryTopicEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTaskRule());
}
set(
current,
"taskQuery",
lv_taskQuery_1_0,
"TaskQueryTopicEnum");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:451:2: (otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}' )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==22) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:451:4: otherlv_2= 'columns' otherlv_3= '{' ( (lv_columns_4_0= ruleDatamartColumn ) )* otherlv_5= '}'
{
otherlv_2=(Token)match(input,22,FOLLOW_22_in_ruleDatamartTask934); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTaskAccess().getColumnsKeyword_2_0());
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleDatamartTask946); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartTaskAccess().getLeftCurlyBracketKeyword_2_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:459:1: ( (lv_columns_4_0= ruleDatamartColumn ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==24) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:460:1: (lv_columns_4_0= ruleDatamartColumn )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:460:1: (lv_columns_4_0= ruleDatamartColumn )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:461:3: lv_columns_4_0= ruleDatamartColumn
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTaskAccess().getColumnsDatamartColumnParserRuleCall_2_2_0());
}
pushFollow(FOLLOW_ruleDatamartColumn_in_ruleDatamartTask967);
lv_columns_4_0=ruleDatamartColumn();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTaskRule());
}
add(
current,
"columns",
lv_columns_4_0,
"DatamartColumn");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop9;
}
} while (true);
otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleDatamartTask980); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartTaskAccess().getRightCurlyBracketKeyword_2_3());
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:481:3: (otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}' )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==23) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:481:5: otherlv_6= 'conditions' otherlv_7= '{' ( (lv_conditions_8_0= ruleDatamartCondition ) )* otherlv_9= '}'
{
otherlv_6=(Token)match(input,23,FOLLOW_23_in_ruleDatamartTask995); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDatamartTaskAccess().getConditionsKeyword_3_0());
}
otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleDatamartTask1007); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartTaskAccess().getLeftCurlyBracketKeyword_3_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:489:1: ( (lv_conditions_8_0= ruleDatamartCondition ) )*
loop11:
do {
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==42) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:490:1: (lv_conditions_8_0= ruleDatamartCondition )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:490:1: (lv_conditions_8_0= ruleDatamartCondition )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:491:3: lv_conditions_8_0= ruleDatamartCondition
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTaskAccess().getConditionsDatamartConditionParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleDatamartCondition_in_ruleDatamartTask1028);
lv_conditions_8_0=ruleDatamartCondition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTaskRule());
}
add(
current,
"conditions",
lv_conditions_8_0,
"DatamartCondition");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop11;
}
} while (true);
otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleDatamartTask1041); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDatamartTaskAccess().getRightCurlyBracketKeyword_3_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTask"
// $ANTLR start "entryRuleDatamartColumn"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:519:1: entryRuleDatamartColumn returns [EObject current=null] : iv_ruleDatamartColumn= ruleDatamartColumn EOF ;
public final EObject entryRuleDatamartColumn() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartColumn = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:520:2: (iv_ruleDatamartColumn= ruleDatamartColumn EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:521:2: iv_ruleDatamartColumn= ruleDatamartColumn EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartColumnRule());
}
pushFollow(FOLLOW_ruleDatamartColumn_in_entryRuleDatamartColumn1079);
iv_ruleDatamartColumn=ruleDatamartColumn();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartColumn;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartColumn1089); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartColumn"
// $ANTLR start "ruleDatamartColumn"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:528:1: ruleDatamartColumn returns [EObject current=null] : (otherlv_0= 'column' ( (lv_columnRef_1_0= ruleTaskQueryColumnEnum ) ) ) ;
public final EObject ruleDatamartColumn() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_columnRef_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:531:28: ( (otherlv_0= 'column' ( (lv_columnRef_1_0= ruleTaskQueryColumnEnum ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:532:1: (otherlv_0= 'column' ( (lv_columnRef_1_0= ruleTaskQueryColumnEnum ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:532:1: (otherlv_0= 'column' ( (lv_columnRef_1_0= ruleTaskQueryColumnEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:532:3: otherlv_0= 'column' ( (lv_columnRef_1_0= ruleTaskQueryColumnEnum ) )
{
otherlv_0=(Token)match(input,24,FOLLOW_24_in_ruleDatamartColumn1126); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartColumnAccess().getColumnKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:536:1: ( (lv_columnRef_1_0= ruleTaskQueryColumnEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:537:1: (lv_columnRef_1_0= ruleTaskQueryColumnEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:537:1: (lv_columnRef_1_0= ruleTaskQueryColumnEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:538:3: lv_columnRef_1_0= ruleTaskQueryColumnEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartColumnAccess().getColumnRefTaskQueryColumnEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleTaskQueryColumnEnum_in_ruleDatamartColumn1147);
lv_columnRef_1_0=ruleTaskQueryColumnEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartColumnRule());
}
set(
current,
"columnRef",
lv_columnRef_1_0,
"TaskQueryColumnEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartColumn"
// $ANTLR start "entryRuleDatamartTaskFilter"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:562:1: entryRuleDatamartTaskFilter returns [EObject current=null] : iv_ruleDatamartTaskFilter= ruleDatamartTaskFilter EOF ;
public final EObject entryRuleDatamartTaskFilter() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTaskFilter = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:563:2: (iv_ruleDatamartTaskFilter= ruleDatamartTaskFilter EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:564:2: iv_ruleDatamartTaskFilter= ruleDatamartTaskFilter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTaskFilterRule());
}
pushFollow(FOLLOW_ruleDatamartTaskFilter_in_entryRuleDatamartTaskFilter1183);
iv_ruleDatamartTaskFilter=ruleDatamartTaskFilter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTaskFilter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartTaskFilter1193); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTaskFilter"
// $ANTLR start "ruleDatamartTaskFilter"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:571:1: ruleDatamartTaskFilter returns [EObject current=null] : (otherlv_0= 'filter' ( (lv_filterRef_1_0= ruleTaskFilterEnum ) ) ) ;
public final EObject ruleDatamartTaskFilter() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_filterRef_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:574:28: ( (otherlv_0= 'filter' ( (lv_filterRef_1_0= ruleTaskFilterEnum ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:575:1: (otherlv_0= 'filter' ( (lv_filterRef_1_0= ruleTaskFilterEnum ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:575:1: (otherlv_0= 'filter' ( (lv_filterRef_1_0= ruleTaskFilterEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:575:3: otherlv_0= 'filter' ( (lv_filterRef_1_0= ruleTaskFilterEnum ) )
{
otherlv_0=(Token)match(input,25,FOLLOW_25_in_ruleDatamartTaskFilter1230); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartTaskFilterAccess().getFilterKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:579:1: ( (lv_filterRef_1_0= ruleTaskFilterEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:580:1: (lv_filterRef_1_0= ruleTaskFilterEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:580:1: (lv_filterRef_1_0= ruleTaskFilterEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:581:3: lv_filterRef_1_0= ruleTaskFilterEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTaskFilterAccess().getFilterRefTaskFilterEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleTaskFilterEnum_in_ruleDatamartTaskFilter1251);
lv_filterRef_1_0=ruleTaskFilterEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTaskFilterRule());
}
set(
current,
"filterRef",
lv_filterRef_1_0,
"TaskFilterEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTaskFilter"
// $ANTLR start "entryRuleDatamartCube"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:605:1: entryRuleDatamartCube returns [EObject current=null] : iv_ruleDatamartCube= ruleDatamartCube EOF ;
public final EObject entryRuleDatamartCube() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartCube = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:606:2: (iv_ruleDatamartCube= ruleDatamartCube EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:607:2: iv_ruleDatamartCube= ruleDatamartCube EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartCubeRule());
}
pushFollow(FOLLOW_ruleDatamartCube_in_entryRuleDatamartCube1287);
iv_ruleDatamartCube=ruleDatamartCube();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartCube;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartCube1297); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartCube"
// $ANTLR start "ruleDatamartCube"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:614:1: ruleDatamartCube returns [EObject current=null] : (otherlv_0= 'cube' ( (otherlv_1= RULE_ID ) ) ( (lv_nonEmpty_2_0= 'nonempty values' ) )? otherlv_3= '{' ( (lv_axisslicer_4_0= ruleDatamartCubeElement ) )* otherlv_5= '}' ) ;
public final EObject ruleDatamartCube() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_nonEmpty_2_0=null;
Token otherlv_3=null;
Token otherlv_5=null;
EObject lv_axisslicer_4_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:617:28: ( (otherlv_0= 'cube' ( (otherlv_1= RULE_ID ) ) ( (lv_nonEmpty_2_0= 'nonempty values' ) )? otherlv_3= '{' ( (lv_axisslicer_4_0= ruleDatamartCubeElement ) )* otherlv_5= '}' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:618:1: (otherlv_0= 'cube' ( (otherlv_1= RULE_ID ) ) ( (lv_nonEmpty_2_0= 'nonempty values' ) )? otherlv_3= '{' ( (lv_axisslicer_4_0= ruleDatamartCubeElement ) )* otherlv_5= '}' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:618:1: (otherlv_0= 'cube' ( (otherlv_1= RULE_ID ) ) ( (lv_nonEmpty_2_0= 'nonempty values' ) )? otherlv_3= '{' ( (lv_axisslicer_4_0= ruleDatamartCubeElement ) )* otherlv_5= '}' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:618:3: otherlv_0= 'cube' ( (otherlv_1= RULE_ID ) ) ( (lv_nonEmpty_2_0= 'nonempty values' ) )? otherlv_3= '{' ( (lv_axisslicer_4_0= ruleDatamartCubeElement ) )* otherlv_5= '}'
{
otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleDatamartCube1334); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartCubeAccess().getCubeKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:622:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:623:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:623:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:624:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartCubeRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartCube1354); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartCubeAccess().getCubeRefCubeTypeCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:635:2: ( (lv_nonEmpty_2_0= 'nonempty values' ) )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==27) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:636:1: (lv_nonEmpty_2_0= 'nonempty values' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:636:1: (lv_nonEmpty_2_0= 'nonempty values' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:637:3: lv_nonEmpty_2_0= 'nonempty values'
{
lv_nonEmpty_2_0=(Token)match(input,27,FOLLOW_27_in_ruleDatamartCube1372); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nonEmpty_2_0, grammarAccess.getDatamartCubeAccess().getNonEmptyNonemptyValuesKeyword_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartCubeRule());
}
setWithLastConsumed(current, "nonEmpty", true, "nonempty values");
}
}
}
break;
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleDatamartCube1398); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartCubeAccess().getLeftCurlyBracketKeyword_3());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:654:1: ( (lv_axisslicer_4_0= ruleDatamartCubeElement ) )*
loop14:
do {
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==51||(LA14_0>=59 && LA14_0<=60)) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:655:1: (lv_axisslicer_4_0= ruleDatamartCubeElement )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:655:1: (lv_axisslicer_4_0= ruleDatamartCubeElement )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:656:3: lv_axisslicer_4_0= ruleDatamartCubeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartCubeAccess().getAxisslicerDatamartCubeElementParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleDatamartCubeElement_in_ruleDatamartCube1419);
lv_axisslicer_4_0=ruleDatamartCubeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartCubeRule());
}
add(
current,
"axisslicer",
lv_axisslicer_4_0,
"DatamartCubeElement");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop14;
}
} while (true);
otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleDatamartCube1432); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartCubeAccess().getRightCurlyBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartCube"
// $ANTLR start "entryRuleDatamartReference"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:684:1: entryRuleDatamartReference returns [EObject current=null] : iv_ruleDatamartReference= ruleDatamartReference EOF ;
public final EObject entryRuleDatamartReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartReference = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:685:2: (iv_ruleDatamartReference= ruleDatamartReference EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:686:2: iv_ruleDatamartReference= ruleDatamartReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartReferenceRule());
}
pushFollow(FOLLOW_ruleDatamartReference_in_entryRuleDatamartReference1468);
iv_ruleDatamartReference=ruleDatamartReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartReference;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartReference1478); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartReference"
// $ANTLR start "ruleDatamartReference"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:693:1: ruleDatamartReference returns [EObject current=null] : (otherlv_0= 'join' ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleDatamartReference() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:696:28: ( (otherlv_0= 'join' ( (otherlv_1= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:697:1: (otherlv_0= 'join' ( (otherlv_1= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:697:1: (otherlv_0= 'join' ( (otherlv_1= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:697:3: otherlv_0= 'join' ( (otherlv_1= RULE_ID ) )
{
otherlv_0=(Token)match(input,28,FOLLOW_28_in_ruleDatamartReference1515); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartReferenceAccess().getJoinKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:701:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:702:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:702:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:703:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartReferenceRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartReference1535); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartReferenceAccess().getRefLEntityReferenceCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartReference"
// $ANTLR start "entryRuleDatamartEntity"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:722:1: entryRuleDatamartEntity returns [EObject current=null] : iv_ruleDatamartEntity= ruleDatamartEntity EOF ;
public final EObject entryRuleDatamartEntity() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartEntity = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:723:2: (iv_ruleDatamartEntity= ruleDatamartEntity EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:724:2: iv_ruleDatamartEntity= ruleDatamartEntity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartEntityRule());
}
pushFollow(FOLLOW_ruleDatamartEntity_in_entryRuleDatamartEntity1571);
iv_ruleDatamartEntity=ruleDatamartEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartEntity;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartEntity1581); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartEntity"
// $ANTLR start "ruleDatamartEntity"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:731:1: ruleDatamartEntity returns [EObject current=null] : (otherlv_0= 'entity' ( (otherlv_1= RULE_ID ) ) ( (lv_tracking_2_0= 'tracking' ) )? otherlv_3= '{' (otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}' )? (otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}' )? (otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}' )? (otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}' )? (otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}' )? otherlv_27= '}' ) ;
public final EObject ruleDatamartEntity() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_tracking_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_17=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token lv_fillerMinCountRows_21_0=null;
Token otherlv_22=null;
Token lv_fillerMaxCountRows_23_0=null;
Token otherlv_24=null;
Token otherlv_26=null;
Token otherlv_27=null;
EObject lv_navigations_6_0 = null;
EObject lv_properties_10_0 = null;
EObject lv_conditions_14_0 = null;
EObject lv_ordering_18_0 = null;
EObject lv_fillerDatas_25_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:734:28: ( (otherlv_0= 'entity' ( (otherlv_1= RULE_ID ) ) ( (lv_tracking_2_0= 'tracking' ) )? otherlv_3= '{' (otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}' )? (otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}' )? (otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}' )? (otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}' )? (otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}' )? otherlv_27= '}' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:735:1: (otherlv_0= 'entity' ( (otherlv_1= RULE_ID ) ) ( (lv_tracking_2_0= 'tracking' ) )? otherlv_3= '{' (otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}' )? (otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}' )? (otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}' )? (otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}' )? (otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}' )? otherlv_27= '}' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:735:1: (otherlv_0= 'entity' ( (otherlv_1= RULE_ID ) ) ( (lv_tracking_2_0= 'tracking' ) )? otherlv_3= '{' (otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}' )? (otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}' )? (otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}' )? (otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}' )? (otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}' )? otherlv_27= '}' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:735:3: otherlv_0= 'entity' ( (otherlv_1= RULE_ID ) ) ( (lv_tracking_2_0= 'tracking' ) )? otherlv_3= '{' (otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}' )? (otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}' )? (otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}' )? (otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}' )? (otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}' )? otherlv_27= '}'
{
otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleDatamartEntity1618); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartEntityAccess().getEntityKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:739:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:740:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:740:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:741:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartEntityRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartEntity1638); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartEntityAccess().getEntityRefLEntityCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:752:2: ( (lv_tracking_2_0= 'tracking' ) )?
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==30) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:753:1: (lv_tracking_2_0= 'tracking' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:753:1: (lv_tracking_2_0= 'tracking' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:754:3: lv_tracking_2_0= 'tracking'
{
lv_tracking_2_0=(Token)match(input,30,FOLLOW_30_in_ruleDatamartEntity1656); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_tracking_2_0, grammarAccess.getDatamartEntityAccess().getTrackingTrackingKeyword_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartEntityRule());
}
setWithLastConsumed(current, "tracking", true, "tracking");
}
}
}
break;
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleDatamartEntity1682); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:771:1: (otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}' )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==31) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:771:3: otherlv_4= 'navigation' otherlv_5= '{' ( (lv_navigations_6_0= ruleDatamartNavigation ) )* otherlv_7= '}'
{
otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleDatamartEntity1695); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartEntityAccess().getNavigationKeyword_4_0());
}
otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleDatamartEntity1707); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_4_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:779:1: ( (lv_navigations_6_0= ruleDatamartNavigation ) )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( ((LA16_0>=36 && LA16_0<=37)) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:780:1: (lv_navigations_6_0= ruleDatamartNavigation )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:780:1: (lv_navigations_6_0= ruleDatamartNavigation )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:781:3: lv_navigations_6_0= ruleDatamartNavigation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartEntityAccess().getNavigationsDatamartNavigationParserRuleCall_4_2_0());
}
pushFollow(FOLLOW_ruleDatamartNavigation_in_ruleDatamartEntity1728);
lv_navigations_6_0=ruleDatamartNavigation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartEntityRule());
}
add(
current,
"navigations",
lv_navigations_6_0,
"DatamartNavigation");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop16;
}
} while (true);
otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleDatamartEntity1741); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_4_3());
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:801:3: (otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}' )?
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==32) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:801:5: otherlv_8= 'properties' otherlv_9= '{' ( (lv_properties_10_0= ruleDatamartProperty ) )* otherlv_11= '}'
{
otherlv_8=(Token)match(input,32,FOLLOW_32_in_ruleDatamartEntity1756); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDatamartEntityAccess().getPropertiesKeyword_5_0());
}
otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleDatamartEntity1768); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_5_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:809:1: ( (lv_properties_10_0= ruleDatamartProperty ) )*
loop18:
do {
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==38) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:810:1: (lv_properties_10_0= ruleDatamartProperty )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:810:1: (lv_properties_10_0= ruleDatamartProperty )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:811:3: lv_properties_10_0= ruleDatamartProperty
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartEntityAccess().getPropertiesDatamartPropertyParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_ruleDatamartProperty_in_ruleDatamartEntity1789);
lv_properties_10_0=ruleDatamartProperty();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartEntityRule());
}
add(
current,
"properties",
lv_properties_10_0,
"DatamartProperty");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop18;
}
} while (true);
otherlv_11=(Token)match(input,15,FOLLOW_15_in_ruleDatamartEntity1802); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_5_3());
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:831:3: (otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}' )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==23) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:831:5: otherlv_12= 'conditions' otherlv_13= '{' ( (lv_conditions_14_0= ruleDatamartCondition ) )* otherlv_15= '}'
{
otherlv_12=(Token)match(input,23,FOLLOW_23_in_ruleDatamartEntity1817); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDatamartEntityAccess().getConditionsKeyword_6_0());
}
otherlv_13=(Token)match(input,14,FOLLOW_14_in_ruleDatamartEntity1829); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_6_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:839:1: ( (lv_conditions_14_0= ruleDatamartCondition ) )*
loop20:
do {
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==42) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:840:1: (lv_conditions_14_0= ruleDatamartCondition )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:840:1: (lv_conditions_14_0= ruleDatamartCondition )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:841:3: lv_conditions_14_0= ruleDatamartCondition
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartEntityAccess().getConditionsDatamartConditionParserRuleCall_6_2_0());
}
pushFollow(FOLLOW_ruleDatamartCondition_in_ruleDatamartEntity1850);
lv_conditions_14_0=ruleDatamartCondition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartEntityRule());
}
add(
current,
"conditions",
lv_conditions_14_0,
"DatamartCondition");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop20;
}
} while (true);
otherlv_15=(Token)match(input,15,FOLLOW_15_in_ruleDatamartEntity1863); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_6_3());
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:861:3: (otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}' )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==33) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:861:5: otherlv_16= 'ordering' otherlv_17= '{' ( (lv_ordering_18_0= ruleDatamartOrder ) )* otherlv_19= '}'
{
otherlv_16=(Token)match(input,33,FOLLOW_33_in_ruleDatamartEntity1878); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getDatamartEntityAccess().getOrderingKeyword_7_0());
}
otherlv_17=(Token)match(input,14,FOLLOW_14_in_ruleDatamartEntity1890); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_17, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_7_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:869:1: ( (lv_ordering_18_0= ruleDatamartOrder ) )*
loop22:
do {
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==43) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:870:1: (lv_ordering_18_0= ruleDatamartOrder )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:870:1: (lv_ordering_18_0= ruleDatamartOrder )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:871:3: lv_ordering_18_0= ruleDatamartOrder
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartEntityAccess().getOrderingDatamartOrderParserRuleCall_7_2_0());
}
pushFollow(FOLLOW_ruleDatamartOrder_in_ruleDatamartEntity1911);
lv_ordering_18_0=ruleDatamartOrder();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartEntityRule());
}
add(
current,
"ordering",
lv_ordering_18_0,
"DatamartOrder");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop22;
}
} while (true);
otherlv_19=(Token)match(input,15,FOLLOW_15_in_ruleDatamartEntity1924); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_19, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_7_3());
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:891:3: (otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}' )?
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==34) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:891:5: otherlv_20= 'filler rows' ( (lv_fillerMinCountRows_21_0= RULE_INT ) ) otherlv_22= 'to' ( (lv_fillerMaxCountRows_23_0= RULE_INT ) ) otherlv_24= '{' ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )* otherlv_26= '}'
{
otherlv_20=(Token)match(input,34,FOLLOW_34_in_ruleDatamartEntity1939); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getDatamartEntityAccess().getFillerRowsKeyword_8_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:895:1: ( (lv_fillerMinCountRows_21_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:896:1: (lv_fillerMinCountRows_21_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:896:1: (lv_fillerMinCountRows_21_0= RULE_INT )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:897:3: lv_fillerMinCountRows_21_0= RULE_INT
{
lv_fillerMinCountRows_21_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDatamartEntity1956); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fillerMinCountRows_21_0, grammarAccess.getDatamartEntityAccess().getFillerMinCountRowsINTTerminalRuleCall_8_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartEntityRule());
}
setWithLastConsumed(
current,
"fillerMinCountRows",
lv_fillerMinCountRows_21_0,
"INT");
}
}
}
otherlv_22=(Token)match(input,35,FOLLOW_35_in_ruleDatamartEntity1973); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getDatamartEntityAccess().getToKeyword_8_2());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:917:1: ( (lv_fillerMaxCountRows_23_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:918:1: (lv_fillerMaxCountRows_23_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:918:1: (lv_fillerMaxCountRows_23_0= RULE_INT )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:919:3: lv_fillerMaxCountRows_23_0= RULE_INT
{
lv_fillerMaxCountRows_23_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDatamartEntity1990); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fillerMaxCountRows_23_0, grammarAccess.getDatamartEntityAccess().getFillerMaxCountRowsINTTerminalRuleCall_8_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartEntityRule());
}
setWithLastConsumed(
current,
"fillerMaxCountRows",
lv_fillerMaxCountRows_23_0,
"INT");
}
}
}
otherlv_24=(Token)match(input,14,FOLLOW_14_in_ruleDatamartEntity2007); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_24, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_8_4());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:939:1: ( (lv_fillerDatas_25_0= rulePropertyFillerData ) )*
loop24:
do {
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==74) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:940:1: (lv_fillerDatas_25_0= rulePropertyFillerData )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:940:1: (lv_fillerDatas_25_0= rulePropertyFillerData )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:941:3: lv_fillerDatas_25_0= rulePropertyFillerData
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartEntityAccess().getFillerDatasPropertyFillerDataParserRuleCall_8_5_0());
}
pushFollow(FOLLOW_rulePropertyFillerData_in_ruleDatamartEntity2028);
lv_fillerDatas_25_0=rulePropertyFillerData();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartEntityRule());
}
add(
current,
"fillerDatas",
lv_fillerDatas_25_0,
"PropertyFillerData");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop24;
}
} while (true);
otherlv_26=(Token)match(input,15,FOLLOW_15_in_ruleDatamartEntity2041); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_26, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_8_6());
}
}
break;
}
otherlv_27=(Token)match(input,15,FOLLOW_15_in_ruleDatamartEntity2055); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_27, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_9());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartEntity"
// $ANTLR start "entryRuleDatamartNavigation"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:973:1: entryRuleDatamartNavigation returns [EObject current=null] : iv_ruleDatamartNavigation= ruleDatamartNavigation EOF ;
public final EObject entryRuleDatamartNavigation() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartNavigation = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:974:2: (iv_ruleDatamartNavigation= ruleDatamartNavigation EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:975:2: iv_ruleDatamartNavigation= ruleDatamartNavigation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNavigationRule());
}
pushFollow(FOLLOW_ruleDatamartNavigation_in_entryRuleDatamartNavigation2091);
iv_ruleDatamartNavigation=ruleDatamartNavigation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartNavigation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartNavigation2101); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartNavigation"
// $ANTLR start "ruleDatamartNavigation"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:982:1: ruleDatamartNavigation returns [EObject current=null] : (this_DatamartOwner_0= ruleDatamartOwner | this_DatamartMember_1= ruleDatamartMember ) ;
public final EObject ruleDatamartNavigation() throws RecognitionException {
EObject current = null;
EObject this_DatamartOwner_0 = null;
EObject this_DatamartMember_1 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:985:28: ( (this_DatamartOwner_0= ruleDatamartOwner | this_DatamartMember_1= ruleDatamartMember ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:986:1: (this_DatamartOwner_0= ruleDatamartOwner | this_DatamartMember_1= ruleDatamartMember )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:986:1: (this_DatamartOwner_0= ruleDatamartOwner | this_DatamartMember_1= ruleDatamartMember )
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==36) ) {
alt26=1;
}
else if ( (LA26_0==37) ) {
alt26=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:987:5: this_DatamartOwner_0= ruleDatamartOwner
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNavigationAccess().getDatamartOwnerParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartOwner_in_ruleDatamartNavigation2148);
this_DatamartOwner_0=ruleDatamartOwner();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartOwner_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:997:5: this_DatamartMember_1= ruleDatamartMember
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNavigationAccess().getDatamartMemberParserRuleCall_1());
}
pushFollow(FOLLOW_ruleDatamartMember_in_ruleDatamartNavigation2175);
this_DatamartMember_1=ruleDatamartMember();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartMember_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartNavigation"
// $ANTLR start "entryRuleDatamartOwner"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1013:1: entryRuleDatamartOwner returns [EObject current=null] : iv_ruleDatamartOwner= ruleDatamartOwner EOF ;
public final EObject entryRuleDatamartOwner() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartOwner = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1014:2: (iv_ruleDatamartOwner= ruleDatamartOwner EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1015:2: iv_ruleDatamartOwner= ruleDatamartOwner EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOwnerRule());
}
pushFollow(FOLLOW_ruleDatamartOwner_in_entryRuleDatamartOwner2210);
iv_ruleDatamartOwner=ruleDatamartOwner();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartOwner;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartOwner2220); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartOwner"
// $ANTLR start "ruleDatamartOwner"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1022:1: ruleDatamartOwner returns [EObject current=null] : (otherlv_0= 'many to one' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) ) ;
public final EObject ruleDatamartOwner() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
EObject lv_joinRef_1_0 = null;
EObject lv_datamartEntity_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1025:28: ( (otherlv_0= 'many to one' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1026:1: (otherlv_0= 'many to one' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1026:1: (otherlv_0= 'many to one' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1026:3: otherlv_0= 'many to one' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) )
{
otherlv_0=(Token)match(input,36,FOLLOW_36_in_ruleDatamartOwner2257); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartOwnerAccess().getManyToOneKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1030:1: ( (lv_joinRef_1_0= ruleDatamartReference ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1031:1: (lv_joinRef_1_0= ruleDatamartReference )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1031:1: (lv_joinRef_1_0= ruleDatamartReference )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1032:3: lv_joinRef_1_0= ruleDatamartReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOwnerAccess().getJoinRefDatamartReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDatamartReference_in_ruleDatamartOwner2278);
lv_joinRef_1_0=ruleDatamartReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartOwnerRule());
}
set(
current,
"joinRef",
lv_joinRef_1_0,
"DatamartReference");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,35,FOLLOW_35_in_ruleDatamartOwner2290); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartOwnerAccess().getToKeyword_2());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1052:1: ( (lv_datamartEntity_3_0= ruleDatamartEntity ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1053:1: (lv_datamartEntity_3_0= ruleDatamartEntity )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1053:1: (lv_datamartEntity_3_0= ruleDatamartEntity )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1054:3: lv_datamartEntity_3_0= ruleDatamartEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOwnerAccess().getDatamartEntityDatamartEntityParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleDatamartEntity_in_ruleDatamartOwner2311);
lv_datamartEntity_3_0=ruleDatamartEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartOwnerRule());
}
set(
current,
"datamartEntity",
lv_datamartEntity_3_0,
"DatamartEntity");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartOwner"
// $ANTLR start "entryRuleDatamartMember"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1078:1: entryRuleDatamartMember returns [EObject current=null] : iv_ruleDatamartMember= ruleDatamartMember EOF ;
public final EObject entryRuleDatamartMember() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartMember = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1079:2: (iv_ruleDatamartMember= ruleDatamartMember EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1080:2: iv_ruleDatamartMember= ruleDatamartMember EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberRule());
}
pushFollow(FOLLOW_ruleDatamartMember_in_entryRuleDatamartMember2347);
iv_ruleDatamartMember=ruleDatamartMember();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartMember;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartMember2357); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartMember"
// $ANTLR start "ruleDatamartMember"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1087:1: ruleDatamartMember returns [EObject current=null] : (otherlv_0= 'one to many' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) ) ;
public final EObject ruleDatamartMember() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
EObject lv_joinRef_1_0 = null;
EObject lv_datamartEntity_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1090:28: ( (otherlv_0= 'one to many' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1091:1: (otherlv_0= 'one to many' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1091:1: (otherlv_0= 'one to many' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1091:3: otherlv_0= 'one to many' ( (lv_joinRef_1_0= ruleDatamartReference ) ) otherlv_2= 'to' ( (lv_datamartEntity_3_0= ruleDatamartEntity ) )
{
otherlv_0=(Token)match(input,37,FOLLOW_37_in_ruleDatamartMember2394); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartMemberAccess().getOneToManyKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1095:1: ( (lv_joinRef_1_0= ruleDatamartReference ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1096:1: (lv_joinRef_1_0= ruleDatamartReference )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1096:1: (lv_joinRef_1_0= ruleDatamartReference )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1097:3: lv_joinRef_1_0= ruleDatamartReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberAccess().getJoinRefDatamartReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDatamartReference_in_ruleDatamartMember2415);
lv_joinRef_1_0=ruleDatamartReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMemberRule());
}
set(
current,
"joinRef",
lv_joinRef_1_0,
"DatamartReference");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,35,FOLLOW_35_in_ruleDatamartMember2427); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartMemberAccess().getToKeyword_2());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1117:1: ( (lv_datamartEntity_3_0= ruleDatamartEntity ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1118:1: (lv_datamartEntity_3_0= ruleDatamartEntity )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1118:1: (lv_datamartEntity_3_0= ruleDatamartEntity )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1119:3: lv_datamartEntity_3_0= ruleDatamartEntity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberAccess().getDatamartEntityDatamartEntityParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleDatamartEntity_in_ruleDatamartMember2448);
lv_datamartEntity_3_0=ruleDatamartEntity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMemberRule());
}
set(
current,
"datamartEntity",
lv_datamartEntity_3_0,
"DatamartEntity");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartMember"
// $ANTLR start "entryRuleDatamartProperty"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1143:1: entryRuleDatamartProperty returns [EObject current=null] : iv_ruleDatamartProperty= ruleDatamartProperty EOF ;
public final EObject entryRuleDatamartProperty() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartProperty = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1144:2: (iv_ruleDatamartProperty= ruleDatamartProperty EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1145:2: iv_ruleDatamartProperty= ruleDatamartProperty EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPropertyRule());
}
pushFollow(FOLLOW_ruleDatamartProperty_in_entryRuleDatamartProperty2484);
iv_ruleDatamartProperty=ruleDatamartProperty();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartProperty;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartProperty2494); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartProperty"
// $ANTLR start "ruleDatamartProperty"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1152:1: ruleDatamartProperty returns [EObject current=null] : (otherlv_0= 'property' ( (otherlv_1= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) ) ) ) ;
public final EObject ruleDatamartProperty() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_aggregated_3_0=null;
Token lv_placed_5_0=null;
Token lv_scaled_7_0=null;
Enumerator lv_aggregate_4_0 = null;
Enumerator lv_axis_6_0 = null;
Enumerator lv_scale_8_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1155:28: ( (otherlv_0= 'property' ( (otherlv_1= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1156:1: (otherlv_0= 'property' ( (otherlv_1= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1156:1: (otherlv_0= 'property' ( (otherlv_1= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1156:3: otherlv_0= 'property' ( (otherlv_1= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) ) )
{
otherlv_0=(Token)match(input,38,FOLLOW_38_in_ruleDatamartProperty2531); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartPropertyAccess().getPropertyKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1160:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1161:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1161:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1162:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartPropertyRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartProperty2551); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartPropertyAccess().getPropertyRefLEntityAttributeCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1173:2: ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1175:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1175:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1176:2: ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1179:2: ( ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1180:3: ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )*
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1180:3: ( ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) ) )*
loop27:
do {
int alt27=4;
int LA27_0 = input.LA(1);
if ( LA27_0 ==39 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 0) ) {
alt27=1;
}
else if ( LA27_0 ==40 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 1) ) {
alt27=2;
}
else if ( LA27_0 ==41 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 2) ) {
alt27=3;
}
switch (alt27) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1182:4: ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1182:4: ({...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1183:5: {...}? => ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartProperty", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1183:113: ( ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1184:6: ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1187:6: ({...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1187:7: {...}? => ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartProperty", "true");
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1187:16: ( ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1187:17: ( (lv_aggregated_3_0= 'aggregate' ) ) ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1187:17: ( (lv_aggregated_3_0= 'aggregate' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1188:1: (lv_aggregated_3_0= 'aggregate' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1188:1: (lv_aggregated_3_0= 'aggregate' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1189:3: lv_aggregated_3_0= 'aggregate'
{
lv_aggregated_3_0=(Token)match(input,39,FOLLOW_39_in_ruleDatamartProperty2615); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_aggregated_3_0, grammarAccess.getDatamartPropertyAccess().getAggregatedAggregateKeyword_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartPropertyRule());
}
setWithLastConsumed(current, "aggregated", true, "aggregate");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1202:2: ( (lv_aggregate_4_0= ruleSqlAggregationEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1203:1: (lv_aggregate_4_0= ruleSqlAggregationEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1203:1: (lv_aggregate_4_0= ruleSqlAggregationEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1204:3: lv_aggregate_4_0= ruleSqlAggregationEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPropertyAccess().getAggregateSqlAggregationEnumEnumRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_ruleSqlAggregationEnum_in_ruleDatamartProperty2649);
lv_aggregate_4_0=ruleSqlAggregationEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartPropertyRule());
}
set(
current,
"aggregate",
lv_aggregate_4_0,
"SqlAggregationEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1227:4: ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1227:4: ({...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1228:5: {...}? => ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartProperty", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1228:113: ( ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1229:6: ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1232:6: ({...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1232:7: {...}? => ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartProperty", "true");
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1232:16: ( ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1232:17: ( (lv_placed_5_0= 'on axis' ) ) ( (lv_axis_6_0= ruleAxisEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1232:17: ( (lv_placed_5_0= 'on axis' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1233:1: (lv_placed_5_0= 'on axis' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1233:1: (lv_placed_5_0= 'on axis' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1234:3: lv_placed_5_0= 'on axis'
{
lv_placed_5_0=(Token)match(input,40,FOLLOW_40_in_ruleDatamartProperty2723); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_placed_5_0, grammarAccess.getDatamartPropertyAccess().getPlacedOnAxisKeyword_2_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartPropertyRule());
}
setWithLastConsumed(current, "placed", true, "on axis");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1247:2: ( (lv_axis_6_0= ruleAxisEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1248:1: (lv_axis_6_0= ruleAxisEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1248:1: (lv_axis_6_0= ruleAxisEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1249:3: lv_axis_6_0= ruleAxisEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPropertyAccess().getAxisAxisEnumEnumRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_ruleAxisEnum_in_ruleDatamartProperty2757);
lv_axis_6_0=ruleAxisEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartPropertyRule());
}
set(
current,
"axis",
lv_axis_6_0,
"AxisEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1272:4: ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1272:4: ({...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1273:5: {...}? => ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartProperty", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1273:113: ( ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1274:6: ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1277:6: ({...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1277:7: {...}? => ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartProperty", "true");
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1277:16: ( ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1277:17: ( (lv_scaled_7_0= 'scale' ) ) ( (lv_scale_8_0= ruleValueScaleEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1277:17: ( (lv_scaled_7_0= 'scale' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1278:1: (lv_scaled_7_0= 'scale' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1278:1: (lv_scaled_7_0= 'scale' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1279:3: lv_scaled_7_0= 'scale'
{
lv_scaled_7_0=(Token)match(input,41,FOLLOW_41_in_ruleDatamartProperty2831); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_scaled_7_0, grammarAccess.getDatamartPropertyAccess().getScaledScaleKeyword_2_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartPropertyRule());
}
setWithLastConsumed(current, "scaled", true, "scale");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1292:2: ( (lv_scale_8_0= ruleValueScaleEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1293:1: (lv_scale_8_0= ruleValueScaleEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1293:1: (lv_scale_8_0= ruleValueScaleEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1294:3: lv_scale_8_0= ruleValueScaleEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPropertyAccess().getScaleValueScaleEnumEnumRuleCall_2_2_1_0());
}
pushFollow(FOLLOW_ruleValueScaleEnum_in_ruleDatamartProperty2865);
lv_scale_8_0=ruleValueScaleEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartPropertyRule());
}
set(
current,
"scale",
lv_scale_8_0,
"ValueScaleEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2());
}
}
}
break;
default :
break loop27;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDatamartPropertyAccess().getUnorderedGroup_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartProperty"
// $ANTLR start "entryRuleDatamartCondition"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1332:1: entryRuleDatamartCondition returns [EObject current=null] : iv_ruleDatamartCondition= ruleDatamartCondition EOF ;
public final EObject entryRuleDatamartCondition() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartCondition = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1333:2: (iv_ruleDatamartCondition= ruleDatamartCondition EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1334:2: iv_ruleDatamartCondition= ruleDatamartCondition EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConditionRule());
}
pushFollow(FOLLOW_ruleDatamartCondition_in_entryRuleDatamartCondition2942);
iv_ruleDatamartCondition=ruleDatamartCondition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartCondition;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartCondition2952); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartCondition"
// $ANTLR start "ruleDatamartCondition"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1341:1: ruleDatamartCondition returns [EObject current=null] : (otherlv_0= 'condition' ( (lv_condition_1_0= ruleDatamartDisjunction ) ) ) ;
public final EObject ruleDatamartCondition() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_condition_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1344:28: ( (otherlv_0= 'condition' ( (lv_condition_1_0= ruleDatamartDisjunction ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1345:1: (otherlv_0= 'condition' ( (lv_condition_1_0= ruleDatamartDisjunction ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1345:1: (otherlv_0= 'condition' ( (lv_condition_1_0= ruleDatamartDisjunction ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1345:3: otherlv_0= 'condition' ( (lv_condition_1_0= ruleDatamartDisjunction ) )
{
otherlv_0=(Token)match(input,42,FOLLOW_42_in_ruleDatamartCondition2989); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartConditionAccess().getConditionKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1349:1: ( (lv_condition_1_0= ruleDatamartDisjunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1350:1: (lv_condition_1_0= ruleDatamartDisjunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1350:1: (lv_condition_1_0= ruleDatamartDisjunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1351:3: lv_condition_1_0= ruleDatamartDisjunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConditionAccess().getConditionDatamartDisjunctionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDatamartDisjunction_in_ruleDatamartCondition3010);
lv_condition_1_0=ruleDatamartDisjunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartConditionRule());
}
set(
current,
"condition",
lv_condition_1_0,
"DatamartDisjunction");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartCondition"
// $ANTLR start "entryRuleDatamartOrder"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1375:1: entryRuleDatamartOrder returns [EObject current=null] : iv_ruleDatamartOrder= ruleDatamartOrder EOF ;
public final EObject entryRuleDatamartOrder() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartOrder = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1376:2: (iv_ruleDatamartOrder= ruleDatamartOrder EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1377:2: iv_ruleDatamartOrder= ruleDatamartOrder EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOrderRule());
}
pushFollow(FOLLOW_ruleDatamartOrder_in_entryRuleDatamartOrder3046);
iv_ruleDatamartOrder=ruleDatamartOrder();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartOrder;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartOrder3056); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartOrder"
// $ANTLR start "ruleDatamartOrder"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1384:1: ruleDatamartOrder returns [EObject current=null] : (otherlv_0= 'order' ( (otherlv_1= RULE_ID ) ) ( (lv_orderHow_2_0= ruleOrderEnum ) ) ) ;
public final EObject ruleDatamartOrder() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Enumerator lv_orderHow_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1387:28: ( (otherlv_0= 'order' ( (otherlv_1= RULE_ID ) ) ( (lv_orderHow_2_0= ruleOrderEnum ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1388:1: (otherlv_0= 'order' ( (otherlv_1= RULE_ID ) ) ( (lv_orderHow_2_0= ruleOrderEnum ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1388:1: (otherlv_0= 'order' ( (otherlv_1= RULE_ID ) ) ( (lv_orderHow_2_0= ruleOrderEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1388:3: otherlv_0= 'order' ( (otherlv_1= RULE_ID ) ) ( (lv_orderHow_2_0= ruleOrderEnum ) )
{
otherlv_0=(Token)match(input,43,FOLLOW_43_in_ruleDatamartOrder3093); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartOrderAccess().getOrderKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1392:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1393:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1393:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1394:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartOrderRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartOrder3113); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartOrderAccess().getOrderByLEntityAttributeCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1405:2: ( (lv_orderHow_2_0= ruleOrderEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1406:1: (lv_orderHow_2_0= ruleOrderEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1406:1: (lv_orderHow_2_0= ruleOrderEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1407:3: lv_orderHow_2_0= ruleOrderEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOrderAccess().getOrderHowOrderEnumEnumRuleCall_2_0());
}
pushFollow(FOLLOW_ruleOrderEnum_in_ruleDatamartOrder3134);
lv_orderHow_2_0=ruleOrderEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartOrderRule());
}
set(
current,
"orderHow",
lv_orderHow_2_0,
"OrderEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartOrder"
// $ANTLR start "entryRuleDatamartDisjunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1431:1: entryRuleDatamartDisjunction returns [EObject current=null] : iv_ruleDatamartDisjunction= ruleDatamartDisjunction EOF ;
public final EObject entryRuleDatamartDisjunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartDisjunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1432:2: (iv_ruleDatamartDisjunction= ruleDatamartDisjunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1433:2: iv_ruleDatamartDisjunction= ruleDatamartDisjunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDisjunctionRule());
}
pushFollow(FOLLOW_ruleDatamartDisjunction_in_entryRuleDatamartDisjunction3170);
iv_ruleDatamartDisjunction=ruleDatamartDisjunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartDisjunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartDisjunction3180); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartDisjunction"
// $ANTLR start "ruleDatamartDisjunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1440:1: ruleDatamartDisjunction returns [EObject current=null] : (this_DatamartConjunction_0= ruleDatamartConjunction ( ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) ) )* ) ;
public final EObject ruleDatamartDisjunction() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_DatamartConjunction_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1443:28: ( (this_DatamartConjunction_0= ruleDatamartConjunction ( ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1444:1: (this_DatamartConjunction_0= ruleDatamartConjunction ( ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) ) )* )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1444:1: (this_DatamartConjunction_0= ruleDatamartConjunction ( ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1445:5: this_DatamartConjunction_0= ruleDatamartConjunction ( ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDisjunctionAccess().getDatamartConjunctionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartConjunction_in_ruleDatamartDisjunction3227);
this_DatamartConjunction_0=ruleDatamartConjunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartConjunction_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1453:1: ( ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) ) )*
loop28:
do {
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==44) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1453:2: ( () otherlv_2= 'or' ) ( (lv_right_3_0= ruleDatamartConjunction ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1453:2: ( () otherlv_2= 'or' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1453:3: () otherlv_2= 'or'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1453:3: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1454:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartDisjunctionAccess().getDisjunctionLeftAction_1_0_0(),
current);
}
}
otherlv_2=(Token)match(input,44,FOLLOW_44_in_ruleDatamartDisjunction3249); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartDisjunctionAccess().getOrKeyword_1_0_1());
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1463:2: ( (lv_right_3_0= ruleDatamartConjunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1464:1: (lv_right_3_0= ruleDatamartConjunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1464:1: (lv_right_3_0= ruleDatamartConjunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1465:3: lv_right_3_0= ruleDatamartConjunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDisjunctionAccess().getRightDatamartConjunctionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleDatamartConjunction_in_ruleDatamartDisjunction3271);
lv_right_3_0=ruleDatamartConjunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDisjunctionRule());
}
set(
current,
"right",
lv_right_3_0,
"DatamartConjunction");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop28;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartDisjunction"
// $ANTLR start "entryRuleDatamartConjunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1489:1: entryRuleDatamartConjunction returns [EObject current=null] : iv_ruleDatamartConjunction= ruleDatamartConjunction EOF ;
public final EObject entryRuleDatamartConjunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartConjunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1490:2: (iv_ruleDatamartConjunction= ruleDatamartConjunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1491:2: iv_ruleDatamartConjunction= ruleDatamartConjunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConjunctionRule());
}
pushFollow(FOLLOW_ruleDatamartConjunction_in_entryRuleDatamartConjunction3309);
iv_ruleDatamartConjunction=ruleDatamartConjunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartConjunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartConjunction3319); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartConjunction"
// $ANTLR start "ruleDatamartConjunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1498:1: ruleDatamartConjunction returns [EObject current=null] : (this_DatamartConditionalExpression_0= ruleDatamartConditionalExpression ( ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) ) )* ) ;
public final EObject ruleDatamartConjunction() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_DatamartConditionalExpression_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1501:28: ( (this_DatamartConditionalExpression_0= ruleDatamartConditionalExpression ( ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1502:1: (this_DatamartConditionalExpression_0= ruleDatamartConditionalExpression ( ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1502:1: (this_DatamartConditionalExpression_0= ruleDatamartConditionalExpression ( ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1503:5: this_DatamartConditionalExpression_0= ruleDatamartConditionalExpression ( ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConjunctionAccess().getDatamartConditionalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartConditionalExpression_in_ruleDatamartConjunction3366);
this_DatamartConditionalExpression_0=ruleDatamartConditionalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartConditionalExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1511:1: ( ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) ) )*
loop29:
do {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==45) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1511:2: ( () otherlv_2= 'and' ) ( (lv_right_3_0= ruleDatamartConditionalExpression ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1511:2: ( () otherlv_2= 'and' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1511:3: () otherlv_2= 'and'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1511:3: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1512:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartConjunctionAccess().getConjunctionLeftAction_1_0_0(),
current);
}
}
otherlv_2=(Token)match(input,45,FOLLOW_45_in_ruleDatamartConjunction3388); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartConjunctionAccess().getAndKeyword_1_0_1());
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1521:2: ( (lv_right_3_0= ruleDatamartConditionalExpression ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1522:1: (lv_right_3_0= ruleDatamartConditionalExpression )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1522:1: (lv_right_3_0= ruleDatamartConditionalExpression )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1523:3: lv_right_3_0= ruleDatamartConditionalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConjunctionAccess().getRightDatamartConditionalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleDatamartConditionalExpression_in_ruleDatamartConjunction3410);
lv_right_3_0=ruleDatamartConditionalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartConjunctionRule());
}
set(
current,
"right",
lv_right_3_0,
"DatamartConditionalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop29;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartConjunction"
// $ANTLR start "entryRuleDatamartConditionalExpression"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1547:1: entryRuleDatamartConditionalExpression returns [EObject current=null] : iv_ruleDatamartConditionalExpression= ruleDatamartConditionalExpression EOF ;
public final EObject entryRuleDatamartConditionalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartConditionalExpression = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1548:2: (iv_ruleDatamartConditionalExpression= ruleDatamartConditionalExpression EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1549:2: iv_ruleDatamartConditionalExpression= ruleDatamartConditionalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConditionalExpressionRule());
}
pushFollow(FOLLOW_ruleDatamartConditionalExpression_in_entryRuleDatamartConditionalExpression3448);
iv_ruleDatamartConditionalExpression=ruleDatamartConditionalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartConditionalExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartConditionalExpression3458); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartConditionalExpression"
// $ANTLR start "ruleDatamartConditionalExpression"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1556:1: ruleDatamartConditionalExpression returns [EObject current=null] : (this_DatamartOperand_0= ruleDatamartOperand ( ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) ) )* ) ;
public final EObject ruleDatamartConditionalExpression() throws RecognitionException {
EObject current = null;
EObject this_DatamartOperand_0 = null;
Enumerator lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1559:28: ( (this_DatamartOperand_0= ruleDatamartOperand ( ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1560:1: (this_DatamartOperand_0= ruleDatamartOperand ( ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) ) )* )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1560:1: (this_DatamartOperand_0= ruleDatamartOperand ( ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1561:5: this_DatamartOperand_0= ruleDatamartOperand ( ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConditionalExpressionAccess().getDatamartOperandParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartOperand_in_ruleDatamartConditionalExpression3505);
this_DatamartOperand_0=ruleDatamartOperand();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartOperand_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1569:1: ( ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) ) )*
loop30:
do {
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==97||(LA30_0>=106 && LA30_0<=108)||(LA30_0>=181 && LA30_0<=182)) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1569:2: ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) ) ( (lv_right_3_0= ruleDatamartOperand ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1569:2: ( () ( (lv_operator_2_0= ruleOperatorEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1569:3: () ( (lv_operator_2_0= ruleOperatorEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1569:3: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1570:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartConditionalExpressionAccess().getConditionalExpressionLeftAction_1_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1575:2: ( (lv_operator_2_0= ruleOperatorEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1576:1: (lv_operator_2_0= ruleOperatorEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1576:1: (lv_operator_2_0= ruleOperatorEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1577:3: lv_operator_2_0= ruleOperatorEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConditionalExpressionAccess().getOperatorOperatorEnumEnumRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleOperatorEnum_in_ruleDatamartConditionalExpression3536);
lv_operator_2_0=ruleOperatorEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartConditionalExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"OperatorEnum");
afterParserOrEnumRuleCall();
}
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1593:3: ( (lv_right_3_0= ruleDatamartOperand ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1594:1: (lv_right_3_0= ruleDatamartOperand )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1594:1: (lv_right_3_0= ruleDatamartOperand )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1595:3: lv_right_3_0= ruleDatamartOperand
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartConditionalExpressionAccess().getRightDatamartOperandParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleDatamartOperand_in_ruleDatamartConditionalExpression3558);
lv_right_3_0=ruleDatamartOperand();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartConditionalExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"DatamartOperand");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop30;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartConditionalExpression"
// $ANTLR start "entryRuleDatamartOperand"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1619:1: entryRuleDatamartOperand returns [EObject current=null] : iv_ruleDatamartOperand= ruleDatamartOperand EOF ;
public final EObject entryRuleDatamartOperand() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartOperand = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1620:2: (iv_ruleDatamartOperand= ruleDatamartOperand EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1621:2: iv_ruleDatamartOperand= ruleDatamartOperand EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOperandRule());
}
pushFollow(FOLLOW_ruleDatamartOperand_in_entryRuleDatamartOperand3596);
iv_ruleDatamartOperand=ruleDatamartOperand();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartOperand;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartOperand3606); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartOperand"
// $ANTLR start "ruleDatamartOperand"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1628:1: ruleDatamartOperand returns [EObject current=null] : (this_DatamartValue_0= ruleDatamartValue | (otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')' ) ) ;
public final EObject ruleDatamartOperand() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
EObject this_DatamartValue_0 = null;
EObject this_DatamartDisjunction_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1631:28: ( (this_DatamartValue_0= ruleDatamartValue | (otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')' ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1632:1: (this_DatamartValue_0= ruleDatamartValue | (otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')' ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1632:1: (this_DatamartValue_0= ruleDatamartValue | (otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')' ) )
int alt31=2;
int LA31_0 = input.LA(1);
if ( ((LA31_0>=RULE_INT && LA31_0<=RULE_DECIMAL)||(LA31_0>=24 && LA31_0<=25)||LA31_0==38||LA31_0==48||LA31_0==50) ) {
alt31=1;
}
else if ( (LA31_0==46) ) {
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 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1633:5: this_DatamartValue_0= ruleDatamartValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOperandAccess().getDatamartValueParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartValue_in_ruleDatamartOperand3653);
this_DatamartValue_0=ruleDatamartValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartValue_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1642:6: (otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1642:6: (otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1642:8: otherlv_1= '(' this_DatamartDisjunction_2= ruleDatamartDisjunction otherlv_3= ')'
{
otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDatamartOperand3671); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartOperandAccess().getLeftParenthesisKeyword_1_0());
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartOperandAccess().getDatamartDisjunctionParserRuleCall_1_1());
}
pushFollow(FOLLOW_ruleDatamartDisjunction_in_ruleDatamartOperand3693);
this_DatamartDisjunction_2=ruleDatamartDisjunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartDisjunction_2;
afterParserOrEnumRuleCall();
}
otherlv_3=(Token)match(input,47,FOLLOW_47_in_ruleDatamartOperand3704); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartOperandAccess().getRightParenthesisKeyword_1_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartOperand"
// $ANTLR start "entryRuleDatamartValue"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1667:1: entryRuleDatamartValue returns [EObject current=null] : iv_ruleDatamartValue= ruleDatamartValue EOF ;
public final EObject entryRuleDatamartValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartValue = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1668:2: (iv_ruleDatamartValue= ruleDatamartValue EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1669:2: iv_ruleDatamartValue= ruleDatamartValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartValueRule());
}
pushFollow(FOLLOW_ruleDatamartValue_in_entryRuleDatamartValue3741);
iv_ruleDatamartValue=ruleDatamartValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartValue3751); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartValue"
// $ANTLR start "ruleDatamartValue"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1676:1: ruleDatamartValue returns [EObject current=null] : ( ( (lv_numberValue_0_0= ruleNumber ) ) | ( (lv_stringValue_1_0= RULE_STRING ) ) | ( ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? ) | ( (lv_selected_4_0= 'selected' ) ) ) | this_DatamartProperty_5= ruleDatamartProperty | this_DatamartTaskFilter_6= ruleDatamartTaskFilter | this_DatamartColumn_7= ruleDatamartColumn ) ;
public final EObject ruleDatamartValue() throws RecognitionException {
EObject current = null;
Token lv_stringValue_1_0=null;
Token lv_filtered_2_0=null;
Token lv_optional_3_0=null;
Token lv_selected_4_0=null;
AntlrDatatypeRuleToken lv_numberValue_0_0 = null;
EObject this_DatamartProperty_5 = null;
EObject this_DatamartTaskFilter_6 = null;
EObject this_DatamartColumn_7 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1679:28: ( ( ( (lv_numberValue_0_0= ruleNumber ) ) | ( (lv_stringValue_1_0= RULE_STRING ) ) | ( ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? ) | ( (lv_selected_4_0= 'selected' ) ) ) | this_DatamartProperty_5= ruleDatamartProperty | this_DatamartTaskFilter_6= ruleDatamartTaskFilter | this_DatamartColumn_7= ruleDatamartColumn ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1680:1: ( ( (lv_numberValue_0_0= ruleNumber ) ) | ( (lv_stringValue_1_0= RULE_STRING ) ) | ( ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? ) | ( (lv_selected_4_0= 'selected' ) ) ) | this_DatamartProperty_5= ruleDatamartProperty | this_DatamartTaskFilter_6= ruleDatamartTaskFilter | this_DatamartColumn_7= ruleDatamartColumn )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1680:1: ( ( (lv_numberValue_0_0= ruleNumber ) ) | ( (lv_stringValue_1_0= RULE_STRING ) ) | ( ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? ) | ( (lv_selected_4_0= 'selected' ) ) ) | this_DatamartProperty_5= ruleDatamartProperty | this_DatamartTaskFilter_6= ruleDatamartTaskFilter | this_DatamartColumn_7= ruleDatamartColumn )
int alt34=6;
switch ( input.LA(1) ) {
case RULE_INT:
case RULE_HEX:
case RULE_DECIMAL:
{
alt34=1;
}
break;
case RULE_STRING:
{
alt34=2;
}
break;
case 48:
case 50:
{
alt34=3;
}
break;
case 38:
{
alt34=4;
}
break;
case 25:
{
alt34=5;
}
break;
case 24:
{
alt34=6;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 34, 0, input);
throw nvae;
}
switch (alt34) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1680:2: ( (lv_numberValue_0_0= ruleNumber ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1680:2: ( (lv_numberValue_0_0= ruleNumber ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1681:1: (lv_numberValue_0_0= ruleNumber )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1681:1: (lv_numberValue_0_0= ruleNumber )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1682:3: lv_numberValue_0_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartValueAccess().getNumberValueNumberParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleNumber_in_ruleDatamartValue3797);
lv_numberValue_0_0=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartValueRule());
}
set(
current,
"numberValue",
lv_numberValue_0_0,
"Number");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1699:6: ( (lv_stringValue_1_0= RULE_STRING ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1699:6: ( (lv_stringValue_1_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1700:1: (lv_stringValue_1_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1700:1: (lv_stringValue_1_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1701:3: lv_stringValue_1_0= RULE_STRING
{
lv_stringValue_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDatamartValue3820); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_stringValue_1_0, grammarAccess.getDatamartValueAccess().getStringValueSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartValueRule());
}
setWithLastConsumed(
current,
"stringValue",
lv_stringValue_1_0,
"STRING");
}
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1718:6: ( ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? ) | ( (lv_selected_4_0= 'selected' ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1718:6: ( ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? ) | ( (lv_selected_4_0= 'selected' ) ) )
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==48) ) {
alt33=1;
}
else if ( (LA33_0==50) ) {
alt33=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 33, 0, input);
throw nvae;
}
switch (alt33) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1718:7: ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1718:7: ( ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )? )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1718:8: ( (lv_filtered_2_0= 'filtered' ) ) ( (lv_optional_3_0= 'optional' ) )?
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1718:8: ( (lv_filtered_2_0= 'filtered' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1719:1: (lv_filtered_2_0= 'filtered' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1719:1: (lv_filtered_2_0= 'filtered' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1720:3: lv_filtered_2_0= 'filtered'
{
lv_filtered_2_0=(Token)match(input,48,FOLLOW_48_in_ruleDatamartValue3851); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_filtered_2_0, grammarAccess.getDatamartValueAccess().getFilteredFilteredKeyword_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartValueRule());
}
setWithLastConsumed(current, "filtered", true, "filtered");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1733:2: ( (lv_optional_3_0= 'optional' ) )?
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==49) ) {
alt32=1;
}
switch (alt32) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1734:1: (lv_optional_3_0= 'optional' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1734:1: (lv_optional_3_0= 'optional' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1735:3: lv_optional_3_0= 'optional'
{
lv_optional_3_0=(Token)match(input,49,FOLLOW_49_in_ruleDatamartValue3882); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_optional_3_0, grammarAccess.getDatamartValueAccess().getOptionalOptionalKeyword_2_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartValueRule());
}
setWithLastConsumed(current, "optional", true, "optional");
}
}
}
break;
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1749:6: ( (lv_selected_4_0= 'selected' ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1749:6: ( (lv_selected_4_0= 'selected' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1750:1: (lv_selected_4_0= 'selected' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1750:1: (lv_selected_4_0= 'selected' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1751:3: lv_selected_4_0= 'selected'
{
lv_selected_4_0=(Token)match(input,50,FOLLOW_50_in_ruleDatamartValue3921); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_selected_4_0, grammarAccess.getDatamartValueAccess().getSelectedSelectedKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartValueRule());
}
setWithLastConsumed(current, "selected", true, "selected");
}
}
}
}
break;
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1766:5: this_DatamartProperty_5= ruleDatamartProperty
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartValueAccess().getDatamartPropertyParserRuleCall_3());
}
pushFollow(FOLLOW_ruleDatamartProperty_in_ruleDatamartValue3963);
this_DatamartProperty_5=ruleDatamartProperty();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartProperty_5;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1776:5: this_DatamartTaskFilter_6= ruleDatamartTaskFilter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartValueAccess().getDatamartTaskFilterParserRuleCall_4());
}
pushFollow(FOLLOW_ruleDatamartTaskFilter_in_ruleDatamartValue3990);
this_DatamartTaskFilter_6=ruleDatamartTaskFilter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartTaskFilter_6;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1786:5: this_DatamartColumn_7= ruleDatamartColumn
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartValueAccess().getDatamartColumnParserRuleCall_5());
}
pushFollow(FOLLOW_ruleDatamartColumn_in_ruleDatamartValue4017);
this_DatamartColumn_7=ruleDatamartColumn();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartColumn_7;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartValue"
// $ANTLR start "entryRuleDatamartCubeElement"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1802:1: entryRuleDatamartCubeElement returns [EObject current=null] : iv_ruleDatamartCubeElement= ruleDatamartCubeElement EOF ;
public final EObject entryRuleDatamartCubeElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartCubeElement = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1803:2: (iv_ruleDatamartCubeElement= ruleDatamartCubeElement EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1804:2: iv_ruleDatamartCubeElement= ruleDatamartCubeElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartCubeElementRule());
}
pushFollow(FOLLOW_ruleDatamartCubeElement_in_entryRuleDatamartCubeElement4052);
iv_ruleDatamartCubeElement=ruleDatamartCubeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartCubeElement;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartCubeElement4062); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartCubeElement"
// $ANTLR start "ruleDatamartCubeElement"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1811:1: ruleDatamartCubeElement returns [EObject current=null] : (this_DatamartAxis_0= ruleDatamartAxis | this_DatamartSlicer_1= ruleDatamartSlicer | this_DatamartDefineDerivedMeasure_2= ruleDatamartDefineDerivedMeasure ) ;
public final EObject ruleDatamartCubeElement() throws RecognitionException {
EObject current = null;
EObject this_DatamartAxis_0 = null;
EObject this_DatamartSlicer_1 = null;
EObject this_DatamartDefineDerivedMeasure_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1814:28: ( (this_DatamartAxis_0= ruleDatamartAxis | this_DatamartSlicer_1= ruleDatamartSlicer | this_DatamartDefineDerivedMeasure_2= ruleDatamartDefineDerivedMeasure ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1815:1: (this_DatamartAxis_0= ruleDatamartAxis | this_DatamartSlicer_1= ruleDatamartSlicer | this_DatamartDefineDerivedMeasure_2= ruleDatamartDefineDerivedMeasure )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1815:1: (this_DatamartAxis_0= ruleDatamartAxis | this_DatamartSlicer_1= ruleDatamartSlicer | this_DatamartDefineDerivedMeasure_2= ruleDatamartDefineDerivedMeasure )
int alt35=3;
switch ( input.LA(1) ) {
case 60:
{
alt35=1;
}
break;
case 59:
{
alt35=2;
}
break;
case 51:
{
alt35=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 35, 0, input);
throw nvae;
}
switch (alt35) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1816:5: this_DatamartAxis_0= ruleDatamartAxis
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartCubeElementAccess().getDatamartAxisParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartAxis_in_ruleDatamartCubeElement4109);
this_DatamartAxis_0=ruleDatamartAxis();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartAxis_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1826:5: this_DatamartSlicer_1= ruleDatamartSlicer
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartCubeElementAccess().getDatamartSlicerParserRuleCall_1());
}
pushFollow(FOLLOW_ruleDatamartSlicer_in_ruleDatamartCubeElement4136);
this_DatamartSlicer_1=ruleDatamartSlicer();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartSlicer_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1836:5: this_DatamartDefineDerivedMeasure_2= ruleDatamartDefineDerivedMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartCubeElementAccess().getDatamartDefineDerivedMeasureParserRuleCall_2());
}
pushFollow(FOLLOW_ruleDatamartDefineDerivedMeasure_in_ruleDatamartCubeElement4163);
this_DatamartDefineDerivedMeasure_2=ruleDatamartDefineDerivedMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartDefineDerivedMeasure_2;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartCubeElement"
// $ANTLR start "entryRuleDatamartDefineDerivedMeasure"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1852:1: entryRuleDatamartDefineDerivedMeasure returns [EObject current=null] : iv_ruleDatamartDefineDerivedMeasure= ruleDatamartDefineDerivedMeasure EOF ;
public final EObject entryRuleDatamartDefineDerivedMeasure() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartDefineDerivedMeasure = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1853:2: (iv_ruleDatamartDefineDerivedMeasure= ruleDatamartDefineDerivedMeasure EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1854:2: iv_ruleDatamartDefineDerivedMeasure= ruleDatamartDefineDerivedMeasure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefineDerivedMeasureRule());
}
pushFollow(FOLLOW_ruleDatamartDefineDerivedMeasure_in_entryRuleDatamartDefineDerivedMeasure4198);
iv_ruleDatamartDefineDerivedMeasure=ruleDatamartDefineDerivedMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartDefineDerivedMeasure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartDefineDerivedMeasure4208); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartDefineDerivedMeasure"
// $ANTLR start "ruleDatamartDefineDerivedMeasure"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1861:1: ruleDatamartDefineDerivedMeasure returns [EObject current=null] : (otherlv_0= 'derive' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'from' ( (lv_derivedElement_3_0= ruleDatamartAddition ) )* ) ;
public final EObject ruleDatamartDefineDerivedMeasure() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_derivedElement_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1864:28: ( (otherlv_0= 'derive' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'from' ( (lv_derivedElement_3_0= ruleDatamartAddition ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1865:1: (otherlv_0= 'derive' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'from' ( (lv_derivedElement_3_0= ruleDatamartAddition ) )* )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1865:1: (otherlv_0= 'derive' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'from' ( (lv_derivedElement_3_0= ruleDatamartAddition ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1865:3: otherlv_0= 'derive' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= 'from' ( (lv_derivedElement_3_0= ruleDatamartAddition ) )*
{
otherlv_0=(Token)match(input,51,FOLLOW_51_in_ruleDatamartDefineDerivedMeasure4245); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartDefineDerivedMeasureAccess().getDeriveKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1869:1: ( (lv_name_1_0= ruleTRANSLATABLEID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1870:1: (lv_name_1_0= ruleTRANSLATABLEID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1870:1: (lv_name_1_0= ruleTRANSLATABLEID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1871:3: lv_name_1_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefineDerivedMeasureAccess().getNameTRANSLATABLEIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLEID_in_ruleDatamartDefineDerivedMeasure4266);
lv_name_1_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDefineDerivedMeasureRule());
}
set(
current,
"name",
lv_name_1_0,
"TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,52,FOLLOW_52_in_ruleDatamartDefineDerivedMeasure4278); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartDefineDerivedMeasureAccess().getFromKeyword_2());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1891:1: ( (lv_derivedElement_3_0= ruleDatamartAddition ) )*
loop36:
do {
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==RULE_INT||(LA36_0>=RULE_HEX && LA36_0<=RULE_DECIMAL)||LA36_0==39||LA36_0==46||(LA36_0>=61 && LA36_0<=63)||(LA36_0>=162 && LA36_0<=167)||(LA36_0>=178 && LA36_0<=180)) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1892:1: (lv_derivedElement_3_0= ruleDatamartAddition )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1892:1: (lv_derivedElement_3_0= ruleDatamartAddition )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1893:3: lv_derivedElement_3_0= ruleDatamartAddition
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDefineDerivedMeasureAccess().getDerivedElementDatamartAdditionParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleDatamartAddition_in_ruleDatamartDefineDerivedMeasure4299);
lv_derivedElement_3_0=ruleDatamartAddition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDefineDerivedMeasureRule());
}
add(
current,
"derivedElement",
lv_derivedElement_3_0,
"DatamartAddition");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop36;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartDefineDerivedMeasure"
// $ANTLR start "entryRuleDatamartAddition"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1917:1: entryRuleDatamartAddition returns [EObject current=null] : iv_ruleDatamartAddition= ruleDatamartAddition EOF ;
public final EObject entryRuleDatamartAddition() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartAddition = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1918:2: (iv_ruleDatamartAddition= ruleDatamartAddition EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1919:2: iv_ruleDatamartAddition= ruleDatamartAddition EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAdditionRule());
}
pushFollow(FOLLOW_ruleDatamartAddition_in_entryRuleDatamartAddition4336);
iv_ruleDatamartAddition=ruleDatamartAddition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartAddition;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartAddition4346); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartAddition"
// $ANTLR start "ruleDatamartAddition"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1926:1: ruleDatamartAddition returns [EObject current=null] : (this_DatamartMultiplication_0= ruleDatamartMultiplication ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) ) )* ) ;
public final EObject ruleDatamartAddition() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject this_DatamartMultiplication_0 = null;
EObject lv_right_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1929:28: ( (this_DatamartMultiplication_0= ruleDatamartMultiplication ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1930:1: (this_DatamartMultiplication_0= ruleDatamartMultiplication ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) ) )* )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1930:1: (this_DatamartMultiplication_0= ruleDatamartMultiplication ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1931:5: this_DatamartMultiplication_0= ruleDatamartMultiplication ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAdditionAccess().getDatamartMultiplicationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartMultiplication_in_ruleDatamartAddition4393);
this_DatamartMultiplication_0=ruleDatamartMultiplication();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartMultiplication_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:1: ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) ) )*
loop38:
do {
int alt38=2;
int LA38_0 = input.LA(1);
if ( ((LA38_0>=53 && LA38_0<=54)) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:2: ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleDatamartMultiplication ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:2: ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) )
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==53) ) {
alt37=1;
}
else if ( (LA37_0==54) ) {
alt37=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 37, 0, input);
throw nvae;
}
switch (alt37) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:3: ( () otherlv_2= '+' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:3: ( () otherlv_2= '+' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:4: () otherlv_2= '+'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1939:4: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1940:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartAdditionAccess().getAdditionLeftAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,53,FOLLOW_53_in_ruleDatamartAddition4416); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartAdditionAccess().getPlusSignKeyword_1_0_0_1());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1950:6: ( () otherlv_4= '-' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1950:6: ( () otherlv_4= '-' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1950:7: () otherlv_4= '-'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1950:7: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1951:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartAdditionAccess().getSubtractionLeftAction_1_0_1_0(),
current);
}
}
otherlv_4=(Token)match(input,54,FOLLOW_54_in_ruleDatamartAddition4445); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartAdditionAccess().getHyphenMinusKeyword_1_0_1_1());
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1960:3: ( (lv_right_5_0= ruleDatamartMultiplication ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1961:1: (lv_right_5_0= ruleDatamartMultiplication )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1961:1: (lv_right_5_0= ruleDatamartMultiplication )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1962:3: lv_right_5_0= ruleDatamartMultiplication
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAdditionAccess().getRightDatamartMultiplicationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleDatamartMultiplication_in_ruleDatamartAddition4468);
lv_right_5_0=ruleDatamartMultiplication();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAdditionRule());
}
set(
current,
"right",
lv_right_5_0,
"DatamartMultiplication");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop38;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartAddition"
// $ANTLR start "entryRuleDatamartMultiplication"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1986:1: entryRuleDatamartMultiplication returns [EObject current=null] : iv_ruleDatamartMultiplication= ruleDatamartMultiplication EOF ;
public final EObject entryRuleDatamartMultiplication() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartMultiplication = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1987:2: (iv_ruleDatamartMultiplication= ruleDatamartMultiplication EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1988:2: iv_ruleDatamartMultiplication= ruleDatamartMultiplication EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMultiplicationRule());
}
pushFollow(FOLLOW_ruleDatamartMultiplication_in_entryRuleDatamartMultiplication4506);
iv_ruleDatamartMultiplication=ruleDatamartMultiplication();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartMultiplication;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartMultiplication4516); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartMultiplication"
// $ANTLR start "ruleDatamartMultiplication"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1995:1: ruleDatamartMultiplication returns [EObject current=null] : (this_DatamartPrimary_0= ruleDatamartPrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) ) )* ) ;
public final EObject ruleDatamartMultiplication() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject this_DatamartPrimary_0 = null;
EObject lv_right_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1998:28: ( (this_DatamartPrimary_0= ruleDatamartPrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) ) )* ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1999:1: (this_DatamartPrimary_0= ruleDatamartPrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) ) )* )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:1999:1: (this_DatamartPrimary_0= ruleDatamartPrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) ) )* )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2000:5: this_DatamartPrimary_0= ruleDatamartPrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMultiplicationAccess().getDatamartPrimaryParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartPrimary_in_ruleDatamartMultiplication4563);
this_DatamartPrimary_0=ruleDatamartPrimary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartPrimary_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:1: ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) ) )*
loop40:
do {
int alt40=2;
int LA40_0 = input.LA(1);
if ( ((LA40_0>=55 && LA40_0<=56)) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:2: ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) ) ( (lv_right_5_0= ruleDatamartPrimary ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:2: ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) )
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==55) ) {
alt39=1;
}
else if ( (LA39_0==56) ) {
alt39=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:3: ( () otherlv_2= '*' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:3: ( () otherlv_2= '*' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:4: () otherlv_2= '*'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2008:4: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2009:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartMultiplicationAccess().getMultiplicationLeftAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,55,FOLLOW_55_in_ruleDatamartMultiplication4586); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartMultiplicationAccess().getAsteriskKeyword_1_0_0_1());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2019:6: ( () otherlv_4= '/' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2019:6: ( () otherlv_4= '/' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2019:7: () otherlv_4= '/'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2019:7: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2020:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartMultiplicationAccess().getDivisionLeftAction_1_0_1_0(),
current);
}
}
otherlv_4=(Token)match(input,56,FOLLOW_56_in_ruleDatamartMultiplication4615); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartMultiplicationAccess().getSolidusKeyword_1_0_1_1());
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2029:3: ( (lv_right_5_0= ruleDatamartPrimary ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2030:1: (lv_right_5_0= ruleDatamartPrimary )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2030:1: (lv_right_5_0= ruleDatamartPrimary )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2031:3: lv_right_5_0= ruleDatamartPrimary
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMultiplicationAccess().getRightDatamartPrimaryParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleDatamartPrimary_in_ruleDatamartMultiplication4638);
lv_right_5_0=ruleDatamartPrimary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMultiplicationRule());
}
set(
current,
"right",
lv_right_5_0,
"DatamartPrimary");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop40;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartMultiplication"
// $ANTLR start "entryRuleDatamartPrimary"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2055:1: entryRuleDatamartPrimary returns [EObject current=null] : iv_ruleDatamartPrimary= ruleDatamartPrimary EOF ;
public final EObject entryRuleDatamartPrimary() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartPrimary = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2056:2: (iv_ruleDatamartPrimary= ruleDatamartPrimary EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2057:2: iv_ruleDatamartPrimary= ruleDatamartPrimary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPrimaryRule());
}
pushFollow(FOLLOW_ruleDatamartPrimary_in_entryRuleDatamartPrimary4676);
iv_ruleDatamartPrimary=ruleDatamartPrimary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartPrimary;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartPrimary4686); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartPrimary"
// $ANTLR start "ruleDatamartPrimary"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2064:1: ruleDatamartPrimary returns [EObject current=null] : (this_DatamartNumberOrElement_0= ruleDatamartNumberOrElement | (otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')' ) ) ;
public final EObject ruleDatamartPrimary() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
EObject this_DatamartNumberOrElement_0 = null;
EObject this_DatamartAddition_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2067:28: ( (this_DatamartNumberOrElement_0= ruleDatamartNumberOrElement | (otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')' ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2068:1: (this_DatamartNumberOrElement_0= ruleDatamartNumberOrElement | (otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')' ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2068:1: (this_DatamartNumberOrElement_0= ruleDatamartNumberOrElement | (otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')' ) )
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==RULE_INT||(LA41_0>=RULE_HEX && LA41_0<=RULE_DECIMAL)||LA41_0==39||(LA41_0>=61 && LA41_0<=63)||(LA41_0>=162 && LA41_0<=167)||(LA41_0>=178 && LA41_0<=180)) ) {
alt41=1;
}
else if ( (LA41_0==46) ) {
alt41=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2069:5: this_DatamartNumberOrElement_0= ruleDatamartNumberOrElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPrimaryAccess().getDatamartNumberOrElementParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartNumberOrElement_in_ruleDatamartPrimary4733);
this_DatamartNumberOrElement_0=ruleDatamartNumberOrElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartNumberOrElement_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2078:6: (otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2078:6: (otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2078:8: otherlv_1= '(' this_DatamartAddition_2= ruleDatamartAddition otherlv_3= ')'
{
otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDatamartPrimary4751); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartPrimaryAccess().getLeftParenthesisKeyword_1_0());
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartPrimaryAccess().getDatamartAdditionParserRuleCall_1_1());
}
pushFollow(FOLLOW_ruleDatamartAddition_in_ruleDatamartPrimary4773);
this_DatamartAddition_2=ruleDatamartAddition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartAddition_2;
afterParserOrEnumRuleCall();
}
otherlv_3=(Token)match(input,47,FOLLOW_47_in_ruleDatamartPrimary4784); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartPrimaryAccess().getRightParenthesisKeyword_1_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartPrimary"
// $ANTLR start "entryRuleDatamartNumberOrElement"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2103:1: entryRuleDatamartNumberOrElement returns [EObject current=null] : iv_ruleDatamartNumberOrElement= ruleDatamartNumberOrElement EOF ;
public final EObject entryRuleDatamartNumberOrElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartNumberOrElement = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2104:2: (iv_ruleDatamartNumberOrElement= ruleDatamartNumberOrElement EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2105:2: iv_ruleDatamartNumberOrElement= ruleDatamartNumberOrElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNumberOrElementRule());
}
pushFollow(FOLLOW_ruleDatamartNumberOrElement_in_entryRuleDatamartNumberOrElement4821);
iv_ruleDatamartNumberOrElement=ruleDatamartNumberOrElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartNumberOrElement;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartNumberOrElement4831); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartNumberOrElement"
// $ANTLR start "ruleDatamartNumberOrElement"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2112:1: ruleDatamartNumberOrElement returns [EObject current=null] : ( ( (lv_value_0_0= ruleNumber ) ) | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartMemberTuple_3= ruleDatamartMemberTuple | this_DatamartAggregation_4= ruleDatamartAggregation ) ;
public final EObject ruleDatamartNumberOrElement() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_value_0_0 = null;
EObject this_DatamartMeasure_1 = null;
EObject this_DatamartDerivedMeasure_2 = null;
EObject this_DatamartMemberTuple_3 = null;
EObject this_DatamartAggregation_4 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2115:28: ( ( ( (lv_value_0_0= ruleNumber ) ) | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartMemberTuple_3= ruleDatamartMemberTuple | this_DatamartAggregation_4= ruleDatamartAggregation ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2116:1: ( ( (lv_value_0_0= ruleNumber ) ) | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartMemberTuple_3= ruleDatamartMemberTuple | this_DatamartAggregation_4= ruleDatamartAggregation )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2116:1: ( ( (lv_value_0_0= ruleNumber ) ) | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartMemberTuple_3= ruleDatamartMemberTuple | this_DatamartAggregation_4= ruleDatamartAggregation )
int alt42=5;
switch ( input.LA(1) ) {
case RULE_INT:
case RULE_HEX:
case RULE_DECIMAL:
{
alt42=1;
}
break;
case 62:
{
alt42=2;
}
break;
case 61:
{
alt42=3;
}
break;
case 63:
case 162:
case 163:
case 164:
case 165:
case 166:
case 167:
{
alt42=4;
}
break;
case 39:
case 178:
case 179:
case 180:
{
alt42=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2116:2: ( (lv_value_0_0= ruleNumber ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2116:2: ( (lv_value_0_0= ruleNumber ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2117:1: (lv_value_0_0= ruleNumber )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2117:1: (lv_value_0_0= ruleNumber )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2118:3: lv_value_0_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNumberOrElementAccess().getValueNumberParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleNumber_in_ruleDatamartNumberOrElement4877);
lv_value_0_0=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartNumberOrElementRule());
}
set(
current,
"value",
lv_value_0_0,
"Number");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2136:5: this_DatamartMeasure_1= ruleDatamartMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNumberOrElementAccess().getDatamartMeasureParserRuleCall_1());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_ruleDatamartNumberOrElement4905);
this_DatamartMeasure_1=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartMeasure_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2146:5: this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNumberOrElementAccess().getDatamartDerivedMeasureParserRuleCall_2());
}
pushFollow(FOLLOW_ruleDatamartDerivedMeasure_in_ruleDatamartNumberOrElement4932);
this_DatamartDerivedMeasure_2=ruleDatamartDerivedMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartDerivedMeasure_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2156:5: this_DatamartMemberTuple_3= ruleDatamartMemberTuple
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNumberOrElementAccess().getDatamartMemberTupleParserRuleCall_3());
}
pushFollow(FOLLOW_ruleDatamartMemberTuple_in_ruleDatamartNumberOrElement4959);
this_DatamartMemberTuple_3=ruleDatamartMemberTuple();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartMemberTuple_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2166:5: this_DatamartAggregation_4= ruleDatamartAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartNumberOrElementAccess().getDatamartAggregationParserRuleCall_4());
}
pushFollow(FOLLOW_ruleDatamartAggregation_in_ruleDatamartNumberOrElement4986);
this_DatamartAggregation_4=ruleDatamartAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartAggregation_4;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartNumberOrElement"
// $ANTLR start "entryRuleDatamartMemberTuple"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2182:1: entryRuleDatamartMemberTuple returns [EObject current=null] : iv_ruleDatamartMemberTuple= ruleDatamartMemberTuple EOF ;
public final EObject entryRuleDatamartMemberTuple() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartMemberTuple = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2183:2: (iv_ruleDatamartMemberTuple= ruleDatamartMemberTuple EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2184:2: iv_ruleDatamartMemberTuple= ruleDatamartMemberTuple EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberTupleRule());
}
pushFollow(FOLLOW_ruleDatamartMemberTuple_in_entryRuleDatamartMemberTuple5021);
iv_ruleDatamartMemberTuple=ruleDatamartMemberTuple();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartMemberTuple;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartMemberTuple5031); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartMemberTuple"
// $ANTLR start "ruleDatamartMemberTuple"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2191:1: ruleDatamartMemberTuple returns [EObject current=null] : ( ( ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of' )? ( (lv_hierarchy_3_0= ruleDatamartHierarchy ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) ) ;
public final EObject ruleDatamartMemberTuple() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_5=null;
EObject lv_function_0_0 = null;
EObject lv_function_1_0 = null;
EObject lv_hierarchy_3_0 = null;
EObject lv_right_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2194:28: ( ( ( ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of' )? ( (lv_hierarchy_3_0= ruleDatamartHierarchy ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:1: ( ( ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of' )? ( (lv_hierarchy_3_0= ruleDatamartHierarchy ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:1: ( ( ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of' )? ( (lv_hierarchy_3_0= ruleDatamartHierarchy ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:2: ( ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of' )? ( (lv_hierarchy_3_0= ruleDatamartHierarchy ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:2: ( ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of' )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( ((LA44_0>=162 && LA44_0<=167)) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:3: ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) ) otherlv_2= 'of'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:3: ( ( (lv_function_0_0= ruleDatamartFunction ) ) | ( (lv_function_1_0= ruleDatamartParameterFunction ) ) )
int alt43=2;
int LA43_0 = input.LA(1);
if ( ((LA43_0>=162 && LA43_0<=165)) ) {
alt43=1;
}
else if ( ((LA43_0>=166 && LA43_0<=167)) ) {
alt43=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 0, input);
throw nvae;
}
switch (alt43) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:4: ( (lv_function_0_0= ruleDatamartFunction ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2195:4: ( (lv_function_0_0= ruleDatamartFunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2196:1: (lv_function_0_0= ruleDatamartFunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2196:1: (lv_function_0_0= ruleDatamartFunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2197:3: lv_function_0_0= ruleDatamartFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberTupleAccess().getFunctionDatamartFunctionParserRuleCall_0_0_0_0());
}
pushFollow(FOLLOW_ruleDatamartFunction_in_ruleDatamartMemberTuple5079);
lv_function_0_0=ruleDatamartFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMemberTupleRule());
}
set(
current,
"function",
lv_function_0_0,
"DatamartFunction");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2214:6: ( (lv_function_1_0= ruleDatamartParameterFunction ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2214:6: ( (lv_function_1_0= ruleDatamartParameterFunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2215:1: (lv_function_1_0= ruleDatamartParameterFunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2215:1: (lv_function_1_0= ruleDatamartParameterFunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2216:3: lv_function_1_0= ruleDatamartParameterFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberTupleAccess().getFunctionDatamartParameterFunctionParserRuleCall_0_0_1_0());
}
pushFollow(FOLLOW_ruleDatamartParameterFunction_in_ruleDatamartMemberTuple5106);
lv_function_1_0=ruleDatamartParameterFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMemberTupleRule());
}
set(
current,
"function",
lv_function_1_0,
"DatamartParameterFunction");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_2=(Token)match(input,57,FOLLOW_57_in_ruleDatamartMemberTuple5119); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartMemberTupleAccess().getOfKeyword_0_1());
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2236:3: ( (lv_hierarchy_3_0= ruleDatamartHierarchy ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2237:1: (lv_hierarchy_3_0= ruleDatamartHierarchy )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2237:1: (lv_hierarchy_3_0= ruleDatamartHierarchy )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2238:3: lv_hierarchy_3_0= ruleDatamartHierarchy
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberTupleAccess().getHierarchyDatamartHierarchyParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDatamartHierarchy_in_ruleDatamartMemberTuple5142);
lv_hierarchy_3_0=ruleDatamartHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMemberTupleRule());
}
set(
current,
"hierarchy",
lv_hierarchy_3_0,
"DatamartHierarchy");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2254:2: ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2254:3: () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2254:3: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2255:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartMemberTupleAccess().getDatamartMemberTupleLeftAction_2_0(),
current);
}
}
otherlv_5=(Token)match(input,58,FOLLOW_58_in_ruleDatamartMemberTuple5164); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartMemberTupleAccess().getOverKeyword_2_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2264:1: ( (lv_right_6_0= ruleDatamartMeasure ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2265:1: (lv_right_6_0= ruleDatamartMeasure )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2265:1: (lv_right_6_0= ruleDatamartMeasure )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2266:3: lv_right_6_0= ruleDatamartMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMemberTupleAccess().getRightDatamartMeasureParserRuleCall_2_2_0());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_ruleDatamartMemberTuple5185);
lv_right_6_0=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMemberTupleRule());
}
set(
current,
"right",
lv_right_6_0,
"DatamartMeasure");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartMemberTuple"
// $ANTLR start "entryRuleDatamartFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2290:1: entryRuleDatamartFunction returns [EObject current=null] : iv_ruleDatamartFunction= ruleDatamartFunction EOF ;
public final EObject entryRuleDatamartFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartFunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2291:2: (iv_ruleDatamartFunction= ruleDatamartFunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2292:2: iv_ruleDatamartFunction= ruleDatamartFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartFunctionRule());
}
pushFollow(FOLLOW_ruleDatamartFunction_in_entryRuleDatamartFunction5222);
iv_ruleDatamartFunction=ruleDatamartFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartFunction5232); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartFunction"
// $ANTLR start "ruleDatamartFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2299:1: ruleDatamartFunction returns [EObject current=null] : ( (lv_function_0_0= ruleFunctionEnum ) ) ;
public final EObject ruleDatamartFunction() throws RecognitionException {
EObject current = null;
Enumerator lv_function_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2302:28: ( ( (lv_function_0_0= ruleFunctionEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2303:1: ( (lv_function_0_0= ruleFunctionEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2303:1: ( (lv_function_0_0= ruleFunctionEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2304:1: (lv_function_0_0= ruleFunctionEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2304:1: (lv_function_0_0= ruleFunctionEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2305:3: lv_function_0_0= ruleFunctionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartFunctionAccess().getFunctionFunctionEnumEnumRuleCall_0());
}
pushFollow(FOLLOW_ruleFunctionEnum_in_ruleDatamartFunction5277);
lv_function_0_0=ruleFunctionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartFunctionRule());
}
set(
current,
"function",
lv_function_0_0,
"FunctionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartFunction"
// $ANTLR start "entryRuleDatamartParameterFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2329:1: entryRuleDatamartParameterFunction returns [EObject current=null] : iv_ruleDatamartParameterFunction= ruleDatamartParameterFunction EOF ;
public final EObject entryRuleDatamartParameterFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartParameterFunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2330:2: (iv_ruleDatamartParameterFunction= ruleDatamartParameterFunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2331:2: iv_ruleDatamartParameterFunction= ruleDatamartParameterFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartParameterFunctionRule());
}
pushFollow(FOLLOW_ruleDatamartParameterFunction_in_entryRuleDatamartParameterFunction5312);
iv_ruleDatamartParameterFunction=ruleDatamartParameterFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartParameterFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartParameterFunction5322); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartParameterFunction"
// $ANTLR start "ruleDatamartParameterFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2338:1: ruleDatamartParameterFunction returns [EObject current=null] : ( ( (lv_function_0_0= ruleParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' ) ;
public final EObject ruleDatamartParameterFunction() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Enumerator lv_function_0_0 = null;
EObject lv_parameter_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2341:28: ( ( ( (lv_function_0_0= ruleParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2342:1: ( ( (lv_function_0_0= ruleParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2342:1: ( ( (lv_function_0_0= ruleParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2342:2: ( (lv_function_0_0= ruleParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2342:2: ( (lv_function_0_0= ruleParameterFunctionEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2343:1: (lv_function_0_0= ruleParameterFunctionEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2343:1: (lv_function_0_0= ruleParameterFunctionEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2344:3: lv_function_0_0= ruleParameterFunctionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartParameterFunctionAccess().getFunctionParameterFunctionEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_ruleParameterFunctionEnum_in_ruleDatamartParameterFunction5368);
lv_function_0_0=ruleParameterFunctionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartParameterFunctionRule());
}
set(
current,
"function",
lv_function_0_0,
"ParameterFunctionEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDatamartParameterFunction5380); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartParameterFunctionAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2364:1: ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2365:1: (lv_parameter_2_0= ruleDatamartFunctionIntParameter )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2365:1: (lv_parameter_2_0= ruleDatamartFunctionIntParameter )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2366:3: lv_parameter_2_0= ruleDatamartFunctionIntParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartParameterFunctionAccess().getParameterDatamartFunctionIntParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleDatamartFunctionIntParameter_in_ruleDatamartParameterFunction5401);
lv_parameter_2_0=ruleDatamartFunctionIntParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartParameterFunctionRule());
}
set(
current,
"parameter",
lv_parameter_2_0,
"DatamartFunctionIntParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,47,FOLLOW_47_in_ruleDatamartParameterFunction5413); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartParameterFunctionAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartParameterFunction"
// $ANTLR start "entryRuleDatamartFunctionIntParameter"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2394:1: entryRuleDatamartFunctionIntParameter returns [EObject current=null] : iv_ruleDatamartFunctionIntParameter= ruleDatamartFunctionIntParameter EOF ;
public final EObject entryRuleDatamartFunctionIntParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartFunctionIntParameter = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2395:2: (iv_ruleDatamartFunctionIntParameter= ruleDatamartFunctionIntParameter EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2396:2: iv_ruleDatamartFunctionIntParameter= ruleDatamartFunctionIntParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartFunctionIntParameterRule());
}
pushFollow(FOLLOW_ruleDatamartFunctionIntParameter_in_entryRuleDatamartFunctionIntParameter5449);
iv_ruleDatamartFunctionIntParameter=ruleDatamartFunctionIntParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartFunctionIntParameter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartFunctionIntParameter5459); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartFunctionIntParameter"
// $ANTLR start "ruleDatamartFunctionIntParameter"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2403:1: ruleDatamartFunctionIntParameter returns [EObject current=null] : ( (lv_value_0_0= RULE_INT ) ) ;
public final EObject ruleDatamartFunctionIntParameter() throws RecognitionException {
EObject current = null;
Token lv_value_0_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2406:28: ( ( (lv_value_0_0= RULE_INT ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2407:1: ( (lv_value_0_0= RULE_INT ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2407:1: ( (lv_value_0_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2408:1: (lv_value_0_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2408:1: (lv_value_0_0= RULE_INT )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2409:3: lv_value_0_0= RULE_INT
{
lv_value_0_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDatamartFunctionIntParameter5500); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_value_0_0, grammarAccess.getDatamartFunctionIntParameterAccess().getValueINTTerminalRuleCall_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartFunctionIntParameterRule());
}
setWithLastConsumed(
current,
"value",
lv_value_0_0,
"INT");
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartFunctionIntParameter"
// $ANTLR start "entryRuleDatamartSetFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2433:1: entryRuleDatamartSetFunction returns [EObject current=null] : iv_ruleDatamartSetFunction= ruleDatamartSetFunction EOF ;
public final EObject entryRuleDatamartSetFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSetFunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2434:2: (iv_ruleDatamartSetFunction= ruleDatamartSetFunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2435:2: iv_ruleDatamartSetFunction= ruleDatamartSetFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetFunctionRule());
}
pushFollow(FOLLOW_ruleDatamartSetFunction_in_entryRuleDatamartSetFunction5540);
iv_ruleDatamartSetFunction=ruleDatamartSetFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSetFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSetFunction5550); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSetFunction"
// $ANTLR start "ruleDatamartSetFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2442:1: ruleDatamartSetFunction returns [EObject current=null] : ( (lv_setFunction_0_0= ruleSetFunctionEnum ) ) ;
public final EObject ruleDatamartSetFunction() throws RecognitionException {
EObject current = null;
Enumerator lv_setFunction_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2445:28: ( ( (lv_setFunction_0_0= ruleSetFunctionEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2446:1: ( (lv_setFunction_0_0= ruleSetFunctionEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2446:1: ( (lv_setFunction_0_0= ruleSetFunctionEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2447:1: (lv_setFunction_0_0= ruleSetFunctionEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2447:1: (lv_setFunction_0_0= ruleSetFunctionEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2448:3: lv_setFunction_0_0= ruleSetFunctionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetFunctionAccess().getSetFunctionSetFunctionEnumEnumRuleCall_0());
}
pushFollow(FOLLOW_ruleSetFunctionEnum_in_ruleDatamartSetFunction5595);
lv_setFunction_0_0=ruleSetFunctionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetFunctionRule());
}
set(
current,
"setFunction",
lv_setFunction_0_0,
"SetFunctionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSetFunction"
// $ANTLR start "entryRuleDatamartSetParameterFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2472:1: entryRuleDatamartSetParameterFunction returns [EObject current=null] : iv_ruleDatamartSetParameterFunction= ruleDatamartSetParameterFunction EOF ;
public final EObject entryRuleDatamartSetParameterFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSetParameterFunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2473:2: (iv_ruleDatamartSetParameterFunction= ruleDatamartSetParameterFunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2474:2: iv_ruleDatamartSetParameterFunction= ruleDatamartSetParameterFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetParameterFunctionRule());
}
pushFollow(FOLLOW_ruleDatamartSetParameterFunction_in_entryRuleDatamartSetParameterFunction5630);
iv_ruleDatamartSetParameterFunction=ruleDatamartSetParameterFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSetParameterFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSetParameterFunction5640); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSetParameterFunction"
// $ANTLR start "ruleDatamartSetParameterFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2481:1: ruleDatamartSetParameterFunction returns [EObject current=null] : ( ( (lv_setFunction_0_0= ruleSetParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' ) ;
public final EObject ruleDatamartSetParameterFunction() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Enumerator lv_setFunction_0_0 = null;
EObject lv_parameter_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2484:28: ( ( ( (lv_setFunction_0_0= ruleSetParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2485:1: ( ( (lv_setFunction_0_0= ruleSetParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2485:1: ( ( (lv_setFunction_0_0= ruleSetParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2485:2: ( (lv_setFunction_0_0= ruleSetParameterFunctionEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2485:2: ( (lv_setFunction_0_0= ruleSetParameterFunctionEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2486:1: (lv_setFunction_0_0= ruleSetParameterFunctionEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2486:1: (lv_setFunction_0_0= ruleSetParameterFunctionEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2487:3: lv_setFunction_0_0= ruleSetParameterFunctionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetParameterFunctionAccess().getSetFunctionSetParameterFunctionEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_ruleSetParameterFunctionEnum_in_ruleDatamartSetParameterFunction5686);
lv_setFunction_0_0=ruleSetParameterFunctionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetParameterFunctionRule());
}
set(
current,
"setFunction",
lv_setFunction_0_0,
"SetParameterFunctionEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDatamartSetParameterFunction5698); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartSetParameterFunctionAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2507:1: ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2508:1: (lv_parameter_2_0= ruleDatamartFunctionIntParameter )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2508:1: (lv_parameter_2_0= ruleDatamartFunctionIntParameter )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2509:3: lv_parameter_2_0= ruleDatamartFunctionIntParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetParameterFunctionAccess().getParameterDatamartFunctionIntParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleDatamartFunctionIntParameter_in_ruleDatamartSetParameterFunction5719);
lv_parameter_2_0=ruleDatamartFunctionIntParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetParameterFunctionRule());
}
set(
current,
"parameter",
lv_parameter_2_0,
"DatamartFunctionIntParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,47,FOLLOW_47_in_ruleDatamartSetParameterFunction5731); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartSetParameterFunctionAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSetParameterFunction"
// $ANTLR start "entryRuleDatamartSetAggregationFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2537:1: entryRuleDatamartSetAggregationFunction returns [EObject current=null] : iv_ruleDatamartSetAggregationFunction= ruleDatamartSetAggregationFunction EOF ;
public final EObject entryRuleDatamartSetAggregationFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSetAggregationFunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2538:2: (iv_ruleDatamartSetAggregationFunction= ruleDatamartSetAggregationFunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2539:2: iv_ruleDatamartSetAggregationFunction= ruleDatamartSetAggregationFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationFunctionRule());
}
pushFollow(FOLLOW_ruleDatamartSetAggregationFunction_in_entryRuleDatamartSetAggregationFunction5767);
iv_ruleDatamartSetAggregationFunction=ruleDatamartSetAggregationFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSetAggregationFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSetAggregationFunction5777); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSetAggregationFunction"
// $ANTLR start "ruleDatamartSetAggregationFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2546:1: ruleDatamartSetAggregationFunction returns [EObject current=null] : ( ( (lv_aggregation_0_0= ruleSetAggregationEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' ) ;
public final EObject ruleDatamartSetAggregationFunction() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Enumerator lv_aggregation_0_0 = null;
EObject lv_parameter_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2549:28: ( ( ( (lv_aggregation_0_0= ruleSetAggregationEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2550:1: ( ( (lv_aggregation_0_0= ruleSetAggregationEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2550:1: ( ( (lv_aggregation_0_0= ruleSetAggregationEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2550:2: ( (lv_aggregation_0_0= ruleSetAggregationEnum ) ) otherlv_1= '(' ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) ) otherlv_3= ')'
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2550:2: ( (lv_aggregation_0_0= ruleSetAggregationEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2551:1: (lv_aggregation_0_0= ruleSetAggregationEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2551:1: (lv_aggregation_0_0= ruleSetAggregationEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2552:3: lv_aggregation_0_0= ruleSetAggregationEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationFunctionAccess().getAggregationSetAggregationEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_ruleSetAggregationEnum_in_ruleDatamartSetAggregationFunction5823);
lv_aggregation_0_0=ruleSetAggregationEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetAggregationFunctionRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"SetAggregationEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDatamartSetAggregationFunction5835); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartSetAggregationFunctionAccess().getLeftParenthesisKeyword_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2572:1: ( (lv_parameter_2_0= ruleDatamartFunctionIntParameter ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2573:1: (lv_parameter_2_0= ruleDatamartFunctionIntParameter )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2573:1: (lv_parameter_2_0= ruleDatamartFunctionIntParameter )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2574:3: lv_parameter_2_0= ruleDatamartFunctionIntParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationFunctionAccess().getParameterDatamartFunctionIntParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleDatamartFunctionIntParameter_in_ruleDatamartSetAggregationFunction5856);
lv_parameter_2_0=ruleDatamartFunctionIntParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetAggregationFunctionRule());
}
set(
current,
"parameter",
lv_parameter_2_0,
"DatamartFunctionIntParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,47,FOLLOW_47_in_ruleDatamartSetAggregationFunction5868); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartSetAggregationFunctionAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSetAggregationFunction"
// $ANTLR start "entryRuleDatamartSetTuple"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2602:1: entryRuleDatamartSetTuple returns [EObject current=null] : iv_ruleDatamartSetTuple= ruleDatamartSetTuple EOF ;
public final EObject entryRuleDatamartSetTuple() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSetTuple = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2603:2: (iv_ruleDatamartSetTuple= ruleDatamartSetTuple EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2604:2: iv_ruleDatamartSetTuple= ruleDatamartSetTuple EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetTupleRule());
}
pushFollow(FOLLOW_ruleDatamartSetTuple_in_entryRuleDatamartSetTuple5904);
iv_ruleDatamartSetTuple=ruleDatamartSetTuple();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSetTuple;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSetTuple5914); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSetTuple"
// $ANTLR start "ruleDatamartSetTuple"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2611:1: ruleDatamartSetTuple returns [EObject current=null] : ( ( ( (lv_setFunction_0_0= ruleDatamartSetFunction ) ) | ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) ) ) ( () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) ) ) ) ;
public final EObject ruleDatamartSetTuple() throws RecognitionException {
EObject current = null;
Token otherlv_3=null;
EObject lv_setFunction_0_0 = null;
EObject lv_setFunction_1_0 = null;
EObject lv_right_4_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2614:28: ( ( ( ( (lv_setFunction_0_0= ruleDatamartSetFunction ) ) | ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) ) ) ( () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2615:1: ( ( ( (lv_setFunction_0_0= ruleDatamartSetFunction ) ) | ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) ) ) ( () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2615:1: ( ( ( (lv_setFunction_0_0= ruleDatamartSetFunction ) ) | ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) ) ) ( () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2615:2: ( ( (lv_setFunction_0_0= ruleDatamartSetFunction ) ) | ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) ) ) ( () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2615:2: ( ( (lv_setFunction_0_0= ruleDatamartSetFunction ) ) | ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) ) )
int alt45=2;
int LA45_0 = input.LA(1);
if ( ((LA45_0>=168 && LA45_0<=169)) ) {
alt45=1;
}
else if ( ((LA45_0>=170 && LA45_0<=171)) ) {
alt45=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 45, 0, input);
throw nvae;
}
switch (alt45) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2615:3: ( (lv_setFunction_0_0= ruleDatamartSetFunction ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2615:3: ( (lv_setFunction_0_0= ruleDatamartSetFunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2616:1: (lv_setFunction_0_0= ruleDatamartSetFunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2616:1: (lv_setFunction_0_0= ruleDatamartSetFunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2617:3: lv_setFunction_0_0= ruleDatamartSetFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetTupleAccess().getSetFunctionDatamartSetFunctionParserRuleCall_0_0_0());
}
pushFollow(FOLLOW_ruleDatamartSetFunction_in_ruleDatamartSetTuple5961);
lv_setFunction_0_0=ruleDatamartSetFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetTupleRule());
}
set(
current,
"setFunction",
lv_setFunction_0_0,
"DatamartSetFunction");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2634:6: ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2634:6: ( (lv_setFunction_1_0= ruleDatamartSetParameterFunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2635:1: (lv_setFunction_1_0= ruleDatamartSetParameterFunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2635:1: (lv_setFunction_1_0= ruleDatamartSetParameterFunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2636:3: lv_setFunction_1_0= ruleDatamartSetParameterFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetTupleAccess().getSetFunctionDatamartSetParameterFunctionParserRuleCall_0_1_0());
}
pushFollow(FOLLOW_ruleDatamartSetParameterFunction_in_ruleDatamartSetTuple5988);
lv_setFunction_1_0=ruleDatamartSetParameterFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetTupleRule());
}
set(
current,
"setFunction",
lv_setFunction_1_0,
"DatamartSetParameterFunction");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2652:3: ( () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2652:4: () otherlv_3= 'of' ( (lv_right_4_0= ruleDatamartHierarchy ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2652:4: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2653:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartSetTupleAccess().getDatamartSetTupleLeftAction_1_0(),
current);
}
}
otherlv_3=(Token)match(input,57,FOLLOW_57_in_ruleDatamartSetTuple6011); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartSetTupleAccess().getOfKeyword_1_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2662:1: ( (lv_right_4_0= ruleDatamartHierarchy ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2663:1: (lv_right_4_0= ruleDatamartHierarchy )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2663:1: (lv_right_4_0= ruleDatamartHierarchy )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2664:3: lv_right_4_0= ruleDatamartHierarchy
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetTupleAccess().getRightDatamartHierarchyParserRuleCall_1_2_0());
}
pushFollow(FOLLOW_ruleDatamartHierarchy_in_ruleDatamartSetTuple6032);
lv_right_4_0=ruleDatamartHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetTupleRule());
}
set(
current,
"right",
lv_right_4_0,
"DatamartHierarchy");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSetTuple"
// $ANTLR start "entryRuleDatamartAggregationFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2688:1: entryRuleDatamartAggregationFunction returns [EObject current=null] : iv_ruleDatamartAggregationFunction= ruleDatamartAggregationFunction EOF ;
public final EObject entryRuleDatamartAggregationFunction() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartAggregationFunction = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2689:2: (iv_ruleDatamartAggregationFunction= ruleDatamartAggregationFunction EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2690:2: iv_ruleDatamartAggregationFunction= ruleDatamartAggregationFunction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationFunctionRule());
}
pushFollow(FOLLOW_ruleDatamartAggregationFunction_in_entryRuleDatamartAggregationFunction6069);
iv_ruleDatamartAggregationFunction=ruleDatamartAggregationFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartAggregationFunction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartAggregationFunction6079); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartAggregationFunction"
// $ANTLR start "ruleDatamartAggregationFunction"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2697:1: ruleDatamartAggregationFunction returns [EObject current=null] : ( (lv_aggregation_0_0= ruleAggregationEnum ) ) ;
public final EObject ruleDatamartAggregationFunction() throws RecognitionException {
EObject current = null;
Enumerator lv_aggregation_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2700:28: ( ( (lv_aggregation_0_0= ruleAggregationEnum ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2701:1: ( (lv_aggregation_0_0= ruleAggregationEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2701:1: ( (lv_aggregation_0_0= ruleAggregationEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2702:1: (lv_aggregation_0_0= ruleAggregationEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2702:1: (lv_aggregation_0_0= ruleAggregationEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2703:3: lv_aggregation_0_0= ruleAggregationEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationFunctionAccess().getAggregationAggregationEnumEnumRuleCall_0());
}
pushFollow(FOLLOW_ruleAggregationEnum_in_ruleDatamartAggregationFunction6124);
lv_aggregation_0_0=ruleAggregationEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAggregationFunctionRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"AggregationEnum");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartAggregationFunction"
// $ANTLR start "entryRuleDatamartAggregation"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2727:1: entryRuleDatamartAggregation returns [EObject current=null] : iv_ruleDatamartAggregation= ruleDatamartAggregation EOF ;
public final EObject entryRuleDatamartAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartAggregation = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2728:2: (iv_ruleDatamartAggregation= ruleDatamartAggregation EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2729:2: iv_ruleDatamartAggregation= ruleDatamartAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationRule());
}
pushFollow(FOLLOW_ruleDatamartAggregation_in_entryRuleDatamartAggregation6159);
iv_ruleDatamartAggregation=ruleDatamartAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartAggregation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartAggregation6169); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartAggregation"
// $ANTLR start "ruleDatamartAggregation"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2736:1: ruleDatamartAggregation returns [EObject current=null] : ( ( (lv_aggregation_0_0= ruleDatamartAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) ) ;
public final EObject ruleDatamartAggregation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_5=null;
EObject lv_aggregation_0_0 = null;
EObject lv_set_2_0 = null;
EObject lv_set_3_0 = null;
EObject lv_right_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2739:28: ( ( ( (lv_aggregation_0_0= ruleDatamartAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2740:1: ( ( (lv_aggregation_0_0= ruleDatamartAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2740:1: ( ( (lv_aggregation_0_0= ruleDatamartAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2740:2: ( (lv_aggregation_0_0= ruleDatamartAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2740:2: ( (lv_aggregation_0_0= ruleDatamartAggregationFunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2741:1: (lv_aggregation_0_0= ruleDatamartAggregationFunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2741:1: (lv_aggregation_0_0= ruleDatamartAggregationFunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2742:3: lv_aggregation_0_0= ruleDatamartAggregationFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationAccess().getAggregationDatamartAggregationFunctionParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleDatamartAggregationFunction_in_ruleDatamartAggregation6215);
lv_aggregation_0_0=ruleDatamartAggregationFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"DatamartAggregationFunction");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,57,FOLLOW_57_in_ruleDatamartAggregation6227); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartAggregationAccess().getOfKeyword_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2762:1: ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) )
int alt46=2;
int LA46_0 = input.LA(1);
if ( ((LA46_0>=168 && LA46_0<=171)) ) {
alt46=1;
}
else if ( (LA46_0==63) ) {
alt46=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 46, 0, input);
throw nvae;
}
switch (alt46) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2762:2: ( (lv_set_2_0= ruleDatamartSetTuple ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2762:2: ( (lv_set_2_0= ruleDatamartSetTuple ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2763:1: (lv_set_2_0= ruleDatamartSetTuple )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2763:1: (lv_set_2_0= ruleDatamartSetTuple )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2764:3: lv_set_2_0= ruleDatamartSetTuple
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationAccess().getSetDatamartSetTupleParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_ruleDatamartSetTuple_in_ruleDatamartAggregation6249);
lv_set_2_0=ruleDatamartSetTuple();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAggregationRule());
}
set(
current,
"set",
lv_set_2_0,
"DatamartSetTuple");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2781:6: ( (lv_set_3_0= ruleDatamartHierarchy ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2781:6: ( (lv_set_3_0= ruleDatamartHierarchy ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2782:1: (lv_set_3_0= ruleDatamartHierarchy )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2782:1: (lv_set_3_0= ruleDatamartHierarchy )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2783:3: lv_set_3_0= ruleDatamartHierarchy
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationAccess().getSetDatamartHierarchyParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleDatamartHierarchy_in_ruleDatamartAggregation6276);
lv_set_3_0=ruleDatamartHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAggregationRule());
}
set(
current,
"set",
lv_set_3_0,
"DatamartHierarchy");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2799:3: ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2799:4: () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2799:4: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2800:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartAggregationAccess().getDatamartAggregationLeftAction_3_0(),
current);
}
}
otherlv_5=(Token)match(input,58,FOLLOW_58_in_ruleDatamartAggregation6299); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartAggregationAccess().getOverKeyword_3_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2809:1: ( (lv_right_6_0= ruleDatamartMeasure ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2810:1: (lv_right_6_0= ruleDatamartMeasure )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2810:1: (lv_right_6_0= ruleDatamartMeasure )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2811:3: lv_right_6_0= ruleDatamartMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAggregationAccess().getRightDatamartMeasureParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_ruleDatamartAggregation6320);
lv_right_6_0=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAggregationRule());
}
set(
current,
"right",
lv_right_6_0,
"DatamartMeasure");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartAggregation"
// $ANTLR start "entryRuleDatamartSetAggregation"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2835:1: entryRuleDatamartSetAggregation returns [EObject current=null] : iv_ruleDatamartSetAggregation= ruleDatamartSetAggregation EOF ;
public final EObject entryRuleDatamartSetAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSetAggregation = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2836:2: (iv_ruleDatamartSetAggregation= ruleDatamartSetAggregation EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2837:2: iv_ruleDatamartSetAggregation= ruleDatamartSetAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationRule());
}
pushFollow(FOLLOW_ruleDatamartSetAggregation_in_entryRuleDatamartSetAggregation6357);
iv_ruleDatamartSetAggregation=ruleDatamartSetAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSetAggregation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSetAggregation6367); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSetAggregation"
// $ANTLR start "ruleDatamartSetAggregation"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2844:1: ruleDatamartSetAggregation returns [EObject current=null] : ( ( (lv_aggregation_0_0= ruleDatamartSetAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) ) ;
public final EObject ruleDatamartSetAggregation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_5=null;
EObject lv_aggregation_0_0 = null;
EObject lv_set_2_0 = null;
EObject lv_set_3_0 = null;
EObject lv_right_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2847:28: ( ( ( (lv_aggregation_0_0= ruleDatamartSetAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2848:1: ( ( (lv_aggregation_0_0= ruleDatamartSetAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2848:1: ( ( (lv_aggregation_0_0= ruleDatamartSetAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2848:2: ( (lv_aggregation_0_0= ruleDatamartSetAggregationFunction ) ) otherlv_1= 'of' ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) ) ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2848:2: ( (lv_aggregation_0_0= ruleDatamartSetAggregationFunction ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2849:1: (lv_aggregation_0_0= ruleDatamartSetAggregationFunction )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2849:1: (lv_aggregation_0_0= ruleDatamartSetAggregationFunction )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2850:3: lv_aggregation_0_0= ruleDatamartSetAggregationFunction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationAccess().getAggregationDatamartSetAggregationFunctionParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleDatamartSetAggregationFunction_in_ruleDatamartSetAggregation6413);
lv_aggregation_0_0=ruleDatamartSetAggregationFunction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"DatamartSetAggregationFunction");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,57,FOLLOW_57_in_ruleDatamartSetAggregation6425); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartSetAggregationAccess().getOfKeyword_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2870:1: ( ( (lv_set_2_0= ruleDatamartSetTuple ) ) | ( (lv_set_3_0= ruleDatamartHierarchy ) ) )
int alt47=2;
int LA47_0 = input.LA(1);
if ( ((LA47_0>=168 && LA47_0<=171)) ) {
alt47=1;
}
else if ( (LA47_0==63) ) {
alt47=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2870:2: ( (lv_set_2_0= ruleDatamartSetTuple ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2870:2: ( (lv_set_2_0= ruleDatamartSetTuple ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2871:1: (lv_set_2_0= ruleDatamartSetTuple )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2871:1: (lv_set_2_0= ruleDatamartSetTuple )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2872:3: lv_set_2_0= ruleDatamartSetTuple
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationAccess().getSetDatamartSetTupleParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_ruleDatamartSetTuple_in_ruleDatamartSetAggregation6447);
lv_set_2_0=ruleDatamartSetTuple();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetAggregationRule());
}
set(
current,
"set",
lv_set_2_0,
"DatamartSetTuple");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2889:6: ( (lv_set_3_0= ruleDatamartHierarchy ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2889:6: ( (lv_set_3_0= ruleDatamartHierarchy ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2890:1: (lv_set_3_0= ruleDatamartHierarchy )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2890:1: (lv_set_3_0= ruleDatamartHierarchy )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2891:3: lv_set_3_0= ruleDatamartHierarchy
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationAccess().getSetDatamartHierarchyParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleDatamartHierarchy_in_ruleDatamartSetAggregation6474);
lv_set_3_0=ruleDatamartHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetAggregationRule());
}
set(
current,
"set",
lv_set_3_0,
"DatamartHierarchy");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2907:3: ( () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2907:4: () otherlv_5= 'over' ( (lv_right_6_0= ruleDatamartMeasure ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2907:4: ()
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2908:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getDatamartSetAggregationAccess().getDatamartSetAggregationLeftAction_3_0(),
current);
}
}
otherlv_5=(Token)match(input,58,FOLLOW_58_in_ruleDatamartSetAggregation6497); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartSetAggregationAccess().getOverKeyword_3_1());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2917:1: ( (lv_right_6_0= ruleDatamartMeasure ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2918:1: (lv_right_6_0= ruleDatamartMeasure )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2918:1: (lv_right_6_0= ruleDatamartMeasure )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2919:3: lv_right_6_0= ruleDatamartMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSetAggregationAccess().getRightDatamartMeasureParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_ruleDatamartSetAggregation6518);
lv_right_6_0=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSetAggregationRule());
}
set(
current,
"right",
lv_right_6_0,
"DatamartMeasure");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSetAggregation"
// $ANTLR start "entryRuleDatamartSlicer"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2943:1: entryRuleDatamartSlicer returns [EObject current=null] : iv_ruleDatamartSlicer= ruleDatamartSlicer EOF ;
public final EObject entryRuleDatamartSlicer() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartSlicer = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2944:2: (iv_ruleDatamartSlicer= ruleDatamartSlicer EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2945:2: iv_ruleDatamartSlicer= ruleDatamartSlicer EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSlicerRule());
}
pushFollow(FOLLOW_ruleDatamartSlicer_in_entryRuleDatamartSlicer6555);
iv_ruleDatamartSlicer=ruleDatamartSlicer();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartSlicer;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartSlicer6565); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartSlicer"
// $ANTLR start "ruleDatamartSlicer"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2952:1: ruleDatamartSlicer returns [EObject current=null] : (otherlv_0= 'slicer' ( (lv_element_1_0= ruleDatamartElement ) ) ) ;
public final EObject ruleDatamartSlicer() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_element_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2955:28: ( (otherlv_0= 'slicer' ( (lv_element_1_0= ruleDatamartElement ) ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2956:1: (otherlv_0= 'slicer' ( (lv_element_1_0= ruleDatamartElement ) ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2956:1: (otherlv_0= 'slicer' ( (lv_element_1_0= ruleDatamartElement ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2956:3: otherlv_0= 'slicer' ( (lv_element_1_0= ruleDatamartElement ) )
{
otherlv_0=(Token)match(input,59,FOLLOW_59_in_ruleDatamartSlicer6602); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartSlicerAccess().getSlicerKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2960:1: ( (lv_element_1_0= ruleDatamartElement ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2961:1: (lv_element_1_0= ruleDatamartElement )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2961:1: (lv_element_1_0= ruleDatamartElement )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2962:3: lv_element_1_0= ruleDatamartElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartSlicerAccess().getElementDatamartElementParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDatamartElement_in_ruleDatamartSlicer6623);
lv_element_1_0=ruleDatamartElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartSlicerRule());
}
set(
current,
"element",
lv_element_1_0,
"DatamartElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartSlicer"
// $ANTLR start "entryRuleDatamartAxis"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2986:1: entryRuleDatamartAxis returns [EObject current=null] : iv_ruleDatamartAxis= ruleDatamartAxis EOF ;
public final EObject entryRuleDatamartAxis() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartAxis = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2987:2: (iv_ruleDatamartAxis= ruleDatamartAxis EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2988:2: iv_ruleDatamartAxis= ruleDatamartAxis EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAxisRule());
}
pushFollow(FOLLOW_ruleDatamartAxis_in_entryRuleDatamartAxis6659);
iv_ruleDatamartAxis=ruleDatamartAxis();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartAxis;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartAxis6669); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartAxis"
// $ANTLR start "ruleDatamartAxis"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2995:1: ruleDatamartAxis returns [EObject current=null] : (otherlv_0= 'axis' ( (lv_name_1_0= ruleAxisEnum ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleDatamartElement ) )* otherlv_4= '}' ) ;
public final EObject ruleDatamartAxis() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Enumerator lv_name_1_0 = null;
EObject lv_elements_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2998:28: ( (otherlv_0= 'axis' ( (lv_name_1_0= ruleAxisEnum ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleDatamartElement ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2999:1: (otherlv_0= 'axis' ( (lv_name_1_0= ruleAxisEnum ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleDatamartElement ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2999:1: (otherlv_0= 'axis' ( (lv_name_1_0= ruleAxisEnum ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleDatamartElement ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:2999:3: otherlv_0= 'axis' ( (lv_name_1_0= ruleAxisEnum ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleDatamartElement ) )* otherlv_4= '}'
{
otherlv_0=(Token)match(input,60,FOLLOW_60_in_ruleDatamartAxis6706); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartAxisAccess().getAxisKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3003:1: ( (lv_name_1_0= ruleAxisEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3004:1: (lv_name_1_0= ruleAxisEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3004:1: (lv_name_1_0= ruleAxisEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3005:3: lv_name_1_0= ruleAxisEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAxisAccess().getNameAxisEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleAxisEnum_in_ruleDatamartAxis6727);
lv_name_1_0=ruleAxisEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAxisRule());
}
set(
current,
"name",
lv_name_1_0,
"AxisEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleDatamartAxis6739); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartAxisAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3025:1: ( (lv_elements_3_0= ruleDatamartElement ) )*
loop48:
do {
int alt48=2;
int LA48_0 = input.LA(1);
if ( ((LA48_0>=61 && LA48_0<=63)||(LA48_0>=172 && LA48_0<=177)) ) {
alt48=1;
}
switch (alt48) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3026:1: (lv_elements_3_0= ruleDatamartElement )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3026:1: (lv_elements_3_0= ruleDatamartElement )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3027:3: lv_elements_3_0= ruleDatamartElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartAxisAccess().getElementsDatamartElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleDatamartElement_in_ruleDatamartAxis6760);
lv_elements_3_0=ruleDatamartElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartAxisRule());
}
add(
current,
"elements",
lv_elements_3_0,
"DatamartElement");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop48;
}
} while (true);
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleDatamartAxis6773); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartAxisAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartAxis"
// $ANTLR start "entryRuleDatamartElement"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3055:1: entryRuleDatamartElement returns [EObject current=null] : iv_ruleDatamartElement= ruleDatamartElement EOF ;
public final EObject entryRuleDatamartElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartElement = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3056:2: (iv_ruleDatamartElement= ruleDatamartElement EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3057:2: iv_ruleDatamartElement= ruleDatamartElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartElementRule());
}
pushFollow(FOLLOW_ruleDatamartElement_in_entryRuleDatamartElement6809);
iv_ruleDatamartElement=ruleDatamartElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartElement;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartElement6819); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartElement"
// $ANTLR start "ruleDatamartElement"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3064:1: ruleDatamartElement returns [EObject current=null] : (this_DatamartHierarchy_0= ruleDatamartHierarchy | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartSetAggregation_3= ruleDatamartSetAggregation ) ;
public final EObject ruleDatamartElement() throws RecognitionException {
EObject current = null;
EObject this_DatamartHierarchy_0 = null;
EObject this_DatamartMeasure_1 = null;
EObject this_DatamartDerivedMeasure_2 = null;
EObject this_DatamartSetAggregation_3 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3067:28: ( (this_DatamartHierarchy_0= ruleDatamartHierarchy | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartSetAggregation_3= ruleDatamartSetAggregation ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3068:1: (this_DatamartHierarchy_0= ruleDatamartHierarchy | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartSetAggregation_3= ruleDatamartSetAggregation )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3068:1: (this_DatamartHierarchy_0= ruleDatamartHierarchy | this_DatamartMeasure_1= ruleDatamartMeasure | this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure | this_DatamartSetAggregation_3= ruleDatamartSetAggregation )
int alt49=4;
switch ( input.LA(1) ) {
case 63:
{
alt49=1;
}
break;
case 62:
{
alt49=2;
}
break;
case 61:
{
alt49=3;
}
break;
case 172:
case 173:
case 174:
case 175:
case 176:
case 177:
{
alt49=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 49, 0, input);
throw nvae;
}
switch (alt49) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3069:5: this_DatamartHierarchy_0= ruleDatamartHierarchy
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartElementAccess().getDatamartHierarchyParserRuleCall_0());
}
pushFollow(FOLLOW_ruleDatamartHierarchy_in_ruleDatamartElement6866);
this_DatamartHierarchy_0=ruleDatamartHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartHierarchy_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3079:5: this_DatamartMeasure_1= ruleDatamartMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartElementAccess().getDatamartMeasureParserRuleCall_1());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_ruleDatamartElement6893);
this_DatamartMeasure_1=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartMeasure_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3089:5: this_DatamartDerivedMeasure_2= ruleDatamartDerivedMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartElementAccess().getDatamartDerivedMeasureParserRuleCall_2());
}
pushFollow(FOLLOW_ruleDatamartDerivedMeasure_in_ruleDatamartElement6920);
this_DatamartDerivedMeasure_2=ruleDatamartDerivedMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartDerivedMeasure_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3099:5: this_DatamartSetAggregation_3= ruleDatamartSetAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartElementAccess().getDatamartSetAggregationParserRuleCall_3());
}
pushFollow(FOLLOW_ruleDatamartSetAggregation_in_ruleDatamartElement6947);
this_DatamartSetAggregation_3=ruleDatamartSetAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartSetAggregation_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartElement"
// $ANTLR start "entryRuleDatamartDerivedMeasure"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3115:1: entryRuleDatamartDerivedMeasure returns [EObject current=null] : iv_ruleDatamartDerivedMeasure= ruleDatamartDerivedMeasure EOF ;
public final EObject entryRuleDatamartDerivedMeasure() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartDerivedMeasure = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3116:2: (iv_ruleDatamartDerivedMeasure= ruleDatamartDerivedMeasure EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3117:2: iv_ruleDatamartDerivedMeasure= ruleDatamartDerivedMeasure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDerivedMeasureRule());
}
pushFollow(FOLLOW_ruleDatamartDerivedMeasure_in_entryRuleDatamartDerivedMeasure6982);
iv_ruleDatamartDerivedMeasure=ruleDatamartDerivedMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartDerivedMeasure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartDerivedMeasure6992); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartDerivedMeasure"
// $ANTLR start "ruleDatamartDerivedMeasure"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3124:1: ruleDatamartDerivedMeasure returns [EObject current=null] : (otherlv_0= 'derived' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? ) ;
public final EObject ruleDatamartDerivedMeasure() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_scaled_2_0=null;
Enumerator lv_scale_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3127:28: ( (otherlv_0= 'derived' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3128:1: (otherlv_0= 'derived' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3128:1: (otherlv_0= 'derived' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3128:3: otherlv_0= 'derived' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )?
{
otherlv_0=(Token)match(input,61,FOLLOW_61_in_ruleDatamartDerivedMeasure7029); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartDerivedMeasureAccess().getDerivedKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3132:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3133:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3133:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3134:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartDerivedMeasureRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartDerivedMeasure7049); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartDerivedMeasureAccess().getDerivedRefDatamartDefineDerivedMeasureCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3145:2: ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==41) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3145:3: ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3145:3: ( (lv_scaled_2_0= 'scale' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3146:1: (lv_scaled_2_0= 'scale' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3146:1: (lv_scaled_2_0= 'scale' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3147:3: lv_scaled_2_0= 'scale'
{
lv_scaled_2_0=(Token)match(input,41,FOLLOW_41_in_ruleDatamartDerivedMeasure7068); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_scaled_2_0, grammarAccess.getDatamartDerivedMeasureAccess().getScaledScaleKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartDerivedMeasureRule());
}
setWithLastConsumed(current, "scaled", true, "scale");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3160:2: ( (lv_scale_3_0= ruleValueScaleEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3161:1: (lv_scale_3_0= ruleValueScaleEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3161:1: (lv_scale_3_0= ruleValueScaleEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3162:3: lv_scale_3_0= ruleValueScaleEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartDerivedMeasureAccess().getScaleValueScaleEnumEnumRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleValueScaleEnum_in_ruleDatamartDerivedMeasure7102);
lv_scale_3_0=ruleValueScaleEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartDerivedMeasureRule());
}
set(
current,
"scale",
lv_scale_3_0,
"ValueScaleEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartDerivedMeasure"
// $ANTLR start "entryRuleDatamartMeasure"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3186:1: entryRuleDatamartMeasure returns [EObject current=null] : iv_ruleDatamartMeasure= ruleDatamartMeasure EOF ;
public final EObject entryRuleDatamartMeasure() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartMeasure = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3187:2: (iv_ruleDatamartMeasure= ruleDatamartMeasure EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3188:2: iv_ruleDatamartMeasure= ruleDatamartMeasure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMeasureRule());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_entryRuleDatamartMeasure7140);
iv_ruleDatamartMeasure=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartMeasure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartMeasure7150); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartMeasure"
// $ANTLR start "ruleDatamartMeasure"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3195:1: ruleDatamartMeasure returns [EObject current=null] : (otherlv_0= 'measure' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? ) ;
public final EObject ruleDatamartMeasure() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_scaled_2_0=null;
Enumerator lv_scale_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3198:28: ( (otherlv_0= 'measure' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3199:1: (otherlv_0= 'measure' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3199:1: (otherlv_0= 'measure' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )? )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3199:3: otherlv_0= 'measure' ( (otherlv_1= RULE_ID ) ) ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )?
{
otherlv_0=(Token)match(input,62,FOLLOW_62_in_ruleDatamartMeasure7187); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartMeasureAccess().getMeasureKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3203:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3204:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3204:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3205:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartMeasureRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartMeasure7207); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartMeasureAccess().getMeasureRefCubeMeasureCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3216:2: ( ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) ) )?
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==41) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3216:3: ( (lv_scaled_2_0= 'scale' ) ) ( (lv_scale_3_0= ruleValueScaleEnum ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3216:3: ( (lv_scaled_2_0= 'scale' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3217:1: (lv_scaled_2_0= 'scale' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3217:1: (lv_scaled_2_0= 'scale' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3218:3: lv_scaled_2_0= 'scale'
{
lv_scaled_2_0=(Token)match(input,41,FOLLOW_41_in_ruleDatamartMeasure7226); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_scaled_2_0, grammarAccess.getDatamartMeasureAccess().getScaledScaleKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartMeasureRule());
}
setWithLastConsumed(current, "scaled", true, "scale");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3231:2: ( (lv_scale_3_0= ruleValueScaleEnum ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3232:1: (lv_scale_3_0= ruleValueScaleEnum )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3232:1: (lv_scale_3_0= ruleValueScaleEnum )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3233:3: lv_scale_3_0= ruleValueScaleEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartMeasureAccess().getScaleValueScaleEnumEnumRuleCall_2_1_0());
}
pushFollow(FOLLOW_ruleValueScaleEnum_in_ruleDatamartMeasure7260);
lv_scale_3_0=ruleValueScaleEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartMeasureRule());
}
set(
current,
"scale",
lv_scale_3_0,
"ValueScaleEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartMeasure"
// $ANTLR start "entryRuleDatamartHierarchy"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3257:1: entryRuleDatamartHierarchy returns [EObject current=null] : iv_ruleDatamartHierarchy= ruleDatamartHierarchy EOF ;
public final EObject entryRuleDatamartHierarchy() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartHierarchy = null;
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3258:2: (iv_ruleDatamartHierarchy= ruleDatamartHierarchy EOF )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3259:2: iv_ruleDatamartHierarchy= ruleDatamartHierarchy EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartHierarchyRule());
}
pushFollow(FOLLOW_ruleDatamartHierarchy_in_entryRuleDatamartHierarchy7298);
iv_ruleDatamartHierarchy=ruleDatamartHierarchy();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartHierarchy;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleDatamartHierarchy7308); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartHierarchy"
// $ANTLR start "ruleDatamartHierarchy"
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3266:1: ruleDatamartHierarchy returns [EObject current=null] : (otherlv_0= 'hierarchy' ( (otherlv_1= RULE_ID ) ) ( (lv_defaultMember_2_0= 'default' ) )? ( (lv_allMember_3_0= 'condensed' ) )? ( (lv_allLevels_4_0= 'exploded' ) )? (otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )? )? ( ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )? )? ) ;
public final EObject ruleDatamartHierarchy() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_defaultMember_2_0=null;
Token lv_allMember_3_0=null;
Token lv_allLevels_4_0=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token lv_filtered_7_0=null;
Token lv_selected_8_0=null;
Token lv_all_9_0=null;
Token lv_except_10_0=null;
Token otherlv_11=null;
Token lv_ordered_12_0=null;
Token lv_descending_14_0=null;
EObject lv_orderRef_13_1 = null;
EObject lv_orderRef_13_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3269:28: ( (otherlv_0= 'hierarchy' ( (otherlv_1= RULE_ID ) ) ( (lv_defaultMember_2_0= 'default' ) )? ( (lv_allMember_3_0= 'condensed' ) )? ( (lv_allLevels_4_0= 'exploded' ) )? (otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )? )? ( ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )? )? ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3270:1: (otherlv_0= 'hierarchy' ( (otherlv_1= RULE_ID ) ) ( (lv_defaultMember_2_0= 'default' ) )? ( (lv_allMember_3_0= 'condensed' ) )? ( (lv_allLevels_4_0= 'exploded' ) )? (otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )? )? ( ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )? )? )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3270:1: (otherlv_0= 'hierarchy' ( (otherlv_1= RULE_ID ) ) ( (lv_defaultMember_2_0= 'default' ) )? ( (lv_allMember_3_0= 'condensed' ) )? ( (lv_allLevels_4_0= 'exploded' ) )? (otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )? )? ( ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )? )? )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3270:3: otherlv_0= 'hierarchy' ( (otherlv_1= RULE_ID ) ) ( (lv_defaultMember_2_0= 'default' ) )? ( (lv_allMember_3_0= 'condensed' ) )? ( (lv_allLevels_4_0= 'exploded' ) )? (otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )? )? ( ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )? )?
{
otherlv_0=(Token)match(input,63,FOLLOW_63_in_ruleDatamartHierarchy7345); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartHierarchyAccess().getHierarchyKeyword_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3274:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3275:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3275:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3276:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartHierarchy7365); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartHierarchyAccess().getHierarchyRefCubeHierarchyCrossReference_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3287:2: ( (lv_defaultMember_2_0= 'default' ) )?
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==64) ) {
alt52=1;
}
switch (alt52) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3288:1: (lv_defaultMember_2_0= 'default' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3288:1: (lv_defaultMember_2_0= 'default' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3289:3: lv_defaultMember_2_0= 'default'
{
lv_defaultMember_2_0=(Token)match(input,64,FOLLOW_64_in_ruleDatamartHierarchy7383); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_defaultMember_2_0, grammarAccess.getDatamartHierarchyAccess().getDefaultMemberDefaultKeyword_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "defaultMember", true, "default");
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3302:3: ( (lv_allMember_3_0= 'condensed' ) )?
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==65) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3303:1: (lv_allMember_3_0= 'condensed' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3303:1: (lv_allMember_3_0= 'condensed' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3304:3: lv_allMember_3_0= 'condensed'
{
lv_allMember_3_0=(Token)match(input,65,FOLLOW_65_in_ruleDatamartHierarchy7415); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_allMember_3_0, grammarAccess.getDatamartHierarchyAccess().getAllMemberCondensedKeyword_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "allMember", true, "condensed");
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3317:3: ( (lv_allLevels_4_0= 'exploded' ) )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==66) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3318:1: (lv_allLevels_4_0= 'exploded' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3318:1: (lv_allLevels_4_0= 'exploded' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3319:3: lv_allLevels_4_0= 'exploded'
{
lv_allLevels_4_0=(Token)match(input,66,FOLLOW_66_in_ruleDatamartHierarchy7447); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_allLevels_4_0, grammarAccess.getDatamartHierarchyAccess().getAllLevelsExplodedKeyword_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "allLevels", true, "exploded");
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3332:3: (otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )? )?
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==67) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3332:5: otherlv_5= 'level' ( (otherlv_6= RULE_ID ) ) ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )?
{
otherlv_5=(Token)match(input,67,FOLLOW_67_in_ruleDatamartHierarchy7474); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartHierarchyAccess().getLevelKeyword_5_0());
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3336:1: ( (otherlv_6= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3337:1: (otherlv_6= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3337:1: (otherlv_6= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3338:3: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartHierarchy7494); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDatamartHierarchyAccess().getLevelRefCubeLevelCrossReference_5_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3349:2: ( ( (lv_filtered_7_0= 'filtered' ) ) | ( (lv_selected_8_0= 'selected' ) ) )?
int alt55=3;
int LA55_0 = input.LA(1);
if ( (LA55_0==48) ) {
alt55=1;
}
else if ( (LA55_0==50) ) {
alt55=2;
}
switch (alt55) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3349:3: ( (lv_filtered_7_0= 'filtered' ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3349:3: ( (lv_filtered_7_0= 'filtered' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3350:1: (lv_filtered_7_0= 'filtered' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3350:1: (lv_filtered_7_0= 'filtered' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3351:3: lv_filtered_7_0= 'filtered'
{
lv_filtered_7_0=(Token)match(input,48,FOLLOW_48_in_ruleDatamartHierarchy7513); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_filtered_7_0, grammarAccess.getDatamartHierarchyAccess().getFilteredFilteredKeyword_5_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "filtered", true, "filtered");
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3365:6: ( (lv_selected_8_0= 'selected' ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3365:6: ( (lv_selected_8_0= 'selected' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3366:1: (lv_selected_8_0= 'selected' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3366:1: (lv_selected_8_0= 'selected' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3367:3: lv_selected_8_0= 'selected'
{
lv_selected_8_0=(Token)match(input,50,FOLLOW_50_in_ruleDatamartHierarchy7550); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_selected_8_0, grammarAccess.getDatamartHierarchyAccess().getSelectedSelectedKeyword_5_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "selected", true, "selected");
}
}
}
}
break;
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3380:6: ( ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )? )?
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==68) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3380:7: ( (lv_all_9_0= 'detailed' ) ) ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )? ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )?
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3380:7: ( (lv_all_9_0= 'detailed' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3381:1: (lv_all_9_0= 'detailed' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3381:1: (lv_all_9_0= 'detailed' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3382:3: lv_all_9_0= 'detailed'
{
lv_all_9_0=(Token)match(input,68,FOLLOW_68_in_ruleDatamartHierarchy7586); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_all_9_0, grammarAccess.getDatamartHierarchyAccess().getAllDetailedKeyword_6_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "all", true, "detailed");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3395:2: ( ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) ) )?
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==69) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3395:3: ( (lv_except_10_0= 'except' ) ) ( (otherlv_11= RULE_ID ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3395:3: ( (lv_except_10_0= 'except' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3396:1: (lv_except_10_0= 'except' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3396:1: (lv_except_10_0= 'except' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3397:3: lv_except_10_0= 'except'
{
lv_except_10_0=(Token)match(input,69,FOLLOW_69_in_ruleDatamartHierarchy7618); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_except_10_0, grammarAccess.getDatamartHierarchyAccess().getExceptExceptKeyword_6_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "except", true, "except");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3410:2: ( (otherlv_11= RULE_ID ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3411:1: (otherlv_11= RULE_ID )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3411:1: (otherlv_11= RULE_ID )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3412:3: otherlv_11= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
}
otherlv_11=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDatamartHierarchy7651); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDatamartHierarchyAccess().getExceptRefCubeLevelCrossReference_6_1_1_0());
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3423:4: ( ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )? )?
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==70) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3423:5: ( (lv_ordered_12_0= 'ordered by' ) ) ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) ) ( (lv_descending_14_0= 'descending' ) )?
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3423:5: ( (lv_ordered_12_0= 'ordered by' ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3424:1: (lv_ordered_12_0= 'ordered by' )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3424:1: (lv_ordered_12_0= 'ordered by' )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3425:3: lv_ordered_12_0= 'ordered by'
{
lv_ordered_12_0=(Token)match(input,70,FOLLOW_70_in_ruleDatamartHierarchy7672); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ordered_12_0, grammarAccess.getDatamartHierarchyAccess().getOrderedOrderedByKeyword_6_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartHierarchyRule());
}
setWithLastConsumed(current, "ordered", true, "ordered by");
}
}
}
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3438:2: ( ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3439:1: ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3439:1: ( (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure ) )
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3440:1: (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure )
{
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3440:1: (lv_orderRef_13_1= ruleDatamartMeasure | lv_orderRef_13_2= ruleDatamartDerivedMeasure )
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==62) ) {
alt58=1;
}
else if ( (LA58_0==61) ) {
alt58=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 58, 0, input);
throw nvae;
}
switch (alt58) {
case 1 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3441:3: lv_orderRef_13_1= ruleDatamartMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartHierarchyAccess().getOrderRefDatamartMeasureParserRuleCall_6_2_1_0_0());
}
pushFollow(FOLLOW_ruleDatamartMeasure_in_ruleDatamartHierarchy7708);
lv_orderRef_13_1=ruleDatamartMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartHierarchyRule());
}
set(
current,
"orderRef",
lv_orderRef_13_1,
"DatamartMeasure");
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.datamartdsl/src-gen/org/eclipse/osbp/xtext/datamartdsl/parser/antlr/internal/InternalDatamartDSL.g:3456:8: lv_orderRef_13_2= ruleDatamartDerivedMeasure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartHierarchyAccess().getOrderRefDatamartDerivedMeasureParserRuleCall_6_2_1_0_1());
}
pushFollow(FOLLOW_ruleDatamartDerivedMeasure_in_ruleDatamartHierarchy7727);
lv_orderRef_13_2=ruleDatamartDerivedMeasure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartHierarchyRule());
}
set(
current,
"orderRef",
lv_orderRef_13_2,
"DatamartDerivedMeasure");
afterParserOrEnumRuleCall();
}
}
break;
}