blob: b63597bfdaddf92995714591b14b33cdda1d2c21 [file] [log] [blame]
package org.eclipse.osbp.xtext.reportdsl.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.reportdsl.services.ReportDSLGrammarAccess;
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 InternalReportDSLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'{'", "'layout-data'", "'externalCssURI'", "'fromBundle'", "'}'", "'formatters'", "'colors'", "'fonts'", "'medias'", "'media'", "'styles'", "'pagetemplate'", "'type'", "'orientation'", "'topmargin'", "'leftmargin'", "'bottommargin'", "'rightmargin'", "'color'", "'darkens'", "'by-percent'", "'lightens'", "'transforms'", "'towards'", "'font'", "'extends'", "'family'", "'bold'", "'size'", "'style'", "'formatter'", "'backgroundcolor'", "'alternate'", "'textcolor'", "'textalign'", "'border-top'", "'border-bottom'", "'border-left'", "'border-right'", "'padding-top'", "'padding-bottom'", "'padding-left'", "'padding-right'", "'margin-top'", "'margin-bottom'", "'margin-left'", "'margin-right'", "'uomo'", "'ui'", "'report'", "'number'", "'currency'", "'date'", "'date+time'", "'time'", "'describedBy'", "'toolbar'", "'datamart'", "'selectById'", "'rendering'", "'defaultUnit'", "'file'", "'template'", "'header'", "'showOnFirst'", "'height'", "'detail'", "'footer'", "'showOnLast'", "'grid'", "'as'", "'width'", "'row'", "'cell'", "'columnspan'", "'table'", "'detailheader'", "'detailfooter'", "'group'", "'by'", "'details'", "'all'", "'intervals'", "'hidelabel'", "'lookups'", "'attribute'", "'aggregate'", "'on-group'", "'title'", "'('", "')'", "'translatable'", "'nontranslatable'", "'stringBinder'", "'pageBreak'", "'before'", "'after'", "'inside'", "'upTo'", "'daysInPast'", "'string'", "'visibility'", "'-'", "'cellcolor'", "'icon'", "'trend'", "'subtitle'", "'subsubtitle'", "'label'", "'text'", "'autotext'", "'image'", "'scale'", "'import'", "'static'", "'extension'", "'*'", "'ns'", "';'", "'@'", "','", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'**'", "'/'", "'%'", "'!'", "'++'", "'--'", "'.'", "'::'", "'?.'", "'|'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'mm'", "'cm'", "'pt'", "'inch'", "'pc'", "'em'", "'ex'", "'px'", "'a4'", "'a3'", "'a5'", "'us-letter'", "'us-legal'", "'us-ledger'", "'us-super-b'", "'portrait'", "'landscape'", "'normal'", "'italic'", "'oblique'", "'monospace'", "'sans-serif'", "'serif'", "'left'", "'center'", "'right'", "'unformatted'", "'general-number'", "'fixed'", "'percent'", "'scientific'", "'custom'", "'html'", "'pdf'", "'count'", "'running-count'", "'sum'", "'average'", "'minimum'", "'maximum'", "'running-sum'", "'divide'", "'concat'", "'auto'", "'always'", "'avoid'", "'rising'", "'bad-rising'", "'sloping'", "'good-sloping'", "'stagnating'", "'none'", "'solid'", "'dotted'", "'dashed'", "'double'", "'groove'", "'ridge'", "'inset'", "'outset'", "'page-number'", "'total-page'", "'page-number-unfiltered'", "'total-page-unfiltered'", "'page-variable'", "'size-to-image'", "'scale-to-item'", "'clip'", "'url'", "'embed'", "'plain'"
};
public static final int T__144=144;
public static final int T__265=265;
public static final int T__143=143;
public static final int T__264=264;
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__266=266;
public static final int T__140=140;
public static final int T__261=261;
public static final int T__260=260;
public static final int T__142=142;
public static final int T__263=263;
public static final int T__141=141;
public static final int T__262=262;
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__258=258;
public static final int T__52=52;
public static final int T__136=136;
public static final int T__257=257;
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__259=259;
public static final int T__133=133;
public static final int T__254=254;
public static final int T__132=132;
public static final int T__253=253;
public static final int T__60=60;
public static final int T__135=135;
public static final int T__256=256;
public static final int T__61=61;
public static final int T__134=134;
public static final int T__255=255;
public static final int T__250=250;
public static final int RULE_ID=5;
public static final int T__131=131;
public static final int T__252=252;
public static final int T__130=130;
public static final int T__251=251;
public static final int RULE_INT=6;
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__247=247;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__246=246;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__249=249;
public static final int T__65=65;
public static final int T__127=127;
public static final int T__248=248;
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__221=221;
public static final int T__220=220;
public static final int T__102=102;
public static final int T__223=223;
public static final int T__101=101;
public static final int T__222=222;
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__218=218;
public static final int T__217=217;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__219=219;
public static final int T__214=214;
public static final int T__213=213;
public static final int T__216=216;
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__243=243;
public static final int T__121=121;
public static final int T__242=242;
public static final int T__124=124;
public static final int T__245=245;
public static final int T__123=123;
public static final int T__244=244;
public static final int T__120=120;
public static final int T__241=241;
public static final int T__240=240;
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__239=239;
public static final int T__115=115;
public static final int T__236=236;
public static final int EOF=-1;
public static final int T__114=114;
public static final int T__235=235;
public static final int T__117=117;
public static final int T__238=238;
public static final int T__116=116;
public static final int T__237=237;
public static final int T__111=111;
public static final int T__232=232;
public static final int T__110=110;
public static final int T__231=231;
public static final int T__113=113;
public static final int T__234=234;
public static final int T__112=112;
public static final int T__233=233;
public static final int T__230=230;
public static final int T__108=108;
public static final int T__229=229;
public static final int T__107=107;
public static final int T__228=228;
public static final int T__109=109;
public static final int T__104=104;
public static final int T__225=225;
public static final int T__103=103;
public static final int T__224=224;
public static final int T__106=106;
public static final int T__227=227;
public static final int T__105=105;
public static final int T__226=226;
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=4;
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 InternalReportDSLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalReportDSLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalReportDSLParser.tokenNames; }
public String getGrammarFileName() { return "InternalReportDSL.g"; }
private ReportDSLGrammarAccess grammarAccess;
public InternalReportDSLParser(TokenStream input, ReportDSLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "ReportModel";
}
@Override
protected ReportDSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleReportModel"
// InternalReportDSL.g:65:1: entryRuleReportModel returns [EObject current=null] : iv_ruleReportModel= ruleReportModel EOF ;
public final EObject entryRuleReportModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleReportModel = null;
try {
// InternalReportDSL.g:65:52: (iv_ruleReportModel= ruleReportModel EOF )
// InternalReportDSL.g:66:2: iv_ruleReportModel= ruleReportModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportModelRule());
}
pushFollow(FOLLOW_1);
iv_ruleReportModel=ruleReportModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleReportModel;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReportModel"
// $ANTLR start "ruleReportModel"
// InternalReportDSL.g:72:1: ruleReportModel returns [EObject current=null] : ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_pckg_1_0= ruleReportPackage ) )* ) ;
public final EObject ruleReportModel() throws RecognitionException {
EObject current = null;
EObject lv_importSection_0_0 = null;
EObject lv_pckg_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:78:2: ( ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_pckg_1_0= ruleReportPackage ) )* ) )
// InternalReportDSL.g:79:2: ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_pckg_1_0= ruleReportPackage ) )* )
{
// InternalReportDSL.g:79:2: ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_pckg_1_0= ruleReportPackage ) )* )
// InternalReportDSL.g:80:3: ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_pckg_1_0= ruleReportPackage ) )*
{
// InternalReportDSL.g:80:3: ( (lv_importSection_0_0= ruleXImportSection ) )?
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==127) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// InternalReportDSL.g:81:4: (lv_importSection_0_0= ruleXImportSection )
{
// InternalReportDSL.g:81:4: (lv_importSection_0_0= ruleXImportSection )
// InternalReportDSL.g:82:5: lv_importSection_0_0= ruleXImportSection
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportModelAccess().getImportSectionXImportSectionParserRuleCall_0_0());
}
pushFollow(FOLLOW_3);
lv_importSection_0_0=ruleXImportSection();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportModelRule());
}
set(
current,
"importSection",
lv_importSection_0_0,
"org.eclipse.xtext.xbase.Xtype.XImportSection");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:99:3: ( (lv_pckg_1_0= ruleReportPackage ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==13) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// InternalReportDSL.g:100:4: (lv_pckg_1_0= ruleReportPackage )
{
// InternalReportDSL.g:100:4: (lv_pckg_1_0= ruleReportPackage )
// InternalReportDSL.g:101:5: lv_pckg_1_0= ruleReportPackage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportModelAccess().getPckgReportPackageParserRuleCall_1_0());
}
pushFollow(FOLLOW_3);
lv_pckg_1_0=ruleReportPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportModelRule());
}
add(
current,
"pckg",
lv_pckg_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.ReportPackage");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop2;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReportModel"
// $ANTLR start "entryRuleReportPackage"
// InternalReportDSL.g:122:1: entryRuleReportPackage returns [EObject current=null] : iv_ruleReportPackage= ruleReportPackage EOF ;
public final EObject entryRuleReportPackage() throws RecognitionException {
EObject current = null;
EObject iv_ruleReportPackage = null;
try {
// InternalReportDSL.g:122:54: (iv_ruleReportPackage= ruleReportPackage EOF )
// InternalReportDSL.g:123:2: iv_ruleReportPackage= ruleReportPackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageRule());
}
pushFollow(FOLLOW_1);
iv_ruleReportPackage=ruleReportPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleReportPackage;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReportPackage"
// $ANTLR start "ruleReportPackage"
// InternalReportDSL.g:129:1: ruleReportPackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' (otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}' )? ( (lv_reports_17_0= ruleReport ) )* otherlv_18= '}' ) ;
public final EObject ruleReportPackage() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token lv_externalCssURI_7_0=null;
Token otherlv_8=null;
Token lv_externalCssURIBundle_9_0=null;
Token otherlv_16=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
EObject lv_formatters_10_0 = null;
EObject lv_colors_11_0 = null;
EObject lv_fonts_12_0 = null;
EObject lv_medias_13_0 = null;
EObject lv_styles_14_0 = null;
EObject lv_pagetemplates_15_0 = null;
EObject lv_reports_17_0 = null;
enterRule();
try {
// InternalReportDSL.g:135:2: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' (otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}' )? ( (lv_reports_17_0= ruleReport ) )* otherlv_18= '}' ) )
// InternalReportDSL.g:136:2: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' (otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}' )? ( (lv_reports_17_0= ruleReport ) )* otherlv_18= '}' )
{
// InternalReportDSL.g:136:2: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' (otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}' )? ( (lv_reports_17_0= ruleReport ) )* otherlv_18= '}' )
// InternalReportDSL.g:137:3: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' (otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}' )? ( (lv_reports_17_0= ruleReport ) )* otherlv_18= '}'
{
// InternalReportDSL.g:137:3: ()
// InternalReportDSL.g:138:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getReportPackageAccess().getReportPackageAction_0(),
current);
}
}
otherlv_1=(Token)match(input,13,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getReportPackageAccess().getPackageKeyword_1());
}
// InternalReportDSL.g:148:3: ( (lv_name_2_0= ruleQualifiedName ) )
// InternalReportDSL.g:149:4: (lv_name_2_0= ruleQualifiedName )
{
// InternalReportDSL.g:149:4: (lv_name_2_0= ruleQualifiedName )
// InternalReportDSL.g:150:5: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_5);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"name",
lv_name_2_0,
"org.eclipse.xtext.xbase.Xbase.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,14,FOLLOW_6); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getReportPackageAccess().getLeftCurlyBracketKeyword_3());
}
// InternalReportDSL.g:171:3: (otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}' )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==15) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// InternalReportDSL.g:172:4: otherlv_4= 'layout-data' otherlv_5= '{' (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )? ( (lv_formatters_10_0= ruleSomeFormats ) ) ( (lv_colors_11_0= ruleColors ) ) ( (lv_fonts_12_0= ruleFonts ) ) ( (lv_medias_13_0= ruleMedias ) ) ( (lv_styles_14_0= ruleStyles ) ) ( (lv_pagetemplates_15_0= rulePageTemplates ) ) otherlv_16= '}'
{
otherlv_4=(Token)match(input,15,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getReportPackageAccess().getLayoutDataKeyword_4_0());
}
otherlv_5=(Token)match(input,14,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getReportPackageAccess().getLeftCurlyBracketKeyword_4_1());
}
// InternalReportDSL.g:180:4: (otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )? )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==16) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// InternalReportDSL.g:181:5: otherlv_6= 'externalCssURI' ( (lv_externalCssURI_7_0= RULE_STRING ) ) (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )?
{
otherlv_6=(Token)match(input,16,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getReportPackageAccess().getExternalCssURIKeyword_4_2_0());
}
// InternalReportDSL.g:185:5: ( (lv_externalCssURI_7_0= RULE_STRING ) )
// InternalReportDSL.g:186:6: (lv_externalCssURI_7_0= RULE_STRING )
{
// InternalReportDSL.g:186:6: (lv_externalCssURI_7_0= RULE_STRING )
// InternalReportDSL.g:187:7: lv_externalCssURI_7_0= RULE_STRING
{
lv_externalCssURI_7_0=(Token)match(input,RULE_STRING,FOLLOW_9); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_externalCssURI_7_0, grammarAccess.getReportPackageAccess().getExternalCssURISTRINGTerminalRuleCall_4_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportPackageRule());
}
setWithLastConsumed(
current,
"externalCssURI",
lv_externalCssURI_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
// InternalReportDSL.g:203:5: (otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) ) )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==17) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// InternalReportDSL.g:204:6: otherlv_8= 'fromBundle' ( (lv_externalCssURIBundle_9_0= RULE_STRING ) )
{
otherlv_8=(Token)match(input,17,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getReportPackageAccess().getFromBundleKeyword_4_2_2_0());
}
// InternalReportDSL.g:208:6: ( (lv_externalCssURIBundle_9_0= RULE_STRING ) )
// InternalReportDSL.g:209:7: (lv_externalCssURIBundle_9_0= RULE_STRING )
{
// InternalReportDSL.g:209:7: (lv_externalCssURIBundle_9_0= RULE_STRING )
// InternalReportDSL.g:210:8: lv_externalCssURIBundle_9_0= RULE_STRING
{
lv_externalCssURIBundle_9_0=(Token)match(input,RULE_STRING,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_externalCssURIBundle_9_0, grammarAccess.getReportPackageAccess().getExternalCssURIBundleSTRINGTerminalRuleCall_4_2_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportPackageRule());
}
setWithLastConsumed(
current,
"externalCssURIBundle",
lv_externalCssURIBundle_9_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
break;
}
}
break;
}
// InternalReportDSL.g:228:4: ( (lv_formatters_10_0= ruleSomeFormats ) )
// InternalReportDSL.g:229:5: (lv_formatters_10_0= ruleSomeFormats )
{
// InternalReportDSL.g:229:5: (lv_formatters_10_0= ruleSomeFormats )
// InternalReportDSL.g:230:6: lv_formatters_10_0= ruleSomeFormats
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getFormattersSomeFormatsParserRuleCall_4_3_0());
}
pushFollow(FOLLOW_10);
lv_formatters_10_0=ruleSomeFormats();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"formatters",
lv_formatters_10_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.SomeFormats");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:247:4: ( (lv_colors_11_0= ruleColors ) )
// InternalReportDSL.g:248:5: (lv_colors_11_0= ruleColors )
{
// InternalReportDSL.g:248:5: (lv_colors_11_0= ruleColors )
// InternalReportDSL.g:249:6: lv_colors_11_0= ruleColors
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getColorsColorsParserRuleCall_4_4_0());
}
pushFollow(FOLLOW_11);
lv_colors_11_0=ruleColors();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"colors",
lv_colors_11_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Colors");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:266:4: ( (lv_fonts_12_0= ruleFonts ) )
// InternalReportDSL.g:267:5: (lv_fonts_12_0= ruleFonts )
{
// InternalReportDSL.g:267:5: (lv_fonts_12_0= ruleFonts )
// InternalReportDSL.g:268:6: lv_fonts_12_0= ruleFonts
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getFontsFontsParserRuleCall_4_5_0());
}
pushFollow(FOLLOW_12);
lv_fonts_12_0=ruleFonts();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"fonts",
lv_fonts_12_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Fonts");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:285:4: ( (lv_medias_13_0= ruleMedias ) )
// InternalReportDSL.g:286:5: (lv_medias_13_0= ruleMedias )
{
// InternalReportDSL.g:286:5: (lv_medias_13_0= ruleMedias )
// InternalReportDSL.g:287:6: lv_medias_13_0= ruleMedias
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getMediasMediasParserRuleCall_4_6_0());
}
pushFollow(FOLLOW_13);
lv_medias_13_0=ruleMedias();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"medias",
lv_medias_13_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Medias");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:304:4: ( (lv_styles_14_0= ruleStyles ) )
// InternalReportDSL.g:305:5: (lv_styles_14_0= ruleStyles )
{
// InternalReportDSL.g:305:5: (lv_styles_14_0= ruleStyles )
// InternalReportDSL.g:306:6: lv_styles_14_0= ruleStyles
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getStylesStylesParserRuleCall_4_7_0());
}
pushFollow(FOLLOW_14);
lv_styles_14_0=ruleStyles();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"styles",
lv_styles_14_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Styles");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:323:4: ( (lv_pagetemplates_15_0= rulePageTemplates ) )
// InternalReportDSL.g:324:5: (lv_pagetemplates_15_0= rulePageTemplates )
{
// InternalReportDSL.g:324:5: (lv_pagetemplates_15_0= rulePageTemplates )
// InternalReportDSL.g:325:6: lv_pagetemplates_15_0= rulePageTemplates
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getPagetemplatesPageTemplatesParserRuleCall_4_8_0());
}
pushFollow(FOLLOW_15);
lv_pagetemplates_15_0=rulePageTemplates();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
set(
current,
"pagetemplates",
lv_pagetemplates_15_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageTemplates");
afterParserOrEnumRuleCall();
}
}
}
otherlv_16=(Token)match(input,18,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getReportPackageAccess().getRightCurlyBracketKeyword_4_9());
}
}
break;
}
// InternalReportDSL.g:347:3: ( (lv_reports_17_0= ruleReport ) )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==63) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// InternalReportDSL.g:348:4: (lv_reports_17_0= ruleReport )
{
// InternalReportDSL.g:348:4: (lv_reports_17_0= ruleReport )
// InternalReportDSL.g:349:5: lv_reports_17_0= ruleReport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportPackageAccess().getReportsReportParserRuleCall_5_0());
}
pushFollow(FOLLOW_16);
lv_reports_17_0=ruleReport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportPackageRule());
}
add(
current,
"reports",
lv_reports_17_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Report");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop6;
}
} while (true);
otherlv_18=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getReportPackageAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReportPackage"
// $ANTLR start "entryRulePageTemplates"
// InternalReportDSL.g:374:1: entryRulePageTemplates returns [EObject current=null] : iv_rulePageTemplates= rulePageTemplates EOF ;
public final EObject entryRulePageTemplates() throws RecognitionException {
EObject current = null;
EObject iv_rulePageTemplates = null;
try {
// InternalReportDSL.g:374:54: (iv_rulePageTemplates= rulePageTemplates EOF )
// InternalReportDSL.g:375:2: iv_rulePageTemplates= rulePageTemplates EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplatesRule());
}
pushFollow(FOLLOW_1);
iv_rulePageTemplates=rulePageTemplates();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePageTemplates;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePageTemplates"
// $ANTLR start "rulePageTemplates"
// InternalReportDSL.g:381:1: rulePageTemplates returns [EObject current=null] : ( () ( (lv_pagetemplates_1_0= rulePageTemplate ) )* ) ;
public final EObject rulePageTemplates() throws RecognitionException {
EObject current = null;
EObject lv_pagetemplates_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:387:2: ( ( () ( (lv_pagetemplates_1_0= rulePageTemplate ) )* ) )
// InternalReportDSL.g:388:2: ( () ( (lv_pagetemplates_1_0= rulePageTemplate ) )* )
{
// InternalReportDSL.g:388:2: ( () ( (lv_pagetemplates_1_0= rulePageTemplate ) )* )
// InternalReportDSL.g:389:3: () ( (lv_pagetemplates_1_0= rulePageTemplate ) )*
{
// InternalReportDSL.g:389:3: ()
// InternalReportDSL.g:390:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPageTemplatesAccess().getPageTemplatesAction_0(),
current);
}
}
// InternalReportDSL.g:396:3: ( (lv_pagetemplates_1_0= rulePageTemplate ) )*
loop7:
do {
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==25) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// InternalReportDSL.g:397:4: (lv_pagetemplates_1_0= rulePageTemplate )
{
// InternalReportDSL.g:397:4: (lv_pagetemplates_1_0= rulePageTemplate )
// InternalReportDSL.g:398:5: lv_pagetemplates_1_0= rulePageTemplate
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplatesAccess().getPagetemplatesPageTemplateParserRuleCall_1_0());
}
pushFollow(FOLLOW_17);
lv_pagetemplates_1_0=rulePageTemplate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplatesRule());
}
add(
current,
"pagetemplates",
lv_pagetemplates_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageTemplate");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop7;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageTemplates"
// $ANTLR start "entryRuleSomeFormats"
// InternalReportDSL.g:419:1: entryRuleSomeFormats returns [EObject current=null] : iv_ruleSomeFormats= ruleSomeFormats EOF ;
public final EObject entryRuleSomeFormats() throws RecognitionException {
EObject current = null;
EObject iv_ruleSomeFormats = null;
try {
// InternalReportDSL.g:419:52: (iv_ruleSomeFormats= ruleSomeFormats EOF )
// InternalReportDSL.g:420:2: iv_ruleSomeFormats= ruleSomeFormats EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatsRule());
}
pushFollow(FOLLOW_1);
iv_ruleSomeFormats=ruleSomeFormats();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSomeFormats;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSomeFormats"
// $ANTLR start "ruleSomeFormats"
// InternalReportDSL.g:426:1: ruleSomeFormats returns [EObject current=null] : ( () otherlv_1= 'formatters' otherlv_2= '{' ( (lv_formatters_3_0= ruleSomeFormat ) )* otherlv_4= '}' ) ;
public final EObject ruleSomeFormats() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_formatters_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:432:2: ( ( () otherlv_1= 'formatters' otherlv_2= '{' ( (lv_formatters_3_0= ruleSomeFormat ) )* otherlv_4= '}' ) )
// InternalReportDSL.g:433:2: ( () otherlv_1= 'formatters' otherlv_2= '{' ( (lv_formatters_3_0= ruleSomeFormat ) )* otherlv_4= '}' )
{
// InternalReportDSL.g:433:2: ( () otherlv_1= 'formatters' otherlv_2= '{' ( (lv_formatters_3_0= ruleSomeFormat ) )* otherlv_4= '}' )
// InternalReportDSL.g:434:3: () otherlv_1= 'formatters' otherlv_2= '{' ( (lv_formatters_3_0= ruleSomeFormat ) )* otherlv_4= '}'
{
// InternalReportDSL.g:434:3: ()
// InternalReportDSL.g:435:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getSomeFormatsAccess().getSomeFormatsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,19,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getSomeFormatsAccess().getFormattersKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_18); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getSomeFormatsAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:449:3: ( (lv_formatters_3_0= ruleSomeFormat ) )*
loop8:
do {
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==61||(LA8_0>=64 && LA8_0<=68)) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// InternalReportDSL.g:450:4: (lv_formatters_3_0= ruleSomeFormat )
{
// InternalReportDSL.g:450:4: (lv_formatters_3_0= ruleSomeFormat )
// InternalReportDSL.g:451:5: lv_formatters_3_0= ruleSomeFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatsAccess().getFormattersSomeFormatParserRuleCall_3_0());
}
pushFollow(FOLLOW_18);
lv_formatters_3_0=ruleSomeFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSomeFormatsRule());
}
add(
current,
"formatters",
lv_formatters_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.SomeFormat");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop8;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getSomeFormatsAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSomeFormats"
// $ANTLR start "entryRuleColors"
// InternalReportDSL.g:476:1: entryRuleColors returns [EObject current=null] : iv_ruleColors= ruleColors EOF ;
public final EObject entryRuleColors() throws RecognitionException {
EObject current = null;
EObject iv_ruleColors = null;
try {
// InternalReportDSL.g:476:47: (iv_ruleColors= ruleColors EOF )
// InternalReportDSL.g:477:2: iv_ruleColors= ruleColors EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getColorsRule());
}
pushFollow(FOLLOW_1);
iv_ruleColors=ruleColors();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleColors;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleColors"
// $ANTLR start "ruleColors"
// InternalReportDSL.g:483:1: ruleColors returns [EObject current=null] : ( () otherlv_1= 'colors' otherlv_2= '{' ( (lv_colors_3_0= ruleColor ) )* otherlv_4= '}' ) ;
public final EObject ruleColors() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_colors_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:489:2: ( ( () otherlv_1= 'colors' otherlv_2= '{' ( (lv_colors_3_0= ruleColor ) )* otherlv_4= '}' ) )
// InternalReportDSL.g:490:2: ( () otherlv_1= 'colors' otherlv_2= '{' ( (lv_colors_3_0= ruleColor ) )* otherlv_4= '}' )
{
// InternalReportDSL.g:490:2: ( () otherlv_1= 'colors' otherlv_2= '{' ( (lv_colors_3_0= ruleColor ) )* otherlv_4= '}' )
// InternalReportDSL.g:491:3: () otherlv_1= 'colors' otherlv_2= '{' ( (lv_colors_3_0= ruleColor ) )* otherlv_4= '}'
{
// InternalReportDSL.g:491:3: ()
// InternalReportDSL.g:492:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getColorsAccess().getColorsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,20,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getColorsAccess().getColorsKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_19); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getColorsAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:506:3: ( (lv_colors_3_0= ruleColor ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==32) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// InternalReportDSL.g:507:4: (lv_colors_3_0= ruleColor )
{
// InternalReportDSL.g:507:4: (lv_colors_3_0= ruleColor )
// InternalReportDSL.g:508:5: lv_colors_3_0= ruleColor
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getColorsAccess().getColorsColorParserRuleCall_3_0());
}
pushFollow(FOLLOW_19);
lv_colors_3_0=ruleColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getColorsRule());
}
add(
current,
"colors",
lv_colors_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Color");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop9;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getColorsAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleColors"
// $ANTLR start "entryRuleFonts"
// InternalReportDSL.g:533:1: entryRuleFonts returns [EObject current=null] : iv_ruleFonts= ruleFonts EOF ;
public final EObject entryRuleFonts() throws RecognitionException {
EObject current = null;
EObject iv_ruleFonts = null;
try {
// InternalReportDSL.g:533:46: (iv_ruleFonts= ruleFonts EOF )
// InternalReportDSL.g:534:2: iv_ruleFonts= ruleFonts EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontsRule());
}
pushFollow(FOLLOW_1);
iv_ruleFonts=ruleFonts();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFonts;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFonts"
// $ANTLR start "ruleFonts"
// InternalReportDSL.g:540:1: ruleFonts returns [EObject current=null] : ( () otherlv_1= 'fonts' otherlv_2= '{' ( (lv_fonts_3_0= ruleFont ) )* otherlv_4= '}' ) ;
public final EObject ruleFonts() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_fonts_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:546:2: ( ( () otherlv_1= 'fonts' otherlv_2= '{' ( (lv_fonts_3_0= ruleFont ) )* otherlv_4= '}' ) )
// InternalReportDSL.g:547:2: ( () otherlv_1= 'fonts' otherlv_2= '{' ( (lv_fonts_3_0= ruleFont ) )* otherlv_4= '}' )
{
// InternalReportDSL.g:547:2: ( () otherlv_1= 'fonts' otherlv_2= '{' ( (lv_fonts_3_0= ruleFont ) )* otherlv_4= '}' )
// InternalReportDSL.g:548:3: () otherlv_1= 'fonts' otherlv_2= '{' ( (lv_fonts_3_0= ruleFont ) )* otherlv_4= '}'
{
// InternalReportDSL.g:548:3: ()
// InternalReportDSL.g:549:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getFontsAccess().getFontsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,21,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getFontsAccess().getFontsKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_20); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getFontsAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:563:3: ( (lv_fonts_3_0= ruleFont ) )*
loop10:
do {
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==38) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// InternalReportDSL.g:564:4: (lv_fonts_3_0= ruleFont )
{
// InternalReportDSL.g:564:4: (lv_fonts_3_0= ruleFont )
// InternalReportDSL.g:565:5: lv_fonts_3_0= ruleFont
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontsAccess().getFontsFontParserRuleCall_3_0());
}
pushFollow(FOLLOW_20);
lv_fonts_3_0=ruleFont();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFontsRule());
}
add(
current,
"fonts",
lv_fonts_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Font");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop10;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getFontsAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFonts"
// $ANTLR start "entryRuleMedias"
// InternalReportDSL.g:590:1: entryRuleMedias returns [EObject current=null] : iv_ruleMedias= ruleMedias EOF ;
public final EObject entryRuleMedias() throws RecognitionException {
EObject current = null;
EObject iv_ruleMedias = null;
try {
// InternalReportDSL.g:590:47: (iv_ruleMedias= ruleMedias EOF )
// InternalReportDSL.g:591:2: iv_ruleMedias= ruleMedias EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediasRule());
}
pushFollow(FOLLOW_1);
iv_ruleMedias=ruleMedias();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleMedias;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleMedias"
// $ANTLR start "ruleMedias"
// InternalReportDSL.g:597:1: ruleMedias returns [EObject current=null] : ( () otherlv_1= 'medias' otherlv_2= '{' ( (lv_medias_3_0= ruleMedia ) )* otherlv_4= '}' ) ;
public final EObject ruleMedias() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_medias_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:603:2: ( ( () otherlv_1= 'medias' otherlv_2= '{' ( (lv_medias_3_0= ruleMedia ) )* otherlv_4= '}' ) )
// InternalReportDSL.g:604:2: ( () otherlv_1= 'medias' otherlv_2= '{' ( (lv_medias_3_0= ruleMedia ) )* otherlv_4= '}' )
{
// InternalReportDSL.g:604:2: ( () otherlv_1= 'medias' otherlv_2= '{' ( (lv_medias_3_0= ruleMedia ) )* otherlv_4= '}' )
// InternalReportDSL.g:605:3: () otherlv_1= 'medias' otherlv_2= '{' ( (lv_medias_3_0= ruleMedia ) )* otherlv_4= '}'
{
// InternalReportDSL.g:605:3: ()
// InternalReportDSL.g:606:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getMediasAccess().getMediasAction_0(),
current);
}
}
otherlv_1=(Token)match(input,22,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getMediasAccess().getMediasKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getMediasAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:620:3: ( (lv_medias_3_0= ruleMedia ) )*
loop11:
do {
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==23) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// InternalReportDSL.g:621:4: (lv_medias_3_0= ruleMedia )
{
// InternalReportDSL.g:621:4: (lv_medias_3_0= ruleMedia )
// InternalReportDSL.g:622:5: lv_medias_3_0= ruleMedia
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediasAccess().getMediasMediaParserRuleCall_3_0());
}
pushFollow(FOLLOW_21);
lv_medias_3_0=ruleMedia();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediasRule());
}
add(
current,
"medias",
lv_medias_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Media");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop11;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getMediasAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleMedias"
// $ANTLR start "entryRuleMedia"
// InternalReportDSL.g:647:1: entryRuleMedia returns [EObject current=null] : iv_ruleMedia= ruleMedia EOF ;
public final EObject entryRuleMedia() throws RecognitionException {
EObject current = null;
EObject iv_ruleMedia = null;
try {
// InternalReportDSL.g:647:46: (iv_ruleMedia= ruleMedia EOF )
// InternalReportDSL.g:648:2: iv_ruleMedia= ruleMedia EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaRule());
}
pushFollow(FOLLOW_1);
iv_ruleMedia=ruleMedia();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleMedia;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleMedia"
// $ANTLR start "ruleMedia"
// InternalReportDSL.g:654:1: ruleMedia returns [EObject current=null] : (otherlv_0= 'media' ( (lv_name_1_0= RULE_ID ) ) ) ;
public final EObject ruleMedia() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
enterRule();
try {
// InternalReportDSL.g:660:2: ( (otherlv_0= 'media' ( (lv_name_1_0= RULE_ID ) ) ) )
// InternalReportDSL.g:661:2: (otherlv_0= 'media' ( (lv_name_1_0= RULE_ID ) ) )
{
// InternalReportDSL.g:661:2: (otherlv_0= 'media' ( (lv_name_1_0= RULE_ID ) ) )
// InternalReportDSL.g:662:3: otherlv_0= 'media' ( (lv_name_1_0= RULE_ID ) )
{
otherlv_0=(Token)match(input,23,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getMediaAccess().getMediaKeyword_0());
}
// InternalReportDSL.g:666:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:667:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:667:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:668:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getMediaAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleMedia"
// $ANTLR start "entryRuleStyles"
// InternalReportDSL.g:688:1: entryRuleStyles returns [EObject current=null] : iv_ruleStyles= ruleStyles EOF ;
public final EObject entryRuleStyles() throws RecognitionException {
EObject current = null;
EObject iv_ruleStyles = null;
try {
// InternalReportDSL.g:688:47: (iv_ruleStyles= ruleStyles EOF )
// InternalReportDSL.g:689:2: iv_ruleStyles= ruleStyles EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStylesRule());
}
pushFollow(FOLLOW_1);
iv_ruleStyles=ruleStyles();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStyles;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStyles"
// $ANTLR start "ruleStyles"
// InternalReportDSL.g:695:1: ruleStyles returns [EObject current=null] : ( () otherlv_1= 'styles' otherlv_2= '{' ( (lv_styles_3_0= ruleStyle ) )* otherlv_4= '}' ) ;
public final EObject ruleStyles() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_styles_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:701:2: ( ( () otherlv_1= 'styles' otherlv_2= '{' ( (lv_styles_3_0= ruleStyle ) )* otherlv_4= '}' ) )
// InternalReportDSL.g:702:2: ( () otherlv_1= 'styles' otherlv_2= '{' ( (lv_styles_3_0= ruleStyle ) )* otherlv_4= '}' )
{
// InternalReportDSL.g:702:2: ( () otherlv_1= 'styles' otherlv_2= '{' ( (lv_styles_3_0= ruleStyle ) )* otherlv_4= '}' )
// InternalReportDSL.g:703:3: () otherlv_1= 'styles' otherlv_2= '{' ( (lv_styles_3_0= ruleStyle ) )* otherlv_4= '}'
{
// InternalReportDSL.g:703:3: ()
// InternalReportDSL.g:704:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getStylesAccess().getStylesAction_0(),
current);
}
}
otherlv_1=(Token)match(input,24,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getStylesAccess().getStylesKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_22); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getStylesAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:718:3: ( (lv_styles_3_0= ruleStyle ) )*
loop12:
do {
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==43) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// InternalReportDSL.g:719:4: (lv_styles_3_0= ruleStyle )
{
// InternalReportDSL.g:719:4: (lv_styles_3_0= ruleStyle )
// InternalReportDSL.g:720:5: lv_styles_3_0= ruleStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStylesAccess().getStylesStyleParserRuleCall_3_0());
}
pushFollow(FOLLOW_22);
lv_styles_3_0=ruleStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStylesRule());
}
add(
current,
"styles",
lv_styles_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Style");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop12;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getStylesAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStyles"
// $ANTLR start "entryRulePageTemplate"
// InternalReportDSL.g:745:1: entryRulePageTemplate returns [EObject current=null] : iv_rulePageTemplate= rulePageTemplate EOF ;
public final EObject entryRulePageTemplate() throws RecognitionException {
EObject current = null;
EObject iv_rulePageTemplate = null;
try {
// InternalReportDSL.g:745:53: (iv_rulePageTemplate= rulePageTemplate EOF )
// InternalReportDSL.g:746:2: iv_rulePageTemplate= rulePageTemplate EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateRule());
}
pushFollow(FOLLOW_1);
iv_rulePageTemplate=rulePageTemplate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePageTemplate;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePageTemplate"
// $ANTLR start "rulePageTemplate"
// InternalReportDSL.g:752:1: rulePageTemplate returns [EObject current=null] : (otherlv_0= 'pagetemplate' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_size_4_0= rulePageSizeEnum ) ) otherlv_5= 'orientation' ( (lv_orientation_6_0= ruleOrientationEnum ) ) otherlv_7= 'topmargin' ( (lv_topMarginValue_8_0= ruleUnsignedNumber ) ) otherlv_9= 'leftmargin' ( (lv_leftMarginValue_10_0= ruleUnsignedNumber ) ) otherlv_11= 'bottommargin' ( (lv_bottomMarginValue_12_0= ruleUnsignedNumber ) ) otherlv_13= 'rightmargin' ( (lv_rightMarginValue_14_0= ruleUnsignedNumber ) ) ( (lv_header_15_0= rulePageHeader ) )? ( (lv_footer_16_0= rulePageFooter ) )? otherlv_17= '}' ) ;
public final EObject rulePageTemplate() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_17=null;
Enumerator lv_size_4_0 = null;
Enumerator lv_orientation_6_0 = null;
AntlrDatatypeRuleToken lv_topMarginValue_8_0 = null;
AntlrDatatypeRuleToken lv_leftMarginValue_10_0 = null;
AntlrDatatypeRuleToken lv_bottomMarginValue_12_0 = null;
AntlrDatatypeRuleToken lv_rightMarginValue_14_0 = null;
EObject lv_header_15_0 = null;
EObject lv_footer_16_0 = null;
enterRule();
try {
// InternalReportDSL.g:758:2: ( (otherlv_0= 'pagetemplate' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_size_4_0= rulePageSizeEnum ) ) otherlv_5= 'orientation' ( (lv_orientation_6_0= ruleOrientationEnum ) ) otherlv_7= 'topmargin' ( (lv_topMarginValue_8_0= ruleUnsignedNumber ) ) otherlv_9= 'leftmargin' ( (lv_leftMarginValue_10_0= ruleUnsignedNumber ) ) otherlv_11= 'bottommargin' ( (lv_bottomMarginValue_12_0= ruleUnsignedNumber ) ) otherlv_13= 'rightmargin' ( (lv_rightMarginValue_14_0= ruleUnsignedNumber ) ) ( (lv_header_15_0= rulePageHeader ) )? ( (lv_footer_16_0= rulePageFooter ) )? otherlv_17= '}' ) )
// InternalReportDSL.g:759:2: (otherlv_0= 'pagetemplate' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_size_4_0= rulePageSizeEnum ) ) otherlv_5= 'orientation' ( (lv_orientation_6_0= ruleOrientationEnum ) ) otherlv_7= 'topmargin' ( (lv_topMarginValue_8_0= ruleUnsignedNumber ) ) otherlv_9= 'leftmargin' ( (lv_leftMarginValue_10_0= ruleUnsignedNumber ) ) otherlv_11= 'bottommargin' ( (lv_bottomMarginValue_12_0= ruleUnsignedNumber ) ) otherlv_13= 'rightmargin' ( (lv_rightMarginValue_14_0= ruleUnsignedNumber ) ) ( (lv_header_15_0= rulePageHeader ) )? ( (lv_footer_16_0= rulePageFooter ) )? otherlv_17= '}' )
{
// InternalReportDSL.g:759:2: (otherlv_0= 'pagetemplate' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_size_4_0= rulePageSizeEnum ) ) otherlv_5= 'orientation' ( (lv_orientation_6_0= ruleOrientationEnum ) ) otherlv_7= 'topmargin' ( (lv_topMarginValue_8_0= ruleUnsignedNumber ) ) otherlv_9= 'leftmargin' ( (lv_leftMarginValue_10_0= ruleUnsignedNumber ) ) otherlv_11= 'bottommargin' ( (lv_bottomMarginValue_12_0= ruleUnsignedNumber ) ) otherlv_13= 'rightmargin' ( (lv_rightMarginValue_14_0= ruleUnsignedNumber ) ) ( (lv_header_15_0= rulePageHeader ) )? ( (lv_footer_16_0= rulePageFooter ) )? otherlv_17= '}' )
// InternalReportDSL.g:760:3: otherlv_0= 'pagetemplate' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'type' ( (lv_size_4_0= rulePageSizeEnum ) ) otherlv_5= 'orientation' ( (lv_orientation_6_0= ruleOrientationEnum ) ) otherlv_7= 'topmargin' ( (lv_topMarginValue_8_0= ruleUnsignedNumber ) ) otherlv_9= 'leftmargin' ( (lv_leftMarginValue_10_0= ruleUnsignedNumber ) ) otherlv_11= 'bottommargin' ( (lv_bottomMarginValue_12_0= ruleUnsignedNumber ) ) otherlv_13= 'rightmargin' ( (lv_rightMarginValue_14_0= ruleUnsignedNumber ) ) ( (lv_header_15_0= rulePageHeader ) )? ( (lv_footer_16_0= rulePageFooter ) )? otherlv_17= '}'
{
otherlv_0=(Token)match(input,25,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPageTemplateAccess().getPagetemplateKeyword_0());
}
// InternalReportDSL.g:764:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:765:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:765:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:766:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getPageTemplateAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPageTemplateRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPageTemplateAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,26,FOLLOW_24); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getPageTemplateAccess().getTypeKeyword_3());
}
// InternalReportDSL.g:790:3: ( (lv_size_4_0= rulePageSizeEnum ) )
// InternalReportDSL.g:791:4: (lv_size_4_0= rulePageSizeEnum )
{
// InternalReportDSL.g:791:4: (lv_size_4_0= rulePageSizeEnum )
// InternalReportDSL.g:792:5: lv_size_4_0= rulePageSizeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getSizePageSizeEnumEnumRuleCall_4_0());
}
pushFollow(FOLLOW_25);
lv_size_4_0=rulePageSizeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"size",
lv_size_4_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageSizeEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_5=(Token)match(input,27,FOLLOW_26); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getPageTemplateAccess().getOrientationKeyword_5());
}
// InternalReportDSL.g:813:3: ( (lv_orientation_6_0= ruleOrientationEnum ) )
// InternalReportDSL.g:814:4: (lv_orientation_6_0= ruleOrientationEnum )
{
// InternalReportDSL.g:814:4: (lv_orientation_6_0= ruleOrientationEnum )
// InternalReportDSL.g:815:5: lv_orientation_6_0= ruleOrientationEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getOrientationOrientationEnumEnumRuleCall_6_0());
}
pushFollow(FOLLOW_27);
lv_orientation_6_0=ruleOrientationEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"orientation",
lv_orientation_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.OrientationEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,28,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getPageTemplateAccess().getTopmarginKeyword_7());
}
// InternalReportDSL.g:836:3: ( (lv_topMarginValue_8_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:837:4: (lv_topMarginValue_8_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:837:4: (lv_topMarginValue_8_0= ruleUnsignedNumber )
// InternalReportDSL.g:838:5: lv_topMarginValue_8_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getTopMarginValueUnsignedNumberParserRuleCall_8_0());
}
pushFollow(FOLLOW_29);
lv_topMarginValue_8_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"topMarginValue",
lv_topMarginValue_8_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
otherlv_9=(Token)match(input,29,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getPageTemplateAccess().getLeftmarginKeyword_9());
}
// InternalReportDSL.g:859:3: ( (lv_leftMarginValue_10_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:860:4: (lv_leftMarginValue_10_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:860:4: (lv_leftMarginValue_10_0= ruleUnsignedNumber )
// InternalReportDSL.g:861:5: lv_leftMarginValue_10_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getLeftMarginValueUnsignedNumberParserRuleCall_10_0());
}
pushFollow(FOLLOW_30);
lv_leftMarginValue_10_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"leftMarginValue",
lv_leftMarginValue_10_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
otherlv_11=(Token)match(input,30,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getPageTemplateAccess().getBottommarginKeyword_11());
}
// InternalReportDSL.g:882:3: ( (lv_bottomMarginValue_12_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:883:4: (lv_bottomMarginValue_12_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:883:4: (lv_bottomMarginValue_12_0= ruleUnsignedNumber )
// InternalReportDSL.g:884:5: lv_bottomMarginValue_12_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getBottomMarginValueUnsignedNumberParserRuleCall_12_0());
}
pushFollow(FOLLOW_31);
lv_bottomMarginValue_12_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"bottomMarginValue",
lv_bottomMarginValue_12_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
otherlv_13=(Token)match(input,31,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getPageTemplateAccess().getRightmarginKeyword_13());
}
// InternalReportDSL.g:905:3: ( (lv_rightMarginValue_14_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:906:4: (lv_rightMarginValue_14_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:906:4: (lv_rightMarginValue_14_0= ruleUnsignedNumber )
// InternalReportDSL.g:907:5: lv_rightMarginValue_14_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getRightMarginValueUnsignedNumberParserRuleCall_14_0());
}
pushFollow(FOLLOW_32);
lv_rightMarginValue_14_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"rightMarginValue",
lv_rightMarginValue_14_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:924:3: ( (lv_header_15_0= rulePageHeader ) )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==77) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// InternalReportDSL.g:925:4: (lv_header_15_0= rulePageHeader )
{
// InternalReportDSL.g:925:4: (lv_header_15_0= rulePageHeader )
// InternalReportDSL.g:926:5: lv_header_15_0= rulePageHeader
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getHeaderPageHeaderParserRuleCall_15_0());
}
pushFollow(FOLLOW_33);
lv_header_15_0=rulePageHeader();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"header",
lv_header_15_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageHeader");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:943:3: ( (lv_footer_16_0= rulePageFooter ) )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==81) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// InternalReportDSL.g:944:4: (lv_footer_16_0= rulePageFooter )
{
// InternalReportDSL.g:944:4: (lv_footer_16_0= rulePageFooter )
// InternalReportDSL.g:945:5: lv_footer_16_0= rulePageFooter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageTemplateAccess().getFooterPageFooterParserRuleCall_16_0());
}
pushFollow(FOLLOW_15);
lv_footer_16_0=rulePageFooter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageTemplateRule());
}
set(
current,
"footer",
lv_footer_16_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageFooter");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_17=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_17, grammarAccess.getPageTemplateAccess().getRightCurlyBracketKeyword_17());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageTemplate"
// $ANTLR start "entryRuleUnsignedNumber"
// InternalReportDSL.g:970:1: entryRuleUnsignedNumber returns [String current=null] : iv_ruleUnsignedNumber= ruleUnsignedNumber EOF ;
public final String entryRuleUnsignedNumber() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleUnsignedNumber = null;
try {
// InternalReportDSL.g:970:54: (iv_ruleUnsignedNumber= ruleUnsignedNumber EOF )
// InternalReportDSL.g:971:2: iv_ruleUnsignedNumber= ruleUnsignedNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUnsignedNumberRule());
}
pushFollow(FOLLOW_1);
iv_ruleUnsignedNumber=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUnsignedNumber.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUnsignedNumber"
// $ANTLR start "ruleUnsignedNumber"
// InternalReportDSL.g:977:1: ruleUnsignedNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_Number_0= ruleNumber ;
public final AntlrDatatypeRuleToken ruleUnsignedNumber() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
AntlrDatatypeRuleToken this_Number_0 = null;
enterRule();
try {
// InternalReportDSL.g:983:2: (this_Number_0= ruleNumber )
// InternalReportDSL.g:984:2: this_Number_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUnsignedNumberAccess().getNumberParserRuleCall());
}
pushFollow(FOLLOW_2);
this_Number_0=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_Number_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUnsignedNumber"
// $ANTLR start "entryRuleColor"
// InternalReportDSL.g:997:1: entryRuleColor returns [EObject current=null] : iv_ruleColor= ruleColor EOF ;
public final EObject entryRuleColor() throws RecognitionException {
EObject current = null;
EObject iv_ruleColor = null;
try {
// InternalReportDSL.g:997:46: (iv_ruleColor= ruleColor EOF )
// InternalReportDSL.g:998:2: iv_ruleColor= ruleColor EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getColorRule());
}
pushFollow(FOLLOW_1);
iv_ruleColor=ruleColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleColor;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleColor"
// $ANTLR start "ruleColor"
// InternalReportDSL.g:1004:1: ruleColor returns [EObject current=null] : (otherlv_0= 'color' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_color_2_0= RULE_STRING ) ) | (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) ) | (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) ) | (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) ) ) ) ;
public final EObject ruleColor() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token lv_color_2_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token lv_darkensby_6_0=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token lv_lightensby_10_0=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token lv_transformsby_14_0=null;
Token otherlv_15=null;
Token otherlv_16=null;
enterRule();
try {
// InternalReportDSL.g:1010:2: ( (otherlv_0= 'color' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_color_2_0= RULE_STRING ) ) | (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) ) | (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) ) | (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:1011:2: (otherlv_0= 'color' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_color_2_0= RULE_STRING ) ) | (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) ) | (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) ) | (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) ) ) )
{
// InternalReportDSL.g:1011:2: (otherlv_0= 'color' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_color_2_0= RULE_STRING ) ) | (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) ) | (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) ) | (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) ) ) )
// InternalReportDSL.g:1012:3: otherlv_0= 'color' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_color_2_0= RULE_STRING ) ) | (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) ) | (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) ) | (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) ) )
{
otherlv_0=(Token)match(input,32,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getColorAccess().getColorKeyword_0());
}
// InternalReportDSL.g:1016:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:1017:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:1017:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:1018:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_34); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getColorAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
// InternalReportDSL.g:1034:3: ( ( (lv_color_2_0= RULE_STRING ) ) | (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) ) | (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) ) | (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) ) )
int alt15=4;
switch ( input.LA(1) ) {
case RULE_STRING:
{
alt15=1;
}
break;
case 33:
{
alt15=2;
}
break;
case 35:
{
alt15=3;
}
break;
case 36:
{
alt15=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 15, 0, input);
throw nvae;
}
switch (alt15) {
case 1 :
// InternalReportDSL.g:1035:4: ( (lv_color_2_0= RULE_STRING ) )
{
// InternalReportDSL.g:1035:4: ( (lv_color_2_0= RULE_STRING ) )
// InternalReportDSL.g:1036:5: (lv_color_2_0= RULE_STRING )
{
// InternalReportDSL.g:1036:5: (lv_color_2_0= RULE_STRING )
// InternalReportDSL.g:1037:6: lv_color_2_0= RULE_STRING
{
lv_color_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_color_2_0, grammarAccess.getColorAccess().getColorSTRINGTerminalRuleCall_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
setWithLastConsumed(
current,
"color",
lv_color_2_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:1054:4: (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) )
{
// InternalReportDSL.g:1054:4: (otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) ) )
// InternalReportDSL.g:1055:5: otherlv_3= 'darkens' ( (otherlv_4= RULE_ID ) ) otherlv_5= 'by-percent' ( (lv_darkensby_6_0= RULE_INT ) )
{
otherlv_3=(Token)match(input,33,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getColorAccess().getDarkensKeyword_2_1_0());
}
// InternalReportDSL.g:1059:5: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:1060:6: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:1060:6: (otherlv_4= RULE_ID )
// InternalReportDSL.g:1061:7: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_35); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getColorAccess().getBasecolorColorCrossReference_2_1_1_0());
}
}
}
otherlv_5=(Token)match(input,34,FOLLOW_36); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getColorAccess().getByPercentKeyword_2_1_2());
}
// InternalReportDSL.g:1076:5: ( (lv_darkensby_6_0= RULE_INT ) )
// InternalReportDSL.g:1077:6: (lv_darkensby_6_0= RULE_INT )
{
// InternalReportDSL.g:1077:6: (lv_darkensby_6_0= RULE_INT )
// InternalReportDSL.g:1078:7: lv_darkensby_6_0= RULE_INT
{
lv_darkensby_6_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_darkensby_6_0, grammarAccess.getColorAccess().getDarkensbyINTTerminalRuleCall_2_1_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
setWithLastConsumed(
current,
"darkensby",
lv_darkensby_6_0,
"org.eclipse.xtext.xbase.Xbase.INT");
}
}
}
}
}
break;
case 3 :
// InternalReportDSL.g:1096:4: (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) )
{
// InternalReportDSL.g:1096:4: (otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) ) )
// InternalReportDSL.g:1097:5: otherlv_7= 'lightens' ( (otherlv_8= RULE_ID ) ) otherlv_9= 'by-percent' ( (lv_lightensby_10_0= RULE_INT ) )
{
otherlv_7=(Token)match(input,35,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getColorAccess().getLightensKeyword_2_2_0());
}
// InternalReportDSL.g:1101:5: ( (otherlv_8= RULE_ID ) )
// InternalReportDSL.g:1102:6: (otherlv_8= RULE_ID )
{
// InternalReportDSL.g:1102:6: (otherlv_8= RULE_ID )
// InternalReportDSL.g:1103:7: otherlv_8= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
}
otherlv_8=(Token)match(input,RULE_ID,FOLLOW_35); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getColorAccess().getBasecolorColorCrossReference_2_2_1_0());
}
}
}
otherlv_9=(Token)match(input,34,FOLLOW_36); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getColorAccess().getByPercentKeyword_2_2_2());
}
// InternalReportDSL.g:1118:5: ( (lv_lightensby_10_0= RULE_INT ) )
// InternalReportDSL.g:1119:6: (lv_lightensby_10_0= RULE_INT )
{
// InternalReportDSL.g:1119:6: (lv_lightensby_10_0= RULE_INT )
// InternalReportDSL.g:1120:7: lv_lightensby_10_0= RULE_INT
{
lv_lightensby_10_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_lightensby_10_0, grammarAccess.getColorAccess().getLightensbyINTTerminalRuleCall_2_2_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
setWithLastConsumed(
current,
"lightensby",
lv_lightensby_10_0,
"org.eclipse.xtext.xbase.Xbase.INT");
}
}
}
}
}
break;
case 4 :
// InternalReportDSL.g:1138:4: (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) )
{
// InternalReportDSL.g:1138:4: (otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) ) )
// InternalReportDSL.g:1139:5: otherlv_11= 'transforms' ( (otherlv_12= RULE_ID ) ) otherlv_13= 'by-percent' ( (lv_transformsby_14_0= RULE_INT ) ) otherlv_15= 'towards' ( (otherlv_16= RULE_ID ) )
{
otherlv_11=(Token)match(input,36,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getColorAccess().getTransformsKeyword_2_3_0());
}
// InternalReportDSL.g:1143:5: ( (otherlv_12= RULE_ID ) )
// InternalReportDSL.g:1144:6: (otherlv_12= RULE_ID )
{
// InternalReportDSL.g:1144:6: (otherlv_12= RULE_ID )
// InternalReportDSL.g:1145:7: otherlv_12= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
}
otherlv_12=(Token)match(input,RULE_ID,FOLLOW_35); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getColorAccess().getBasecolorColorCrossReference_2_3_1_0());
}
}
}
otherlv_13=(Token)match(input,34,FOLLOW_36); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getColorAccess().getByPercentKeyword_2_3_2());
}
// InternalReportDSL.g:1160:5: ( (lv_transformsby_14_0= RULE_INT ) )
// InternalReportDSL.g:1161:6: (lv_transformsby_14_0= RULE_INT )
{
// InternalReportDSL.g:1161:6: (lv_transformsby_14_0= RULE_INT )
// InternalReportDSL.g:1162:7: lv_transformsby_14_0= RULE_INT
{
lv_transformsby_14_0=(Token)match(input,RULE_INT,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_transformsby_14_0, grammarAccess.getColorAccess().getTransformsbyINTTerminalRuleCall_2_3_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
setWithLastConsumed(
current,
"transformsby",
lv_transformsby_14_0,
"org.eclipse.xtext.xbase.Xbase.INT");
}
}
}
otherlv_15=(Token)match(input,37,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getColorAccess().getTowardsKeyword_2_3_4());
}
// InternalReportDSL.g:1182:5: ( (otherlv_16= RULE_ID ) )
// InternalReportDSL.g:1183:6: (otherlv_16= RULE_ID )
{
// InternalReportDSL.g:1183:6: (otherlv_16= RULE_ID )
// InternalReportDSL.g:1184:7: otherlv_16= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getColorRule());
}
}
otherlv_16=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getColorAccess().getTargetcolorColorCrossReference_2_3_5_0());
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleColor"
// $ANTLR start "entryRuleFont"
// InternalReportDSL.g:1201:1: entryRuleFont returns [EObject current=null] : iv_ruleFont= ruleFont EOF ;
public final EObject entryRuleFont() throws RecognitionException {
EObject current = null;
EObject iv_ruleFont = null;
try {
// InternalReportDSL.g:1201:45: (iv_ruleFont= ruleFont EOF )
// InternalReportDSL.g:1202:2: iv_ruleFont= ruleFont EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontRule());
}
pushFollow(FOLLOW_1);
iv_ruleFont=ruleFont();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFont;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFont"
// $ANTLR start "ruleFont"
// InternalReportDSL.g:1208:1: ruleFont returns [EObject current=null] : (otherlv_0= 'font' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) ) )? otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) ) ) otherlv_13= '}' ) ;
public final EObject ruleFont() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token lv_bold_9_0=null;
Token otherlv_10=null;
Token otherlv_13=null;
EObject lv_family_7_0 = null;
Enumerator lv_style_8_0 = null;
AntlrDatatypeRuleToken lv_sizevalue_11_0 = null;
Enumerator lv_sizeunit_12_0 = null;
enterRule();
try {
// InternalReportDSL.g:1214:2: ( (otherlv_0= 'font' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) ) )? otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) ) ) otherlv_13= '}' ) )
// InternalReportDSL.g:1215:2: (otherlv_0= 'font' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) ) )? otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) ) ) otherlv_13= '}' )
{
// InternalReportDSL.g:1215:2: (otherlv_0= 'font' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) ) )? otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) ) ) otherlv_13= '}' )
// InternalReportDSL.g:1216:3: otherlv_0= 'font' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) ) )? otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) ) ) otherlv_13= '}'
{
otherlv_0=(Token)match(input,38,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getFontAccess().getFontKeyword_0());
}
// InternalReportDSL.g:1220:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:1221:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:1221:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:1222:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_38); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getFontAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getFontRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
// InternalReportDSL.g:1238:3: (otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) ) )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==39) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// InternalReportDSL.g:1239:4: otherlv_2= 'extends' ( (otherlv_3= RULE_ID ) )
{
otherlv_2=(Token)match(input,39,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getFontAccess().getExtendsKeyword_2_0());
}
// InternalReportDSL.g:1243:4: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:1244:5: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:1244:5: (otherlv_3= RULE_ID )
// InternalReportDSL.g:1245:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getFontRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getFontAccess().getExtendsFontCrossReference_2_1_0());
}
}
}
}
break;
}
otherlv_4=(Token)match(input,14,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getFontAccess().getLeftCurlyBracketKeyword_3());
}
// InternalReportDSL.g:1261:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) ) )
// InternalReportDSL.g:1262:4: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) )
{
// InternalReportDSL.g:1262:4: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* ) )
// InternalReportDSL.g:1263:5: ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getFontAccess().getUnorderedGroup_4());
// InternalReportDSL.g:1266:5: ( ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )* )
// InternalReportDSL.g:1267:6: ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )*
{
// InternalReportDSL.g:1267:6: ( ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) ) )*
loop17:
do {
int alt17=5;
int LA17_0 = input.LA(1);
if ( LA17_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 0) ) {
alt17=1;
}
else if ( LA17_0 >= 213 && LA17_0 <= 215 && getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 1) ) {
alt17=2;
}
else if ( LA17_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 2) ) {
alt17=3;
}
else if ( LA17_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 3) ) {
alt17=4;
}
switch (alt17) {
case 1 :
// InternalReportDSL.g:1268:4: ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) )
{
// InternalReportDSL.g:1268:4: ({...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) ) )
// InternalReportDSL.g:1269:5: {...}? => ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 0)");
}
// InternalReportDSL.g:1269:101: ( ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) ) )
// InternalReportDSL.g:1270:6: ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getFontAccess().getUnorderedGroup_4(), 0);
// InternalReportDSL.g:1273:9: ({...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) ) )
// InternalReportDSL.g:1273:10: {...}? => (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "true");
}
// InternalReportDSL.g:1273:19: (otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) ) )
// InternalReportDSL.g:1273:20: otherlv_6= 'family' ( (lv_family_7_0= ruleFontFamily ) )
{
otherlv_6=(Token)match(input,40,FOLLOW_40); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getFontAccess().getFamilyKeyword_4_0_0());
}
// InternalReportDSL.g:1277:9: ( (lv_family_7_0= ruleFontFamily ) )
// InternalReportDSL.g:1278:10: (lv_family_7_0= ruleFontFamily )
{
// InternalReportDSL.g:1278:10: (lv_family_7_0= ruleFontFamily )
// InternalReportDSL.g:1279:11: lv_family_7_0= ruleFontFamily
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontAccess().getFamilyFontFamilyParserRuleCall_4_0_1_0());
}
pushFollow(FOLLOW_39);
lv_family_7_0=ruleFontFamily();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFontRule());
}
set(
current,
"family",
lv_family_7_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.FontFamily");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getFontAccess().getUnorderedGroup_4());
}
}
}
break;
case 2 :
// InternalReportDSL.g:1302:4: ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) )
{
// InternalReportDSL.g:1302:4: ({...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) ) )
// InternalReportDSL.g:1303:5: {...}? => ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 1)");
}
// InternalReportDSL.g:1303:101: ( ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) ) )
// InternalReportDSL.g:1304:6: ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getFontAccess().getUnorderedGroup_4(), 1);
// InternalReportDSL.g:1307:9: ({...}? => ( (lv_style_8_0= ruleFontStyleEnum ) ) )
// InternalReportDSL.g:1307:10: {...}? => ( (lv_style_8_0= ruleFontStyleEnum ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "true");
}
// InternalReportDSL.g:1307:19: ( (lv_style_8_0= ruleFontStyleEnum ) )
// InternalReportDSL.g:1307:20: (lv_style_8_0= ruleFontStyleEnum )
{
// InternalReportDSL.g:1307:20: (lv_style_8_0= ruleFontStyleEnum )
// InternalReportDSL.g:1308:10: lv_style_8_0= ruleFontStyleEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontAccess().getStyleFontStyleEnumEnumRuleCall_4_1_0());
}
pushFollow(FOLLOW_39);
lv_style_8_0=ruleFontStyleEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFontRule());
}
set(
current,
"style",
lv_style_8_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.FontStyleEnum");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getFontAccess().getUnorderedGroup_4());
}
}
}
break;
case 3 :
// InternalReportDSL.g:1330:4: ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) )
{
// InternalReportDSL.g:1330:4: ({...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) ) )
// InternalReportDSL.g:1331:5: {...}? => ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 2)");
}
// InternalReportDSL.g:1331:101: ( ({...}? => ( (lv_bold_9_0= 'bold' ) ) ) )
// InternalReportDSL.g:1332:6: ({...}? => ( (lv_bold_9_0= 'bold' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getFontAccess().getUnorderedGroup_4(), 2);
// InternalReportDSL.g:1335:9: ({...}? => ( (lv_bold_9_0= 'bold' ) ) )
// InternalReportDSL.g:1335:10: {...}? => ( (lv_bold_9_0= 'bold' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "true");
}
// InternalReportDSL.g:1335:19: ( (lv_bold_9_0= 'bold' ) )
// InternalReportDSL.g:1335:20: (lv_bold_9_0= 'bold' )
{
// InternalReportDSL.g:1335:20: (lv_bold_9_0= 'bold' )
// InternalReportDSL.g:1336:10: lv_bold_9_0= 'bold'
{
lv_bold_9_0=(Token)match(input,41,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_bold_9_0, grammarAccess.getFontAccess().getBoldBoldKeyword_4_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getFontRule());
}
setWithLastConsumed(current, "bold", true, "bold");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getFontAccess().getUnorderedGroup_4());
}
}
}
break;
case 4 :
// InternalReportDSL.g:1353:4: ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) )
{
// InternalReportDSL.g:1353:4: ({...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) ) )
// InternalReportDSL.g:1354:5: {...}? => ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "getUnorderedGroupHelper().canSelect(grammarAccess.getFontAccess().getUnorderedGroup_4(), 3)");
}
// InternalReportDSL.g:1354:101: ( ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) ) )
// InternalReportDSL.g:1355:6: ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getFontAccess().getUnorderedGroup_4(), 3);
// InternalReportDSL.g:1358:9: ({...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) ) )
// InternalReportDSL.g:1358:10: {...}? => (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleFont", "true");
}
// InternalReportDSL.g:1358:19: (otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) ) )
// InternalReportDSL.g:1358:20: otherlv_10= 'size' ( (lv_sizevalue_11_0= ruleUnsignedNumber ) ) ( (lv_sizeunit_12_0= ruleUnitEnum ) )
{
otherlv_10=(Token)match(input,42,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getFontAccess().getSizeKeyword_4_3_0());
}
// InternalReportDSL.g:1362:9: ( (lv_sizevalue_11_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:1363:10: (lv_sizevalue_11_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:1363:10: (lv_sizevalue_11_0= ruleUnsignedNumber )
// InternalReportDSL.g:1364:11: lv_sizevalue_11_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontAccess().getSizevalueUnsignedNumberParserRuleCall_4_3_1_0());
}
pushFollow(FOLLOW_41);
lv_sizevalue_11_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFontRule());
}
set(
current,
"sizevalue",
lv_sizevalue_11_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:1381:9: ( (lv_sizeunit_12_0= ruleUnitEnum ) )
// InternalReportDSL.g:1382:10: (lv_sizeunit_12_0= ruleUnitEnum )
{
// InternalReportDSL.g:1382:10: (lv_sizeunit_12_0= ruleUnitEnum )
// InternalReportDSL.g:1383:11: lv_sizeunit_12_0= ruleUnitEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontAccess().getSizeunitUnitEnumEnumRuleCall_4_3_2_0());
}
pushFollow(FOLLOW_39);
lv_sizeunit_12_0=ruleUnitEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFontRule());
}
set(
current,
"sizeunit",
lv_sizeunit_12_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnitEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getFontAccess().getUnorderedGroup_4());
}
}
}
break;
default :
break loop17;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getFontAccess().getUnorderedGroup_4());
}
otherlv_13=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getFontAccess().getRightCurlyBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFont"
// $ANTLR start "entryRuleFontFamily"
// InternalReportDSL.g:1421:1: entryRuleFontFamily returns [EObject current=null] : iv_ruleFontFamily= ruleFontFamily EOF ;
public final EObject entryRuleFontFamily() throws RecognitionException {
EObject current = null;
EObject iv_ruleFontFamily = null;
try {
// InternalReportDSL.g:1421:51: (iv_ruleFontFamily= ruleFontFamily EOF )
// InternalReportDSL.g:1422:2: iv_ruleFontFamily= ruleFontFamily EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontFamilyRule());
}
pushFollow(FOLLOW_1);
iv_ruleFontFamily=ruleFontFamily();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFontFamily;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFontFamily"
// $ANTLR start "ruleFontFamily"
// InternalReportDSL.g:1428:1: ruleFontFamily returns [EObject current=null] : (this_BuildInFontFamily_0= ruleBuildInFontFamily | this_CustomFontFamily_1= ruleCustomFontFamily ) ;
public final EObject ruleFontFamily() throws RecognitionException {
EObject current = null;
EObject this_BuildInFontFamily_0 = null;
EObject this_CustomFontFamily_1 = null;
enterRule();
try {
// InternalReportDSL.g:1434:2: ( (this_BuildInFontFamily_0= ruleBuildInFontFamily | this_CustomFontFamily_1= ruleCustomFontFamily ) )
// InternalReportDSL.g:1435:2: (this_BuildInFontFamily_0= ruleBuildInFontFamily | this_CustomFontFamily_1= ruleCustomFontFamily )
{
// InternalReportDSL.g:1435:2: (this_BuildInFontFamily_0= ruleBuildInFontFamily | this_CustomFontFamily_1= ruleCustomFontFamily )
int alt18=2;
int LA18_0 = input.LA(1);
if ( ((LA18_0>=216 && LA18_0<=218)) ) {
alt18=1;
}
else if ( (LA18_0==RULE_STRING) ) {
alt18=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 18, 0, input);
throw nvae;
}
switch (alt18) {
case 1 :
// InternalReportDSL.g:1436:3: this_BuildInFontFamily_0= ruleBuildInFontFamily
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontFamilyAccess().getBuildInFontFamilyParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_BuildInFontFamily_0=ruleBuildInFontFamily();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_BuildInFontFamily_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:1445:3: this_CustomFontFamily_1= ruleCustomFontFamily
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFontFamilyAccess().getCustomFontFamilyParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_CustomFontFamily_1=ruleCustomFontFamily();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_CustomFontFamily_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFontFamily"
// $ANTLR start "entryRuleBuildInFontFamily"
// InternalReportDSL.g:1457:1: entryRuleBuildInFontFamily returns [EObject current=null] : iv_ruleBuildInFontFamily= ruleBuildInFontFamily EOF ;
public final EObject entryRuleBuildInFontFamily() throws RecognitionException {
EObject current = null;
EObject iv_ruleBuildInFontFamily = null;
try {
// InternalReportDSL.g:1457:58: (iv_ruleBuildInFontFamily= ruleBuildInFontFamily EOF )
// InternalReportDSL.g:1458:2: iv_ruleBuildInFontFamily= ruleBuildInFontFamily EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBuildInFontFamilyRule());
}
pushFollow(FOLLOW_1);
iv_ruleBuildInFontFamily=ruleBuildInFontFamily();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleBuildInFontFamily;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleBuildInFontFamily"
// $ANTLR start "ruleBuildInFontFamily"
// InternalReportDSL.g:1464:1: ruleBuildInFontFamily returns [EObject current=null] : ( (lv_custom_0_0= ruleBuildInFontFamilyEnum ) ) ;
public final EObject ruleBuildInFontFamily() throws RecognitionException {
EObject current = null;
Enumerator lv_custom_0_0 = null;
enterRule();
try {
// InternalReportDSL.g:1470:2: ( ( (lv_custom_0_0= ruleBuildInFontFamilyEnum ) ) )
// InternalReportDSL.g:1471:2: ( (lv_custom_0_0= ruleBuildInFontFamilyEnum ) )
{
// InternalReportDSL.g:1471:2: ( (lv_custom_0_0= ruleBuildInFontFamilyEnum ) )
// InternalReportDSL.g:1472:3: (lv_custom_0_0= ruleBuildInFontFamilyEnum )
{
// InternalReportDSL.g:1472:3: (lv_custom_0_0= ruleBuildInFontFamilyEnum )
// InternalReportDSL.g:1473:4: lv_custom_0_0= ruleBuildInFontFamilyEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBuildInFontFamilyAccess().getCustomBuildInFontFamilyEnumEnumRuleCall_0());
}
pushFollow(FOLLOW_2);
lv_custom_0_0=ruleBuildInFontFamilyEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getBuildInFontFamilyRule());
}
set(
current,
"custom",
lv_custom_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BuildInFontFamilyEnum");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBuildInFontFamily"
// $ANTLR start "entryRuleCustomFontFamily"
// InternalReportDSL.g:1493:1: entryRuleCustomFontFamily returns [EObject current=null] : iv_ruleCustomFontFamily= ruleCustomFontFamily EOF ;
public final EObject entryRuleCustomFontFamily() throws RecognitionException {
EObject current = null;
EObject iv_ruleCustomFontFamily = null;
try {
// InternalReportDSL.g:1493:57: (iv_ruleCustomFontFamily= ruleCustomFontFamily EOF )
// InternalReportDSL.g:1494:2: iv_ruleCustomFontFamily= ruleCustomFontFamily EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCustomFontFamilyRule());
}
pushFollow(FOLLOW_1);
iv_ruleCustomFontFamily=ruleCustomFontFamily();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCustomFontFamily;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCustomFontFamily"
// $ANTLR start "ruleCustomFontFamily"
// InternalReportDSL.g:1500:1: ruleCustomFontFamily returns [EObject current=null] : ( (lv_custom_0_0= RULE_STRING ) ) ;
public final EObject ruleCustomFontFamily() throws RecognitionException {
EObject current = null;
Token lv_custom_0_0=null;
enterRule();
try {
// InternalReportDSL.g:1506:2: ( ( (lv_custom_0_0= RULE_STRING ) ) )
// InternalReportDSL.g:1507:2: ( (lv_custom_0_0= RULE_STRING ) )
{
// InternalReportDSL.g:1507:2: ( (lv_custom_0_0= RULE_STRING ) )
// InternalReportDSL.g:1508:3: (lv_custom_0_0= RULE_STRING )
{
// InternalReportDSL.g:1508:3: (lv_custom_0_0= RULE_STRING )
// InternalReportDSL.g:1509:4: lv_custom_0_0= RULE_STRING
{
lv_custom_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_custom_0_0, grammarAccess.getCustomFontFamilyAccess().getCustomSTRINGTerminalRuleCall_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCustomFontFamilyRule());
}
setWithLastConsumed(
current,
"custom",
lv_custom_0_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCustomFontFamily"
// $ANTLR start "entryRuleBorderStyle"
// InternalReportDSL.g:1528:1: entryRuleBorderStyle returns [EObject current=null] : iv_ruleBorderStyle= ruleBorderStyle EOF ;
public final EObject entryRuleBorderStyle() throws RecognitionException {
EObject current = null;
EObject iv_ruleBorderStyle = null;
try {
// InternalReportDSL.g:1528:52: (iv_ruleBorderStyle= ruleBorderStyle EOF )
// InternalReportDSL.g:1529:2: iv_ruleBorderStyle= ruleBorderStyle EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBorderStyleRule());
}
pushFollow(FOLLOW_1);
iv_ruleBorderStyle=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleBorderStyle;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleBorderStyle"
// $ANTLR start "ruleBorderStyle"
// InternalReportDSL.g:1535:1: ruleBorderStyle returns [EObject current=null] : ( ( (lv_type_0_0= ruleBorderTypeEnum ) ) ( (lv_widthValue_1_0= ruleUnsignedNumber ) ) ( (otherlv_2= RULE_ID ) ) ) ;
public final EObject ruleBorderStyle() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Enumerator lv_type_0_0 = null;
AntlrDatatypeRuleToken lv_widthValue_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:1541:2: ( ( ( (lv_type_0_0= ruleBorderTypeEnum ) ) ( (lv_widthValue_1_0= ruleUnsignedNumber ) ) ( (otherlv_2= RULE_ID ) ) ) )
// InternalReportDSL.g:1542:2: ( ( (lv_type_0_0= ruleBorderTypeEnum ) ) ( (lv_widthValue_1_0= ruleUnsignedNumber ) ) ( (otherlv_2= RULE_ID ) ) )
{
// InternalReportDSL.g:1542:2: ( ( (lv_type_0_0= ruleBorderTypeEnum ) ) ( (lv_widthValue_1_0= ruleUnsignedNumber ) ) ( (otherlv_2= RULE_ID ) ) )
// InternalReportDSL.g:1543:3: ( (lv_type_0_0= ruleBorderTypeEnum ) ) ( (lv_widthValue_1_0= ruleUnsignedNumber ) ) ( (otherlv_2= RULE_ID ) )
{
// InternalReportDSL.g:1543:3: ( (lv_type_0_0= ruleBorderTypeEnum ) )
// InternalReportDSL.g:1544:4: (lv_type_0_0= ruleBorderTypeEnum )
{
// InternalReportDSL.g:1544:4: (lv_type_0_0= ruleBorderTypeEnum )
// InternalReportDSL.g:1545:5: lv_type_0_0= ruleBorderTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBorderStyleAccess().getTypeBorderTypeEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_28);
lv_type_0_0=ruleBorderTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getBorderStyleRule());
}
set(
current,
"type",
lv_type_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:1562:3: ( (lv_widthValue_1_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:1563:4: (lv_widthValue_1_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:1563:4: (lv_widthValue_1_0= ruleUnsignedNumber )
// InternalReportDSL.g:1564:5: lv_widthValue_1_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBorderStyleAccess().getWidthValueUnsignedNumberParserRuleCall_1_0());
}
pushFollow(FOLLOW_4);
lv_widthValue_1_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getBorderStyleRule());
}
set(
current,
"widthValue",
lv_widthValue_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:1581:3: ( (otherlv_2= RULE_ID ) )
// InternalReportDSL.g:1582:4: (otherlv_2= RULE_ID )
{
// InternalReportDSL.g:1582:4: (otherlv_2= RULE_ID )
// InternalReportDSL.g:1583:5: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getBorderStyleRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getBorderStyleAccess().getColorColorCrossReference_2_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBorderStyle"
// $ANTLR start "entryRuleStyle"
// InternalReportDSL.g:1598:1: entryRuleStyle returns [EObject current=null] : iv_ruleStyle= ruleStyle EOF ;
public final EObject entryRuleStyle() throws RecognitionException {
EObject current = null;
EObject iv_ruleStyle = null;
try {
// InternalReportDSL.g:1598:46: (iv_ruleStyle= ruleStyle EOF )
// InternalReportDSL.g:1599:2: iv_ruleStyle= ruleStyle EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleRule());
}
pushFollow(FOLLOW_1);
iv_ruleStyle=ruleStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStyle;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStyle"
// $ANTLR start "ruleStyle"
// InternalReportDSL.g:1605:1: ruleStyle returns [EObject current=null] : (otherlv_0= 'style' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' (otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) ( (lv_mediastyles_42_0= ruleMediaStyle ) )* otherlv_43= '}' ) ;
public final EObject ruleStyle() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_18=null;
Token otherlv_20=null;
Token otherlv_22=null;
Token otherlv_24=null;
Token otherlv_26=null;
Token otherlv_28=null;
Token otherlv_30=null;
Token otherlv_32=null;
Token otherlv_34=null;
Token otherlv_36=null;
Token otherlv_38=null;
Token otherlv_40=null;
Token otherlv_43=null;
Enumerator lv_textalign_17_0 = null;
EObject lv_borderTop_19_0 = null;
EObject lv_borderBottom_21_0 = null;
EObject lv_borderLeft_23_0 = null;
EObject lv_borderRight_25_0 = null;
AntlrDatatypeRuleToken lv_paddingTopValue_27_0 = null;
AntlrDatatypeRuleToken lv_paddingBottomValue_29_0 = null;
AntlrDatatypeRuleToken lv_paddingLeftValue_31_0 = null;
AntlrDatatypeRuleToken lv_paddingRightValue_33_0 = null;
AntlrDatatypeRuleToken lv_marginTopValue_35_0 = null;
AntlrDatatypeRuleToken lv_marginBottomValue_37_0 = null;
AntlrDatatypeRuleToken lv_marginLeftValue_39_0 = null;
AntlrDatatypeRuleToken lv_marginRightValue_41_0 = null;
EObject lv_mediastyles_42_0 = null;
enterRule();
try {
// InternalReportDSL.g:1611:2: ( (otherlv_0= 'style' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' (otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) ( (lv_mediastyles_42_0= ruleMediaStyle ) )* otherlv_43= '}' ) )
// InternalReportDSL.g:1612:2: (otherlv_0= 'style' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' (otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) ( (lv_mediastyles_42_0= ruleMediaStyle ) )* otherlv_43= '}' )
{
// InternalReportDSL.g:1612:2: (otherlv_0= 'style' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' (otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) ( (lv_mediastyles_42_0= ruleMediaStyle ) )* otherlv_43= '}' )
// InternalReportDSL.g:1613:3: otherlv_0= 'style' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' (otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) ( (lv_mediastyles_42_0= ruleMediaStyle ) )* otherlv_43= '}'
{
otherlv_0=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getStyleAccess().getStyleKeyword_0());
}
// InternalReportDSL.g:1617:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:1618:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:1618:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:1619:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getStyleAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_42); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getStyleAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:1639:3: (otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) ) )?
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==39) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// InternalReportDSL.g:1640:4: otherlv_3= 'extends' ( (otherlv_4= RULE_ID ) )
{
otherlv_3=(Token)match(input,39,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getStyleAccess().getExtendsKeyword_3_0());
}
// InternalReportDSL.g:1644:4: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:1645:5: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:1645:5: (otherlv_4= RULE_ID )
// InternalReportDSL.g:1646:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getStyleAccess().getExtendsStyleCrossReference_3_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:1658:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) )
// InternalReportDSL.g:1659:4: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) )
{
// InternalReportDSL.g:1659:4: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) )
// InternalReportDSL.g:1660:5: ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getStyleAccess().getUnorderedGroup_4());
// InternalReportDSL.g:1663:5: ( ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )* )
// InternalReportDSL.g:1664:6: ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )*
{
// InternalReportDSL.g:1664:6: ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )*
loop21:
do {
int alt21=18;
alt21 = dfa21.predict(input);
switch (alt21) {
case 1 :
// InternalReportDSL.g:1665:4: ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:1665:4: ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:1666:5: {...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 0)");
}
// InternalReportDSL.g:1666:102: ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) )
// InternalReportDSL.g:1667:6: ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 0);
// InternalReportDSL.g:1670:9: ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) )
// InternalReportDSL.g:1670:10: {...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1670:19: (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) )
// InternalReportDSL.g:1670:20: otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) )
{
otherlv_6=(Token)match(input,44,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getStyleAccess().getFormatterKeyword_4_0_0());
}
// InternalReportDSL.g:1674:9: ( (otherlv_7= RULE_ID ) )
// InternalReportDSL.g:1675:10: (otherlv_7= RULE_ID )
{
// InternalReportDSL.g:1675:10: (otherlv_7= RULE_ID )
// InternalReportDSL.g:1676:11: otherlv_7= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
}
otherlv_7=(Token)match(input,RULE_ID,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getStyleAccess().getFormatSomeFormatCrossReference_4_0_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 2 :
// InternalReportDSL.g:1693:4: ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:1693:4: ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:1694:5: {...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 1)");
}
// InternalReportDSL.g:1694:102: ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) )
// InternalReportDSL.g:1695:6: ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 1);
// InternalReportDSL.g:1698:9: ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) )
// InternalReportDSL.g:1698:10: {...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1698:19: (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) )
// InternalReportDSL.g:1698:20: otherlv_8= 'font' ( (otherlv_9= RULE_ID ) )
{
otherlv_8=(Token)match(input,38,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getStyleAccess().getFontKeyword_4_1_0());
}
// InternalReportDSL.g:1702:9: ( (otherlv_9= RULE_ID ) )
// InternalReportDSL.g:1703:10: (otherlv_9= RULE_ID )
{
// InternalReportDSL.g:1703:10: (otherlv_9= RULE_ID )
// InternalReportDSL.g:1704:11: otherlv_9= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
}
otherlv_9=(Token)match(input,RULE_ID,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getStyleAccess().getFontFontCrossReference_4_1_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 3 :
// InternalReportDSL.g:1721:4: ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) )
{
// InternalReportDSL.g:1721:4: ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) )
// InternalReportDSL.g:1722:5: {...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 2)");
}
// InternalReportDSL.g:1722:102: ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) )
// InternalReportDSL.g:1723:6: ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 2);
// InternalReportDSL.g:1726:9: ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) )
// InternalReportDSL.g:1726:10: {...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1726:19: (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? )
// InternalReportDSL.g:1726:20: otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )?
{
otherlv_10=(Token)match(input,45,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getStyleAccess().getBackgroundcolorKeyword_4_2_0());
}
// InternalReportDSL.g:1730:9: ( (otherlv_11= RULE_ID ) )
// InternalReportDSL.g:1731:10: (otherlv_11= RULE_ID )
{
// InternalReportDSL.g:1731:10: (otherlv_11= RULE_ID )
// InternalReportDSL.g:1732:11: otherlv_11= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
}
otherlv_11=(Token)match(input,RULE_ID,FOLLOW_44); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getStyleAccess().getBackgroundcolorColorCrossReference_4_2_1_0());
}
}
}
// InternalReportDSL.g:1743:9: (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )?
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==46) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// InternalReportDSL.g:1744:10: otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) )
{
otherlv_12=(Token)match(input,46,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getStyleAccess().getAlternateKeyword_4_2_2_0());
}
// InternalReportDSL.g:1748:10: ( (otherlv_13= RULE_ID ) )
// InternalReportDSL.g:1749:11: (otherlv_13= RULE_ID )
{
// InternalReportDSL.g:1749:11: (otherlv_13= RULE_ID )
// InternalReportDSL.g:1750:12: otherlv_13= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
}
otherlv_13=(Token)match(input,RULE_ID,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getStyleAccess().getBackgroundcolor_alternateColorCrossReference_4_2_2_1_0());
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 4 :
// InternalReportDSL.g:1768:4: ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:1768:4: ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:1769:5: {...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 3)");
}
// InternalReportDSL.g:1769:102: ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) )
// InternalReportDSL.g:1770:6: ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 3);
// InternalReportDSL.g:1773:9: ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) )
// InternalReportDSL.g:1773:10: {...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1773:19: (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) )
// InternalReportDSL.g:1773:20: otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) )
{
otherlv_14=(Token)match(input,47,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getStyleAccess().getTextcolorKeyword_4_3_0());
}
// InternalReportDSL.g:1777:9: ( (otherlv_15= RULE_ID ) )
// InternalReportDSL.g:1778:10: (otherlv_15= RULE_ID )
{
// InternalReportDSL.g:1778:10: (otherlv_15= RULE_ID )
// InternalReportDSL.g:1779:11: otherlv_15= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStyleRule());
}
}
otherlv_15=(Token)match(input,RULE_ID,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getStyleAccess().getTextcolorColorCrossReference_4_3_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 5 :
// InternalReportDSL.g:1796:4: ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) )
{
// InternalReportDSL.g:1796:4: ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) )
// InternalReportDSL.g:1797:5: {...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 4) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 4)");
}
// InternalReportDSL.g:1797:102: ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) )
// InternalReportDSL.g:1798:6: ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 4);
// InternalReportDSL.g:1801:9: ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) )
// InternalReportDSL.g:1801:10: {...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1801:19: (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) )
// InternalReportDSL.g:1801:20: otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) )
{
otherlv_16=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getStyleAccess().getTextalignKeyword_4_4_0());
}
// InternalReportDSL.g:1805:9: ( (lv_textalign_17_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:1806:10: (lv_textalign_17_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:1806:10: (lv_textalign_17_0= ruleTextAlignEnum )
// InternalReportDSL.g:1807:11: lv_textalign_17_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getTextalignTextAlignEnumEnumRuleCall_4_4_1_0());
}
pushFollow(FOLLOW_43);
lv_textalign_17_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"textalign",
lv_textalign_17_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 6 :
// InternalReportDSL.g:1830:4: ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:1830:4: ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:1831:5: {...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 5) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 5)");
}
// InternalReportDSL.g:1831:102: ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:1832:6: ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 5);
// InternalReportDSL.g:1835:9: ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:1835:10: {...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1835:19: (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:1835:20: otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) )
{
otherlv_18=(Token)match(input,49,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getStyleAccess().getBorderTopKeyword_4_5_0());
}
// InternalReportDSL.g:1839:9: ( (lv_borderTop_19_0= ruleBorderStyle ) )
// InternalReportDSL.g:1840:10: (lv_borderTop_19_0= ruleBorderStyle )
{
// InternalReportDSL.g:1840:10: (lv_borderTop_19_0= ruleBorderStyle )
// InternalReportDSL.g:1841:11: lv_borderTop_19_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getBorderTopBorderStyleParserRuleCall_4_5_1_0());
}
pushFollow(FOLLOW_43);
lv_borderTop_19_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"borderTop",
lv_borderTop_19_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 7 :
// InternalReportDSL.g:1864:4: ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:1864:4: ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:1865:5: {...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 6) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 6)");
}
// InternalReportDSL.g:1865:102: ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:1866:6: ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 6);
// InternalReportDSL.g:1869:9: ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:1869:10: {...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1869:19: (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:1869:20: otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) )
{
otherlv_20=(Token)match(input,50,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getStyleAccess().getBorderBottomKeyword_4_6_0());
}
// InternalReportDSL.g:1873:9: ( (lv_borderBottom_21_0= ruleBorderStyle ) )
// InternalReportDSL.g:1874:10: (lv_borderBottom_21_0= ruleBorderStyle )
{
// InternalReportDSL.g:1874:10: (lv_borderBottom_21_0= ruleBorderStyle )
// InternalReportDSL.g:1875:11: lv_borderBottom_21_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getBorderBottomBorderStyleParserRuleCall_4_6_1_0());
}
pushFollow(FOLLOW_43);
lv_borderBottom_21_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"borderBottom",
lv_borderBottom_21_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 8 :
// InternalReportDSL.g:1898:4: ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:1898:4: ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:1899:5: {...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 7) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 7)");
}
// InternalReportDSL.g:1899:102: ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:1900:6: ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 7);
// InternalReportDSL.g:1903:9: ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:1903:10: {...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1903:19: (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:1903:20: otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) )
{
otherlv_22=(Token)match(input,51,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getStyleAccess().getBorderLeftKeyword_4_7_0());
}
// InternalReportDSL.g:1907:9: ( (lv_borderLeft_23_0= ruleBorderStyle ) )
// InternalReportDSL.g:1908:10: (lv_borderLeft_23_0= ruleBorderStyle )
{
// InternalReportDSL.g:1908:10: (lv_borderLeft_23_0= ruleBorderStyle )
// InternalReportDSL.g:1909:11: lv_borderLeft_23_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getBorderLeftBorderStyleParserRuleCall_4_7_1_0());
}
pushFollow(FOLLOW_43);
lv_borderLeft_23_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"borderLeft",
lv_borderLeft_23_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 9 :
// InternalReportDSL.g:1932:4: ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:1932:4: ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:1933:5: {...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 8) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 8)");
}
// InternalReportDSL.g:1933:102: ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:1934:6: ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 8);
// InternalReportDSL.g:1937:9: ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:1937:10: {...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1937:19: (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:1937:20: otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) )
{
otherlv_24=(Token)match(input,52,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_24, grammarAccess.getStyleAccess().getBorderRightKeyword_4_8_0());
}
// InternalReportDSL.g:1941:9: ( (lv_borderRight_25_0= ruleBorderStyle ) )
// InternalReportDSL.g:1942:10: (lv_borderRight_25_0= ruleBorderStyle )
{
// InternalReportDSL.g:1942:10: (lv_borderRight_25_0= ruleBorderStyle )
// InternalReportDSL.g:1943:11: lv_borderRight_25_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getBorderRightBorderStyleParserRuleCall_4_8_1_0());
}
pushFollow(FOLLOW_43);
lv_borderRight_25_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"borderRight",
lv_borderRight_25_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 10 :
// InternalReportDSL.g:1966:4: ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:1966:4: ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:1967:5: {...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 9) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 9)");
}
// InternalReportDSL.g:1967:102: ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:1968:6: ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 9);
// InternalReportDSL.g:1971:9: ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:1971:10: {...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:1971:19: (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:1971:20: otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) )
{
otherlv_26=(Token)match(input,53,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_26, grammarAccess.getStyleAccess().getPaddingTopKeyword_4_9_0());
}
// InternalReportDSL.g:1975:9: ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:1976:10: (lv_paddingTopValue_27_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:1976:10: (lv_paddingTopValue_27_0= ruleUnsignedNumber )
// InternalReportDSL.g:1977:11: lv_paddingTopValue_27_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getPaddingTopValueUnsignedNumberParserRuleCall_4_9_1_0());
}
pushFollow(FOLLOW_43);
lv_paddingTopValue_27_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"paddingTopValue",
lv_paddingTopValue_27_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 11 :
// InternalReportDSL.g:2000:4: ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2000:4: ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2001:5: {...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 10) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 10)");
}
// InternalReportDSL.g:2001:103: ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2002:6: ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 10);
// InternalReportDSL.g:2005:9: ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2005:10: {...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2005:19: (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2005:20: otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) )
{
otherlv_28=(Token)match(input,54,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_28, grammarAccess.getStyleAccess().getPaddingBottomKeyword_4_10_0());
}
// InternalReportDSL.g:2009:9: ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2010:10: (lv_paddingBottomValue_29_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2010:10: (lv_paddingBottomValue_29_0= ruleUnsignedNumber )
// InternalReportDSL.g:2011:11: lv_paddingBottomValue_29_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getPaddingBottomValueUnsignedNumberParserRuleCall_4_10_1_0());
}
pushFollow(FOLLOW_43);
lv_paddingBottomValue_29_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"paddingBottomValue",
lv_paddingBottomValue_29_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 12 :
// InternalReportDSL.g:2034:4: ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2034:4: ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2035:5: {...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 11) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 11)");
}
// InternalReportDSL.g:2035:103: ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2036:6: ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 11);
// InternalReportDSL.g:2039:9: ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2039:10: {...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2039:19: (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2039:20: otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) )
{
otherlv_30=(Token)match(input,55,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_30, grammarAccess.getStyleAccess().getPaddingLeftKeyword_4_11_0());
}
// InternalReportDSL.g:2043:9: ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2044:10: (lv_paddingLeftValue_31_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2044:10: (lv_paddingLeftValue_31_0= ruleUnsignedNumber )
// InternalReportDSL.g:2045:11: lv_paddingLeftValue_31_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getPaddingLeftValueUnsignedNumberParserRuleCall_4_11_1_0());
}
pushFollow(FOLLOW_43);
lv_paddingLeftValue_31_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"paddingLeftValue",
lv_paddingLeftValue_31_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 13 :
// InternalReportDSL.g:2068:4: ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2068:4: ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2069:5: {...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 12) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 12)");
}
// InternalReportDSL.g:2069:103: ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2070:6: ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 12);
// InternalReportDSL.g:2073:9: ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2073:10: {...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2073:19: (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2073:20: otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) )
{
otherlv_32=(Token)match(input,56,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_32, grammarAccess.getStyleAccess().getPaddingRightKeyword_4_12_0());
}
// InternalReportDSL.g:2077:9: ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2078:10: (lv_paddingRightValue_33_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2078:10: (lv_paddingRightValue_33_0= ruleUnsignedNumber )
// InternalReportDSL.g:2079:11: lv_paddingRightValue_33_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getPaddingRightValueUnsignedNumberParserRuleCall_4_12_1_0());
}
pushFollow(FOLLOW_43);
lv_paddingRightValue_33_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"paddingRightValue",
lv_paddingRightValue_33_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 14 :
// InternalReportDSL.g:2102:4: ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2102:4: ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2103:5: {...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 13) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 13)");
}
// InternalReportDSL.g:2103:103: ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2104:6: ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 13);
// InternalReportDSL.g:2107:9: ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2107:10: {...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2107:19: (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2107:20: otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) )
{
otherlv_34=(Token)match(input,57,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_34, grammarAccess.getStyleAccess().getMarginTopKeyword_4_13_0());
}
// InternalReportDSL.g:2111:9: ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2112:10: (lv_marginTopValue_35_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2112:10: (lv_marginTopValue_35_0= ruleUnsignedNumber )
// InternalReportDSL.g:2113:11: lv_marginTopValue_35_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getMarginTopValueUnsignedNumberParserRuleCall_4_13_1_0());
}
pushFollow(FOLLOW_43);
lv_marginTopValue_35_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"marginTopValue",
lv_marginTopValue_35_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 15 :
// InternalReportDSL.g:2136:4: ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2136:4: ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2137:5: {...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 14) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 14)");
}
// InternalReportDSL.g:2137:103: ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2138:6: ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 14);
// InternalReportDSL.g:2141:9: ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2141:10: {...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2141:19: (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2141:20: otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) )
{
otherlv_36=(Token)match(input,58,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_36, grammarAccess.getStyleAccess().getMarginBottomKeyword_4_14_0());
}
// InternalReportDSL.g:2145:9: ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2146:10: (lv_marginBottomValue_37_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2146:10: (lv_marginBottomValue_37_0= ruleUnsignedNumber )
// InternalReportDSL.g:2147:11: lv_marginBottomValue_37_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getMarginBottomValueUnsignedNumberParserRuleCall_4_14_1_0());
}
pushFollow(FOLLOW_43);
lv_marginBottomValue_37_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"marginBottomValue",
lv_marginBottomValue_37_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 16 :
// InternalReportDSL.g:2170:4: ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2170:4: ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2171:5: {...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 15) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 15)");
}
// InternalReportDSL.g:2171:103: ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2172:6: ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 15);
// InternalReportDSL.g:2175:9: ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2175:10: {...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2175:19: (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2175:20: otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) )
{
otherlv_38=(Token)match(input,59,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_38, grammarAccess.getStyleAccess().getMarginLeftKeyword_4_15_0());
}
// InternalReportDSL.g:2179:9: ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2180:10: (lv_marginLeftValue_39_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2180:10: (lv_marginLeftValue_39_0= ruleUnsignedNumber )
// InternalReportDSL.g:2181:11: lv_marginLeftValue_39_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getMarginLeftValueUnsignedNumberParserRuleCall_4_15_1_0());
}
pushFollow(FOLLOW_43);
lv_marginLeftValue_39_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"marginLeftValue",
lv_marginLeftValue_39_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
case 17 :
// InternalReportDSL.g:2204:4: ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2204:4: ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2205:5: {...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 16) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 16)");
}
// InternalReportDSL.g:2205:103: ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2206:6: ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 16);
// InternalReportDSL.g:2209:9: ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2209:10: {...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleStyle", "true");
}
// InternalReportDSL.g:2209:19: (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2209:20: otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) )
{
otherlv_40=(Token)match(input,60,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_40, grammarAccess.getStyleAccess().getMarginRightKeyword_4_16_0());
}
// InternalReportDSL.g:2213:9: ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2214:10: (lv_marginRightValue_41_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2214:10: (lv_marginRightValue_41_0= ruleUnsignedNumber )
// InternalReportDSL.g:2215:11: lv_marginRightValue_41_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getMarginRightValueUnsignedNumberParserRuleCall_4_16_1_0());
}
pushFollow(FOLLOW_43);
lv_marginRightValue_41_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
set(
current,
"marginRightValue",
lv_marginRightValue_41_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
}
}
break;
default :
break loop21;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getStyleAccess().getUnorderedGroup_4());
}
// InternalReportDSL.g:2245:3: ( (lv_mediastyles_42_0= ruleMediaStyle ) )*
loop22:
do {
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==23) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// InternalReportDSL.g:2246:4: (lv_mediastyles_42_0= ruleMediaStyle )
{
// InternalReportDSL.g:2246:4: (lv_mediastyles_42_0= ruleMediaStyle )
// InternalReportDSL.g:2247:5: lv_mediastyles_42_0= ruleMediaStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStyleAccess().getMediastylesMediaStyleParserRuleCall_5_0());
}
pushFollow(FOLLOW_21);
lv_mediastyles_42_0=ruleMediaStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStyleRule());
}
add(
current,
"mediastyles",
lv_mediastyles_42_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.MediaStyle");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop22;
}
} while (true);
otherlv_43=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_43, grammarAccess.getStyleAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStyle"
// $ANTLR start "entryRuleMediaStyle"
// InternalReportDSL.g:2272:1: entryRuleMediaStyle returns [EObject current=null] : iv_ruleMediaStyle= ruleMediaStyle EOF ;
public final EObject entryRuleMediaStyle() throws RecognitionException {
EObject current = null;
EObject iv_ruleMediaStyle = null;
try {
// InternalReportDSL.g:2272:51: (iv_ruleMediaStyle= ruleMediaStyle EOF )
// InternalReportDSL.g:2273:2: iv_ruleMediaStyle= ruleMediaStyle EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleRule());
}
pushFollow(FOLLOW_1);
iv_ruleMediaStyle=ruleMediaStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleMediaStyle;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleMediaStyle"
// $ANTLR start "ruleMediaStyle"
// InternalReportDSL.g:2279:1: ruleMediaStyle returns [EObject current=null] : (otherlv_0= 'media' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ;
public final EObject ruleMediaStyle() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_16=null;
Token otherlv_18=null;
Token otherlv_20=null;
Token otherlv_22=null;
Token otherlv_24=null;
Token otherlv_26=null;
Token otherlv_28=null;
Token otherlv_30=null;
Token otherlv_32=null;
Token otherlv_34=null;
Token otherlv_36=null;
Token otherlv_38=null;
Token otherlv_40=null;
Enumerator lv_textalign_15_0 = null;
EObject lv_borderTop_17_0 = null;
EObject lv_borderBottom_19_0 = null;
EObject lv_borderLeft_21_0 = null;
EObject lv_borderRight_23_0 = null;
AntlrDatatypeRuleToken lv_paddingTopValue_25_0 = null;
AntlrDatatypeRuleToken lv_paddingBottomValue_27_0 = null;
AntlrDatatypeRuleToken lv_paddingLeftValue_29_0 = null;
AntlrDatatypeRuleToken lv_paddingRightValue_31_0 = null;
AntlrDatatypeRuleToken lv_marginTopValue_33_0 = null;
AntlrDatatypeRuleToken lv_marginBottomValue_35_0 = null;
AntlrDatatypeRuleToken lv_marginLeftValue_37_0 = null;
AntlrDatatypeRuleToken lv_marginRightValue_39_0 = null;
enterRule();
try {
// InternalReportDSL.g:2285:2: ( (otherlv_0= 'media' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) )
// InternalReportDSL.g:2286:2: (otherlv_0= 'media' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' )
{
// InternalReportDSL.g:2286:2: (otherlv_0= 'media' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' )
// InternalReportDSL.g:2287:3: otherlv_0= 'media' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) ) otherlv_40= '}'
{
otherlv_0=(Token)match(input,23,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getMediaStyleAccess().getMediaKeyword_0());
}
// InternalReportDSL.g:2291:3: ( (otherlv_1= RULE_ID ) )
// InternalReportDSL.g:2292:4: (otherlv_1= RULE_ID )
{
// InternalReportDSL.g:2292:4: (otherlv_1= RULE_ID )
// InternalReportDSL.g:2293:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaStyleRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getMediaStyleAccess().getMediaMediaCrossReference_1_0());
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getMediaStyleAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:2308:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) ) )
// InternalReportDSL.g:2309:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) )
{
// InternalReportDSL.g:2309:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* ) )
// InternalReportDSL.g:2310:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
// InternalReportDSL.g:2313:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )* )
// InternalReportDSL.g:2314:6: ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )*
{
// InternalReportDSL.g:2314:6: ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )*
loop24:
do {
int alt24=18;
alt24 = dfa24.predict(input);
switch (alt24) {
case 1 :
// InternalReportDSL.g:2315:4: ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:2315:4: ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:2316:5: {...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 0)");
}
// InternalReportDSL.g:2316:107: ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) )
// InternalReportDSL.g:2317:6: ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 0);
// InternalReportDSL.g:2320:9: ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) )
// InternalReportDSL.g:2320:10: {...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2320:19: (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) )
// InternalReportDSL.g:2320:20: otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,44,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getMediaStyleAccess().getFormatterKeyword_3_0_0());
}
// InternalReportDSL.g:2324:9: ( (otherlv_5= RULE_ID ) )
// InternalReportDSL.g:2325:10: (otherlv_5= RULE_ID )
{
// InternalReportDSL.g:2325:10: (otherlv_5= RULE_ID )
// InternalReportDSL.g:2326:11: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaStyleRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getMediaStyleAccess().getFormatSomeFormatCrossReference_3_0_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 2 :
// InternalReportDSL.g:2343:4: ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:2343:4: ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:2344:5: {...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 1)");
}
// InternalReportDSL.g:2344:107: ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) )
// InternalReportDSL.g:2345:6: ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 1);
// InternalReportDSL.g:2348:9: ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) )
// InternalReportDSL.g:2348:10: {...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2348:19: (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) )
// InternalReportDSL.g:2348:20: otherlv_6= 'font' ( (otherlv_7= RULE_ID ) )
{
otherlv_6=(Token)match(input,38,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getMediaStyleAccess().getFontKeyword_3_1_0());
}
// InternalReportDSL.g:2352:9: ( (otherlv_7= RULE_ID ) )
// InternalReportDSL.g:2353:10: (otherlv_7= RULE_ID )
{
// InternalReportDSL.g:2353:10: (otherlv_7= RULE_ID )
// InternalReportDSL.g:2354:11: otherlv_7= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaStyleRule());
}
}
otherlv_7=(Token)match(input,RULE_ID,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getMediaStyleAccess().getFontFontCrossReference_3_1_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 3 :
// InternalReportDSL.g:2371:4: ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) )
{
// InternalReportDSL.g:2371:4: ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) )
// InternalReportDSL.g:2372:5: {...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 2)");
}
// InternalReportDSL.g:2372:107: ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) )
// InternalReportDSL.g:2373:6: ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 2);
// InternalReportDSL.g:2376:9: ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) )
// InternalReportDSL.g:2376:10: {...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2376:19: (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? )
// InternalReportDSL.g:2376:20: otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )?
{
otherlv_8=(Token)match(input,45,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getMediaStyleAccess().getBackgroundcolorKeyword_3_2_0());
}
// InternalReportDSL.g:2380:9: ( (otherlv_9= RULE_ID ) )
// InternalReportDSL.g:2381:10: (otherlv_9= RULE_ID )
{
// InternalReportDSL.g:2381:10: (otherlv_9= RULE_ID )
// InternalReportDSL.g:2382:11: otherlv_9= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaStyleRule());
}
}
otherlv_9=(Token)match(input,RULE_ID,FOLLOW_48); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getMediaStyleAccess().getBackgroundcolorColorCrossReference_3_2_1_0());
}
}
}
// InternalReportDSL.g:2393:9: (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==46) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// InternalReportDSL.g:2394:10: otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) )
{
otherlv_10=(Token)match(input,46,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getMediaStyleAccess().getAlternateKeyword_3_2_2_0());
}
// InternalReportDSL.g:2398:10: ( (otherlv_11= RULE_ID ) )
// InternalReportDSL.g:2399:11: (otherlv_11= RULE_ID )
{
// InternalReportDSL.g:2399:11: (otherlv_11= RULE_ID )
// InternalReportDSL.g:2400:12: otherlv_11= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaStyleRule());
}
}
otherlv_11=(Token)match(input,RULE_ID,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getMediaStyleAccess().getBackgroundcolor_alternateColorCrossReference_3_2_2_1_0());
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 4 :
// InternalReportDSL.g:2418:4: ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:2418:4: ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:2419:5: {...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 3)");
}
// InternalReportDSL.g:2419:107: ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) )
// InternalReportDSL.g:2420:6: ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 3);
// InternalReportDSL.g:2423:9: ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) )
// InternalReportDSL.g:2423:10: {...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2423:19: (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) )
// InternalReportDSL.g:2423:20: otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) )
{
otherlv_12=(Token)match(input,47,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getMediaStyleAccess().getTextcolorKeyword_3_3_0());
}
// InternalReportDSL.g:2427:9: ( (otherlv_13= RULE_ID ) )
// InternalReportDSL.g:2428:10: (otherlv_13= RULE_ID )
{
// InternalReportDSL.g:2428:10: (otherlv_13= RULE_ID )
// InternalReportDSL.g:2429:11: otherlv_13= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getMediaStyleRule());
}
}
otherlv_13=(Token)match(input,RULE_ID,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getMediaStyleAccess().getTextcolorColorCrossReference_3_3_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:2446:4: ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) )
{
// InternalReportDSL.g:2446:4: ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) )
// InternalReportDSL.g:2447:5: {...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 4) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 4)");
}
// InternalReportDSL.g:2447:107: ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) )
// InternalReportDSL.g:2448:6: ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 4);
// InternalReportDSL.g:2451:9: ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) )
// InternalReportDSL.g:2451:10: {...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2451:19: (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) )
// InternalReportDSL.g:2451:20: otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) )
{
otherlv_14=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getMediaStyleAccess().getTextalignKeyword_3_4_0());
}
// InternalReportDSL.g:2455:9: ( (lv_textalign_15_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:2456:10: (lv_textalign_15_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:2456:10: (lv_textalign_15_0= ruleTextAlignEnum )
// InternalReportDSL.g:2457:11: lv_textalign_15_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getTextalignTextAlignEnumEnumRuleCall_3_4_1_0());
}
pushFollow(FOLLOW_47);
lv_textalign_15_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"textalign",
lv_textalign_15_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 6 :
// InternalReportDSL.g:2480:4: ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:2480:4: ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:2481:5: {...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 5) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 5)");
}
// InternalReportDSL.g:2481:107: ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:2482:6: ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 5);
// InternalReportDSL.g:2485:9: ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:2485:10: {...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2485:19: (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:2485:20: otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) )
{
otherlv_16=(Token)match(input,49,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getMediaStyleAccess().getBorderTopKeyword_3_5_0());
}
// InternalReportDSL.g:2489:9: ( (lv_borderTop_17_0= ruleBorderStyle ) )
// InternalReportDSL.g:2490:10: (lv_borderTop_17_0= ruleBorderStyle )
{
// InternalReportDSL.g:2490:10: (lv_borderTop_17_0= ruleBorderStyle )
// InternalReportDSL.g:2491:11: lv_borderTop_17_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getBorderTopBorderStyleParserRuleCall_3_5_1_0());
}
pushFollow(FOLLOW_47);
lv_borderTop_17_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"borderTop",
lv_borderTop_17_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 7 :
// InternalReportDSL.g:2514:4: ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:2514:4: ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:2515:5: {...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 6) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 6)");
}
// InternalReportDSL.g:2515:107: ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:2516:6: ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 6);
// InternalReportDSL.g:2519:9: ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:2519:10: {...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2519:19: (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:2519:20: otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) )
{
otherlv_18=(Token)match(input,50,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getMediaStyleAccess().getBorderBottomKeyword_3_6_0());
}
// InternalReportDSL.g:2523:9: ( (lv_borderBottom_19_0= ruleBorderStyle ) )
// InternalReportDSL.g:2524:10: (lv_borderBottom_19_0= ruleBorderStyle )
{
// InternalReportDSL.g:2524:10: (lv_borderBottom_19_0= ruleBorderStyle )
// InternalReportDSL.g:2525:11: lv_borderBottom_19_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getBorderBottomBorderStyleParserRuleCall_3_6_1_0());
}
pushFollow(FOLLOW_47);
lv_borderBottom_19_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"borderBottom",
lv_borderBottom_19_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 8 :
// InternalReportDSL.g:2548:4: ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:2548:4: ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:2549:5: {...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 7) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 7)");
}
// InternalReportDSL.g:2549:107: ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:2550:6: ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 7);
// InternalReportDSL.g:2553:9: ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:2553:10: {...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2553:19: (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:2553:20: otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) )
{
otherlv_20=(Token)match(input,51,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getMediaStyleAccess().getBorderLeftKeyword_3_7_0());
}
// InternalReportDSL.g:2557:9: ( (lv_borderLeft_21_0= ruleBorderStyle ) )
// InternalReportDSL.g:2558:10: (lv_borderLeft_21_0= ruleBorderStyle )
{
// InternalReportDSL.g:2558:10: (lv_borderLeft_21_0= ruleBorderStyle )
// InternalReportDSL.g:2559:11: lv_borderLeft_21_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getBorderLeftBorderStyleParserRuleCall_3_7_1_0());
}
pushFollow(FOLLOW_47);
lv_borderLeft_21_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"borderLeft",
lv_borderLeft_21_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 9 :
// InternalReportDSL.g:2582:4: ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) )
{
// InternalReportDSL.g:2582:4: ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) )
// InternalReportDSL.g:2583:5: {...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 8) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 8)");
}
// InternalReportDSL.g:2583:107: ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) )
// InternalReportDSL.g:2584:6: ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 8);
// InternalReportDSL.g:2587:9: ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) )
// InternalReportDSL.g:2587:10: {...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2587:19: (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) )
// InternalReportDSL.g:2587:20: otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) )
{
otherlv_22=(Token)match(input,52,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getMediaStyleAccess().getBorderRightKeyword_3_8_0());
}
// InternalReportDSL.g:2591:9: ( (lv_borderRight_23_0= ruleBorderStyle ) )
// InternalReportDSL.g:2592:10: (lv_borderRight_23_0= ruleBorderStyle )
{
// InternalReportDSL.g:2592:10: (lv_borderRight_23_0= ruleBorderStyle )
// InternalReportDSL.g:2593:11: lv_borderRight_23_0= ruleBorderStyle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getBorderRightBorderStyleParserRuleCall_3_8_1_0());
}
pushFollow(FOLLOW_47);
lv_borderRight_23_0=ruleBorderStyle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"borderRight",
lv_borderRight_23_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BorderStyle");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 10 :
// InternalReportDSL.g:2616:4: ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2616:4: ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2617:5: {...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 9) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 9)");
}
// InternalReportDSL.g:2617:107: ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2618:6: ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 9);
// InternalReportDSL.g:2621:9: ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2621:10: {...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2621:19: (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2621:20: otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) )
{
otherlv_24=(Token)match(input,53,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_24, grammarAccess.getMediaStyleAccess().getPaddingTopKeyword_3_9_0());
}
// InternalReportDSL.g:2625:9: ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2626:10: (lv_paddingTopValue_25_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2626:10: (lv_paddingTopValue_25_0= ruleUnsignedNumber )
// InternalReportDSL.g:2627:11: lv_paddingTopValue_25_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getPaddingTopValueUnsignedNumberParserRuleCall_3_9_1_0());
}
pushFollow(FOLLOW_47);
lv_paddingTopValue_25_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"paddingTopValue",
lv_paddingTopValue_25_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 11 :
// InternalReportDSL.g:2650:4: ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2650:4: ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2651:5: {...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 10) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 10)");
}
// InternalReportDSL.g:2651:108: ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2652:6: ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 10);
// InternalReportDSL.g:2655:9: ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2655:10: {...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2655:19: (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2655:20: otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) )
{
otherlv_26=(Token)match(input,54,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_26, grammarAccess.getMediaStyleAccess().getPaddingBottomKeyword_3_10_0());
}
// InternalReportDSL.g:2659:9: ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2660:10: (lv_paddingBottomValue_27_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2660:10: (lv_paddingBottomValue_27_0= ruleUnsignedNumber )
// InternalReportDSL.g:2661:11: lv_paddingBottomValue_27_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getPaddingBottomValueUnsignedNumberParserRuleCall_3_10_1_0());
}
pushFollow(FOLLOW_47);
lv_paddingBottomValue_27_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"paddingBottomValue",
lv_paddingBottomValue_27_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 12 :
// InternalReportDSL.g:2684:4: ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2684:4: ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2685:5: {...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 11) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 11)");
}
// InternalReportDSL.g:2685:108: ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2686:6: ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 11);
// InternalReportDSL.g:2689:9: ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2689:10: {...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2689:19: (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2689:20: otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) )
{
otherlv_28=(Token)match(input,55,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_28, grammarAccess.getMediaStyleAccess().getPaddingLeftKeyword_3_11_0());
}
// InternalReportDSL.g:2693:9: ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2694:10: (lv_paddingLeftValue_29_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2694:10: (lv_paddingLeftValue_29_0= ruleUnsignedNumber )
// InternalReportDSL.g:2695:11: lv_paddingLeftValue_29_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getPaddingLeftValueUnsignedNumberParserRuleCall_3_11_1_0());
}
pushFollow(FOLLOW_47);
lv_paddingLeftValue_29_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"paddingLeftValue",
lv_paddingLeftValue_29_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 13 :
// InternalReportDSL.g:2718:4: ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2718:4: ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2719:5: {...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 12) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 12)");
}
// InternalReportDSL.g:2719:108: ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2720:6: ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 12);
// InternalReportDSL.g:2723:9: ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2723:10: {...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2723:19: (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2723:20: otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) )
{
otherlv_30=(Token)match(input,56,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_30, grammarAccess.getMediaStyleAccess().getPaddingRightKeyword_3_12_0());
}
// InternalReportDSL.g:2727:9: ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2728:10: (lv_paddingRightValue_31_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2728:10: (lv_paddingRightValue_31_0= ruleUnsignedNumber )
// InternalReportDSL.g:2729:11: lv_paddingRightValue_31_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getPaddingRightValueUnsignedNumberParserRuleCall_3_12_1_0());
}
pushFollow(FOLLOW_47);
lv_paddingRightValue_31_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"paddingRightValue",
lv_paddingRightValue_31_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 14 :
// InternalReportDSL.g:2752:4: ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2752:4: ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2753:5: {...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 13) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 13)");
}
// InternalReportDSL.g:2753:108: ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2754:6: ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 13);
// InternalReportDSL.g:2757:9: ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2757:10: {...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2757:19: (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2757:20: otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) )
{
otherlv_32=(Token)match(input,57,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_32, grammarAccess.getMediaStyleAccess().getMarginTopKeyword_3_13_0());
}
// InternalReportDSL.g:2761:9: ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2762:10: (lv_marginTopValue_33_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2762:10: (lv_marginTopValue_33_0= ruleUnsignedNumber )
// InternalReportDSL.g:2763:11: lv_marginTopValue_33_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getMarginTopValueUnsignedNumberParserRuleCall_3_13_1_0());
}
pushFollow(FOLLOW_47);
lv_marginTopValue_33_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"marginTopValue",
lv_marginTopValue_33_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 15 :
// InternalReportDSL.g:2786:4: ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2786:4: ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2787:5: {...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 14) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 14)");
}
// InternalReportDSL.g:2787:108: ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2788:6: ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 14);
// InternalReportDSL.g:2791:9: ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2791:10: {...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2791:19: (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2791:20: otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) )
{
otherlv_34=(Token)match(input,58,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_34, grammarAccess.getMediaStyleAccess().getMarginBottomKeyword_3_14_0());
}
// InternalReportDSL.g:2795:9: ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2796:10: (lv_marginBottomValue_35_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2796:10: (lv_marginBottomValue_35_0= ruleUnsignedNumber )
// InternalReportDSL.g:2797:11: lv_marginBottomValue_35_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getMarginBottomValueUnsignedNumberParserRuleCall_3_14_1_0());
}
pushFollow(FOLLOW_47);
lv_marginBottomValue_35_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"marginBottomValue",
lv_marginBottomValue_35_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 16 :
// InternalReportDSL.g:2820:4: ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2820:4: ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2821:5: {...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 15) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 15)");
}
// InternalReportDSL.g:2821:108: ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2822:6: ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 15);
// InternalReportDSL.g:2825:9: ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2825:10: {...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2825:19: (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2825:20: otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) )
{
otherlv_36=(Token)match(input,59,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_36, grammarAccess.getMediaStyleAccess().getMarginLeftKeyword_3_15_0());
}
// InternalReportDSL.g:2829:9: ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2830:10: (lv_marginLeftValue_37_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2830:10: (lv_marginLeftValue_37_0= ruleUnsignedNumber )
// InternalReportDSL.g:2831:11: lv_marginLeftValue_37_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getMarginLeftValueUnsignedNumberParserRuleCall_3_15_1_0());
}
pushFollow(FOLLOW_47);
lv_marginLeftValue_37_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"marginLeftValue",
lv_marginLeftValue_37_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
case 17 :
// InternalReportDSL.g:2854:4: ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:2854:4: ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:2855:5: {...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 16) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 16)");
}
// InternalReportDSL.g:2855:108: ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:2856:6: ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 16);
// InternalReportDSL.g:2859:9: ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:2859:10: {...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleMediaStyle", "true");
}
// InternalReportDSL.g:2859:19: (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:2859:20: otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) )
{
otherlv_38=(Token)match(input,60,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_38, grammarAccess.getMediaStyleAccess().getMarginRightKeyword_3_16_0());
}
// InternalReportDSL.g:2863:9: ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:2864:10: (lv_marginRightValue_39_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:2864:10: (lv_marginRightValue_39_0= ruleUnsignedNumber )
// InternalReportDSL.g:2865:11: lv_marginRightValue_39_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMediaStyleAccess().getMarginRightValueUnsignedNumberParserRuleCall_3_16_1_0());
}
pushFollow(FOLLOW_47);
lv_marginRightValue_39_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getMediaStyleRule());
}
set(
current,
"marginRightValue",
lv_marginRightValue_39_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
}
}
break;
default :
break loop24;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3());
}
otherlv_40=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_40, grammarAccess.getMediaStyleAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleMediaStyle"
// $ANTLR start "entryRuleSomeFormat"
// InternalReportDSL.g:2903:1: entryRuleSomeFormat returns [EObject current=null] : iv_ruleSomeFormat= ruleSomeFormat EOF ;
public final EObject entryRuleSomeFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleSomeFormat = null;
try {
// InternalReportDSL.g:2903:51: (iv_ruleSomeFormat= ruleSomeFormat EOF )
// InternalReportDSL.g:2904:2: iv_ruleSomeFormat= ruleSomeFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleSomeFormat=ruleSomeFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSomeFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSomeFormat"
// $ANTLR start "ruleSomeFormat"
// InternalReportDSL.g:2910:1: ruleSomeFormat returns [EObject current=null] : (this_UomoFormat_0= ruleUomoFormat | this_NumberFormat_1= ruleNumberFormat | this_CurrencyFormat_2= ruleCurrencyFormat | this_DateFormat_3= ruleDateFormat | this_DateTimeFormat_4= ruleDateTimeFormat | this_TimeFormat_5= ruleTimeFormat ) ;
public final EObject ruleSomeFormat() throws RecognitionException {
EObject current = null;
EObject this_UomoFormat_0 = null;
EObject this_NumberFormat_1 = null;
EObject this_CurrencyFormat_2 = null;
EObject this_DateFormat_3 = null;
EObject this_DateTimeFormat_4 = null;
EObject this_TimeFormat_5 = null;
enterRule();
try {
// InternalReportDSL.g:2916:2: ( (this_UomoFormat_0= ruleUomoFormat | this_NumberFormat_1= ruleNumberFormat | this_CurrencyFormat_2= ruleCurrencyFormat | this_DateFormat_3= ruleDateFormat | this_DateTimeFormat_4= ruleDateTimeFormat | this_TimeFormat_5= ruleTimeFormat ) )
// InternalReportDSL.g:2917:2: (this_UomoFormat_0= ruleUomoFormat | this_NumberFormat_1= ruleNumberFormat | this_CurrencyFormat_2= ruleCurrencyFormat | this_DateFormat_3= ruleDateFormat | this_DateTimeFormat_4= ruleDateTimeFormat | this_TimeFormat_5= ruleTimeFormat )
{
// InternalReportDSL.g:2917:2: (this_UomoFormat_0= ruleUomoFormat | this_NumberFormat_1= ruleNumberFormat | this_CurrencyFormat_2= ruleCurrencyFormat | this_DateFormat_3= ruleDateFormat | this_DateTimeFormat_4= ruleDateTimeFormat | this_TimeFormat_5= ruleTimeFormat )
int alt25=6;
switch ( input.LA(1) ) {
case 61:
{
alt25=1;
}
break;
case 64:
{
alt25=2;
}
break;
case 65:
{
alt25=3;
}
break;
case 66:
{
alt25=4;
}
break;
case 67:
{
alt25=5;
}
break;
case 68:
{
alt25=6;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 0, input);
throw nvae;
}
switch (alt25) {
case 1 :
// InternalReportDSL.g:2918:3: this_UomoFormat_0= ruleUomoFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatAccess().getUomoFormatParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_UomoFormat_0=ruleUomoFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_UomoFormat_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:2927:3: this_NumberFormat_1= ruleNumberFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatAccess().getNumberFormatParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_NumberFormat_1=ruleNumberFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_NumberFormat_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:2936:3: this_CurrencyFormat_2= ruleCurrencyFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatAccess().getCurrencyFormatParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_CurrencyFormat_2=ruleCurrencyFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_CurrencyFormat_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalReportDSL.g:2945:3: this_DateFormat_3= ruleDateFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatAccess().getDateFormatParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_DateFormat_3=ruleDateFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DateFormat_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// InternalReportDSL.g:2954:3: this_DateTimeFormat_4= ruleDateTimeFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatAccess().getDateTimeFormatParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_DateTimeFormat_4=ruleDateTimeFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DateTimeFormat_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalReportDSL.g:2963:3: this_TimeFormat_5= ruleTimeFormat
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSomeFormatAccess().getTimeFormatParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_TimeFormat_5=ruleTimeFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TimeFormat_5;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSomeFormat"
// $ANTLR start "entryRuleUomoFormat"
// InternalReportDSL.g:2975:1: entryRuleUomoFormat returns [EObject current=null] : iv_ruleUomoFormat= ruleUomoFormat EOF ;
public final EObject entryRuleUomoFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleUomoFormat = null;
try {
// InternalReportDSL.g:2975:51: (iv_ruleUomoFormat= ruleUomoFormat EOF )
// InternalReportDSL.g:2976:2: iv_ruleUomoFormat= ruleUomoFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUomoFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleUomoFormat=ruleUomoFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUomoFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUomoFormat"
// $ANTLR start "ruleUomoFormat"
// InternalReportDSL.g:2982:1: ruleUomoFormat returns [EObject current=null] : (otherlv_0= 'uomo' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_pattern_6_0= RULE_STRING ) ) otherlv_7= 'textalign' ( (lv_textalign_8_0= ruleTextAlignEnum ) ) otherlv_9= '}' ) ;
public final EObject ruleUomoFormat() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_ui_pattern_4_0=null;
Token otherlv_5=null;
Token lv_report_pattern_6_0=null;
Token otherlv_7=null;
Token otherlv_9=null;
Enumerator lv_textalign_8_0 = null;
enterRule();
try {
// InternalReportDSL.g:2988:2: ( (otherlv_0= 'uomo' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_pattern_6_0= RULE_STRING ) ) otherlv_7= 'textalign' ( (lv_textalign_8_0= ruleTextAlignEnum ) ) otherlv_9= '}' ) )
// InternalReportDSL.g:2989:2: (otherlv_0= 'uomo' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_pattern_6_0= RULE_STRING ) ) otherlv_7= 'textalign' ( (lv_textalign_8_0= ruleTextAlignEnum ) ) otherlv_9= '}' )
{
// InternalReportDSL.g:2989:2: (otherlv_0= 'uomo' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_pattern_6_0= RULE_STRING ) ) otherlv_7= 'textalign' ( (lv_textalign_8_0= ruleTextAlignEnum ) ) otherlv_9= '}' )
// InternalReportDSL.g:2990:3: otherlv_0= 'uomo' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_pattern_6_0= RULE_STRING ) ) otherlv_7= 'textalign' ( (lv_textalign_8_0= ruleTextAlignEnum ) ) otherlv_9= '}'
{
otherlv_0=(Token)match(input,61,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getUomoFormatAccess().getUomoKeyword_0());
}
// InternalReportDSL.g:2994:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:2995:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:2995:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:2996:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getUomoFormatAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUomoFormatRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getUomoFormatAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,62,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getUomoFormatAccess().getUiKeyword_3());
}
// InternalReportDSL.g:3020:3: ( (lv_ui_pattern_4_0= RULE_STRING ) )
// InternalReportDSL.g:3021:4: (lv_ui_pattern_4_0= RULE_STRING )
{
// InternalReportDSL.g:3021:4: (lv_ui_pattern_4_0= RULE_STRING )
// InternalReportDSL.g:3022:5: lv_ui_pattern_4_0= RULE_STRING
{
lv_ui_pattern_4_0=(Token)match(input,RULE_STRING,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ui_pattern_4_0, grammarAccess.getUomoFormatAccess().getUi_patternSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUomoFormatRule());
}
setWithLastConsumed(
current,
"ui_pattern",
lv_ui_pattern_4_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_5=(Token)match(input,63,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getUomoFormatAccess().getReportKeyword_5());
}
// InternalReportDSL.g:3042:3: ( (lv_report_pattern_6_0= RULE_STRING ) )
// InternalReportDSL.g:3043:4: (lv_report_pattern_6_0= RULE_STRING )
{
// InternalReportDSL.g:3043:4: (lv_report_pattern_6_0= RULE_STRING )
// InternalReportDSL.g:3044:5: lv_report_pattern_6_0= RULE_STRING
{
lv_report_pattern_6_0=(Token)match(input,RULE_STRING,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_report_pattern_6_0, grammarAccess.getUomoFormatAccess().getReport_patternSTRINGTerminalRuleCall_6_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUomoFormatRule());
}
setWithLastConsumed(
current,
"report_pattern",
lv_report_pattern_6_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_7=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getUomoFormatAccess().getTextalignKeyword_7());
}
// InternalReportDSL.g:3064:3: ( (lv_textalign_8_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:3065:4: (lv_textalign_8_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:3065:4: (lv_textalign_8_0= ruleTextAlignEnum )
// InternalReportDSL.g:3066:5: lv_textalign_8_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUomoFormatAccess().getTextalignTextAlignEnumEnumRuleCall_8_0());
}
pushFollow(FOLLOW_15);
lv_textalign_8_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUomoFormatRule());
}
set(
current,
"textalign",
lv_textalign_8_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_9=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getUomoFormatAccess().getRightCurlyBracketKeyword_9());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUomoFormat"
// $ANTLR start "entryRuleNumberFormat"
// InternalReportDSL.g:3091:1: entryRuleNumberFormat returns [EObject current=null] : iv_ruleNumberFormat= ruleNumberFormat EOF ;
public final EObject entryRuleNumberFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleNumberFormat = null;
try {
// InternalReportDSL.g:3091:53: (iv_ruleNumberFormat= ruleNumberFormat EOF )
// InternalReportDSL.g:3092:2: iv_ruleNumberFormat= ruleNumberFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleNumberFormat=ruleNumberFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNumberFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleNumberFormat"
// $ANTLR start "ruleNumberFormat"
// InternalReportDSL.g:3098:1: ruleNumberFormat returns [EObject current=null] : (otherlv_0= 'number' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleNumberFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) ;
public final EObject ruleNumberFormat() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_ui_pattern_4_0=null;
Token otherlv_5=null;
Token lv_report_pattern_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Enumerator lv_report_category_6_0 = null;
Enumerator lv_textalign_9_0 = null;
enterRule();
try {
// InternalReportDSL.g:3104:2: ( (otherlv_0= 'number' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleNumberFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) )
// InternalReportDSL.g:3105:2: (otherlv_0= 'number' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleNumberFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
{
// InternalReportDSL.g:3105:2: (otherlv_0= 'number' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleNumberFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
// InternalReportDSL.g:3106:3: otherlv_0= 'number' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleNumberFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}'
{
otherlv_0=(Token)match(input,64,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getNumberFormatAccess().getNumberKeyword_0());
}
// InternalReportDSL.g:3110:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:3111:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:3111:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:3112:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getNumberFormatAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getNumberFormatRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getNumberFormatAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,62,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getNumberFormatAccess().getUiKeyword_3());
}
// InternalReportDSL.g:3136:3: ( (lv_ui_pattern_4_0= RULE_STRING ) )
// InternalReportDSL.g:3137:4: (lv_ui_pattern_4_0= RULE_STRING )
{
// InternalReportDSL.g:3137:4: (lv_ui_pattern_4_0= RULE_STRING )
// InternalReportDSL.g:3138:5: lv_ui_pattern_4_0= RULE_STRING
{
lv_ui_pattern_4_0=(Token)match(input,RULE_STRING,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ui_pattern_4_0, grammarAccess.getNumberFormatAccess().getUi_patternSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getNumberFormatRule());
}
setWithLastConsumed(
current,
"ui_pattern",
lv_ui_pattern_4_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_5=(Token)match(input,63,FOLLOW_52); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getNumberFormatAccess().getReportKeyword_5());
}
// InternalReportDSL.g:3158:3: ( (lv_report_category_6_0= ruleNumberFormatCategoryEnum ) )
// InternalReportDSL.g:3159:4: (lv_report_category_6_0= ruleNumberFormatCategoryEnum )
{
// InternalReportDSL.g:3159:4: (lv_report_category_6_0= ruleNumberFormatCategoryEnum )
// InternalReportDSL.g:3160:5: lv_report_category_6_0= ruleNumberFormatCategoryEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberFormatAccess().getReport_categoryNumberFormatCategoryEnumEnumRuleCall_6_0());
}
pushFollow(FOLLOW_8);
lv_report_category_6_0=ruleNumberFormatCategoryEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getNumberFormatRule());
}
set(
current,
"report_category",
lv_report_category_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.NumberFormatCategoryEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:3177:3: ( (lv_report_pattern_7_0= RULE_STRING ) )
// InternalReportDSL.g:3178:4: (lv_report_pattern_7_0= RULE_STRING )
{
// InternalReportDSL.g:3178:4: (lv_report_pattern_7_0= RULE_STRING )
// InternalReportDSL.g:3179:5: lv_report_pattern_7_0= RULE_STRING
{
lv_report_pattern_7_0=(Token)match(input,RULE_STRING,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_report_pattern_7_0, grammarAccess.getNumberFormatAccess().getReport_patternSTRINGTerminalRuleCall_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getNumberFormatRule());
}
setWithLastConsumed(
current,
"report_pattern",
lv_report_pattern_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_8=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getNumberFormatAccess().getTextalignKeyword_8());
}
// InternalReportDSL.g:3199:3: ( (lv_textalign_9_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:3200:4: (lv_textalign_9_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:3200:4: (lv_textalign_9_0= ruleTextAlignEnum )
// InternalReportDSL.g:3201:5: lv_textalign_9_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberFormatAccess().getTextalignTextAlignEnumEnumRuleCall_9_0());
}
pushFollow(FOLLOW_15);
lv_textalign_9_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getNumberFormatRule());
}
set(
current,
"textalign",
lv_textalign_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_10=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getNumberFormatAccess().getRightCurlyBracketKeyword_10());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleNumberFormat"
// $ANTLR start "entryRuleCurrencyFormat"
// InternalReportDSL.g:3226:1: entryRuleCurrencyFormat returns [EObject current=null] : iv_ruleCurrencyFormat= ruleCurrencyFormat EOF ;
public final EObject entryRuleCurrencyFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleCurrencyFormat = null;
try {
// InternalReportDSL.g:3226:55: (iv_ruleCurrencyFormat= ruleCurrencyFormat EOF )
// InternalReportDSL.g:3227:2: iv_ruleCurrencyFormat= ruleCurrencyFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCurrencyFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleCurrencyFormat=ruleCurrencyFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCurrencyFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCurrencyFormat"
// $ANTLR start "ruleCurrencyFormat"
// InternalReportDSL.g:3233:1: ruleCurrencyFormat returns [EObject current=null] : (otherlv_0= 'currency' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) ;
public final EObject ruleCurrencyFormat() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_ui_pattern_4_0=null;
Token otherlv_5=null;
Token lv_report_pattern_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Enumerator lv_report_category_6_0 = null;
Enumerator lv_textalign_9_0 = null;
enterRule();
try {
// InternalReportDSL.g:3239:2: ( (otherlv_0= 'currency' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) )
// InternalReportDSL.g:3240:2: (otherlv_0= 'currency' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
{
// InternalReportDSL.g:3240:2: (otherlv_0= 'currency' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
// InternalReportDSL.g:3241:3: otherlv_0= 'currency' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}'
{
otherlv_0=(Token)match(input,65,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCurrencyFormatAccess().getCurrencyKeyword_0());
}
// InternalReportDSL.g:3245:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:3246:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:3246:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:3247:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getCurrencyFormatAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCurrencyFormatRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCurrencyFormatAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,62,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getCurrencyFormatAccess().getUiKeyword_3());
}
// InternalReportDSL.g:3271:3: ( (lv_ui_pattern_4_0= RULE_STRING ) )
// InternalReportDSL.g:3272:4: (lv_ui_pattern_4_0= RULE_STRING )
{
// InternalReportDSL.g:3272:4: (lv_ui_pattern_4_0= RULE_STRING )
// InternalReportDSL.g:3273:5: lv_ui_pattern_4_0= RULE_STRING
{
lv_ui_pattern_4_0=(Token)match(input,RULE_STRING,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ui_pattern_4_0, grammarAccess.getCurrencyFormatAccess().getUi_patternSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCurrencyFormatRule());
}
setWithLastConsumed(
current,
"ui_pattern",
lv_ui_pattern_4_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_5=(Token)match(input,63,FOLLOW_53); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getCurrencyFormatAccess().getReportKeyword_5());
}
// InternalReportDSL.g:3293:3: ( (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum ) )
// InternalReportDSL.g:3294:4: (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum )
{
// InternalReportDSL.g:3294:4: (lv_report_category_6_0= ruleCurrencyFormatCategoryEnum )
// InternalReportDSL.g:3295:5: lv_report_category_6_0= ruleCurrencyFormatCategoryEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCurrencyFormatAccess().getReport_categoryCurrencyFormatCategoryEnumEnumRuleCall_6_0());
}
pushFollow(FOLLOW_8);
lv_report_category_6_0=ruleCurrencyFormatCategoryEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCurrencyFormatRule());
}
set(
current,
"report_category",
lv_report_category_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.CurrencyFormatCategoryEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:3312:3: ( (lv_report_pattern_7_0= RULE_STRING ) )
// InternalReportDSL.g:3313:4: (lv_report_pattern_7_0= RULE_STRING )
{
// InternalReportDSL.g:3313:4: (lv_report_pattern_7_0= RULE_STRING )
// InternalReportDSL.g:3314:5: lv_report_pattern_7_0= RULE_STRING
{
lv_report_pattern_7_0=(Token)match(input,RULE_STRING,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_report_pattern_7_0, grammarAccess.getCurrencyFormatAccess().getReport_patternSTRINGTerminalRuleCall_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getCurrencyFormatRule());
}
setWithLastConsumed(
current,
"report_pattern",
lv_report_pattern_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_8=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getCurrencyFormatAccess().getTextalignKeyword_8());
}
// InternalReportDSL.g:3334:3: ( (lv_textalign_9_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:3335:4: (lv_textalign_9_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:3335:4: (lv_textalign_9_0= ruleTextAlignEnum )
// InternalReportDSL.g:3336:5: lv_textalign_9_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCurrencyFormatAccess().getTextalignTextAlignEnumEnumRuleCall_9_0());
}
pushFollow(FOLLOW_15);
lv_textalign_9_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCurrencyFormatRule());
}
set(
current,
"textalign",
lv_textalign_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_10=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getCurrencyFormatAccess().getRightCurlyBracketKeyword_10());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCurrencyFormat"
// $ANTLR start "entryRuleDateFormat"
// InternalReportDSL.g:3361:1: entryRuleDateFormat returns [EObject current=null] : iv_ruleDateFormat= ruleDateFormat EOF ;
public final EObject entryRuleDateFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleDateFormat = null;
try {
// InternalReportDSL.g:3361:51: (iv_ruleDateFormat= ruleDateFormat EOF )
// InternalReportDSL.g:3362:2: iv_ruleDateFormat= ruleDateFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleDateFormat=ruleDateFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDateFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDateFormat"
// $ANTLR start "ruleDateFormat"
// InternalReportDSL.g:3368:1: ruleDateFormat returns [EObject current=null] : (otherlv_0= 'date' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) ;
public final EObject ruleDateFormat() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_ui_pattern_4_0=null;
Token otherlv_5=null;
Token lv_report_pattern_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Enumerator lv_report_category_6_0 = null;
Enumerator lv_textalign_9_0 = null;
enterRule();
try {
// InternalReportDSL.g:3374:2: ( (otherlv_0= 'date' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) )
// InternalReportDSL.g:3375:2: (otherlv_0= 'date' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
{
// InternalReportDSL.g:3375:2: (otherlv_0= 'date' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
// InternalReportDSL.g:3376:3: otherlv_0= 'date' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}'
{
otherlv_0=(Token)match(input,66,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDateFormatAccess().getDateKeyword_0());
}
// InternalReportDSL.g:3380:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:3381:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:3381:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:3382:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getDateFormatAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDateFormatRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDateFormatAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,62,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDateFormatAccess().getUiKeyword_3());
}
// InternalReportDSL.g:3406:3: ( (lv_ui_pattern_4_0= RULE_STRING ) )
// InternalReportDSL.g:3407:4: (lv_ui_pattern_4_0= RULE_STRING )
{
// InternalReportDSL.g:3407:4: (lv_ui_pattern_4_0= RULE_STRING )
// InternalReportDSL.g:3408:5: lv_ui_pattern_4_0= RULE_STRING
{
lv_ui_pattern_4_0=(Token)match(input,RULE_STRING,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ui_pattern_4_0, grammarAccess.getDateFormatAccess().getUi_patternSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDateFormatRule());
}
setWithLastConsumed(
current,
"ui_pattern",
lv_ui_pattern_4_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_5=(Token)match(input,63,FOLLOW_54); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDateFormatAccess().getReportKeyword_5());
}
// InternalReportDSL.g:3428:3: ( (lv_report_category_6_0= ruleDateFormatCategoryEnum ) )
// InternalReportDSL.g:3429:4: (lv_report_category_6_0= ruleDateFormatCategoryEnum )
{
// InternalReportDSL.g:3429:4: (lv_report_category_6_0= ruleDateFormatCategoryEnum )
// InternalReportDSL.g:3430:5: lv_report_category_6_0= ruleDateFormatCategoryEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateFormatAccess().getReport_categoryDateFormatCategoryEnumEnumRuleCall_6_0());
}
pushFollow(FOLLOW_8);
lv_report_category_6_0=ruleDateFormatCategoryEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDateFormatRule());
}
set(
current,
"report_category",
lv_report_category_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DateFormatCategoryEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:3447:3: ( (lv_report_pattern_7_0= RULE_STRING ) )
// InternalReportDSL.g:3448:4: (lv_report_pattern_7_0= RULE_STRING )
{
// InternalReportDSL.g:3448:4: (lv_report_pattern_7_0= RULE_STRING )
// InternalReportDSL.g:3449:5: lv_report_pattern_7_0= RULE_STRING
{
lv_report_pattern_7_0=(Token)match(input,RULE_STRING,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_report_pattern_7_0, grammarAccess.getDateFormatAccess().getReport_patternSTRINGTerminalRuleCall_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDateFormatRule());
}
setWithLastConsumed(
current,
"report_pattern",
lv_report_pattern_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_8=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDateFormatAccess().getTextalignKeyword_8());
}
// InternalReportDSL.g:3469:3: ( (lv_textalign_9_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:3470:4: (lv_textalign_9_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:3470:4: (lv_textalign_9_0= ruleTextAlignEnum )
// InternalReportDSL.g:3471:5: lv_textalign_9_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateFormatAccess().getTextalignTextAlignEnumEnumRuleCall_9_0());
}
pushFollow(FOLLOW_15);
lv_textalign_9_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDateFormatRule());
}
set(
current,
"textalign",
lv_textalign_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_10=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDateFormatAccess().getRightCurlyBracketKeyword_10());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDateFormat"
// $ANTLR start "entryRuleDateTimeFormat"
// InternalReportDSL.g:3496:1: entryRuleDateTimeFormat returns [EObject current=null] : iv_ruleDateTimeFormat= ruleDateTimeFormat EOF ;
public final EObject entryRuleDateTimeFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleDateTimeFormat = null;
try {
// InternalReportDSL.g:3496:55: (iv_ruleDateTimeFormat= ruleDateTimeFormat EOF )
// InternalReportDSL.g:3497:2: iv_ruleDateTimeFormat= ruleDateTimeFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateTimeFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleDateTimeFormat=ruleDateTimeFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDateTimeFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDateTimeFormat"
// $ANTLR start "ruleDateTimeFormat"
// InternalReportDSL.g:3503:1: ruleDateTimeFormat returns [EObject current=null] : (otherlv_0= 'date+time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) ;
public final EObject ruleDateTimeFormat() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_ui_pattern_4_0=null;
Token otherlv_5=null;
Token lv_report_pattern_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Enumerator lv_report_category_6_0 = null;
Enumerator lv_textalign_9_0 = null;
enterRule();
try {
// InternalReportDSL.g:3509:2: ( (otherlv_0= 'date+time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) )
// InternalReportDSL.g:3510:2: (otherlv_0= 'date+time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
{
// InternalReportDSL.g:3510:2: (otherlv_0= 'date+time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
// InternalReportDSL.g:3511:3: otherlv_0= 'date+time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}'
{
otherlv_0=(Token)match(input,67,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDateTimeFormatAccess().getDateTimeKeyword_0());
}
// InternalReportDSL.g:3515:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:3516:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:3516:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:3517:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getDateTimeFormatAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDateTimeFormatRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDateTimeFormatAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,62,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDateTimeFormatAccess().getUiKeyword_3());
}
// InternalReportDSL.g:3541:3: ( (lv_ui_pattern_4_0= RULE_STRING ) )
// InternalReportDSL.g:3542:4: (lv_ui_pattern_4_0= RULE_STRING )
{
// InternalReportDSL.g:3542:4: (lv_ui_pattern_4_0= RULE_STRING )
// InternalReportDSL.g:3543:5: lv_ui_pattern_4_0= RULE_STRING
{
lv_ui_pattern_4_0=(Token)match(input,RULE_STRING,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ui_pattern_4_0, grammarAccess.getDateTimeFormatAccess().getUi_patternSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDateTimeFormatRule());
}
setWithLastConsumed(
current,
"ui_pattern",
lv_ui_pattern_4_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_5=(Token)match(input,63,FOLLOW_54); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDateTimeFormatAccess().getReportKeyword_5());
}
// InternalReportDSL.g:3563:3: ( (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum ) )
// InternalReportDSL.g:3564:4: (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum )
{
// InternalReportDSL.g:3564:4: (lv_report_category_6_0= ruleDateTimeFormatCategoryEnum )
// InternalReportDSL.g:3565:5: lv_report_category_6_0= ruleDateTimeFormatCategoryEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateTimeFormatAccess().getReport_categoryDateTimeFormatCategoryEnumEnumRuleCall_6_0());
}
pushFollow(FOLLOW_8);
lv_report_category_6_0=ruleDateTimeFormatCategoryEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDateTimeFormatRule());
}
set(
current,
"report_category",
lv_report_category_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DateTimeFormatCategoryEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:3582:3: ( (lv_report_pattern_7_0= RULE_STRING ) )
// InternalReportDSL.g:3583:4: (lv_report_pattern_7_0= RULE_STRING )
{
// InternalReportDSL.g:3583:4: (lv_report_pattern_7_0= RULE_STRING )
// InternalReportDSL.g:3584:5: lv_report_pattern_7_0= RULE_STRING
{
lv_report_pattern_7_0=(Token)match(input,RULE_STRING,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_report_pattern_7_0, grammarAccess.getDateTimeFormatAccess().getReport_patternSTRINGTerminalRuleCall_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDateTimeFormatRule());
}
setWithLastConsumed(
current,
"report_pattern",
lv_report_pattern_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_8=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDateTimeFormatAccess().getTextalignKeyword_8());
}
// InternalReportDSL.g:3604:3: ( (lv_textalign_9_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:3605:4: (lv_textalign_9_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:3605:4: (lv_textalign_9_0= ruleTextAlignEnum )
// InternalReportDSL.g:3606:5: lv_textalign_9_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateTimeFormatAccess().getTextalignTextAlignEnumEnumRuleCall_9_0());
}
pushFollow(FOLLOW_15);
lv_textalign_9_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDateTimeFormatRule());
}
set(
current,
"textalign",
lv_textalign_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_10=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDateTimeFormatAccess().getRightCurlyBracketKeyword_10());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDateTimeFormat"
// $ANTLR start "entryRuleTimeFormat"
// InternalReportDSL.g:3631:1: entryRuleTimeFormat returns [EObject current=null] : iv_ruleTimeFormat= ruleTimeFormat EOF ;
public final EObject entryRuleTimeFormat() throws RecognitionException {
EObject current = null;
EObject iv_ruleTimeFormat = null;
try {
// InternalReportDSL.g:3631:51: (iv_ruleTimeFormat= ruleTimeFormat EOF )
// InternalReportDSL.g:3632:2: iv_ruleTimeFormat= ruleTimeFormat EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTimeFormatRule());
}
pushFollow(FOLLOW_1);
iv_ruleTimeFormat=ruleTimeFormat();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTimeFormat;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTimeFormat"
// $ANTLR start "ruleTimeFormat"
// InternalReportDSL.g:3638:1: ruleTimeFormat returns [EObject current=null] : (otherlv_0= 'time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) ;
public final EObject ruleTimeFormat() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token lv_ui_pattern_4_0=null;
Token otherlv_5=null;
Token lv_report_pattern_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Enumerator lv_report_category_6_0 = null;
Enumerator lv_textalign_9_0 = null;
enterRule();
try {
// InternalReportDSL.g:3644:2: ( (otherlv_0= 'time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' ) )
// InternalReportDSL.g:3645:2: (otherlv_0= 'time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
{
// InternalReportDSL.g:3645:2: (otherlv_0= 'time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}' )
// InternalReportDSL.g:3646:3: otherlv_0= 'time' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' otherlv_3= 'ui' ( (lv_ui_pattern_4_0= RULE_STRING ) ) otherlv_5= 'report' ( (lv_report_category_6_0= ruleTimeFormatCategoryEnum ) ) ( (lv_report_pattern_7_0= RULE_STRING ) ) otherlv_8= 'textalign' ( (lv_textalign_9_0= ruleTextAlignEnum ) ) otherlv_10= '}'
{
otherlv_0=(Token)match(input,68,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTimeFormatAccess().getTimeKeyword_0());
}
// InternalReportDSL.g:3650:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:3651:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:3651:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:3652:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getTimeFormatAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTimeFormatRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getTimeFormatAccess().getLeftCurlyBracketKeyword_2());
}
otherlv_3=(Token)match(input,62,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTimeFormatAccess().getUiKeyword_3());
}
// InternalReportDSL.g:3676:3: ( (lv_ui_pattern_4_0= RULE_STRING ) )
// InternalReportDSL.g:3677:4: (lv_ui_pattern_4_0= RULE_STRING )
{
// InternalReportDSL.g:3677:4: (lv_ui_pattern_4_0= RULE_STRING )
// InternalReportDSL.g:3678:5: lv_ui_pattern_4_0= RULE_STRING
{
lv_ui_pattern_4_0=(Token)match(input,RULE_STRING,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_ui_pattern_4_0, grammarAccess.getTimeFormatAccess().getUi_patternSTRINGTerminalRuleCall_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTimeFormatRule());
}
setWithLastConsumed(
current,
"ui_pattern",
lv_ui_pattern_4_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_5=(Token)match(input,63,FOLLOW_54); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getTimeFormatAccess().getReportKeyword_5());
}
// InternalReportDSL.g:3698:3: ( (lv_report_category_6_0= ruleTimeFormatCategoryEnum ) )
// InternalReportDSL.g:3699:4: (lv_report_category_6_0= ruleTimeFormatCategoryEnum )
{
// InternalReportDSL.g:3699:4: (lv_report_category_6_0= ruleTimeFormatCategoryEnum )
// InternalReportDSL.g:3700:5: lv_report_category_6_0= ruleTimeFormatCategoryEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTimeFormatAccess().getReport_categoryTimeFormatCategoryEnumEnumRuleCall_6_0());
}
pushFollow(FOLLOW_8);
lv_report_category_6_0=ruleTimeFormatCategoryEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTimeFormatRule());
}
set(
current,
"report_category",
lv_report_category_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TimeFormatCategoryEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:3717:3: ( (lv_report_pattern_7_0= RULE_STRING ) )
// InternalReportDSL.g:3718:4: (lv_report_pattern_7_0= RULE_STRING )
{
// InternalReportDSL.g:3718:4: (lv_report_pattern_7_0= RULE_STRING )
// InternalReportDSL.g:3719:5: lv_report_pattern_7_0= RULE_STRING
{
lv_report_pattern_7_0=(Token)match(input,RULE_STRING,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_report_pattern_7_0, grammarAccess.getTimeFormatAccess().getReport_patternSTRINGTerminalRuleCall_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTimeFormatRule());
}
setWithLastConsumed(
current,
"report_pattern",
lv_report_pattern_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
otherlv_8=(Token)match(input,48,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getTimeFormatAccess().getTextalignKeyword_8());
}
// InternalReportDSL.g:3739:3: ( (lv_textalign_9_0= ruleTextAlignEnum ) )
// InternalReportDSL.g:3740:4: (lv_textalign_9_0= ruleTextAlignEnum )
{
// InternalReportDSL.g:3740:4: (lv_textalign_9_0= ruleTextAlignEnum )
// InternalReportDSL.g:3741:5: lv_textalign_9_0= ruleTextAlignEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTimeFormatAccess().getTextalignTextAlignEnumEnumRuleCall_9_0());
}
pushFollow(FOLLOW_15);
lv_textalign_9_0=ruleTextAlignEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTimeFormatRule());
}
set(
current,
"textalign",
lv_textalign_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextAlignEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_10=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getTimeFormatAccess().getRightCurlyBracketKeyword_10());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTimeFormat"
// $ANTLR start "entryRuleReport"
// InternalReportDSL.g:3766:1: entryRuleReport returns [EObject current=null] : iv_ruleReport= ruleReport EOF ;
public final EObject entryRuleReport() throws RecognitionException {
EObject current = null;
EObject iv_ruleReport = null;
try {
// InternalReportDSL.g:3766:47: (iv_ruleReport= ruleReport EOF )
// InternalReportDSL.g:3767:2: iv_ruleReport= ruleReport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportRule());
}
pushFollow(FOLLOW_1);
iv_ruleReport=ruleReport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleReport;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReport"
// $ANTLR start "ruleReport"
// InternalReportDSL.g:3773:1: ruleReport returns [EObject current=null] : (otherlv_0= 'report' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) ) )? otherlv_6= '{' otherlv_7= 'datamart' ( (otherlv_8= RULE_ID ) ) ( (lv_selectById_9_0= 'selectById' ) )? otherlv_10= 'rendering' ( (lv_rendering_11_0= ruleRenderingEnum ) ) (otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )? )? (otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) ) )? otherlv_18= 'pagetemplate' ( (otherlv_19= RULE_ID ) ) otherlv_20= 'media' ( (otherlv_21= RULE_ID ) ) ( (lv_design_22_0= ruleReportDesign ) ) otherlv_23= '}' ) ;
public final EObject ruleReport() 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_6=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token lv_selectById_9_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token lv_externalCssURI_13_0=null;
Token otherlv_14=null;
Token lv_externalCssURIBundle_15_0=null;
Token otherlv_16=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_23=null;
AntlrDatatypeRuleToken lv_descriptionValue_3_0 = null;
Enumerator lv_rendering_11_0 = null;
Enumerator lv_defaultUnit_17_0 = null;
EObject lv_design_22_0 = null;
enterRule();
try {
// InternalReportDSL.g:3779:2: ( (otherlv_0= 'report' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) ) )? otherlv_6= '{' otherlv_7= 'datamart' ( (otherlv_8= RULE_ID ) ) ( (lv_selectById_9_0= 'selectById' ) )? otherlv_10= 'rendering' ( (lv_rendering_11_0= ruleRenderingEnum ) ) (otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )? )? (otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) ) )? otherlv_18= 'pagetemplate' ( (otherlv_19= RULE_ID ) ) otherlv_20= 'media' ( (otherlv_21= RULE_ID ) ) ( (lv_design_22_0= ruleReportDesign ) ) otherlv_23= '}' ) )
// InternalReportDSL.g:3780:2: (otherlv_0= 'report' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) ) )? otherlv_6= '{' otherlv_7= 'datamart' ( (otherlv_8= RULE_ID ) ) ( (lv_selectById_9_0= 'selectById' ) )? otherlv_10= 'rendering' ( (lv_rendering_11_0= ruleRenderingEnum ) ) (otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )? )? (otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) ) )? otherlv_18= 'pagetemplate' ( (otherlv_19= RULE_ID ) ) otherlv_20= 'media' ( (otherlv_21= RULE_ID ) ) ( (lv_design_22_0= ruleReportDesign ) ) otherlv_23= '}' )
{
// InternalReportDSL.g:3780:2: (otherlv_0= 'report' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) ) )? otherlv_6= '{' otherlv_7= 'datamart' ( (otherlv_8= RULE_ID ) ) ( (lv_selectById_9_0= 'selectById' ) )? otherlv_10= 'rendering' ( (lv_rendering_11_0= ruleRenderingEnum ) ) (otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )? )? (otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) ) )? otherlv_18= 'pagetemplate' ( (otherlv_19= RULE_ID ) ) otherlv_20= 'media' ( (otherlv_21= RULE_ID ) ) ( (lv_design_22_0= ruleReportDesign ) ) otherlv_23= '}' )
// InternalReportDSL.g:3781:3: otherlv_0= 'report' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) ) )? otherlv_6= '{' otherlv_7= 'datamart' ( (otherlv_8= RULE_ID ) ) ( (lv_selectById_9_0= 'selectById' ) )? otherlv_10= 'rendering' ( (lv_rendering_11_0= ruleRenderingEnum ) ) (otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )? )? (otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) ) )? otherlv_18= 'pagetemplate' ( (otherlv_19= RULE_ID ) ) otherlv_20= 'media' ( (otherlv_21= RULE_ID ) ) ( (lv_design_22_0= ruleReportDesign ) ) otherlv_23= '}'
{
otherlv_0=(Token)match(input,63,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getReportAccess().getReportKeyword_0());
}
// InternalReportDSL.g:3785:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:3786:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:3786:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:3787:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_55); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getReportAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
// InternalReportDSL.g:3803:3: ( ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) ) )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==69) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// InternalReportDSL.g:3804:4: ( (lv_description_2_0= 'describedBy' ) ) ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) )
{
// InternalReportDSL.g:3804:4: ( (lv_description_2_0= 'describedBy' ) )
// InternalReportDSL.g:3805:5: (lv_description_2_0= 'describedBy' )
{
// InternalReportDSL.g:3805:5: (lv_description_2_0= 'describedBy' )
// InternalReportDSL.g:3806:6: lv_description_2_0= 'describedBy'
{
lv_description_2_0=(Token)match(input,69,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_description_2_0, grammarAccess.getReportAccess().getDescriptionDescribedByKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
setWithLastConsumed(current, "description", true, "describedBy");
}
}
}
// InternalReportDSL.g:3818:4: ( (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:3819:5: (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:3819:5: (lv_descriptionValue_3_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:3820:6: lv_descriptionValue_3_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_56);
lv_descriptionValue_3_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportRule());
}
set(
current,
"descriptionValue",
lv_descriptionValue_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:3838:3: (otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) ) )?
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==70) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// InternalReportDSL.g:3839:4: otherlv_4= 'toolbar' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,70,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getReportAccess().getToolbarKeyword_3_0());
}
// InternalReportDSL.g:3843:4: ( (otherlv_5= RULE_ID ) )
// InternalReportDSL.g:3844:5: (otherlv_5= RULE_ID )
{
// InternalReportDSL.g:3844:5: (otherlv_5= RULE_ID )
// InternalReportDSL.g:3845:6: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getReportAccess().getToolbarActionToolbarCrossReference_3_1_0());
}
}
}
}
break;
}
otherlv_6=(Token)match(input,14,FOLLOW_57); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getReportAccess().getLeftCurlyBracketKeyword_4());
}
otherlv_7=(Token)match(input,71,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getReportAccess().getDatamartKeyword_5());
}
// InternalReportDSL.g:3865:3: ( (otherlv_8= RULE_ID ) )
// InternalReportDSL.g:3866:4: (otherlv_8= RULE_ID )
{
// InternalReportDSL.g:3866:4: (otherlv_8= RULE_ID )
// InternalReportDSL.g:3867:5: otherlv_8= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
}
otherlv_8=(Token)match(input,RULE_ID,FOLLOW_58); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getReportAccess().getDatamartRefDatamartDefinitionCrossReference_6_0());
}
}
}
// InternalReportDSL.g:3878:3: ( (lv_selectById_9_0= 'selectById' ) )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==72) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// InternalReportDSL.g:3879:4: (lv_selectById_9_0= 'selectById' )
{
// InternalReportDSL.g:3879:4: (lv_selectById_9_0= 'selectById' )
// InternalReportDSL.g:3880:5: lv_selectById_9_0= 'selectById'
{
lv_selectById_9_0=(Token)match(input,72,FOLLOW_59); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_selectById_9_0, grammarAccess.getReportAccess().getSelectByIdSelectByIdKeyword_7_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
setWithLastConsumed(current, "selectById", true, "selectById");
}
}
}
break;
}
otherlv_10=(Token)match(input,73,FOLLOW_60); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getReportAccess().getRenderingKeyword_8());
}
// InternalReportDSL.g:3896:3: ( (lv_rendering_11_0= ruleRenderingEnum ) )
// InternalReportDSL.g:3897:4: (lv_rendering_11_0= ruleRenderingEnum )
{
// InternalReportDSL.g:3897:4: (lv_rendering_11_0= ruleRenderingEnum )
// InternalReportDSL.g:3898:5: lv_rendering_11_0= ruleRenderingEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportAccess().getRenderingRenderingEnumEnumRuleCall_9_0());
}
pushFollow(FOLLOW_61);
lv_rendering_11_0=ruleRenderingEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportRule());
}
set(
current,
"rendering",
lv_rendering_11_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.RenderingEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:3915:3: (otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )? )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==16) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// InternalReportDSL.g:3916:4: otherlv_12= 'externalCssURI' ( (lv_externalCssURI_13_0= RULE_STRING ) ) (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )?
{
otherlv_12=(Token)match(input,16,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getReportAccess().getExternalCssURIKeyword_10_0());
}
// InternalReportDSL.g:3920:4: ( (lv_externalCssURI_13_0= RULE_STRING ) )
// InternalReportDSL.g:3921:5: (lv_externalCssURI_13_0= RULE_STRING )
{
// InternalReportDSL.g:3921:5: (lv_externalCssURI_13_0= RULE_STRING )
// InternalReportDSL.g:3922:6: lv_externalCssURI_13_0= RULE_STRING
{
lv_externalCssURI_13_0=(Token)match(input,RULE_STRING,FOLLOW_62); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_externalCssURI_13_0, grammarAccess.getReportAccess().getExternalCssURISTRINGTerminalRuleCall_10_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
setWithLastConsumed(
current,
"externalCssURI",
lv_externalCssURI_13_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
// InternalReportDSL.g:3938:4: (otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) ) )?
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==17) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// InternalReportDSL.g:3939:5: otherlv_14= 'fromBundle' ( (lv_externalCssURIBundle_15_0= RULE_STRING ) )
{
otherlv_14=(Token)match(input,17,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getReportAccess().getFromBundleKeyword_10_2_0());
}
// InternalReportDSL.g:3943:5: ( (lv_externalCssURIBundle_15_0= RULE_STRING ) )
// InternalReportDSL.g:3944:6: (lv_externalCssURIBundle_15_0= RULE_STRING )
{
// InternalReportDSL.g:3944:6: (lv_externalCssURIBundle_15_0= RULE_STRING )
// InternalReportDSL.g:3945:7: lv_externalCssURIBundle_15_0= RULE_STRING
{
lv_externalCssURIBundle_15_0=(Token)match(input,RULE_STRING,FOLLOW_63); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_externalCssURIBundle_15_0, grammarAccess.getReportAccess().getExternalCssURIBundleSTRINGTerminalRuleCall_10_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
setWithLastConsumed(
current,
"externalCssURIBundle",
lv_externalCssURIBundle_15_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
break;
}
}
break;
}
// InternalReportDSL.g:3963:3: (otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) ) )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==74) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// InternalReportDSL.g:3964:4: otherlv_16= 'defaultUnit' ( (lv_defaultUnit_17_0= ruleUnitEnum ) )
{
otherlv_16=(Token)match(input,74,FOLLOW_41); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getReportAccess().getDefaultUnitKeyword_11_0());
}
// InternalReportDSL.g:3968:4: ( (lv_defaultUnit_17_0= ruleUnitEnum ) )
// InternalReportDSL.g:3969:5: (lv_defaultUnit_17_0= ruleUnitEnum )
{
// InternalReportDSL.g:3969:5: (lv_defaultUnit_17_0= ruleUnitEnum )
// InternalReportDSL.g:3970:6: lv_defaultUnit_17_0= ruleUnitEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportAccess().getDefaultUnitUnitEnumEnumRuleCall_11_1_0());
}
pushFollow(FOLLOW_64);
lv_defaultUnit_17_0=ruleUnitEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportRule());
}
set(
current,
"defaultUnit",
lv_defaultUnit_17_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnitEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_18=(Token)match(input,25,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getReportAccess().getPagetemplateKeyword_12());
}
// InternalReportDSL.g:3992:3: ( (otherlv_19= RULE_ID ) )
// InternalReportDSL.g:3993:4: (otherlv_19= RULE_ID )
{
// InternalReportDSL.g:3993:4: (otherlv_19= RULE_ID )
// InternalReportDSL.g:3994:5: otherlv_19= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
}
otherlv_19=(Token)match(input,RULE_ID,FOLLOW_65); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_19, grammarAccess.getReportAccess().getPageTemplatePageTemplateCrossReference_13_0());
}
}
}
otherlv_20=(Token)match(input,23,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getReportAccess().getMediaKeyword_14());
}
// InternalReportDSL.g:4009:3: ( (otherlv_21= RULE_ID ) )
// InternalReportDSL.g:4010:4: (otherlv_21= RULE_ID )
{
// InternalReportDSL.g:4010:4: (otherlv_21= RULE_ID )
// InternalReportDSL.g:4011:5: otherlv_21= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportRule());
}
}
otherlv_21=(Token)match(input,RULE_ID,FOLLOW_66); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_21, grammarAccess.getReportAccess().getMediaMediaCrossReference_15_0());
}
}
}
// InternalReportDSL.g:4022:3: ( (lv_design_22_0= ruleReportDesign ) )
// InternalReportDSL.g:4023:4: (lv_design_22_0= ruleReportDesign )
{
// InternalReportDSL.g:4023:4: (lv_design_22_0= ruleReportDesign )
// InternalReportDSL.g:4024:5: lv_design_22_0= ruleReportDesign
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportAccess().getDesignReportDesignParserRuleCall_16_0());
}
pushFollow(FOLLOW_15);
lv_design_22_0=ruleReportDesign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportRule());
}
set(
current,
"design",
lv_design_22_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.ReportDesign");
afterParserOrEnumRuleCall();
}
}
}
otherlv_23=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_23, grammarAccess.getReportAccess().getRightCurlyBracketKeyword_17());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReport"
// $ANTLR start "entryRuleReportDesign"
// InternalReportDSL.g:4049:1: entryRuleReportDesign returns [EObject current=null] : iv_ruleReportDesign= ruleReportDesign EOF ;
public final EObject entryRuleReportDesign() throws RecognitionException {
EObject current = null;
EObject iv_ruleReportDesign = null;
try {
// InternalReportDSL.g:4049:53: (iv_ruleReportDesign= ruleReportDesign EOF )
// InternalReportDSL.g:4050:2: iv_ruleReportDesign= ruleReportDesign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignRule());
}
pushFollow(FOLLOW_1);
iv_ruleReportDesign=ruleReportDesign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleReportDesign;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReportDesign"
// $ANTLR start "ruleReportDesign"
// InternalReportDSL.g:4056:1: ruleReportDesign returns [EObject current=null] : (this_ReportDesignFile_0= ruleReportDesignFile | this_ReportDesignTemplate_1= ruleReportDesignTemplate ) ;
public final EObject ruleReportDesign() throws RecognitionException {
EObject current = null;
EObject this_ReportDesignFile_0 = null;
EObject this_ReportDesignTemplate_1 = null;
enterRule();
try {
// InternalReportDSL.g:4062:2: ( (this_ReportDesignFile_0= ruleReportDesignFile | this_ReportDesignTemplate_1= ruleReportDesignTemplate ) )
// InternalReportDSL.g:4063:2: (this_ReportDesignFile_0= ruleReportDesignFile | this_ReportDesignTemplate_1= ruleReportDesignTemplate )
{
// InternalReportDSL.g:4063:2: (this_ReportDesignFile_0= ruleReportDesignFile | this_ReportDesignTemplate_1= ruleReportDesignTemplate )
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==75) ) {
alt32=1;
}
else if ( (LA32_0==76) ) {
alt32=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 32, 0, input);
throw nvae;
}
switch (alt32) {
case 1 :
// InternalReportDSL.g:4064:3: this_ReportDesignFile_0= ruleReportDesignFile
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignAccess().getReportDesignFileParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_ReportDesignFile_0=ruleReportDesignFile();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ReportDesignFile_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:4073:3: this_ReportDesignTemplate_1= ruleReportDesignTemplate
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignAccess().getReportDesignTemplateParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_ReportDesignTemplate_1=ruleReportDesignTemplate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ReportDesignTemplate_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReportDesign"
// $ANTLR start "entryRuleReportDesignFile"
// InternalReportDSL.g:4085:1: entryRuleReportDesignFile returns [EObject current=null] : iv_ruleReportDesignFile= ruleReportDesignFile EOF ;
public final EObject entryRuleReportDesignFile() throws RecognitionException {
EObject current = null;
EObject iv_ruleReportDesignFile = null;
try {
// InternalReportDSL.g:4085:57: (iv_ruleReportDesignFile= ruleReportDesignFile EOF )
// InternalReportDSL.g:4086:2: iv_ruleReportDesignFile= ruleReportDesignFile EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignFileRule());
}
pushFollow(FOLLOW_1);
iv_ruleReportDesignFile=ruleReportDesignFile();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleReportDesignFile;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReportDesignFile"
// $ANTLR start "ruleReportDesignFile"
// InternalReportDSL.g:4092:1: ruleReportDesignFile returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_STRING ) ) ) ;
public final EObject ruleReportDesignFile() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
enterRule();
try {
// InternalReportDSL.g:4098:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_STRING ) ) ) )
// InternalReportDSL.g:4099:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_STRING ) ) )
{
// InternalReportDSL.g:4099:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_STRING ) ) )
// InternalReportDSL.g:4100:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_STRING ) )
{
otherlv_0=(Token)match(input,75,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getReportDesignFileAccess().getFileKeyword_0());
}
// InternalReportDSL.g:4104:3: ( (lv_name_1_0= RULE_STRING ) )
// InternalReportDSL.g:4105:4: (lv_name_1_0= RULE_STRING )
{
// InternalReportDSL.g:4105:4: (lv_name_1_0= RULE_STRING )
// InternalReportDSL.g:4106:5: lv_name_1_0= RULE_STRING
{
lv_name_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getReportDesignFileAccess().getNameSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportDesignFileRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReportDesignFile"
// $ANTLR start "entryRuleReportDesignTemplate"
// InternalReportDSL.g:4126:1: entryRuleReportDesignTemplate returns [EObject current=null] : iv_ruleReportDesignTemplate= ruleReportDesignTemplate EOF ;
public final EObject entryRuleReportDesignTemplate() throws RecognitionException {
EObject current = null;
EObject iv_ruleReportDesignTemplate = null;
try {
// InternalReportDSL.g:4126:61: (iv_ruleReportDesignTemplate= ruleReportDesignTemplate EOF )
// InternalReportDSL.g:4127:2: iv_ruleReportDesignTemplate= ruleReportDesignTemplate EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignTemplateRule());
}
pushFollow(FOLLOW_1);
iv_ruleReportDesignTemplate=ruleReportDesignTemplate();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleReportDesignTemplate;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleReportDesignTemplate"
// $ANTLR start "ruleReportDesignTemplate"
// InternalReportDSL.g:4133:1: ruleReportDesignTemplate returns [EObject current=null] : (otherlv_0= 'template' otherlv_1= '{' (otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) ) )? ( (lv_header_4_0= rulePageHeader ) )? ( (lv_detail_5_0= rulePageDetail ) ) ( (lv_footer_6_0= rulePageFooter ) )? otherlv_7= '}' ) ;
public final EObject ruleReportDesignTemplate() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_description_3_0=null;
Token otherlv_7=null;
EObject lv_header_4_0 = null;
EObject lv_detail_5_0 = null;
EObject lv_footer_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:4139:2: ( (otherlv_0= 'template' otherlv_1= '{' (otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) ) )? ( (lv_header_4_0= rulePageHeader ) )? ( (lv_detail_5_0= rulePageDetail ) ) ( (lv_footer_6_0= rulePageFooter ) )? otherlv_7= '}' ) )
// InternalReportDSL.g:4140:2: (otherlv_0= 'template' otherlv_1= '{' (otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) ) )? ( (lv_header_4_0= rulePageHeader ) )? ( (lv_detail_5_0= rulePageDetail ) ) ( (lv_footer_6_0= rulePageFooter ) )? otherlv_7= '}' )
{
// InternalReportDSL.g:4140:2: (otherlv_0= 'template' otherlv_1= '{' (otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) ) )? ( (lv_header_4_0= rulePageHeader ) )? ( (lv_detail_5_0= rulePageDetail ) ) ( (lv_footer_6_0= rulePageFooter ) )? otherlv_7= '}' )
// InternalReportDSL.g:4141:3: otherlv_0= 'template' otherlv_1= '{' (otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) ) )? ( (lv_header_4_0= rulePageHeader ) )? ( (lv_detail_5_0= rulePageDetail ) ) ( (lv_footer_6_0= rulePageFooter ) )? otherlv_7= '}'
{
otherlv_0=(Token)match(input,76,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getReportDesignTemplateAccess().getTemplateKeyword_0());
}
otherlv_1=(Token)match(input,14,FOLLOW_67); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getReportDesignTemplateAccess().getLeftCurlyBracketKeyword_1());
}
// InternalReportDSL.g:4149:3: (otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) ) )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==69) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// InternalReportDSL.g:4150:4: otherlv_2= 'describedBy' ( (lv_description_3_0= RULE_STRING ) )
{
otherlv_2=(Token)match(input,69,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getReportDesignTemplateAccess().getDescribedByKeyword_2_0());
}
// InternalReportDSL.g:4154:4: ( (lv_description_3_0= RULE_STRING ) )
// InternalReportDSL.g:4155:5: (lv_description_3_0= RULE_STRING )
{
// InternalReportDSL.g:4155:5: (lv_description_3_0= RULE_STRING )
// InternalReportDSL.g:4156:6: lv_description_3_0= RULE_STRING
{
lv_description_3_0=(Token)match(input,RULE_STRING,FOLLOW_67); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_description_3_0, grammarAccess.getReportDesignTemplateAccess().getDescriptionSTRINGTerminalRuleCall_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getReportDesignTemplateRule());
}
setWithLastConsumed(
current,
"description",
lv_description_3_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
break;
}
// InternalReportDSL.g:4173:3: ( (lv_header_4_0= rulePageHeader ) )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==77) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// InternalReportDSL.g:4174:4: (lv_header_4_0= rulePageHeader )
{
// InternalReportDSL.g:4174:4: (lv_header_4_0= rulePageHeader )
// InternalReportDSL.g:4175:5: lv_header_4_0= rulePageHeader
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignTemplateAccess().getHeaderPageHeaderParserRuleCall_3_0());
}
pushFollow(FOLLOW_67);
lv_header_4_0=rulePageHeader();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportDesignTemplateRule());
}
set(
current,
"header",
lv_header_4_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageHeader");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:4192:3: ( (lv_detail_5_0= rulePageDetail ) )
// InternalReportDSL.g:4193:4: (lv_detail_5_0= rulePageDetail )
{
// InternalReportDSL.g:4193:4: (lv_detail_5_0= rulePageDetail )
// InternalReportDSL.g:4194:5: lv_detail_5_0= rulePageDetail
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignTemplateAccess().getDetailPageDetailParserRuleCall_4_0());
}
pushFollow(FOLLOW_33);
lv_detail_5_0=rulePageDetail();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportDesignTemplateRule());
}
set(
current,
"detail",
lv_detail_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageDetail");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:4211:3: ( (lv_footer_6_0= rulePageFooter ) )?
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==81) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// InternalReportDSL.g:4212:4: (lv_footer_6_0= rulePageFooter )
{
// InternalReportDSL.g:4212:4: (lv_footer_6_0= rulePageFooter )
// InternalReportDSL.g:4213:5: lv_footer_6_0= rulePageFooter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getReportDesignTemplateAccess().getFooterPageFooterParserRuleCall_5_0());
}
pushFollow(FOLLOW_15);
lv_footer_6_0=rulePageFooter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getReportDesignTemplateRule());
}
set(
current,
"footer",
lv_footer_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageFooter");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_7=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getReportDesignTemplateAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleReportDesignTemplate"
// $ANTLR start "entryRulePageHeader"
// InternalReportDSL.g:4238:1: entryRulePageHeader returns [EObject current=null] : iv_rulePageHeader= rulePageHeader EOF ;
public final EObject entryRulePageHeader() throws RecognitionException {
EObject current = null;
EObject iv_rulePageHeader = null;
try {
// InternalReportDSL.g:4238:51: (iv_rulePageHeader= rulePageHeader EOF )
// InternalReportDSL.g:4239:2: iv_rulePageHeader= rulePageHeader EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageHeaderRule());
}
pushFollow(FOLLOW_1);
iv_rulePageHeader=rulePageHeader();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePageHeader;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePageHeader"
// $ANTLR start "rulePageHeader"
// InternalReportDSL.g:4245:1: rulePageHeader returns [EObject current=null] : ( () otherlv_1= 'header' otherlv_2= '{' ( (lv_showOnFirst_3_0= 'showOnFirst' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' ) ;
public final EObject rulePageHeader() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_showOnFirst_3_0=null;
Token otherlv_4=null;
Token otherlv_7=null;
AntlrDatatypeRuleToken lv_heightValue_5_0 = null;
EObject lv_elements_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:4251:2: ( ( () otherlv_1= 'header' otherlv_2= '{' ( (lv_showOnFirst_3_0= 'showOnFirst' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' ) )
// InternalReportDSL.g:4252:2: ( () otherlv_1= 'header' otherlv_2= '{' ( (lv_showOnFirst_3_0= 'showOnFirst' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' )
{
// InternalReportDSL.g:4252:2: ( () otherlv_1= 'header' otherlv_2= '{' ( (lv_showOnFirst_3_0= 'showOnFirst' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' )
// InternalReportDSL.g:4253:3: () otherlv_1= 'header' otherlv_2= '{' ( (lv_showOnFirst_3_0= 'showOnFirst' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}'
{
// InternalReportDSL.g:4253:3: ()
// InternalReportDSL.g:4254:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPageHeaderAccess().getPageHeaderAction_0(),
current);
}
}
otherlv_1=(Token)match(input,77,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPageHeaderAccess().getHeaderKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_68); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPageHeaderAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:4268:3: ( (lv_showOnFirst_3_0= 'showOnFirst' ) )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==78) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// InternalReportDSL.g:4269:4: (lv_showOnFirst_3_0= 'showOnFirst' )
{
// InternalReportDSL.g:4269:4: (lv_showOnFirst_3_0= 'showOnFirst' )
// InternalReportDSL.g:4270:5: lv_showOnFirst_3_0= 'showOnFirst'
{
lv_showOnFirst_3_0=(Token)match(input,78,FOLLOW_69); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_showOnFirst_3_0, grammarAccess.getPageHeaderAccess().getShowOnFirstShowOnFirstKeyword_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPageHeaderRule());
}
setWithLastConsumed(current, "showOnFirst", true, "showOnFirst");
}
}
}
break;
}
otherlv_4=(Token)match(input,79,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPageHeaderAccess().getHeightKeyword_4());
}
// InternalReportDSL.g:4286:3: ( (lv_heightValue_5_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:4287:4: (lv_heightValue_5_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:4287:4: (lv_heightValue_5_0= ruleUnsignedNumber )
// InternalReportDSL.g:4288:5: lv_heightValue_5_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageHeaderAccess().getHeightValueUnsignedNumberParserRuleCall_5_0());
}
pushFollow(FOLLOW_70);
lv_heightValue_5_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageHeaderRule());
}
set(
current,
"heightValue",
lv_heightValue_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:4305:3: ( (lv_elements_6_0= ruleElement ) )
// InternalReportDSL.g:4306:4: (lv_elements_6_0= ruleElement )
{
// InternalReportDSL.g:4306:4: (lv_elements_6_0= ruleElement )
// InternalReportDSL.g:4307:5: lv_elements_6_0= ruleElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageHeaderAccess().getElementsElementParserRuleCall_6_0());
}
pushFollow(FOLLOW_15);
lv_elements_6_0=ruleElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageHeaderRule());
}
add(
current,
"elements",
lv_elements_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Element");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getPageHeaderAccess().getRightCurlyBracketKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageHeader"
// $ANTLR start "entryRulePageDetail"
// InternalReportDSL.g:4332:1: entryRulePageDetail returns [EObject current=null] : iv_rulePageDetail= rulePageDetail EOF ;
public final EObject entryRulePageDetail() throws RecognitionException {
EObject current = null;
EObject iv_rulePageDetail = null;
try {
// InternalReportDSL.g:4332:51: (iv_rulePageDetail= rulePageDetail EOF )
// InternalReportDSL.g:4333:2: iv_rulePageDetail= rulePageDetail EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageDetailRule());
}
pushFollow(FOLLOW_1);
iv_rulePageDetail=rulePageDetail();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePageDetail;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePageDetail"
// $ANTLR start "rulePageDetail"
// InternalReportDSL.g:4339:1: rulePageDetail returns [EObject current=null] : ( () otherlv_1= 'detail' otherlv_2= '{' ( (lv_elements_3_0= ruleElement ) )* otherlv_4= '}' ) ;
public final EObject rulePageDetail() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_elements_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:4345:2: ( ( () otherlv_1= 'detail' otherlv_2= '{' ( (lv_elements_3_0= ruleElement ) )* otherlv_4= '}' ) )
// InternalReportDSL.g:4346:2: ( () otherlv_1= 'detail' otherlv_2= '{' ( (lv_elements_3_0= ruleElement ) )* otherlv_4= '}' )
{
// InternalReportDSL.g:4346:2: ( () otherlv_1= 'detail' otherlv_2= '{' ( (lv_elements_3_0= ruleElement ) )* otherlv_4= '}' )
// InternalReportDSL.g:4347:3: () otherlv_1= 'detail' otherlv_2= '{' ( (lv_elements_3_0= ruleElement ) )* otherlv_4= '}'
{
// InternalReportDSL.g:4347:3: ()
// InternalReportDSL.g:4348:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPageDetailAccess().getPageDetailAction_0(),
current);
}
}
otherlv_1=(Token)match(input,80,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPageDetailAccess().getDetailKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPageDetailAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:4362:3: ( (lv_elements_3_0= ruleElement ) )*
loop37:
do {
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==83||LA37_0==89||(LA37_0>=99 && LA37_0<=100)||LA37_0==102||(LA37_0>=106 && LA37_0<=107)||(LA37_0>=120 && LA37_0<=125)) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// InternalReportDSL.g:4363:4: (lv_elements_3_0= ruleElement )
{
// InternalReportDSL.g:4363:4: (lv_elements_3_0= ruleElement )
// InternalReportDSL.g:4364:5: lv_elements_3_0= ruleElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageDetailAccess().getElementsElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_71);
lv_elements_3_0=ruleElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageDetailRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Element");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop37;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPageDetailAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageDetail"
// $ANTLR start "entryRulePageFooter"
// InternalReportDSL.g:4389:1: entryRulePageFooter returns [EObject current=null] : iv_rulePageFooter= rulePageFooter EOF ;
public final EObject entryRulePageFooter() throws RecognitionException {
EObject current = null;
EObject iv_rulePageFooter = null;
try {
// InternalReportDSL.g:4389:51: (iv_rulePageFooter= rulePageFooter EOF )
// InternalReportDSL.g:4390:2: iv_rulePageFooter= rulePageFooter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageFooterRule());
}
pushFollow(FOLLOW_1);
iv_rulePageFooter=rulePageFooter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePageFooter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePageFooter"
// $ANTLR start "rulePageFooter"
// InternalReportDSL.g:4396:1: rulePageFooter returns [EObject current=null] : ( () otherlv_1= 'footer' otherlv_2= '{' ( (lv_showOnLast_3_0= 'showOnLast' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' ) ;
public final EObject rulePageFooter() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_showOnLast_3_0=null;
Token otherlv_4=null;
Token otherlv_7=null;
AntlrDatatypeRuleToken lv_heightValue_5_0 = null;
EObject lv_elements_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:4402:2: ( ( () otherlv_1= 'footer' otherlv_2= '{' ( (lv_showOnLast_3_0= 'showOnLast' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' ) )
// InternalReportDSL.g:4403:2: ( () otherlv_1= 'footer' otherlv_2= '{' ( (lv_showOnLast_3_0= 'showOnLast' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' )
{
// InternalReportDSL.g:4403:2: ( () otherlv_1= 'footer' otherlv_2= '{' ( (lv_showOnLast_3_0= 'showOnLast' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}' )
// InternalReportDSL.g:4404:3: () otherlv_1= 'footer' otherlv_2= '{' ( (lv_showOnLast_3_0= 'showOnLast' ) )? otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_elements_6_0= ruleElement ) ) otherlv_7= '}'
{
// InternalReportDSL.g:4404:3: ()
// InternalReportDSL.g:4405:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPageFooterAccess().getPageFooterAction_0(),
current);
}
}
otherlv_1=(Token)match(input,81,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPageFooterAccess().getFooterKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_72); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPageFooterAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:4419:3: ( (lv_showOnLast_3_0= 'showOnLast' ) )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==82) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// InternalReportDSL.g:4420:4: (lv_showOnLast_3_0= 'showOnLast' )
{
// InternalReportDSL.g:4420:4: (lv_showOnLast_3_0= 'showOnLast' )
// InternalReportDSL.g:4421:5: lv_showOnLast_3_0= 'showOnLast'
{
lv_showOnLast_3_0=(Token)match(input,82,FOLLOW_69); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_showOnLast_3_0, grammarAccess.getPageFooterAccess().getShowOnLastShowOnLastKeyword_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPageFooterRule());
}
setWithLastConsumed(current, "showOnLast", true, "showOnLast");
}
}
}
break;
}
otherlv_4=(Token)match(input,79,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPageFooterAccess().getHeightKeyword_4());
}
// InternalReportDSL.g:4437:3: ( (lv_heightValue_5_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:4438:4: (lv_heightValue_5_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:4438:4: (lv_heightValue_5_0= ruleUnsignedNumber )
// InternalReportDSL.g:4439:5: lv_heightValue_5_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageFooterAccess().getHeightValueUnsignedNumberParserRuleCall_5_0());
}
pushFollow(FOLLOW_70);
lv_heightValue_5_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageFooterRule());
}
set(
current,
"heightValue",
lv_heightValue_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:4456:3: ( (lv_elements_6_0= ruleElement ) )
// InternalReportDSL.g:4457:4: (lv_elements_6_0= ruleElement )
{
// InternalReportDSL.g:4457:4: (lv_elements_6_0= ruleElement )
// InternalReportDSL.g:4458:5: lv_elements_6_0= ruleElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageFooterAccess().getElementsElementParserRuleCall_6_0());
}
pushFollow(FOLLOW_15);
lv_elements_6_0=ruleElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageFooterRule());
}
add(
current,
"elements",
lv_elements_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Element");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getPageFooterAccess().getRightCurlyBracketKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageFooter"
// $ANTLR start "entryRuleElement"
// InternalReportDSL.g:4483:1: entryRuleElement returns [EObject current=null] : iv_ruleElement= ruleElement EOF ;
public final EObject entryRuleElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleElement = null;
try {
// InternalReportDSL.g:4483:48: (iv_ruleElement= ruleElement EOF )
// InternalReportDSL.g:4484:2: iv_ruleElement= ruleElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementRule());
}
pushFollow(FOLLOW_1);
iv_ruleElement=ruleElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleElement;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleElement"
// $ANTLR start "ruleElement"
// InternalReportDSL.g:4490:1: ruleElement returns [EObject current=null] : (this_Title_0= ruleTitle | this_SubTitle_1= ruleSubTitle | this_SubSubTitle_2= ruleSubSubTitle | this_Label_3= ruleLabel | this_Text_4= ruleText | this_NonTranslatableText_5= ruleNonTranslatableText | this_AutoText_6= ruleAutoText | this_StringBinder_7= ruleStringBinder | this_Image_8= ruleImage | this_DatamartTable_9= ruleDatamartTable | this_DatamartTableAttribute_10= ruleDatamartTableAttribute | this_Grid_11= ruleGrid ) ;
public final EObject ruleElement() throws RecognitionException {
EObject current = null;
EObject this_Title_0 = null;
EObject this_SubTitle_1 = null;
EObject this_SubSubTitle_2 = null;
EObject this_Label_3 = null;
EObject this_Text_4 = null;
EObject this_NonTranslatableText_5 = null;
EObject this_AutoText_6 = null;
EObject this_StringBinder_7 = null;
EObject this_Image_8 = null;
EObject this_DatamartTable_9 = null;
EObject this_DatamartTableAttribute_10 = null;
EObject this_Grid_11 = null;
enterRule();
try {
// InternalReportDSL.g:4496:2: ( (this_Title_0= ruleTitle | this_SubTitle_1= ruleSubTitle | this_SubSubTitle_2= ruleSubSubTitle | this_Label_3= ruleLabel | this_Text_4= ruleText | this_NonTranslatableText_5= ruleNonTranslatableText | this_AutoText_6= ruleAutoText | this_StringBinder_7= ruleStringBinder | this_Image_8= ruleImage | this_DatamartTable_9= ruleDatamartTable | this_DatamartTableAttribute_10= ruleDatamartTableAttribute | this_Grid_11= ruleGrid ) )
// InternalReportDSL.g:4497:2: (this_Title_0= ruleTitle | this_SubTitle_1= ruleSubTitle | this_SubSubTitle_2= ruleSubSubTitle | this_Label_3= ruleLabel | this_Text_4= ruleText | this_NonTranslatableText_5= ruleNonTranslatableText | this_AutoText_6= ruleAutoText | this_StringBinder_7= ruleStringBinder | this_Image_8= ruleImage | this_DatamartTable_9= ruleDatamartTable | this_DatamartTableAttribute_10= ruleDatamartTableAttribute | this_Grid_11= ruleGrid )
{
// InternalReportDSL.g:4497:2: (this_Title_0= ruleTitle | this_SubTitle_1= ruleSubTitle | this_SubSubTitle_2= ruleSubSubTitle | this_Label_3= ruleLabel | this_Text_4= ruleText | this_NonTranslatableText_5= ruleNonTranslatableText | this_AutoText_6= ruleAutoText | this_StringBinder_7= ruleStringBinder | this_Image_8= ruleImage | this_DatamartTable_9= ruleDatamartTable | this_DatamartTableAttribute_10= ruleDatamartTableAttribute | this_Grid_11= ruleGrid )
int alt39=12;
switch ( input.LA(1) ) {
case 102:
{
alt39=1;
}
break;
case 120:
{
alt39=2;
}
break;
case 121:
{
alt39=3;
}
break;
case 122:
{
alt39=4;
}
break;
case 123:
{
alt39=5;
}
break;
case 106:
{
alt39=6;
}
break;
case 124:
{
alt39=7;
}
break;
case 107:
{
alt39=8;
}
break;
case 125:
{
alt39=9;
}
break;
case 89:
{
alt39=10;
}
break;
case 99:
case 100:
{
alt39=11;
}
break;
case 83:
{
alt39=12;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// InternalReportDSL.g:4498:3: this_Title_0= ruleTitle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getTitleParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_Title_0=ruleTitle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_Title_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:4507:3: this_SubTitle_1= ruleSubTitle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getSubTitleParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_SubTitle_1=ruleSubTitle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_SubTitle_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:4516:3: this_SubSubTitle_2= ruleSubSubTitle
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getSubSubTitleParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_SubSubTitle_2=ruleSubSubTitle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_SubSubTitle_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalReportDSL.g:4525:3: this_Label_3= ruleLabel
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getLabelParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_Label_3=ruleLabel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_Label_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// InternalReportDSL.g:4534:3: this_Text_4= ruleText
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getTextParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_Text_4=ruleText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_Text_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalReportDSL.g:4543:3: this_NonTranslatableText_5= ruleNonTranslatableText
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getNonTranslatableTextParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_NonTranslatableText_5=ruleNonTranslatableText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_NonTranslatableText_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalReportDSL.g:4552:3: this_AutoText_6= ruleAutoText
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getAutoTextParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_AutoText_6=ruleAutoText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AutoText_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// InternalReportDSL.g:4561:3: this_StringBinder_7= ruleStringBinder
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getStringBinderParserRuleCall_7());
}
pushFollow(FOLLOW_2);
this_StringBinder_7=ruleStringBinder();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_StringBinder_7;
afterParserOrEnumRuleCall();
}
}
break;
case 9 :
// InternalReportDSL.g:4570:3: this_Image_8= ruleImage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getImageParserRuleCall_8());
}
pushFollow(FOLLOW_2);
this_Image_8=ruleImage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_Image_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// InternalReportDSL.g:4579:3: this_DatamartTable_9= ruleDatamartTable
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getDatamartTableParserRuleCall_9());
}
pushFollow(FOLLOW_2);
this_DatamartTable_9=ruleDatamartTable();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartTable_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// InternalReportDSL.g:4588:3: this_DatamartTableAttribute_10= ruleDatamartTableAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getDatamartTableAttributeParserRuleCall_10());
}
pushFollow(FOLLOW_2);
this_DatamartTableAttribute_10=ruleDatamartTableAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DatamartTableAttribute_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// InternalReportDSL.g:4597:3: this_Grid_11= ruleGrid
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElementAccess().getGridParserRuleCall_11());
}
pushFollow(FOLLOW_2);
this_Grid_11=ruleGrid();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_Grid_11;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleElement"
// $ANTLR start "entryRuleGrid"
// InternalReportDSL.g:4609:1: entryRuleGrid returns [EObject current=null] : iv_ruleGrid= ruleGrid EOF ;
public final EObject entryRuleGrid() throws RecognitionException {
EObject current = null;
EObject iv_ruleGrid = null;
try {
// InternalReportDSL.g:4609:45: (iv_ruleGrid= ruleGrid EOF )
// InternalReportDSL.g:4610:2: iv_ruleGrid= ruleGrid EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridRule());
}
pushFollow(FOLLOW_1);
iv_ruleGrid=ruleGrid();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleGrid;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleGrid"
// $ANTLR start "ruleGrid"
// InternalReportDSL.g:4616:1: ruleGrid returns [EObject current=null] : ( () otherlv_1= 'grid' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_6_0= ruleVisibility ) )? otherlv_7= '{' ( (lv_rows_8_0= ruleGridRow ) )* otherlv_9= '}' ) ;
public final EObject ruleGrid() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_name_3_0=null;
Token otherlv_4=null;
Token otherlv_7=null;
Token otherlv_9=null;
AntlrDatatypeRuleToken lv_widthValue_5_0 = null;
EObject lv_visibilityItem_6_0 = null;
EObject lv_rows_8_0 = null;
enterRule();
try {
// InternalReportDSL.g:4622:2: ( ( () otherlv_1= 'grid' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_6_0= ruleVisibility ) )? otherlv_7= '{' ( (lv_rows_8_0= ruleGridRow ) )* otherlv_9= '}' ) )
// InternalReportDSL.g:4623:2: ( () otherlv_1= 'grid' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_6_0= ruleVisibility ) )? otherlv_7= '{' ( (lv_rows_8_0= ruleGridRow ) )* otherlv_9= '}' )
{
// InternalReportDSL.g:4623:2: ( () otherlv_1= 'grid' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_6_0= ruleVisibility ) )? otherlv_7= '{' ( (lv_rows_8_0= ruleGridRow ) )* otherlv_9= '}' )
// InternalReportDSL.g:4624:3: () otherlv_1= 'grid' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_6_0= ruleVisibility ) )? otherlv_7= '{' ( (lv_rows_8_0= ruleGridRow ) )* otherlv_9= '}'
{
// InternalReportDSL.g:4624:3: ()
// InternalReportDSL.g:4625:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getGridAccess().getGridAction_0(),
current);
}
}
otherlv_1=(Token)match(input,83,FOLLOW_73); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getGridAccess().getGridKeyword_1());
}
// InternalReportDSL.g:4635:3: (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )?
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==84) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// InternalReportDSL.g:4636:4: otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) )
{
otherlv_2=(Token)match(input,84,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getGridAccess().getAsKeyword_2_0());
}
// InternalReportDSL.g:4640:4: ( (lv_name_3_0= RULE_ID ) )
// InternalReportDSL.g:4641:5: (lv_name_3_0= RULE_ID )
{
// InternalReportDSL.g:4641:5: (lv_name_3_0= RULE_ID )
// InternalReportDSL.g:4642:6: lv_name_3_0= RULE_ID
{
lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_74); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_3_0, grammarAccess.getGridAccess().getNameIDTerminalRuleCall_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getGridRule());
}
setWithLastConsumed(
current,
"name",
lv_name_3_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
}
break;
}
// InternalReportDSL.g:4659:3: (otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) ) )?
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==85) ) {
alt41=1;
}
switch (alt41) {
case 1 :
// InternalReportDSL.g:4660:4: otherlv_4= 'width' ( (lv_widthValue_5_0= ruleUnsignedNumber ) )
{
otherlv_4=(Token)match(input,85,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getGridAccess().getWidthKeyword_3_0());
}
// InternalReportDSL.g:4664:4: ( (lv_widthValue_5_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:4665:5: (lv_widthValue_5_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:4665:5: (lv_widthValue_5_0= ruleUnsignedNumber )
// InternalReportDSL.g:4666:6: lv_widthValue_5_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridAccess().getWidthValueUnsignedNumberParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_75);
lv_widthValue_5_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridRule());
}
set(
current,
"widthValue",
lv_widthValue_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:4684:3: ( (lv_visibilityItem_6_0= ruleVisibility ) )?
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==115) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// InternalReportDSL.g:4685:4: (lv_visibilityItem_6_0= ruleVisibility )
{
// InternalReportDSL.g:4685:4: (lv_visibilityItem_6_0= ruleVisibility )
// InternalReportDSL.g:4686:5: lv_visibilityItem_6_0= ruleVisibility
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridAccess().getVisibilityItemVisibilityParserRuleCall_4_0());
}
pushFollow(FOLLOW_5);
lv_visibilityItem_6_0=ruleVisibility();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridRule());
}
set(
current,
"visibilityItem",
lv_visibilityItem_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Visibility");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_7=(Token)match(input,14,FOLLOW_76); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getGridAccess().getLeftCurlyBracketKeyword_5());
}
// InternalReportDSL.g:4707:3: ( (lv_rows_8_0= ruleGridRow ) )*
loop43:
do {
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==86) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// InternalReportDSL.g:4708:4: (lv_rows_8_0= ruleGridRow )
{
// InternalReportDSL.g:4708:4: (lv_rows_8_0= ruleGridRow )
// InternalReportDSL.g:4709:5: lv_rows_8_0= ruleGridRow
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridAccess().getRowsGridRowParserRuleCall_6_0());
}
pushFollow(FOLLOW_76);
lv_rows_8_0=ruleGridRow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridRule());
}
add(
current,
"rows",
lv_rows_8_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.GridRow");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop43;
}
} while (true);
otherlv_9=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getGridAccess().getRightCurlyBracketKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleGrid"
// $ANTLR start "entryRuleGridRow"
// InternalReportDSL.g:4734:1: entryRuleGridRow returns [EObject current=null] : iv_ruleGridRow= ruleGridRow EOF ;
public final EObject entryRuleGridRow() throws RecognitionException {
EObject current = null;
EObject iv_ruleGridRow = null;
try {
// InternalReportDSL.g:4734:48: (iv_ruleGridRow= ruleGridRow EOF )
// InternalReportDSL.g:4735:2: iv_ruleGridRow= ruleGridRow EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridRowRule());
}
pushFollow(FOLLOW_1);
iv_ruleGridRow=ruleGridRow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleGridRow;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleGridRow"
// $ANTLR start "ruleGridRow"
// InternalReportDSL.g:4741:1: ruleGridRow returns [EObject current=null] : ( () otherlv_1= 'row' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_8_0= ruleVisibility ) )? otherlv_9= '{' ( (lv_cells_10_0= ruleGridCell ) )* otherlv_11= '}' ) ;
public final EObject ruleGridRow() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_name_3_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_9=null;
Token otherlv_11=null;
AntlrDatatypeRuleToken lv_heightValue_7_0 = null;
EObject lv_visibilityItem_8_0 = null;
EObject lv_cells_10_0 = null;
enterRule();
try {
// InternalReportDSL.g:4747:2: ( ( () otherlv_1= 'row' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_8_0= ruleVisibility ) )? otherlv_9= '{' ( (lv_cells_10_0= ruleGridCell ) )* otherlv_11= '}' ) )
// InternalReportDSL.g:4748:2: ( () otherlv_1= 'row' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_8_0= ruleVisibility ) )? otherlv_9= '{' ( (lv_cells_10_0= ruleGridCell ) )* otherlv_11= '}' )
{
// InternalReportDSL.g:4748:2: ( () otherlv_1= 'row' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_8_0= ruleVisibility ) )? otherlv_9= '{' ( (lv_cells_10_0= ruleGridCell ) )* otherlv_11= '}' )
// InternalReportDSL.g:4749:3: () otherlv_1= 'row' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) ) )? ( (lv_visibilityItem_8_0= ruleVisibility ) )? otherlv_9= '{' ( (lv_cells_10_0= ruleGridCell ) )* otherlv_11= '}'
{
// InternalReportDSL.g:4749:3: ()
// InternalReportDSL.g:4750:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getGridRowAccess().getGridRowAction_0(),
current);
}
}
otherlv_1=(Token)match(input,86,FOLLOW_77); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getGridRowAccess().getRowKeyword_1());
}
// InternalReportDSL.g:4760:3: (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==84) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// InternalReportDSL.g:4761:4: otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) )
{
otherlv_2=(Token)match(input,84,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getGridRowAccess().getAsKeyword_2_0());
}
// InternalReportDSL.g:4765:4: ( (lv_name_3_0= RULE_ID ) )
// InternalReportDSL.g:4766:5: (lv_name_3_0= RULE_ID )
{
// InternalReportDSL.g:4766:5: (lv_name_3_0= RULE_ID )
// InternalReportDSL.g:4767:6: lv_name_3_0= RULE_ID
{
lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_78); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_3_0, grammarAccess.getGridRowAccess().getNameIDTerminalRuleCall_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getGridRowRule());
}
setWithLastConsumed(
current,
"name",
lv_name_3_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
}
break;
}
// InternalReportDSL.g:4784:3: (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )?
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==43) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// InternalReportDSL.g:4785:4: otherlv_4= 'style' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getGridRowAccess().getStyleKeyword_3_0());
}
// InternalReportDSL.g:4789:4: ( (otherlv_5= RULE_ID ) )
// InternalReportDSL.g:4790:5: (otherlv_5= RULE_ID )
{
// InternalReportDSL.g:4790:5: (otherlv_5= RULE_ID )
// InternalReportDSL.g:4791:6: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getGridRowRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_79); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getGridRowAccess().getStyleStyleCrossReference_3_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:4803:3: (otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) ) )?
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==79) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// InternalReportDSL.g:4804:4: otherlv_6= 'height' ( (lv_heightValue_7_0= ruleUnsignedNumber ) )
{
otherlv_6=(Token)match(input,79,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getGridRowAccess().getHeightKeyword_4_0());
}
// InternalReportDSL.g:4808:4: ( (lv_heightValue_7_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:4809:5: (lv_heightValue_7_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:4809:5: (lv_heightValue_7_0= ruleUnsignedNumber )
// InternalReportDSL.g:4810:6: lv_heightValue_7_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridRowAccess().getHeightValueUnsignedNumberParserRuleCall_4_1_0());
}
pushFollow(FOLLOW_75);
lv_heightValue_7_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridRowRule());
}
set(
current,
"heightValue",
lv_heightValue_7_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:4828:3: ( (lv_visibilityItem_8_0= ruleVisibility ) )?
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==115) ) {
alt47=1;
}
switch (alt47) {
case 1 :
// InternalReportDSL.g:4829:4: (lv_visibilityItem_8_0= ruleVisibility )
{
// InternalReportDSL.g:4829:4: (lv_visibilityItem_8_0= ruleVisibility )
// InternalReportDSL.g:4830:5: lv_visibilityItem_8_0= ruleVisibility
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridRowAccess().getVisibilityItemVisibilityParserRuleCall_5_0());
}
pushFollow(FOLLOW_5);
lv_visibilityItem_8_0=ruleVisibility();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridRowRule());
}
set(
current,
"visibilityItem",
lv_visibilityItem_8_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Visibility");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_9=(Token)match(input,14,FOLLOW_80); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getGridRowAccess().getLeftCurlyBracketKeyword_6());
}
// InternalReportDSL.g:4851:3: ( (lv_cells_10_0= ruleGridCell ) )*
loop48:
do {
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==87) ) {
alt48=1;
}
switch (alt48) {
case 1 :
// InternalReportDSL.g:4852:4: (lv_cells_10_0= ruleGridCell )
{
// InternalReportDSL.g:4852:4: (lv_cells_10_0= ruleGridCell )
// InternalReportDSL.g:4853:5: lv_cells_10_0= ruleGridCell
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridRowAccess().getCellsGridCellParserRuleCall_7_0());
}
pushFollow(FOLLOW_80);
lv_cells_10_0=ruleGridCell();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridRowRule());
}
add(
current,
"cells",
lv_cells_10_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.GridCell");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop48;
}
} while (true);
otherlv_11=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getGridRowAccess().getRightCurlyBracketKeyword_8());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleGridRow"
// $ANTLR start "entryRuleGridCell"
// InternalReportDSL.g:4878:1: entryRuleGridCell returns [EObject current=null] : iv_ruleGridCell= ruleGridCell EOF ;
public final EObject entryRuleGridCell() throws RecognitionException {
EObject current = null;
EObject iv_ruleGridCell = null;
try {
// InternalReportDSL.g:4878:49: (iv_ruleGridCell= ruleGridCell EOF )
// InternalReportDSL.g:4879:2: iv_ruleGridCell= ruleGridCell EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridCellRule());
}
pushFollow(FOLLOW_1);
iv_ruleGridCell=ruleGridCell();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleGridCell;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleGridCell"
// $ANTLR start "ruleGridCell"
// InternalReportDSL.g:4885:1: ruleGridCell returns [EObject current=null] : ( () otherlv_1= 'cell' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) ) )? (otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) ) )? ( (lv_visibilityItem_10_0= ruleVisibility ) )? otherlv_11= '{' ( (lv_elements_12_0= ruleElement ) )* otherlv_13= '}' ) ;
public final EObject ruleGridCell() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_name_3_0=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token lv_columnspan_9_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
AntlrDatatypeRuleToken lv_widthValue_7_0 = null;
EObject lv_visibilityItem_10_0 = null;
EObject lv_elements_12_0 = null;
enterRule();
try {
// InternalReportDSL.g:4891:2: ( ( () otherlv_1= 'cell' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) ) )? (otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) ) )? ( (lv_visibilityItem_10_0= ruleVisibility ) )? otherlv_11= '{' ( (lv_elements_12_0= ruleElement ) )* otherlv_13= '}' ) )
// InternalReportDSL.g:4892:2: ( () otherlv_1= 'cell' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) ) )? (otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) ) )? ( (lv_visibilityItem_10_0= ruleVisibility ) )? otherlv_11= '{' ( (lv_elements_12_0= ruleElement ) )* otherlv_13= '}' )
{
// InternalReportDSL.g:4892:2: ( () otherlv_1= 'cell' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) ) )? (otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) ) )? ( (lv_visibilityItem_10_0= ruleVisibility ) )? otherlv_11= '{' ( (lv_elements_12_0= ruleElement ) )* otherlv_13= '}' )
// InternalReportDSL.g:4893:3: () otherlv_1= 'cell' (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )? (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? (otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) ) )? (otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) ) )? ( (lv_visibilityItem_10_0= ruleVisibility ) )? otherlv_11= '{' ( (lv_elements_12_0= ruleElement ) )* otherlv_13= '}'
{
// InternalReportDSL.g:4893:3: ()
// InternalReportDSL.g:4894:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getGridCellAccess().getGridCellAction_0(),
current);
}
}
otherlv_1=(Token)match(input,87,FOLLOW_81); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getGridCellAccess().getCellKeyword_1());
}
// InternalReportDSL.g:4904:3: (otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) ) )?
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==84) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// InternalReportDSL.g:4905:4: otherlv_2= 'as' ( (lv_name_3_0= RULE_ID ) )
{
otherlv_2=(Token)match(input,84,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getGridCellAccess().getAsKeyword_2_0());
}
// InternalReportDSL.g:4909:4: ( (lv_name_3_0= RULE_ID ) )
// InternalReportDSL.g:4910:5: (lv_name_3_0= RULE_ID )
{
// InternalReportDSL.g:4910:5: (lv_name_3_0= RULE_ID )
// InternalReportDSL.g:4911:6: lv_name_3_0= RULE_ID
{
lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_82); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_3_0, grammarAccess.getGridCellAccess().getNameIDTerminalRuleCall_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getGridCellRule());
}
setWithLastConsumed(
current,
"name",
lv_name_3_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
}
break;
}
// InternalReportDSL.g:4928:3: (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==43) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// InternalReportDSL.g:4929:4: otherlv_4= 'style' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getGridCellAccess().getStyleKeyword_3_0());
}
// InternalReportDSL.g:4933:4: ( (otherlv_5= RULE_ID ) )
// InternalReportDSL.g:4934:5: (otherlv_5= RULE_ID )
{
// InternalReportDSL.g:4934:5: (otherlv_5= RULE_ID )
// InternalReportDSL.g:4935:6: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getGridCellRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_83); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getGridCellAccess().getStyleStyleCrossReference_3_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:4947:3: (otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) ) )?
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==85) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// InternalReportDSL.g:4948:4: otherlv_6= 'width' ( (lv_widthValue_7_0= ruleUnsignedNumber ) )
{
otherlv_6=(Token)match(input,85,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getGridCellAccess().getWidthKeyword_4_0());
}
// InternalReportDSL.g:4952:4: ( (lv_widthValue_7_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:4953:5: (lv_widthValue_7_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:4953:5: (lv_widthValue_7_0= ruleUnsignedNumber )
// InternalReportDSL.g:4954:6: lv_widthValue_7_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridCellAccess().getWidthValueUnsignedNumberParserRuleCall_4_1_0());
}
pushFollow(FOLLOW_84);
lv_widthValue_7_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridCellRule());
}
set(
current,
"widthValue",
lv_widthValue_7_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:4972:3: (otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) ) )?
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==88) ) {
alt52=1;
}
switch (alt52) {
case 1 :
// InternalReportDSL.g:4973:4: otherlv_8= 'columnspan' ( (lv_columnspan_9_0= RULE_INT ) )
{
otherlv_8=(Token)match(input,88,FOLLOW_36); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getGridCellAccess().getColumnspanKeyword_5_0());
}
// InternalReportDSL.g:4977:4: ( (lv_columnspan_9_0= RULE_INT ) )
// InternalReportDSL.g:4978:5: (lv_columnspan_9_0= RULE_INT )
{
// InternalReportDSL.g:4978:5: (lv_columnspan_9_0= RULE_INT )
// InternalReportDSL.g:4979:6: lv_columnspan_9_0= RULE_INT
{
lv_columnspan_9_0=(Token)match(input,RULE_INT,FOLLOW_75); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_columnspan_9_0, grammarAccess.getGridCellAccess().getColumnspanINTTerminalRuleCall_5_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getGridCellRule());
}
setWithLastConsumed(
current,
"columnspan",
lv_columnspan_9_0,
"org.eclipse.xtext.xbase.Xbase.INT");
}
}
}
}
break;
}
// InternalReportDSL.g:4996:3: ( (lv_visibilityItem_10_0= ruleVisibility ) )?
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==115) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// InternalReportDSL.g:4997:4: (lv_visibilityItem_10_0= ruleVisibility )
{
// InternalReportDSL.g:4997:4: (lv_visibilityItem_10_0= ruleVisibility )
// InternalReportDSL.g:4998:5: lv_visibilityItem_10_0= ruleVisibility
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridCellAccess().getVisibilityItemVisibilityParserRuleCall_6_0());
}
pushFollow(FOLLOW_5);
lv_visibilityItem_10_0=ruleVisibility();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridCellRule());
}
set(
current,
"visibilityItem",
lv_visibilityItem_10_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Visibility");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_11=(Token)match(input,14,FOLLOW_71); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getGridCellAccess().getLeftCurlyBracketKeyword_7());
}
// InternalReportDSL.g:5019:3: ( (lv_elements_12_0= ruleElement ) )*
loop54:
do {
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==83||LA54_0==89||(LA54_0>=99 && LA54_0<=100)||LA54_0==102||(LA54_0>=106 && LA54_0<=107)||(LA54_0>=120 && LA54_0<=125)) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// InternalReportDSL.g:5020:4: (lv_elements_12_0= ruleElement )
{
// InternalReportDSL.g:5020:4: (lv_elements_12_0= ruleElement )
// InternalReportDSL.g:5021:5: lv_elements_12_0= ruleElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGridCellAccess().getElementsElementParserRuleCall_8_0());
}
pushFollow(FOLLOW_71);
lv_elements_12_0=ruleElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getGridCellRule());
}
add(
current,
"elements",
lv_elements_12_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Element");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop54;
}
} while (true);
otherlv_13=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getGridCellAccess().getRightCurlyBracketKeyword_9());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleGridCell"
// $ANTLR start "entryRuleDatamartTable"
// InternalReportDSL.g:5046:1: entryRuleDatamartTable returns [EObject current=null] : iv_ruleDatamartTable= ruleDatamartTable EOF ;
public final EObject entryRuleDatamartTable() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTable = null;
try {
// InternalReportDSL.g:5046:54: (iv_ruleDatamartTable= ruleDatamartTable EOF )
// InternalReportDSL.g:5047:2: iv_ruleDatamartTable= ruleDatamartTable EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableRule());
}
pushFollow(FOLLOW_1);
iv_ruleDatamartTable=ruleDatamartTable();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTable;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTable"
// $ANTLR start "ruleDatamartTable"
// InternalReportDSL.g:5053:1: ruleDatamartTable returns [EObject current=null] : (otherlv_0= 'table' (otherlv_1= 'style' ( (otherlv_2= RULE_ID ) ) )? ( (lv_visibilityItem_3_0= ruleVisibility ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )? )? ( ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )? )? ( (lv_groups_12_0= ruleDatamartTableGroup ) )* ( (lv_detail_13_0= ruleDatamartTableDetail ) ) otherlv_14= '}' ) ;
public final EObject ruleDatamartTable() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_5=null;
Token lv_detailheader_6_0=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token lv_detailfooter_9_0=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_14=null;
EObject lv_visibilityItem_3_0 = null;
EObject lv_pageBreak_4_0 = null;
EObject lv_groups_12_0 = null;
EObject lv_detail_13_0 = null;
enterRule();
try {
// InternalReportDSL.g:5059:2: ( (otherlv_0= 'table' (otherlv_1= 'style' ( (otherlv_2= RULE_ID ) ) )? ( (lv_visibilityItem_3_0= ruleVisibility ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )? )? ( ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )? )? ( (lv_groups_12_0= ruleDatamartTableGroup ) )* ( (lv_detail_13_0= ruleDatamartTableDetail ) ) otherlv_14= '}' ) )
// InternalReportDSL.g:5060:2: (otherlv_0= 'table' (otherlv_1= 'style' ( (otherlv_2= RULE_ID ) ) )? ( (lv_visibilityItem_3_0= ruleVisibility ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )? )? ( ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )? )? ( (lv_groups_12_0= ruleDatamartTableGroup ) )* ( (lv_detail_13_0= ruleDatamartTableDetail ) ) otherlv_14= '}' )
{
// InternalReportDSL.g:5060:2: (otherlv_0= 'table' (otherlv_1= 'style' ( (otherlv_2= RULE_ID ) ) )? ( (lv_visibilityItem_3_0= ruleVisibility ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )? )? ( ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )? )? ( (lv_groups_12_0= ruleDatamartTableGroup ) )* ( (lv_detail_13_0= ruleDatamartTableDetail ) ) otherlv_14= '}' )
// InternalReportDSL.g:5061:3: otherlv_0= 'table' (otherlv_1= 'style' ( (otherlv_2= RULE_ID ) ) )? ( (lv_visibilityItem_3_0= ruleVisibility ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )? )? ( ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )? )? ( (lv_groups_12_0= ruleDatamartTableGroup ) )* ( (lv_detail_13_0= ruleDatamartTableDetail ) ) otherlv_14= '}'
{
otherlv_0=(Token)match(input,89,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartTableAccess().getTableKeyword_0());
}
// InternalReportDSL.g:5065:3: (otherlv_1= 'style' ( (otherlv_2= RULE_ID ) ) )?
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==43) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// InternalReportDSL.g:5066:4: otherlv_1= 'style' ( (otherlv_2= RULE_ID ) )
{
otherlv_1=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartTableAccess().getStyleKeyword_1_0());
}
// InternalReportDSL.g:5070:4: ( (otherlv_2= RULE_ID ) )
// InternalReportDSL.g:5071:5: (otherlv_2= RULE_ID )
{
// InternalReportDSL.g:5071:5: (otherlv_2= RULE_ID )
// InternalReportDSL.g:5072:6: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_86); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTableAccess().getStyleStyleCrossReference_1_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:5084:3: ( (lv_visibilityItem_3_0= ruleVisibility ) )?
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==115) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// InternalReportDSL.g:5085:4: (lv_visibilityItem_3_0= ruleVisibility )
{
// InternalReportDSL.g:5085:4: (lv_visibilityItem_3_0= ruleVisibility )
// InternalReportDSL.g:5086:5: lv_visibilityItem_3_0= ruleVisibility
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAccess().getVisibilityItemVisibilityParserRuleCall_2_0());
}
pushFollow(FOLLOW_87);
lv_visibilityItem_3_0=ruleVisibility();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableRule());
}
set(
current,
"visibilityItem",
lv_visibilityItem_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Visibility");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:5103:3: ( (lv_pageBreak_4_0= rulePageBreak ) )?
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==108) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// InternalReportDSL.g:5104:4: (lv_pageBreak_4_0= rulePageBreak )
{
// InternalReportDSL.g:5104:4: (lv_pageBreak_4_0= rulePageBreak )
// InternalReportDSL.g:5105:5: lv_pageBreak_4_0= rulePageBreak
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAccess().getPageBreakPageBreakParserRuleCall_3_0());
}
pushFollow(FOLLOW_5);
lv_pageBreak_4_0=rulePageBreak();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableRule());
}
set(
current,
"pageBreak",
lv_pageBreak_4_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageBreak");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_5=(Token)match(input,14,FOLLOW_88); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartTableAccess().getLeftCurlyBracketKeyword_4());
}
// InternalReportDSL.g:5126:3: ( ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )? )?
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==90) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// InternalReportDSL.g:5127:4: ( (lv_detailheader_6_0= 'detailheader' ) ) (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )?
{
// InternalReportDSL.g:5127:4: ( (lv_detailheader_6_0= 'detailheader' ) )
// InternalReportDSL.g:5128:5: (lv_detailheader_6_0= 'detailheader' )
{
// InternalReportDSL.g:5128:5: (lv_detailheader_6_0= 'detailheader' )
// InternalReportDSL.g:5129:6: lv_detailheader_6_0= 'detailheader'
{
lv_detailheader_6_0=(Token)match(input,90,FOLLOW_89); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_detailheader_6_0, grammarAccess.getDatamartTableAccess().getDetailheaderDetailheaderKeyword_5_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableRule());
}
setWithLastConsumed(current, "detailheader", true, "detailheader");
}
}
}
// InternalReportDSL.g:5141:4: (otherlv_7= 'style' ( (otherlv_8= RULE_ID ) ) )?
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==43) ) {
alt58=1;
}
switch (alt58) {
case 1 :
// InternalReportDSL.g:5142:5: otherlv_7= 'style' ( (otherlv_8= RULE_ID ) )
{
otherlv_7=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartTableAccess().getStyleKeyword_5_1_0());
}
// InternalReportDSL.g:5146:5: ( (otherlv_8= RULE_ID ) )
// InternalReportDSL.g:5147:6: (otherlv_8= RULE_ID )
{
// InternalReportDSL.g:5147:6: (otherlv_8= RULE_ID )
// InternalReportDSL.g:5148:7: otherlv_8= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableRule());
}
}
otherlv_8=(Token)match(input,RULE_ID,FOLLOW_88); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDatamartTableAccess().getHeaderstyleStyleCrossReference_5_1_1_0());
}
}
}
}
break;
}
}
break;
}
// InternalReportDSL.g:5161:3: ( ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )? )?
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==91) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// InternalReportDSL.g:5162:4: ( (lv_detailfooter_9_0= 'detailfooter' ) ) (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )?
{
// InternalReportDSL.g:5162:4: ( (lv_detailfooter_9_0= 'detailfooter' ) )
// InternalReportDSL.g:5163:5: (lv_detailfooter_9_0= 'detailfooter' )
{
// InternalReportDSL.g:5163:5: (lv_detailfooter_9_0= 'detailfooter' )
// InternalReportDSL.g:5164:6: lv_detailfooter_9_0= 'detailfooter'
{
lv_detailfooter_9_0=(Token)match(input,91,FOLLOW_89); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_detailfooter_9_0, grammarAccess.getDatamartTableAccess().getDetailfooterDetailfooterKeyword_6_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableRule());
}
setWithLastConsumed(current, "detailfooter", true, "detailfooter");
}
}
}
// InternalReportDSL.g:5176:4: (otherlv_10= 'style' ( (otherlv_11= RULE_ID ) ) )?
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==43) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// InternalReportDSL.g:5177:5: otherlv_10= 'style' ( (otherlv_11= RULE_ID ) )
{
otherlv_10=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDatamartTableAccess().getStyleKeyword_6_1_0());
}
// InternalReportDSL.g:5181:5: ( (otherlv_11= RULE_ID ) )
// InternalReportDSL.g:5182:6: (otherlv_11= RULE_ID )
{
// InternalReportDSL.g:5182:6: (otherlv_11= RULE_ID )
// InternalReportDSL.g:5183:7: otherlv_11= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableRule());
}
}
otherlv_11=(Token)match(input,RULE_ID,FOLLOW_88); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDatamartTableAccess().getFooterstyleStyleCrossReference_6_1_1_0());
}
}
}
}
break;
}
}
break;
}
// InternalReportDSL.g:5196:3: ( (lv_groups_12_0= ruleDatamartTableGroup ) )*
loop62:
do {
int alt62=2;
int LA62_0 = input.LA(1);
if ( (LA62_0==92) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// InternalReportDSL.g:5197:4: (lv_groups_12_0= ruleDatamartTableGroup )
{
// InternalReportDSL.g:5197:4: (lv_groups_12_0= ruleDatamartTableGroup )
// InternalReportDSL.g:5198:5: lv_groups_12_0= ruleDatamartTableGroup
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAccess().getGroupsDatamartTableGroupParserRuleCall_7_0());
}
pushFollow(FOLLOW_88);
lv_groups_12_0=ruleDatamartTableGroup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableRule());
}
add(
current,
"groups",
lv_groups_12_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DatamartTableGroup");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop62;
}
} while (true);
// InternalReportDSL.g:5215:3: ( (lv_detail_13_0= ruleDatamartTableDetail ) )
// InternalReportDSL.g:5216:4: (lv_detail_13_0= ruleDatamartTableDetail )
{
// InternalReportDSL.g:5216:4: (lv_detail_13_0= ruleDatamartTableDetail )
// InternalReportDSL.g:5217:5: lv_detail_13_0= ruleDatamartTableDetail
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAccess().getDetailDatamartTableDetailParserRuleCall_8_0());
}
pushFollow(FOLLOW_15);
lv_detail_13_0=ruleDatamartTableDetail();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableRule());
}
set(
current,
"detail",
lv_detail_13_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DatamartTableDetail");
afterParserOrEnumRuleCall();
}
}
}
otherlv_14=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getDatamartTableAccess().getRightCurlyBracketKeyword_9());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTable"
// $ANTLR start "entryRuleDatamartTableGroup"
// InternalReportDSL.g:5242:1: entryRuleDatamartTableGroup returns [EObject current=null] : iv_ruleDatamartTableGroup= ruleDatamartTableGroup EOF ;
public final EObject entryRuleDatamartTableGroup() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTableGroup = null;
try {
// InternalReportDSL.g:5242:59: (iv_ruleDatamartTableGroup= ruleDatamartTableGroup EOF )
// InternalReportDSL.g:5243:2: iv_ruleDatamartTableGroup= ruleDatamartTableGroup EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupRule());
}
pushFollow(FOLLOW_1);
iv_ruleDatamartTableGroup=ruleDatamartTableGroup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTableGroup;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTableGroup"
// $ANTLR start "ruleDatamartTableGroup"
// InternalReportDSL.g:5249:1: ruleDatamartTableGroup returns [EObject current=null] : (otherlv_0= 'group' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'by' ( (otherlv_3= RULE_ID ) ) ( (lv_visibilityItem_4_0= ruleVisibility ) )? ( (lv_pageBreak_5_0= rulePageBreak ) )? otherlv_6= '{' ( (lv_header_7_0= ruleDatamartTableGroupHeader ) )? ( ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )? )? ( ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )? )? ( (lv_footer_14_0= ruleDatamartTableGroupFooter ) )? otherlv_15= '}' ) ;
public final EObject ruleDatamartTableGroup() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_6=null;
Token lv_detailheader_8_0=null;
Token otherlv_9=null;
Token otherlv_10=null;
Token lv_detailfooter_11_0=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
EObject lv_visibilityItem_4_0 = null;
EObject lv_pageBreak_5_0 = null;
EObject lv_header_7_0 = null;
EObject lv_footer_14_0 = null;
enterRule();
try {
// InternalReportDSL.g:5255:2: ( (otherlv_0= 'group' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'by' ( (otherlv_3= RULE_ID ) ) ( (lv_visibilityItem_4_0= ruleVisibility ) )? ( (lv_pageBreak_5_0= rulePageBreak ) )? otherlv_6= '{' ( (lv_header_7_0= ruleDatamartTableGroupHeader ) )? ( ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )? )? ( ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )? )? ( (lv_footer_14_0= ruleDatamartTableGroupFooter ) )? otherlv_15= '}' ) )
// InternalReportDSL.g:5256:2: (otherlv_0= 'group' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'by' ( (otherlv_3= RULE_ID ) ) ( (lv_visibilityItem_4_0= ruleVisibility ) )? ( (lv_pageBreak_5_0= rulePageBreak ) )? otherlv_6= '{' ( (lv_header_7_0= ruleDatamartTableGroupHeader ) )? ( ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )? )? ( ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )? )? ( (lv_footer_14_0= ruleDatamartTableGroupFooter ) )? otherlv_15= '}' )
{
// InternalReportDSL.g:5256:2: (otherlv_0= 'group' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'by' ( (otherlv_3= RULE_ID ) ) ( (lv_visibilityItem_4_0= ruleVisibility ) )? ( (lv_pageBreak_5_0= rulePageBreak ) )? otherlv_6= '{' ( (lv_header_7_0= ruleDatamartTableGroupHeader ) )? ( ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )? )? ( ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )? )? ( (lv_footer_14_0= ruleDatamartTableGroupFooter ) )? otherlv_15= '}' )
// InternalReportDSL.g:5257:3: otherlv_0= 'group' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'by' ( (otherlv_3= RULE_ID ) ) ( (lv_visibilityItem_4_0= ruleVisibility ) )? ( (lv_pageBreak_5_0= rulePageBreak ) )? otherlv_6= '{' ( (lv_header_7_0= ruleDatamartTableGroupHeader ) )? ( ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )? )? ( ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )? )? ( (lv_footer_14_0= ruleDatamartTableGroupFooter ) )? otherlv_15= '}'
{
otherlv_0=(Token)match(input,92,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDatamartTableGroupAccess().getGroupKeyword_0());
}
// InternalReportDSL.g:5261:3: ( (lv_name_1_0= RULE_ID ) )
// InternalReportDSL.g:5262:4: (lv_name_1_0= RULE_ID )
{
// InternalReportDSL.g:5262:4: (lv_name_1_0= RULE_ID )
// InternalReportDSL.g:5263:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_90); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getDatamartTableGroupAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
}
}
otherlv_2=(Token)match(input,93,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTableGroupAccess().getByKeyword_2());
}
// InternalReportDSL.g:5283:3: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:5284:4: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:5284:4: (otherlv_3= RULE_ID )
// InternalReportDSL.g:5285:5: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_86); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartTableGroupAccess().getGroupingRefDatamartAttributeCrossReference_3_0());
}
}
}
// InternalReportDSL.g:5296:3: ( (lv_visibilityItem_4_0= ruleVisibility ) )?
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==115) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// InternalReportDSL.g:5297:4: (lv_visibilityItem_4_0= ruleVisibility )
{
// InternalReportDSL.g:5297:4: (lv_visibilityItem_4_0= ruleVisibility )
// InternalReportDSL.g:5298:5: lv_visibilityItem_4_0= ruleVisibility
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupAccess().getVisibilityItemVisibilityParserRuleCall_4_0());
}
pushFollow(FOLLOW_87);
lv_visibilityItem_4_0=ruleVisibility();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupRule());
}
set(
current,
"visibilityItem",
lv_visibilityItem_4_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.Visibility");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:5315:3: ( (lv_pageBreak_5_0= rulePageBreak ) )?
int alt64=2;
int LA64_0 = input.LA(1);
if ( (LA64_0==108) ) {
alt64=1;
}
switch (alt64) {
case 1 :
// InternalReportDSL.g:5316:4: (lv_pageBreak_5_0= rulePageBreak )
{
// InternalReportDSL.g:5316:4: (lv_pageBreak_5_0= rulePageBreak )
// InternalReportDSL.g:5317:5: lv_pageBreak_5_0= rulePageBreak
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupAccess().getPageBreakPageBreakParserRuleCall_5_0());
}
pushFollow(FOLLOW_5);
lv_pageBreak_5_0=rulePageBreak();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupRule());
}
set(
current,
"pageBreak",
lv_pageBreak_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageBreak");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_6=(Token)match(input,14,FOLLOW_91); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDatamartTableGroupAccess().getLeftCurlyBracketKeyword_6());
}
// InternalReportDSL.g:5338:3: ( (lv_header_7_0= ruleDatamartTableGroupHeader ) )?
int alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==77) ) {
alt65=1;
}
switch (alt65) {
case 1 :
// InternalReportDSL.g:5339:4: (lv_header_7_0= ruleDatamartTableGroupHeader )
{
// InternalReportDSL.g:5339:4: (lv_header_7_0= ruleDatamartTableGroupHeader )
// InternalReportDSL.g:5340:5: lv_header_7_0= ruleDatamartTableGroupHeader
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupAccess().getHeaderDatamartTableGroupHeaderParserRuleCall_7_0());
}
pushFollow(FOLLOW_92);
lv_header_7_0=ruleDatamartTableGroupHeader();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupRule());
}
set(
current,
"header",
lv_header_7_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DatamartTableGroupHeader");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:5357:3: ( ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )? )?
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==90) ) {
alt67=1;
}
switch (alt67) {
case 1 :
// InternalReportDSL.g:5358:4: ( (lv_detailheader_8_0= 'detailheader' ) ) (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )?
{
// InternalReportDSL.g:5358:4: ( (lv_detailheader_8_0= 'detailheader' ) )
// InternalReportDSL.g:5359:5: (lv_detailheader_8_0= 'detailheader' )
{
// InternalReportDSL.g:5359:5: (lv_detailheader_8_0= 'detailheader' )
// InternalReportDSL.g:5360:6: lv_detailheader_8_0= 'detailheader'
{
lv_detailheader_8_0=(Token)match(input,90,FOLLOW_93); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_detailheader_8_0, grammarAccess.getDatamartTableGroupAccess().getDetailheaderDetailheaderKeyword_8_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupRule());
}
setWithLastConsumed(current, "detailheader", true, "detailheader");
}
}
}
// InternalReportDSL.g:5372:4: (otherlv_9= 'style' ( (otherlv_10= RULE_ID ) ) )?
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==43) ) {
alt66=1;
}
switch (alt66) {
case 1 :
// InternalReportDSL.g:5373:5: otherlv_9= 'style' ( (otherlv_10= RULE_ID ) )
{
otherlv_9=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDatamartTableGroupAccess().getStyleKeyword_8_1_0());
}
// InternalReportDSL.g:5377:5: ( (otherlv_10= RULE_ID ) )
// InternalReportDSL.g:5378:6: (otherlv_10= RULE_ID )
{
// InternalReportDSL.g:5378:6: (otherlv_10= RULE_ID )
// InternalReportDSL.g:5379:7: otherlv_10= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupRule());
}
}
otherlv_10=(Token)match(input,RULE_ID,FOLLOW_94); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDatamartTableGroupAccess().getHeaderstyleStyleCrossReference_8_1_1_0());
}
}
}
}
break;
}
}
break;
}
// InternalReportDSL.g:5392:3: ( ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )? )?
int alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==91) ) {
alt69=1;
}
switch (alt69) {
case 1 :
// InternalReportDSL.g:5393:4: ( (lv_detailfooter_11_0= 'detailfooter' ) ) (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )?
{
// InternalReportDSL.g:5393:4: ( (lv_detailfooter_11_0= 'detailfooter' ) )
// InternalReportDSL.g:5394:5: (lv_detailfooter_11_0= 'detailfooter' )
{
// InternalReportDSL.g:5394:5: (lv_detailfooter_11_0= 'detailfooter' )
// InternalReportDSL.g:5395:6: lv_detailfooter_11_0= 'detailfooter'
{
lv_detailfooter_11_0=(Token)match(input,91,FOLLOW_95); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_detailfooter_11_0, grammarAccess.getDatamartTableGroupAccess().getDetailfooterDetailfooterKeyword_9_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupRule());
}
setWithLastConsumed(current, "detailfooter", true, "detailfooter");
}
}
}
// InternalReportDSL.g:5407:4: (otherlv_12= 'style' ( (otherlv_13= RULE_ID ) ) )?
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==43) ) {
alt68=1;
}
switch (alt68) {
case 1 :
// InternalReportDSL.g:5408:5: otherlv_12= 'style' ( (otherlv_13= RULE_ID ) )
{
otherlv_12=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDatamartTableGroupAccess().getStyleKeyword_9_1_0());
}
// InternalReportDSL.g:5412:5: ( (otherlv_13= RULE_ID ) )
// InternalReportDSL.g:5413:6: (otherlv_13= RULE_ID )
{
// InternalReportDSL.g:5413:6: (otherlv_13= RULE_ID )
// InternalReportDSL.g:5414:7: otherlv_13= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupRule());
}
}
otherlv_13=(Token)match(input,RULE_ID,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDatamartTableGroupAccess().getFooterstyleStyleCrossReference_9_1_1_0());
}
}
}
}
break;
}
}
break;
}
// InternalReportDSL.g:5427:3: ( (lv_footer_14_0= ruleDatamartTableGroupFooter ) )?
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==81) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// InternalReportDSL.g:5428:4: (lv_footer_14_0= ruleDatamartTableGroupFooter )
{
// InternalReportDSL.g:5428:4: (lv_footer_14_0= ruleDatamartTableGroupFooter )
// InternalReportDSL.g:5429:5: lv_footer_14_0= ruleDatamartTableGroupFooter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupAccess().getFooterDatamartTableGroupFooterParserRuleCall_10_0());
}
pushFollow(FOLLOW_15);
lv_footer_14_0=ruleDatamartTableGroupFooter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupRule());
}
set(
current,
"footer",
lv_footer_14_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DatamartTableGroupFooter");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_15=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDatamartTableGroupAccess().getRightCurlyBracketKeyword_11());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTableGroup"
// $ANTLR start "entryRuleDatamartTableGroupHeader"
// InternalReportDSL.g:5454:1: entryRuleDatamartTableGroupHeader returns [EObject current=null] : iv_ruleDatamartTableGroupHeader= ruleDatamartTableGroupHeader EOF ;
public final EObject entryRuleDatamartTableGroupHeader() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTableGroupHeader = null;
try {
// InternalReportDSL.g:5454:65: (iv_ruleDatamartTableGroupHeader= ruleDatamartTableGroupHeader EOF )
// InternalReportDSL.g:5455:2: iv_ruleDatamartTableGroupHeader= ruleDatamartTableGroupHeader EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupHeaderRule());
}
pushFollow(FOLLOW_1);
iv_ruleDatamartTableGroupHeader=ruleDatamartTableGroupHeader();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTableGroupHeader;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTableGroupHeader"
// $ANTLR start "ruleDatamartTableGroupHeader"
// InternalReportDSL.g:5461:1: ruleDatamartTableGroupHeader returns [EObject current=null] : ( () otherlv_1= 'header' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' ) ;
public final EObject ruleDatamartTableGroupHeader() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
EObject lv_pageBreak_4_0 = null;
EObject lv_rows_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:5467:2: ( ( () otherlv_1= 'header' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' ) )
// InternalReportDSL.g:5468:2: ( () otherlv_1= 'header' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' )
{
// InternalReportDSL.g:5468:2: ( () otherlv_1= 'header' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' )
// InternalReportDSL.g:5469:3: () otherlv_1= 'header' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}'
{
// InternalReportDSL.g:5469:3: ()
// InternalReportDSL.g:5470:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDatamartTableGroupHeaderAccess().getDatamartTableGroupHeaderAction_0(),
current);
}
}
otherlv_1=(Token)match(input,77,FOLLOW_96); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartTableGroupHeaderAccess().getHeaderKeyword_1());
}
// InternalReportDSL.g:5480:3: (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )?
int alt71=2;
int LA71_0 = input.LA(1);
if ( (LA71_0==43) ) {
alt71=1;
}
switch (alt71) {
case 1 :
// InternalReportDSL.g:5481:4: otherlv_2= 'style' ( (otherlv_3= RULE_ID ) )
{
otherlv_2=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTableGroupHeaderAccess().getStyleKeyword_2_0());
}
// InternalReportDSL.g:5485:4: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:5486:5: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:5486:5: (otherlv_3= RULE_ID )
// InternalReportDSL.g:5487:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupHeaderRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_87); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartTableGroupHeaderAccess().getStyleStyleCrossReference_2_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:5499:3: ( (lv_pageBreak_4_0= rulePageBreak ) )?
int alt72=2;
int LA72_0 = input.LA(1);
if ( (LA72_0==108) ) {
alt72=1;
}
switch (alt72) {
case 1 :
// InternalReportDSL.g:5500:4: (lv_pageBreak_4_0= rulePageBreak )
{
// InternalReportDSL.g:5500:4: (lv_pageBreak_4_0= rulePageBreak )
// InternalReportDSL.g:5501:5: lv_pageBreak_4_0= rulePageBreak
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupHeaderAccess().getPageBreakPageBreakParserRuleCall_3_0());
}
pushFollow(FOLLOW_5);
lv_pageBreak_4_0=rulePageBreak();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupHeaderRule());
}
set(
current,
"pageBreak",
lv_pageBreak_4_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageBreak");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_5=(Token)match(input,14,FOLLOW_76); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartTableGroupHeaderAccess().getLeftCurlyBracketKeyword_4());
}
// InternalReportDSL.g:5522:3: ( (lv_rows_6_0= ruleGridRow ) )*
loop73:
do {
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==86) ) {
alt73=1;
}
switch (alt73) {
case 1 :
// InternalReportDSL.g:5523:4: (lv_rows_6_0= ruleGridRow )
{
// InternalReportDSL.g:5523:4: (lv_rows_6_0= ruleGridRow )
// InternalReportDSL.g:5524:5: lv_rows_6_0= ruleGridRow
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupHeaderAccess().getRowsGridRowParserRuleCall_5_0());
}
pushFollow(FOLLOW_76);
lv_rows_6_0=ruleGridRow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupHeaderRule());
}
add(
current,
"rows",
lv_rows_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.GridRow");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop73;
}
} while (true);
otherlv_7=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartTableGroupHeaderAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTableGroupHeader"
// $ANTLR start "entryRuleDatamartTableGroupFooter"
// InternalReportDSL.g:5549:1: entryRuleDatamartTableGroupFooter returns [EObject current=null] : iv_ruleDatamartTableGroupFooter= ruleDatamartTableGroupFooter EOF ;
public final EObject entryRuleDatamartTableGroupFooter() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTableGroupFooter = null;
try {
// InternalReportDSL.g:5549:65: (iv_ruleDatamartTableGroupFooter= ruleDatamartTableGroupFooter EOF )
// InternalReportDSL.g:5550:2: iv_ruleDatamartTableGroupFooter= ruleDatamartTableGroupFooter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupFooterRule());
}
pushFollow(FOLLOW_1);
iv_ruleDatamartTableGroupFooter=ruleDatamartTableGroupFooter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTableGroupFooter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTableGroupFooter"
// $ANTLR start "ruleDatamartTableGroupFooter"
// InternalReportDSL.g:5556:1: ruleDatamartTableGroupFooter returns [EObject current=null] : ( () otherlv_1= 'footer' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' ) ;
public final EObject ruleDatamartTableGroupFooter() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
EObject lv_pageBreak_4_0 = null;
EObject lv_rows_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:5562:2: ( ( () otherlv_1= 'footer' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' ) )
// InternalReportDSL.g:5563:2: ( () otherlv_1= 'footer' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' )
{
// InternalReportDSL.g:5563:2: ( () otherlv_1= 'footer' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}' )
// InternalReportDSL.g:5564:3: () otherlv_1= 'footer' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ( (lv_pageBreak_4_0= rulePageBreak ) )? otherlv_5= '{' ( (lv_rows_6_0= ruleGridRow ) )* otherlv_7= '}'
{
// InternalReportDSL.g:5564:3: ()
// InternalReportDSL.g:5565:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDatamartTableGroupFooterAccess().getDatamartTableGroupFooterAction_0(),
current);
}
}
otherlv_1=(Token)match(input,81,FOLLOW_96); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartTableGroupFooterAccess().getFooterKeyword_1());
}
// InternalReportDSL.g:5575:3: (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )?
int alt74=2;
int LA74_0 = input.LA(1);
if ( (LA74_0==43) ) {
alt74=1;
}
switch (alt74) {
case 1 :
// InternalReportDSL.g:5576:4: otherlv_2= 'style' ( (otherlv_3= RULE_ID ) )
{
otherlv_2=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTableGroupFooterAccess().getStyleKeyword_2_0());
}
// InternalReportDSL.g:5580:4: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:5581:5: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:5581:5: (otherlv_3= RULE_ID )
// InternalReportDSL.g:5582:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableGroupFooterRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_87); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartTableGroupFooterAccess().getStyleStyleCrossReference_2_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:5594:3: ( (lv_pageBreak_4_0= rulePageBreak ) )?
int alt75=2;
int LA75_0 = input.LA(1);
if ( (LA75_0==108) ) {
alt75=1;
}
switch (alt75) {
case 1 :
// InternalReportDSL.g:5595:4: (lv_pageBreak_4_0= rulePageBreak )
{
// InternalReportDSL.g:5595:4: (lv_pageBreak_4_0= rulePageBreak )
// InternalReportDSL.g:5596:5: lv_pageBreak_4_0= rulePageBreak
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupFooterAccess().getPageBreakPageBreakParserRuleCall_3_0());
}
pushFollow(FOLLOW_5);
lv_pageBreak_4_0=rulePageBreak();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupFooterRule());
}
set(
current,
"pageBreak",
lv_pageBreak_4_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PageBreak");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_5=(Token)match(input,14,FOLLOW_76); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartTableGroupFooterAccess().getLeftCurlyBracketKeyword_4());
}
// InternalReportDSL.g:5617:3: ( (lv_rows_6_0= ruleGridRow ) )*
loop76:
do {
int alt76=2;
int LA76_0 = input.LA(1);
if ( (LA76_0==86) ) {
alt76=1;
}
switch (alt76) {
case 1 :
// InternalReportDSL.g:5618:4: (lv_rows_6_0= ruleGridRow )
{
// InternalReportDSL.g:5618:4: (lv_rows_6_0= ruleGridRow )
// InternalReportDSL.g:5619:5: lv_rows_6_0= ruleGridRow
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableGroupFooterAccess().getRowsGridRowParserRuleCall_5_0());
}
pushFollow(FOLLOW_76);
lv_rows_6_0=ruleGridRow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableGroupFooterRule());
}
add(
current,
"rows",
lv_rows_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.GridRow");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop76;
}
} while (true);
otherlv_7=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartTableGroupFooterAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTableGroupFooter"
// $ANTLR start "entryRuleDatamartTableDetail"
// InternalReportDSL.g:5644:1: entryRuleDatamartTableDetail returns [EObject current=null] : iv_ruleDatamartTableDetail= ruleDatamartTableDetail EOF ;
public final EObject entryRuleDatamartTableDetail() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTableDetail = null;
try {
// InternalReportDSL.g:5644:60: (iv_ruleDatamartTableDetail= ruleDatamartTableDetail EOF )
// InternalReportDSL.g:5645:2: iv_ruleDatamartTableDetail= ruleDatamartTableDetail EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableDetailRule());
}
pushFollow(FOLLOW_1);
iv_ruleDatamartTableDetail=ruleDatamartTableDetail();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTableDetail;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTableDetail"
// $ANTLR start "ruleDatamartTableDetail"
// InternalReportDSL.g:5651:1: ruleDatamartTableDetail returns [EObject current=null] : ( () otherlv_1= 'details' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? (otherlv_4= 'all' | (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' ) ) ) ;
public final EObject ruleDatamartTableDetail() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_7=null;
EObject lv_columnFormatters_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:5657:2: ( ( () otherlv_1= 'details' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? (otherlv_4= 'all' | (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' ) ) ) )
// InternalReportDSL.g:5658:2: ( () otherlv_1= 'details' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? (otherlv_4= 'all' | (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' ) ) )
{
// InternalReportDSL.g:5658:2: ( () otherlv_1= 'details' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? (otherlv_4= 'all' | (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' ) ) )
// InternalReportDSL.g:5659:3: () otherlv_1= 'details' (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? (otherlv_4= 'all' | (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' ) )
{
// InternalReportDSL.g:5659:3: ()
// InternalReportDSL.g:5660:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDatamartTableDetailAccess().getDatamartTableDetailAction_0(),
current);
}
}
otherlv_1=(Token)match(input,94,FOLLOW_97); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDatamartTableDetailAccess().getDetailsKeyword_1());
}
// InternalReportDSL.g:5670:3: (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )?
int alt77=2;
int LA77_0 = input.LA(1);
if ( (LA77_0==43) ) {
alt77=1;
}
switch (alt77) {
case 1 :
// InternalReportDSL.g:5671:4: otherlv_2= 'style' ( (otherlv_3= RULE_ID ) )
{
otherlv_2=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTableDetailAccess().getStyleKeyword_2_0());
}
// InternalReportDSL.g:5675:4: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:5676:5: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:5676:5: (otherlv_3= RULE_ID )
// InternalReportDSL.g:5677:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableDetailRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_98); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDatamartTableDetailAccess().getStyleStyleCrossReference_2_1_0());
}
}
}
}
break;
}
// InternalReportDSL.g:5689:3: (otherlv_4= 'all' | (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' ) )
int alt79=2;
int LA79_0 = input.LA(1);
if ( (LA79_0==95) ) {
alt79=1;
}
else if ( (LA79_0==14) ) {
alt79=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 79, 0, input);
throw nvae;
}
switch (alt79) {
case 1 :
// InternalReportDSL.g:5690:4: otherlv_4= 'all'
{
otherlv_4=(Token)match(input,95,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartTableDetailAccess().getAllKeyword_3_0());
}
}
break;
case 2 :
// InternalReportDSL.g:5695:4: (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' )
{
// InternalReportDSL.g:5695:4: (otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}' )
// InternalReportDSL.g:5696:5: otherlv_5= '{' ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )* otherlv_7= '}'
{
otherlv_5=(Token)match(input,14,FOLLOW_99); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartTableDetailAccess().getLeftCurlyBracketKeyword_3_1_0());
}
// InternalReportDSL.g:5700:5: ( (lv_columnFormatters_6_0= ruleDatamartTableAttribute ) )*
loop78:
do {
int alt78=2;
int LA78_0 = input.LA(1);
if ( ((LA78_0>=99 && LA78_0<=100)) ) {
alt78=1;
}
switch (alt78) {
case 1 :
// InternalReportDSL.g:5701:6: (lv_columnFormatters_6_0= ruleDatamartTableAttribute )
{
// InternalReportDSL.g:5701:6: (lv_columnFormatters_6_0= ruleDatamartTableAttribute )
// InternalReportDSL.g:5702:7: lv_columnFormatters_6_0= ruleDatamartTableAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableDetailAccess().getColumnFormattersDatamartTableAttributeParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_99);
lv_columnFormatters_6_0=ruleDatamartTableAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableDetailRule());
}
add(
current,
"columnFormatters",
lv_columnFormatters_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.DatamartTableAttribute");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop78;
}
} while (true);
otherlv_7=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDatamartTableDetailAccess().getRightCurlyBracketKeyword_3_1_2());
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTableDetail"
// $ANTLR start "entryRuleDatamartTableAttribute"
// InternalReportDSL.g:5729:1: entryRuleDatamartTableAttribute returns [EObject current=null] : iv_ruleDatamartTableAttribute= ruleDatamartTableAttribute EOF ;
public final EObject entryRuleDatamartTableAttribute() throws RecognitionException {
EObject current = null;
EObject iv_ruleDatamartTableAttribute = null;
try {
// InternalReportDSL.g:5729:63: (iv_ruleDatamartTableAttribute= ruleDatamartTableAttribute EOF )
// InternalReportDSL.g:5730:2: iv_ruleDatamartTableAttribute= ruleDatamartTableAttribute EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAttributeRule());
}
pushFollow(FOLLOW_1);
iv_ruleDatamartTableAttribute=ruleDatamartTableAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDatamartTableAttribute;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDatamartTableAttribute"
// $ANTLR start "ruleDatamartTableAttribute"
// InternalReportDSL.g:5736:1: ruleDatamartTableAttribute returns [EObject current=null] : ( ( (lv_column_0_0= ruleTableValueElement ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) ) ) ) ;
public final EObject ruleDatamartTableAttribute() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token lv_hideLabelInterval_7_0=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token lv_hideLabelLookup_12_0=null;
Token otherlv_13=null;
Token otherlv_15=null;
EObject lv_column_0_0 = null;
AntlrDatatypeRuleToken lv_widthValue_3_0 = null;
EObject lv_intervals_9_0 = null;
EObject lv_lookups_14_0 = null;
enterRule();
try {
// InternalReportDSL.g:5742:2: ( ( ( (lv_column_0_0= ruleTableValueElement ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) ) ) ) )
// InternalReportDSL.g:5743:2: ( ( (lv_column_0_0= ruleTableValueElement ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) ) ) )
{
// InternalReportDSL.g:5743:2: ( ( (lv_column_0_0= ruleTableValueElement ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) ) ) )
// InternalReportDSL.g:5744:3: ( (lv_column_0_0= ruleTableValueElement ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) ) )
{
// InternalReportDSL.g:5744:3: ( (lv_column_0_0= ruleTableValueElement ) )
// InternalReportDSL.g:5745:4: (lv_column_0_0= ruleTableValueElement )
{
// InternalReportDSL.g:5745:4: (lv_column_0_0= ruleTableValueElement )
// InternalReportDSL.g:5746:5: lv_column_0_0= ruleTableValueElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAttributeAccess().getColumnTableValueElementParserRuleCall_0_0());
}
pushFollow(FOLLOW_100);
lv_column_0_0=ruleTableValueElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableAttributeRule());
}
set(
current,
"column",
lv_column_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableValueElement");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:5763:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) ) )
// InternalReportDSL.g:5764:4: ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) )
{
// InternalReportDSL.g:5764:4: ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* ) )
// InternalReportDSL.g:5765:5: ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1());
// InternalReportDSL.g:5768:5: ( ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )* )
// InternalReportDSL.g:5769:6: ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )*
{
// InternalReportDSL.g:5769:6: ( ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) ) )*
loop84:
do {
int alt84=5;
int LA84_0 = input.LA(1);
if ( LA84_0 == 85 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 0) ) {
alt84=1;
}
else if ( LA84_0 == 43 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 1) ) {
alt84=2;
}
else if ( LA84_0 == 96 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 2) ) {
alt84=3;
}
else if ( LA84_0 == 98 && getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 3) ) {
alt84=4;
}
switch (alt84) {
case 1 :
// InternalReportDSL.g:5770:4: ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) )
{
// InternalReportDSL.g:5770:4: ({...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) ) )
// InternalReportDSL.g:5771:5: {...}? => ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 0)");
}
// InternalReportDSL.g:5771:119: ( ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) ) )
// InternalReportDSL.g:5772:6: ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 0);
// InternalReportDSL.g:5775:9: ({...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) ) )
// InternalReportDSL.g:5775:10: {...}? => (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "true");
}
// InternalReportDSL.g:5775:19: (otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) ) )
// InternalReportDSL.g:5775:20: otherlv_2= 'width' ( (lv_widthValue_3_0= ruleUnsignedNumber ) )
{
otherlv_2=(Token)match(input,85,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDatamartTableAttributeAccess().getWidthKeyword_1_0_0());
}
// InternalReportDSL.g:5779:9: ( (lv_widthValue_3_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:5780:10: (lv_widthValue_3_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:5780:10: (lv_widthValue_3_0= ruleUnsignedNumber )
// InternalReportDSL.g:5781:11: lv_widthValue_3_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAttributeAccess().getWidthValueUnsignedNumberParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_100);
lv_widthValue_3_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableAttributeRule());
}
set(
current,
"widthValue",
lv_widthValue_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1());
}
}
}
break;
case 2 :
// InternalReportDSL.g:5804:4: ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:5804:4: ({...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:5805:5: {...}? => ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 1)");
}
// InternalReportDSL.g:5805:119: ( ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) ) )
// InternalReportDSL.g:5806:6: ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 1);
// InternalReportDSL.g:5809:9: ({...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) ) )
// InternalReportDSL.g:5809:10: {...}? => (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "true");
}
// InternalReportDSL.g:5809:19: (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )
// InternalReportDSL.g:5809:20: otherlv_4= 'style' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDatamartTableAttributeAccess().getStyleKeyword_1_1_0());
}
// InternalReportDSL.g:5813:9: ( (otherlv_5= RULE_ID ) )
// InternalReportDSL.g:5814:10: (otherlv_5= RULE_ID )
{
// InternalReportDSL.g:5814:10: (otherlv_5= RULE_ID )
// InternalReportDSL.g:5815:11: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableAttributeRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_100); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDatamartTableAttributeAccess().getStyleStyleCrossReference_1_1_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:5832:4: ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) )
{
// InternalReportDSL.g:5832:4: ({...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) ) )
// InternalReportDSL.g:5833:5: {...}? => ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 2)");
}
// InternalReportDSL.g:5833:119: ( ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) ) )
// InternalReportDSL.g:5834:6: ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 2);
// InternalReportDSL.g:5837:9: ({...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' ) )
// InternalReportDSL.g:5837:10: {...}? => (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "true");
}
// InternalReportDSL.g:5837:19: (otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}' )
// InternalReportDSL.g:5837:20: otherlv_6= 'intervals' ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )? otherlv_8= '{' ( (lv_intervals_9_0= ruleTableInterval ) )* otherlv_10= '}'
{
otherlv_6=(Token)match(input,96,FOLLOW_101); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDatamartTableAttributeAccess().getIntervalsKeyword_1_2_0());
}
// InternalReportDSL.g:5841:9: ( (lv_hideLabelInterval_7_0= 'hidelabel' ) )?
int alt80=2;
int LA80_0 = input.LA(1);
if ( (LA80_0==97) ) {
alt80=1;
}
switch (alt80) {
case 1 :
// InternalReportDSL.g:5842:10: (lv_hideLabelInterval_7_0= 'hidelabel' )
{
// InternalReportDSL.g:5842:10: (lv_hideLabelInterval_7_0= 'hidelabel' )
// InternalReportDSL.g:5843:11: lv_hideLabelInterval_7_0= 'hidelabel'
{
lv_hideLabelInterval_7_0=(Token)match(input,97,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_hideLabelInterval_7_0, grammarAccess.getDatamartTableAttributeAccess().getHideLabelIntervalHidelabelKeyword_1_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableAttributeRule());
}
setWithLastConsumed(current, "hideLabelInterval", true, "hidelabel");
}
}
}
break;
}
otherlv_8=(Token)match(input,14,FOLLOW_102); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDatamartTableAttributeAccess().getLeftCurlyBracketKeyword_1_2_2());
}
// InternalReportDSL.g:5859:9: ( (lv_intervals_9_0= ruleTableInterval ) )*
loop81:
do {
int alt81=2;
int LA81_0 = input.LA(1);
if ( ((LA81_0>=112 && LA81_0<=113)) ) {
alt81=1;
}
switch (alt81) {
case 1 :
// InternalReportDSL.g:5860:10: (lv_intervals_9_0= ruleTableInterval )
{
// InternalReportDSL.g:5860:10: (lv_intervals_9_0= ruleTableInterval )
// InternalReportDSL.g:5861:11: lv_intervals_9_0= ruleTableInterval
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAttributeAccess().getIntervalsTableIntervalParserRuleCall_1_2_3_0());
}
pushFollow(FOLLOW_102);
lv_intervals_9_0=ruleTableInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableAttributeRule());
}
add(
current,
"intervals",
lv_intervals_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableInterval");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop81;
}
} while (true);
otherlv_10=(Token)match(input,18,FOLLOW_100); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDatamartTableAttributeAccess().getRightCurlyBracketKeyword_1_2_4());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1());
}
}
}
break;
case 4 :
// InternalReportDSL.g:5888:4: ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) )
{
// InternalReportDSL.g:5888:4: ({...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) ) )
// InternalReportDSL.g:5889:5: {...}? => ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "getUnorderedGroupHelper().canSelect(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 3)");
}
// InternalReportDSL.g:5889:119: ( ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) ) )
// InternalReportDSL.g:5890:6: ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1(), 3);
// InternalReportDSL.g:5893:9: ({...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' ) )
// InternalReportDSL.g:5893:10: {...}? => (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDatamartTableAttribute", "true");
}
// InternalReportDSL.g:5893:19: (otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}' )
// InternalReportDSL.g:5893:20: otherlv_11= 'lookups' ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )? otherlv_13= '{' ( (lv_lookups_14_0= ruleTableLookup ) )* otherlv_15= '}'
{
otherlv_11=(Token)match(input,98,FOLLOW_101); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDatamartTableAttributeAccess().getLookupsKeyword_1_3_0());
}
// InternalReportDSL.g:5897:9: ( (lv_hideLabelLookup_12_0= 'hidelabel' ) )?
int alt82=2;
int LA82_0 = input.LA(1);
if ( (LA82_0==97) ) {
alt82=1;
}
switch (alt82) {
case 1 :
// InternalReportDSL.g:5898:10: (lv_hideLabelLookup_12_0= 'hidelabel' )
{
// InternalReportDSL.g:5898:10: (lv_hideLabelLookup_12_0= 'hidelabel' )
// InternalReportDSL.g:5899:11: lv_hideLabelLookup_12_0= 'hidelabel'
{
lv_hideLabelLookup_12_0=(Token)match(input,97,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_hideLabelLookup_12_0, grammarAccess.getDatamartTableAttributeAccess().getHideLabelLookupHidelabelKeyword_1_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDatamartTableAttributeRule());
}
setWithLastConsumed(current, "hideLabelLookup", true, "hidelabel");
}
}
}
break;
}
otherlv_13=(Token)match(input,14,FOLLOW_103); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDatamartTableAttributeAccess().getLeftCurlyBracketKeyword_1_3_2());
}
// InternalReportDSL.g:5915:9: ( (lv_lookups_14_0= ruleTableLookup ) )*
loop83:
do {
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==64||(LA83_0>=113 && LA83_0<=114)) ) {
alt83=1;
}
switch (alt83) {
case 1 :
// InternalReportDSL.g:5916:10: (lv_lookups_14_0= ruleTableLookup )
{
// InternalReportDSL.g:5916:10: (lv_lookups_14_0= ruleTableLookup )
// InternalReportDSL.g:5917:11: lv_lookups_14_0= ruleTableLookup
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDatamartTableAttributeAccess().getLookupsTableLookupParserRuleCall_1_3_3_0());
}
pushFollow(FOLLOW_103);
lv_lookups_14_0=ruleTableLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDatamartTableAttributeRule());
}
add(
current,
"lookups",
lv_lookups_14_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableLookup");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop83;
}
} while (true);
otherlv_15=(Token)match(input,18,FOLLOW_100); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDatamartTableAttributeAccess().getRightCurlyBracketKeyword_1_3_4());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1());
}
}
}
break;
default :
break loop84;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDatamartTableAttributeAccess().getUnorderedGroup_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDatamartTableAttribute"
// $ANTLR start "entryRuleTableValueElement"
// InternalReportDSL.g:5955:1: entryRuleTableValueElement returns [EObject current=null] : iv_ruleTableValueElement= ruleTableValueElement EOF ;
public final EObject entryRuleTableValueElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableValueElement = null;
try {
// InternalReportDSL.g:5955:58: (iv_ruleTableValueElement= ruleTableValueElement EOF )
// InternalReportDSL.g:5956:2: iv_ruleTableValueElement= ruleTableValueElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableValueElementRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableValueElement=ruleTableValueElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableValueElement;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableValueElement"
// $ANTLR start "ruleTableValueElement"
// InternalReportDSL.g:5962:1: ruleTableValueElement returns [EObject current=null] : (this_TableAttribute_0= ruleTableAttribute | this_TableAggregation_1= ruleTableAggregation ) ;
public final EObject ruleTableValueElement() throws RecognitionException {
EObject current = null;
EObject this_TableAttribute_0 = null;
EObject this_TableAggregation_1 = null;
enterRule();
try {
// InternalReportDSL.g:5968:2: ( (this_TableAttribute_0= ruleTableAttribute | this_TableAggregation_1= ruleTableAggregation ) )
// InternalReportDSL.g:5969:2: (this_TableAttribute_0= ruleTableAttribute | this_TableAggregation_1= ruleTableAggregation )
{
// InternalReportDSL.g:5969:2: (this_TableAttribute_0= ruleTableAttribute | this_TableAggregation_1= ruleTableAggregation )
int alt85=2;
int LA85_0 = input.LA(1);
if ( (LA85_0==99) ) {
alt85=1;
}
else if ( (LA85_0==100) ) {
alt85=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 85, 0, input);
throw nvae;
}
switch (alt85) {
case 1 :
// InternalReportDSL.g:5970:3: this_TableAttribute_0= ruleTableAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableValueElementAccess().getTableAttributeParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_TableAttribute_0=ruleTableAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableAttribute_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:5979:3: this_TableAggregation_1= ruleTableAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableValueElementAccess().getTableAggregationParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_TableAggregation_1=ruleTableAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableAggregation_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableValueElement"
// $ANTLR start "entryRuleTableAttribute"
// InternalReportDSL.g:5991:1: entryRuleTableAttribute returns [EObject current=null] : iv_ruleTableAttribute= ruleTableAttribute EOF ;
public final EObject entryRuleTableAttribute() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableAttribute = null;
try {
// InternalReportDSL.g:5991:55: (iv_ruleTableAttribute= ruleTableAttribute EOF )
// InternalReportDSL.g:5992:2: iv_ruleTableAttribute= ruleTableAttribute EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableAttributeRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableAttribute=ruleTableAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableAttribute;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableAttribute"
// $ANTLR start "ruleTableAttribute"
// InternalReportDSL.g:5998:1: ruleTableAttribute returns [EObject current=null] : (otherlv_0= 'attribute' ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleTableAttribute() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
enterRule();
try {
// InternalReportDSL.g:6004:2: ( (otherlv_0= 'attribute' ( (otherlv_1= RULE_ID ) ) ) )
// InternalReportDSL.g:6005:2: (otherlv_0= 'attribute' ( (otherlv_1= RULE_ID ) ) )
{
// InternalReportDSL.g:6005:2: (otherlv_0= 'attribute' ( (otherlv_1= RULE_ID ) ) )
// InternalReportDSL.g:6006:3: otherlv_0= 'attribute' ( (otherlv_1= RULE_ID ) )
{
otherlv_0=(Token)match(input,99,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTableAttributeAccess().getAttributeKeyword_0());
}
// InternalReportDSL.g:6010:3: ( (otherlv_1= RULE_ID ) )
// InternalReportDSL.g:6011:4: (otherlv_1= RULE_ID )
{
// InternalReportDSL.g:6011:4: (otherlv_1= RULE_ID )
// InternalReportDSL.g:6012:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableAttributeRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableAttributeAccess().getValueRefDatamartAttributeCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableAttribute"
// $ANTLR start "entryRuleTableAggregation"
// InternalReportDSL.g:6027:1: entryRuleTableAggregation returns [EObject current=null] : iv_ruleTableAggregation= ruleTableAggregation EOF ;
public final EObject entryRuleTableAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableAggregation = null;
try {
// InternalReportDSL.g:6027:57: (iv_ruleTableAggregation= ruleTableAggregation EOF )
// InternalReportDSL.g:6028:2: iv_ruleTableAggregation= ruleTableAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableAggregationRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableAggregation=ruleTableAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableAggregation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableAggregation"
// $ANTLR start "ruleTableAggregation"
// InternalReportDSL.g:6034:1: ruleTableAggregation returns [EObject current=null] : (otherlv_0= 'aggregate' ( (lv_aggregation_1_0= ruleTableBaseAggregation ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) ) ) ) ;
public final EObject ruleTableAggregation() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
EObject lv_aggregation_1_0 = null;
AntlrDatatypeRuleToken lv_text_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:6040:2: ( (otherlv_0= 'aggregate' ( (lv_aggregation_1_0= ruleTableBaseAggregation ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) ) ) ) )
// InternalReportDSL.g:6041:2: (otherlv_0= 'aggregate' ( (lv_aggregation_1_0= ruleTableBaseAggregation ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) ) ) )
{
// InternalReportDSL.g:6041:2: (otherlv_0= 'aggregate' ( (lv_aggregation_1_0= ruleTableBaseAggregation ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) ) ) )
// InternalReportDSL.g:6042:3: otherlv_0= 'aggregate' ( (lv_aggregation_1_0= ruleTableBaseAggregation ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) ) )
{
otherlv_0=(Token)match(input,100,FOLLOW_104); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTableAggregationAccess().getAggregateKeyword_0());
}
// InternalReportDSL.g:6046:3: ( (lv_aggregation_1_0= ruleTableBaseAggregation ) )
// InternalReportDSL.g:6047:4: (lv_aggregation_1_0= ruleTableBaseAggregation )
{
// InternalReportDSL.g:6047:4: (lv_aggregation_1_0= ruleTableBaseAggregation )
// InternalReportDSL.g:6048:5: lv_aggregation_1_0= ruleTableBaseAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableAggregationAccess().getAggregationTableBaseAggregationParserRuleCall_1_0());
}
pushFollow(FOLLOW_105);
lv_aggregation_1_0=ruleTableBaseAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableBaseAggregation");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:6065:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) ) )
// InternalReportDSL.g:6066:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) )
{
// InternalReportDSL.g:6066:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* ) )
// InternalReportDSL.g:6067:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2());
// InternalReportDSL.g:6070:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )* )
// InternalReportDSL.g:6071:6: ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )*
{
// InternalReportDSL.g:6071:6: ( ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) ) )*
loop86:
do {
int alt86=3;
int LA86_0 = input.LA(1);
if ( (LA86_0==102) ) {
int LA86_2 = input.LA(2);
if ( (LA86_2==RULE_STRING) ) {
int LA86_4 = input.LA(3);
if ( getUnorderedGroupHelper().canSelect(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 1) ) {
alt86=2;
}
}
}
else if ( LA86_0 == 101 && getUnorderedGroupHelper().canSelect(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 0) ) {
alt86=1;
}
switch (alt86) {
case 1 :
// InternalReportDSL.g:6072:4: ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) )
{
// InternalReportDSL.g:6072:4: ({...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) ) )
// InternalReportDSL.g:6073:5: {...}? => ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleTableAggregation", "getUnorderedGroupHelper().canSelect(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 0)");
}
// InternalReportDSL.g:6073:113: ( ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) ) )
// InternalReportDSL.g:6074:6: ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 0);
// InternalReportDSL.g:6077:9: ({...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) ) )
// InternalReportDSL.g:6077:10: {...}? => (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleTableAggregation", "true");
}
// InternalReportDSL.g:6077:19: (otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) ) )
// InternalReportDSL.g:6077:20: otherlv_3= 'on-group' ( (otherlv_4= RULE_ID ) )
{
otherlv_3=(Token)match(input,101,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTableAggregationAccess().getOnGroupKeyword_2_0_0());
}
// InternalReportDSL.g:6081:9: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:6082:10: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:6082:10: (otherlv_4= RULE_ID )
// InternalReportDSL.g:6083:11: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableAggregationRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_105); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getTableAggregationAccess().getOnGroupDatamartTableGroupCrossReference_2_0_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// InternalReportDSL.g:6100:4: ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) )
{
// InternalReportDSL.g:6100:4: ({...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) ) )
// InternalReportDSL.g:6101:5: {...}? => ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleTableAggregation", "getUnorderedGroupHelper().canSelect(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 1)");
}
// InternalReportDSL.g:6101:113: ( ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) ) )
// InternalReportDSL.g:6102:6: ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2(), 1);
// InternalReportDSL.g:6105:9: ({...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) ) )
// InternalReportDSL.g:6105:10: {...}? => (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleTableAggregation", "true");
}
// InternalReportDSL.g:6105:19: (otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) ) )
// InternalReportDSL.g:6105:20: otherlv_5= 'title' ( (lv_text_6_0= ruleTRANSLATABLESTRING ) )
{
otherlv_5=(Token)match(input,102,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getTableAggregationAccess().getTitleKeyword_2_1_0());
}
// InternalReportDSL.g:6109:9: ( (lv_text_6_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:6110:10: (lv_text_6_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:6110:10: (lv_text_6_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:6111:11: lv_text_6_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableAggregationAccess().getTextTRANSLATABLESTRINGParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_105);
lv_text_6_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableAggregationRule());
}
set(
current,
"text",
lv_text_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2());
}
}
}
break;
default :
break loop86;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getTableAggregationAccess().getUnorderedGroup_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableAggregation"
// $ANTLR start "entryRuleTableBaseAggregation"
// InternalReportDSL.g:6145:1: entryRuleTableBaseAggregation returns [EObject current=null] : iv_ruleTableBaseAggregation= ruleTableBaseAggregation EOF ;
public final EObject entryRuleTableBaseAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableBaseAggregation = null;
try {
// InternalReportDSL.g:6145:61: (iv_ruleTableBaseAggregation= ruleTableBaseAggregation EOF )
// InternalReportDSL.g:6146:2: iv_ruleTableBaseAggregation= ruleTableBaseAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBaseAggregationRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableBaseAggregation=ruleTableBaseAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableBaseAggregation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableBaseAggregation"
// $ANTLR start "ruleTableBaseAggregation"
// InternalReportDSL.g:6152:1: ruleTableBaseAggregation returns [EObject current=null] : (this_TablePureAggregation_0= ruleTablePureAggregation | this_TableUnaryAggregation_1= ruleTableUnaryAggregation | this_TableMultipleAggregation_2= ruleTableMultipleAggregation | this_TableBinaryAggregation_3= ruleTableBinaryAggregation ) ;
public final EObject ruleTableBaseAggregation() throws RecognitionException {
EObject current = null;
EObject this_TablePureAggregation_0 = null;
EObject this_TableUnaryAggregation_1 = null;
EObject this_TableMultipleAggregation_2 = null;
EObject this_TableBinaryAggregation_3 = null;
enterRule();
try {
// InternalReportDSL.g:6158:2: ( (this_TablePureAggregation_0= ruleTablePureAggregation | this_TableUnaryAggregation_1= ruleTableUnaryAggregation | this_TableMultipleAggregation_2= ruleTableMultipleAggregation | this_TableBinaryAggregation_3= ruleTableBinaryAggregation ) )
// InternalReportDSL.g:6159:2: (this_TablePureAggregation_0= ruleTablePureAggregation | this_TableUnaryAggregation_1= ruleTableUnaryAggregation | this_TableMultipleAggregation_2= ruleTableMultipleAggregation | this_TableBinaryAggregation_3= ruleTableBinaryAggregation )
{
// InternalReportDSL.g:6159:2: (this_TablePureAggregation_0= ruleTablePureAggregation | this_TableUnaryAggregation_1= ruleTableUnaryAggregation | this_TableMultipleAggregation_2= ruleTableMultipleAggregation | this_TableBinaryAggregation_3= ruleTableBinaryAggregation )
int alt87=4;
switch ( input.LA(1) ) {
case 230:
case 231:
{
alt87=1;
}
break;
case 232:
case 233:
case 234:
case 235:
case 236:
{
alt87=2;
}
break;
case 238:
{
alt87=3;
}
break;
case 237:
{
alt87=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 87, 0, input);
throw nvae;
}
switch (alt87) {
case 1 :
// InternalReportDSL.g:6160:3: this_TablePureAggregation_0= ruleTablePureAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBaseAggregationAccess().getTablePureAggregationParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_TablePureAggregation_0=ruleTablePureAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TablePureAggregation_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:6169:3: this_TableUnaryAggregation_1= ruleTableUnaryAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBaseAggregationAccess().getTableUnaryAggregationParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_TableUnaryAggregation_1=ruleTableUnaryAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableUnaryAggregation_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:6178:3: this_TableMultipleAggregation_2= ruleTableMultipleAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBaseAggregationAccess().getTableMultipleAggregationParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_TableMultipleAggregation_2=ruleTableMultipleAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableMultipleAggregation_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalReportDSL.g:6187:3: this_TableBinaryAggregation_3= ruleTableBinaryAggregation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBaseAggregationAccess().getTableBinaryAggregationParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_TableBinaryAggregation_3=ruleTableBinaryAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableBinaryAggregation_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableBaseAggregation"
// $ANTLR start "entryRuleTablePureAggregation"
// InternalReportDSL.g:6199:1: entryRuleTablePureAggregation returns [EObject current=null] : iv_ruleTablePureAggregation= ruleTablePureAggregation EOF ;
public final EObject entryRuleTablePureAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleTablePureAggregation = null;
try {
// InternalReportDSL.g:6199:61: (iv_ruleTablePureAggregation= ruleTablePureAggregation EOF )
// InternalReportDSL.g:6200:2: iv_ruleTablePureAggregation= ruleTablePureAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTablePureAggregationRule());
}
pushFollow(FOLLOW_1);
iv_ruleTablePureAggregation=ruleTablePureAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTablePureAggregation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTablePureAggregation"
// $ANTLR start "ruleTablePureAggregation"
// InternalReportDSL.g:6206:1: ruleTablePureAggregation returns [EObject current=null] : ( (lv_aggregation_0_0= rulePureAggregationTypeEnum ) ) ;
public final EObject ruleTablePureAggregation() throws RecognitionException {
EObject current = null;
Enumerator lv_aggregation_0_0 = null;
enterRule();
try {
// InternalReportDSL.g:6212:2: ( ( (lv_aggregation_0_0= rulePureAggregationTypeEnum ) ) )
// InternalReportDSL.g:6213:2: ( (lv_aggregation_0_0= rulePureAggregationTypeEnum ) )
{
// InternalReportDSL.g:6213:2: ( (lv_aggregation_0_0= rulePureAggregationTypeEnum ) )
// InternalReportDSL.g:6214:3: (lv_aggregation_0_0= rulePureAggregationTypeEnum )
{
// InternalReportDSL.g:6214:3: (lv_aggregation_0_0= rulePureAggregationTypeEnum )
// InternalReportDSL.g:6215:4: lv_aggregation_0_0= rulePureAggregationTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTablePureAggregationAccess().getAggregationPureAggregationTypeEnumEnumRuleCall_0());
}
pushFollow(FOLLOW_2);
lv_aggregation_0_0=rulePureAggregationTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTablePureAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.PureAggregationTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTablePureAggregation"
// $ANTLR start "entryRuleTableUnaryAggregation"
// InternalReportDSL.g:6235:1: entryRuleTableUnaryAggregation returns [EObject current=null] : iv_ruleTableUnaryAggregation= ruleTableUnaryAggregation EOF ;
public final EObject entryRuleTableUnaryAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableUnaryAggregation = null;
try {
// InternalReportDSL.g:6235:62: (iv_ruleTableUnaryAggregation= ruleTableUnaryAggregation EOF )
// InternalReportDSL.g:6236:2: iv_ruleTableUnaryAggregation= ruleTableUnaryAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableUnaryAggregationRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableUnaryAggregation=ruleTableUnaryAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableUnaryAggregation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableUnaryAggregation"
// $ANTLR start "ruleTableUnaryAggregation"
// InternalReportDSL.g:6242:1: ruleTableUnaryAggregation returns [EObject current=null] : ( ( (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum ) ) ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleTableUnaryAggregation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Enumerator lv_aggregation_0_0 = null;
enterRule();
try {
// InternalReportDSL.g:6248:2: ( ( ( (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum ) ) ( (otherlv_1= RULE_ID ) ) ) )
// InternalReportDSL.g:6249:2: ( ( (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum ) ) ( (otherlv_1= RULE_ID ) ) )
{
// InternalReportDSL.g:6249:2: ( ( (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum ) ) ( (otherlv_1= RULE_ID ) ) )
// InternalReportDSL.g:6250:3: ( (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum ) ) ( (otherlv_1= RULE_ID ) )
{
// InternalReportDSL.g:6250:3: ( (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum ) )
// InternalReportDSL.g:6251:4: (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum )
{
// InternalReportDSL.g:6251:4: (lv_aggregation_0_0= ruleUnaryAggregationTypeEnum )
// InternalReportDSL.g:6252:5: lv_aggregation_0_0= ruleUnaryAggregationTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableUnaryAggregationAccess().getAggregationUnaryAggregationTypeEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_4);
lv_aggregation_0_0=ruleUnaryAggregationTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableUnaryAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnaryAggregationTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:6269:3: ( (otherlv_1= RULE_ID ) )
// InternalReportDSL.g:6270:4: (otherlv_1= RULE_ID )
{
// InternalReportDSL.g:6270:4: (otherlv_1= RULE_ID )
// InternalReportDSL.g:6271:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableUnaryAggregationRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableUnaryAggregationAccess().getValueRefsDatamartAttributeCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableUnaryAggregation"
// $ANTLR start "entryRuleTableMultipleAggregation"
// InternalReportDSL.g:6286:1: entryRuleTableMultipleAggregation returns [EObject current=null] : iv_ruleTableMultipleAggregation= ruleTableMultipleAggregation EOF ;
public final EObject entryRuleTableMultipleAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableMultipleAggregation = null;
try {
// InternalReportDSL.g:6286:65: (iv_ruleTableMultipleAggregation= ruleTableMultipleAggregation EOF )
// InternalReportDSL.g:6287:2: iv_ruleTableMultipleAggregation= ruleTableMultipleAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableMultipleAggregationRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableMultipleAggregation=ruleTableMultipleAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableMultipleAggregation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableMultipleAggregation"
// $ANTLR start "ruleTableMultipleAggregation"
// InternalReportDSL.g:6293:1: ruleTableMultipleAggregation returns [EObject current=null] : ( ( (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) )* otherlv_3= ')' ) ;
public final EObject ruleTableMultipleAggregation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Enumerator lv_aggregation_0_0 = null;
enterRule();
try {
// InternalReportDSL.g:6299:2: ( ( ( (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) )* otherlv_3= ')' ) )
// InternalReportDSL.g:6300:2: ( ( (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) )* otherlv_3= ')' )
{
// InternalReportDSL.g:6300:2: ( ( (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) )* otherlv_3= ')' )
// InternalReportDSL.g:6301:3: ( (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) )* otherlv_3= ')'
{
// InternalReportDSL.g:6301:3: ( (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum ) )
// InternalReportDSL.g:6302:4: (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum )
{
// InternalReportDSL.g:6302:4: (lv_aggregation_0_0= ruleMultipleAggregationTypeEnum )
// InternalReportDSL.g:6303:5: lv_aggregation_0_0= ruleMultipleAggregationTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableMultipleAggregationAccess().getAggregationMultipleAggregationTypeEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_106);
lv_aggregation_0_0=ruleMultipleAggregationTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableMultipleAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.MultipleAggregationTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,103,FOLLOW_107); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableMultipleAggregationAccess().getLeftParenthesisKeyword_1());
}
// InternalReportDSL.g:6324:3: ( (otherlv_2= RULE_ID ) )*
loop88:
do {
int alt88=2;
int LA88_0 = input.LA(1);
if ( (LA88_0==RULE_ID) ) {
alt88=1;
}
switch (alt88) {
case 1 :
// InternalReportDSL.g:6325:4: (otherlv_2= RULE_ID )
{
// InternalReportDSL.g:6325:4: (otherlv_2= RULE_ID )
// InternalReportDSL.g:6326:5: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableMultipleAggregationRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_107); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getTableMultipleAggregationAccess().getValueRefsDatamartAttributeCrossReference_2_0());
}
}
}
break;
default :
break loop88;
}
} while (true);
otherlv_3=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTableMultipleAggregationAccess().getRightParenthesisKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableMultipleAggregation"
// $ANTLR start "entryRuleStringBinderValue"
// InternalReportDSL.g:6345:1: entryRuleStringBinderValue returns [EObject current=null] : iv_ruleStringBinderValue= ruleStringBinderValue EOF ;
public final EObject entryRuleStringBinderValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleStringBinderValue = null;
try {
// InternalReportDSL.g:6345:58: (iv_ruleStringBinderValue= ruleStringBinderValue EOF )
// InternalReportDSL.g:6346:2: iv_ruleStringBinderValue= ruleStringBinderValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringBinderValueRule());
}
pushFollow(FOLLOW_1);
iv_ruleStringBinderValue=ruleStringBinderValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStringBinderValue;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStringBinderValue"
// $ANTLR start "ruleStringBinderValue"
// InternalReportDSL.g:6352:1: ruleStringBinderValue returns [EObject current=null] : (this_TableAttribute_0= ruleTableAttribute | this_TranslatableText_1= ruleTranslatableText | this_NonTranslatableText_2= ruleNonTranslatableText ) ;
public final EObject ruleStringBinderValue() throws RecognitionException {
EObject current = null;
EObject this_TableAttribute_0 = null;
EObject this_TranslatableText_1 = null;
EObject this_NonTranslatableText_2 = null;
enterRule();
try {
// InternalReportDSL.g:6358:2: ( (this_TableAttribute_0= ruleTableAttribute | this_TranslatableText_1= ruleTranslatableText | this_NonTranslatableText_2= ruleNonTranslatableText ) )
// InternalReportDSL.g:6359:2: (this_TableAttribute_0= ruleTableAttribute | this_TranslatableText_1= ruleTranslatableText | this_NonTranslatableText_2= ruleNonTranslatableText )
{
// InternalReportDSL.g:6359:2: (this_TableAttribute_0= ruleTableAttribute | this_TranslatableText_1= ruleTranslatableText | this_NonTranslatableText_2= ruleNonTranslatableText )
int alt89=3;
switch ( input.LA(1) ) {
case 99:
{
alt89=1;
}
break;
case 105:
{
alt89=2;
}
break;
case 106:
{
alt89=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 89, 0, input);
throw nvae;
}
switch (alt89) {
case 1 :
// InternalReportDSL.g:6360:3: this_TableAttribute_0= ruleTableAttribute
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringBinderValueAccess().getTableAttributeParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_TableAttribute_0=ruleTableAttribute();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableAttribute_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:6369:3: this_TranslatableText_1= ruleTranslatableText
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringBinderValueAccess().getTranslatableTextParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_TranslatableText_1=ruleTranslatableText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TranslatableText_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:6378:3: this_NonTranslatableText_2= ruleNonTranslatableText
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringBinderValueAccess().getNonTranslatableTextParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_NonTranslatableText_2=ruleNonTranslatableText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_NonTranslatableText_2;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStringBinderValue"
// $ANTLR start "entryRuleTranslatableText"
// InternalReportDSL.g:6390:1: entryRuleTranslatableText returns [EObject current=null] : iv_ruleTranslatableText= ruleTranslatableText EOF ;
public final EObject entryRuleTranslatableText() throws RecognitionException {
EObject current = null;
EObject iv_ruleTranslatableText = null;
try {
// InternalReportDSL.g:6390:57: (iv_ruleTranslatableText= ruleTranslatableText EOF )
// InternalReportDSL.g:6391:2: iv_ruleTranslatableText= ruleTranslatableText EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTranslatableTextRule());
}
pushFollow(FOLLOW_1);
iv_ruleTranslatableText=ruleTranslatableText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTranslatableText;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTranslatableText"
// $ANTLR start "ruleTranslatableText"
// InternalReportDSL.g:6397:1: ruleTranslatableText returns [EObject current=null] : (otherlv_0= 'translatable' ( (lv_value_1_0= ruleTRANSLATABLESTRING ) ) ) ;
public final EObject ruleTranslatableText() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_value_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:6403:2: ( (otherlv_0= 'translatable' ( (lv_value_1_0= ruleTRANSLATABLESTRING ) ) ) )
// InternalReportDSL.g:6404:2: (otherlv_0= 'translatable' ( (lv_value_1_0= ruleTRANSLATABLESTRING ) ) )
{
// InternalReportDSL.g:6404:2: (otherlv_0= 'translatable' ( (lv_value_1_0= ruleTRANSLATABLESTRING ) ) )
// InternalReportDSL.g:6405:3: otherlv_0= 'translatable' ( (lv_value_1_0= ruleTRANSLATABLESTRING ) )
{
otherlv_0=(Token)match(input,105,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTranslatableTextAccess().getTranslatableKeyword_0());
}
// InternalReportDSL.g:6409:3: ( (lv_value_1_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:6410:4: (lv_value_1_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:6410:4: (lv_value_1_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:6411:5: lv_value_1_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTranslatableTextAccess().getValueTRANSLATABLESTRINGParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_value_1_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTranslatableTextRule());
}
set(
current,
"value",
lv_value_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTranslatableText"
// $ANTLR start "entryRuleNonTranslatableText"
// InternalReportDSL.g:6432:1: entryRuleNonTranslatableText returns [EObject current=null] : iv_ruleNonTranslatableText= ruleNonTranslatableText EOF ;
public final EObject entryRuleNonTranslatableText() throws RecognitionException {
EObject current = null;
EObject iv_ruleNonTranslatableText = null;
try {
// InternalReportDSL.g:6432:60: (iv_ruleNonTranslatableText= ruleNonTranslatableText EOF )
// InternalReportDSL.g:6433:2: iv_ruleNonTranslatableText= ruleNonTranslatableText EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNonTranslatableTextRule());
}
pushFollow(FOLLOW_1);
iv_ruleNonTranslatableText=ruleNonTranslatableText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNonTranslatableText;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleNonTranslatableText"
// $ANTLR start "ruleNonTranslatableText"
// InternalReportDSL.g:6439:1: ruleNonTranslatableText returns [EObject current=null] : (otherlv_0= 'nontranslatable' ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleNonTranslatableText() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_value_1_0=null;
enterRule();
try {
// InternalReportDSL.g:6445:2: ( (otherlv_0= 'nontranslatable' ( (lv_value_1_0= RULE_STRING ) ) ) )
// InternalReportDSL.g:6446:2: (otherlv_0= 'nontranslatable' ( (lv_value_1_0= RULE_STRING ) ) )
{
// InternalReportDSL.g:6446:2: (otherlv_0= 'nontranslatable' ( (lv_value_1_0= RULE_STRING ) ) )
// InternalReportDSL.g:6447:3: otherlv_0= 'nontranslatable' ( (lv_value_1_0= RULE_STRING ) )
{
otherlv_0=(Token)match(input,106,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getNonTranslatableTextAccess().getNontranslatableKeyword_0());
}
// InternalReportDSL.g:6451:3: ( (lv_value_1_0= RULE_STRING ) )
// InternalReportDSL.g:6452:4: (lv_value_1_0= RULE_STRING )
{
// InternalReportDSL.g:6452:4: (lv_value_1_0= RULE_STRING )
// InternalReportDSL.g:6453:5: lv_value_1_0= RULE_STRING
{
lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_value_1_0, grammarAccess.getNonTranslatableTextAccess().getValueSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getNonTranslatableTextRule());
}
setWithLastConsumed(
current,
"value",
lv_value_1_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleNonTranslatableText"
// $ANTLR start "entryRuleStringBinder"
// InternalReportDSL.g:6473:1: entryRuleStringBinder returns [EObject current=null] : iv_ruleStringBinder= ruleStringBinder EOF ;
public final EObject entryRuleStringBinder() throws RecognitionException {
EObject current = null;
EObject iv_ruleStringBinder = null;
try {
// InternalReportDSL.g:6473:53: (iv_ruleStringBinder= ruleStringBinder EOF )
// InternalReportDSL.g:6474:2: iv_ruleStringBinder= ruleStringBinder EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringBinderRule());
}
pushFollow(FOLLOW_1);
iv_ruleStringBinder=ruleStringBinder();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStringBinder;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStringBinder"
// $ANTLR start "ruleStringBinder"
// InternalReportDSL.g:6480:1: ruleStringBinder returns [EObject current=null] : ( () otherlv_1= 'stringBinder' otherlv_2= '(' ( (lv_elements_3_0= ruleStringBinderValue ) )* otherlv_4= ')' (otherlv_5= 'style' ( (otherlv_6= RULE_ID ) ) )? ) ;
public final EObject ruleStringBinder() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:6486:2: ( ( () otherlv_1= 'stringBinder' otherlv_2= '(' ( (lv_elements_3_0= ruleStringBinderValue ) )* otherlv_4= ')' (otherlv_5= 'style' ( (otherlv_6= RULE_ID ) ) )? ) )
// InternalReportDSL.g:6487:2: ( () otherlv_1= 'stringBinder' otherlv_2= '(' ( (lv_elements_3_0= ruleStringBinderValue ) )* otherlv_4= ')' (otherlv_5= 'style' ( (otherlv_6= RULE_ID ) ) )? )
{
// InternalReportDSL.g:6487:2: ( () otherlv_1= 'stringBinder' otherlv_2= '(' ( (lv_elements_3_0= ruleStringBinderValue ) )* otherlv_4= ')' (otherlv_5= 'style' ( (otherlv_6= RULE_ID ) ) )? )
// InternalReportDSL.g:6488:3: () otherlv_1= 'stringBinder' otherlv_2= '(' ( (lv_elements_3_0= ruleStringBinderValue ) )* otherlv_4= ')' (otherlv_5= 'style' ( (otherlv_6= RULE_ID ) ) )?
{
// InternalReportDSL.g:6488:3: ()
// InternalReportDSL.g:6489:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getStringBinderAccess().getStringBinderAction_0(),
current);
}
}
otherlv_1=(Token)match(input,107,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getStringBinderAccess().getStringBinderKeyword_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_108); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getStringBinderAccess().getLeftParenthesisKeyword_2());
}
// InternalReportDSL.g:6503:3: ( (lv_elements_3_0= ruleStringBinderValue ) )*
loop90:
do {
int alt90=2;
int LA90_0 = input.LA(1);
if ( (LA90_0==99||(LA90_0>=105 && LA90_0<=106)) ) {
alt90=1;
}
switch (alt90) {
case 1 :
// InternalReportDSL.g:6504:4: (lv_elements_3_0= ruleStringBinderValue )
{
// InternalReportDSL.g:6504:4: (lv_elements_3_0= ruleStringBinderValue )
// InternalReportDSL.g:6505:5: lv_elements_3_0= ruleStringBinderValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringBinderAccess().getElementsStringBinderValueParserRuleCall_3_0());
}
pushFollow(FOLLOW_108);
lv_elements_3_0=ruleStringBinderValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStringBinderRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.StringBinderValue");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop90;
}
} while (true);
otherlv_4=(Token)match(input,104,FOLLOW_109); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getStringBinderAccess().getRightParenthesisKeyword_4());
}
// InternalReportDSL.g:6526:3: (otherlv_5= 'style' ( (otherlv_6= RULE_ID ) ) )?
int alt91=2;
int LA91_0 = input.LA(1);
if ( (LA91_0==43) ) {
alt91=1;
}
switch (alt91) {
case 1 :
// InternalReportDSL.g:6527:4: otherlv_5= 'style' ( (otherlv_6= RULE_ID ) )
{
otherlv_5=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getStringBinderAccess().getStyleKeyword_5_0());
}
// InternalReportDSL.g:6531:4: ( (otherlv_6= RULE_ID ) )
// InternalReportDSL.g:6532:5: (otherlv_6= RULE_ID )
{
// InternalReportDSL.g:6532:5: (otherlv_6= RULE_ID )
// InternalReportDSL.g:6533:6: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getStringBinderRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getStringBinderAccess().getStyleStyleCrossReference_5_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStringBinder"
// $ANTLR start "entryRulePageBreak"
// InternalReportDSL.g:6549:1: entryRulePageBreak returns [EObject current=null] : iv_rulePageBreak= rulePageBreak EOF ;
public final EObject entryRulePageBreak() throws RecognitionException {
EObject current = null;
EObject iv_rulePageBreak = null;
try {
// InternalReportDSL.g:6549:50: (iv_rulePageBreak= rulePageBreak EOF )
// InternalReportDSL.g:6550:2: iv_rulePageBreak= rulePageBreak EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageBreakRule());
}
pushFollow(FOLLOW_1);
iv_rulePageBreak=rulePageBreak();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePageBreak;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePageBreak"
// $ANTLR start "rulePageBreak"
// InternalReportDSL.g:6556:1: rulePageBreak returns [EObject current=null] : ( () otherlv_1= 'pageBreak' (otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) ) )? ) ;
public final EObject rulePageBreak() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Enumerator lv_beforePageBreak_3_0 = null;
Enumerator lv_afterPageBreak_5_0 = null;
Enumerator lv_insidePageBreak_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:6562:2: ( ( () otherlv_1= 'pageBreak' (otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) ) )? ) )
// InternalReportDSL.g:6563:2: ( () otherlv_1= 'pageBreak' (otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) ) )? )
{
// InternalReportDSL.g:6563:2: ( () otherlv_1= 'pageBreak' (otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) ) )? )
// InternalReportDSL.g:6564:3: () otherlv_1= 'pageBreak' (otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) ) )? (otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) ) )?
{
// InternalReportDSL.g:6564:3: ()
// InternalReportDSL.g:6565:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPageBreakAccess().getPageBreakAction_0(),
current);
}
}
otherlv_1=(Token)match(input,108,FOLLOW_110); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getPageBreakAccess().getPageBreakKeyword_1());
}
// InternalReportDSL.g:6575:3: (otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) ) )?
int alt92=2;
int LA92_0 = input.LA(1);
if ( (LA92_0==109) ) {
alt92=1;
}
switch (alt92) {
case 1 :
// InternalReportDSL.g:6576:4: otherlv_2= 'before' ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) )
{
otherlv_2=(Token)match(input,109,FOLLOW_111); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getPageBreakAccess().getBeforeKeyword_2_0());
}
// InternalReportDSL.g:6580:4: ( (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum ) )
// InternalReportDSL.g:6581:5: (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum )
{
// InternalReportDSL.g:6581:5: (lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum )
// InternalReportDSL.g:6582:6: lv_beforePageBreak_3_0= ruleBeforeAfterPageBreakEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageBreakAccess().getBeforePageBreakBeforeAfterPageBreakEnumEnumRuleCall_2_1_0());
}
pushFollow(FOLLOW_112);
lv_beforePageBreak_3_0=ruleBeforeAfterPageBreakEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageBreakRule());
}
set(
current,
"beforePageBreak",
lv_beforePageBreak_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BeforeAfterPageBreakEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:6600:3: (otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) ) )?
int alt93=2;
int LA93_0 = input.LA(1);
if ( (LA93_0==110) ) {
alt93=1;
}
switch (alt93) {
case 1 :
// InternalReportDSL.g:6601:4: otherlv_4= 'after' ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) )
{
otherlv_4=(Token)match(input,110,FOLLOW_111); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getPageBreakAccess().getAfterKeyword_3_0());
}
// InternalReportDSL.g:6605:4: ( (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum ) )
// InternalReportDSL.g:6606:5: (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum )
{
// InternalReportDSL.g:6606:5: (lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum )
// InternalReportDSL.g:6607:6: lv_afterPageBreak_5_0= ruleBeforeAfterPageBreakEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageBreakAccess().getAfterPageBreakBeforeAfterPageBreakEnumEnumRuleCall_3_1_0());
}
pushFollow(FOLLOW_113);
lv_afterPageBreak_5_0=ruleBeforeAfterPageBreakEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageBreakRule());
}
set(
current,
"afterPageBreak",
lv_afterPageBreak_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BeforeAfterPageBreakEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:6625:3: (otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) ) )?
int alt94=2;
int LA94_0 = input.LA(1);
if ( (LA94_0==111) ) {
alt94=1;
}
switch (alt94) {
case 1 :
// InternalReportDSL.g:6626:4: otherlv_6= 'inside' ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) )
{
otherlv_6=(Token)match(input,111,FOLLOW_114); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getPageBreakAccess().getInsideKeyword_4_0());
}
// InternalReportDSL.g:6630:4: ( (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum ) )
// InternalReportDSL.g:6631:5: (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum )
{
// InternalReportDSL.g:6631:5: (lv_insidePageBreak_7_0= ruleInsidePageBreakEnum )
// InternalReportDSL.g:6632:6: lv_insidePageBreak_7_0= ruleInsidePageBreakEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPageBreakAccess().getInsidePageBreakInsidePageBreakEnumEnumRuleCall_4_1_0());
}
pushFollow(FOLLOW_2);
lv_insidePageBreak_7_0=ruleInsidePageBreakEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPageBreakRule());
}
set(
current,
"insidePageBreak",
lv_insidePageBreak_7_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.InsidePageBreakEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageBreak"
// $ANTLR start "entryRuleTableBinaryAggregation"
// InternalReportDSL.g:6654:1: entryRuleTableBinaryAggregation returns [EObject current=null] : iv_ruleTableBinaryAggregation= ruleTableBinaryAggregation EOF ;
public final EObject entryRuleTableBinaryAggregation() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableBinaryAggregation = null;
try {
// InternalReportDSL.g:6654:63: (iv_ruleTableBinaryAggregation= ruleTableBinaryAggregation EOF )
// InternalReportDSL.g:6655:2: iv_ruleTableBinaryAggregation= ruleTableBinaryAggregation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBinaryAggregationRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableBinaryAggregation=ruleTableBinaryAggregation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableBinaryAggregation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableBinaryAggregation"
// $ANTLR start "ruleTableBinaryAggregation"
// InternalReportDSL.g:6661:1: ruleTableBinaryAggregation returns [EObject current=null] : ( ( (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) ) ( (otherlv_3= RULE_ID ) ) otherlv_4= ')' ) ;
public final EObject ruleTableBinaryAggregation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_4=null;
Enumerator lv_aggregation_0_0 = null;
enterRule();
try {
// InternalReportDSL.g:6667:2: ( ( ( (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) ) ( (otherlv_3= RULE_ID ) ) otherlv_4= ')' ) )
// InternalReportDSL.g:6668:2: ( ( (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) ) ( (otherlv_3= RULE_ID ) ) otherlv_4= ')' )
{
// InternalReportDSL.g:6668:2: ( ( (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) ) ( (otherlv_3= RULE_ID ) ) otherlv_4= ')' )
// InternalReportDSL.g:6669:3: ( (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum ) ) otherlv_1= '(' ( (otherlv_2= RULE_ID ) ) ( (otherlv_3= RULE_ID ) ) otherlv_4= ')'
{
// InternalReportDSL.g:6669:3: ( (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum ) )
// InternalReportDSL.g:6670:4: (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum )
{
// InternalReportDSL.g:6670:4: (lv_aggregation_0_0= ruleBinaryAggregationTypeEnum )
// InternalReportDSL.g:6671:5: lv_aggregation_0_0= ruleBinaryAggregationTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableBinaryAggregationAccess().getAggregationBinaryAggregationTypeEnumEnumRuleCall_0_0());
}
pushFollow(FOLLOW_106);
lv_aggregation_0_0=ruleBinaryAggregationTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableBinaryAggregationRule());
}
set(
current,
"aggregation",
lv_aggregation_0_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.BinaryAggregationTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,103,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableBinaryAggregationAccess().getLeftParenthesisKeyword_1());
}
// InternalReportDSL.g:6692:3: ( (otherlv_2= RULE_ID ) )
// InternalReportDSL.g:6693:4: (otherlv_2= RULE_ID )
{
// InternalReportDSL.g:6693:4: (otherlv_2= RULE_ID )
// InternalReportDSL.g:6694:5: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableBinaryAggregationRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getTableBinaryAggregationAccess().getValueRefsDatamartAttributeCrossReference_2_0());
}
}
}
// InternalReportDSL.g:6705:3: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:6706:4: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:6706:4: (otherlv_3= RULE_ID )
// InternalReportDSL.g:6707:5: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableBinaryAggregationRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_115); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTableBinaryAggregationAccess().getValueRefsDatamartAttributeCrossReference_3_0());
}
}
}
otherlv_4=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getTableBinaryAggregationAccess().getRightParenthesisKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableBinaryAggregation"
// $ANTLR start "entryRuleTableInterval"
// InternalReportDSL.g:6726:1: entryRuleTableInterval returns [EObject current=null] : iv_ruleTableInterval= ruleTableInterval EOF ;
public final EObject entryRuleTableInterval() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableInterval = null;
try {
// InternalReportDSL.g:6726:54: (iv_ruleTableInterval= ruleTableInterval EOF )
// InternalReportDSL.g:6727:2: iv_ruleTableInterval= ruleTableInterval EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableIntervalRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableInterval=ruleTableInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableInterval;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableInterval"
// $ANTLR start "ruleTableInterval"
// InternalReportDSL.g:6733:1: ruleTableInterval returns [EObject current=null] : (this_TableNumberInterval_0= ruleTableNumberInterval | this_TableDateDayInterval_1= ruleTableDateDayInterval ) ;
public final EObject ruleTableInterval() throws RecognitionException {
EObject current = null;
EObject this_TableNumberInterval_0 = null;
EObject this_TableDateDayInterval_1 = null;
enterRule();
try {
// InternalReportDSL.g:6739:2: ( (this_TableNumberInterval_0= ruleTableNumberInterval | this_TableDateDayInterval_1= ruleTableDateDayInterval ) )
// InternalReportDSL.g:6740:2: (this_TableNumberInterval_0= ruleTableNumberInterval | this_TableDateDayInterval_1= ruleTableDateDayInterval )
{
// InternalReportDSL.g:6740:2: (this_TableNumberInterval_0= ruleTableNumberInterval | this_TableDateDayInterval_1= ruleTableDateDayInterval )
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==112) ) {
alt95=1;
}
else if ( (LA95_0==113) ) {
alt95=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 95, 0, input);
throw nvae;
}
switch (alt95) {
case 1 :
// InternalReportDSL.g:6741:3: this_TableNumberInterval_0= ruleTableNumberInterval
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableIntervalAccess().getTableNumberIntervalParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_TableNumberInterval_0=ruleTableNumberInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableNumberInterval_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:6750:3: this_TableDateDayInterval_1= ruleTableDateDayInterval
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableIntervalAccess().getTableDateDayIntervalParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_TableDateDayInterval_1=ruleTableDateDayInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableDateDayInterval_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableInterval"
// $ANTLR start "entryRuleTableNumberInterval"
// InternalReportDSL.g:6762:1: entryRuleTableNumberInterval returns [EObject current=null] : iv_ruleTableNumberInterval= ruleTableNumberInterval EOF ;
public final EObject entryRuleTableNumberInterval() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableNumberInterval = null;
try {
// InternalReportDSL.g:6762:60: (iv_ruleTableNumberInterval= ruleTableNumberInterval EOF )
// InternalReportDSL.g:6763:2: iv_ruleTableNumberInterval= ruleTableNumberInterval EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableNumberIntervalRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableNumberInterval=ruleTableNumberInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableNumberInterval;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableNumberInterval"
// $ANTLR start "ruleTableNumberInterval"
// InternalReportDSL.g:6769:1: ruleTableNumberInterval returns [EObject current=null] : ( () otherlv_1= 'upTo' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleTableRangeElement ) ) ) ;
public final EObject ruleTableNumberInterval() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
AntlrDatatypeRuleToken lv_numberIntervalValue_2_0 = null;
EObject lv_numberRange_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:6775:2: ( ( () otherlv_1= 'upTo' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleTableRangeElement ) ) ) )
// InternalReportDSL.g:6776:2: ( () otherlv_1= 'upTo' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleTableRangeElement ) ) )
{
// InternalReportDSL.g:6776:2: ( () otherlv_1= 'upTo' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleTableRangeElement ) ) )
// InternalReportDSL.g:6777:3: () otherlv_1= 'upTo' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleTableRangeElement ) )
{
// InternalReportDSL.g:6777:3: ()
// InternalReportDSL.g:6778:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTableNumberIntervalAccess().getTableNumberIntervalAction_0(),
current);
}
}
otherlv_1=(Token)match(input,112,FOLLOW_116); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableNumberIntervalAccess().getUpToKeyword_1());
}
// InternalReportDSL.g:6788:3: ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) )
// InternalReportDSL.g:6789:4: (lv_numberIntervalValue_2_0= ruleSignedNumber )
{
// InternalReportDSL.g:6789:4: (lv_numberIntervalValue_2_0= ruleSignedNumber )
// InternalReportDSL.g:6790:5: lv_numberIntervalValue_2_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableNumberIntervalAccess().getNumberIntervalValueSignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_117);
lv_numberIntervalValue_2_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableNumberIntervalRule());
}
set(
current,
"numberIntervalValue",
lv_numberIntervalValue_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:6807:3: ( (lv_numberRange_3_0= ruleTableRangeElement ) )
// InternalReportDSL.g:6808:4: (lv_numberRange_3_0= ruleTableRangeElement )
{
// InternalReportDSL.g:6808:4: (lv_numberRange_3_0= ruleTableRangeElement )
// InternalReportDSL.g:6809:5: lv_numberRange_3_0= ruleTableRangeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableNumberIntervalAccess().getNumberRangeTableRangeElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_numberRange_3_0=ruleTableRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableNumberIntervalRule());
}
set(
current,
"numberRange",
lv_numberRange_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableRangeElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableNumberInterval"
// $ANTLR start "entryRuleTableDateDayInterval"
// InternalReportDSL.g:6830:1: entryRuleTableDateDayInterval returns [EObject current=null] : iv_ruleTableDateDayInterval= ruleTableDateDayInterval EOF ;
public final EObject entryRuleTableDateDayInterval() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableDateDayInterval = null;
try {
// InternalReportDSL.g:6830:61: (iv_ruleTableDateDayInterval= ruleTableDateDayInterval EOF )
// InternalReportDSL.g:6831:2: iv_ruleTableDateDayInterval= ruleTableDateDayInterval EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableDateDayIntervalRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableDateDayInterval=ruleTableDateDayInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableDateDayInterval;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableDateDayInterval"
// $ANTLR start "ruleTableDateDayInterval"
// InternalReportDSL.g:6837:1: ruleTableDateDayInterval returns [EObject current=null] : ( () otherlv_1= 'daysInPast' ( (lv_dateIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_dateRange_3_0= ruleTableRangeElement ) ) ) ;
public final EObject ruleTableDateDayInterval() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
AntlrDatatypeRuleToken lv_dateIntervalValue_2_0 = null;
EObject lv_dateRange_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:6843:2: ( ( () otherlv_1= 'daysInPast' ( (lv_dateIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_dateRange_3_0= ruleTableRangeElement ) ) ) )
// InternalReportDSL.g:6844:2: ( () otherlv_1= 'daysInPast' ( (lv_dateIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_dateRange_3_0= ruleTableRangeElement ) ) )
{
// InternalReportDSL.g:6844:2: ( () otherlv_1= 'daysInPast' ( (lv_dateIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_dateRange_3_0= ruleTableRangeElement ) ) )
// InternalReportDSL.g:6845:3: () otherlv_1= 'daysInPast' ( (lv_dateIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_dateRange_3_0= ruleTableRangeElement ) )
{
// InternalReportDSL.g:6845:3: ()
// InternalReportDSL.g:6846:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTableDateDayIntervalAccess().getTableDateDayIntervalAction_0(),
current);
}
}
otherlv_1=(Token)match(input,113,FOLLOW_116); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableDateDayIntervalAccess().getDaysInPastKeyword_1());
}
// InternalReportDSL.g:6856:3: ( (lv_dateIntervalValue_2_0= ruleSignedNumber ) )
// InternalReportDSL.g:6857:4: (lv_dateIntervalValue_2_0= ruleSignedNumber )
{
// InternalReportDSL.g:6857:4: (lv_dateIntervalValue_2_0= ruleSignedNumber )
// InternalReportDSL.g:6858:5: lv_dateIntervalValue_2_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableDateDayIntervalAccess().getDateIntervalValueSignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_117);
lv_dateIntervalValue_2_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableDateDayIntervalRule());
}
set(
current,
"dateIntervalValue",
lv_dateIntervalValue_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:6875:3: ( (lv_dateRange_3_0= ruleTableRangeElement ) )
// InternalReportDSL.g:6876:4: (lv_dateRange_3_0= ruleTableRangeElement )
{
// InternalReportDSL.g:6876:4: (lv_dateRange_3_0= ruleTableRangeElement )
// InternalReportDSL.g:6877:5: lv_dateRange_3_0= ruleTableRangeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableDateDayIntervalAccess().getDateRangeTableRangeElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_dateRange_3_0=ruleTableRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableDateDayIntervalRule());
}
set(
current,
"dateRange",
lv_dateRange_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableRangeElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableDateDayInterval"
// $ANTLR start "entryRuleTableLookup"
// InternalReportDSL.g:6898:1: entryRuleTableLookup returns [EObject current=null] : iv_ruleTableLookup= ruleTableLookup EOF ;
public final EObject entryRuleTableLookup() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableLookup = null;
try {
// InternalReportDSL.g:6898:52: (iv_ruleTableLookup= ruleTableLookup EOF )
// InternalReportDSL.g:6899:2: iv_ruleTableLookup= ruleTableLookup EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableLookupRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableLookup=ruleTableLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableLookup;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableLookup"
// $ANTLR start "ruleTableLookup"
// InternalReportDSL.g:6905:1: ruleTableLookup returns [EObject current=null] : (this_TableNumberLookup_0= ruleTableNumberLookup | this_TableStringLookup_1= ruleTableStringLookup | this_TableDateDayLookup_2= ruleTableDateDayLookup ) ;
public final EObject ruleTableLookup() throws RecognitionException {
EObject current = null;
EObject this_TableNumberLookup_0 = null;
EObject this_TableStringLookup_1 = null;
EObject this_TableDateDayLookup_2 = null;
enterRule();
try {
// InternalReportDSL.g:6911:2: ( (this_TableNumberLookup_0= ruleTableNumberLookup | this_TableStringLookup_1= ruleTableStringLookup | this_TableDateDayLookup_2= ruleTableDateDayLookup ) )
// InternalReportDSL.g:6912:2: (this_TableNumberLookup_0= ruleTableNumberLookup | this_TableStringLookup_1= ruleTableStringLookup | this_TableDateDayLookup_2= ruleTableDateDayLookup )
{
// InternalReportDSL.g:6912:2: (this_TableNumberLookup_0= ruleTableNumberLookup | this_TableStringLookup_1= ruleTableStringLookup | this_TableDateDayLookup_2= ruleTableDateDayLookup )
int alt96=3;
switch ( input.LA(1) ) {
case 64:
{
alt96=1;
}
break;
case 114:
{
alt96=2;
}
break;
case 113:
{
alt96=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 96, 0, input);
throw nvae;
}
switch (alt96) {
case 1 :
// InternalReportDSL.g:6913:3: this_TableNumberLookup_0= ruleTableNumberLookup
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableLookupAccess().getTableNumberLookupParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_TableNumberLookup_0=ruleTableNumberLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableNumberLookup_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:6922:3: this_TableStringLookup_1= ruleTableStringLookup
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableLookupAccess().getTableStringLookupParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_TableStringLookup_1=ruleTableStringLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableStringLookup_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:6931:3: this_TableDateDayLookup_2= ruleTableDateDayLookup
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableLookupAccess().getTableDateDayLookupParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_TableDateDayLookup_2=ruleTableDateDayLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableDateDayLookup_2;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableLookup"
// $ANTLR start "entryRuleTableNumberLookup"
// InternalReportDSL.g:6943:1: entryRuleTableNumberLookup returns [EObject current=null] : iv_ruleTableNumberLookup= ruleTableNumberLookup EOF ;
public final EObject entryRuleTableNumberLookup() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableNumberLookup = null;
try {
// InternalReportDSL.g:6943:58: (iv_ruleTableNumberLookup= ruleTableNumberLookup EOF )
// InternalReportDSL.g:6944:2: iv_ruleTableNumberLookup= ruleTableNumberLookup EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableNumberLookupRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableNumberLookup=ruleTableNumberLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableNumberLookup;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableNumberLookup"
// $ANTLR start "ruleTableNumberLookup"
// InternalReportDSL.g:6950:1: ruleTableNumberLookup returns [EObject current=null] : ( () otherlv_1= 'number' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) ) ;
public final EObject ruleTableNumberLookup() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
AntlrDatatypeRuleToken lv_lookupValue_2_0 = null;
EObject lv_discrete_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:6956:2: ( ( () otherlv_1= 'number' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) ) )
// InternalReportDSL.g:6957:2: ( () otherlv_1= 'number' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) )
{
// InternalReportDSL.g:6957:2: ( () otherlv_1= 'number' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) )
// InternalReportDSL.g:6958:3: () otherlv_1= 'number' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) )
{
// InternalReportDSL.g:6958:3: ()
// InternalReportDSL.g:6959:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTableNumberLookupAccess().getTableNumberLookupAction_0(),
current);
}
}
otherlv_1=(Token)match(input,64,FOLLOW_116); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableNumberLookupAccess().getNumberKeyword_1());
}
// InternalReportDSL.g:6969:3: ( (lv_lookupValue_2_0= ruleSignedNumber ) )
// InternalReportDSL.g:6970:4: (lv_lookupValue_2_0= ruleSignedNumber )
{
// InternalReportDSL.g:6970:4: (lv_lookupValue_2_0= ruleSignedNumber )
// InternalReportDSL.g:6971:5: lv_lookupValue_2_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableNumberLookupAccess().getLookupValueSignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_117);
lv_lookupValue_2_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableNumberLookupRule());
}
set(
current,
"lookupValue",
lv_lookupValue_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:6988:3: ( (lv_discrete_3_0= ruleTableRangeElement ) )
// InternalReportDSL.g:6989:4: (lv_discrete_3_0= ruleTableRangeElement )
{
// InternalReportDSL.g:6989:4: (lv_discrete_3_0= ruleTableRangeElement )
// InternalReportDSL.g:6990:5: lv_discrete_3_0= ruleTableRangeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableNumberLookupAccess().getDiscreteTableRangeElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_discrete_3_0=ruleTableRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableNumberLookupRule());
}
set(
current,
"discrete",
lv_discrete_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableRangeElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableNumberLookup"
// $ANTLR start "entryRuleTableStringLookup"
// InternalReportDSL.g:7011:1: entryRuleTableStringLookup returns [EObject current=null] : iv_ruleTableStringLookup= ruleTableStringLookup EOF ;
public final EObject entryRuleTableStringLookup() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableStringLookup = null;
try {
// InternalReportDSL.g:7011:58: (iv_ruleTableStringLookup= ruleTableStringLookup EOF )
// InternalReportDSL.g:7012:2: iv_ruleTableStringLookup= ruleTableStringLookup EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableStringLookupRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableStringLookup=ruleTableStringLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableStringLookup;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableStringLookup"
// $ANTLR start "ruleTableStringLookup"
// InternalReportDSL.g:7018:1: ruleTableStringLookup returns [EObject current=null] : ( () otherlv_1= 'string' ( (lv_lookupValue_2_0= RULE_STRING ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) ) ;
public final EObject ruleTableStringLookup() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_lookupValue_2_0=null;
EObject lv_discrete_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:7024:2: ( ( () otherlv_1= 'string' ( (lv_lookupValue_2_0= RULE_STRING ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) ) )
// InternalReportDSL.g:7025:2: ( () otherlv_1= 'string' ( (lv_lookupValue_2_0= RULE_STRING ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) )
{
// InternalReportDSL.g:7025:2: ( () otherlv_1= 'string' ( (lv_lookupValue_2_0= RULE_STRING ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) )
// InternalReportDSL.g:7026:3: () otherlv_1= 'string' ( (lv_lookupValue_2_0= RULE_STRING ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) )
{
// InternalReportDSL.g:7026:3: ()
// InternalReportDSL.g:7027:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTableStringLookupAccess().getTableStringLookupAction_0(),
current);
}
}
otherlv_1=(Token)match(input,114,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableStringLookupAccess().getStringKeyword_1());
}
// InternalReportDSL.g:7037:3: ( (lv_lookupValue_2_0= RULE_STRING ) )
// InternalReportDSL.g:7038:4: (lv_lookupValue_2_0= RULE_STRING )
{
// InternalReportDSL.g:7038:4: (lv_lookupValue_2_0= RULE_STRING )
// InternalReportDSL.g:7039:5: lv_lookupValue_2_0= RULE_STRING
{
lv_lookupValue_2_0=(Token)match(input,RULE_STRING,FOLLOW_117); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_lookupValue_2_0, grammarAccess.getTableStringLookupAccess().getLookupValueSTRINGTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableStringLookupRule());
}
setWithLastConsumed(
current,
"lookupValue",
lv_lookupValue_2_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
// InternalReportDSL.g:7055:3: ( (lv_discrete_3_0= ruleTableRangeElement ) )
// InternalReportDSL.g:7056:4: (lv_discrete_3_0= ruleTableRangeElement )
{
// InternalReportDSL.g:7056:4: (lv_discrete_3_0= ruleTableRangeElement )
// InternalReportDSL.g:7057:5: lv_discrete_3_0= ruleTableRangeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableStringLookupAccess().getDiscreteTableRangeElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_discrete_3_0=ruleTableRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableStringLookupRule());
}
set(
current,
"discrete",
lv_discrete_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableRangeElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableStringLookup"
// $ANTLR start "entryRuleTableDateDayLookup"
// InternalReportDSL.g:7078:1: entryRuleTableDateDayLookup returns [EObject current=null] : iv_ruleTableDateDayLookup= ruleTableDateDayLookup EOF ;
public final EObject entryRuleTableDateDayLookup() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableDateDayLookup = null;
try {
// InternalReportDSL.g:7078:59: (iv_ruleTableDateDayLookup= ruleTableDateDayLookup EOF )
// InternalReportDSL.g:7079:2: iv_ruleTableDateDayLookup= ruleTableDateDayLookup EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableDateDayLookupRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableDateDayLookup=ruleTableDateDayLookup();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableDateDayLookup;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableDateDayLookup"
// $ANTLR start "ruleTableDateDayLookup"
// InternalReportDSL.g:7085:1: ruleTableDateDayLookup returns [EObject current=null] : ( () otherlv_1= 'daysInPast' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) ) ;
public final EObject ruleTableDateDayLookup() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
AntlrDatatypeRuleToken lv_lookupValue_2_0 = null;
EObject lv_discrete_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:7091:2: ( ( () otherlv_1= 'daysInPast' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) ) )
// InternalReportDSL.g:7092:2: ( () otherlv_1= 'daysInPast' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) )
{
// InternalReportDSL.g:7092:2: ( () otherlv_1= 'daysInPast' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) ) )
// InternalReportDSL.g:7093:3: () otherlv_1= 'daysInPast' ( (lv_lookupValue_2_0= ruleSignedNumber ) ) ( (lv_discrete_3_0= ruleTableRangeElement ) )
{
// InternalReportDSL.g:7093:3: ()
// InternalReportDSL.g:7094:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTableDateDayLookupAccess().getTableDateDayLookupAction_0(),
current);
}
}
otherlv_1=(Token)match(input,113,FOLLOW_116); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableDateDayLookupAccess().getDaysInPastKeyword_1());
}
// InternalReportDSL.g:7104:3: ( (lv_lookupValue_2_0= ruleSignedNumber ) )
// InternalReportDSL.g:7105:4: (lv_lookupValue_2_0= ruleSignedNumber )
{
// InternalReportDSL.g:7105:4: (lv_lookupValue_2_0= ruleSignedNumber )
// InternalReportDSL.g:7106:5: lv_lookupValue_2_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableDateDayLookupAccess().getLookupValueSignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_117);
lv_lookupValue_2_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableDateDayLookupRule());
}
set(
current,
"lookupValue",
lv_lookupValue_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7123:3: ( (lv_discrete_3_0= ruleTableRangeElement ) )
// InternalReportDSL.g:7124:4: (lv_discrete_3_0= ruleTableRangeElement )
{
// InternalReportDSL.g:7124:4: (lv_discrete_3_0= ruleTableRangeElement )
// InternalReportDSL.g:7125:5: lv_discrete_3_0= ruleTableRangeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableDateDayLookupAccess().getDiscreteTableRangeElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_discrete_3_0=ruleTableRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableDateDayLookupRule());
}
set(
current,
"discrete",
lv_discrete_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TableRangeElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableDateDayLookup"
// $ANTLR start "entryRuleTableRangeElement"
// InternalReportDSL.g:7146:1: entryRuleTableRangeElement returns [EObject current=null] : iv_ruleTableRangeElement= ruleTableRangeElement EOF ;
public final EObject entryRuleTableRangeElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableRangeElement = null;
try {
// InternalReportDSL.g:7146:58: (iv_ruleTableRangeElement= ruleTableRangeElement EOF )
// InternalReportDSL.g:7147:2: iv_ruleTableRangeElement= ruleTableRangeElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableRangeElementRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableRangeElement=ruleTableRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableRangeElement;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableRangeElement"
// $ANTLR start "ruleTableRangeElement"
// InternalReportDSL.g:7153:1: ruleTableRangeElement returns [EObject current=null] : (this_TableTextColor_0= ruleTableTextColor | this_TableCellColor_1= ruleTableCellColor | this_TableIcon_2= ruleTableIcon | this_TableTrend_3= ruleTableTrend ) ;
public final EObject ruleTableRangeElement() throws RecognitionException {
EObject current = null;
EObject this_TableTextColor_0 = null;
EObject this_TableCellColor_1 = null;
EObject this_TableIcon_2 = null;
EObject this_TableTrend_3 = null;
enterRule();
try {
// InternalReportDSL.g:7159:2: ( (this_TableTextColor_0= ruleTableTextColor | this_TableCellColor_1= ruleTableCellColor | this_TableIcon_2= ruleTableIcon | this_TableTrend_3= ruleTableTrend ) )
// InternalReportDSL.g:7160:2: (this_TableTextColor_0= ruleTableTextColor | this_TableCellColor_1= ruleTableCellColor | this_TableIcon_2= ruleTableIcon | this_TableTrend_3= ruleTableTrend )
{
// InternalReportDSL.g:7160:2: (this_TableTextColor_0= ruleTableTextColor | this_TableCellColor_1= ruleTableCellColor | this_TableIcon_2= ruleTableIcon | this_TableTrend_3= ruleTableTrend )
int alt97=4;
switch ( input.LA(1) ) {
case 47:
{
alt97=1;
}
break;
case 117:
{
alt97=2;
}
break;
case 118:
{
alt97=3;
}
break;
case 119:
{
alt97=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 97, 0, input);
throw nvae;
}
switch (alt97) {
case 1 :
// InternalReportDSL.g:7161:3: this_TableTextColor_0= ruleTableTextColor
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableRangeElementAccess().getTableTextColorParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_TableTextColor_0=ruleTableTextColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableTextColor_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:7170:3: this_TableCellColor_1= ruleTableCellColor
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableRangeElementAccess().getTableCellColorParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_TableCellColor_1=ruleTableCellColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableCellColor_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:7179:3: this_TableIcon_2= ruleTableIcon
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableRangeElementAccess().getTableIconParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_TableIcon_2=ruleTableIcon();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableIcon_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalReportDSL.g:7188:3: this_TableTrend_3= ruleTableTrend
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableRangeElementAccess().getTableTrendParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_TableTrend_3=ruleTableTrend();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_TableTrend_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableRangeElement"
// $ANTLR start "entryRuleVisibility"
// InternalReportDSL.g:7200:1: entryRuleVisibility returns [EObject current=null] : iv_ruleVisibility= ruleVisibility EOF ;
public final EObject entryRuleVisibility() throws RecognitionException {
EObject current = null;
EObject iv_ruleVisibility = null;
try {
// InternalReportDSL.g:7200:51: (iv_ruleVisibility= ruleVisibility EOF )
// InternalReportDSL.g:7201:2: iv_ruleVisibility= ruleVisibility EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVisibilityRule());
}
pushFollow(FOLLOW_1);
iv_ruleVisibility=ruleVisibility();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVisibility;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVisibility"
// $ANTLR start "ruleVisibility"
// InternalReportDSL.g:7207:1: ruleVisibility returns [EObject current=null] : ( ( (lv_visibility_0_0= 'visibility' ) ) ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleVisibility() throws RecognitionException {
EObject current = null;
Token lv_visibility_0_0=null;
Token otherlv_1=null;
enterRule();
try {
// InternalReportDSL.g:7213:2: ( ( ( (lv_visibility_0_0= 'visibility' ) ) ( (otherlv_1= RULE_ID ) ) ) )
// InternalReportDSL.g:7214:2: ( ( (lv_visibility_0_0= 'visibility' ) ) ( (otherlv_1= RULE_ID ) ) )
{
// InternalReportDSL.g:7214:2: ( ( (lv_visibility_0_0= 'visibility' ) ) ( (otherlv_1= RULE_ID ) ) )
// InternalReportDSL.g:7215:3: ( (lv_visibility_0_0= 'visibility' ) ) ( (otherlv_1= RULE_ID ) )
{
// InternalReportDSL.g:7215:3: ( (lv_visibility_0_0= 'visibility' ) )
// InternalReportDSL.g:7216:4: (lv_visibility_0_0= 'visibility' )
{
// InternalReportDSL.g:7216:4: (lv_visibility_0_0= 'visibility' )
// InternalReportDSL.g:7217:5: lv_visibility_0_0= 'visibility'
{
lv_visibility_0_0=(Token)match(input,115,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_visibility_0_0, grammarAccess.getVisibilityAccess().getVisibilityVisibilityKeyword_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVisibilityRule());
}
setWithLastConsumed(current, "visibility", true, "visibility");
}
}
}
// InternalReportDSL.g:7229:3: ( (otherlv_1= RULE_ID ) )
// InternalReportDSL.g:7230:4: (otherlv_1= RULE_ID )
{
// InternalReportDSL.g:7230:4: (otherlv_1= RULE_ID )
// InternalReportDSL.g:7231:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVisibilityRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getVisibilityAccess().getVisibilityAttributeDatamartAttributeCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVisibility"
// $ANTLR start "entryRuleSignedNumber"
// InternalReportDSL.g:7246:1: entryRuleSignedNumber returns [String current=null] : iv_ruleSignedNumber= ruleSignedNumber EOF ;
public final String entryRuleSignedNumber() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleSignedNumber = null;
try {
// InternalReportDSL.g:7246:52: (iv_ruleSignedNumber= ruleSignedNumber EOF )
// InternalReportDSL.g:7247:2: iv_ruleSignedNumber= ruleSignedNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSignedNumberRule());
}
pushFollow(FOLLOW_1);
iv_ruleSignedNumber=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSignedNumber.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSignedNumber"
// $ANTLR start "ruleSignedNumber"
// InternalReportDSL.g:7253:1: ruleSignedNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_Number_1= ruleNumber ) ;
public final AntlrDatatypeRuleToken ruleSignedNumber() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_Number_1 = null;
enterRule();
try {
// InternalReportDSL.g:7259:2: ( ( (kw= '-' )? this_Number_1= ruleNumber ) )
// InternalReportDSL.g:7260:2: ( (kw= '-' )? this_Number_1= ruleNumber )
{
// InternalReportDSL.g:7260:2: ( (kw= '-' )? this_Number_1= ruleNumber )
// InternalReportDSL.g:7261:3: (kw= '-' )? this_Number_1= ruleNumber
{
// InternalReportDSL.g:7261:3: (kw= '-' )?
int alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==116) ) {
alt98=1;
}
switch (alt98) {
case 1 :
// InternalReportDSL.g:7262:4: kw= '-'
{
kw=(Token)match(input,116,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedNumberAccess().getHyphenMinusKeyword_0());
}
}
break;
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSignedNumberAccess().getNumberParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_Number_1=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_Number_1);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSignedNumber"
// $ANTLR start "entryRuleTableTextColor"
// InternalReportDSL.g:7282:1: entryRuleTableTextColor returns [EObject current=null] : iv_ruleTableTextColor= ruleTableTextColor EOF ;
public final EObject entryRuleTableTextColor() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableTextColor = null;
try {
// InternalReportDSL.g:7282:55: (iv_ruleTableTextColor= ruleTableTextColor EOF )
// InternalReportDSL.g:7283:2: iv_ruleTableTextColor= ruleTableTextColor EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableTextColorRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableTextColor=ruleTableTextColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableTextColor;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableTextColor"
// $ANTLR start "ruleTableTextColor"
// InternalReportDSL.g:7289:1: ruleTableTextColor returns [EObject current=null] : (otherlv_0= 'textcolor' ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleTableTextColor() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
enterRule();
try {
// InternalReportDSL.g:7295:2: ( (otherlv_0= 'textcolor' ( (otherlv_1= RULE_ID ) ) ) )
// InternalReportDSL.g:7296:2: (otherlv_0= 'textcolor' ( (otherlv_1= RULE_ID ) ) )
{
// InternalReportDSL.g:7296:2: (otherlv_0= 'textcolor' ( (otherlv_1= RULE_ID ) ) )
// InternalReportDSL.g:7297:3: otherlv_0= 'textcolor' ( (otherlv_1= RULE_ID ) )
{
otherlv_0=(Token)match(input,47,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTableTextColorAccess().getTextcolorKeyword_0());
}
// InternalReportDSL.g:7301:3: ( (otherlv_1= RULE_ID ) )
// InternalReportDSL.g:7302:4: (otherlv_1= RULE_ID )
{
// InternalReportDSL.g:7302:4: (otherlv_1= RULE_ID )
// InternalReportDSL.g:7303:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableTextColorRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableTextColorAccess().getColorColorCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableTextColor"
// $ANTLR start "entryRuleTableCellColor"
// InternalReportDSL.g:7318:1: entryRuleTableCellColor returns [EObject current=null] : iv_ruleTableCellColor= ruleTableCellColor EOF ;
public final EObject entryRuleTableCellColor() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableCellColor = null;
try {
// InternalReportDSL.g:7318:55: (iv_ruleTableCellColor= ruleTableCellColor EOF )
// InternalReportDSL.g:7319:2: iv_ruleTableCellColor= ruleTableCellColor EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableCellColorRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableCellColor=ruleTableCellColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableCellColor;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableCellColor"
// $ANTLR start "ruleTableCellColor"
// InternalReportDSL.g:7325:1: ruleTableCellColor returns [EObject current=null] : (otherlv_0= 'cellcolor' ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleTableCellColor() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
enterRule();
try {
// InternalReportDSL.g:7331:2: ( (otherlv_0= 'cellcolor' ( (otherlv_1= RULE_ID ) ) ) )
// InternalReportDSL.g:7332:2: (otherlv_0= 'cellcolor' ( (otherlv_1= RULE_ID ) ) )
{
// InternalReportDSL.g:7332:2: (otherlv_0= 'cellcolor' ( (otherlv_1= RULE_ID ) ) )
// InternalReportDSL.g:7333:3: otherlv_0= 'cellcolor' ( (otherlv_1= RULE_ID ) )
{
otherlv_0=(Token)match(input,117,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTableCellColorAccess().getCellcolorKeyword_0());
}
// InternalReportDSL.g:7337:3: ( (otherlv_1= RULE_ID ) )
// InternalReportDSL.g:7338:4: (otherlv_1= RULE_ID )
{
// InternalReportDSL.g:7338:4: (otherlv_1= RULE_ID )
// InternalReportDSL.g:7339:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableCellColorRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTableCellColorAccess().getColorColorCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableCellColor"
// $ANTLR start "entryRuleTableIcon"
// InternalReportDSL.g:7354:1: entryRuleTableIcon returns [EObject current=null] : iv_ruleTableIcon= ruleTableIcon EOF ;
public final EObject entryRuleTableIcon() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableIcon = null;
try {
// InternalReportDSL.g:7354:50: (iv_ruleTableIcon= ruleTableIcon EOF )
// InternalReportDSL.g:7355:2: iv_ruleTableIcon= ruleTableIcon EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableIconRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableIcon=ruleTableIcon();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableIcon;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableIcon"
// $ANTLR start "ruleTableIcon"
// InternalReportDSL.g:7361:1: ruleTableIcon returns [EObject current=null] : (otherlv_0= 'icon' ( (lv_icon_1_0= RULE_STRING ) ) ) ;
public final EObject ruleTableIcon() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_icon_1_0=null;
enterRule();
try {
// InternalReportDSL.g:7367:2: ( (otherlv_0= 'icon' ( (lv_icon_1_0= RULE_STRING ) ) ) )
// InternalReportDSL.g:7368:2: (otherlv_0= 'icon' ( (lv_icon_1_0= RULE_STRING ) ) )
{
// InternalReportDSL.g:7368:2: (otherlv_0= 'icon' ( (lv_icon_1_0= RULE_STRING ) ) )
// InternalReportDSL.g:7369:3: otherlv_0= 'icon' ( (lv_icon_1_0= RULE_STRING ) )
{
otherlv_0=(Token)match(input,118,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTableIconAccess().getIconKeyword_0());
}
// InternalReportDSL.g:7373:3: ( (lv_icon_1_0= RULE_STRING ) )
// InternalReportDSL.g:7374:4: (lv_icon_1_0= RULE_STRING )
{
// InternalReportDSL.g:7374:4: (lv_icon_1_0= RULE_STRING )
// InternalReportDSL.g:7375:5: lv_icon_1_0= RULE_STRING
{
lv_icon_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_icon_1_0, grammarAccess.getTableIconAccess().getIconSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTableIconRule());
}
setWithLastConsumed(
current,
"icon",
lv_icon_1_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableIcon"
// $ANTLR start "entryRuleTableTrend"
// InternalReportDSL.g:7395:1: entryRuleTableTrend returns [EObject current=null] : iv_ruleTableTrend= ruleTableTrend EOF ;
public final EObject entryRuleTableTrend() throws RecognitionException {
EObject current = null;
EObject iv_ruleTableTrend = null;
try {
// InternalReportDSL.g:7395:51: (iv_ruleTableTrend= ruleTableTrend EOF )
// InternalReportDSL.g:7396:2: iv_ruleTableTrend= ruleTableTrend EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableTrendRule());
}
pushFollow(FOLLOW_1);
iv_ruleTableTrend=ruleTableTrend();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTableTrend;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTableTrend"
// $ANTLR start "ruleTableTrend"
// InternalReportDSL.g:7402:1: ruleTableTrend returns [EObject current=null] : (otherlv_0= 'trend' ( (lv_icon_1_0= ruleTrendIconEnum ) ) ) ;
public final EObject ruleTableTrend() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_icon_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:7408:2: ( (otherlv_0= 'trend' ( (lv_icon_1_0= ruleTrendIconEnum ) ) ) )
// InternalReportDSL.g:7409:2: (otherlv_0= 'trend' ( (lv_icon_1_0= ruleTrendIconEnum ) ) )
{
// InternalReportDSL.g:7409:2: (otherlv_0= 'trend' ( (lv_icon_1_0= ruleTrendIconEnum ) ) )
// InternalReportDSL.g:7410:3: otherlv_0= 'trend' ( (lv_icon_1_0= ruleTrendIconEnum ) )
{
otherlv_0=(Token)match(input,119,FOLLOW_118); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getTableTrendAccess().getTrendKeyword_0());
}
// InternalReportDSL.g:7414:3: ( (lv_icon_1_0= ruleTrendIconEnum ) )
// InternalReportDSL.g:7415:4: (lv_icon_1_0= ruleTrendIconEnum )
{
// InternalReportDSL.g:7415:4: (lv_icon_1_0= ruleTrendIconEnum )
// InternalReportDSL.g:7416:5: lv_icon_1_0= ruleTrendIconEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTableTrendAccess().getIconTrendIconEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_icon_1_0=ruleTrendIconEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTableTrendRule());
}
set(
current,
"icon",
lv_icon_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TrendIconEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTableTrend"
// $ANTLR start "entryRuleTitle"
// InternalReportDSL.g:7437:1: entryRuleTitle returns [EObject current=null] : iv_ruleTitle= ruleTitle EOF ;
public final EObject entryRuleTitle() throws RecognitionException {
EObject current = null;
EObject iv_ruleTitle = null;
try {
// InternalReportDSL.g:7437:46: (iv_ruleTitle= ruleTitle EOF )
// InternalReportDSL.g:7438:2: iv_ruleTitle= ruleTitle EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTitleRule());
}
pushFollow(FOLLOW_1);
iv_ruleTitle=ruleTitle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTitle;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTitle"
// $ANTLR start "ruleTitle"
// InternalReportDSL.g:7444:1: ruleTitle returns [EObject current=null] : ( () otherlv_1= 'title' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) ;
public final EObject ruleTitle() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
AntlrDatatypeRuleToken lv_text_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:7450:2: ( ( () otherlv_1= 'title' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) )
// InternalReportDSL.g:7451:2: ( () otherlv_1= 'title' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
{
// InternalReportDSL.g:7451:2: ( () otherlv_1= 'title' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
// InternalReportDSL.g:7452:3: () otherlv_1= 'title' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
{
// InternalReportDSL.g:7452:3: ()
// InternalReportDSL.g:7453:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTitleAccess().getTitleAction_0(),
current);
}
}
otherlv_1=(Token)match(input,102,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTitleAccess().getTitleKeyword_1());
}
// InternalReportDSL.g:7463:3: ( (lv_text_2_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:7464:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:7464:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:7465:5: lv_text_2_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTitleAccess().getTextTRANSLATABLESTRINGParserRuleCall_2_0());
}
pushFollow(FOLLOW_109);
lv_text_2_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTitleRule());
}
set(
current,
"text",
lv_text_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7482:3: (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
int alt99=2;
int LA99_0 = input.LA(1);
if ( (LA99_0==43) ) {
alt99=1;
}
switch (alt99) {
case 1 :
// InternalReportDSL.g:7483:4: otherlv_3= 'style' ( (otherlv_4= RULE_ID ) )
{
otherlv_3=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTitleAccess().getStyleKeyword_3_0());
}
// InternalReportDSL.g:7487:4: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:7488:5: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:7488:5: (otherlv_4= RULE_ID )
// InternalReportDSL.g:7489:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTitleRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getTitleAccess().getStyleStyleCrossReference_3_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTitle"
// $ANTLR start "entryRuleSubTitle"
// InternalReportDSL.g:7505:1: entryRuleSubTitle returns [EObject current=null] : iv_ruleSubTitle= ruleSubTitle EOF ;
public final EObject entryRuleSubTitle() throws RecognitionException {
EObject current = null;
EObject iv_ruleSubTitle = null;
try {
// InternalReportDSL.g:7505:49: (iv_ruleSubTitle= ruleSubTitle EOF )
// InternalReportDSL.g:7506:2: iv_ruleSubTitle= ruleSubTitle EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSubTitleRule());
}
pushFollow(FOLLOW_1);
iv_ruleSubTitle=ruleSubTitle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSubTitle;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSubTitle"
// $ANTLR start "ruleSubTitle"
// InternalReportDSL.g:7512:1: ruleSubTitle returns [EObject current=null] : ( () otherlv_1= 'subtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) ;
public final EObject ruleSubTitle() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
AntlrDatatypeRuleToken lv_text_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:7518:2: ( ( () otherlv_1= 'subtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) )
// InternalReportDSL.g:7519:2: ( () otherlv_1= 'subtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
{
// InternalReportDSL.g:7519:2: ( () otherlv_1= 'subtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
// InternalReportDSL.g:7520:3: () otherlv_1= 'subtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
{
// InternalReportDSL.g:7520:3: ()
// InternalReportDSL.g:7521:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getSubTitleAccess().getSubTitleAction_0(),
current);
}
}
otherlv_1=(Token)match(input,120,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getSubTitleAccess().getSubtitleKeyword_1());
}
// InternalReportDSL.g:7531:3: ( (lv_text_2_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:7532:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:7532:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:7533:5: lv_text_2_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSubTitleAccess().getTextTRANSLATABLESTRINGParserRuleCall_2_0());
}
pushFollow(FOLLOW_109);
lv_text_2_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSubTitleRule());
}
set(
current,
"text",
lv_text_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7550:3: (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
int alt100=2;
int LA100_0 = input.LA(1);
if ( (LA100_0==43) ) {
alt100=1;
}
switch (alt100) {
case 1 :
// InternalReportDSL.g:7551:4: otherlv_3= 'style' ( (otherlv_4= RULE_ID ) )
{
otherlv_3=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getSubTitleAccess().getStyleKeyword_3_0());
}
// InternalReportDSL.g:7555:4: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:7556:5: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:7556:5: (otherlv_4= RULE_ID )
// InternalReportDSL.g:7557:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getSubTitleRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getSubTitleAccess().getStyleStyleCrossReference_3_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSubTitle"
// $ANTLR start "entryRuleSubSubTitle"
// InternalReportDSL.g:7573:1: entryRuleSubSubTitle returns [EObject current=null] : iv_ruleSubSubTitle= ruleSubSubTitle EOF ;
public final EObject entryRuleSubSubTitle() throws RecognitionException {
EObject current = null;
EObject iv_ruleSubSubTitle = null;
try {
// InternalReportDSL.g:7573:52: (iv_ruleSubSubTitle= ruleSubSubTitle EOF )
// InternalReportDSL.g:7574:2: iv_ruleSubSubTitle= ruleSubSubTitle EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSubSubTitleRule());
}
pushFollow(FOLLOW_1);
iv_ruleSubSubTitle=ruleSubSubTitle();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSubSubTitle;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSubSubTitle"
// $ANTLR start "ruleSubSubTitle"
// InternalReportDSL.g:7580:1: ruleSubSubTitle returns [EObject current=null] : ( () otherlv_1= 'subsubtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) ;
public final EObject ruleSubSubTitle() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
AntlrDatatypeRuleToken lv_text_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:7586:2: ( ( () otherlv_1= 'subsubtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) )
// InternalReportDSL.g:7587:2: ( () otherlv_1= 'subsubtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
{
// InternalReportDSL.g:7587:2: ( () otherlv_1= 'subsubtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
// InternalReportDSL.g:7588:3: () otherlv_1= 'subsubtitle' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
{
// InternalReportDSL.g:7588:3: ()
// InternalReportDSL.g:7589:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getSubSubTitleAccess().getSubSubTitleAction_0(),
current);
}
}
otherlv_1=(Token)match(input,121,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getSubSubTitleAccess().getSubsubtitleKeyword_1());
}
// InternalReportDSL.g:7599:3: ( (lv_text_2_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:7600:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:7600:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:7601:5: lv_text_2_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSubSubTitleAccess().getTextTRANSLATABLESTRINGParserRuleCall_2_0());
}
pushFollow(FOLLOW_109);
lv_text_2_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSubSubTitleRule());
}
set(
current,
"text",
lv_text_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7618:3: (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
int alt101=2;
int LA101_0 = input.LA(1);
if ( (LA101_0==43) ) {
alt101=1;
}
switch (alt101) {
case 1 :
// InternalReportDSL.g:7619:4: otherlv_3= 'style' ( (otherlv_4= RULE_ID ) )
{
otherlv_3=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getSubSubTitleAccess().getStyleKeyword_3_0());
}
// InternalReportDSL.g:7623:4: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:7624:5: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:7624:5: (otherlv_4= RULE_ID )
// InternalReportDSL.g:7625:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getSubSubTitleRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getSubSubTitleAccess().getStyleStyleCrossReference_3_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSubSubTitle"
// $ANTLR start "entryRuleLabel"
// InternalReportDSL.g:7641:1: entryRuleLabel returns [EObject current=null] : iv_ruleLabel= ruleLabel EOF ;
public final EObject entryRuleLabel() throws RecognitionException {
EObject current = null;
EObject iv_ruleLabel = null;
try {
// InternalReportDSL.g:7641:46: (iv_ruleLabel= ruleLabel EOF )
// InternalReportDSL.g:7642:2: iv_ruleLabel= ruleLabel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getLabelRule());
}
pushFollow(FOLLOW_1);
iv_ruleLabel=ruleLabel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleLabel;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleLabel"
// $ANTLR start "ruleLabel"
// InternalReportDSL.g:7648:1: ruleLabel returns [EObject current=null] : ( () otherlv_1= 'label' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) ;
public final EObject ruleLabel() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
AntlrDatatypeRuleToken lv_text_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:7654:2: ( ( () otherlv_1= 'label' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? ) )
// InternalReportDSL.g:7655:2: ( () otherlv_1= 'label' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
{
// InternalReportDSL.g:7655:2: ( () otherlv_1= 'label' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )? )
// InternalReportDSL.g:7656:3: () otherlv_1= 'label' ( (lv_text_2_0= ruleTRANSLATABLESTRING ) ) (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
{
// InternalReportDSL.g:7656:3: ()
// InternalReportDSL.g:7657:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getLabelAccess().getLabelAction_0(),
current);
}
}
otherlv_1=(Token)match(input,122,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getLabelAccess().getLabelKeyword_1());
}
// InternalReportDSL.g:7667:3: ( (lv_text_2_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:7668:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:7668:4: (lv_text_2_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:7669:5: lv_text_2_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getLabelAccess().getTextTRANSLATABLESTRINGParserRuleCall_2_0());
}
pushFollow(FOLLOW_109);
lv_text_2_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getLabelRule());
}
set(
current,
"text",
lv_text_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7686:3: (otherlv_3= 'style' ( (otherlv_4= RULE_ID ) ) )?
int alt102=2;
int LA102_0 = input.LA(1);
if ( (LA102_0==43) ) {
alt102=1;
}
switch (alt102) {
case 1 :
// InternalReportDSL.g:7687:4: otherlv_3= 'style' ( (otherlv_4= RULE_ID ) )
{
otherlv_3=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getLabelAccess().getStyleKeyword_3_0());
}
// InternalReportDSL.g:7691:4: ( (otherlv_4= RULE_ID ) )
// InternalReportDSL.g:7692:5: (otherlv_4= RULE_ID )
{
// InternalReportDSL.g:7692:5: (otherlv_4= RULE_ID )
// InternalReportDSL.g:7693:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getLabelRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getLabelAccess().getStyleStyleCrossReference_3_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleLabel"
// $ANTLR start "entryRuleText"
// InternalReportDSL.g:7709:1: entryRuleText returns [EObject current=null] : iv_ruleText= ruleText EOF ;
public final EObject entryRuleText() throws RecognitionException {
EObject current = null;
EObject iv_ruleText = null;
try {
// InternalReportDSL.g:7709:45: (iv_ruleText= ruleText EOF )
// InternalReportDSL.g:7710:2: iv_ruleText= ruleText EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTextRule());
}
pushFollow(FOLLOW_1);
iv_ruleText=ruleText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleText;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleText"
// $ANTLR start "ruleText"
// InternalReportDSL.g:7716:1: ruleText returns [EObject current=null] : ( () otherlv_1= 'text' ( (lv_textContentType_2_0= ruleTextContentTypeEnum ) )? ( (lv_text_3_0= ruleTRANSLATABLESTRING ) ) (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? ) ;
public final EObject ruleText() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_4=null;
Token otherlv_5=null;
Enumerator lv_textContentType_2_0 = null;
AntlrDatatypeRuleToken lv_text_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:7722:2: ( ( () otherlv_1= 'text' ( (lv_textContentType_2_0= ruleTextContentTypeEnum ) )? ( (lv_text_3_0= ruleTRANSLATABLESTRING ) ) (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? ) )
// InternalReportDSL.g:7723:2: ( () otherlv_1= 'text' ( (lv_textContentType_2_0= ruleTextContentTypeEnum ) )? ( (lv_text_3_0= ruleTRANSLATABLESTRING ) ) (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? )
{
// InternalReportDSL.g:7723:2: ( () otherlv_1= 'text' ( (lv_textContentType_2_0= ruleTextContentTypeEnum ) )? ( (lv_text_3_0= ruleTRANSLATABLESTRING ) ) (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )? )
// InternalReportDSL.g:7724:3: () otherlv_1= 'text' ( (lv_textContentType_2_0= ruleTextContentTypeEnum ) )? ( (lv_text_3_0= ruleTRANSLATABLESTRING ) ) (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )?
{
// InternalReportDSL.g:7724:3: ()
// InternalReportDSL.g:7725:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTextAccess().getTextAction_0(),
current);
}
}
otherlv_1=(Token)match(input,123,FOLLOW_119); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTextAccess().getTextKeyword_1());
}
// InternalReportDSL.g:7735:3: ( (lv_textContentType_2_0= ruleTextContentTypeEnum ) )?
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==228||LA103_0==239||LA103_0==266) ) {
alt103=1;
}
switch (alt103) {
case 1 :
// InternalReportDSL.g:7736:4: (lv_textContentType_2_0= ruleTextContentTypeEnum )
{
// InternalReportDSL.g:7736:4: (lv_textContentType_2_0= ruleTextContentTypeEnum )
// InternalReportDSL.g:7737:5: lv_textContentType_2_0= ruleTextContentTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTextAccess().getTextContentTypeTextContentTypeEnumEnumRuleCall_2_0());
}
pushFollow(FOLLOW_8);
lv_textContentType_2_0=ruleTextContentTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTextRule());
}
set(
current,
"textContentType",
lv_textContentType_2_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TextContentTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:7754:3: ( (lv_text_3_0= ruleTRANSLATABLESTRING ) )
// InternalReportDSL.g:7755:4: (lv_text_3_0= ruleTRANSLATABLESTRING )
{
// InternalReportDSL.g:7755:4: (lv_text_3_0= ruleTRANSLATABLESTRING )
// InternalReportDSL.g:7756:5: lv_text_3_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTextAccess().getTextTRANSLATABLESTRINGParserRuleCall_3_0());
}
pushFollow(FOLLOW_109);
lv_text_3_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getTextRule());
}
set(
current,
"text",
lv_text_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7773:3: (otherlv_4= 'style' ( (otherlv_5= RULE_ID ) ) )?
int alt104=2;
int LA104_0 = input.LA(1);
if ( (LA104_0==43) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// InternalReportDSL.g:7774:4: otherlv_4= 'style' ( (otherlv_5= RULE_ID ) )
{
otherlv_4=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getTextAccess().getStyleKeyword_4_0());
}
// InternalReportDSL.g:7778:4: ( (otherlv_5= RULE_ID ) )
// InternalReportDSL.g:7779:5: (otherlv_5= RULE_ID )
{
// InternalReportDSL.g:7779:5: (otherlv_5= RULE_ID )
// InternalReportDSL.g:7780:6: otherlv_5= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTextRule());
}
}
otherlv_5=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getTextAccess().getStyleStyleCrossReference_4_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleText"
// $ANTLR start "entryRuleAutoText"
// InternalReportDSL.g:7796:1: entryRuleAutoText returns [EObject current=null] : iv_ruleAutoText= ruleAutoText EOF ;
public final EObject entryRuleAutoText() throws RecognitionException {
EObject current = null;
EObject iv_ruleAutoText = null;
try {
// InternalReportDSL.g:7796:49: (iv_ruleAutoText= ruleAutoText EOF )
// InternalReportDSL.g:7797:2: iv_ruleAutoText= ruleAutoText EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAutoTextRule());
}
pushFollow(FOLLOW_1);
iv_ruleAutoText=ruleAutoText();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAutoText;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAutoText"
// $ANTLR start "ruleAutoText"
// InternalReportDSL.g:7803:1: ruleAutoText returns [EObject current=null] : (otherlv_0= 'autotext' ( (lv_type_1_0= ruleAutoTextEnum ) ) (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ) ;
public final EObject ruleAutoText() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_3=null;
Enumerator lv_type_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:7809:2: ( (otherlv_0= 'autotext' ( (lv_type_1_0= ruleAutoTextEnum ) ) (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? ) )
// InternalReportDSL.g:7810:2: (otherlv_0= 'autotext' ( (lv_type_1_0= ruleAutoTextEnum ) ) (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? )
{
// InternalReportDSL.g:7810:2: (otherlv_0= 'autotext' ( (lv_type_1_0= ruleAutoTextEnum ) ) (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )? )
// InternalReportDSL.g:7811:3: otherlv_0= 'autotext' ( (lv_type_1_0= ruleAutoTextEnum ) ) (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )?
{
otherlv_0=(Token)match(input,124,FOLLOW_120); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getAutoTextAccess().getAutotextKeyword_0());
}
// InternalReportDSL.g:7815:3: ( (lv_type_1_0= ruleAutoTextEnum ) )
// InternalReportDSL.g:7816:4: (lv_type_1_0= ruleAutoTextEnum )
{
// InternalReportDSL.g:7816:4: (lv_type_1_0= ruleAutoTextEnum )
// InternalReportDSL.g:7817:5: lv_type_1_0= ruleAutoTextEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAutoTextAccess().getTypeAutoTextEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_109);
lv_type_1_0=ruleAutoTextEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAutoTextRule());
}
set(
current,
"type",
lv_type_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.AutoTextEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7834:3: (otherlv_2= 'style' ( (otherlv_3= RULE_ID ) ) )?
int alt105=2;
int LA105_0 = input.LA(1);
if ( (LA105_0==43) ) {
alt105=1;
}
switch (alt105) {
case 1 :
// InternalReportDSL.g:7835:4: otherlv_2= 'style' ( (otherlv_3= RULE_ID ) )
{
otherlv_2=(Token)match(input,43,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getAutoTextAccess().getStyleKeyword_2_0());
}
// InternalReportDSL.g:7839:4: ( (otherlv_3= RULE_ID ) )
// InternalReportDSL.g:7840:5: (otherlv_3= RULE_ID )
{
// InternalReportDSL.g:7840:5: (otherlv_3= RULE_ID )
// InternalReportDSL.g:7841:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAutoTextRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getAutoTextAccess().getStyleStyleCrossReference_2_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAutoText"
// $ANTLR start "entryRuleImage"
// InternalReportDSL.g:7857:1: entryRuleImage returns [EObject current=null] : iv_ruleImage= ruleImage EOF ;
public final EObject entryRuleImage() throws RecognitionException {
EObject current = null;
EObject iv_ruleImage = null;
try {
// InternalReportDSL.g:7857:46: (iv_ruleImage= ruleImage EOF )
// InternalReportDSL.g:7858:2: iv_ruleImage= ruleImage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageRule());
}
pushFollow(FOLLOW_1);
iv_ruleImage=ruleImage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleImage;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleImage"
// $ANTLR start "ruleImage"
// InternalReportDSL.g:7864:1: ruleImage returns [EObject current=null] : (otherlv_0= 'image' ( (lv_size_1_0= ruleImageSizeEnum ) )? (otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) ) )? (otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) ) )? (otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) ) )? ( (lv_sourceType_10_0= ruleImageSourceEnum ) ) ( (lv_filename_11_0= RULE_STRING ) ) ) ;
public final EObject ruleImage() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_7=null;
Token lv_filename_11_0=null;
Enumerator lv_size_1_0 = null;
AntlrDatatypeRuleToken lv_scale_3_0 = null;
AntlrDatatypeRuleToken lv_heightValue_5_0 = null;
Enumerator lv_heightUnit_6_0 = null;
AntlrDatatypeRuleToken lv_widthValue_8_0 = null;
Enumerator lv_widthUnit_9_0 = null;
Enumerator lv_sourceType_10_0 = null;
enterRule();
try {
// InternalReportDSL.g:7870:2: ( (otherlv_0= 'image' ( (lv_size_1_0= ruleImageSizeEnum ) )? (otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) ) )? (otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) ) )? (otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) ) )? ( (lv_sourceType_10_0= ruleImageSourceEnum ) ) ( (lv_filename_11_0= RULE_STRING ) ) ) )
// InternalReportDSL.g:7871:2: (otherlv_0= 'image' ( (lv_size_1_0= ruleImageSizeEnum ) )? (otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) ) )? (otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) ) )? (otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) ) )? ( (lv_sourceType_10_0= ruleImageSourceEnum ) ) ( (lv_filename_11_0= RULE_STRING ) ) )
{
// InternalReportDSL.g:7871:2: (otherlv_0= 'image' ( (lv_size_1_0= ruleImageSizeEnum ) )? (otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) ) )? (otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) ) )? (otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) ) )? ( (lv_sourceType_10_0= ruleImageSourceEnum ) ) ( (lv_filename_11_0= RULE_STRING ) ) )
// InternalReportDSL.g:7872:3: otherlv_0= 'image' ( (lv_size_1_0= ruleImageSizeEnum ) )? (otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) ) )? (otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) ) )? (otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) ) )? ( (lv_sourceType_10_0= ruleImageSourceEnum ) ) ( (lv_filename_11_0= RULE_STRING ) )
{
otherlv_0=(Token)match(input,125,FOLLOW_121); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getImageAccess().getImageKeyword_0());
}
// InternalReportDSL.g:7876:3: ( (lv_size_1_0= ruleImageSizeEnum ) )?
int alt106=2;
int LA106_0 = input.LA(1);
if ( ((LA106_0>=261 && LA106_0<=263)) ) {
alt106=1;
}
switch (alt106) {
case 1 :
// InternalReportDSL.g:7877:4: (lv_size_1_0= ruleImageSizeEnum )
{
// InternalReportDSL.g:7877:4: (lv_size_1_0= ruleImageSizeEnum )
// InternalReportDSL.g:7878:5: lv_size_1_0= ruleImageSizeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getSizeImageSizeEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_121);
lv_size_1_0=ruleImageSizeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"size",
lv_size_1_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.ImageSizeEnum");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:7895:3: (otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) ) )?
int alt107=2;
int LA107_0 = input.LA(1);
if ( (LA107_0==126) ) {
alt107=1;
}
switch (alt107) {
case 1 :
// InternalReportDSL.g:7896:4: otherlv_2= 'scale' ( (lv_scale_3_0= ruleUnsignedNumber ) )
{
otherlv_2=(Token)match(input,126,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getImageAccess().getScaleKeyword_2_0());
}
// InternalReportDSL.g:7900:4: ( (lv_scale_3_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:7901:5: (lv_scale_3_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:7901:5: (lv_scale_3_0= ruleUnsignedNumber )
// InternalReportDSL.g:7902:6: lv_scale_3_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getScaleUnsignedNumberParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_121);
lv_scale_3_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"scale",
lv_scale_3_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:7920:3: (otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) ) )?
int alt108=2;
int LA108_0 = input.LA(1);
if ( (LA108_0==79) ) {
alt108=1;
}
switch (alt108) {
case 1 :
// InternalReportDSL.g:7921:4: otherlv_4= 'height' ( (lv_heightValue_5_0= ruleUnsignedNumber ) ) ( (lv_heightUnit_6_0= ruleUnitEnum ) )
{
otherlv_4=(Token)match(input,79,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getImageAccess().getHeightKeyword_3_0());
}
// InternalReportDSL.g:7925:4: ( (lv_heightValue_5_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:7926:5: (lv_heightValue_5_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:7926:5: (lv_heightValue_5_0= ruleUnsignedNumber )
// InternalReportDSL.g:7927:6: lv_heightValue_5_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getHeightValueUnsignedNumberParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_41);
lv_heightValue_5_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"heightValue",
lv_heightValue_5_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7944:4: ( (lv_heightUnit_6_0= ruleUnitEnum ) )
// InternalReportDSL.g:7945:5: (lv_heightUnit_6_0= ruleUnitEnum )
{
// InternalReportDSL.g:7945:5: (lv_heightUnit_6_0= ruleUnitEnum )
// InternalReportDSL.g:7946:6: lv_heightUnit_6_0= ruleUnitEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getHeightUnitUnitEnumEnumRuleCall_3_2_0());
}
pushFollow(FOLLOW_121);
lv_heightUnit_6_0=ruleUnitEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"heightUnit",
lv_heightUnit_6_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnitEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:7964:3: (otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) ) )?
int alt109=2;
int LA109_0 = input.LA(1);
if ( (LA109_0==85) ) {
alt109=1;
}
switch (alt109) {
case 1 :
// InternalReportDSL.g:7965:4: otherlv_7= 'width' ( (lv_widthValue_8_0= ruleUnsignedNumber ) ) ( (lv_widthUnit_9_0= ruleUnitEnum ) )
{
otherlv_7=(Token)match(input,85,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getImageAccess().getWidthKeyword_4_0());
}
// InternalReportDSL.g:7969:4: ( (lv_widthValue_8_0= ruleUnsignedNumber ) )
// InternalReportDSL.g:7970:5: (lv_widthValue_8_0= ruleUnsignedNumber )
{
// InternalReportDSL.g:7970:5: (lv_widthValue_8_0= ruleUnsignedNumber )
// InternalReportDSL.g:7971:6: lv_widthValue_8_0= ruleUnsignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getWidthValueUnsignedNumberParserRuleCall_4_1_0());
}
pushFollow(FOLLOW_41);
lv_widthValue_8_0=ruleUnsignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"widthValue",
lv_widthValue_8_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnsignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:7988:4: ( (lv_widthUnit_9_0= ruleUnitEnum ) )
// InternalReportDSL.g:7989:5: (lv_widthUnit_9_0= ruleUnitEnum )
{
// InternalReportDSL.g:7989:5: (lv_widthUnit_9_0= ruleUnitEnum )
// InternalReportDSL.g:7990:6: lv_widthUnit_9_0= ruleUnitEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getWidthUnitUnitEnumEnumRuleCall_4_2_0());
}
pushFollow(FOLLOW_121);
lv_widthUnit_9_0=ruleUnitEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"widthUnit",
lv_widthUnit_9_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.UnitEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:8008:3: ( (lv_sourceType_10_0= ruleImageSourceEnum ) )
// InternalReportDSL.g:8009:4: (lv_sourceType_10_0= ruleImageSourceEnum )
{
// InternalReportDSL.g:8009:4: (lv_sourceType_10_0= ruleImageSourceEnum )
// InternalReportDSL.g:8010:5: lv_sourceType_10_0= ruleImageSourceEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageAccess().getSourceTypeImageSourceEnumEnumRuleCall_5_0());
}
pushFollow(FOLLOW_8);
lv_sourceType_10_0=ruleImageSourceEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageRule());
}
set(
current,
"sourceType",
lv_sourceType_10_0,
"org.eclipse.osbp.xtext.reportdsl.ReportDSL.ImageSourceEnum");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:8027:3: ( (lv_filename_11_0= RULE_STRING ) )
// InternalReportDSL.g:8028:4: (lv_filename_11_0= RULE_STRING )
{
// InternalReportDSL.g:8028:4: (lv_filename_11_0= RULE_STRING )
// InternalReportDSL.g:8029:5: lv_filename_11_0= RULE_STRING
{
lv_filename_11_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_filename_11_0, grammarAccess.getImageAccess().getFilenameSTRINGTerminalRuleCall_6_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getImageRule());
}
setWithLastConsumed(
current,
"filename",
lv_filename_11_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleImage"
// $ANTLR start "entryRuleTRANSLATABLESTRING"
// InternalReportDSL.g:8049:1: entryRuleTRANSLATABLESTRING returns [String current=null] : iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ;
public final String entryRuleTRANSLATABLESTRING() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLESTRING = null;
try {
// InternalReportDSL.g:8049:58: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF )
// InternalReportDSL.g:8050:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule());
}
pushFollow(FOLLOW_1);
iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLESTRING.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLESTRING"
// $ANTLR start "ruleTRANSLATABLESTRING"
// InternalReportDSL.g:8056:1: ruleTRANSLATABLESTRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
public final AntlrDatatypeRuleToken ruleTRANSLATABLESTRING() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_STRING_0=null;
enterRule();
try {
// InternalReportDSL.g:8062:2: (this_STRING_0= RULE_STRING )
// InternalReportDSL.g:8063:2: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_STRING_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_STRING_0, grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTRANSLATABLESTRING"
// $ANTLR start "entryRuleXImportDeclaration"
// InternalReportDSL.g:8073:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ;
public final EObject entryRuleXImportDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXImportDeclaration = null;
try {
// InternalReportDSL.g:8073:59: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF )
// InternalReportDSL.g:8074:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXImportDeclaration=ruleXImportDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXImportDeclaration;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXImportDeclaration"
// $ANTLR start "ruleXImportDeclaration"
// InternalReportDSL.g:8080:1: ruleXImportDeclaration returns [EObject current=null] : ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) ;
public final EObject ruleXImportDeclaration() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_static_2_0=null;
Token lv_extension_3_0=null;
Token lv_wildcard_5_0=null;
Token lv_fqnImport_9_0=null;
Token otherlv_11=null;
AntlrDatatypeRuleToken lv_memberName_6_0 = null;
AntlrDatatypeRuleToken lv_importedNamespace_8_0 = null;
AntlrDatatypeRuleToken lv_importedFullyQualifiedName_10_0 = null;
enterRule();
try {
// InternalReportDSL.g:8086:2: ( ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) )
// InternalReportDSL.g:8087:2: ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? )
{
// InternalReportDSL.g:8087:2: ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? )
// InternalReportDSL.g:8088:3: () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )?
{
// InternalReportDSL.g:8088:3: ()
// InternalReportDSL.g:8089:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXImportDeclarationAccess().getOXImportDeclarationAction_0(),
current);
}
}
otherlv_1=(Token)match(input,127,FOLLOW_122); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXImportDeclarationAccess().getImportKeyword_1());
}
// InternalReportDSL.g:8099:3: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) )
int alt112=4;
alt112 = dfa112.predict(input);
switch (alt112) {
case 1 :
// InternalReportDSL.g:8100:4: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) )
{
// InternalReportDSL.g:8100:4: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) )
// InternalReportDSL.g:8101:5: ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) )
{
// InternalReportDSL.g:8101:5: ( (lv_static_2_0= 'static' ) )
// InternalReportDSL.g:8102:6: (lv_static_2_0= 'static' )
{
// InternalReportDSL.g:8102:6: (lv_static_2_0= 'static' )
// InternalReportDSL.g:8103:7: lv_static_2_0= 'static'
{
lv_static_2_0=(Token)match(input,128,FOLLOW_123); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_2_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "static", true, "static");
}
}
}
// InternalReportDSL.g:8115:5: ( (lv_extension_3_0= 'extension' ) )?
int alt110=2;
int LA110_0 = input.LA(1);
if ( (LA110_0==129) ) {
alt110=1;
}
switch (alt110) {
case 1 :
// InternalReportDSL.g:8116:6: (lv_extension_3_0= 'extension' )
{
// InternalReportDSL.g:8116:6: (lv_extension_3_0= 'extension' )
// InternalReportDSL.g:8117:7: lv_extension_3_0= 'extension'
{
lv_extension_3_0=(Token)match(input,129,FOLLOW_123); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_extension_3_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_2_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "extension", true, "extension");
}
}
}
break;
}
// InternalReportDSL.g:8129:5: ( ( ruleQualifiedNameInStaticImport ) )
// InternalReportDSL.g:8130:6: ( ruleQualifiedNameInStaticImport )
{
// InternalReportDSL.g:8130:6: ( ruleQualifiedNameInStaticImport )
// InternalReportDSL.g:8131:7: ruleQualifiedNameInStaticImport
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_0_2_0());
}
pushFollow(FOLLOW_124);
ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:8145:5: ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) )
int alt111=2;
int LA111_0 = input.LA(1);
if ( (LA111_0==130) ) {
alt111=1;
}
else if ( (LA111_0==RULE_ID) ) {
alt111=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 111, 0, input);
throw nvae;
}
switch (alt111) {
case 1 :
// InternalReportDSL.g:8146:6: ( (lv_wildcard_5_0= '*' ) )
{
// InternalReportDSL.g:8146:6: ( (lv_wildcard_5_0= '*' ) )
// InternalReportDSL.g:8147:7: (lv_wildcard_5_0= '*' )
{
// InternalReportDSL.g:8147:7: (lv_wildcard_5_0= '*' )
// InternalReportDSL.g:8148:8: lv_wildcard_5_0= '*'
{
lv_wildcard_5_0=(Token)match(input,130,FOLLOW_125); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_wildcard_5_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_2_0_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "wildcard", true, "*");
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:8161:6: ( (lv_memberName_6_0= ruleValidID ) )
{
// InternalReportDSL.g:8161:6: ( (lv_memberName_6_0= ruleValidID ) )
// InternalReportDSL.g:8162:7: (lv_memberName_6_0= ruleValidID )
{
// InternalReportDSL.g:8162:7: (lv_memberName_6_0= ruleValidID )
// InternalReportDSL.g:8163:8: lv_memberName_6_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_2_0_3_1_0());
}
pushFollow(FOLLOW_125);
lv_memberName_6_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"memberName",
lv_memberName_6_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// InternalReportDSL.g:8183:4: ( ( ruleQualifiedName ) )
{
// InternalReportDSL.g:8183:4: ( ( ruleQualifiedName ) )
// InternalReportDSL.g:8184:5: ( ruleQualifiedName )
{
// InternalReportDSL.g:8184:5: ( ruleQualifiedName )
// InternalReportDSL.g:8185:6: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_1_0());
}
pushFollow(FOLLOW_125);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 3 :
// InternalReportDSL.g:8200:4: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) )
{
// InternalReportDSL.g:8200:4: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) )
// InternalReportDSL.g:8201:5: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard )
{
// InternalReportDSL.g:8201:5: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard )
// InternalReportDSL.g:8202:6: lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_2_2_0());
}
pushFollow(FOLLOW_125);
lv_importedNamespace_8_0=ruleQualifiedNameWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_8_0,
"org.eclipse.xtext.xbase.Xtype.QualifiedNameWithWildcard");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 4 :
// InternalReportDSL.g:8220:4: ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) )
{
// InternalReportDSL.g:8220:4: ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) )
// InternalReportDSL.g:8221:5: ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) )
{
// InternalReportDSL.g:8221:5: ( (lv_fqnImport_9_0= 'ns' ) )
// InternalReportDSL.g:8222:6: (lv_fqnImport_9_0= 'ns' )
{
// InternalReportDSL.g:8222:6: (lv_fqnImport_9_0= 'ns' )
// InternalReportDSL.g:8223:7: lv_fqnImport_9_0= 'ns'
{
lv_fqnImport_9_0=(Token)match(input,131,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fqnImport_9_0, grammarAccess.getXImportDeclarationAccess().getFqnImportNsKeyword_2_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "fqnImport", true, "ns");
}
}
}
// InternalReportDSL.g:8235:5: ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) )
// InternalReportDSL.g:8236:6: (lv_importedFullyQualifiedName_10_0= ruleQualifiedName )
{
// InternalReportDSL.g:8236:6: (lv_importedFullyQualifiedName_10_0= ruleQualifiedName )
// InternalReportDSL.g:8237:7: lv_importedFullyQualifiedName_10_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedFullyQualifiedNameQualifiedNameParserRuleCall_2_3_1_0());
}
pushFollow(FOLLOW_125);
lv_importedFullyQualifiedName_10_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"importedFullyQualifiedName",
lv_importedFullyQualifiedName_10_0,
"org.eclipse.xtext.xbase.Xbase.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
// InternalReportDSL.g:8256:3: (otherlv_11= ';' )?
int alt113=2;
int LA113_0 = input.LA(1);
if ( (LA113_0==132) ) {
alt113=1;
}
switch (alt113) {
case 1 :
// InternalReportDSL.g:8257:4: otherlv_11= ';'
{
otherlv_11=(Token)match(input,132,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXImportDeclaration"
// $ANTLR start "entryRuleXAnnotation"
// InternalReportDSL.g:8266:1: entryRuleXAnnotation returns [EObject current=null] : iv_ruleXAnnotation= ruleXAnnotation EOF ;
public final EObject entryRuleXAnnotation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotation = null;
try {
// InternalReportDSL.g:8266:52: (iv_ruleXAnnotation= ruleXAnnotation EOF )
// InternalReportDSL.g:8267:2: iv_ruleXAnnotation= ruleXAnnotation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotation=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotation"
// $ANTLR start "ruleXAnnotation"
// InternalReportDSL.g:8273:1: ruleXAnnotation returns [EObject current=null] : ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) ;
public final EObject ruleXAnnotation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_8=null;
EObject lv_elementValuePairs_4_0 = null;
EObject lv_elementValuePairs_6_0 = null;
EObject lv_value_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:8279:2: ( ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) )
// InternalReportDSL.g:8280:2: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? )
{
// InternalReportDSL.g:8280:2: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? )
// InternalReportDSL.g:8281:3: () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
{
// InternalReportDSL.g:8281:3: ()
// InternalReportDSL.g:8282:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(),
current);
}
}
otherlv_1=(Token)match(input,133,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1());
}
// InternalReportDSL.g:8292:3: ( ( ruleQualifiedName ) )
// InternalReportDSL.g:8293:4: ( ruleQualifiedName )
{
// InternalReportDSL.g:8293:4: ( ruleQualifiedName )
// InternalReportDSL.g:8294:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0());
}
pushFollow(FOLLOW_126);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:8308:3: ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
int alt116=2;
int LA116_0 = input.LA(1);
if ( (LA116_0==103) && (synpred1_InternalReportDSL())) {
alt116=1;
}
switch (alt116) {
case 1 :
// InternalReportDSL.g:8309:4: ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')'
{
// InternalReportDSL.g:8309:4: ( ( '(' )=>otherlv_3= '(' )
// InternalReportDSL.g:8310:5: ( '(' )=>otherlv_3= '('
{
otherlv_3=(Token)match(input,103,FOLLOW_127); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0());
}
}
// InternalReportDSL.g:8316:4: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?
int alt115=3;
alt115 = dfa115.predict(input);
switch (alt115) {
case 1 :
// InternalReportDSL.g:8317:5: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
{
// InternalReportDSL.g:8317:5: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
// InternalReportDSL.g:8318:6: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
{
// InternalReportDSL.g:8318:6: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) )
// InternalReportDSL.g:8319:7: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
{
// InternalReportDSL.g:8328:7: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
// InternalReportDSL.g:8329:8: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0());
}
pushFollow(FOLLOW_128);
lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
current,
"elementValuePairs",
lv_elementValuePairs_4_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:8346:6: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
loop114:
do {
int alt114=2;
int LA114_0 = input.LA(1);
if ( (LA114_0==134) ) {
alt114=1;
}
switch (alt114) {
case 1 :
// InternalReportDSL.g:8347:7: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
{
otherlv_5=(Token)match(input,134,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0());
}
// InternalReportDSL.g:8351:7: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
// InternalReportDSL.g:8352:8: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
{
// InternalReportDSL.g:8361:8: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
// InternalReportDSL.g:8362:9: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0());
}
pushFollow(FOLLOW_128);
lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
current,
"elementValuePairs",
lv_elementValuePairs_6_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop114;
}
} while (true);
}
}
break;
case 2 :
// InternalReportDSL.g:8382:5: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
{
// InternalReportDSL.g:8382:5: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
// InternalReportDSL.g:8383:6: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
{
// InternalReportDSL.g:8383:6: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
// InternalReportDSL.g:8384:7: lv_value_7_0= ruleXAnnotationElementValueOrCommaList
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_115);
lv_value_7_0=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
set(
current,
"value",
lv_value_7_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValueOrCommaList");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_8=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotation"
// $ANTLR start "entryRuleXAnnotationElementValuePair"
// InternalReportDSL.g:8411:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ;
public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValuePair = null;
try {
// InternalReportDSL.g:8411:68: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF )
// InternalReportDSL.g:8412:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValuePair;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValuePair"
// $ANTLR start "ruleXAnnotationElementValuePair"
// InternalReportDSL.g:8418:1: ruleXAnnotationElementValuePair returns [EObject current=null] : ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ;
public final EObject ruleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_value_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:8424:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) )
// InternalReportDSL.g:8425:2: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
{
// InternalReportDSL.g:8425:2: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
// InternalReportDSL.g:8426:3: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) )
{
// InternalReportDSL.g:8426:3: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) )
// InternalReportDSL.g:8427:4: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' )
{
// InternalReportDSL.g:8436:4: ( ( ( ruleValidID ) ) otherlv_1= '=' )
// InternalReportDSL.g:8437:5: ( ( ruleValidID ) ) otherlv_1= '='
{
// InternalReportDSL.g:8437:5: ( ( ruleValidID ) )
// InternalReportDSL.g:8438:6: ( ruleValidID )
{
// InternalReportDSL.g:8438:6: ( ruleValidID )
// InternalReportDSL.g:8439:7: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0());
}
pushFollow(FOLLOW_129);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,135,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1());
}
}
}
// InternalReportDSL.g:8459:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) )
// InternalReportDSL.g:8460:4: (lv_value_2_0= ruleXAnnotationElementValue )
{
// InternalReportDSL.g:8460:4: (lv_value_2_0= ruleXAnnotationElementValue )
// InternalReportDSL.g:8461:5: lv_value_2_0= ruleXAnnotationElementValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_value_2_0=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule());
}
set(
current,
"value",
lv_value_2_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValue");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValuePair"
// $ANTLR start "entryRuleXAnnotationElementValueOrCommaList"
// InternalReportDSL.g:8482:1: entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] : iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ;
public final EObject entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValueOrCommaList = null;
try {
// InternalReportDSL.g:8482:75: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF )
// InternalReportDSL.g:8483:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValueOrCommaList;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValueOrCommaList"
// $ANTLR start "ruleXAnnotationElementValueOrCommaList"
// InternalReportDSL.g:8489:1: ruleXAnnotationElementValueOrCommaList returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) ;
public final EObject ruleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_9=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
EObject this_XAnnotationOrExpression_7 = null;
EObject lv_elements_10_0 = null;
enterRule();
try {
// InternalReportDSL.g:8495:2: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) )
// InternalReportDSL.g:8496:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )
{
// InternalReportDSL.g:8496:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )
int alt121=2;
alt121 = dfa121.predict(input);
switch (alt121) {
case 1 :
// InternalReportDSL.g:8497:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// InternalReportDSL.g:8497:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// InternalReportDSL.g:8498:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// InternalReportDSL.g:8498:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// InternalReportDSL.g:8499:5: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// InternalReportDSL.g:8506:5: ( () otherlv_1= '#' otherlv_2= '[' )
// InternalReportDSL.g:8507:6: () otherlv_1= '#' otherlv_2= '['
{
// InternalReportDSL.g:8507:6: ()
// InternalReportDSL.g:8508:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,136,FOLLOW_131); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,137,FOLLOW_132); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// InternalReportDSL.g:8524:4: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt118=2;
int LA118_0 = input.LA(1);
if ( ((LA118_0>=RULE_STRING && LA118_0<=RULE_DECIMAL)||LA118_0==14||LA118_0==39||LA118_0==103||LA118_0==116||(LA118_0>=127 && LA118_0<=129)||LA118_0==133||(LA118_0>=136 && LA118_0<=137)||LA118_0==144||LA118_0==160||LA118_0==164||LA118_0==171||LA118_0==173||(LA118_0>=177 && LA118_0<=179)||(LA118_0>=182 && LA118_0<=190)||LA118_0==192) ) {
alt118=1;
}
switch (alt118) {
case 1 :
// InternalReportDSL.g:8525:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// InternalReportDSL.g:8525:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// InternalReportDSL.g:8526:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// InternalReportDSL.g:8526:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
// InternalReportDSL.g:8527:7: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_133);
lv_elements_3_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:8544:5: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop117:
do {
int alt117=2;
int LA117_0 = input.LA(1);
if ( (LA117_0==134) ) {
alt117=1;
}
switch (alt117) {
case 1 :
// InternalReportDSL.g:8545:6: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0());
}
// InternalReportDSL.g:8549:6: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// InternalReportDSL.g:8550:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// InternalReportDSL.g:8550:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
// InternalReportDSL.g:8551:8: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_133);
lv_elements_5_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop117;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,138,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// InternalReportDSL.g:8576:3: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
{
// InternalReportDSL.g:8576:3: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
// InternalReportDSL.g:8577:4: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_134);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:8585:4: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
int alt120=2;
int LA120_0 = input.LA(1);
if ( (LA120_0==134) ) {
alt120=1;
}
switch (alt120) {
case 1 :
// InternalReportDSL.g:8586:5: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
{
// InternalReportDSL.g:8586:5: ()
// InternalReportDSL.g:8587:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndAdd(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(),
current);
}
}
// InternalReportDSL.g:8593:5: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
int cnt119=0;
loop119:
do {
int alt119=2;
int LA119_0 = input.LA(1);
if ( (LA119_0==134) ) {
alt119=1;
}
switch (alt119) {
case 1 :
// InternalReportDSL.g:8594:6: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
{
otherlv_9=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0());
}
// InternalReportDSL.g:8598:6: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
// InternalReportDSL.g:8599:7: (lv_elements_10_0= ruleXAnnotationOrExpression )
{
// InternalReportDSL.g:8599:7: (lv_elements_10_0= ruleXAnnotationOrExpression )
// InternalReportDSL.g:8600:8: lv_elements_10_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_134);
lv_elements_10_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_10_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
if ( cnt119 >= 1 ) break loop119;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(119, input);
throw eee;
}
cnt119++;
} while (true);
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValueOrCommaList"
// $ANTLR start "entryRuleXAnnotationElementValue"
// InternalReportDSL.g:8624:1: entryRuleXAnnotationElementValue returns [EObject current=null] : iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ;
public final EObject entryRuleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValue = null;
try {
// InternalReportDSL.g:8624:64: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF )
// InternalReportDSL.g:8625:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValue;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValue"
// $ANTLR start "ruleXAnnotationElementValue"
// InternalReportDSL.g:8631:1: ruleXAnnotationElementValue returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) ;
public final EObject ruleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
EObject this_XAnnotationOrExpression_7 = null;
enterRule();
try {
// InternalReportDSL.g:8637:2: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) )
// InternalReportDSL.g:8638:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
{
// InternalReportDSL.g:8638:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
int alt124=2;
alt124 = dfa124.predict(input);
switch (alt124) {
case 1 :
// InternalReportDSL.g:8639:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// InternalReportDSL.g:8639:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// InternalReportDSL.g:8640:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// InternalReportDSL.g:8640:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// InternalReportDSL.g:8641:5: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// InternalReportDSL.g:8648:5: ( () otherlv_1= '#' otherlv_2= '[' )
// InternalReportDSL.g:8649:6: () otherlv_1= '#' otherlv_2= '['
{
// InternalReportDSL.g:8649:6: ()
// InternalReportDSL.g:8650:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,136,FOLLOW_131); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,137,FOLLOW_132); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// InternalReportDSL.g:8666:4: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt123=2;
int LA123_0 = input.LA(1);
if ( ((LA123_0>=RULE_STRING && LA123_0<=RULE_DECIMAL)||LA123_0==14||LA123_0==39||LA123_0==103||LA123_0==116||(LA123_0>=127 && LA123_0<=129)||LA123_0==133||(LA123_0>=136 && LA123_0<=137)||LA123_0==144||LA123_0==160||LA123_0==164||LA123_0==171||LA123_0==173||(LA123_0>=177 && LA123_0<=179)||(LA123_0>=182 && LA123_0<=190)||LA123_0==192) ) {
alt123=1;
}
switch (alt123) {
case 1 :
// InternalReportDSL.g:8667:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// InternalReportDSL.g:8667:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// InternalReportDSL.g:8668:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// InternalReportDSL.g:8668:6: (lv_elements_3_0= ruleXAnnotationOrExpression )
// InternalReportDSL.g:8669:7: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_133);
lv_elements_3_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:8686:5: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop122:
do {
int alt122=2;
int LA122_0 = input.LA(1);
if ( (LA122_0==134) ) {
alt122=1;
}
switch (alt122) {
case 1 :
// InternalReportDSL.g:8687:6: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0());
}
// InternalReportDSL.g:8691:6: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// InternalReportDSL.g:8692:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// InternalReportDSL.g:8692:7: (lv_elements_5_0= ruleXAnnotationOrExpression )
// InternalReportDSL.g:8693:8: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_133);
lv_elements_5_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop122;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,138,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// InternalReportDSL.g:8718:3: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValue"
// $ANTLR start "entryRuleXAnnotationOrExpression"
// InternalReportDSL.g:8730:1: entryRuleXAnnotationOrExpression returns [EObject current=null] : iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ;
public final EObject entryRuleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationOrExpression = null;
try {
// InternalReportDSL.g:8730:64: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF )
// InternalReportDSL.g:8731:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationOrExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationOrExpression"
// $ANTLR start "ruleXAnnotationOrExpression"
// InternalReportDSL.g:8737:1: ruleXAnnotationOrExpression returns [EObject current=null] : (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAnnotation_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// InternalReportDSL.g:8743:2: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) )
// InternalReportDSL.g:8744:2: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
{
// InternalReportDSL.g:8744:2: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
int alt125=2;
int LA125_0 = input.LA(1);
if ( (LA125_0==133) ) {
alt125=1;
}
else if ( ((LA125_0>=RULE_STRING && LA125_0<=RULE_DECIMAL)||LA125_0==14||LA125_0==39||LA125_0==103||LA125_0==116||(LA125_0>=127 && LA125_0<=129)||(LA125_0>=136 && LA125_0<=137)||LA125_0==144||LA125_0==160||LA125_0==164||LA125_0==171||LA125_0==173||(LA125_0>=177 && LA125_0<=179)||(LA125_0>=182 && LA125_0<=190)||LA125_0==192) ) {
alt125=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 125, 0, input);
throw nvae;
}
switch (alt125) {
case 1 :
// InternalReportDSL.g:8745:3: this_XAnnotation_0= ruleXAnnotation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XAnnotation_0=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotation_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:8754:3: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationOrExpression"
// $ANTLR start "entryRuleXExpression"
// InternalReportDSL.g:8766:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ;
public final EObject entryRuleXExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpression = null;
try {
// InternalReportDSL.g:8766:52: (iv_ruleXExpression= ruleXExpression EOF )
// InternalReportDSL.g:8767:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// InternalReportDSL.g:8773:1: ruleXExpression returns [EObject current=null] : this_XAssignment_0= ruleXAssignment ;
public final EObject ruleXExpression() throws RecognitionException {
EObject current = null;
EObject this_XAssignment_0 = null;
enterRule();
try {
// InternalReportDSL.g:8779:2: (this_XAssignment_0= ruleXAssignment )
// InternalReportDSL.g:8780:2: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_2);
this_XAssignment_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAssignment_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpression"
// $ANTLR start "entryRuleXAssignment"
// InternalReportDSL.g:8791:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ;
public final EObject entryRuleXAssignment() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAssignment = null;
try {
// InternalReportDSL.g:8791:52: (iv_ruleXAssignment= ruleXAssignment EOF )
// InternalReportDSL.g:8792:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// InternalReportDSL.g:8798:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ;
public final EObject ruleXAssignment() throws RecognitionException {
EObject current = null;
EObject lv_value_3_0 = null;
EObject this_XOrExpression_4 = null;
EObject lv_rightOperand_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:8804:2: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// InternalReportDSL.g:8805:2: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// InternalReportDSL.g:8805:2: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt127=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
int LA127_1 = input.LA(2);
if ( (LA127_1==135) ) {
alt127=1;
}
else if ( (LA127_1==EOF||(LA127_1>=RULE_STRING && LA127_1<=RULE_DECIMAL)||LA127_1==14||LA127_1==18||LA127_1==39||LA127_1==84||(LA127_1>=103 && LA127_1<=104)||LA127_1==116||(LA127_1>=127 && LA127_1<=130)||LA127_1==132||LA127_1==134||(LA127_1>=136 && LA127_1<=169)||(LA127_1>=171 && LA127_1<=193)) ) {
alt127=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 127, 1, input);
throw nvae;
}
}
break;
case 39:
{
int LA127_2 = input.LA(2);
if ( (LA127_2==135) ) {
alt127=1;
}
else if ( (LA127_2==EOF||(LA127_2>=RULE_STRING && LA127_2<=RULE_DECIMAL)||LA127_2==14||LA127_2==18||LA127_2==39||LA127_2==84||(LA127_2>=103 && LA127_2<=104)||LA127_2==116||(LA127_2>=127 && LA127_2<=130)||LA127_2==132||LA127_2==134||(LA127_2>=136 && LA127_2<=169)||(LA127_2>=171 && LA127_2<=193)) ) {
alt127=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 127, 2, input);
throw nvae;
}
}
break;
case 128:
{
int LA127_3 = input.LA(2);
if ( (LA127_3==135) ) {
alt127=1;
}
else if ( (LA127_3==EOF||(LA127_3>=RULE_STRING && LA127_3<=RULE_DECIMAL)||LA127_3==14||LA127_3==18||LA127_3==39||LA127_3==84||(LA127_3>=103 && LA127_3<=104)||LA127_3==116||(LA127_3>=127 && LA127_3<=130)||LA127_3==132||LA127_3==134||(LA127_3>=136 && LA127_3<=169)||(LA127_3>=171 && LA127_3<=193)) ) {
alt127=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 127, 3, input);
throw nvae;
}
}
break;
case 127:
{
int LA127_4 = input.LA(2);
if ( (LA127_4==135) ) {
alt127=1;
}
else if ( (LA127_4==EOF||(LA127_4>=RULE_STRING && LA127_4<=RULE_DECIMAL)||LA127_4==14||LA127_4==18||LA127_4==39||LA127_4==84||(LA127_4>=103 && LA127_4<=104)||LA127_4==116||(LA127_4>=127 && LA127_4<=130)||LA127_4==132||LA127_4==134||(LA127_4>=136 && LA127_4<=169)||(LA127_4>=171 && LA127_4<=193)) ) {
alt127=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 127, 4, input);
throw nvae;
}
}
break;
case 129:
{
int LA127_5 = input.LA(2);
if ( (LA127_5==EOF||(LA127_5>=RULE_STRING && LA127_5<=RULE_DECIMAL)||LA127_5==14||LA127_5==18||LA127_5==39||LA127_5==84||(LA127_5>=103 && LA127_5<=104)||LA127_5==116||(LA127_5>=127 && LA127_5<=130)||LA127_5==132||LA127_5==134||(LA127_5>=136 && LA127_5<=169)||(LA127_5>=171 && LA127_5<=193)) ) {
alt127=2;
}
else if ( (LA127_5==135) ) {
alt127=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 127, 5, input);
throw nvae;
}
}
break;
case RULE_STRING:
case RULE_INT:
case RULE_HEX:
case RULE_DECIMAL:
case 14:
case 103:
case 116:
case 136:
case 137:
case 144:
case 160:
case 164:
case 171:
case 173:
case 177:
case 178:
case 179:
case 182:
case 183:
case 184:
case 185:
case 186:
case 187:
case 188:
case 189:
case 190:
case 192:
{
alt127=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 127, 0, input);
throw nvae;
}
switch (alt127) {
case 1 :
// InternalReportDSL.g:8806:3: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// InternalReportDSL.g:8806:3: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// InternalReportDSL.g:8807:4: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// InternalReportDSL.g:8807:4: ()
// InternalReportDSL.g:8808:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// InternalReportDSL.g:8814:4: ( ( ruleFeatureCallID ) )
// InternalReportDSL.g:8815:5: ( ruleFeatureCallID )
{
// InternalReportDSL.g:8815:5: ( ruleFeatureCallID )
// InternalReportDSL.g:8816:6: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_129);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2());
}
pushFollow(FOLLOW_130);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:8837:4: ( (lv_value_3_0= ruleXAssignment ) )
// InternalReportDSL.g:8838:5: (lv_value_3_0= ruleXAssignment )
{
// InternalReportDSL.g:8838:5: (lv_value_3_0= ruleXAssignment )
// InternalReportDSL.g:8839:6: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_2);
lv_value_3_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"value",
lv_value_3_0,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:8858:3: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// InternalReportDSL.g:8858:3: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// InternalReportDSL.g:8859:4: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_135);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:8867:4: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt126=2;
alt126 = dfa126.predict(input);
switch (alt126) {
case 1 :
// InternalReportDSL.g:8868:5: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// InternalReportDSL.g:8868:5: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// InternalReportDSL.g:8869:6: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// InternalReportDSL.g:8879:6: ( () ( ( ruleOpMultiAssign ) ) )
// InternalReportDSL.g:8880:7: () ( ( ruleOpMultiAssign ) )
{
// InternalReportDSL.g:8880:7: ()
// InternalReportDSL.g:8881:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:8887:7: ( ( ruleOpMultiAssign ) )
// InternalReportDSL.g:8888:8: ( ruleOpMultiAssign )
{
// InternalReportDSL.g:8888:8: ( ruleOpMultiAssign )
// InternalReportDSL.g:8889:9: ruleOpMultiAssign
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:8905:5: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// InternalReportDSL.g:8906:6: (lv_rightOperand_7_0= ruleXAssignment )
{
// InternalReportDSL.g:8906:6: (lv_rightOperand_7_0= ruleXAssignment )
// InternalReportDSL.g:8907:7: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_2);
lv_rightOperand_7_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"rightOperand",
lv_rightOperand_7_0,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAssignment"
// $ANTLR start "entryRuleOpSingleAssign"
// InternalReportDSL.g:8930:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ;
public final String entryRuleOpSingleAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null;
try {
// InternalReportDSL.g:8930:54: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// InternalReportDSL.g:8931:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// InternalReportDSL.g:8937:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:8943:2: (kw= '=' )
// InternalReportDSL.g:8944:2: kw= '='
{
kw=(Token)match(input,135,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpSingleAssign"
// $ANTLR start "entryRuleOpMultiAssign"
// InternalReportDSL.g:8952:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ;
public final String entryRuleOpMultiAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null;
try {
// InternalReportDSL.g:8952:53: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// InternalReportDSL.g:8953:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// InternalReportDSL.g:8959:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ;
public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:8965:2: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) )
// InternalReportDSL.g:8966:2: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
{
// InternalReportDSL.g:8966:2: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
int alt129=7;
switch ( input.LA(1) ) {
case 139:
{
alt129=1;
}
break;
case 140:
{
alt129=2;
}
break;
case 141:
{
alt129=3;
}
break;
case 142:
{
alt129=4;
}
break;
case 143:
{
alt129=5;
}
break;
case 144:
{
alt129=6;
}
break;
case 145:
{
alt129=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 129, 0, input);
throw nvae;
}
switch (alt129) {
case 1 :
// InternalReportDSL.g:8967:3: kw= '+='
{
kw=(Token)match(input,139,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:8973:3: kw= '-='
{
kw=(Token)match(input,140,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
}
break;
case 3 :
// InternalReportDSL.g:8979:3: kw= '*='
{
kw=(Token)match(input,141,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
}
break;
case 4 :
// InternalReportDSL.g:8985:3: kw= '/='
{
kw=(Token)match(input,142,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
}
break;
case 5 :
// InternalReportDSL.g:8991:3: kw= '%='
{
kw=(Token)match(input,143,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
}
break;
case 6 :
// InternalReportDSL.g:8997:3: (kw= '<' kw= '<' kw= '=' )
{
// InternalReportDSL.g:8997:3: (kw= '<' kw= '<' kw= '=' )
// InternalReportDSL.g:8998:4: kw= '<' kw= '<' kw= '='
{
kw=(Token)match(input,144,FOLLOW_136); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw=(Token)match(input,144,FOLLOW_129); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw=(Token)match(input,135,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
}
}
break;
case 7 :
// InternalReportDSL.g:9015:3: (kw= '>' (kw= '>' )? kw= '>=' )
{
// InternalReportDSL.g:9015:3: (kw= '>' (kw= '>' )? kw= '>=' )
// InternalReportDSL.g:9016:4: kw= '>' (kw= '>' )? kw= '>='
{
kw=(Token)match(input,145,FOLLOW_137); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
// InternalReportDSL.g:9021:4: (kw= '>' )?
int alt128=2;
int LA128_0 = input.LA(1);
if ( (LA128_0==145) ) {
alt128=1;
}
switch (alt128) {
case 1 :
// InternalReportDSL.g:9022:5: kw= '>'
{
kw=(Token)match(input,145,FOLLOW_138); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
}
break;
}
kw=(Token)match(input,146,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMultiAssign"
// $ANTLR start "entryRuleXOrExpression"
// InternalReportDSL.g:9038:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ;
public final EObject entryRuleXOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOrExpression = null;
try {
// InternalReportDSL.g:9038:54: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// InternalReportDSL.g:9039:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// InternalReportDSL.g:9045:1: ruleXOrExpression returns [EObject current=null] : (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ;
public final EObject ruleXOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAndExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:9051:2: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// InternalReportDSL.g:9052:2: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// InternalReportDSL.g:9052:2: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// InternalReportDSL.g:9053:3: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_139);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9061:3: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop130:
do {
int alt130=2;
int LA130_0 = input.LA(1);
if ( (LA130_0==147) ) {
int LA130_2 = input.LA(2);
if ( (synpred8_InternalReportDSL()) ) {
alt130=1;
}
}
switch (alt130) {
case 1 :
// InternalReportDSL.g:9062:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// InternalReportDSL.g:9062:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// InternalReportDSL.g:9063:5: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// InternalReportDSL.g:9073:5: ( () ( ( ruleOpOr ) ) )
// InternalReportDSL.g:9074:6: () ( ( ruleOpOr ) )
{
// InternalReportDSL.g:9074:6: ()
// InternalReportDSL.g:9075:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9081:6: ( ( ruleOpOr ) )
// InternalReportDSL.g:9082:7: ( ruleOpOr )
{
// InternalReportDSL.g:9082:7: ( ruleOpOr )
// InternalReportDSL.g:9083:8: ruleOpOr
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOrExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9099:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// InternalReportDSL.g:9100:5: (lv_rightOperand_3_0= ruleXAndExpression )
{
// InternalReportDSL.g:9100:5: (lv_rightOperand_3_0= ruleXAndExpression )
// InternalReportDSL.g:9101:6: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_139);
lv_rightOperand_3_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOrExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XAndExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop130;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// InternalReportDSL.g:9123:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
public final String entryRuleOpOr() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOr = null;
try {
// InternalReportDSL.g:9123:44: (iv_ruleOpOr= ruleOpOr EOF )
// InternalReportDSL.g:9124:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// InternalReportDSL.g:9130:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9136:2: (kw= '||' )
// InternalReportDSL.g:9137:2: kw= '||'
{
kw=(Token)match(input,147,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOr"
// $ANTLR start "entryRuleXAndExpression"
// InternalReportDSL.g:9145:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ;
public final EObject entryRuleXAndExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAndExpression = null;
try {
// InternalReportDSL.g:9145:55: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// InternalReportDSL.g:9146:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// InternalReportDSL.g:9152:1: ruleXAndExpression returns [EObject current=null] : (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ;
public final EObject ruleXAndExpression() throws RecognitionException {
EObject current = null;
EObject this_XEqualityExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:9158:2: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// InternalReportDSL.g:9159:2: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// InternalReportDSL.g:9159:2: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// InternalReportDSL.g:9160:3: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_140);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9168:3: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop131:
do {
int alt131=2;
int LA131_0 = input.LA(1);
if ( (LA131_0==148) ) {
int LA131_2 = input.LA(2);
if ( (synpred9_InternalReportDSL()) ) {
alt131=1;
}
}
switch (alt131) {
case 1 :
// InternalReportDSL.g:9169:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// InternalReportDSL.g:9169:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// InternalReportDSL.g:9170:5: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// InternalReportDSL.g:9180:5: ( () ( ( ruleOpAnd ) ) )
// InternalReportDSL.g:9181:6: () ( ( ruleOpAnd ) )
{
// InternalReportDSL.g:9181:6: ()
// InternalReportDSL.g:9182:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9188:6: ( ( ruleOpAnd ) )
// InternalReportDSL.g:9189:7: ( ruleOpAnd )
{
// InternalReportDSL.g:9189:7: ( ruleOpAnd )
// InternalReportDSL.g:9190:8: ruleOpAnd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAndExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9206:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// InternalReportDSL.g:9207:5: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// InternalReportDSL.g:9207:5: (lv_rightOperand_3_0= ruleXEqualityExpression )
// InternalReportDSL.g:9208:6: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_140);
lv_rightOperand_3_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAndExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XEqualityExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop131;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// InternalReportDSL.g:9230:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
public final String entryRuleOpAnd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAnd = null;
try {
// InternalReportDSL.g:9230:45: (iv_ruleOpAnd= ruleOpAnd EOF )
// InternalReportDSL.g:9231:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// InternalReportDSL.g:9237:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9243:2: (kw= '&&' )
// InternalReportDSL.g:9244:2: kw= '&&'
{
kw=(Token)match(input,148,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAnd"
// $ANTLR start "entryRuleXEqualityExpression"
// InternalReportDSL.g:9252:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ;
public final EObject entryRuleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXEqualityExpression = null;
try {
// InternalReportDSL.g:9252:60: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// InternalReportDSL.g:9253:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// InternalReportDSL.g:9259:1: ruleXEqualityExpression returns [EObject current=null] : (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ;
public final EObject ruleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject this_XRelationalExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:9265:2: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// InternalReportDSL.g:9266:2: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// InternalReportDSL.g:9266:2: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// InternalReportDSL.g:9267:3: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_141);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9275:3: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop132:
do {
int alt132=2;
switch ( input.LA(1) ) {
case 149:
{
int LA132_2 = input.LA(2);
if ( (synpred10_InternalReportDSL()) ) {
alt132=1;
}
}
break;
case 150:
{
int LA132_3 = input.LA(2);
if ( (synpred10_InternalReportDSL()) ) {
alt132=1;
}
}
break;
case 151:
{
int LA132_4 = input.LA(2);
if ( (synpred10_InternalReportDSL()) ) {
alt132=1;
}
}
break;
case 152:
{
int LA132_5 = input.LA(2);
if ( (synpred10_InternalReportDSL()) ) {
alt132=1;
}
}
break;
}
switch (alt132) {
case 1 :
// InternalReportDSL.g:9276:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// InternalReportDSL.g:9276:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// InternalReportDSL.g:9277:5: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// InternalReportDSL.g:9287:5: ( () ( ( ruleOpEquality ) ) )
// InternalReportDSL.g:9288:6: () ( ( ruleOpEquality ) )
{
// InternalReportDSL.g:9288:6: ()
// InternalReportDSL.g:9289:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9295:6: ( ( ruleOpEquality ) )
// InternalReportDSL.g:9296:7: ( ruleOpEquality )
{
// InternalReportDSL.g:9296:7: ( ruleOpEquality )
// InternalReportDSL.g:9297:8: ruleOpEquality
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXEqualityExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9313:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// InternalReportDSL.g:9314:5: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// InternalReportDSL.g:9314:5: (lv_rightOperand_3_0= ruleXRelationalExpression )
// InternalReportDSL.g:9315:6: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_141);
lv_rightOperand_3_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XRelationalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop132;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// InternalReportDSL.g:9337:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
public final String entryRuleOpEquality() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpEquality = null;
try {
// InternalReportDSL.g:9337:50: (iv_ruleOpEquality= ruleOpEquality EOF )
// InternalReportDSL.g:9338:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// InternalReportDSL.g:9344:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9350:2: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) )
// InternalReportDSL.g:9351:2: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
{
// InternalReportDSL.g:9351:2: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
int alt133=4;
switch ( input.LA(1) ) {
case 149:
{
alt133=1;
}
break;
case 150:
{
alt133=2;
}
break;
case 151:
{
alt133=3;
}
break;
case 152:
{
alt133=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 133, 0, input);
throw nvae;
}
switch (alt133) {
case 1 :
// InternalReportDSL.g:9352:3: kw= '=='
{
kw=(Token)match(input,149,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:9358:3: kw= '!='
{
kw=(Token)match(input,150,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
case 3 :
// InternalReportDSL.g:9364:3: kw= '==='
{
kw=(Token)match(input,151,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2());
}
}
break;
case 4 :
// InternalReportDSL.g:9370:3: kw= '!=='
{
kw=(Token)match(input,152,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleXRelationalExpression"
// InternalReportDSL.g:9379:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ;
public final EObject entryRuleXRelationalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXRelationalExpression = null;
try {
// InternalReportDSL.g:9379:62: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// InternalReportDSL.g:9380:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// InternalReportDSL.g:9386:1: ruleXRelationalExpression returns [EObject current=null] : (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ;
public final EObject ruleXRelationalExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XOtherOperatorExpression_0 = null;
EObject lv_type_3_0 = null;
EObject lv_rightOperand_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:9392:2: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// InternalReportDSL.g:9393:2: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// InternalReportDSL.g:9393:2: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// InternalReportDSL.g:9394:3: this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_142);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9402:3: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop134:
do {
int alt134=3;
switch ( input.LA(1) ) {
case 144:
{
int LA134_2 = input.LA(2);
if ( (synpred12_InternalReportDSL()) ) {
alt134=2;
}
}
break;
case 145:
{
int LA134_3 = input.LA(2);
if ( (synpred12_InternalReportDSL()) ) {
alt134=2;
}
}
break;
case 153:
{
int LA134_4 = input.LA(2);
if ( (synpred11_InternalReportDSL()) ) {
alt134=1;
}
}
break;
case 146:
{
int LA134_5 = input.LA(2);
if ( (synpred12_InternalReportDSL()) ) {
alt134=2;
}
}
break;
}
switch (alt134) {
case 1 :
// InternalReportDSL.g:9403:4: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// InternalReportDSL.g:9403:4: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// InternalReportDSL.g:9404:5: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// InternalReportDSL.g:9404:5: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// InternalReportDSL.g:9405:6: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// InternalReportDSL.g:9411:6: ( () otherlv_2= 'instanceof' )
// InternalReportDSL.g:9412:7: () otherlv_2= 'instanceof'
{
// InternalReportDSL.g:9412:7: ()
// InternalReportDSL.g:9413:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,153,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// InternalReportDSL.g:9425:5: ( (lv_type_3_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:9426:6: (lv_type_3_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:9426:6: (lv_type_3_0= ruleJvmTypeReference )
// InternalReportDSL.g:9427:7: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_142);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:9446:4: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// InternalReportDSL.g:9446:4: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// InternalReportDSL.g:9447:5: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// InternalReportDSL.g:9447:5: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// InternalReportDSL.g:9448:6: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// InternalReportDSL.g:9458:6: ( () ( ( ruleOpCompare ) ) )
// InternalReportDSL.g:9459:7: () ( ( ruleOpCompare ) )
{
// InternalReportDSL.g:9459:7: ()
// InternalReportDSL.g:9460:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9466:7: ( ( ruleOpCompare ) )
// InternalReportDSL.g:9467:8: ( ruleOpCompare )
{
// InternalReportDSL.g:9467:8: ( ruleOpCompare )
// InternalReportDSL.g:9468:9: ruleOpCompare
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXRelationalExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9484:5: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// InternalReportDSL.g:9485:6: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// InternalReportDSL.g:9485:6: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// InternalReportDSL.g:9486:7: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_142);
lv_rightOperand_6_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_6_0,
"org.eclipse.xtext.xbase.Xbase.XOtherOperatorExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
default :
break loop134;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// InternalReportDSL.g:9509:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ;
public final String entryRuleOpCompare() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpCompare = null;
try {
// InternalReportDSL.g:9509:49: (iv_ruleOpCompare= ruleOpCompare EOF )
// InternalReportDSL.g:9510:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// InternalReportDSL.g:9516:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9522:2: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) )
// InternalReportDSL.g:9523:2: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
{
// InternalReportDSL.g:9523:2: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
int alt135=4;
switch ( input.LA(1) ) {
case 146:
{
alt135=1;
}
break;
case 144:
{
int LA135_2 = input.LA(2);
if ( (LA135_2==EOF||(LA135_2>=RULE_STRING && LA135_2<=RULE_DECIMAL)||LA135_2==14||LA135_2==39||LA135_2==103||LA135_2==116||(LA135_2>=127 && LA135_2<=129)||(LA135_2>=136 && LA135_2<=137)||LA135_2==144||LA135_2==160||LA135_2==164||LA135_2==171||LA135_2==173||(LA135_2>=177 && LA135_2<=179)||(LA135_2>=182 && LA135_2<=190)||LA135_2==192) ) {
alt135=4;
}
else if ( (LA135_2==135) ) {
alt135=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 135, 2, input);
throw nvae;
}
}
break;
case 145:
{
alt135=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 135, 0, input);
throw nvae;
}
switch (alt135) {
case 1 :
// InternalReportDSL.g:9524:3: kw= '>='
{
kw=(Token)match(input,146,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:9530:3: (kw= '<' kw= '=' )
{
// InternalReportDSL.g:9530:3: (kw= '<' kw= '=' )
// InternalReportDSL.g:9531:4: kw= '<' kw= '='
{
kw=(Token)match(input,144,FOLLOW_129); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0());
}
kw=(Token)match(input,135,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:9543:3: kw= '>'
{
kw=(Token)match(input,145,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// InternalReportDSL.g:9549:3: kw= '<'
{
kw=(Token)match(input,144,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpCompare"
// $ANTLR start "entryRuleXOtherOperatorExpression"
// InternalReportDSL.g:9558:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ;
public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOtherOperatorExpression = null;
try {
// InternalReportDSL.g:9558:65: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// InternalReportDSL.g:9559:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// InternalReportDSL.g:9565:1: ruleXOtherOperatorExpression returns [EObject current=null] : (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ;
public final EObject ruleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject this_XAdditiveExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:9571:2: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// InternalReportDSL.g:9572:2: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// InternalReportDSL.g:9572:2: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// InternalReportDSL.g:9573:3: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_144);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9581:3: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop136:
do {
int alt136=2;
alt136 = dfa136.predict(input);
switch (alt136) {
case 1 :
// InternalReportDSL.g:9582:4: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// InternalReportDSL.g:9582:4: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// InternalReportDSL.g:9583:5: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// InternalReportDSL.g:9593:5: ( () ( ( ruleOpOther ) ) )
// InternalReportDSL.g:9594:6: () ( ( ruleOpOther ) )
{
// InternalReportDSL.g:9594:6: ()
// InternalReportDSL.g:9595:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9601:6: ( ( ruleOpOther ) )
// InternalReportDSL.g:9602:7: ( ruleOpOther )
{
// InternalReportDSL.g:9602:7: ( ruleOpOther )
// InternalReportDSL.g:9603:8: ruleOpOther
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9619:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// InternalReportDSL.g:9620:5: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// InternalReportDSL.g:9620:5: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// InternalReportDSL.g:9621:6: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_144);
lv_rightOperand_3_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XAdditiveExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop136;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// InternalReportDSL.g:9643:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ;
public final String entryRuleOpOther() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOther = null;
try {
// InternalReportDSL.g:9643:47: (iv_ruleOpOther= ruleOpOther EOF )
// InternalReportDSL.g:9644:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// InternalReportDSL.g:9650:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ;
public final AntlrDatatypeRuleToken ruleOpOther() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9656:2: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) )
// InternalReportDSL.g:9657:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
{
// InternalReportDSL.g:9657:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
int alt139=9;
alt139 = dfa139.predict(input);
switch (alt139) {
case 1 :
// InternalReportDSL.g:9658:3: kw= '->'
{
kw=(Token)match(input,154,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:9664:3: kw= '..<'
{
kw=(Token)match(input,155,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1());
}
}
break;
case 3 :
// InternalReportDSL.g:9670:3: (kw= '>' kw= '..' )
{
// InternalReportDSL.g:9670:3: (kw= '>' kw= '..' )
// InternalReportDSL.g:9671:4: kw= '>' kw= '..'
{
kw=(Token)match(input,145,FOLLOW_145); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0());
}
kw=(Token)match(input,156,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1());
}
}
}
break;
case 4 :
// InternalReportDSL.g:9683:3: kw= '..'
{
kw=(Token)match(input,156,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3());
}
}
break;
case 5 :
// InternalReportDSL.g:9689:3: kw= '=>'
{
kw=(Token)match(input,157,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4());
}
}
break;
case 6 :
// InternalReportDSL.g:9695:3: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// InternalReportDSL.g:9695:3: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// InternalReportDSL.g:9696:4: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,145,FOLLOW_146); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0());
}
// InternalReportDSL.g:9701:4: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt137=2;
int LA137_0 = input.LA(1);
if ( (LA137_0==145) ) {
int LA137_1 = input.LA(2);
if ( (LA137_1==EOF||(LA137_1>=RULE_STRING && LA137_1<=RULE_DECIMAL)||LA137_1==14||LA137_1==39||LA137_1==103||LA137_1==116||(LA137_1>=127 && LA137_1<=129)||(LA137_1>=136 && LA137_1<=137)||LA137_1==144||LA137_1==160||LA137_1==164||LA137_1==171||LA137_1==173||(LA137_1>=177 && LA137_1<=179)||(LA137_1>=182 && LA137_1<=190)||LA137_1==192) ) {
alt137=2;
}
else if ( (LA137_1==145) && (synpred14_InternalReportDSL())) {
alt137=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 137, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 137, 0, input);
throw nvae;
}
switch (alt137) {
case 1 :
// InternalReportDSL.g:9702:5: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// InternalReportDSL.g:9702:5: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// InternalReportDSL.g:9703:6: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// InternalReportDSL.g:9708:6: (kw= '>' kw= '>' )
// InternalReportDSL.g:9709:7: kw= '>' kw= '>'
{
kw=(Token)match(input,145,FOLLOW_146); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0());
}
kw=(Token)match(input,145,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1());
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:9722:5: kw= '>'
{
kw=(Token)match(input,145,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1());
}
}
break;
}
}
}
break;
case 7 :
// InternalReportDSL.g:9730:3: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
{
// InternalReportDSL.g:9730:3: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
// InternalReportDSL.g:9731:4: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
{
kw=(Token)match(input,144,FOLLOW_147); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0());
}
// InternalReportDSL.g:9736:4: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
int alt138=3;
int LA138_0 = input.LA(1);
if ( (LA138_0==144) ) {
int LA138_1 = input.LA(2);
if ( (synpred15_InternalReportDSL()) ) {
alt138=1;
}
else if ( (true) ) {
alt138=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 138, 1, input);
throw nvae;
}
}
else if ( (LA138_0==157) ) {
alt138=3;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 138, 0, input);
throw nvae;
}
switch (alt138) {
case 1 :
// InternalReportDSL.g:9737:5: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// InternalReportDSL.g:9737:5: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// InternalReportDSL.g:9738:6: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// InternalReportDSL.g:9743:6: (kw= '<' kw= '<' )
// InternalReportDSL.g:9744:7: kw= '<' kw= '<'
{
kw=(Token)match(input,144,FOLLOW_136); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0());
}
kw=(Token)match(input,144,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1());
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:9757:5: kw= '<'
{
kw=(Token)match(input,144,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1());
}
}
break;
case 3 :
// InternalReportDSL.g:9763:5: kw= '=>'
{
kw=(Token)match(input,157,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2());
}
}
break;
}
}
}
break;
case 8 :
// InternalReportDSL.g:9771:3: kw= '<>'
{
kw=(Token)match(input,158,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7());
}
}
break;
case 9 :
// InternalReportDSL.g:9777:3: kw= '?:'
{
kw=(Token)match(input,159,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOther"
// $ANTLR start "entryRuleXAdditiveExpression"
// InternalReportDSL.g:9786:1: entryRuleXAdditiveExpression returns [EObject current=null] : iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ;
public final EObject entryRuleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAdditiveExpression = null;
try {
// InternalReportDSL.g:9786:60: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF )
// InternalReportDSL.g:9787:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXAdditiveExpression=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAdditiveExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAdditiveExpression"
// $ANTLR start "ruleXAdditiveExpression"
// InternalReportDSL.g:9793:1: ruleXAdditiveExpression returns [EObject current=null] : (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ;
public final EObject ruleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject this_XMultiplicativeExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:9799:2: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) )
// InternalReportDSL.g:9800:2: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
{
// InternalReportDSL.g:9800:2: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
// InternalReportDSL.g:9801:3: this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_148);
this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9809:3: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
loop140:
do {
int alt140=2;
int LA140_0 = input.LA(1);
if ( (LA140_0==160) ) {
int LA140_2 = input.LA(2);
if ( (synpred16_InternalReportDSL()) ) {
alt140=1;
}
}
else if ( (LA140_0==116) ) {
int LA140_3 = input.LA(2);
if ( (synpred16_InternalReportDSL()) ) {
alt140=1;
}
}
switch (alt140) {
case 1 :
// InternalReportDSL.g:9810:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
{
// InternalReportDSL.g:9810:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) )
// InternalReportDSL.g:9811:5: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) )
{
// InternalReportDSL.g:9821:5: ( () ( ( ruleOpAdd ) ) )
// InternalReportDSL.g:9822:6: () ( ( ruleOpAdd ) )
{
// InternalReportDSL.g:9822:6: ()
// InternalReportDSL.g:9823:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9829:6: ( ( ruleOpAdd ) )
// InternalReportDSL.g:9830:7: ( ruleOpAdd )
{
// InternalReportDSL.g:9830:7: ( ruleOpAdd )
// InternalReportDSL.g:9831:8: ruleOpAdd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAdditiveExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9847:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
// InternalReportDSL.g:9848:5: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
{
// InternalReportDSL.g:9848:5: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
// InternalReportDSL.g:9849:6: lv_rightOperand_3_0= ruleXMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_148);
lv_rightOperand_3_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XMultiplicativeExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop140;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// InternalReportDSL.g:9871:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ;
public final String entryRuleOpAdd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAdd = null;
try {
// InternalReportDSL.g:9871:45: (iv_ruleOpAdd= ruleOpAdd EOF )
// InternalReportDSL.g:9872:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// InternalReportDSL.g:9878:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ;
public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9884:2: ( (kw= '+' | kw= '-' ) )
// InternalReportDSL.g:9885:2: (kw= '+' | kw= '-' )
{
// InternalReportDSL.g:9885:2: (kw= '+' | kw= '-' )
int alt141=2;
int LA141_0 = input.LA(1);
if ( (LA141_0==160) ) {
alt141=1;
}
else if ( (LA141_0==116) ) {
alt141=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 141, 0, input);
throw nvae;
}
switch (alt141) {
case 1 :
// InternalReportDSL.g:9886:3: kw= '+'
{
kw=(Token)match(input,160,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:9892:3: kw= '-'
{
kw=(Token)match(input,116,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAdd"
// $ANTLR start "entryRuleXMultiplicativeExpression"
// InternalReportDSL.g:9901:1: entryRuleXMultiplicativeExpression returns [EObject current=null] : iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ;
public final EObject entryRuleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMultiplicativeExpression = null;
try {
// InternalReportDSL.g:9901:66: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF )
// InternalReportDSL.g:9902:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMultiplicativeExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMultiplicativeExpression"
// $ANTLR start "ruleXMultiplicativeExpression"
// InternalReportDSL.g:9908:1: ruleXMultiplicativeExpression returns [EObject current=null] : (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ;
public final EObject ruleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject this_XUnaryOperation_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:9914:2: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) )
// InternalReportDSL.g:9915:2: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
{
// InternalReportDSL.g:9915:2: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
// InternalReportDSL.g:9916:3: this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0());
}
pushFollow(FOLLOW_149);
this_XUnaryOperation_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:9924:3: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
loop142:
do {
int alt142=2;
switch ( input.LA(1) ) {
case 130:
{
int LA142_2 = input.LA(2);
if ( (synpred17_InternalReportDSL()) ) {
alt142=1;
}
}
break;
case 161:
{
int LA142_3 = input.LA(2);
if ( (synpred17_InternalReportDSL()) ) {
alt142=1;
}
}
break;
case 162:
{
int LA142_4 = input.LA(2);
if ( (synpred17_InternalReportDSL()) ) {
alt142=1;
}
}
break;
case 163:
{
int LA142_5 = input.LA(2);
if ( (synpred17_InternalReportDSL()) ) {
alt142=1;
}
}
break;
}
switch (alt142) {
case 1 :
// InternalReportDSL.g:9925:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
{
// InternalReportDSL.g:9925:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) )
// InternalReportDSL.g:9926:5: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) )
{
// InternalReportDSL.g:9936:5: ( () ( ( ruleOpMulti ) ) )
// InternalReportDSL.g:9937:6: () ( ( ruleOpMulti ) )
{
// InternalReportDSL.g:9937:6: ()
// InternalReportDSL.g:9938:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:9944:6: ( ( ruleOpMulti ) )
// InternalReportDSL.g:9945:7: ( ruleOpMulti )
{
// InternalReportDSL.g:9945:7: ( ruleOpMulti )
// InternalReportDSL.g:9946:8: ruleOpMulti
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalReportDSL.g:9962:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
// InternalReportDSL.g:9963:5: (lv_rightOperand_3_0= ruleXUnaryOperation )
{
// InternalReportDSL.g:9963:5: (lv_rightOperand_3_0= ruleXUnaryOperation )
// InternalReportDSL.g:9964:6: lv_rightOperand_3_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_149);
lv_rightOperand_3_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop142;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// InternalReportDSL.g:9986:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ;
public final String entryRuleOpMulti() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMulti = null;
try {
// InternalReportDSL.g:9986:47: (iv_ruleOpMulti= ruleOpMulti EOF )
// InternalReportDSL.g:9987:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// InternalReportDSL.g:9993:1: ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ;
public final AntlrDatatypeRuleToken ruleOpMulti() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:9999:2: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) )
// InternalReportDSL.g:10000:2: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
{
// InternalReportDSL.g:10000:2: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
int alt143=4;
switch ( input.LA(1) ) {
case 130:
{
alt143=1;
}
break;
case 161:
{
alt143=2;
}
break;
case 162:
{
alt143=3;
}
break;
case 163:
{
alt143=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 143, 0, input);
throw nvae;
}
switch (alt143) {
case 1 :
// InternalReportDSL.g:10001:3: kw= '*'
{
kw=(Token)match(input,130,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:10007:3: kw= '**'
{
kw=(Token)match(input,161,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1());
}
}
break;
case 3 :
// InternalReportDSL.g:10013:3: kw= '/'
{
kw=(Token)match(input,162,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2());
}
}
break;
case 4 :
// InternalReportDSL.g:10019:3: kw= '%'
{
kw=(Token)match(input,163,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMulti"
// $ANTLR start "entryRuleXUnaryOperation"
// InternalReportDSL.g:10028:1: entryRuleXUnaryOperation returns [EObject current=null] : iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ;
public final EObject entryRuleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXUnaryOperation = null;
try {
// InternalReportDSL.g:10028:56: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF )
// InternalReportDSL.g:10029:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXUnaryOperation=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXUnaryOperation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXUnaryOperation"
// $ANTLR start "ruleXUnaryOperation"
// InternalReportDSL.g:10035:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ;
public final EObject ruleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject lv_operand_2_0 = null;
EObject this_XCastedExpression_3 = null;
enterRule();
try {
// InternalReportDSL.g:10041:2: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) )
// InternalReportDSL.g:10042:2: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
{
// InternalReportDSL.g:10042:2: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
int alt144=2;
int LA144_0 = input.LA(1);
if ( (LA144_0==116||LA144_0==160||LA144_0==164) ) {
alt144=1;
}
else if ( ((LA144_0>=RULE_STRING && LA144_0<=RULE_DECIMAL)||LA144_0==14||LA144_0==39||LA144_0==103||(LA144_0>=127 && LA144_0<=129)||(LA144_0>=136 && LA144_0<=137)||LA144_0==144||LA144_0==171||LA144_0==173||(LA144_0>=177 && LA144_0<=179)||(LA144_0>=182 && LA144_0<=190)||LA144_0==192) ) {
alt144=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 144, 0, input);
throw nvae;
}
switch (alt144) {
case 1 :
// InternalReportDSL.g:10043:3: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
{
// InternalReportDSL.g:10043:3: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
// InternalReportDSL.g:10044:4: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) )
{
// InternalReportDSL.g:10044:4: ()
// InternalReportDSL.g:10045:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(),
current);
}
}
// InternalReportDSL.g:10051:4: ( ( ruleOpUnary ) )
// InternalReportDSL.g:10052:5: ( ruleOpUnary )
{
// InternalReportDSL.g:10052:5: ( ruleOpUnary )
// InternalReportDSL.g:10053:6: ruleOpUnary
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXUnaryOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_130);
ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:10067:4: ( (lv_operand_2_0= ruleXUnaryOperation ) )
// InternalReportDSL.g:10068:5: (lv_operand_2_0= ruleXUnaryOperation )
{
// InternalReportDSL.g:10068:5: (lv_operand_2_0= ruleXUnaryOperation )
// InternalReportDSL.g:10069:6: lv_operand_2_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_2);
lv_operand_2_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXUnaryOperationRule());
}
set(
current,
"operand",
lv_operand_2_0,
"org.eclipse.xtext.xbase.Xbase.XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:10088:3: this_XCastedExpression_3= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XCastedExpression_3=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCastedExpression_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXUnaryOperation"
// $ANTLR start "entryRuleOpUnary"
// InternalReportDSL.g:10100:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ;
public final String entryRuleOpUnary() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpUnary = null;
try {
// InternalReportDSL.g:10100:47: (iv_ruleOpUnary= ruleOpUnary EOF )
// InternalReportDSL.g:10101:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// InternalReportDSL.g:10107:1: ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '!' | kw= '-' | kw= '+' ) ;
public final AntlrDatatypeRuleToken ruleOpUnary() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:10113:2: ( (kw= '!' | kw= '-' | kw= '+' ) )
// InternalReportDSL.g:10114:2: (kw= '!' | kw= '-' | kw= '+' )
{
// InternalReportDSL.g:10114:2: (kw= '!' | kw= '-' | kw= '+' )
int alt145=3;
switch ( input.LA(1) ) {
case 164:
{
alt145=1;
}
break;
case 116:
{
alt145=2;
}
break;
case 160:
{
alt145=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 145, 0, input);
throw nvae;
}
switch (alt145) {
case 1 :
// InternalReportDSL.g:10115:3: kw= '!'
{
kw=(Token)match(input,164,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:10121:3: kw= '-'
{
kw=(Token)match(input,116,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// InternalReportDSL.g:10127:3: kw= '+'
{
kw=(Token)match(input,160,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpUnary"
// $ANTLR start "entryRuleXCastedExpression"
// InternalReportDSL.g:10136:1: entryRuleXCastedExpression returns [EObject current=null] : iv_ruleXCastedExpression= ruleXCastedExpression EOF ;
public final EObject entryRuleXCastedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCastedExpression = null;
try {
// InternalReportDSL.g:10136:58: (iv_ruleXCastedExpression= ruleXCastedExpression EOF )
// InternalReportDSL.g:10137:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCastedExpression=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCastedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCastedExpression"
// $ANTLR start "ruleXCastedExpression"
// InternalReportDSL.g:10143:1: ruleXCastedExpression returns [EObject current=null] : (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ;
public final EObject ruleXCastedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XPostfixOperation_0 = null;
EObject lv_type_3_0 = null;
enterRule();
try {
// InternalReportDSL.g:10149:2: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) )
// InternalReportDSL.g:10150:2: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
{
// InternalReportDSL.g:10150:2: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
// InternalReportDSL.g:10151:3: this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0());
}
pushFollow(FOLLOW_150);
this_XPostfixOperation_0=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPostfixOperation_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:10159:3: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
loop146:
do {
int alt146=2;
int LA146_0 = input.LA(1);
if ( (LA146_0==84) ) {
int LA146_2 = input.LA(2);
if ( (synpred18_InternalReportDSL()) ) {
alt146=1;
}
}
switch (alt146) {
case 1 :
// InternalReportDSL.g:10160:4: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// InternalReportDSL.g:10160:4: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) )
// InternalReportDSL.g:10161:5: ( ( () 'as' ) )=> ( () otherlv_2= 'as' )
{
// InternalReportDSL.g:10167:5: ( () otherlv_2= 'as' )
// InternalReportDSL.g:10168:6: () otherlv_2= 'as'
{
// InternalReportDSL.g:10168:6: ()
// InternalReportDSL.g:10169:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,84,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1());
}
}
}
// InternalReportDSL.g:10181:4: ( (lv_type_3_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:10182:5: (lv_type_3_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:10182:5: (lv_type_3_0= ruleJvmTypeReference )
// InternalReportDSL.g:10183:6: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_150);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCastedExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop146;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCastedExpression"
// $ANTLR start "entryRuleXPostfixOperation"
// InternalReportDSL.g:10205:1: entryRuleXPostfixOperation returns [EObject current=null] : iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ;
public final EObject entryRuleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPostfixOperation = null;
try {
// InternalReportDSL.g:10205:58: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF )
// InternalReportDSL.g:10206:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXPostfixOperation=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPostfixOperation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPostfixOperation"
// $ANTLR start "ruleXPostfixOperation"
// InternalReportDSL.g:10212:1: ruleXPostfixOperation returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ;
public final EObject ruleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject this_XMemberFeatureCall_0 = null;
enterRule();
try {
// InternalReportDSL.g:10218:2: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) )
// InternalReportDSL.g:10219:2: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
{
// InternalReportDSL.g:10219:2: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
// InternalReportDSL.g:10220:3: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0());
}
pushFollow(FOLLOW_151);
this_XMemberFeatureCall_0=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMemberFeatureCall_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:10228:3: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
int alt147=2;
int LA147_0 = input.LA(1);
if ( (LA147_0==165) ) {
int LA147_1 = input.LA(2);
if ( (synpred19_InternalReportDSL()) ) {
alt147=1;
}
}
else if ( (LA147_0==166) ) {
int LA147_2 = input.LA(2);
if ( (synpred19_InternalReportDSL()) ) {
alt147=1;
}
}
switch (alt147) {
case 1 :
// InternalReportDSL.g:10229:4: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) )
{
// InternalReportDSL.g:10239:4: ( () ( ( ruleOpPostfix ) ) )
// InternalReportDSL.g:10240:5: () ( ( ruleOpPostfix ) )
{
// InternalReportDSL.g:10240:5: ()
// InternalReportDSL.g:10241:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(),
current);
}
}
// InternalReportDSL.g:10247:5: ( ( ruleOpPostfix ) )
// InternalReportDSL.g:10248:6: ( ruleOpPostfix )
{
// InternalReportDSL.g:10248:6: ( ruleOpPostfix )
// InternalReportDSL.g:10249:7: ruleOpPostfix
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXPostfixOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0());
}
pushFollow(FOLLOW_2);
ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPostfixOperation"
// $ANTLR start "entryRuleOpPostfix"
// InternalReportDSL.g:10269:1: entryRuleOpPostfix returns [String current=null] : iv_ruleOpPostfix= ruleOpPostfix EOF ;
public final String entryRuleOpPostfix() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpPostfix = null;
try {
// InternalReportDSL.g:10269:49: (iv_ruleOpPostfix= ruleOpPostfix EOF )
// InternalReportDSL.g:10270:2: iv_ruleOpPostfix= ruleOpPostfix EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpPostfixRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpPostfix=ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpPostfix.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpPostfix"
// $ANTLR start "ruleOpPostfix"
// InternalReportDSL.g:10276:1: ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '++' | kw= '--' ) ;
public final AntlrDatatypeRuleToken ruleOpPostfix() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:10282:2: ( (kw= '++' | kw= '--' ) )
// InternalReportDSL.g:10283:2: (kw= '++' | kw= '--' )
{
// InternalReportDSL.g:10283:2: (kw= '++' | kw= '--' )
int alt148=2;
int LA148_0 = input.LA(1);
if ( (LA148_0==165) ) {
alt148=1;
}
else if ( (LA148_0==166) ) {
alt148=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 148, 0, input);
throw nvae;
}
switch (alt148) {
case 1 :
// InternalReportDSL.g:10284:3: kw= '++'
{
kw=(Token)match(input,165,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0());
}
}
break;
case 2 :
// InternalReportDSL.g:10290:3: kw= '--'
{
kw=(Token)match(input,166,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpPostfix"
// $ANTLR start "entryRuleXMemberFeatureCall"
// InternalReportDSL.g:10299:1: entryRuleXMemberFeatureCall returns [EObject current=null] : iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ;
public final EObject entryRuleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMemberFeatureCall = null;
try {
// InternalReportDSL.g:10299:59: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF )
// InternalReportDSL.g:10300:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMemberFeatureCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMemberFeatureCall"
// $ANTLR start "ruleXMemberFeatureCall"
// InternalReportDSL.g:10306:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ;
public final EObject ruleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_explicitStatic_3_0=null;
Token otherlv_8=null;
Token lv_nullSafe_9_0=null;
Token lv_explicitStatic_10_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token lv_explicitOperationCall_17_0=null;
Token otherlv_20=null;
Token otherlv_22=null;
EObject this_XPrimaryExpression_0 = null;
EObject lv_value_6_0 = null;
EObject lv_typeArguments_12_0 = null;
EObject lv_typeArguments_14_0 = null;
EObject lv_memberCallArguments_18_0 = null;
EObject lv_memberCallArguments_19_0 = null;
EObject lv_memberCallArguments_21_0 = null;
EObject lv_memberCallArguments_23_0 = null;
enterRule();
try {
// InternalReportDSL.g:10312:2: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) )
// InternalReportDSL.g:10313:2: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
{
// InternalReportDSL.g:10313:2: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
// InternalReportDSL.g:10314:3: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_152);
this_XPrimaryExpression_0=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:10322:3: ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
loop157:
do {
int alt157=3;
switch ( input.LA(1) ) {
case 167:
{
int LA157_2 = input.LA(2);
if ( (synpred20_InternalReportDSL()) ) {
alt157=1;
}
else if ( (synpred21_InternalReportDSL()) ) {
alt157=2;
}
}
break;
case 168:
{
int LA157_3 = input.LA(2);
if ( (synpred20_InternalReportDSL()) ) {
alt157=1;
}
else if ( (synpred21_InternalReportDSL()) ) {
alt157=2;
}
}
break;
case 169:
{
int LA157_4 = input.LA(2);
if ( (synpred21_InternalReportDSL()) ) {
alt157=2;
}
}
break;
}
switch (alt157) {
case 1 :
// InternalReportDSL.g:10323:4: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
{
// InternalReportDSL.g:10323:4: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
// InternalReportDSL.g:10324:5: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) )
{
// InternalReportDSL.g:10324:5: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// InternalReportDSL.g:10325:6: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// InternalReportDSL.g:10345:6: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// InternalReportDSL.g:10346:7: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// InternalReportDSL.g:10346:7: ()
// InternalReportDSL.g:10347:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(),
current);
}
}
// InternalReportDSL.g:10353:7: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) )
int alt149=2;
int LA149_0 = input.LA(1);
if ( (LA149_0==167) ) {
alt149=1;
}
else if ( (LA149_0==168) ) {
alt149=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 149, 0, input);
throw nvae;
}
switch (alt149) {
case 1 :
// InternalReportDSL.g:10354:8: otherlv_2= '.'
{
otherlv_2=(Token)match(input,167,FOLLOW_153); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0());
}
}
break;
case 2 :
// InternalReportDSL.g:10359:8: ( (lv_explicitStatic_3_0= '::' ) )
{
// InternalReportDSL.g:10359:8: ( (lv_explicitStatic_3_0= '::' ) )
// InternalReportDSL.g:10360:9: (lv_explicitStatic_3_0= '::' )
{
// InternalReportDSL.g:10360:9: (lv_explicitStatic_3_0= '::' )
// InternalReportDSL.g:10361:10: lv_explicitStatic_3_0= '::'
{
lv_explicitStatic_3_0=(Token)match(input,168,FOLLOW_153); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
// InternalReportDSL.g:10374:7: ( ( ruleFeatureCallID ) )
// InternalReportDSL.g:10375:8: ( ruleFeatureCallID )
{
// InternalReportDSL.g:10375:8: ( ruleFeatureCallID )
// InternalReportDSL.g:10376:9: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0());
}
pushFollow(FOLLOW_129);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3());
}
pushFollow(FOLLOW_130);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:10399:5: ( (lv_value_6_0= ruleXAssignment ) )
// InternalReportDSL.g:10400:6: (lv_value_6_0= ruleXAssignment )
{
// InternalReportDSL.g:10400:6: (lv_value_6_0= ruleXAssignment )
// InternalReportDSL.g:10401:7: lv_value_6_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_152);
lv_value_6_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
set(
current,
"value",
lv_value_6_0,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:10420:4: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
{
// InternalReportDSL.g:10420:4: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
// InternalReportDSL.g:10421:5: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
{
// InternalReportDSL.g:10421:5: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) )
// InternalReportDSL.g:10422:6: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
{
// InternalReportDSL.g:10442:6: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
// InternalReportDSL.g:10443:7: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
{
// InternalReportDSL.g:10443:7: ()
// InternalReportDSL.g:10444:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(),
current);
}
}
// InternalReportDSL.g:10450:7: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
int alt150=3;
switch ( input.LA(1) ) {
case 167:
{
alt150=1;
}
break;
case 169:
{
alt150=2;
}
break;
case 168:
{
alt150=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 150, 0, input);
throw nvae;
}
switch (alt150) {
case 1 :
// InternalReportDSL.g:10451:8: otherlv_8= '.'
{
otherlv_8=(Token)match(input,167,FOLLOW_154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0());
}
}
break;
case 2 :
// InternalReportDSL.g:10456:8: ( (lv_nullSafe_9_0= '?.' ) )
{
// InternalReportDSL.g:10456:8: ( (lv_nullSafe_9_0= '?.' ) )
// InternalReportDSL.g:10457:9: (lv_nullSafe_9_0= '?.' )
{
// InternalReportDSL.g:10457:9: (lv_nullSafe_9_0= '?.' )
// InternalReportDSL.g:10458:10: lv_nullSafe_9_0= '?.'
{
lv_nullSafe_9_0=(Token)match(input,169,FOLLOW_154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "nullSafe", true, "?.");
}
}
}
}
break;
case 3 :
// InternalReportDSL.g:10471:8: ( (lv_explicitStatic_10_0= '::' ) )
{
// InternalReportDSL.g:10471:8: ( (lv_explicitStatic_10_0= '::' ) )
// InternalReportDSL.g:10472:9: (lv_explicitStatic_10_0= '::' )
{
// InternalReportDSL.g:10472:9: (lv_explicitStatic_10_0= '::' )
// InternalReportDSL.g:10473:10: lv_explicitStatic_10_0= '::'
{
lv_explicitStatic_10_0=(Token)match(input,168,FOLLOW_154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
}
}
// InternalReportDSL.g:10488:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )?
int alt152=2;
int LA152_0 = input.LA(1);
if ( (LA152_0==144) ) {
alt152=1;
}
switch (alt152) {
case 1 :
// InternalReportDSL.g:10489:6: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>'
{
otherlv_11=(Token)match(input,144,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0());
}
// InternalReportDSL.g:10493:6: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:10494:7: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:10494:7: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:10495:8: lv_typeArguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_156);
lv_typeArguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_12_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:10512:6: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )*
loop151:
do {
int alt151=2;
int LA151_0 = input.LA(1);
if ( (LA151_0==134) ) {
alt151=1;
}
switch (alt151) {
case 1 :
// InternalReportDSL.g:10513:7: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
{
otherlv_13=(Token)match(input,134,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0());
}
// InternalReportDSL.g:10517:7: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:10518:8: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:10518:8: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:10519:9: lv_typeArguments_14_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0());
}
pushFollow(FOLLOW_156);
lv_typeArguments_14_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_14_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop151;
}
} while (true);
otherlv_15=(Token)match(input,145,FOLLOW_154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3());
}
}
break;
}
// InternalReportDSL.g:10542:5: ( ( ruleIdOrSuper ) )
// InternalReportDSL.g:10543:6: ( ruleIdOrSuper )
{
// InternalReportDSL.g:10543:6: ( ruleIdOrSuper )
// InternalReportDSL.g:10544:7: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0());
}
pushFollow(FOLLOW_157);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:10558:5: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )?
int alt155=2;
alt155 = dfa155.predict(input);
switch (alt155) {
case 1 :
// InternalReportDSL.g:10559:6: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')'
{
// InternalReportDSL.g:10559:6: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) )
// InternalReportDSL.g:10560:7: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' )
{
// InternalReportDSL.g:10564:7: (lv_explicitOperationCall_17_0= '(' )
// InternalReportDSL.g:10565:8: lv_explicitOperationCall_17_0= '('
{
lv_explicitOperationCall_17_0=(Token)match(input,103,FOLLOW_158); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// InternalReportDSL.g:10577:6: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?
int alt154=3;
alt154 = dfa154.predict(input);
switch (alt154) {
case 1 :
// InternalReportDSL.g:10578:7: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
{
// InternalReportDSL.g:10578:7: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
// InternalReportDSL.g:10579:8: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure )
{
// InternalReportDSL.g:10604:8: (lv_memberCallArguments_18_0= ruleXShortClosure )
// InternalReportDSL.g:10605:9: lv_memberCallArguments_18_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0());
}
pushFollow(FOLLOW_115);
lv_memberCallArguments_18_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_18_0,
"org.eclipse.xtext.xbase.Xbase.XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:10623:7: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
{
// InternalReportDSL.g:10623:7: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
// InternalReportDSL.g:10624:8: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
{
// InternalReportDSL.g:10624:8: ( (lv_memberCallArguments_19_0= ruleXExpression ) )
// InternalReportDSL.g:10625:9: (lv_memberCallArguments_19_0= ruleXExpression )
{
// InternalReportDSL.g:10625:9: (lv_memberCallArguments_19_0= ruleXExpression )
// InternalReportDSL.g:10626:10: lv_memberCallArguments_19_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0());
}
pushFollow(FOLLOW_128);
lv_memberCallArguments_19_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_19_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:10643:8: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
loop153:
do {
int alt153=2;
int LA153_0 = input.LA(1);
if ( (LA153_0==134) ) {
alt153=1;
}
switch (alt153) {
case 1 :
// InternalReportDSL.g:10644:9: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) )
{
otherlv_20=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0());
}
// InternalReportDSL.g:10648:9: ( (lv_memberCallArguments_21_0= ruleXExpression ) )
// InternalReportDSL.g:10649:10: (lv_memberCallArguments_21_0= ruleXExpression )
{
// InternalReportDSL.g:10649:10: (lv_memberCallArguments_21_0= ruleXExpression )
// InternalReportDSL.g:10650:11: lv_memberCallArguments_21_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0());
}
pushFollow(FOLLOW_128);
lv_memberCallArguments_21_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_21_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop153;
}
} while (true);
}
}
break;
}
otherlv_22=(Token)match(input,104,FOLLOW_159); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2());
}
}
break;
}
// InternalReportDSL.g:10675:5: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
int alt156=2;
alt156 = dfa156.predict(input);
switch (alt156) {
case 1 :
// InternalReportDSL.g:10676:6: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure )
{
// InternalReportDSL.g:10682:6: (lv_memberCallArguments_23_0= ruleXClosure )
// InternalReportDSL.g:10683:7: lv_memberCallArguments_23_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0());
}
pushFollow(FOLLOW_152);
lv_memberCallArguments_23_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_23_0,
"org.eclipse.xtext.xbase.Xbase.XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
break;
default :
break loop157;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMemberFeatureCall"
// $ANTLR start "entryRuleXPrimaryExpression"
// InternalReportDSL.g:10706:1: entryRuleXPrimaryExpression returns [EObject current=null] : iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ;
public final EObject entryRuleXPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPrimaryExpression = null;
try {
// InternalReportDSL.g:10706:59: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF )
// InternalReportDSL.g:10707:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXPrimaryExpression=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPrimaryExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPrimaryExpression"
// $ANTLR start "ruleXPrimaryExpression"
// InternalReportDSL.g:10713:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ;
public final EObject ruleXPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject this_XConstructorCall_0 = null;
EObject this_XBlockExpression_1 = null;
EObject this_XSwitchExpression_2 = null;
EObject this_XSynchronizedExpression_3 = null;
EObject this_XFeatureCall_4 = null;
EObject this_XLiteral_5 = null;
EObject this_XIfExpression_6 = null;
EObject this_XForLoopExpression_7 = null;
EObject this_XBasicForLoopExpression_8 = null;
EObject this_XWhileExpression_9 = null;
EObject this_XDoWhileExpression_10 = null;
EObject this_XThrowExpression_11 = null;
EObject this_XReturnExpression_12 = null;
EObject this_XTryCatchFinallyExpression_13 = null;
EObject this_XParenthesizedExpression_14 = null;
enterRule();
try {
// InternalReportDSL.g:10719:2: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) )
// InternalReportDSL.g:10720:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )
{
// InternalReportDSL.g:10720:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )
int alt158=15;
alt158 = dfa158.predict(input);
switch (alt158) {
case 1 :
// InternalReportDSL.g:10721:3: this_XConstructorCall_0= ruleXConstructorCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XConstructorCall_0=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XConstructorCall_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:10730:3: this_XBlockExpression_1= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XBlockExpression_1=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBlockExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalReportDSL.g:10739:3: this_XSwitchExpression_2= ruleXSwitchExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_XSwitchExpression_2=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSwitchExpression_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalReportDSL.g:10748:3: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
{
// InternalReportDSL.g:10748:3: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
// InternalReportDSL.g:10749:4: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_XSynchronizedExpression_3=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSynchronizedExpression_3;
afterParserOrEnumRuleCall();
}
}
}
break;
case 5 :
// InternalReportDSL.g:10766:3: this_XFeatureCall_4= ruleXFeatureCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_XFeatureCall_4=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFeatureCall_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalReportDSL.g:10775:3: this_XLiteral_5= ruleXLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_XLiteral_5=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalReportDSL.g:10784:3: this_XIfExpression_6= ruleXIfExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_XIfExpression_6=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XIfExpression_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// InternalReportDSL.g:10793:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
{
// InternalReportDSL.g:10793:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
// InternalReportDSL.g:10794:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7());
}
pushFollow(FOLLOW_2);
this_XForLoopExpression_7=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XForLoopExpression_7;
afterParserOrEnumRuleCall();
}
}
}
break;
case 9 :
// InternalReportDSL.g:10817:3: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8());
}
pushFollow(FOLLOW_2);
this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBasicForLoopExpression_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// InternalReportDSL.g:10826:3: this_XWhileExpression_9= ruleXWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9());
}
pushFollow(FOLLOW_2);
this_XWhileExpression_9=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XWhileExpression_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// InternalReportDSL.g:10835:3: this_XDoWhileExpression_10= ruleXDoWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10());
}
pushFollow(FOLLOW_2);
this_XDoWhileExpression_10=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XDoWhileExpression_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// InternalReportDSL.g:10844:3: this_XThrowExpression_11= ruleXThrowExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11());
}
pushFollow(FOLLOW_2);
this_XThrowExpression_11=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XThrowExpression_11;
afterParserOrEnumRuleCall();
}
}
break;
case 13 :
// InternalReportDSL.g:10853:3: this_XReturnExpression_12= ruleXReturnExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12());
}
pushFollow(FOLLOW_2);
this_XReturnExpression_12=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XReturnExpression_12;
afterParserOrEnumRuleCall();
}
}
break;
case 14 :
// InternalReportDSL.g:10862:3: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13());
}
pushFollow(FOLLOW_2);
this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTryCatchFinallyExpression_13;
afterParserOrEnumRuleCall();
}
}
break;
case 15 :
// InternalReportDSL.g:10871:3: this_XParenthesizedExpression_14= ruleXParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14());
}
pushFollow(FOLLOW_2);
this_XParenthesizedExpression_14=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XParenthesizedExpression_14;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPrimaryExpression"
// $ANTLR start "entryRuleXLiteral"
// InternalReportDSL.g:10883:1: entryRuleXLiteral returns [EObject current=null] : iv_ruleXLiteral= ruleXLiteral EOF ;
public final EObject entryRuleXLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXLiteral = null;
try {
// InternalReportDSL.g:10883:49: (iv_ruleXLiteral= ruleXLiteral EOF )
// InternalReportDSL.g:10884:2: iv_ruleXLiteral= ruleXLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXLiteral=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXLiteral"
// $ANTLR start "ruleXLiteral"
// InternalReportDSL.g:10890:1: ruleXLiteral returns [EObject current=null] : (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ;
public final EObject ruleXLiteral() throws RecognitionException {
EObject current = null;
EObject this_XCollectionLiteral_0 = null;
EObject this_XClosure_1 = null;
EObject this_XBooleanLiteral_2 = null;
EObject this_XNumberLiteral_3 = null;
EObject this_XNullLiteral_4 = null;
EObject this_XStringLiteral_5 = null;
EObject this_XTypeLiteral_6 = null;
enterRule();
try {
// InternalReportDSL.g:10896:2: ( (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) )
// InternalReportDSL.g:10897:2: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral )
{
// InternalReportDSL.g:10897:2: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral )
int alt159=7;
int LA159_0 = input.LA(1);
if ( (LA159_0==136) ) {
alt159=1;
}
else if ( (LA159_0==137) && (synpred27_InternalReportDSL())) {
alt159=2;
}
else if ( ((LA159_0>=184 && LA159_0<=185)) ) {
alt159=3;
}
else if ( ((LA159_0>=RULE_INT && LA159_0<=RULE_DECIMAL)) ) {
alt159=4;
}
else if ( (LA159_0==186) ) {
alt159=5;
}
else if ( (LA159_0==RULE_STRING) ) {
alt159=6;
}
else if ( (LA159_0==187) ) {
alt159=7;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 159, 0, input);
throw nvae;
}
switch (alt159) {
case 1 :
// InternalReportDSL.g:10898:3: this_XCollectionLiteral_0= ruleXCollectionLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XCollectionLiteral_0=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCollectionLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:10907:3: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
{
// InternalReportDSL.g:10907:3: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
// InternalReportDSL.g:10908:4: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XClosure_1=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XClosure_1;
afterParserOrEnumRuleCall();
}
}
}
break;
case 3 :
// InternalReportDSL.g:10924:3: this_XBooleanLiteral_2= ruleXBooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_XBooleanLiteral_2=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBooleanLiteral_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalReportDSL.g:10933:3: this_XNumberLiteral_3= ruleXNumberLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_XNumberLiteral_3=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNumberLiteral_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// InternalReportDSL.g:10942:3: this_XNullLiteral_4= ruleXNullLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_XNullLiteral_4=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNullLiteral_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalReportDSL.g:10951:3: this_XStringLiteral_5= ruleXStringLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_XStringLiteral_5=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XStringLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalReportDSL.g:10960:3: this_XTypeLiteral_6= ruleXTypeLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_XTypeLiteral_6=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTypeLiteral_6;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXLiteral"
// $ANTLR start "entryRuleXCollectionLiteral"
// InternalReportDSL.g:10972:1: entryRuleXCollectionLiteral returns [EObject current=null] : iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ;
public final EObject entryRuleXCollectionLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCollectionLiteral = null;
try {
// InternalReportDSL.g:10972:59: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF )
// InternalReportDSL.g:10973:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCollectionLiteral=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCollectionLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCollectionLiteral"
// $ANTLR start "ruleXCollectionLiteral"
// InternalReportDSL.g:10979:1: ruleXCollectionLiteral returns [EObject current=null] : (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ;
public final EObject ruleXCollectionLiteral() throws RecognitionException {
EObject current = null;
EObject this_XSetLiteral_0 = null;
EObject this_XListLiteral_1 = null;
enterRule();
try {
// InternalReportDSL.g:10985:2: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) )
// InternalReportDSL.g:10986:2: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
{
// InternalReportDSL.g:10986:2: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
int alt160=2;
int LA160_0 = input.LA(1);
if ( (LA160_0==136) ) {
int LA160_1 = input.LA(2);
if ( (LA160_1==137) ) {
alt160=2;
}
else if ( (LA160_1==14) ) {
alt160=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 160, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 160, 0, input);
throw nvae;
}
switch (alt160) {
case 1 :
// InternalReportDSL.g:10987:3: this_XSetLiteral_0= ruleXSetLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XSetLiteral_0=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSetLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:10996:3: this_XListLiteral_1= ruleXListLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XListLiteral_1=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XListLiteral_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCollectionLiteral"
// $ANTLR start "entryRuleXSetLiteral"
// InternalReportDSL.g:11008:1: entryRuleXSetLiteral returns [EObject current=null] : iv_ruleXSetLiteral= ruleXSetLiteral EOF ;
public final EObject entryRuleXSetLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSetLiteral = null;
try {
// InternalReportDSL.g:11008:52: (iv_ruleXSetLiteral= ruleXSetLiteral EOF )
// InternalReportDSL.g:11009:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXSetLiteral=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSetLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSetLiteral"
// $ANTLR start "ruleXSetLiteral"
// InternalReportDSL.g:11015:1: ruleXSetLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ;
public final EObject ruleXSetLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:11021:2: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) )
// InternalReportDSL.g:11022:2: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
{
// InternalReportDSL.g:11022:2: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
// InternalReportDSL.g:11023:3: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}'
{
// InternalReportDSL.g:11023:3: ()
// InternalReportDSL.g:11024:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,136,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_160); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2());
}
// InternalReportDSL.g:11038:3: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt162=2;
int LA162_0 = input.LA(1);
if ( ((LA162_0>=RULE_STRING && LA162_0<=RULE_DECIMAL)||LA162_0==14||LA162_0==39||LA162_0==103||LA162_0==116||(LA162_0>=127 && LA162_0<=129)||(LA162_0>=136 && LA162_0<=137)||LA162_0==144||LA162_0==160||LA162_0==164||LA162_0==171||LA162_0==173||(LA162_0>=177 && LA162_0<=179)||(LA162_0>=182 && LA162_0<=190)||LA162_0==192) ) {
alt162=1;
}
switch (alt162) {
case 1 :
// InternalReportDSL.g:11039:4: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// InternalReportDSL.g:11039:4: ( (lv_elements_3_0= ruleXExpression ) )
// InternalReportDSL.g:11040:5: (lv_elements_3_0= ruleXExpression )
{
// InternalReportDSL.g:11040:5: (lv_elements_3_0= ruleXExpression )
// InternalReportDSL.g:11041:6: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_161);
lv_elements_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSetLiteralRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:11058:4: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop161:
do {
int alt161=2;
int LA161_0 = input.LA(1);
if ( (LA161_0==134) ) {
alt161=1;
}
switch (alt161) {
case 1 :
// InternalReportDSL.g:11059:5: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0());
}
// InternalReportDSL.g:11063:5: ( (lv_elements_5_0= ruleXExpression ) )
// InternalReportDSL.g:11064:6: (lv_elements_5_0= ruleXExpression )
{
// InternalReportDSL.g:11064:6: (lv_elements_5_0= ruleXExpression )
// InternalReportDSL.g:11065:7: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_161);
lv_elements_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSetLiteralRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop161;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSetLiteral"
// $ANTLR start "entryRuleXListLiteral"
// InternalReportDSL.g:11092:1: entryRuleXListLiteral returns [EObject current=null] : iv_ruleXListLiteral= ruleXListLiteral EOF ;
public final EObject entryRuleXListLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXListLiteral = null;
try {
// InternalReportDSL.g:11092:53: (iv_ruleXListLiteral= ruleXListLiteral EOF )
// InternalReportDSL.g:11093:2: iv_ruleXListLiteral= ruleXListLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXListLiteral=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXListLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXListLiteral"
// $ANTLR start "ruleXListLiteral"
// InternalReportDSL.g:11099:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ;
public final EObject ruleXListLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:11105:2: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) )
// InternalReportDSL.g:11106:2: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
{
// InternalReportDSL.g:11106:2: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
// InternalReportDSL.g:11107:3: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']'
{
// InternalReportDSL.g:11107:3: ()
// InternalReportDSL.g:11108:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,136,FOLLOW_131); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,137,FOLLOW_132); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2());
}
// InternalReportDSL.g:11122:3: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt164=2;
int LA164_0 = input.LA(1);
if ( ((LA164_0>=RULE_STRING && LA164_0<=RULE_DECIMAL)||LA164_0==14||LA164_0==39||LA164_0==103||LA164_0==116||(LA164_0>=127 && LA164_0<=129)||(LA164_0>=136 && LA164_0<=137)||LA164_0==144||LA164_0==160||LA164_0==164||LA164_0==171||LA164_0==173||(LA164_0>=177 && LA164_0<=179)||(LA164_0>=182 && LA164_0<=190)||LA164_0==192) ) {
alt164=1;
}
switch (alt164) {
case 1 :
// InternalReportDSL.g:11123:4: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// InternalReportDSL.g:11123:4: ( (lv_elements_3_0= ruleXExpression ) )
// InternalReportDSL.g:11124:5: (lv_elements_3_0= ruleXExpression )
{
// InternalReportDSL.g:11124:5: (lv_elements_3_0= ruleXExpression )
// InternalReportDSL.g:11125:6: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_133);
lv_elements_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXListLiteralRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:11142:4: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop163:
do {
int alt163=2;
int LA163_0 = input.LA(1);
if ( (LA163_0==134) ) {
alt163=1;
}
switch (alt163) {
case 1 :
// InternalReportDSL.g:11143:5: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0());
}
// InternalReportDSL.g:11147:5: ( (lv_elements_5_0= ruleXExpression ) )
// InternalReportDSL.g:11148:6: (lv_elements_5_0= ruleXExpression )
{
// InternalReportDSL.g:11148:6: (lv_elements_5_0= ruleXExpression )
// InternalReportDSL.g:11149:7: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_133);
lv_elements_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXListLiteralRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop163;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,138,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXListLiteral"
// $ANTLR start "entryRuleXClosure"
// InternalReportDSL.g:11176:1: entryRuleXClosure returns [EObject current=null] : iv_ruleXClosure= ruleXClosure EOF ;
public final EObject entryRuleXClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXClosure = null;
try {
// InternalReportDSL.g:11176:49: (iv_ruleXClosure= ruleXClosure EOF )
// InternalReportDSL.g:11177:2: iv_ruleXClosure= ruleXClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureRule());
}
pushFollow(FOLLOW_1);
iv_ruleXClosure=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXClosure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXClosure"
// $ANTLR start "ruleXClosure"
// InternalReportDSL.g:11183:1: ruleXClosure returns [EObject current=null] : ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ;
public final EObject ruleXClosure() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token lv_explicitSyntax_5_0=null;
Token otherlv_7=null;
EObject lv_declaredFormalParameters_2_0 = null;
EObject lv_declaredFormalParameters_4_0 = null;
EObject lv_expression_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:11189:2: ( ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) )
// InternalReportDSL.g:11190:2: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' )
{
// InternalReportDSL.g:11190:2: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' )
// InternalReportDSL.g:11191:3: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']'
{
// InternalReportDSL.g:11191:3: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) )
// InternalReportDSL.g:11192:4: ( ( () '[' ) )=> ( () otherlv_1= '[' )
{
// InternalReportDSL.g:11198:4: ( () otherlv_1= '[' )
// InternalReportDSL.g:11199:5: () otherlv_1= '['
{
// InternalReportDSL.g:11199:5: ()
// InternalReportDSL.g:11200:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,137,FOLLOW_162); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1());
}
}
}
// InternalReportDSL.g:11212:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?
int alt167=2;
alt167 = dfa167.predict(input);
switch (alt167) {
case 1 :
// InternalReportDSL.g:11213:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
{
// InternalReportDSL.g:11236:4: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) )
// InternalReportDSL.g:11237:5: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) )
{
// InternalReportDSL.g:11237:5: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )?
int alt166=2;
int LA166_0 = input.LA(1);
if ( (LA166_0==RULE_ID||LA166_0==103||LA166_0==157) ) {
alt166=1;
}
switch (alt166) {
case 1 :
// InternalReportDSL.g:11238:6: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
{
// InternalReportDSL.g:11238:6: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:11239:7: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:11239:7: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter )
// InternalReportDSL.g:11240:8: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0());
}
pushFollow(FOLLOW_163);
lv_declaredFormalParameters_2_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_2_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:11257:6: (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )*
loop165:
do {
int alt165=2;
int LA165_0 = input.LA(1);
if ( (LA165_0==134) ) {
alt165=1;
}
switch (alt165) {
case 1 :
// InternalReportDSL.g:11258:7: otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
{
otherlv_3=(Token)match(input,134,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0());
}
// InternalReportDSL.g:11262:7: ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:11263:8: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:11263:8: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter )
// InternalReportDSL.g:11264:9: lv_declaredFormalParameters_4_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0());
}
pushFollow(FOLLOW_163);
lv_declaredFormalParameters_4_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_4_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop165;
}
} while (true);
}
break;
}
// InternalReportDSL.g:11283:5: ( (lv_explicitSyntax_5_0= '|' ) )
// InternalReportDSL.g:11284:6: (lv_explicitSyntax_5_0= '|' )
{
// InternalReportDSL.g:11284:6: (lv_explicitSyntax_5_0= '|' )
// InternalReportDSL.g:11285:7: lv_explicitSyntax_5_0= '|'
{
lv_explicitSyntax_5_0=(Token)match(input,170,FOLLOW_164); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitSyntax_5_0, grammarAccess.getXClosureAccess().getExplicitSyntaxVerticalLineKeyword_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXClosureRule());
}
setWithLastConsumed(current, "explicitSyntax", true, "|");
}
}
}
}
}
break;
}
// InternalReportDSL.g:11299:3: ( (lv_expression_6_0= ruleXExpressionInClosure ) )
// InternalReportDSL.g:11300:4: (lv_expression_6_0= ruleXExpressionInClosure )
{
// InternalReportDSL.g:11300:4: (lv_expression_6_0= ruleXExpressionInClosure )
// InternalReportDSL.g:11301:5: lv_expression_6_0= ruleXExpressionInClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureAccess().getExpressionXExpressionInClosureParserRuleCall_2_0());
}
pushFollow(FOLLOW_165);
lv_expression_6_0=ruleXExpressionInClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXClosureRule());
}
set(
current,
"expression",
lv_expression_6_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionInClosure");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,138,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXClosureAccess().getRightSquareBracketKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXClosure"
// $ANTLR start "entryRuleXExpressionInClosure"
// InternalReportDSL.g:11326:1: entryRuleXExpressionInClosure returns [EObject current=null] : iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF ;
public final EObject entryRuleXExpressionInClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionInClosure = null;
try {
// InternalReportDSL.g:11326:61: (iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF )
// InternalReportDSL.g:11327:2: iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureRule());
}
pushFollow(FOLLOW_1);
iv_ruleXExpressionInClosure=ruleXExpressionInClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionInClosure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionInClosure"
// $ANTLR start "ruleXExpressionInClosure"
// InternalReportDSL.g:11333:1: ruleXExpressionInClosure returns [EObject current=null] : ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) ;
public final EObject ruleXExpressionInClosure() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject lv_expressions_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:11339:2: ( ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) )
// InternalReportDSL.g:11340:2: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* )
{
// InternalReportDSL.g:11340:2: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* )
// InternalReportDSL.g:11341:3: () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )*
{
// InternalReportDSL.g:11341:3: ()
// InternalReportDSL.g:11342:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXExpressionInClosureAccess().getXBlockExpressionAction_0(),
current);
}
}
// InternalReportDSL.g:11348:3: ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )*
loop169:
do {
int alt169=2;
int LA169_0 = input.LA(1);
if ( ((LA169_0>=RULE_STRING && LA169_0<=RULE_DECIMAL)||LA169_0==14||LA169_0==39||LA169_0==103||LA169_0==116||(LA169_0>=127 && LA169_0<=129)||(LA169_0>=136 && LA169_0<=137)||LA169_0==144||LA169_0==160||LA169_0==164||LA169_0==171||LA169_0==173||(LA169_0>=177 && LA169_0<=190)||LA169_0==192) ) {
alt169=1;
}
switch (alt169) {
case 1 :
// InternalReportDSL.g:11349:4: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )?
{
// InternalReportDSL.g:11349:4: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) )
// InternalReportDSL.g:11350:5: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
{
// InternalReportDSL.g:11350:5: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration )
// InternalReportDSL.g:11351:6: lv_expressions_1_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionInClosureAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0());
}
pushFollow(FOLLOW_166);
lv_expressions_1_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXExpressionInClosureRule());
}
add(
current,
"expressions",
lv_expressions_1_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:11368:4: (otherlv_2= ';' )?
int alt168=2;
int LA168_0 = input.LA(1);
if ( (LA168_0==132) ) {
alt168=1;
}
switch (alt168) {
case 1 :
// InternalReportDSL.g:11369:5: otherlv_2= ';'
{
otherlv_2=(Token)match(input,132,FOLLOW_167); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1());
}
}
break;
}
}
break;
default :
break loop169;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionInClosure"
// $ANTLR start "entryRuleXShortClosure"
// InternalReportDSL.g:11379:1: entryRuleXShortClosure returns [EObject current=null] : iv_ruleXShortClosure= ruleXShortClosure EOF ;
public final EObject entryRuleXShortClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXShortClosure = null;
try {
// InternalReportDSL.g:11379:54: (iv_ruleXShortClosure= ruleXShortClosure EOF )
// InternalReportDSL.g:11380:2: iv_ruleXShortClosure= ruleXShortClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureRule());
}
pushFollow(FOLLOW_1);
iv_ruleXShortClosure=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXShortClosure;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXShortClosure"
// $ANTLR start "ruleXShortClosure"
// InternalReportDSL.g:11386:1: ruleXShortClosure returns [EObject current=null] : ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXShortClosure() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_explicitSyntax_4_0=null;
EObject lv_declaredFormalParameters_1_0 = null;
EObject lv_declaredFormalParameters_3_0 = null;
EObject lv_expression_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:11392:2: ( ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:11393:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:11393:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )
// InternalReportDSL.g:11394:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) )
{
// InternalReportDSL.g:11394:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) )
// InternalReportDSL.g:11395:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
{
// InternalReportDSL.g:11420:4: ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )
// InternalReportDSL.g:11421:5: () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) )
{
// InternalReportDSL.g:11421:5: ()
// InternalReportDSL.g:11422:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0(),
current);
}
}
// InternalReportDSL.g:11428:5: ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )?
int alt171=2;
int LA171_0 = input.LA(1);
if ( (LA171_0==RULE_ID||LA171_0==103||LA171_0==157) ) {
alt171=1;
}
switch (alt171) {
case 1 :
// InternalReportDSL.g:11429:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
{
// InternalReportDSL.g:11429:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:11430:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:11430:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )
// InternalReportDSL.g:11431:8: lv_declaredFormalParameters_1_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0());
}
pushFollow(FOLLOW_163);
lv_declaredFormalParameters_1_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXShortClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_1_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:11448:6: (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*
loop170:
do {
int alt170=2;
int LA170_0 = input.LA(1);
if ( (LA170_0==134) ) {
alt170=1;
}
switch (alt170) {
case 1 :
// InternalReportDSL.g:11449:7: otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
{
otherlv_2=(Token)match(input,134,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXShortClosureAccess().getCommaKeyword_0_0_1_1_0());
}
// InternalReportDSL.g:11453:7: ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:11454:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:11454:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )
// InternalReportDSL.g:11455:9: lv_declaredFormalParameters_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0());
}
pushFollow(FOLLOW_163);
lv_declaredFormalParameters_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXShortClosureRule());
}
add(
current,
"declaredFormalParameters",
lv_declaredFormalParameters_3_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop170;
}
} while (true);
}
break;
}
// InternalReportDSL.g:11474:5: ( (lv_explicitSyntax_4_0= '|' ) )
// InternalReportDSL.g:11475:6: (lv_explicitSyntax_4_0= '|' )
{
// InternalReportDSL.g:11475:6: (lv_explicitSyntax_4_0= '|' )
// InternalReportDSL.g:11476:7: lv_explicitSyntax_4_0= '|'
{
lv_explicitSyntax_4_0=(Token)match(input,170,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitSyntax_4_0, grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXShortClosureRule());
}
setWithLastConsumed(current, "explicitSyntax", true, "|");
}
}
}
}
}
// InternalReportDSL.g:11490:3: ( (lv_expression_5_0= ruleXExpression ) )
// InternalReportDSL.g:11491:4: (lv_expression_5_0= ruleXExpression )
{
// InternalReportDSL.g:11491:4: (lv_expression_5_0= ruleXExpression )
// InternalReportDSL.g:11492:5: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_expression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXShortClosureRule());
}
set(
current,
"expression",
lv_expression_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXShortClosure"
// $ANTLR start "entryRuleXParenthesizedExpression"
// InternalReportDSL.g:11513:1: entryRuleXParenthesizedExpression returns [EObject current=null] : iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF ;
public final EObject entryRuleXParenthesizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXParenthesizedExpression = null;
try {
// InternalReportDSL.g:11513:65: (iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF )
// InternalReportDSL.g:11514:2: iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXParenthesizedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXParenthesizedExpression=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXParenthesizedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXParenthesizedExpression"
// $ANTLR start "ruleXParenthesizedExpression"
// InternalReportDSL.g:11520:1: ruleXParenthesizedExpression returns [EObject current=null] : (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) ;
public final EObject ruleXParenthesizedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
EObject this_XExpression_1 = null;
enterRule();
try {
// InternalReportDSL.g:11526:2: ( (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) )
// InternalReportDSL.g:11527:2: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
{
// InternalReportDSL.g:11527:2: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' )
// InternalReportDSL.g:11528:3: otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')'
{
otherlv_0=(Token)match(input,103,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0());
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXParenthesizedExpressionAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_115);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
otherlv_2=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXParenthesizedExpressionAccess().getRightParenthesisKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXParenthesizedExpression"
// $ANTLR start "entryRuleXIfExpression"
// InternalReportDSL.g:11548:1: entryRuleXIfExpression returns [EObject current=null] : iv_ruleXIfExpression= ruleXIfExpression EOF ;
public final EObject entryRuleXIfExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXIfExpression = null;
try {
// InternalReportDSL.g:11548:54: (iv_ruleXIfExpression= ruleXIfExpression EOF )
// InternalReportDSL.g:11549:2: iv_ruleXIfExpression= ruleXIfExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXIfExpression=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXIfExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXIfExpression"
// $ANTLR start "ruleXIfExpression"
// InternalReportDSL.g:11555:1: ruleXIfExpression returns [EObject current=null] : ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) ;
public final EObject ruleXIfExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_if_3_0 = null;
EObject lv_then_5_0 = null;
EObject lv_else_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:11561:2: ( ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) )
// InternalReportDSL.g:11562:2: ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? )
{
// InternalReportDSL.g:11562:2: ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? )
// InternalReportDSL.g:11563:3: () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )?
{
// InternalReportDSL.g:11563:3: ()
// InternalReportDSL.g:11564:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXIfExpressionAccess().getXIfExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,171,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXIfExpressionAccess().getIfKeyword_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXIfExpressionAccess().getLeftParenthesisKeyword_2());
}
// InternalReportDSL.g:11578:3: ( (lv_if_3_0= ruleXExpression ) )
// InternalReportDSL.g:11579:4: (lv_if_3_0= ruleXExpression )
{
// InternalReportDSL.g:11579:4: (lv_if_3_0= ruleXExpression )
// InternalReportDSL.g:11580:5: lv_if_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getIfXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_115);
lv_if_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXIfExpressionRule());
}
set(
current,
"if",
lv_if_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,104,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXIfExpressionAccess().getRightParenthesisKeyword_4());
}
// InternalReportDSL.g:11601:3: ( (lv_then_5_0= ruleXExpression ) )
// InternalReportDSL.g:11602:4: (lv_then_5_0= ruleXExpression )
{
// InternalReportDSL.g:11602:4: (lv_then_5_0= ruleXExpression )
// InternalReportDSL.g:11603:5: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getThenXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_168);
lv_then_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXIfExpressionRule());
}
set(
current,
"then",
lv_then_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:11620:3: ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )?
int alt172=2;
int LA172_0 = input.LA(1);
if ( (LA172_0==172) ) {
int LA172_1 = input.LA(2);
if ( (synpred31_InternalReportDSL()) ) {
alt172=1;
}
}
switch (alt172) {
case 1 :
// InternalReportDSL.g:11621:4: ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) )
{
// InternalReportDSL.g:11621:4: ( ( 'else' )=>otherlv_6= 'else' )
// InternalReportDSL.g:11622:5: ( 'else' )=>otherlv_6= 'else'
{
otherlv_6=(Token)match(input,172,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXIfExpressionAccess().getElseKeyword_6_0());
}
}
// InternalReportDSL.g:11628:4: ( (lv_else_7_0= ruleXExpression ) )
// InternalReportDSL.g:11629:5: (lv_else_7_0= ruleXExpression )
{
// InternalReportDSL.g:11629:5: (lv_else_7_0= ruleXExpression )
// InternalReportDSL.g:11630:6: lv_else_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXIfExpressionAccess().getElseXExpressionParserRuleCall_6_1_0());
}
pushFollow(FOLLOW_2);
lv_else_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXIfExpressionRule());
}
set(
current,
"else",
lv_else_7_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXIfExpression"
// $ANTLR start "entryRuleXSwitchExpression"
// InternalReportDSL.g:11652:1: entryRuleXSwitchExpression returns [EObject current=null] : iv_ruleXSwitchExpression= ruleXSwitchExpression EOF ;
public final EObject entryRuleXSwitchExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSwitchExpression = null;
try {
// InternalReportDSL.g:11652:58: (iv_ruleXSwitchExpression= ruleXSwitchExpression EOF )
// InternalReportDSL.g:11653:2: iv_ruleXSwitchExpression= ruleXSwitchExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXSwitchExpression=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSwitchExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSwitchExpression"
// $ANTLR start "ruleXSwitchExpression"
// InternalReportDSL.g:11659:1: ruleXSwitchExpression returns [EObject current=null] : ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) ;
public final EObject ruleXSwitchExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
EObject lv_declaredParam_3_0 = null;
EObject lv_switch_5_0 = null;
EObject lv_declaredParam_7_0 = null;
EObject lv_switch_9_0 = null;
EObject lv_cases_11_0 = null;
EObject lv_default_14_0 = null;
enterRule();
try {
// InternalReportDSL.g:11665:2: ( ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) )
// InternalReportDSL.g:11666:2: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
{
// InternalReportDSL.g:11666:2: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' )
// InternalReportDSL.g:11667:3: () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}'
{
// InternalReportDSL.g:11667:3: ()
// InternalReportDSL.g:11668:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,173,FOLLOW_169); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1());
}
// InternalReportDSL.g:11678:3: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )
int alt174=2;
alt174 = dfa174.predict(input);
switch (alt174) {
case 1 :
// InternalReportDSL.g:11679:4: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// InternalReportDSL.g:11679:4: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' )
// InternalReportDSL.g:11680:5: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// InternalReportDSL.g:11680:5: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) )
// InternalReportDSL.g:11681:6: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
{
// InternalReportDSL.g:11691:6: (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
// InternalReportDSL.g:11692:7: otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':'
{
otherlv_2=(Token)match(input,103,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_0_0_0_0());
}
// InternalReportDSL.g:11696:7: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:11697:8: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:11697:8: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// InternalReportDSL.g:11698:9: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_0_0_0_1_0());
}
pushFollow(FOLLOW_170);
lv_declaredParam_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_3_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,174,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_2());
}
}
}
// InternalReportDSL.g:11721:5: ( (lv_switch_5_0= ruleXExpression ) )
// InternalReportDSL.g:11722:6: (lv_switch_5_0= ruleXExpression )
{
// InternalReportDSL.g:11722:6: (lv_switch_5_0= ruleXExpression )
// InternalReportDSL.g:11723:7: lv_switch_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_115);
lv_switch_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"switch",
lv_switch_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,104,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_0_2());
}
}
}
break;
case 2 :
// InternalReportDSL.g:11746:4: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:11746:4: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) )
// InternalReportDSL.g:11747:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) )
{
// InternalReportDSL.g:11747:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?
int alt173=2;
alt173 = dfa173.predict(input);
switch (alt173) {
case 1 :
// InternalReportDSL.g:11748:6: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' )
{
// InternalReportDSL.g:11757:6: ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' )
// InternalReportDSL.g:11758:7: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':'
{
// InternalReportDSL.g:11758:7: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:11759:8: (lv_declaredParam_7_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:11759:8: (lv_declaredParam_7_0= ruleJvmFormalParameter )
// InternalReportDSL.g:11760:9: lv_declaredParam_7_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_1_0_0_0_0());
}
pushFollow(FOLLOW_170);
lv_declaredParam_7_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_7_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_8=(Token)match(input,174,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_1());
}
}
}
break;
}
// InternalReportDSL.g:11783:5: ( (lv_switch_9_0= ruleXExpression ) )
// InternalReportDSL.g:11784:6: (lv_switch_9_0= ruleXExpression )
{
// InternalReportDSL.g:11784:6: (lv_switch_9_0= ruleXExpression )
// InternalReportDSL.g:11785:7: lv_switch_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_5);
lv_switch_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"switch",
lv_switch_9_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
otherlv_10=(Token)match(input,14,FOLLOW_171); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXSwitchExpressionAccess().getLeftCurlyBracketKeyword_3());
}
// InternalReportDSL.g:11808:3: ( (lv_cases_11_0= ruleXCasePart ) )*
loop175:
do {
int alt175=2;
int LA175_0 = input.LA(1);
if ( (LA175_0==RULE_ID||LA175_0==103||LA175_0==134||LA175_0==157||LA175_0==174||LA175_0==176) ) {
alt175=1;
}
switch (alt175) {
case 1 :
// InternalReportDSL.g:11809:4: (lv_cases_11_0= ruleXCasePart )
{
// InternalReportDSL.g:11809:4: (lv_cases_11_0= ruleXCasePart )
// InternalReportDSL.g:11810:5: lv_cases_11_0= ruleXCasePart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getCasesXCasePartParserRuleCall_4_0());
}
pushFollow(FOLLOW_171);
lv_cases_11_0=ruleXCasePart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
add(
current,
"cases",
lv_cases_11_0,
"org.eclipse.xtext.xbase.Xbase.XCasePart");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop175;
}
} while (true);
// InternalReportDSL.g:11827:3: (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )?
int alt176=2;
int LA176_0 = input.LA(1);
if ( (LA176_0==175) ) {
alt176=1;
}
switch (alt176) {
case 1 :
// InternalReportDSL.g:11828:4: otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) )
{
otherlv_12=(Token)match(input,175,FOLLOW_170); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0());
}
otherlv_13=(Token)match(input,174,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1());
}
// InternalReportDSL.g:11836:4: ( (lv_default_14_0= ruleXExpression ) )
// InternalReportDSL.g:11837:5: (lv_default_14_0= ruleXExpression )
{
// InternalReportDSL.g:11837:5: (lv_default_14_0= ruleXExpression )
// InternalReportDSL.g:11838:6: lv_default_14_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDefaultXExpressionParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_15);
lv_default_14_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule());
}
set(
current,
"default",
lv_default_14_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSwitchExpression"
// $ANTLR start "entryRuleXCasePart"
// InternalReportDSL.g:11864:1: entryRuleXCasePart returns [EObject current=null] : iv_ruleXCasePart= ruleXCasePart EOF ;
public final EObject entryRuleXCasePart() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCasePart = null;
try {
// InternalReportDSL.g:11864:50: (iv_ruleXCasePart= ruleXCasePart EOF )
// InternalReportDSL.g:11865:2: iv_ruleXCasePart= ruleXCasePart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCasePart=ruleXCasePart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCasePart;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCasePart"
// $ANTLR start "ruleXCasePart"
// InternalReportDSL.g:11871:1: ruleXCasePart returns [EObject current=null] : ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) ;
public final EObject ruleXCasePart() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token lv_fallThrough_6_0=null;
EObject lv_typeGuard_1_0 = null;
EObject lv_case_3_0 = null;
EObject lv_then_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:11877:2: ( ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) )
// InternalReportDSL.g:11878:2: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) )
{
// InternalReportDSL.g:11878:2: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) )
// InternalReportDSL.g:11879:3: () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) )
{
// InternalReportDSL.g:11879:3: ()
// InternalReportDSL.g:11880:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXCasePartAccess().getXCasePartAction_0(),
current);
}
}
// InternalReportDSL.g:11886:3: ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )?
int alt177=2;
int LA177_0 = input.LA(1);
if ( (LA177_0==RULE_ID||LA177_0==103||LA177_0==157) ) {
alt177=1;
}
switch (alt177) {
case 1 :
// InternalReportDSL.g:11887:4: (lv_typeGuard_1_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:11887:4: (lv_typeGuard_1_0= ruleJvmTypeReference )
// InternalReportDSL.g:11888:5: lv_typeGuard_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getTypeGuardJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_172);
lv_typeGuard_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"typeGuard",
lv_typeGuard_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:11905:3: (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )?
int alt178=2;
int LA178_0 = input.LA(1);
if ( (LA178_0==176) ) {
alt178=1;
}
switch (alt178) {
case 1 :
// InternalReportDSL.g:11906:4: otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) )
{
otherlv_2=(Token)match(input,176,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCasePartAccess().getCaseKeyword_2_0());
}
// InternalReportDSL.g:11910:4: ( (lv_case_3_0= ruleXExpression ) )
// InternalReportDSL.g:11911:5: (lv_case_3_0= ruleXExpression )
{
// InternalReportDSL.g:11911:5: (lv_case_3_0= ruleXExpression )
// InternalReportDSL.g:11912:6: lv_case_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getCaseXExpressionParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_173);
lv_case_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"case",
lv_case_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:11930:3: ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) )
int alt179=2;
int LA179_0 = input.LA(1);
if ( (LA179_0==174) ) {
alt179=1;
}
else if ( (LA179_0==134) ) {
alt179=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 179, 0, input);
throw nvae;
}
switch (alt179) {
case 1 :
// InternalReportDSL.g:11931:4: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:11931:4: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) )
// InternalReportDSL.g:11932:5: otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,174,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXCasePartAccess().getColonKeyword_3_0_0());
}
// InternalReportDSL.g:11936:5: ( (lv_then_5_0= ruleXExpression ) )
// InternalReportDSL.g:11937:6: (lv_then_5_0= ruleXExpression )
{
// InternalReportDSL.g:11937:6: (lv_then_5_0= ruleXExpression )
// InternalReportDSL.g:11938:7: lv_then_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCasePartAccess().getThenXExpressionParserRuleCall_3_0_1_0());
}
pushFollow(FOLLOW_2);
lv_then_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCasePartRule());
}
set(
current,
"then",
lv_then_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:11957:4: ( (lv_fallThrough_6_0= ',' ) )
{
// InternalReportDSL.g:11957:4: ( (lv_fallThrough_6_0= ',' ) )
// InternalReportDSL.g:11958:5: (lv_fallThrough_6_0= ',' )
{
// InternalReportDSL.g:11958:5: (lv_fallThrough_6_0= ',' )
// InternalReportDSL.g:11959:6: lv_fallThrough_6_0= ','
{
lv_fallThrough_6_0=(Token)match(input,134,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fallThrough_6_0, grammarAccess.getXCasePartAccess().getFallThroughCommaKeyword_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXCasePartRule());
}
setWithLastConsumed(current, "fallThrough", true, ",");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCasePart"
// $ANTLR start "entryRuleXForLoopExpression"
// InternalReportDSL.g:11976:1: entryRuleXForLoopExpression returns [EObject current=null] : iv_ruleXForLoopExpression= ruleXForLoopExpression EOF ;
public final EObject entryRuleXForLoopExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXForLoopExpression = null;
try {
// InternalReportDSL.g:11976:59: (iv_ruleXForLoopExpression= ruleXForLoopExpression EOF )
// InternalReportDSL.g:11977:2: iv_ruleXForLoopExpression= ruleXForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXForLoopExpression=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXForLoopExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXForLoopExpression"
// $ANTLR start "ruleXForLoopExpression"
// InternalReportDSL.g:11983:1: ruleXForLoopExpression returns [EObject current=null] : ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) ;
public final EObject ruleXForLoopExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_declaredParam_3_0 = null;
EObject lv_forExpression_5_0 = null;
EObject lv_eachExpression_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:11989:2: ( ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:11990:2: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:11990:2: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) )
// InternalReportDSL.g:11991:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) )
{
// InternalReportDSL.g:11991:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) )
// InternalReportDSL.g:11992:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
{
// InternalReportDSL.g:12005:4: ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' )
// InternalReportDSL.g:12006:5: () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':'
{
// InternalReportDSL.g:12006:5: ()
// InternalReportDSL.g:12007:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXForLoopExpressionAccess().getXForLoopExpressionAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,177,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXForLoopExpressionAccess().getForKeyword_0_0_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXForLoopExpressionAccess().getLeftParenthesisKeyword_0_0_2());
}
// InternalReportDSL.g:12021:5: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) )
// InternalReportDSL.g:12022:6: (lv_declaredParam_3_0= ruleJvmFormalParameter )
{
// InternalReportDSL.g:12022:6: (lv_declaredParam_3_0= ruleJvmFormalParameter )
// InternalReportDSL.g:12023:7: lv_declaredParam_3_0= ruleJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_0_0_3_0());
}
pushFollow(FOLLOW_170);
lv_declaredParam_3_0=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule());
}
set(
current,
"declaredParam",
lv_declaredParam_3_0,
"org.eclipse.xtext.xbase.Xbase.JvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,174,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXForLoopExpressionAccess().getColonKeyword_0_0_4());
}
}
}
// InternalReportDSL.g:12046:3: ( (lv_forExpression_5_0= ruleXExpression ) )
// InternalReportDSL.g:12047:4: (lv_forExpression_5_0= ruleXExpression )
{
// InternalReportDSL.g:12047:4: (lv_forExpression_5_0= ruleXExpression )
// InternalReportDSL.g:12048:5: lv_forExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_115);
lv_forExpression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule());
}
set(
current,
"forExpression",
lv_forExpression_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,104,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXForLoopExpressionAccess().getRightParenthesisKeyword_2());
}
// InternalReportDSL.g:12069:3: ( (lv_eachExpression_7_0= ruleXExpression ) )
// InternalReportDSL.g:12070:4: (lv_eachExpression_7_0= ruleXExpression )
{
// InternalReportDSL.g:12070:4: (lv_eachExpression_7_0= ruleXExpression )
// InternalReportDSL.g:12071:5: lv_eachExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_eachExpression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule());
}
set(
current,
"eachExpression",
lv_eachExpression_7_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXForLoopExpression"
// $ANTLR start "entryRuleXBasicForLoopExpression"
// InternalReportDSL.g:12092:1: entryRuleXBasicForLoopExpression returns [EObject current=null] : iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF ;
public final EObject entryRuleXBasicForLoopExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBasicForLoopExpression = null;
try {
// InternalReportDSL.g:12092:64: (iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF )
// InternalReportDSL.g:12093:2: iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXBasicForLoopExpression=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBasicForLoopExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBasicForLoopExpression"
// $ANTLR start "ruleXBasicForLoopExpression"
// InternalReportDSL.g:12099:1: ruleXBasicForLoopExpression returns [EObject current=null] : ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) ;
public final EObject ruleXBasicForLoopExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_initExpressions_3_0 = null;
EObject lv_initExpressions_5_0 = null;
EObject lv_expression_7_0 = null;
EObject lv_updateExpressions_9_0 = null;
EObject lv_updateExpressions_11_0 = null;
EObject lv_eachExpression_13_0 = null;
enterRule();
try {
// InternalReportDSL.g:12105:2: ( ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:12106:2: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:12106:2: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) )
// InternalReportDSL.g:12107:3: () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) )
{
// InternalReportDSL.g:12107:3: ()
// InternalReportDSL.g:12108:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBasicForLoopExpressionAccess().getXBasicForLoopExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,177,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBasicForLoopExpressionAccess().getForKeyword_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_174); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXBasicForLoopExpressionAccess().getLeftParenthesisKeyword_2());
}
// InternalReportDSL.g:12122:3: ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )?
int alt181=2;
int LA181_0 = input.LA(1);
if ( ((LA181_0>=RULE_STRING && LA181_0<=RULE_DECIMAL)||LA181_0==14||LA181_0==39||LA181_0==103||LA181_0==116||(LA181_0>=127 && LA181_0<=129)||(LA181_0>=136 && LA181_0<=137)||LA181_0==144||LA181_0==160||LA181_0==164||LA181_0==171||LA181_0==173||(LA181_0>=177 && LA181_0<=190)||LA181_0==192) ) {
alt181=1;
}
switch (alt181) {
case 1 :
// InternalReportDSL.g:12123:4: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )*
{
// InternalReportDSL.g:12123:4: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) )
// InternalReportDSL.g:12124:5: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration )
{
// InternalReportDSL.g:12124:5: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration )
// InternalReportDSL.g:12125:6: lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_175);
lv_initExpressions_3_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"initExpressions",
lv_initExpressions_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12142:4: (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )*
loop180:
do {
int alt180=2;
int LA180_0 = input.LA(1);
if ( (LA180_0==134) ) {
alt180=1;
}
switch (alt180) {
case 1 :
// InternalReportDSL.g:12143:5: otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) )
{
otherlv_4=(Token)match(input,134,FOLLOW_176); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_3_1_0());
}
// InternalReportDSL.g:12147:5: ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) )
// InternalReportDSL.g:12148:6: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration )
{
// InternalReportDSL.g:12148:6: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration )
// InternalReportDSL.g:12149:7: lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_175);
lv_initExpressions_5_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"initExpressions",
lv_initExpressions_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop180;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,132,FOLLOW_177); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_4());
}
// InternalReportDSL.g:12172:3: ( (lv_expression_7_0= ruleXExpression ) )?
int alt182=2;
int LA182_0 = input.LA(1);
if ( ((LA182_0>=RULE_STRING && LA182_0<=RULE_DECIMAL)||LA182_0==14||LA182_0==39||LA182_0==103||LA182_0==116||(LA182_0>=127 && LA182_0<=129)||(LA182_0>=136 && LA182_0<=137)||LA182_0==144||LA182_0==160||LA182_0==164||LA182_0==171||LA182_0==173||(LA182_0>=177 && LA182_0<=179)||(LA182_0>=182 && LA182_0<=190)||LA182_0==192) ) {
alt182=1;
}
switch (alt182) {
case 1 :
// InternalReportDSL.g:12173:4: (lv_expression_7_0= ruleXExpression )
{
// InternalReportDSL.g:12173:4: (lv_expression_7_0= ruleXExpression )
// InternalReportDSL.g:12174:5: lv_expression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_178);
lv_expression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
set(
current,
"expression",
lv_expression_7_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
otherlv_8=(Token)match(input,132,FOLLOW_127); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_6());
}
// InternalReportDSL.g:12195:3: ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )?
int alt184=2;
int LA184_0 = input.LA(1);
if ( ((LA184_0>=RULE_STRING && LA184_0<=RULE_DECIMAL)||LA184_0==14||LA184_0==39||LA184_0==103||LA184_0==116||(LA184_0>=127 && LA184_0<=129)||(LA184_0>=136 && LA184_0<=137)||LA184_0==144||LA184_0==160||LA184_0==164||LA184_0==171||LA184_0==173||(LA184_0>=177 && LA184_0<=179)||(LA184_0>=182 && LA184_0<=190)||LA184_0==192) ) {
alt184=1;
}
switch (alt184) {
case 1 :
// InternalReportDSL.g:12196:4: ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )*
{
// InternalReportDSL.g:12196:4: ( (lv_updateExpressions_9_0= ruleXExpression ) )
// InternalReportDSL.g:12197:5: (lv_updateExpressions_9_0= ruleXExpression )
{
// InternalReportDSL.g:12197:5: (lv_updateExpressions_9_0= ruleXExpression )
// InternalReportDSL.g:12198:6: lv_updateExpressions_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_0_0());
}
pushFollow(FOLLOW_128);
lv_updateExpressions_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"updateExpressions",
lv_updateExpressions_9_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12215:4: (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )*
loop183:
do {
int alt183=2;
int LA183_0 = input.LA(1);
if ( (LA183_0==134) ) {
alt183=1;
}
switch (alt183) {
case 1 :
// InternalReportDSL.g:12216:5: otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) )
{
otherlv_10=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_7_1_0());
}
// InternalReportDSL.g:12220:5: ( (lv_updateExpressions_11_0= ruleXExpression ) )
// InternalReportDSL.g:12221:6: (lv_updateExpressions_11_0= ruleXExpression )
{
// InternalReportDSL.g:12221:6: (lv_updateExpressions_11_0= ruleXExpression )
// InternalReportDSL.g:12222:7: lv_updateExpressions_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_1_1_0());
}
pushFollow(FOLLOW_128);
lv_updateExpressions_11_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
add(
current,
"updateExpressions",
lv_updateExpressions_11_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop183;
}
} while (true);
}
break;
}
otherlv_12=(Token)match(input,104,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXBasicForLoopExpressionAccess().getRightParenthesisKeyword_8());
}
// InternalReportDSL.g:12245:3: ( (lv_eachExpression_13_0= ruleXExpression ) )
// InternalReportDSL.g:12246:4: (lv_eachExpression_13_0= ruleXExpression )
{
// InternalReportDSL.g:12246:4: (lv_eachExpression_13_0= ruleXExpression )
// InternalReportDSL.g:12247:5: lv_eachExpression_13_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_9_0());
}
pushFollow(FOLLOW_2);
lv_eachExpression_13_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule());
}
set(
current,
"eachExpression",
lv_eachExpression_13_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBasicForLoopExpression"
// $ANTLR start "entryRuleXWhileExpression"
// InternalReportDSL.g:12268:1: entryRuleXWhileExpression returns [EObject current=null] : iv_ruleXWhileExpression= ruleXWhileExpression EOF ;
public final EObject entryRuleXWhileExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXWhileExpression = null;
try {
// InternalReportDSL.g:12268:57: (iv_ruleXWhileExpression= ruleXWhileExpression EOF )
// InternalReportDSL.g:12269:2: iv_ruleXWhileExpression= ruleXWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXWhileExpression=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXWhileExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXWhileExpression"
// $ANTLR start "ruleXWhileExpression"
// InternalReportDSL.g:12275:1: ruleXWhileExpression returns [EObject current=null] : ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXWhileExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_predicate_3_0 = null;
EObject lv_body_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:12281:2: ( ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:12282:2: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:12282:2: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) )
// InternalReportDSL.g:12283:3: () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) )
{
// InternalReportDSL.g:12283:3: ()
// InternalReportDSL.g:12284:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXWhileExpressionAccess().getXWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,178,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXWhileExpressionAccess().getWhileKeyword_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXWhileExpressionAccess().getLeftParenthesisKeyword_2());
}
// InternalReportDSL.g:12298:3: ( (lv_predicate_3_0= ruleXExpression ) )
// InternalReportDSL.g:12299:4: (lv_predicate_3_0= ruleXExpression )
{
// InternalReportDSL.g:12299:4: (lv_predicate_3_0= ruleXExpression )
// InternalReportDSL.g:12300:5: lv_predicate_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_115);
lv_predicate_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXWhileExpressionRule());
}
set(
current,
"predicate",
lv_predicate_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,104,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXWhileExpressionAccess().getRightParenthesisKeyword_4());
}
// InternalReportDSL.g:12321:3: ( (lv_body_5_0= ruleXExpression ) )
// InternalReportDSL.g:12322:4: (lv_body_5_0= ruleXExpression )
{
// InternalReportDSL.g:12322:4: (lv_body_5_0= ruleXExpression )
// InternalReportDSL.g:12323:5: lv_body_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_2);
lv_body_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXWhileExpressionRule());
}
set(
current,
"body",
lv_body_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXWhileExpression"
// $ANTLR start "entryRuleXDoWhileExpression"
// InternalReportDSL.g:12344:1: entryRuleXDoWhileExpression returns [EObject current=null] : iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF ;
public final EObject entryRuleXDoWhileExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXDoWhileExpression = null;
try {
// InternalReportDSL.g:12344:59: (iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF )
// InternalReportDSL.g:12345:2: iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXDoWhileExpression=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXDoWhileExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXDoWhileExpression"
// $ANTLR start "ruleXDoWhileExpression"
// InternalReportDSL.g:12351:1: ruleXDoWhileExpression returns [EObject current=null] : ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) ;
public final EObject ruleXDoWhileExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_body_2_0 = null;
EObject lv_predicate_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:12357:2: ( ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) )
// InternalReportDSL.g:12358:2: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
{
// InternalReportDSL.g:12358:2: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' )
// InternalReportDSL.g:12359:3: () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')'
{
// InternalReportDSL.g:12359:3: ()
// InternalReportDSL.g:12360:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXDoWhileExpressionAccess().getXDoWhileExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,179,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXDoWhileExpressionAccess().getDoKeyword_1());
}
// InternalReportDSL.g:12370:3: ( (lv_body_2_0= ruleXExpression ) )
// InternalReportDSL.g:12371:4: (lv_body_2_0= ruleXExpression )
{
// InternalReportDSL.g:12371:4: (lv_body_2_0= ruleXExpression )
// InternalReportDSL.g:12372:5: lv_body_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_179);
lv_body_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule());
}
set(
current,
"body",
lv_body_2_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,178,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXDoWhileExpressionAccess().getWhileKeyword_3());
}
otherlv_4=(Token)match(input,103,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXDoWhileExpressionAccess().getLeftParenthesisKeyword_4());
}
// InternalReportDSL.g:12397:3: ( (lv_predicate_5_0= ruleXExpression ) )
// InternalReportDSL.g:12398:4: (lv_predicate_5_0= ruleXExpression )
{
// InternalReportDSL.g:12398:4: (lv_predicate_5_0= ruleXExpression )
// InternalReportDSL.g:12399:5: lv_predicate_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0());
}
pushFollow(FOLLOW_115);
lv_predicate_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule());
}
set(
current,
"predicate",
lv_predicate_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_6=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXDoWhileExpressionAccess().getRightParenthesisKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXDoWhileExpression"
// $ANTLR start "entryRuleXBlockExpression"
// InternalReportDSL.g:12424:1: entryRuleXBlockExpression returns [EObject current=null] : iv_ruleXBlockExpression= ruleXBlockExpression EOF ;
public final EObject entryRuleXBlockExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBlockExpression = null;
try {
// InternalReportDSL.g:12424:57: (iv_ruleXBlockExpression= ruleXBlockExpression EOF )
// InternalReportDSL.g:12425:2: iv_ruleXBlockExpression= ruleXBlockExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXBlockExpression=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBlockExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBlockExpression"
// $ANTLR start "ruleXBlockExpression"
// InternalReportDSL.g:12431:1: ruleXBlockExpression returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) ;
public final EObject ruleXBlockExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
EObject lv_expressions_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:12437:2: ( ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) )
// InternalReportDSL.g:12438:2: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
{
// InternalReportDSL.g:12438:2: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' )
// InternalReportDSL.g:12439:3: () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}'
{
// InternalReportDSL.g:12439:3: ()
// InternalReportDSL.g:12440:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBlockExpressionAccess().getXBlockExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,14,FOLLOW_180); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBlockExpressionAccess().getLeftCurlyBracketKeyword_1());
}
// InternalReportDSL.g:12450:3: ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )*
loop186:
do {
int alt186=2;
int LA186_0 = input.LA(1);
if ( ((LA186_0>=RULE_STRING && LA186_0<=RULE_DECIMAL)||LA186_0==14||LA186_0==39||LA186_0==103||LA186_0==116||(LA186_0>=127 && LA186_0<=129)||(LA186_0>=136 && LA186_0<=137)||LA186_0==144||LA186_0==160||LA186_0==164||LA186_0==171||LA186_0==173||(LA186_0>=177 && LA186_0<=190)||LA186_0==192) ) {
alt186=1;
}
switch (alt186) {
case 1 :
// InternalReportDSL.g:12451:4: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )?
{
// InternalReportDSL.g:12451:4: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) )
// InternalReportDSL.g:12452:5: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration )
{
// InternalReportDSL.g:12452:5: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration )
// InternalReportDSL.g:12453:6: lv_expressions_2_0= ruleXExpressionOrVarDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBlockExpressionAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_181);
lv_expressions_2_0=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXBlockExpressionRule());
}
add(
current,
"expressions",
lv_expressions_2_0,
"org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12470:4: (otherlv_3= ';' )?
int alt185=2;
int LA185_0 = input.LA(1);
if ( (LA185_0==132) ) {
alt185=1;
}
switch (alt185) {
case 1 :
// InternalReportDSL.g:12471:5: otherlv_3= ';'
{
otherlv_3=(Token)match(input,132,FOLLOW_180); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1());
}
}
break;
}
}
break;
default :
break loop186;
}
} while (true);
otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXBlockExpressionAccess().getRightCurlyBracketKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBlockExpression"
// $ANTLR start "entryRuleXExpressionOrVarDeclaration"
// InternalReportDSL.g:12485:1: entryRuleXExpressionOrVarDeclaration returns [EObject current=null] : iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF ;
public final EObject entryRuleXExpressionOrVarDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpressionOrVarDeclaration = null;
try {
// InternalReportDSL.g:12485:68: (iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF )
// InternalReportDSL.g:12486:2: iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXExpressionOrVarDeclaration=ruleXExpressionOrVarDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpressionOrVarDeclaration;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpressionOrVarDeclaration"
// $ANTLR start "ruleXExpressionOrVarDeclaration"
// InternalReportDSL.g:12492:1: ruleXExpressionOrVarDeclaration returns [EObject current=null] : (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXExpressionOrVarDeclaration() throws RecognitionException {
EObject current = null;
EObject this_XVariableDeclaration_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// InternalReportDSL.g:12498:2: ( (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) )
// InternalReportDSL.g:12499:2: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
{
// InternalReportDSL.g:12499:2: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression )
int alt187=2;
int LA187_0 = input.LA(1);
if ( ((LA187_0>=180 && LA187_0<=181)) ) {
alt187=1;
}
else if ( ((LA187_0>=RULE_STRING && LA187_0<=RULE_DECIMAL)||LA187_0==14||LA187_0==39||LA187_0==103||LA187_0==116||(LA187_0>=127 && LA187_0<=129)||(LA187_0>=136 && LA187_0<=137)||LA187_0==144||LA187_0==160||LA187_0==164||LA187_0==171||LA187_0==173||(LA187_0>=177 && LA187_0<=179)||(LA187_0>=182 && LA187_0<=190)||LA187_0==192) ) {
alt187=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 187, 0, input);
throw nvae;
}
switch (alt187) {
case 1 :
// InternalReportDSL.g:12500:3: this_XVariableDeclaration_0= ruleXVariableDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_XVariableDeclaration_0=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XVariableDeclaration_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:12509:3: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpressionOrVarDeclaration"
// $ANTLR start "entryRuleXVariableDeclaration"
// InternalReportDSL.g:12521:1: entryRuleXVariableDeclaration returns [EObject current=null] : iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF ;
public final EObject entryRuleXVariableDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXVariableDeclaration = null;
try {
// InternalReportDSL.g:12521:61: (iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF )
// InternalReportDSL.g:12522:2: iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationRule());
}
pushFollow(FOLLOW_1);
iv_ruleXVariableDeclaration=ruleXVariableDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXVariableDeclaration;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXVariableDeclaration"
// $ANTLR start "ruleXVariableDeclaration"
// InternalReportDSL.g:12528:1: ruleXVariableDeclaration returns [EObject current=null] : ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) ;
public final EObject ruleXVariableDeclaration() throws RecognitionException {
EObject current = null;
Token lv_writeable_1_0=null;
Token otherlv_2=null;
Token otherlv_6=null;
EObject lv_type_3_0 = null;
AntlrDatatypeRuleToken lv_name_4_0 = null;
AntlrDatatypeRuleToken lv_name_5_0 = null;
EObject lv_right_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:12534:2: ( ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) )
// InternalReportDSL.g:12535:2: ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? )
{
// InternalReportDSL.g:12535:2: ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? )
// InternalReportDSL.g:12536:3: () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )?
{
// InternalReportDSL.g:12536:3: ()
// InternalReportDSL.g:12537:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXVariableDeclarationAccess().getXVariableDeclarationAction_0(),
current);
}
}
// InternalReportDSL.g:12543:3: ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' )
int alt188=2;
int LA188_0 = input.LA(1);
if ( (LA188_0==180) ) {
alt188=1;
}
else if ( (LA188_0==181) ) {
alt188=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 188, 0, input);
throw nvae;
}
switch (alt188) {
case 1 :
// InternalReportDSL.g:12544:4: ( (lv_writeable_1_0= 'var' ) )
{
// InternalReportDSL.g:12544:4: ( (lv_writeable_1_0= 'var' ) )
// InternalReportDSL.g:12545:5: (lv_writeable_1_0= 'var' )
{
// InternalReportDSL.g:12545:5: (lv_writeable_1_0= 'var' )
// InternalReportDSL.g:12546:6: lv_writeable_1_0= 'var'
{
lv_writeable_1_0=(Token)match(input,180,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_writeable_1_0, grammarAccess.getXVariableDeclarationAccess().getWriteableVarKeyword_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXVariableDeclarationRule());
}
setWithLastConsumed(current, "writeable", true, "var");
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:12559:4: otherlv_2= 'val'
{
otherlv_2=(Token)match(input,181,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1());
}
}
break;
}
// InternalReportDSL.g:12564:3: ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) )
int alt189=2;
int LA189_0 = input.LA(1);
if ( (LA189_0==RULE_ID) ) {
int LA189_1 = input.LA(2);
if ( (synpred35_InternalReportDSL()) ) {
alt189=1;
}
else if ( (true) ) {
alt189=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 189, 1, input);
throw nvae;
}
}
else if ( (LA189_0==103) && (synpred35_InternalReportDSL())) {
alt189=1;
}
else if ( (LA189_0==157) && (synpred35_InternalReportDSL())) {
alt189=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 189, 0, input);
throw nvae;
}
switch (alt189) {
case 1 :
// InternalReportDSL.g:12565:4: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
{
// InternalReportDSL.g:12565:4: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) )
// InternalReportDSL.g:12566:5: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
{
// InternalReportDSL.g:12579:5: ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) )
// InternalReportDSL.g:12580:6: ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) )
{
// InternalReportDSL.g:12580:6: ( (lv_type_3_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:12581:7: (lv_type_3_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:12581:7: (lv_type_3_0= ruleJvmTypeReference )
// InternalReportDSL.g:12582:8: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getTypeJvmTypeReferenceParserRuleCall_2_0_0_0_0());
}
pushFollow(FOLLOW_4);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"type",
lv_type_3_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12599:6: ( (lv_name_4_0= ruleValidID ) )
// InternalReportDSL.g:12600:7: (lv_name_4_0= ruleValidID )
{
// InternalReportDSL.g:12600:7: (lv_name_4_0= ruleValidID )
// InternalReportDSL.g:12601:8: lv_name_4_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_0_0_1_0());
}
pushFollow(FOLLOW_182);
lv_name_4_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"name",
lv_name_4_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:12621:4: ( (lv_name_5_0= ruleValidID ) )
{
// InternalReportDSL.g:12621:4: ( (lv_name_5_0= ruleValidID ) )
// InternalReportDSL.g:12622:5: (lv_name_5_0= ruleValidID )
{
// InternalReportDSL.g:12622:5: (lv_name_5_0= ruleValidID )
// InternalReportDSL.g:12623:6: lv_name_5_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_1_0());
}
pushFollow(FOLLOW_182);
lv_name_5_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"name",
lv_name_5_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalReportDSL.g:12641:3: (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )?
int alt190=2;
int LA190_0 = input.LA(1);
if ( (LA190_0==135) ) {
alt190=1;
}
switch (alt190) {
case 1 :
// InternalReportDSL.g:12642:4: otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,135,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXVariableDeclarationAccess().getEqualsSignKeyword_3_0());
}
// InternalReportDSL.g:12646:4: ( (lv_right_7_0= ruleXExpression ) )
// InternalReportDSL.g:12647:5: (lv_right_7_0= ruleXExpression )
{
// InternalReportDSL.g:12647:5: (lv_right_7_0= ruleXExpression )
// InternalReportDSL.g:12648:6: lv_right_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getRightXExpressionParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_2);
lv_right_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule());
}
set(
current,
"right",
lv_right_7_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXVariableDeclaration"
// $ANTLR start "entryRuleJvmFormalParameter"
// InternalReportDSL.g:12670:1: entryRuleJvmFormalParameter returns [EObject current=null] : iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF ;
public final EObject entryRuleJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmFormalParameter = null;
try {
// InternalReportDSL.g:12670:59: (iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF )
// InternalReportDSL.g:12671:2: iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmFormalParameter=ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmFormalParameter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmFormalParameter"
// $ANTLR start "ruleJvmFormalParameter"
// InternalReportDSL.g:12677:1: ruleJvmFormalParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) ;
public final EObject ruleJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject lv_parameterType_0_0 = null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:12683:2: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) )
// InternalReportDSL.g:12684:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
{
// InternalReportDSL.g:12684:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) )
// InternalReportDSL.g:12685:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) )
{
// InternalReportDSL.g:12685:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )?
int alt191=2;
int LA191_0 = input.LA(1);
if ( (LA191_0==RULE_ID) ) {
int LA191_1 = input.LA(2);
if ( (LA191_1==RULE_ID||LA191_1==137||LA191_1==144||LA191_1==167) ) {
alt191=1;
}
}
else if ( (LA191_0==103||LA191_0==157) ) {
alt191=1;
}
switch (alt191) {
case 1 :
// InternalReportDSL.g:12686:4: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:12686:4: (lv_parameterType_0_0= ruleJvmTypeReference )
// InternalReportDSL.g:12687:5: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_4);
lv_parameterType_0_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule());
}
set(
current,
"parameterType",
lv_parameterType_0_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalReportDSL.g:12704:3: ( (lv_name_1_0= ruleValidID ) )
// InternalReportDSL.g:12705:4: (lv_name_1_0= ruleValidID )
{
// InternalReportDSL.g:12705:4: (lv_name_1_0= ruleValidID )
// InternalReportDSL.g:12706:5: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_name_1_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmFormalParameter"
// $ANTLR start "entryRuleFullJvmFormalParameter"
// InternalReportDSL.g:12727:1: entryRuleFullJvmFormalParameter returns [EObject current=null] : iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF ;
public final EObject entryRuleFullJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleFullJvmFormalParameter = null;
try {
// InternalReportDSL.g:12727:63: (iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF )
// InternalReportDSL.g:12728:2: iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterRule());
}
pushFollow(FOLLOW_1);
iv_ruleFullJvmFormalParameter=ruleFullJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFullJvmFormalParameter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFullJvmFormalParameter"
// $ANTLR start "ruleFullJvmFormalParameter"
// InternalReportDSL.g:12734:1: ruleFullJvmFormalParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) ;
public final EObject ruleFullJvmFormalParameter() throws RecognitionException {
EObject current = null;
EObject lv_parameterType_0_0 = null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:12740:2: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) )
// InternalReportDSL.g:12741:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
{
// InternalReportDSL.g:12741:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) )
// InternalReportDSL.g:12742:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) )
{
// InternalReportDSL.g:12742:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:12743:4: (lv_parameterType_0_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:12743:4: (lv_parameterType_0_0= ruleJvmTypeReference )
// InternalReportDSL.g:12744:5: lv_parameterType_0_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_4);
lv_parameterType_0_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule());
}
set(
current,
"parameterType",
lv_parameterType_0_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12761:3: ( (lv_name_1_0= ruleValidID ) )
// InternalReportDSL.g:12762:4: (lv_name_1_0= ruleValidID )
{
// InternalReportDSL.g:12762:4: (lv_name_1_0= ruleValidID )
// InternalReportDSL.g:12763:5: lv_name_1_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_name_1_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule());
}
set(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFullJvmFormalParameter"
// $ANTLR start "entryRuleXFeatureCall"
// InternalReportDSL.g:12784:1: entryRuleXFeatureCall returns [EObject current=null] : iv_ruleXFeatureCall= ruleXFeatureCall EOF ;
public final EObject entryRuleXFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXFeatureCall = null;
try {
// InternalReportDSL.g:12784:53: (iv_ruleXFeatureCall= ruleXFeatureCall EOF )
// InternalReportDSL.g:12785:2: iv_ruleXFeatureCall= ruleXFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleXFeatureCall=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFeatureCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFeatureCall"
// $ANTLR start "ruleXFeatureCall"
// InternalReportDSL.g:12791:1: ruleXFeatureCall returns [EObject current=null] : ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) ;
public final EObject ruleXFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token lv_explicitOperationCall_7_0=null;
Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_typeArguments_2_0 = null;
EObject lv_typeArguments_4_0 = null;
EObject lv_featureCallArguments_8_0 = null;
EObject lv_featureCallArguments_9_0 = null;
EObject lv_featureCallArguments_11_0 = null;
EObject lv_featureCallArguments_13_0 = null;
enterRule();
try {
// InternalReportDSL.g:12797:2: ( ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) )
// InternalReportDSL.g:12798:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )
{
// InternalReportDSL.g:12798:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )
// InternalReportDSL.g:12799:3: () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?
{
// InternalReportDSL.g:12799:3: ()
// InternalReportDSL.g:12800:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXFeatureCallAccess().getXFeatureCallAction_0(),
current);
}
}
// InternalReportDSL.g:12806:3: (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?
int alt193=2;
int LA193_0 = input.LA(1);
if ( (LA193_0==144) ) {
alt193=1;
}
switch (alt193) {
case 1 :
// InternalReportDSL.g:12807:4: otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>'
{
otherlv_1=(Token)match(input,144,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXFeatureCallAccess().getLessThanSignKeyword_1_0());
}
// InternalReportDSL.g:12811:4: ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:12812:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:12812:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:12813:6: lv_typeArguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_156);
lv_typeArguments_2_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_2_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12830:4: (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop192:
do {
int alt192=2;
int LA192_0 = input.LA(1);
if ( (LA192_0==134) ) {
alt192=1;
}
switch (alt192) {
case 1 :
// InternalReportDSL.g:12831:5: otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,134,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXFeatureCallAccess().getCommaKeyword_1_2_0());
}
// InternalReportDSL.g:12835:5: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:12836:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:12836:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:12837:7: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_156);
lv_typeArguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_4_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop192;
}
} while (true);
otherlv_5=(Token)match(input,145,FOLLOW_154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFeatureCallAccess().getGreaterThanSignKeyword_1_3());
}
}
break;
}
// InternalReportDSL.g:12860:3: ( ( ruleIdOrSuper ) )
// InternalReportDSL.g:12861:4: ( ruleIdOrSuper )
{
// InternalReportDSL.g:12861:4: ( ruleIdOrSuper )
// InternalReportDSL.g:12862:5: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0());
}
pushFollow(FOLLOW_183);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12876:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?
int alt196=2;
alt196 = dfa196.predict(input);
switch (alt196) {
case 1 :
// InternalReportDSL.g:12877:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')'
{
// InternalReportDSL.g:12877:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) )
// InternalReportDSL.g:12878:5: ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' )
{
// InternalReportDSL.g:12882:5: (lv_explicitOperationCall_7_0= '(' )
// InternalReportDSL.g:12883:6: lv_explicitOperationCall_7_0= '('
{
lv_explicitOperationCall_7_0=(Token)match(input,103,FOLLOW_158); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_7_0, grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// InternalReportDSL.g:12895:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?
int alt195=3;
alt195 = dfa195.predict(input);
switch (alt195) {
case 1 :
// InternalReportDSL.g:12896:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )
{
// InternalReportDSL.g:12896:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )
// InternalReportDSL.g:12897:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure )
{
// InternalReportDSL.g:12922:6: (lv_featureCallArguments_8_0= ruleXShortClosure )
// InternalReportDSL.g:12923:7: lv_featureCallArguments_8_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0());
}
pushFollow(FOLLOW_115);
lv_featureCallArguments_8_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_8_0,
"org.eclipse.xtext.xbase.Xbase.XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:12941:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )
{
// InternalReportDSL.g:12941:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )
// InternalReportDSL.g:12942:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*
{
// InternalReportDSL.g:12942:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) )
// InternalReportDSL.g:12943:7: (lv_featureCallArguments_9_0= ruleXExpression )
{
// InternalReportDSL.g:12943:7: (lv_featureCallArguments_9_0= ruleXExpression )
// InternalReportDSL.g:12944:8: lv_featureCallArguments_9_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0());
}
pushFollow(FOLLOW_128);
lv_featureCallArguments_9_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_9_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:12961:6: (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*
loop194:
do {
int alt194=2;
int LA194_0 = input.LA(1);
if ( (LA194_0==134) ) {
alt194=1;
}
switch (alt194) {
case 1 :
// InternalReportDSL.g:12962:7: otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) )
{
otherlv_10=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getXFeatureCallAccess().getCommaKeyword_3_1_1_1_0());
}
// InternalReportDSL.g:12966:7: ( (lv_featureCallArguments_11_0= ruleXExpression ) )
// InternalReportDSL.g:12967:8: (lv_featureCallArguments_11_0= ruleXExpression )
{
// InternalReportDSL.g:12967:8: (lv_featureCallArguments_11_0= ruleXExpression )
// InternalReportDSL.g:12968:9: lv_featureCallArguments_11_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0());
}
pushFollow(FOLLOW_128);
lv_featureCallArguments_11_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_11_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop194;
}
} while (true);
}
}
break;
}
otherlv_12=(Token)match(input,104,FOLLOW_184); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getXFeatureCallAccess().getRightParenthesisKeyword_3_2());
}
}
break;
}
// InternalReportDSL.g:12993:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?
int alt197=2;
alt197 = dfa197.predict(input);
switch (alt197) {
case 1 :
// InternalReportDSL.g:12994:4: ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure )
{
// InternalReportDSL.g:13000:4: (lv_featureCallArguments_13_0= ruleXClosure )
// InternalReportDSL.g:13001:5: lv_featureCallArguments_13_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0());
}
pushFollow(FOLLOW_2);
lv_featureCallArguments_13_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFeatureCallRule());
}
add(
current,
"featureCallArguments",
lv_featureCallArguments_13_0,
"org.eclipse.xtext.xbase.Xbase.XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFeatureCall"
// $ANTLR start "entryRuleFeatureCallID"
// InternalReportDSL.g:13022:1: entryRuleFeatureCallID returns [String current=null] : iv_ruleFeatureCallID= ruleFeatureCallID EOF ;
public final String entryRuleFeatureCallID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleFeatureCallID = null;
try {
// InternalReportDSL.g:13022:53: (iv_ruleFeatureCallID= ruleFeatureCallID EOF )
// InternalReportDSL.g:13023:2: iv_ruleFeatureCallID= ruleFeatureCallID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFeatureCallIDRule());
}
pushFollow(FOLLOW_1);
iv_ruleFeatureCallID=ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFeatureCallID.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFeatureCallID"
// $ANTLR start "ruleFeatureCallID"
// InternalReportDSL.g:13029:1: ruleFeatureCallID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) ;
public final AntlrDatatypeRuleToken ruleFeatureCallID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// InternalReportDSL.g:13035:2: ( (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) )
// InternalReportDSL.g:13036:2: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' )
{
// InternalReportDSL.g:13036:2: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' )
int alt198=5;
switch ( input.LA(1) ) {
case RULE_ID:
{
alt198=1;
}
break;
case 39:
{
alt198=2;
}
break;
case 128:
{
alt198=3;
}
break;
case 127:
{
alt198=4;
}
break;
case 129:
{
alt198=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 198, 0, input);
throw nvae;
}
switch (alt198) {
case 1 :
// InternalReportDSL.g:13037:3: this_ValidID_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:13048:3: kw= 'extends'
{
kw=(Token)match(input,39,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1());
}
}
break;
case 3 :
// InternalReportDSL.g:13054:3: kw= 'static'
{
kw=(Token)match(input,128,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2());
}
}
break;
case 4 :
// InternalReportDSL.g:13060:3: kw= 'import'
{
kw=(Token)match(input,127,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getImportKeyword_3());
}
}
break;
case 5 :
// InternalReportDSL.g:13066:3: kw= 'extension'
{
kw=(Token)match(input,129,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFeatureCallID"
// $ANTLR start "entryRuleIdOrSuper"
// InternalReportDSL.g:13075:1: entryRuleIdOrSuper returns [String current=null] : iv_ruleIdOrSuper= ruleIdOrSuper EOF ;
public final String entryRuleIdOrSuper() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleIdOrSuper = null;
try {
// InternalReportDSL.g:13075:49: (iv_ruleIdOrSuper= ruleIdOrSuper EOF )
// InternalReportDSL.g:13076:2: iv_ruleIdOrSuper= ruleIdOrSuper EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperRule());
}
pushFollow(FOLLOW_1);
iv_ruleIdOrSuper=ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIdOrSuper.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIdOrSuper"
// $ANTLR start "ruleIdOrSuper"
// InternalReportDSL.g:13082:1: ruleIdOrSuper returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) ;
public final AntlrDatatypeRuleToken ruleIdOrSuper() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_FeatureCallID_0 = null;
enterRule();
try {
// InternalReportDSL.g:13088:2: ( (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) )
// InternalReportDSL.g:13089:2: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' )
{
// InternalReportDSL.g:13089:2: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' )
int alt199=2;
int LA199_0 = input.LA(1);
if ( (LA199_0==RULE_ID||LA199_0==39||(LA199_0>=127 && LA199_0<=129)) ) {
alt199=1;
}
else if ( (LA199_0==182) ) {
alt199=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 199, 0, input);
throw nvae;
}
switch (alt199) {
case 1 :
// InternalReportDSL.g:13090:3: this_FeatureCallID_0= ruleFeatureCallID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_FeatureCallID_0=ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_FeatureCallID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:13101:3: kw= 'super'
{
kw=(Token)match(input,182,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getIdOrSuperAccess().getSuperKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleIdOrSuper"
// $ANTLR start "entryRuleXConstructorCall"
// InternalReportDSL.g:13110:1: entryRuleXConstructorCall returns [EObject current=null] : iv_ruleXConstructorCall= ruleXConstructorCall EOF ;
public final EObject entryRuleXConstructorCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXConstructorCall = null;
try {
// InternalReportDSL.g:13110:57: (iv_ruleXConstructorCall= ruleXConstructorCall EOF )
// InternalReportDSL.g:13111:2: iv_ruleXConstructorCall= ruleXConstructorCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleXConstructorCall=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXConstructorCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXConstructorCall"
// $ANTLR start "ruleXConstructorCall"
// InternalReportDSL.g:13117:1: ruleXConstructorCall returns [EObject current=null] : ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) ;
public final EObject ruleXConstructorCall() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token lv_explicitConstructorCall_8_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_typeArguments_4_0 = null;
EObject lv_typeArguments_6_0 = null;
EObject lv_arguments_9_0 = null;
EObject lv_arguments_10_0 = null;
EObject lv_arguments_12_0 = null;
EObject lv_arguments_14_0 = null;
enterRule();
try {
// InternalReportDSL.g:13123:2: ( ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) )
// InternalReportDSL.g:13124:2: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? )
{
// InternalReportDSL.g:13124:2: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? )
// InternalReportDSL.g:13125:3: () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
{
// InternalReportDSL.g:13125:3: ()
// InternalReportDSL.g:13126:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXConstructorCallAccess().getXConstructorCallAction_0(),
current);
}
}
otherlv_1=(Token)match(input,183,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXConstructorCallAccess().getNewKeyword_1());
}
// InternalReportDSL.g:13136:3: ( ( ruleQualifiedName ) )
// InternalReportDSL.g:13137:4: ( ruleQualifiedName )
{
// InternalReportDSL.g:13137:4: ( ruleQualifiedName )
// InternalReportDSL.g:13138:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXConstructorCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getConstructorJvmConstructorCrossReference_2_0());
}
pushFollow(FOLLOW_185);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:13152:3: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?
int alt201=2;
alt201 = dfa201.predict(input);
switch (alt201) {
case 1 :
// InternalReportDSL.g:13153:4: ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>'
{
// InternalReportDSL.g:13153:4: ( ( '<' )=>otherlv_3= '<' )
// InternalReportDSL.g:13154:5: ( '<' )=>otherlv_3= '<'
{
otherlv_3=(Token)match(input,144,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXConstructorCallAccess().getLessThanSignKeyword_3_0());
}
}
// InternalReportDSL.g:13160:4: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:13161:5: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:13161:5: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:13162:6: lv_typeArguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_156);
lv_typeArguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_4_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:13179:4: (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )*
loop200:
do {
int alt200=2;
int LA200_0 = input.LA(1);
if ( (LA200_0==134) ) {
alt200=1;
}
switch (alt200) {
case 1 :
// InternalReportDSL.g:13180:5: otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
{
otherlv_5=(Token)match(input,134,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXConstructorCallAccess().getCommaKeyword_3_2_0());
}
// InternalReportDSL.g:13184:5: ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:13185:6: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:13185:6: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:13186:7: lv_typeArguments_6_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_2_1_0());
}
pushFollow(FOLLOW_156);
lv_typeArguments_6_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_6_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop200;
}
} while (true);
otherlv_7=(Token)match(input,145,FOLLOW_183); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getXConstructorCallAccess().getGreaterThanSignKeyword_3_3());
}
}
break;
}
// InternalReportDSL.g:13209:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?
int alt204=2;
alt204 = dfa204.predict(input);
switch (alt204) {
case 1 :
// InternalReportDSL.g:13210:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')'
{
// InternalReportDSL.g:13210:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) )
// InternalReportDSL.g:13211:5: ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' )
{
// InternalReportDSL.g:13215:5: (lv_explicitConstructorCall_8_0= '(' )
// InternalReportDSL.g:13216:6: lv_explicitConstructorCall_8_0= '('
{
lv_explicitConstructorCall_8_0=(Token)match(input,103,FOLLOW_158); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitConstructorCall_8_0, grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallLeftParenthesisKeyword_4_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXConstructorCallRule());
}
setWithLastConsumed(current, "explicitConstructorCall", true, "(");
}
}
}
// InternalReportDSL.g:13228:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?
int alt203=3;
alt203 = dfa203.predict(input);
switch (alt203) {
case 1 :
// InternalReportDSL.g:13229:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
{
// InternalReportDSL.g:13229:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) )
// InternalReportDSL.g:13230:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure )
{
// InternalReportDSL.g:13255:6: (lv_arguments_9_0= ruleXShortClosure )
// InternalReportDSL.g:13256:7: lv_arguments_9_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0());
}
pushFollow(FOLLOW_115);
lv_arguments_9_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_9_0,
"org.eclipse.xtext.xbase.Xbase.XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalReportDSL.g:13274:5: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
{
// InternalReportDSL.g:13274:5: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* )
// InternalReportDSL.g:13275:6: ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
{
// InternalReportDSL.g:13275:6: ( (lv_arguments_10_0= ruleXExpression ) )
// InternalReportDSL.g:13276:7: (lv_arguments_10_0= ruleXExpression )
{
// InternalReportDSL.g:13276:7: (lv_arguments_10_0= ruleXExpression )
// InternalReportDSL.g:13277:8: lv_arguments_10_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_0_0());
}
pushFollow(FOLLOW_128);
lv_arguments_10_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_10_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:13294:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )*
loop202:
do {
int alt202=2;
int LA202_0 = input.LA(1);
if ( (LA202_0==134) ) {
alt202=1;
}
switch (alt202) {
case 1 :
// InternalReportDSL.g:13295:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) )
{
otherlv_11=(Token)match(input,134,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXConstructorCallAccess().getCommaKeyword_4_1_1_1_0());
}
// InternalReportDSL.g:13299:7: ( (lv_arguments_12_0= ruleXExpression ) )
// InternalReportDSL.g:13300:8: (lv_arguments_12_0= ruleXExpression )
{
// InternalReportDSL.g:13300:8: (lv_arguments_12_0= ruleXExpression )
// InternalReportDSL.g:13301:9: lv_arguments_12_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_1_1_0());
}
pushFollow(FOLLOW_128);
lv_arguments_12_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_12_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop202;
}
} while (true);
}
}
break;
}
otherlv_13=(Token)match(input,104,FOLLOW_184); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXConstructorCallAccess().getRightParenthesisKeyword_4_2());
}
}
break;
}
// InternalReportDSL.g:13326:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?
int alt205=2;
alt205 = dfa205.predict(input);
switch (alt205) {
case 1 :
// InternalReportDSL.g:13327:4: ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure )
{
// InternalReportDSL.g:13333:4: (lv_arguments_14_0= ruleXClosure )
// InternalReportDSL.g:13334:5: lv_arguments_14_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXClosureParserRuleCall_5_0());
}
pushFollow(FOLLOW_2);
lv_arguments_14_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXConstructorCallRule());
}
add(
current,
"arguments",
lv_arguments_14_0,
"org.eclipse.xtext.xbase.Xbase.XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXConstructorCall"
// $ANTLR start "entryRuleXBooleanLiteral"
// InternalReportDSL.g:13355:1: entryRuleXBooleanLiteral returns [EObject current=null] : iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF ;
public final EObject entryRuleXBooleanLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXBooleanLiteral = null;
try {
// InternalReportDSL.g:13355:56: (iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF )
// InternalReportDSL.g:13356:2: iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXBooleanLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXBooleanLiteral=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXBooleanLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXBooleanLiteral"
// $ANTLR start "ruleXBooleanLiteral"
// InternalReportDSL.g:13362:1: ruleXBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleXBooleanLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_isTrue_2_0=null;
enterRule();
try {
// InternalReportDSL.g:13368:2: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
// InternalReportDSL.g:13369:2: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
// InternalReportDSL.g:13369:2: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
// InternalReportDSL.g:13370:3: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
// InternalReportDSL.g:13370:3: ()
// InternalReportDSL.g:13371:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXBooleanLiteralAccess().getXBooleanLiteralAction_0(),
current);
}
}
// InternalReportDSL.g:13377:3: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
int alt206=2;
int LA206_0 = input.LA(1);
if ( (LA206_0==184) ) {
alt206=1;
}
else if ( (LA206_0==185) ) {
alt206=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 206, 0, input);
throw nvae;
}
switch (alt206) {
case 1 :
// InternalReportDSL.g:13378:4: otherlv_1= 'false'
{
otherlv_1=(Token)match(input,184,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0());
}
}
break;
case 2 :
// InternalReportDSL.g:13383:4: ( (lv_isTrue_2_0= 'true' ) )
{
// InternalReportDSL.g:13383:4: ( (lv_isTrue_2_0= 'true' ) )
// InternalReportDSL.g:13384:5: (lv_isTrue_2_0= 'true' )
{
// InternalReportDSL.g:13384:5: (lv_isTrue_2_0= 'true' )
// InternalReportDSL.g:13385:6: lv_isTrue_2_0= 'true'
{
lv_isTrue_2_0=(Token)match(input,185,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_isTrue_2_0, grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXBooleanLiteralRule());
}
setWithLastConsumed(current, "isTrue", true, "true");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXBooleanLiteral"
// $ANTLR start "entryRuleXNullLiteral"
// InternalReportDSL.g:13402:1: entryRuleXNullLiteral returns [EObject current=null] : iv_ruleXNullLiteral= ruleXNullLiteral EOF ;
public final EObject entryRuleXNullLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXNullLiteral = null;
try {
// InternalReportDSL.g:13402:53: (iv_ruleXNullLiteral= ruleXNullLiteral EOF )
// InternalReportDSL.g:13403:2: iv_ruleXNullLiteral= ruleXNullLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNullLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXNullLiteral=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNullLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNullLiteral"
// $ANTLR start "ruleXNullLiteral"
// InternalReportDSL.g:13409:1: ruleXNullLiteral returns [EObject current=null] : ( () otherlv_1= 'null' ) ;
public final EObject ruleXNullLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// InternalReportDSL.g:13415:2: ( ( () otherlv_1= 'null' ) )
// InternalReportDSL.g:13416:2: ( () otherlv_1= 'null' )
{
// InternalReportDSL.g:13416:2: ( () otherlv_1= 'null' )
// InternalReportDSL.g:13417:3: () otherlv_1= 'null'
{
// InternalReportDSL.g:13417:3: ()
// InternalReportDSL.g:13418:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNullLiteralAccess().getXNullLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,186,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXNullLiteralAccess().getNullKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXNullLiteral"
// $ANTLR start "entryRuleXNumberLiteral"
// InternalReportDSL.g:13432:1: entryRuleXNumberLiteral returns [EObject current=null] : iv_ruleXNumberLiteral= ruleXNumberLiteral EOF ;
public final EObject entryRuleXNumberLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXNumberLiteral = null;
try {
// InternalReportDSL.g:13432:55: (iv_ruleXNumberLiteral= ruleXNumberLiteral EOF )
// InternalReportDSL.g:13433:2: iv_ruleXNumberLiteral= ruleXNumberLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXNumberLiteral=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXNumberLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXNumberLiteral"
// $ANTLR start "ruleXNumberLiteral"
// InternalReportDSL.g:13439:1: ruleXNumberLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleNumber ) ) ) ;
public final EObject ruleXNumberLiteral() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_value_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:13445:2: ( ( () ( (lv_value_1_0= ruleNumber ) ) ) )
// InternalReportDSL.g:13446:2: ( () ( (lv_value_1_0= ruleNumber ) ) )
{
// InternalReportDSL.g:13446:2: ( () ( (lv_value_1_0= ruleNumber ) ) )
// InternalReportDSL.g:13447:3: () ( (lv_value_1_0= ruleNumber ) )
{
// InternalReportDSL.g:13447:3: ()
// InternalReportDSL.g:13448:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXNumberLiteralAccess().getXNumberLiteralAction_0(),
current);
}
}
// InternalReportDSL.g:13454:3: ( (lv_value_1_0= ruleNumber ) )
// InternalReportDSL.g:13455:4: (lv_value_1_0= ruleNumber )
{
// InternalReportDSL.g:13455:4: (lv_value_1_0= ruleNumber )
// InternalReportDSL.g:13456:5: lv_value_1_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_value_1_0=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXNumberLiteralRule());
}
set(
current,
"value",
lv_value_1_0,
"org.eclipse.xtext.xbase.Xbase.Number");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXNumberLiteral"
// $ANTLR start "entryRuleXStringLiteral"
// InternalReportDSL.g:13477:1: entryRuleXStringLiteral returns [EObject current=null] : iv_ruleXStringLiteral= ruleXStringLiteral EOF ;
public final EObject entryRuleXStringLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXStringLiteral = null;
try {
// InternalReportDSL.g:13477:55: (iv_ruleXStringLiteral= ruleXStringLiteral EOF )
// InternalReportDSL.g:13478:2: iv_ruleXStringLiteral= ruleXStringLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXStringLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXStringLiteral=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXStringLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXStringLiteral"
// $ANTLR start "ruleXStringLiteral"
// InternalReportDSL.g:13484:1: ruleXStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleXStringLiteral() throws RecognitionException {
EObject current = null;
Token lv_value_1_0=null;
enterRule();
try {
// InternalReportDSL.g:13490:2: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
// InternalReportDSL.g:13491:2: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
// InternalReportDSL.g:13491:2: ( () ( (lv_value_1_0= RULE_STRING ) ) )
// InternalReportDSL.g:13492:3: () ( (lv_value_1_0= RULE_STRING ) )
{
// InternalReportDSL.g:13492:3: ()
// InternalReportDSL.g:13493:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXStringLiteralAccess().getXStringLiteralAction_0(),
current);
}
}
// InternalReportDSL.g:13499:3: ( (lv_value_1_0= RULE_STRING ) )
// InternalReportDSL.g:13500:4: (lv_value_1_0= RULE_STRING )
{
// InternalReportDSL.g:13500:4: (lv_value_1_0= RULE_STRING )
// InternalReportDSL.g:13501:5: lv_value_1_0= RULE_STRING
{
lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_value_1_0, grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXStringLiteralRule());
}
setWithLastConsumed(
current,
"value",
lv_value_1_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXStringLiteral"
// $ANTLR start "entryRuleXTypeLiteral"
// InternalReportDSL.g:13521:1: entryRuleXTypeLiteral returns [EObject current=null] : iv_ruleXTypeLiteral= ruleXTypeLiteral EOF ;
public final EObject entryRuleXTypeLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTypeLiteral = null;
try {
// InternalReportDSL.g:13521:53: (iv_ruleXTypeLiteral= ruleXTypeLiteral EOF )
// InternalReportDSL.g:13522:2: iv_ruleXTypeLiteral= ruleXTypeLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleXTypeLiteral=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTypeLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTypeLiteral"
// $ANTLR start "ruleXTypeLiteral"
// InternalReportDSL.g:13528:1: ruleXTypeLiteral returns [EObject current=null] : ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) ;
public final EObject ruleXTypeLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_5=null;
AntlrDatatypeRuleToken lv_arrayDimensions_4_0 = null;
enterRule();
try {
// InternalReportDSL.g:13534:2: ( ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) )
// InternalReportDSL.g:13535:2: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' )
{
// InternalReportDSL.g:13535:2: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' )
// InternalReportDSL.g:13536:3: () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')'
{
// InternalReportDSL.g:13536:3: ()
// InternalReportDSL.g:13537:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTypeLiteralAccess().getXTypeLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,187,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTypeLiteralAccess().getTypeofKeyword_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXTypeLiteralAccess().getLeftParenthesisKeyword_2());
}
// InternalReportDSL.g:13551:3: ( ( ruleQualifiedName ) )
// InternalReportDSL.g:13552:4: ( ruleQualifiedName )
{
// InternalReportDSL.g:13552:4: ( ruleQualifiedName )
// InternalReportDSL.g:13553:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXTypeLiteralRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralAccess().getTypeJvmTypeCrossReference_3_0());
}
pushFollow(FOLLOW_186);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:13567:3: ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )*
loop207:
do {
int alt207=2;
int LA207_0 = input.LA(1);
if ( (LA207_0==137) ) {
alt207=1;
}
switch (alt207) {
case 1 :
// InternalReportDSL.g:13568:4: (lv_arrayDimensions_4_0= ruleArrayBrackets )
{
// InternalReportDSL.g:13568:4: (lv_arrayDimensions_4_0= ruleArrayBrackets )
// InternalReportDSL.g:13569:5: lv_arrayDimensions_4_0= ruleArrayBrackets
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsArrayBracketsParserRuleCall_4_0());
}
pushFollow(FOLLOW_186);
lv_arrayDimensions_4_0=ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTypeLiteralRule());
}
add(
current,
"arrayDimensions",
lv_arrayDimensions_4_0,
"org.eclipse.xtext.xbase.Xtype.ArrayBrackets");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop207;
}
} while (true);
otherlv_5=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXTypeLiteralAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTypeLiteral"
// $ANTLR start "entryRuleXThrowExpression"
// InternalReportDSL.g:13594:1: entryRuleXThrowExpression returns [EObject current=null] : iv_ruleXThrowExpression= ruleXThrowExpression EOF ;
public final EObject entryRuleXThrowExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXThrowExpression = null;
try {
// InternalReportDSL.g:13594:57: (iv_ruleXThrowExpression= ruleXThrowExpression EOF )
// InternalReportDSL.g:13595:2: iv_ruleXThrowExpression= ruleXThrowExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXThrowExpression=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXThrowExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXThrowExpression"
// $ANTLR start "ruleXThrowExpression"
// InternalReportDSL.g:13601:1: ruleXThrowExpression returns [EObject current=null] : ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) ;
public final EObject ruleXThrowExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_expression_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:13607:2: ( ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:13608:2: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:13608:2: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) )
// InternalReportDSL.g:13609:3: () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) )
{
// InternalReportDSL.g:13609:3: ()
// InternalReportDSL.g:13610:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXThrowExpressionAccess().getXThrowExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,188,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXThrowExpressionAccess().getThrowKeyword_1());
}
// InternalReportDSL.g:13620:3: ( (lv_expression_2_0= ruleXExpression ) )
// InternalReportDSL.g:13621:4: (lv_expression_2_0= ruleXExpression )
{
// InternalReportDSL.g:13621:4: (lv_expression_2_0= ruleXExpression )
// InternalReportDSL.g:13622:5: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
lv_expression_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXThrowExpressionRule());
}
set(
current,
"expression",
lv_expression_2_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXThrowExpression"
// $ANTLR start "entryRuleXReturnExpression"
// InternalReportDSL.g:13643:1: entryRuleXReturnExpression returns [EObject current=null] : iv_ruleXReturnExpression= ruleXReturnExpression EOF ;
public final EObject entryRuleXReturnExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXReturnExpression = null;
try {
// InternalReportDSL.g:13643:58: (iv_ruleXReturnExpression= ruleXReturnExpression EOF )
// InternalReportDSL.g:13644:2: iv_ruleXReturnExpression= ruleXReturnExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXReturnExpression=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXReturnExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXReturnExpression"
// $ANTLR start "ruleXReturnExpression"
// InternalReportDSL.g:13650:1: ruleXReturnExpression returns [EObject current=null] : ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) ;
public final EObject ruleXReturnExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_expression_2_0 = null;
enterRule();
try {
// InternalReportDSL.g:13656:2: ( ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) )
// InternalReportDSL.g:13657:2: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? )
{
// InternalReportDSL.g:13657:2: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? )
// InternalReportDSL.g:13658:3: () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?
{
// InternalReportDSL.g:13658:3: ()
// InternalReportDSL.g:13659:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXReturnExpressionAccess().getXReturnExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,189,FOLLOW_187); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXReturnExpressionAccess().getReturnKeyword_1());
}
// InternalReportDSL.g:13669:3: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?
int alt208=2;
alt208 = dfa208.predict(input);
switch (alt208) {
case 1 :
// InternalReportDSL.g:13670:4: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression )
{
// InternalReportDSL.g:13671:4: (lv_expression_2_0= ruleXExpression )
// InternalReportDSL.g:13672:5: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXReturnExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
lv_expression_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXReturnExpressionRule());
}
set(
current,
"expression",
lv_expression_2_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXReturnExpression"
// $ANTLR start "entryRuleXTryCatchFinallyExpression"
// InternalReportDSL.g:13693:1: entryRuleXTryCatchFinallyExpression returns [EObject current=null] : iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF ;
public final EObject entryRuleXTryCatchFinallyExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXTryCatchFinallyExpression = null;
try {
// InternalReportDSL.g:13693:67: (iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF )
// InternalReportDSL.g:13694:2: iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXTryCatchFinallyExpression=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXTryCatchFinallyExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXTryCatchFinallyExpression"
// $ANTLR start "ruleXTryCatchFinallyExpression"
// InternalReportDSL.g:13700:1: ruleXTryCatchFinallyExpression returns [EObject current=null] : ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) ;
public final EObject ruleXTryCatchFinallyExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_expression_2_0 = null;
EObject lv_catchClauses_3_0 = null;
EObject lv_finallyExpression_5_0 = null;
EObject lv_finallyExpression_7_0 = null;
enterRule();
try {
// InternalReportDSL.g:13706:2: ( ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) )
// InternalReportDSL.g:13707:2: ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) )
{
// InternalReportDSL.g:13707:2: ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) )
// InternalReportDSL.g:13708:3: () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) )
{
// InternalReportDSL.g:13708:3: ()
// InternalReportDSL.g:13709:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXTryCatchFinallyExpressionAccess().getXTryCatchFinallyExpressionAction_0(),
current);
}
}
otherlv_1=(Token)match(input,190,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXTryCatchFinallyExpressionAccess().getTryKeyword_1());
}
// InternalReportDSL.g:13719:3: ( (lv_expression_2_0= ruleXExpression ) )
// InternalReportDSL.g:13720:4: (lv_expression_2_0= ruleXExpression )
{
// InternalReportDSL.g:13720:4: (lv_expression_2_0= ruleXExpression )
// InternalReportDSL.g:13721:5: lv_expression_2_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionXExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_188);
lv_expression_2_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
set(
current,
"expression",
lv_expression_2_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:13738:3: ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) )
int alt211=2;
int LA211_0 = input.LA(1);
if ( (LA211_0==193) ) {
alt211=1;
}
else if ( (LA211_0==191) ) {
alt211=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 211, 0, input);
throw nvae;
}
switch (alt211) {
case 1 :
// InternalReportDSL.g:13739:4: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
{
// InternalReportDSL.g:13739:4: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? )
// InternalReportDSL.g:13740:5: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
{
// InternalReportDSL.g:13740:5: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+
int cnt209=0;
loop209:
do {
int alt209=2;
int LA209_0 = input.LA(1);
if ( (LA209_0==193) ) {
int LA209_2 = input.LA(2);
if ( (synpred44_InternalReportDSL()) ) {
alt209=1;
}
}
switch (alt209) {
case 1 :
// InternalReportDSL.g:13741:6: ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause )
{
// InternalReportDSL.g:13742:6: (lv_catchClauses_3_0= ruleXCatchClause )
// InternalReportDSL.g:13743:7: lv_catchClauses_3_0= ruleXCatchClause
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesXCatchClauseParserRuleCall_3_0_0_0());
}
pushFollow(FOLLOW_189);
lv_catchClauses_3_0=ruleXCatchClause();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
add(
current,
"catchClauses",
lv_catchClauses_3_0,
"org.eclipse.xtext.xbase.Xbase.XCatchClause");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt209 >= 1 ) break loop209;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(209, input);
throw eee;
}
cnt209++;
} while (true);
// InternalReportDSL.g:13760:5: ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )?
int alt210=2;
int LA210_0 = input.LA(1);
if ( (LA210_0==191) ) {
int LA210_1 = input.LA(2);
if ( (synpred45_InternalReportDSL()) ) {
alt210=1;
}
}
switch (alt210) {
case 1 :
// InternalReportDSL.g:13761:6: ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) )
{
// InternalReportDSL.g:13761:6: ( ( 'finally' )=>otherlv_4= 'finally' )
// InternalReportDSL.g:13762:7: ( 'finally' )=>otherlv_4= 'finally'
{
otherlv_4=(Token)match(input,191,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_0_1_0());
}
}
// InternalReportDSL.g:13768:6: ( (lv_finallyExpression_5_0= ruleXExpression ) )
// InternalReportDSL.g:13769:7: (lv_finallyExpression_5_0= ruleXExpression )
{
// InternalReportDSL.g:13769:7: (lv_finallyExpression_5_0= ruleXExpression )
// InternalReportDSL.g:13770:8: lv_finallyExpression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_0_1_1_0());
}
pushFollow(FOLLOW_2);
lv_finallyExpression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
set(
current,
"finallyExpression",
lv_finallyExpression_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// InternalReportDSL.g:13790:4: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:13790:4: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) )
// InternalReportDSL.g:13791:5: otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) )
{
otherlv_6=(Token)match(input,191,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_1_0());
}
// InternalReportDSL.g:13795:5: ( (lv_finallyExpression_7_0= ruleXExpression ) )
// InternalReportDSL.g:13796:6: (lv_finallyExpression_7_0= ruleXExpression )
{
// InternalReportDSL.g:13796:6: (lv_finallyExpression_7_0= ruleXExpression )
// InternalReportDSL.g:13797:7: lv_finallyExpression_7_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_2);
lv_finallyExpression_7_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule());
}
set(
current,
"finallyExpression",
lv_finallyExpression_7_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXTryCatchFinallyExpression"
// $ANTLR start "entryRuleXSynchronizedExpression"
// InternalReportDSL.g:13820:1: entryRuleXSynchronizedExpression returns [EObject current=null] : iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF ;
public final EObject entryRuleXSynchronizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSynchronizedExpression = null;
try {
// InternalReportDSL.g:13820:64: (iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF )
// InternalReportDSL.g:13821:2: iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXSynchronizedExpression=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSynchronizedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSynchronizedExpression"
// $ANTLR start "ruleXSynchronizedExpression"
// InternalReportDSL.g:13827:1: ruleXSynchronizedExpression returns [EObject current=null] : ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) ;
public final EObject ruleXSynchronizedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_param_3_0 = null;
EObject lv_expression_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:13833:2: ( ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:13834:2: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:13834:2: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) )
// InternalReportDSL.g:13835:3: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) )
{
// InternalReportDSL.g:13835:3: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) )
// InternalReportDSL.g:13836:4: ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' )
{
// InternalReportDSL.g:13843:4: ( () otherlv_1= 'synchronized' otherlv_2= '(' )
// InternalReportDSL.g:13844:5: () otherlv_1= 'synchronized' otherlv_2= '('
{
// InternalReportDSL.g:13844:5: ()
// InternalReportDSL.g:13845:6:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSynchronizedExpressionAccess().getXSynchronizedExpressionAction_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,192,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSynchronizedExpressionAccess().getSynchronizedKeyword_0_0_1());
}
otherlv_2=(Token)match(input,103,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSynchronizedExpressionAccess().getLeftParenthesisKeyword_0_0_2());
}
}
}
// InternalReportDSL.g:13861:3: ( (lv_param_3_0= ruleXExpression ) )
// InternalReportDSL.g:13862:4: (lv_param_3_0= ruleXExpression )
{
// InternalReportDSL.g:13862:4: (lv_param_3_0= ruleXExpression )
// InternalReportDSL.g:13863:5: lv_param_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getParamXExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_115);
lv_param_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule());
}
set(
current,
"param",
lv_param_3_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_4=(Token)match(input,104,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSynchronizedExpressionAccess().getRightParenthesisKeyword_2());
}
// InternalReportDSL.g:13884:3: ( (lv_expression_5_0= ruleXExpression ) )
// InternalReportDSL.g:13885:4: (lv_expression_5_0= ruleXExpression )
{
// InternalReportDSL.g:13885:4: (lv_expression_5_0= ruleXExpression )
// InternalReportDSL.g:13886:5: lv_expression_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getExpressionXExpressionParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_expression_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule());
}
set(
current,
"expression",
lv_expression_5_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSynchronizedExpression"
// $ANTLR start "entryRuleXCatchClause"
// InternalReportDSL.g:13907:1: entryRuleXCatchClause returns [EObject current=null] : iv_ruleXCatchClause= ruleXCatchClause EOF ;
public final EObject entryRuleXCatchClause() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCatchClause = null;
try {
// InternalReportDSL.g:13907:53: (iv_ruleXCatchClause= ruleXCatchClause EOF )
// InternalReportDSL.g:13908:2: iv_ruleXCatchClause= ruleXCatchClause EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseRule());
}
pushFollow(FOLLOW_1);
iv_ruleXCatchClause=ruleXCatchClause();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCatchClause;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCatchClause"
// $ANTLR start "ruleXCatchClause"
// InternalReportDSL.g:13914:1: ruleXCatchClause returns [EObject current=null] : ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) ;
public final EObject ruleXCatchClause() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
EObject lv_declaredParam_2_0 = null;
EObject lv_expression_4_0 = null;
enterRule();
try {
// InternalReportDSL.g:13920:2: ( ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) )
// InternalReportDSL.g:13921:2: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
{
// InternalReportDSL.g:13921:2: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) )
// InternalReportDSL.g:13922:3: ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) )
{
// InternalReportDSL.g:13922:3: ( ( 'catch' )=>otherlv_0= 'catch' )
// InternalReportDSL.g:13923:4: ( 'catch' )=>otherlv_0= 'catch'
{
otherlv_0=(Token)match(input,193,FOLLOW_106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXCatchClauseAccess().getCatchKeyword_0());
}
}
otherlv_1=(Token)match(input,103,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXCatchClauseAccess().getLeftParenthesisKeyword_1());
}
// InternalReportDSL.g:13933:3: ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) )
// InternalReportDSL.g:13934:4: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
{
// InternalReportDSL.g:13934:4: (lv_declaredParam_2_0= ruleFullJvmFormalParameter )
// InternalReportDSL.g:13935:5: lv_declaredParam_2_0= ruleFullJvmFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0());
}
pushFollow(FOLLOW_115);
lv_declaredParam_2_0=ruleFullJvmFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCatchClauseRule());
}
set(
current,
"declaredParam",
lv_declaredParam_2_0,
"org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,104,FOLLOW_130); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXCatchClauseAccess().getRightParenthesisKeyword_3());
}
// InternalReportDSL.g:13956:3: ( (lv_expression_4_0= ruleXExpression ) )
// InternalReportDSL.g:13957:4: (lv_expression_4_0= ruleXExpression )
{
// InternalReportDSL.g:13957:4: (lv_expression_4_0= ruleXExpression )
// InternalReportDSL.g:13958:5: lv_expression_4_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0());
}
pushFollow(FOLLOW_2);
lv_expression_4_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCatchClauseRule());
}
set(
current,
"expression",
lv_expression_4_0,
"org.eclipse.xtext.xbase.Xbase.XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCatchClause"
// $ANTLR start "entryRuleQualifiedName"
// InternalReportDSL.g:13979:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
try {
// InternalReportDSL.g:13979:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// InternalReportDSL.g:13980:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedName.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedName"
// $ANTLR start "ruleQualifiedName"
// InternalReportDSL.g:13986:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) ;
public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
AntlrDatatypeRuleToken this_ValidID_2 = null;
enterRule();
try {
// InternalReportDSL.g:13992:2: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) )
// InternalReportDSL.g:13993:2: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
{
// InternalReportDSL.g:13993:2: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
// InternalReportDSL.g:13994:3: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_190);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:14004:3: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
loop212:
do {
int alt212=2;
int LA212_0 = input.LA(1);
if ( (LA212_0==167) ) {
int LA212_2 = input.LA(2);
if ( (LA212_2==RULE_ID) ) {
int LA212_3 = input.LA(3);
if ( (synpred48_InternalReportDSL()) ) {
alt212=1;
}
}
}
switch (alt212) {
case 1 :
// InternalReportDSL.g:14005:4: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID
{
// InternalReportDSL.g:14005:4: ( ( '.' )=>kw= '.' )
// InternalReportDSL.g:14006:5: ( '.' )=>kw= '.'
{
kw=(Token)match(input,167,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1());
}
pushFollow(FOLLOW_190);
this_ValidID_2=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_2);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
default :
break loop212;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedName"
// $ANTLR start "entryRuleNumber"
// InternalReportDSL.g:14028:1: entryRuleNumber returns [String current=null] : iv_ruleNumber= ruleNumber EOF ;
public final String entryRuleNumber() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleNumber = null;
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
// InternalReportDSL.g:14030:2: (iv_ruleNumber= ruleNumber EOF )
// InternalReportDSL.g:14031:2: iv_ruleNumber= ruleNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNumberRule());
}
pushFollow(FOLLOW_1);
iv_ruleNumber=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNumber.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
myHiddenTokenState.restore();
}
return current;
}
// $ANTLR end "entryRuleNumber"
// $ANTLR start "ruleNumber"
// InternalReportDSL.g:14040:1: ruleNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) ;
public final AntlrDatatypeRuleToken ruleNumber() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_HEX_0=null;
Token this_INT_1=null;
Token this_DECIMAL_2=null;
Token kw=null;
Token this_INT_4=null;
Token this_DECIMAL_5=null;
enterRule();
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
// InternalReportDSL.g:14047:2: ( (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) )
// InternalReportDSL.g:14048:2: (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) )
{
// InternalReportDSL.g:14048:2: (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) )
int alt216=2;
int LA216_0 = input.LA(1);
if ( (LA216_0==RULE_HEX) ) {
alt216=1;
}
else if ( (LA216_0==RULE_INT||LA216_0==RULE_DECIMAL) ) {
alt216=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 216, 0, input);
throw nvae;
}
switch (alt216) {
case 1 :
// InternalReportDSL.g:14049:3: this_HEX_0= RULE_HEX
{
this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_HEX_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_HEX_0, grammarAccess.getNumberAccess().getHEXTerminalRuleCall_0());
}
}
break;
case 2 :
// InternalReportDSL.g:14057:3: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
{
// InternalReportDSL.g:14057:3: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? )
// InternalReportDSL.g:14058:4: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
{
// InternalReportDSL.g:14058:4: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL )
int alt213=2;
int LA213_0 = input.LA(1);
if ( (LA213_0==RULE_INT) ) {
alt213=1;
}
else if ( (LA213_0==RULE_DECIMAL) ) {
alt213=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 213, 0, input);
throw nvae;
}
switch (alt213) {
case 1 :
// InternalReportDSL.g:14059:5: this_INT_1= RULE_INT
{
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_190); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_INT_1);
}
if ( state.backtracking==0 ) {
newLeafNode(this_INT_1, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_0_0());
}
}
break;
case 2 :
// InternalReportDSL.g:14067:5: this_DECIMAL_2= RULE_DECIMAL
{
this_DECIMAL_2=(Token)match(input,RULE_DECIMAL,FOLLOW_190); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_DECIMAL_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_DECIMAL_2, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_0_1());
}
}
break;
}
// InternalReportDSL.g:14075:4: (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )?
int alt215=2;
int LA215_0 = input.LA(1);
if ( (LA215_0==167) ) {
int LA215_1 = input.LA(2);
if ( (LA215_1==RULE_INT||LA215_1==RULE_DECIMAL) ) {
alt215=1;
}
}
switch (alt215) {
case 1 :
// InternalReportDSL.g:14076:5: kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
{
kw=(Token)match(input,167,FOLLOW_191); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getNumberAccess().getFullStopKeyword_1_1_0());
}
// InternalReportDSL.g:14081:5: (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL )
int alt214=2;
int LA214_0 = input.LA(1);
if ( (LA214_0==RULE_INT) ) {
alt214=1;
}
else if ( (LA214_0==RULE_DECIMAL) ) {
alt214=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 214, 0, input);
throw nvae;
}
switch (alt214) {
case 1 :
// InternalReportDSL.g:14082:6: this_INT_4= RULE_INT
{
this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_INT_4);
}
if ( state.backtracking==0 ) {
newLeafNode(this_INT_4, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_1_1_0());
}
}
break;
case 2 :
// InternalReportDSL.g:14090:6: this_DECIMAL_5= RULE_DECIMAL
{
this_DECIMAL_5=(Token)match(input,RULE_DECIMAL,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_DECIMAL_5);
}
if ( state.backtracking==0 ) {
newLeafNode(this_DECIMAL_5, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_1_1_1());
}
}
break;
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
myHiddenTokenState.restore();
}
return current;
}
// $ANTLR end "ruleNumber"
// $ANTLR start "entryRuleJvmTypeReference"
// InternalReportDSL.g:14107:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ;
public final EObject entryRuleJvmTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmTypeReference = null;
try {
// InternalReportDSL.g:14107:57: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF )
// InternalReportDSL.g:14108:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmTypeReference=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmTypeReference"
// $ANTLR start "ruleJvmTypeReference"
// InternalReportDSL.g:14114:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ;
public final EObject ruleJvmTypeReference() throws RecognitionException {
EObject current = null;
EObject this_JvmParameterizedTypeReference_0 = null;
EObject this_XFunctionTypeRef_3 = null;
enterRule();
try {
// InternalReportDSL.g:14120:2: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) )
// InternalReportDSL.g:14121:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
{
// InternalReportDSL.g:14121:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
int alt218=2;
int LA218_0 = input.LA(1);
if ( (LA218_0==RULE_ID) ) {
alt218=1;
}
else if ( (LA218_0==103||LA218_0==157) ) {
alt218=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 218, 0, input);
throw nvae;
}
switch (alt218) {
case 1 :
// InternalReportDSL.g:14122:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
{
// InternalReportDSL.g:14122:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
// InternalReportDSL.g:14123:4: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_184);
this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmParameterizedTypeReference_0;
afterParserOrEnumRuleCall();
}
// InternalReportDSL.g:14131:4: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
loop217:
do {
int alt217=2;
int LA217_0 = input.LA(1);
if ( (LA217_0==137) ) {
int LA217_2 = input.LA(2);
if ( (LA217_2==138) ) {
int LA217_3 = input.LA(3);
if ( (synpred49_InternalReportDSL()) ) {
alt217=1;
}
}
}
switch (alt217) {
case 1 :
// InternalReportDSL.g:14132:5: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets )
{
// InternalReportDSL.g:14138:5: ( () ruleArrayBrackets )
// InternalReportDSL.g:14139:6: () ruleArrayBrackets
{
// InternalReportDSL.g:14139:6: ()
// InternalReportDSL.g:14140:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(),
current);
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1());
}
pushFollow(FOLLOW_184);
ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop217;
}
} while (true);
}
}
break;
case 2 :
// InternalReportDSL.g:14157:3: this_XFunctionTypeRef_3= ruleXFunctionTypeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_XFunctionTypeRef_3=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFunctionTypeRef_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmTypeReference"
// $ANTLR start "entryRuleArrayBrackets"
// InternalReportDSL.g:14169:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ;
public final String entryRuleArrayBrackets() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleArrayBrackets = null;
try {
// InternalReportDSL.g:14169:53: (iv_ruleArrayBrackets= ruleArrayBrackets EOF )
// InternalReportDSL.g:14170:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getArrayBracketsRule());
}
pushFollow(FOLLOW_1);
iv_ruleArrayBrackets=ruleArrayBrackets();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleArrayBrackets.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleArrayBrackets"
// $ANTLR start "ruleArrayBrackets"
// InternalReportDSL.g:14176:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ;
public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalReportDSL.g:14182:2: ( (kw= '[' kw= ']' ) )
// InternalReportDSL.g:14183:2: (kw= '[' kw= ']' )
{
// InternalReportDSL.g:14183:2: (kw= '[' kw= ']' )
// InternalReportDSL.g:14184:3: kw= '[' kw= ']'
{
kw=(Token)match(input,137,FOLLOW_165); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0());
}
kw=(Token)match(input,138,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleArrayBrackets"
// $ANTLR start "entryRuleXFunctionTypeRef"
// InternalReportDSL.g:14198:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ;
public final EObject entryRuleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
EObject iv_ruleXFunctionTypeRef = null;
try {
// InternalReportDSL.g:14198:57: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF )
// InternalReportDSL.g:14199:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefRule());
}
pushFollow(FOLLOW_1);
iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXFunctionTypeRef;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXFunctionTypeRef"
// $ANTLR start "ruleXFunctionTypeRef"
// InternalReportDSL.g:14205:1: ruleXFunctionTypeRef returns [EObject current=null] : ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
EObject lv_paramTypes_1_0 = null;
EObject lv_paramTypes_3_0 = null;
EObject lv_returnType_6_0 = null;
enterRule();
try {
// InternalReportDSL.g:14211:2: ( ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) )
// InternalReportDSL.g:14212:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
{
// InternalReportDSL.g:14212:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
// InternalReportDSL.g:14213:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) )
{
// InternalReportDSL.g:14213:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )?
int alt221=2;
int LA221_0 = input.LA(1);
if ( (LA221_0==103) ) {
alt221=1;
}
switch (alt221) {
case 1 :
// InternalReportDSL.g:14214:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')'
{
otherlv_0=(Token)match(input,103,FOLLOW_192); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0());
}
// InternalReportDSL.g:14218:4: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )?
int alt220=2;
int LA220_0 = input.LA(1);
if ( (LA220_0==RULE_ID||LA220_0==103||LA220_0==157) ) {
alt220=1;
}
switch (alt220) {
case 1 :
// InternalReportDSL.g:14219:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
{
// InternalReportDSL.g:14219:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14220:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14220:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
// InternalReportDSL.g:14221:7: lv_paramTypes_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_128);
lv_paramTypes_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule());
}
add(
current,
"paramTypes",
lv_paramTypes_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14238:5: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
loop219:
do {
int alt219=2;
int LA219_0 = input.LA(1);
if ( (LA219_0==134) ) {
alt219=1;
}
switch (alt219) {
case 1 :
// InternalReportDSL.g:14239:6: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
{
otherlv_2=(Token)match(input,134,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0());
}
// InternalReportDSL.g:14243:6: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14244:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14244:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
// InternalReportDSL.g:14245:8: lv_paramTypes_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_128);
lv_paramTypes_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule());
}
add(
current,
"paramTypes",
lv_paramTypes_3_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop219;
}
} while (true);
}
break;
}
otherlv_4=(Token)match(input,104,FOLLOW_193); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2());
}
}
break;
}
otherlv_5=(Token)match(input,157,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1());
}
// InternalReportDSL.g:14273:3: ( (lv_returnType_6_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14274:4: (lv_returnType_6_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14274:4: (lv_returnType_6_0= ruleJvmTypeReference )
// InternalReportDSL.g:14275:5: lv_returnType_6_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
lv_returnType_6_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule());
}
set(
current,
"returnType",
lv_returnType_6_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXFunctionTypeRef"
// $ANTLR start "entryRuleJvmParameterizedTypeReference"
// InternalReportDSL.g:14296:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ;
public final EObject entryRuleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmParameterizedTypeReference = null;
try {
// InternalReportDSL.g:14296:70: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF )
// InternalReportDSL.g:14297:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmParameterizedTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmParameterizedTypeReference"
// $ANTLR start "ruleJvmParameterizedTypeReference"
// InternalReportDSL.g:14303:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ;
public final EObject ruleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_arguments_2_0 = null;
EObject lv_arguments_4_0 = null;
EObject lv_arguments_10_0 = null;
EObject lv_arguments_12_0 = null;
enterRule();
try {
// InternalReportDSL.g:14309:2: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) )
// InternalReportDSL.g:14310:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
{
// InternalReportDSL.g:14310:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
// InternalReportDSL.g:14311:3: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
{
// InternalReportDSL.g:14311:3: ( ( ruleQualifiedName ) )
// InternalReportDSL.g:14312:4: ( ruleQualifiedName )
{
// InternalReportDSL.g:14312:4: ( ruleQualifiedName )
// InternalReportDSL.g:14313:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0());
}
pushFollow(FOLLOW_194);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14327:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
int alt226=2;
alt226 = dfa226.predict(input);
switch (alt226) {
case 1 :
// InternalReportDSL.g:14328:4: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
{
// InternalReportDSL.g:14328:4: ( ( '<' )=>otherlv_1= '<' )
// InternalReportDSL.g:14329:5: ( '<' )=>otherlv_1= '<'
{
otherlv_1=(Token)match(input,144,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0());
}
}
// InternalReportDSL.g:14335:4: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:14336:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:14336:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:14337:6: lv_arguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_156);
lv_arguments_2_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_2_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14354:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )*
loop222:
do {
int alt222=2;
int LA222_0 = input.LA(1);
if ( (LA222_0==134) ) {
alt222=1;
}
switch (alt222) {
case 1 :
// InternalReportDSL.g:14355:5: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,134,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0());
}
// InternalReportDSL.g:14359:5: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:14360:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:14360:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:14361:7: lv_arguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0());
}
pushFollow(FOLLOW_156);
lv_arguments_4_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_4_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop222;
}
} while (true);
otherlv_5=(Token)match(input,145,FOLLOW_190); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3());
}
// InternalReportDSL.g:14383:4: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
loop225:
do {
int alt225=2;
int LA225_0 = input.LA(1);
if ( (LA225_0==167) ) {
int LA225_2 = input.LA(2);
if ( (LA225_2==RULE_ID) ) {
int LA225_3 = input.LA(3);
if ( (synpred51_InternalReportDSL()) ) {
alt225=1;
}
}
}
switch (alt225) {
case 1 :
// InternalReportDSL.g:14384:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
{
// InternalReportDSL.g:14384:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) )
// InternalReportDSL.g:14385:6: ( ( () '.' ) )=> ( () otherlv_7= '.' )
{
// InternalReportDSL.g:14391:6: ( () otherlv_7= '.' )
// InternalReportDSL.g:14392:7: () otherlv_7= '.'
{
// InternalReportDSL.g:14392:7: ()
// InternalReportDSL.g:14393:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(),
current);
}
}
otherlv_7=(Token)match(input,167,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1());
}
}
}
// InternalReportDSL.g:14405:5: ( ( ruleValidID ) )
// InternalReportDSL.g:14406:6: ( ruleValidID )
{
// InternalReportDSL.g:14406:6: ( ruleValidID )
// InternalReportDSL.g:14407:7: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0());
}
pushFollow(FOLLOW_195);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14421:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
int alt224=2;
alt224 = dfa224.predict(input);
switch (alt224) {
case 1 :
// InternalReportDSL.g:14422:6: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>'
{
// InternalReportDSL.g:14422:6: ( ( '<' )=>otherlv_9= '<' )
// InternalReportDSL.g:14423:7: ( '<' )=>otherlv_9= '<'
{
otherlv_9=(Token)match(input,144,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0());
}
}
// InternalReportDSL.g:14429:6: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:14430:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:14430:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:14431:8: lv_arguments_10_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0());
}
pushFollow(FOLLOW_156);
lv_arguments_10_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_10_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14448:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )*
loop223:
do {
int alt223=2;
int LA223_0 = input.LA(1);
if ( (LA223_0==134) ) {
alt223=1;
}
switch (alt223) {
case 1 :
// InternalReportDSL.g:14449:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
{
otherlv_11=(Token)match(input,134,FOLLOW_155); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0());
}
// InternalReportDSL.g:14453:7: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
// InternalReportDSL.g:14454:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
{
// InternalReportDSL.g:14454:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
// InternalReportDSL.g:14455:9: lv_arguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0());
}
pushFollow(FOLLOW_156);
lv_arguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule());
}
add(
current,
"arguments",
lv_arguments_12_0,
"org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop223;
}
} while (true);
otherlv_13=(Token)match(input,145,FOLLOW_190); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3());
}
}
break;
}
}
break;
default :
break loop225;
}
} while (true);
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmParameterizedTypeReference"
// $ANTLR start "entryRuleJvmArgumentTypeReference"
// InternalReportDSL.g:14484:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ;
public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmArgumentTypeReference = null;
try {
// InternalReportDSL.g:14484:65: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF )
// InternalReportDSL.g:14485:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmArgumentTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmArgumentTypeReference"
// $ANTLR start "ruleJvmArgumentTypeReference"
// InternalReportDSL.g:14491:1: ruleJvmArgumentTypeReference returns [EObject current=null] : (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ;
public final EObject ruleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
EObject this_JvmTypeReference_0 = null;
EObject this_JvmWildcardTypeReference_1 = null;
enterRule();
try {
// InternalReportDSL.g:14497:2: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) )
// InternalReportDSL.g:14498:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
{
// InternalReportDSL.g:14498:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
int alt227=2;
int LA227_0 = input.LA(1);
if ( (LA227_0==RULE_ID||LA227_0==103||LA227_0==157) ) {
alt227=1;
}
else if ( (LA227_0==194) ) {
alt227=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 227, 0, input);
throw nvae;
}
switch (alt227) {
case 1 :
// InternalReportDSL.g:14499:3: this_JvmTypeReference_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_JvmTypeReference_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmTypeReference_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalReportDSL.g:14508:3: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_JvmWildcardTypeReference_1=ruleJvmWildcardTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JvmWildcardTypeReference_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmArgumentTypeReference"
// $ANTLR start "entryRuleJvmWildcardTypeReference"
// InternalReportDSL.g:14520:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ;
public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmWildcardTypeReference = null;
try {
// InternalReportDSL.g:14520:65: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF )
// InternalReportDSL.g:14521:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmWildcardTypeReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmWildcardTypeReference"
// $ANTLR start "ruleJvmWildcardTypeReference"
// InternalReportDSL.g:14527:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ;
public final EObject ruleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_constraints_2_0 = null;
EObject lv_constraints_3_0 = null;
EObject lv_constraints_4_0 = null;
EObject lv_constraints_5_0 = null;
enterRule();
try {
// InternalReportDSL.g:14533:2: ( ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) )
// InternalReportDSL.g:14534:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
{
// InternalReportDSL.g:14534:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
// InternalReportDSL.g:14535:3: () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
{
// InternalReportDSL.g:14535:3: ()
// InternalReportDSL.g:14536:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(),
current);
}
}
otherlv_1=(Token)match(input,194,FOLLOW_196); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1());
}
// InternalReportDSL.g:14546:3: ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
int alt230=3;
int LA230_0 = input.LA(1);
if ( (LA230_0==39) ) {
alt230=1;
}
else if ( (LA230_0==182) ) {
alt230=2;
}
switch (alt230) {
case 1 :
// InternalReportDSL.g:14547:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
{
// InternalReportDSL.g:14547:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
// InternalReportDSL.g:14548:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
{
// InternalReportDSL.g:14548:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
// InternalReportDSL.g:14549:6: (lv_constraints_2_0= ruleJvmUpperBound )
{
// InternalReportDSL.g:14549:6: (lv_constraints_2_0= ruleJvmUpperBound )
// InternalReportDSL.g:14550:7: lv_constraints_2_0= ruleJvmUpperBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0());
}
pushFollow(FOLLOW_197);
lv_constraints_2_0=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_2_0,
"org.eclipse.xtext.xbase.Xtype.JvmUpperBound");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14567:5: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
loop228:
do {
int alt228=2;
int LA228_0 = input.LA(1);
if ( (LA228_0==195) ) {
alt228=1;
}
switch (alt228) {
case 1 :
// InternalReportDSL.g:14568:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
{
// InternalReportDSL.g:14568:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
// InternalReportDSL.g:14569:7: lv_constraints_3_0= ruleJvmUpperBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_197);
lv_constraints_3_0=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_3_0,
"org.eclipse.xtext.xbase.Xtype.JvmUpperBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop228;
}
} while (true);
}
}
break;
case 2 :
// InternalReportDSL.g:14588:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
{
// InternalReportDSL.g:14588:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
// InternalReportDSL.g:14589:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
{
// InternalReportDSL.g:14589:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) )
// InternalReportDSL.g:14590:6: (lv_constraints_4_0= ruleJvmLowerBound )
{
// InternalReportDSL.g:14590:6: (lv_constraints_4_0= ruleJvmLowerBound )
// InternalReportDSL.g:14591:7: lv_constraints_4_0= ruleJvmLowerBound
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0());
}
pushFollow(FOLLOW_197);
lv_constraints_4_0=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_4_0,
"org.eclipse.xtext.xbase.Xtype.JvmLowerBound");
afterParserOrEnumRuleCall();
}
}
}
// InternalReportDSL.g:14608:5: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
loop229:
do {
int alt229=2;
int LA229_0 = input.LA(1);
if ( (LA229_0==195) ) {
alt229=1;
}
switch (alt229) {
case 1 :
// InternalReportDSL.g:14609:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
{
// InternalReportDSL.g:14609:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
// InternalReportDSL.g:14610:7: lv_constraints_5_0= ruleJvmLowerBoundAnded
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_197);
lv_constraints_5_0=ruleJvmLowerBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule());
}
add(
current,
"constraints",
lv_constraints_5_0,
"org.eclipse.xtext.xbase.Xtype.JvmLowerBoundAnded");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop229;
}
} while (true);
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmWildcardTypeReference"
// $ANTLR start "entryRuleJvmUpperBound"
// InternalReportDSL.g:14633:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ;
public final EObject entryRuleJvmUpperBound() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmUpperBound = null;
try {
// InternalReportDSL.g:14633:54: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF )
// InternalReportDSL.g:14634:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmUpperBound=ruleJvmUpperBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBound;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBound"
// $ANTLR start "ruleJvmUpperBound"
// InternalReportDSL.g:14640:1: ruleJvmUpperBound returns [EObject current=null] : (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmUpperBound() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:14646:2: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalReportDSL.g:14647:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalReportDSL.g:14647:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalReportDSL.g:14648:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,39,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0());
}
// InternalReportDSL.g:14652:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14653:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14653:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalReportDSL.g:14654:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmUpperBoundRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmUpperBound"
// $ANTLR start "entryRuleJvmUpperBoundAnded"
// InternalReportDSL.g:14675:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ;
public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmUpperBoundAnded = null;
try {
// InternalReportDSL.g:14675:59: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF )
// InternalReportDSL.g:14676:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmUpperBoundAnded;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmUpperBoundAnded"
// $ANTLR start "ruleJvmUpperBoundAnded"
// InternalReportDSL.g:14682:1: ruleJvmUpperBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:14688:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalReportDSL.g:14689:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalReportDSL.g:14689:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalReportDSL.g:14690:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,195,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0());
}
// InternalReportDSL.g:14694:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14695:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14695:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalReportDSL.g:14696:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmUpperBoundAndedRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmUpperBoundAnded"
// $ANTLR start "entryRuleJvmLowerBound"
// InternalReportDSL.g:14717:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ;
public final EObject entryRuleJvmLowerBound() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmLowerBound = null;
try {
// InternalReportDSL.g:14717:54: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF )
// InternalReportDSL.g:14718:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmLowerBound=ruleJvmLowerBound();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBound;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBound"
// $ANTLR start "ruleJvmLowerBound"
// InternalReportDSL.g:14724:1: ruleJvmLowerBound returns [EObject current=null] : (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBound() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:14730:2: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalReportDSL.g:14731:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalReportDSL.g:14731:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalReportDSL.g:14732:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,182,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0());
}
// InternalReportDSL.g:14736:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14737:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14737:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalReportDSL.g:14738:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmLowerBoundRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmLowerBound"
// $ANTLR start "entryRuleJvmLowerBoundAnded"
// InternalReportDSL.g:14759:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ;
public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
EObject iv_ruleJvmLowerBoundAnded = null;
try {
// InternalReportDSL.g:14759:59: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF )
// InternalReportDSL.g:14760:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule());
}
pushFollow(FOLLOW_1);
iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJvmLowerBoundAnded;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJvmLowerBoundAnded"
// $ANTLR start "ruleJvmLowerBoundAnded"
// InternalReportDSL.g:14766:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_typeReference_1_0 = null;
enterRule();
try {
// InternalReportDSL.g:14772:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
// InternalReportDSL.g:14773:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
// InternalReportDSL.g:14773:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
// InternalReportDSL.g:14774:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,195,FOLLOW_143); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0());
}
// InternalReportDSL.g:14778:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
// InternalReportDSL.g:14779:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
// InternalReportDSL.g:14779:4: (lv_typeReference_1_0= ruleJvmTypeReference )
// InternalReportDSL.g:14780:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_typeReference_1_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule());
}
set(
current,
"typeReference",
lv_typeReference_1_0,
"org.eclipse.xtext.xbase.Xtype.JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJvmLowerBoundAnded"
// $ANTLR start "entryRuleQualifiedNameWithWildcard"
// InternalReportDSL.g:14801:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null;
try {
// InternalReportDSL.g:14801:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
// InternalReportDSL.g:14802:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNameWithWildcard.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNameWithWildcard"
// $ANTLR start "ruleQualifiedNameWithWildcard"
// InternalReportDSL.g:14808:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ;
public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// InternalReportDSL.g:14814:2: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) )
// InternalReportDSL.g:14815:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
{
// InternalReportDSL.g:14815:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
// InternalReportDSL.g:14816:3: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_198);
this_QualifiedName_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_QualifiedName_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
kw=(Token)match(input,167,FOLLOW_199); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1());
}
kw=(Token)match(input,130,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNameWithWildcard"
// $ANTLR start "entryRuleValidID"
// InternalReportDSL.g:14840:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
public final String entryRuleValidID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleValidID = null;
try {
// InternalReportDSL.g:14840:47: (iv_ruleValidID= ruleValidID EOF )
// InternalReportDSL.g:14841:2: iv_ruleValidID= ruleValidID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getValidIDRule());
}
pushFollow(FOLLOW_1);
iv_ruleValidID=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleValidID.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleValidID"
// $ANTLR start "ruleValidID"
// InternalReportDSL.g:14847:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
enterRule();
try {
// InternalReportDSL.g:14853:2: (this_ID_0= RULE_ID )
// InternalReportDSL.g:14854:2: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleValidID"
// $ANTLR start "entryRuleXImportSection"
// InternalReportDSL.g:14864:1: entryRuleXImportSection returns [EObject current=null] : iv_ruleXImportSection= ruleXImportSection EOF ;
public final EObject entryRuleXImportSection() throws RecognitionException {
EObject current = null;
EObject iv_ruleXImportSection = null;
try {
// InternalReportDSL.g:14864:55: (iv_ruleXImportSection= ruleXImportSection EOF )
// InternalReportDSL.g:14865:2: iv_ruleXImportSection= ruleXImportSection EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportSectionRule());
}
pushFollow(FOLLOW_1);
iv_ruleXImportSection=ruleXImportSection();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXImportSection;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXImportSection"
// $ANTLR start "ruleXImportSection"
// InternalReportDSL.g:14871:1: ruleXImportSection returns [EObject current=null] : ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ ;
public final EObject ruleXImportSection() throws RecognitionException {
EObject current = null;
EObject lv_importDeclarations_0_0 = null;
enterRule();
try {
// InternalReportDSL.g:14877:2: ( ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ )
// InternalReportDSL.g:14878:2: ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+
{
// InternalReportDSL.g:14878:2: ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+
int cnt231=0;
loop231:
do {
int alt231=2;
int LA231_0 = input.LA(1);
if ( (LA231_0==127) ) {
alt231=1;
}
switch (alt231) {
case 1 :
// InternalReportDSL.g:14879:3: (lv_importDeclarations_0_0= ruleXImportDeclaration )
{
// InternalReportDSL.g:14879:3: (lv_importDeclarations_0_0= ruleXImportDeclaration )
// InternalReportDSL.g:14880:4: lv_importDeclarations_0_0= ruleXImportDeclaration
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportSectionAccess().getImportDeclarationsXImportDeclarationParserRuleCall_0());
}
pushFollow(FOLLOW_200);
lv_importDeclarations_0_0=ruleXImportDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportSectionRule());
}
add(
current,
"importDeclarations",
lv_importDeclarations_0_0,
"org.eclipse.osbp.xtext.oxtype.OXtype.XImportDeclaration");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt231 >= 1 ) break loop231;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(231, input);
throw eee;
}
cnt231++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXImportSection"
// $ANTLR start "entryRuleQualifiedNameInStaticImport"
// InternalReportDSL.g:14900:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ;
public final String entryRuleQualifiedNameInStaticImport() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedNameInStaticImport = null;
try {
// InternalReportDSL.g:14900:67: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF )
// InternalReportDSL.g:14901:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedNameInStaticImport.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedNameInStaticImport"
// $ANTLR start "ruleQualifiedNameInStaticImport"
// InternalReportDSL.g:14907:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ;
public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
enterRule();
try {
// InternalReportDSL.g:14913:2: ( (this_ValidID_0= ruleValidID kw= '.' )+ )
// InternalReportDSL.g:14914:2: (this_ValidID_0= ruleValidID kw= '.' )+
{
// InternalReportDSL.g:14914:2: (this_ValidID_0= ruleValidID kw= '.' )+
int cnt232=0;
loop232:
do {
int alt232=2;
int LA232_0 = input.LA(1);
if ( (LA232_0==RULE_ID) ) {
int LA232_2 = input.LA(2);
if ( (LA232_2==167) ) {
alt232=1;
}
}
switch (alt232) {
case 1 :
// InternalReportDSL.g:14915:3: this_ValidID_0= ruleValidID kw= '.'
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_198);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
kw=(Token)match(input,167,FOLLOW_201); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1());
}
}
break;
default :
if ( cnt232 >= 1 ) break loop232;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(232, input);
throw eee;
}
cnt232++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedNameInStaticImport"
// $ANTLR start "ruleUnitEnum"
// InternalReportDSL.g:14934:1: ruleUnitEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'mm' ) | (enumLiteral_1= 'cm' ) | (enumLiteral_2= 'pt' ) | (enumLiteral_3= 'inch' ) | (enumLiteral_4= 'pc' ) | (enumLiteral_5= 'em' ) | (enumLiteral_6= 'ex' ) | (enumLiteral_7= 'px' ) | (enumLiteral_8= '%' ) ) ;
public final Enumerator ruleUnitEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
Token enumLiteral_6=null;
Token enumLiteral_7=null;
Token enumLiteral_8=null;
enterRule();
try {
// InternalReportDSL.g:14940:2: ( ( (enumLiteral_0= 'mm' ) | (enumLiteral_1= 'cm' ) | (enumLiteral_2= 'pt' ) | (enumLiteral_3= 'inch' ) | (enumLiteral_4= 'pc' ) | (enumLiteral_5= 'em' ) | (enumLiteral_6= 'ex' ) | (enumLiteral_7= 'px' ) | (enumLiteral_8= '%' ) ) )
// InternalReportDSL.g:14941:2: ( (enumLiteral_0= 'mm' ) | (enumLiteral_1= 'cm' ) | (enumLiteral_2= 'pt' ) | (enumLiteral_3= 'inch' ) | (enumLiteral_4= 'pc' ) | (enumLiteral_5= 'em' ) | (enumLiteral_6= 'ex' ) | (enumLiteral_7= 'px' ) | (enumLiteral_8= '%' ) )
{
// InternalReportDSL.g:14941:2: ( (enumLiteral_0= 'mm' ) | (enumLiteral_1= 'cm' ) | (enumLiteral_2= 'pt' ) | (enumLiteral_3= 'inch' ) | (enumLiteral_4= 'pc' ) | (enumLiteral_5= 'em' ) | (enumLiteral_6= 'ex' ) | (enumLiteral_7= 'px' ) | (enumLiteral_8= '%' ) )
int alt233=9;
switch ( input.LA(1) ) {
case 196:
{
alt233=1;
}
break;
case 197:
{
alt233=2;
}
break;
case 198:
{
alt233=3;
}
break;
case 199:
{
alt233=4;
}
break;
case 200:
{
alt233=5;
}
break;
case 201:
{
alt233=6;
}
break;
case 202:
{
alt233=7;
}
break;
case 203:
{
alt233=8;
}
break;
case 163:
{
alt233=9;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 233, 0, input);
throw nvae;
}
switch (alt233) {
case 1 :
// InternalReportDSL.g:14942:3: (enumLiteral_0= 'mm' )
{
// InternalReportDSL.g:14942:3: (enumLiteral_0= 'mm' )
// InternalReportDSL.g:14943:4: enumLiteral_0= 'mm'
{
enumLiteral_0=(Token)match(input,196,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getMMEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getUnitEnumAccess().getMMEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:14950:3: (enumLiteral_1= 'cm' )
{
// InternalReportDSL.g:14950:3: (enumLiteral_1= 'cm' )
// InternalReportDSL.g:14951:4: enumLiteral_1= 'cm'
{
enumLiteral_1=(Token)match(input,197,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getCMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getUnitEnumAccess().getCMEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:14958:3: (enumLiteral_2= 'pt' )
{
// InternalReportDSL.g:14958:3: (enumLiteral_2= 'pt' )
// InternalReportDSL.g:14959:4: enumLiteral_2= 'pt'
{
enumLiteral_2=(Token)match(input,198,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getPTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getUnitEnumAccess().getPTEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:14966:3: (enumLiteral_3= 'inch' )
{
// InternalReportDSL.g:14966:3: (enumLiteral_3= 'inch' )
// InternalReportDSL.g:14967:4: enumLiteral_3= 'inch'
{
enumLiteral_3=(Token)match(input,199,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getINEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getUnitEnumAccess().getINEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:14974:3: (enumLiteral_4= 'pc' )
{
// InternalReportDSL.g:14974:3: (enumLiteral_4= 'pc' )
// InternalReportDSL.g:14975:4: enumLiteral_4= 'pc'
{
enumLiteral_4=(Token)match(input,200,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getPCEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getUnitEnumAccess().getPCEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalReportDSL.g:14982:3: (enumLiteral_5= 'em' )
{
// InternalReportDSL.g:14982:3: (enumLiteral_5= 'em' )
// InternalReportDSL.g:14983:4: enumLiteral_5= 'em'
{
enumLiteral_5=(Token)match(input,201,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getEMEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getUnitEnumAccess().getEMEnumLiteralDeclaration_5());
}
}
}
break;
case 7 :
// InternalReportDSL.g:14990:3: (enumLiteral_6= 'ex' )
{
// InternalReportDSL.g:14990:3: (enumLiteral_6= 'ex' )
// InternalReportDSL.g:14991:4: enumLiteral_6= 'ex'
{
enumLiteral_6=(Token)match(input,202,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getEXEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_6, grammarAccess.getUnitEnumAccess().getEXEnumLiteralDeclaration_6());
}
}
}
break;
case 8 :
// InternalReportDSL.g:14998:3: (enumLiteral_7= 'px' )
{
// InternalReportDSL.g:14998:3: (enumLiteral_7= 'px' )
// InternalReportDSL.g:14999:4: enumLiteral_7= 'px'
{
enumLiteral_7=(Token)match(input,203,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getPXEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_7, grammarAccess.getUnitEnumAccess().getPXEnumLiteralDeclaration_7());
}
}
}
break;
case 9 :
// InternalReportDSL.g:15006:3: (enumLiteral_8= '%' )
{
// InternalReportDSL.g:15006:3: (enumLiteral_8= '%' )
// InternalReportDSL.g:15007:4: enumLiteral_8= '%'
{
enumLiteral_8=(Token)match(input,163,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnitEnumAccess().getPERCENTAGEEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_8, grammarAccess.getUnitEnumAccess().getPERCENTAGEEnumLiteralDeclaration_8());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUnitEnum"
// $ANTLR start "rulePageSizeEnum"
// InternalReportDSL.g:15017:1: rulePageSizeEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'a4' ) | (enumLiteral_1= 'a3' ) | (enumLiteral_2= 'a5' ) | (enumLiteral_3= 'us-letter' ) | (enumLiteral_4= 'us-legal' ) | (enumLiteral_5= 'us-ledger' ) | (enumLiteral_6= 'us-super-b' ) ) ;
public final Enumerator rulePageSizeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
Token enumLiteral_6=null;
enterRule();
try {
// InternalReportDSL.g:15023:2: ( ( (enumLiteral_0= 'a4' ) | (enumLiteral_1= 'a3' ) | (enumLiteral_2= 'a5' ) | (enumLiteral_3= 'us-letter' ) | (enumLiteral_4= 'us-legal' ) | (enumLiteral_5= 'us-ledger' ) | (enumLiteral_6= 'us-super-b' ) ) )
// InternalReportDSL.g:15024:2: ( (enumLiteral_0= 'a4' ) | (enumLiteral_1= 'a3' ) | (enumLiteral_2= 'a5' ) | (enumLiteral_3= 'us-letter' ) | (enumLiteral_4= 'us-legal' ) | (enumLiteral_5= 'us-ledger' ) | (enumLiteral_6= 'us-super-b' ) )
{
// InternalReportDSL.g:15024:2: ( (enumLiteral_0= 'a4' ) | (enumLiteral_1= 'a3' ) | (enumLiteral_2= 'a5' ) | (enumLiteral_3= 'us-letter' ) | (enumLiteral_4= 'us-legal' ) | (enumLiteral_5= 'us-ledger' ) | (enumLiteral_6= 'us-super-b' ) )
int alt234=7;
switch ( input.LA(1) ) {
case 204:
{
alt234=1;
}
break;
case 205:
{
alt234=2;
}
break;
case 206:
{
alt234=3;
}
break;
case 207:
{
alt234=4;
}
break;
case 208:
{
alt234=5;
}
break;
case 209:
{
alt234=6;
}
break;
case 210:
{
alt234=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 234, 0, input);
throw nvae;
}
switch (alt234) {
case 1 :
// InternalReportDSL.g:15025:3: (enumLiteral_0= 'a4' )
{
// InternalReportDSL.g:15025:3: (enumLiteral_0= 'a4' )
// InternalReportDSL.g:15026:4: enumLiteral_0= 'a4'
{
enumLiteral_0=(Token)match(input,204,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getA4EnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getPageSizeEnumAccess().getA4EnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15033:3: (enumLiteral_1= 'a3' )
{
// InternalReportDSL.g:15033:3: (enumLiteral_1= 'a3' )
// InternalReportDSL.g:15034:4: enumLiteral_1= 'a3'
{
enumLiteral_1=(Token)match(input,205,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getA3EnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getPageSizeEnumAccess().getA3EnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15041:3: (enumLiteral_2= 'a5' )
{
// InternalReportDSL.g:15041:3: (enumLiteral_2= 'a5' )
// InternalReportDSL.g:15042:4: enumLiteral_2= 'a5'
{
enumLiteral_2=(Token)match(input,206,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getA5EnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getPageSizeEnumAccess().getA5EnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:15049:3: (enumLiteral_3= 'us-letter' )
{
// InternalReportDSL.g:15049:3: (enumLiteral_3= 'us-letter' )
// InternalReportDSL.g:15050:4: enumLiteral_3= 'us-letter'
{
enumLiteral_3=(Token)match(input,207,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getUS_LETTEREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getPageSizeEnumAccess().getUS_LETTEREnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:15057:3: (enumLiteral_4= 'us-legal' )
{
// InternalReportDSL.g:15057:3: (enumLiteral_4= 'us-legal' )
// InternalReportDSL.g:15058:4: enumLiteral_4= 'us-legal'
{
enumLiteral_4=(Token)match(input,208,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getUS_LEGALEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getPageSizeEnumAccess().getUS_LEGALEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalReportDSL.g:15065:3: (enumLiteral_5= 'us-ledger' )
{
// InternalReportDSL.g:15065:3: (enumLiteral_5= 'us-ledger' )
// InternalReportDSL.g:15066:4: enumLiteral_5= 'us-ledger'
{
enumLiteral_5=(Token)match(input,209,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getUS_LEDGEREnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getPageSizeEnumAccess().getUS_LEDGEREnumLiteralDeclaration_5());
}
}
}
break;
case 7 :
// InternalReportDSL.g:15073:3: (enumLiteral_6= 'us-super-b' )
{
// InternalReportDSL.g:15073:3: (enumLiteral_6= 'us-super-b' )
// InternalReportDSL.g:15074:4: enumLiteral_6= 'us-super-b'
{
enumLiteral_6=(Token)match(input,210,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPageSizeEnumAccess().getUS_SUPER_BEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_6, grammarAccess.getPageSizeEnumAccess().getUS_SUPER_BEnumLiteralDeclaration_6());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePageSizeEnum"
// $ANTLR start "ruleOrientationEnum"
// InternalReportDSL.g:15084:1: ruleOrientationEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'portrait' ) | (enumLiteral_1= 'landscape' ) ) ;
public final Enumerator ruleOrientationEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
enterRule();
try {
// InternalReportDSL.g:15090:2: ( ( (enumLiteral_0= 'portrait' ) | (enumLiteral_1= 'landscape' ) ) )
// InternalReportDSL.g:15091:2: ( (enumLiteral_0= 'portrait' ) | (enumLiteral_1= 'landscape' ) )
{
// InternalReportDSL.g:15091:2: ( (enumLiteral_0= 'portrait' ) | (enumLiteral_1= 'landscape' ) )
int alt235=2;
int LA235_0 = input.LA(1);
if ( (LA235_0==211) ) {
alt235=1;
}
else if ( (LA235_0==212) ) {
alt235=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 235, 0, input);
throw nvae;
}
switch (alt235) {
case 1 :
// InternalReportDSL.g:15092:3: (enumLiteral_0= 'portrait' )
{
// InternalReportDSL.g:15092:3: (enumLiteral_0= 'portrait' )
// InternalReportDSL.g:15093:4: enumLiteral_0= 'portrait'
{
enumLiteral_0=(Token)match(input,211,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getOrientationEnumAccess().getPORTRAITEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getOrientationEnumAccess().getPORTRAITEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15100:3: (enumLiteral_1= 'landscape' )
{
// InternalReportDSL.g:15100:3: (enumLiteral_1= 'landscape' )
// InternalReportDSL.g:15101:4: enumLiteral_1= 'landscape'
{
enumLiteral_1=(Token)match(input,212,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getOrientationEnumAccess().getLANDSCAPEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getOrientationEnumAccess().getLANDSCAPEEnumLiteralDeclaration_1());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOrientationEnum"
// $ANTLR start "ruleFontStyleEnum"
// InternalReportDSL.g:15111:1: ruleFontStyleEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'normal' ) | (enumLiteral_1= 'italic' ) | (enumLiteral_2= 'oblique' ) ) ;
public final Enumerator ruleFontStyleEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15117:2: ( ( (enumLiteral_0= 'normal' ) | (enumLiteral_1= 'italic' ) | (enumLiteral_2= 'oblique' ) ) )
// InternalReportDSL.g:15118:2: ( (enumLiteral_0= 'normal' ) | (enumLiteral_1= 'italic' ) | (enumLiteral_2= 'oblique' ) )
{
// InternalReportDSL.g:15118:2: ( (enumLiteral_0= 'normal' ) | (enumLiteral_1= 'italic' ) | (enumLiteral_2= 'oblique' ) )
int alt236=3;
switch ( input.LA(1) ) {
case 213:
{
alt236=1;
}
break;
case 214:
{
alt236=2;
}
break;
case 215:
{
alt236=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 236, 0, input);
throw nvae;
}
switch (alt236) {
case 1 :
// InternalReportDSL.g:15119:3: (enumLiteral_0= 'normal' )
{
// InternalReportDSL.g:15119:3: (enumLiteral_0= 'normal' )
// InternalReportDSL.g:15120:4: enumLiteral_0= 'normal'
{
enumLiteral_0=(Token)match(input,213,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getFontStyleEnumAccess().getNORMALEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getFontStyleEnumAccess().getNORMALEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15127:3: (enumLiteral_1= 'italic' )
{
// InternalReportDSL.g:15127:3: (enumLiteral_1= 'italic' )
// InternalReportDSL.g:15128:4: enumLiteral_1= 'italic'
{
enumLiteral_1=(Token)match(input,214,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getFontStyleEnumAccess().getITALICEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getFontStyleEnumAccess().getITALICEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15135:3: (enumLiteral_2= 'oblique' )
{
// InternalReportDSL.g:15135:3: (enumLiteral_2= 'oblique' )
// InternalReportDSL.g:15136:4: enumLiteral_2= 'oblique'
{
enumLiteral_2=(Token)match(input,215,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getFontStyleEnumAccess().getOBLIQUEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getFontStyleEnumAccess().getOBLIQUEEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFontStyleEnum"
// $ANTLR start "ruleBuildInFontFamilyEnum"
// InternalReportDSL.g:15146:1: ruleBuildInFontFamilyEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'monospace' ) | (enumLiteral_1= 'sans-serif' ) | (enumLiteral_2= 'serif' ) ) ;
public final Enumerator ruleBuildInFontFamilyEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15152:2: ( ( (enumLiteral_0= 'monospace' ) | (enumLiteral_1= 'sans-serif' ) | (enumLiteral_2= 'serif' ) ) )
// InternalReportDSL.g:15153:2: ( (enumLiteral_0= 'monospace' ) | (enumLiteral_1= 'sans-serif' ) | (enumLiteral_2= 'serif' ) )
{
// InternalReportDSL.g:15153:2: ( (enumLiteral_0= 'monospace' ) | (enumLiteral_1= 'sans-serif' ) | (enumLiteral_2= 'serif' ) )
int alt237=3;
switch ( input.LA(1) ) {
case 216:
{
alt237=1;
}
break;
case 217:
{
alt237=2;
}
break;
case 218:
{
alt237=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 237, 0, input);
throw nvae;
}
switch (alt237) {
case 1 :
// InternalReportDSL.g:15154:3: (enumLiteral_0= 'monospace' )
{
// InternalReportDSL.g:15154:3: (enumLiteral_0= 'monospace' )
// InternalReportDSL.g:15155:4: enumLiteral_0= 'monospace'
{
enumLiteral_0=(Token)match(input,216,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBuildInFontFamilyEnumAccess().getMONOSPACEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getBuildInFontFamilyEnumAccess().getMONOSPACEEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15162:3: (enumLiteral_1= 'sans-serif' )
{
// InternalReportDSL.g:15162:3: (enumLiteral_1= 'sans-serif' )
// InternalReportDSL.g:15163:4: enumLiteral_1= 'sans-serif'
{
enumLiteral_1=(Token)match(input,217,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBuildInFontFamilyEnumAccess().getSANS_SERIFEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getBuildInFontFamilyEnumAccess().getSANS_SERIFEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15170:3: (enumLiteral_2= 'serif' )
{
// InternalReportDSL.g:15170:3: (enumLiteral_2= 'serif' )
// InternalReportDSL.g:15171:4: enumLiteral_2= 'serif'
{
enumLiteral_2=(Token)match(input,218,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBuildInFontFamilyEnumAccess().getSERIFEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getBuildInFontFamilyEnumAccess().getSERIFEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBuildInFontFamilyEnum"
// $ANTLR start "ruleTextAlignEnum"
// InternalReportDSL.g:15181:1: ruleTextAlignEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'left' ) | (enumLiteral_1= 'center' ) | (enumLiteral_2= 'right' ) ) ;
public final Enumerator ruleTextAlignEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15187:2: ( ( (enumLiteral_0= 'left' ) | (enumLiteral_1= 'center' ) | (enumLiteral_2= 'right' ) ) )
// InternalReportDSL.g:15188:2: ( (enumLiteral_0= 'left' ) | (enumLiteral_1= 'center' ) | (enumLiteral_2= 'right' ) )
{
// InternalReportDSL.g:15188:2: ( (enumLiteral_0= 'left' ) | (enumLiteral_1= 'center' ) | (enumLiteral_2= 'right' ) )
int alt238=3;
switch ( input.LA(1) ) {
case 219:
{
alt238=1;
}
break;
case 220:
{
alt238=2;
}
break;
case 221:
{
alt238=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 238, 0, input);
throw nvae;
}
switch (alt238) {
case 1 :
// InternalReportDSL.g:15189:3: (enumLiteral_0= 'left' )
{
// InternalReportDSL.g:15189:3: (enumLiteral_0= 'left' )
// InternalReportDSL.g:15190:4: enumLiteral_0= 'left'
{
enumLiteral_0=(Token)match(input,219,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTextAlignEnumAccess().getLEFTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getTextAlignEnumAccess().getLEFTEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15197:3: (enumLiteral_1= 'center' )
{
// InternalReportDSL.g:15197:3: (enumLiteral_1= 'center' )
// InternalReportDSL.g:15198:4: enumLiteral_1= 'center'
{
enumLiteral_1=(Token)match(input,220,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTextAlignEnumAccess().getCENTEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getTextAlignEnumAccess().getCENTEREnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15205:3: (enumLiteral_2= 'right' )
{
// InternalReportDSL.g:15205:3: (enumLiteral_2= 'right' )
// InternalReportDSL.g:15206:4: enumLiteral_2= 'right'
{
enumLiteral_2=(Token)match(input,221,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTextAlignEnumAccess().getRIGHTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getTextAlignEnumAccess().getRIGHTEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTextAlignEnum"
// $ANTLR start "ruleNumberFormatCategoryEnum"
// InternalReportDSL.g:15216:1: ruleNumberFormatCategoryEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'general-number' ) | (enumLiteral_2= 'fixed' ) | (enumLiteral_3= 'percent' ) | (enumLiteral_4= 'scientific' ) | (enumLiteral_5= 'custom' ) ) ;
public final Enumerator ruleNumberFormatCategoryEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
enterRule();
try {
// InternalReportDSL.g:15222:2: ( ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'general-number' ) | (enumLiteral_2= 'fixed' ) | (enumLiteral_3= 'percent' ) | (enumLiteral_4= 'scientific' ) | (enumLiteral_5= 'custom' ) ) )
// InternalReportDSL.g:15223:2: ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'general-number' ) | (enumLiteral_2= 'fixed' ) | (enumLiteral_3= 'percent' ) | (enumLiteral_4= 'scientific' ) | (enumLiteral_5= 'custom' ) )
{
// InternalReportDSL.g:15223:2: ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'general-number' ) | (enumLiteral_2= 'fixed' ) | (enumLiteral_3= 'percent' ) | (enumLiteral_4= 'scientific' ) | (enumLiteral_5= 'custom' ) )
int alt239=6;
switch ( input.LA(1) ) {
case 222:
{
alt239=1;
}
break;
case 223:
{
alt239=2;
}
break;
case 224:
{
alt239=3;
}
break;
case 225:
{
alt239=4;
}
break;
case 226:
{
alt239=5;
}
break;
case 227:
{
alt239=6;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 239, 0, input);
throw nvae;
}
switch (alt239) {
case 1 :
// InternalReportDSL.g:15224:3: (enumLiteral_0= 'unformatted' )
{
// InternalReportDSL.g:15224:3: (enumLiteral_0= 'unformatted' )
// InternalReportDSL.g:15225:4: enumLiteral_0= 'unformatted'
{
enumLiteral_0=(Token)match(input,222,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getNumberFormatCategoryEnumAccess().getUNFORMATTEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getNumberFormatCategoryEnumAccess().getUNFORMATTEDEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15232:3: (enumLiteral_1= 'general-number' )
{
// InternalReportDSL.g:15232:3: (enumLiteral_1= 'general-number' )
// InternalReportDSL.g:15233:4: enumLiteral_1= 'general-number'
{
enumLiteral_1=(Token)match(input,223,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getNumberFormatCategoryEnumAccess().getGENERAL_NUMBEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getNumberFormatCategoryEnumAccess().getGENERAL_NUMBEREnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15240:3: (enumLiteral_2= 'fixed' )
{
// InternalReportDSL.g:15240:3: (enumLiteral_2= 'fixed' )
// InternalReportDSL.g:15241:4: enumLiteral_2= 'fixed'
{
enumLiteral_2=(Token)match(input,224,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getNumberFormatCategoryEnumAccess().getFIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getNumberFormatCategoryEnumAccess().getFIXEDEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:15248:3: (enumLiteral_3= 'percent' )
{
// InternalReportDSL.g:15248:3: (enumLiteral_3= 'percent' )
// InternalReportDSL.g:15249:4: enumLiteral_3= 'percent'
{
enumLiteral_3=(Token)match(input,225,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getNumberFormatCategoryEnumAccess().getPERCENTEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getNumberFormatCategoryEnumAccess().getPERCENTEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:15256:3: (enumLiteral_4= 'scientific' )
{
// InternalReportDSL.g:15256:3: (enumLiteral_4= 'scientific' )
// InternalReportDSL.g:15257:4: enumLiteral_4= 'scientific'
{
enumLiteral_4=(Token)match(input,226,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getNumberFormatCategoryEnumAccess().getSCIENTIFICEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getNumberFormatCategoryEnumAccess().getSCIENTIFICEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalReportDSL.g:15264:3: (enumLiteral_5= 'custom' )
{
// InternalReportDSL.g:15264:3: (enumLiteral_5= 'custom' )
// InternalReportDSL.g:15265:4: enumLiteral_5= 'custom'
{
enumLiteral_5=(Token)match(input,227,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getNumberFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getNumberFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration_5());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleNumberFormatCategoryEnum"
// $ANTLR start "ruleCurrencyFormatCategoryEnum"
// InternalReportDSL.g:15275:1: ruleCurrencyFormatCategoryEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'currency' ) | (enumLiteral_2= 'custom' ) ) ;
public final Enumerator ruleCurrencyFormatCategoryEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15281:2: ( ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'currency' ) | (enumLiteral_2= 'custom' ) ) )
// InternalReportDSL.g:15282:2: ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'currency' ) | (enumLiteral_2= 'custom' ) )
{
// InternalReportDSL.g:15282:2: ( (enumLiteral_0= 'unformatted' ) | (enumLiteral_1= 'currency' ) | (enumLiteral_2= 'custom' ) )
int alt240=3;
switch ( input.LA(1) ) {
case 222:
{
alt240=1;
}
break;
case 65:
{
alt240=2;
}
break;
case 227:
{
alt240=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 240, 0, input);
throw nvae;
}
switch (alt240) {
case 1 :
// InternalReportDSL.g:15283:3: (enumLiteral_0= 'unformatted' )
{
// InternalReportDSL.g:15283:3: (enumLiteral_0= 'unformatted' )
// InternalReportDSL.g:15284:4: enumLiteral_0= 'unformatted'
{
enumLiteral_0=(Token)match(input,222,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCurrencyFormatCategoryEnumAccess().getUNFORMATTEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getCurrencyFormatCategoryEnumAccess().getUNFORMATTEDEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15291:3: (enumLiteral_1= 'currency' )
{
// InternalReportDSL.g:15291:3: (enumLiteral_1= 'currency' )
// InternalReportDSL.g:15292:4: enumLiteral_1= 'currency'
{
enumLiteral_1=(Token)match(input,65,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCurrencyFormatCategoryEnumAccess().getCURRENCYEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getCurrencyFormatCategoryEnumAccess().getCURRENCYEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15299:3: (enumLiteral_2= 'custom' )
{
// InternalReportDSL.g:15299:3: (enumLiteral_2= 'custom' )
// InternalReportDSL.g:15300:4: enumLiteral_2= 'custom'
{
enumLiteral_2=(Token)match(input,227,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getCurrencyFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getCurrencyFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCurrencyFormatCategoryEnum"
// $ANTLR start "ruleDateFormatCategoryEnum"
// InternalReportDSL.g:15310:1: ruleDateFormatCategoryEnum returns [Enumerator current=null] : (enumLiteral_0= 'custom' ) ;
public final Enumerator ruleDateFormatCategoryEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
enterRule();
try {
// InternalReportDSL.g:15316:2: ( (enumLiteral_0= 'custom' ) )
// InternalReportDSL.g:15317:2: (enumLiteral_0= 'custom' )
{
// InternalReportDSL.g:15317:2: (enumLiteral_0= 'custom' )
// InternalReportDSL.g:15318:3: enumLiteral_0= 'custom'
{
enumLiteral_0=(Token)match(input,227,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getDateFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getDateFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDateFormatCategoryEnum"
// $ANTLR start "ruleDateTimeFormatCategoryEnum"
// InternalReportDSL.g:15327:1: ruleDateTimeFormatCategoryEnum returns [Enumerator current=null] : (enumLiteral_0= 'custom' ) ;
public final Enumerator ruleDateTimeFormatCategoryEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
enterRule();
try {
// InternalReportDSL.g:15333:2: ( (enumLiteral_0= 'custom' ) )
// InternalReportDSL.g:15334:2: (enumLiteral_0= 'custom' )
{
// InternalReportDSL.g:15334:2: (enumLiteral_0= 'custom' )
// InternalReportDSL.g:15335:3: enumLiteral_0= 'custom'
{
enumLiteral_0=(Token)match(input,227,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getDateTimeFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getDateTimeFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDateTimeFormatCategoryEnum"
// $ANTLR start "ruleTimeFormatCategoryEnum"
// InternalReportDSL.g:15344:1: ruleTimeFormatCategoryEnum returns [Enumerator current=null] : (enumLiteral_0= 'custom' ) ;
public final Enumerator ruleTimeFormatCategoryEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
enterRule();
try {
// InternalReportDSL.g:15350:2: ( (enumLiteral_0= 'custom' ) )
// InternalReportDSL.g:15351:2: (enumLiteral_0= 'custom' )
{
// InternalReportDSL.g:15351:2: (enumLiteral_0= 'custom' )
// InternalReportDSL.g:15352:3: enumLiteral_0= 'custom'
{
enumLiteral_0=(Token)match(input,227,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTimeFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getTimeFormatCategoryEnumAccess().getCUSTOMEnumLiteralDeclaration());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTimeFormatCategoryEnum"
// $ANTLR start "ruleRenderingEnum"
// InternalReportDSL.g:15361:1: ruleRenderingEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'html' ) | (enumLiteral_1= 'pdf' ) ) ;
public final Enumerator ruleRenderingEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
enterRule();
try {
// InternalReportDSL.g:15367:2: ( ( (enumLiteral_0= 'html' ) | (enumLiteral_1= 'pdf' ) ) )
// InternalReportDSL.g:15368:2: ( (enumLiteral_0= 'html' ) | (enumLiteral_1= 'pdf' ) )
{
// InternalReportDSL.g:15368:2: ( (enumLiteral_0= 'html' ) | (enumLiteral_1= 'pdf' ) )
int alt241=2;
int LA241_0 = input.LA(1);
if ( (LA241_0==228) ) {
alt241=1;
}
else if ( (LA241_0==229) ) {
alt241=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 241, 0, input);
throw nvae;
}
switch (alt241) {
case 1 :
// InternalReportDSL.g:15369:3: (enumLiteral_0= 'html' )
{
// InternalReportDSL.g:15369:3: (enumLiteral_0= 'html' )
// InternalReportDSL.g:15370:4: enumLiteral_0= 'html'
{
enumLiteral_0=(Token)match(input,228,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getRenderingEnumAccess().getHTMLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getRenderingEnumAccess().getHTMLEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15377:3: (enumLiteral_1= 'pdf' )
{
// InternalReportDSL.g:15377:3: (enumLiteral_1= 'pdf' )
// InternalReportDSL.g:15378:4: enumLiteral_1= 'pdf'
{
enumLiteral_1=(Token)match(input,229,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getRenderingEnumAccess().getPDFEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getRenderingEnumAccess().getPDFEnumLiteralDeclaration_1());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleRenderingEnum"
// $ANTLR start "rulePureAggregationTypeEnum"
// InternalReportDSL.g:15388:1: rulePureAggregationTypeEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'count' ) | (enumLiteral_1= 'running-count' ) ) ;
public final Enumerator rulePureAggregationTypeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
enterRule();
try {
// InternalReportDSL.g:15394:2: ( ( (enumLiteral_0= 'count' ) | (enumLiteral_1= 'running-count' ) ) )
// InternalReportDSL.g:15395:2: ( (enumLiteral_0= 'count' ) | (enumLiteral_1= 'running-count' ) )
{
// InternalReportDSL.g:15395:2: ( (enumLiteral_0= 'count' ) | (enumLiteral_1= 'running-count' ) )
int alt242=2;
int LA242_0 = input.LA(1);
if ( (LA242_0==230) ) {
alt242=1;
}
else if ( (LA242_0==231) ) {
alt242=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 242, 0, input);
throw nvae;
}
switch (alt242) {
case 1 :
// InternalReportDSL.g:15396:3: (enumLiteral_0= 'count' )
{
// InternalReportDSL.g:15396:3: (enumLiteral_0= 'count' )
// InternalReportDSL.g:15397:4: enumLiteral_0= 'count'
{
enumLiteral_0=(Token)match(input,230,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPureAggregationTypeEnumAccess().getCOUNTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getPureAggregationTypeEnumAccess().getCOUNTEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15404:3: (enumLiteral_1= 'running-count' )
{
// InternalReportDSL.g:15404:3: (enumLiteral_1= 'running-count' )
// InternalReportDSL.g:15405:4: enumLiteral_1= 'running-count'
{
enumLiteral_1=(Token)match(input,231,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getPureAggregationTypeEnumAccess().getRUNNINGCOUNTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getPureAggregationTypeEnumAccess().getRUNNINGCOUNTEnumLiteralDeclaration_1());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePureAggregationTypeEnum"
// $ANTLR start "ruleUnaryAggregationTypeEnum"
// InternalReportDSL.g:15415:1: ruleUnaryAggregationTypeEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'average' ) | (enumLiteral_2= 'minimum' ) | (enumLiteral_3= 'maximum' ) | (enumLiteral_4= 'running-sum' ) ) ;
public final Enumerator ruleUnaryAggregationTypeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
enterRule();
try {
// InternalReportDSL.g:15421:2: ( ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'average' ) | (enumLiteral_2= 'minimum' ) | (enumLiteral_3= 'maximum' ) | (enumLiteral_4= 'running-sum' ) ) )
// InternalReportDSL.g:15422:2: ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'average' ) | (enumLiteral_2= 'minimum' ) | (enumLiteral_3= 'maximum' ) | (enumLiteral_4= 'running-sum' ) )
{
// InternalReportDSL.g:15422:2: ( (enumLiteral_0= 'sum' ) | (enumLiteral_1= 'average' ) | (enumLiteral_2= 'minimum' ) | (enumLiteral_3= 'maximum' ) | (enumLiteral_4= 'running-sum' ) )
int alt243=5;
switch ( input.LA(1) ) {
case 232:
{
alt243=1;
}
break;
case 233:
{
alt243=2;
}
break;
case 234:
{
alt243=3;
}
break;
case 235:
{
alt243=4;
}
break;
case 236:
{
alt243=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 243, 0, input);
throw nvae;
}
switch (alt243) {
case 1 :
// InternalReportDSL.g:15423:3: (enumLiteral_0= 'sum' )
{
// InternalReportDSL.g:15423:3: (enumLiteral_0= 'sum' )
// InternalReportDSL.g:15424:4: enumLiteral_0= 'sum'
{
enumLiteral_0=(Token)match(input,232,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnaryAggregationTypeEnumAccess().getSUMEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getUnaryAggregationTypeEnumAccess().getSUMEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15431:3: (enumLiteral_1= 'average' )
{
// InternalReportDSL.g:15431:3: (enumLiteral_1= 'average' )
// InternalReportDSL.g:15432:4: enumLiteral_1= 'average'
{
enumLiteral_1=(Token)match(input,233,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnaryAggregationTypeEnumAccess().getAVEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getUnaryAggregationTypeEnumAccess().getAVEEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15439:3: (enumLiteral_2= 'minimum' )
{
// InternalReportDSL.g:15439:3: (enumLiteral_2= 'minimum' )
// InternalReportDSL.g:15440:4: enumLiteral_2= 'minimum'
{
enumLiteral_2=(Token)match(input,234,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnaryAggregationTypeEnumAccess().getMINEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getUnaryAggregationTypeEnumAccess().getMINEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:15447:3: (enumLiteral_3= 'maximum' )
{
// InternalReportDSL.g:15447:3: (enumLiteral_3= 'maximum' )
// InternalReportDSL.g:15448:4: enumLiteral_3= 'maximum'
{
enumLiteral_3=(Token)match(input,235,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnaryAggregationTypeEnumAccess().getMAXEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getUnaryAggregationTypeEnumAccess().getMAXEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:15455:3: (enumLiteral_4= 'running-sum' )
{
// InternalReportDSL.g:15455:3: (enumLiteral_4= 'running-sum' )
// InternalReportDSL.g:15456:4: enumLiteral_4= 'running-sum'
{
enumLiteral_4=(Token)match(input,236,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getUnaryAggregationTypeEnumAccess().getRUNNINGSUMEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getUnaryAggregationTypeEnumAccess().getRUNNINGSUMEnumLiteralDeclaration_4());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUnaryAggregationTypeEnum"
// $ANTLR start "ruleBinaryAggregationTypeEnum"
// InternalReportDSL.g:15466:1: ruleBinaryAggregationTypeEnum returns [Enumerator current=null] : (enumLiteral_0= 'divide' ) ;
public final Enumerator ruleBinaryAggregationTypeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
enterRule();
try {
// InternalReportDSL.g:15472:2: ( (enumLiteral_0= 'divide' ) )
// InternalReportDSL.g:15473:2: (enumLiteral_0= 'divide' )
{
// InternalReportDSL.g:15473:2: (enumLiteral_0= 'divide' )
// InternalReportDSL.g:15474:3: enumLiteral_0= 'divide'
{
enumLiteral_0=(Token)match(input,237,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBinaryAggregationTypeEnumAccess().getDIVEnumLiteralDeclaration().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getBinaryAggregationTypeEnumAccess().getDIVEnumLiteralDeclaration());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBinaryAggregationTypeEnum"
// $ANTLR start "ruleMultipleAggregationTypeEnum"
// InternalReportDSL.g:15483:1: ruleMultipleAggregationTypeEnum returns [Enumerator current=null] : (enumLiteral_0= 'concat' ) ;
public final Enumerator ruleMultipleAggregationTypeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
enterRule();
try {
// InternalReportDSL.g:15489:2: ( (enumLiteral_0= 'concat' ) )
// InternalReportDSL.g:15490:2: (enumLiteral_0= 'concat' )
{
// InternalReportDSL.g:15490:2: (enumLiteral_0= 'concat' )
// InternalReportDSL.g:15491:3: enumLiteral_0= 'concat'
{
enumLiteral_0=(Token)match(input,238,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getMultipleAggregationTypeEnumAccess().getCONCATENATEEnumLiteralDeclaration().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getMultipleAggregationTypeEnumAccess().getCONCATENATEEnumLiteralDeclaration());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleMultipleAggregationTypeEnum"
// $ANTLR start "ruleBeforeAfterPageBreakEnum"
// InternalReportDSL.g:15500:1: ruleBeforeAfterPageBreakEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'always' ) | (enumLiteral_2= 'avoid' ) ) ;
public final Enumerator ruleBeforeAfterPageBreakEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15506:2: ( ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'always' ) | (enumLiteral_2= 'avoid' ) ) )
// InternalReportDSL.g:15507:2: ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'always' ) | (enumLiteral_2= 'avoid' ) )
{
// InternalReportDSL.g:15507:2: ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'always' ) | (enumLiteral_2= 'avoid' ) )
int alt244=3;
switch ( input.LA(1) ) {
case 239:
{
alt244=1;
}
break;
case 240:
{
alt244=2;
}
break;
case 241:
{
alt244=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 244, 0, input);
throw nvae;
}
switch (alt244) {
case 1 :
// InternalReportDSL.g:15508:3: (enumLiteral_0= 'auto' )
{
// InternalReportDSL.g:15508:3: (enumLiteral_0= 'auto' )
// InternalReportDSL.g:15509:4: enumLiteral_0= 'auto'
{
enumLiteral_0=(Token)match(input,239,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBeforeAfterPageBreakEnumAccess().getAUTOEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getBeforeAfterPageBreakEnumAccess().getAUTOEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15516:3: (enumLiteral_1= 'always' )
{
// InternalReportDSL.g:15516:3: (enumLiteral_1= 'always' )
// InternalReportDSL.g:15517:4: enumLiteral_1= 'always'
{
enumLiteral_1=(Token)match(input,240,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBeforeAfterPageBreakEnumAccess().getALWAYSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getBeforeAfterPageBreakEnumAccess().getALWAYSEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15524:3: (enumLiteral_2= 'avoid' )
{
// InternalReportDSL.g:15524:3: (enumLiteral_2= 'avoid' )
// InternalReportDSL.g:15525:4: enumLiteral_2= 'avoid'
{
enumLiteral_2=(Token)match(input,241,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBeforeAfterPageBreakEnumAccess().getAVOIDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getBeforeAfterPageBreakEnumAccess().getAVOIDEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBeforeAfterPageBreakEnum"
// $ANTLR start "ruleInsidePageBreakEnum"
// InternalReportDSL.g:15535:1: ruleInsidePageBreakEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'avoid' ) ) ;
public final Enumerator ruleInsidePageBreakEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
enterRule();
try {
// InternalReportDSL.g:15541:2: ( ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'avoid' ) ) )
// InternalReportDSL.g:15542:2: ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'avoid' ) )
{
// InternalReportDSL.g:15542:2: ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'avoid' ) )
int alt245=2;
int LA245_0 = input.LA(1);
if ( (LA245_0==239) ) {
alt245=1;
}
else if ( (LA245_0==241) ) {
alt245=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 245, 0, input);
throw nvae;
}
switch (alt245) {
case 1 :
// InternalReportDSL.g:15543:3: (enumLiteral_0= 'auto' )
{
// InternalReportDSL.g:15543:3: (enumLiteral_0= 'auto' )
// InternalReportDSL.g:15544:4: enumLiteral_0= 'auto'
{
enumLiteral_0=(Token)match(input,239,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getInsidePageBreakEnumAccess().getAUTOEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getInsidePageBreakEnumAccess().getAUTOEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15551:3: (enumLiteral_1= 'avoid' )
{
// InternalReportDSL.g:15551:3: (enumLiteral_1= 'avoid' )
// InternalReportDSL.g:15552:4: enumLiteral_1= 'avoid'
{
enumLiteral_1=(Token)match(input,241,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getInsidePageBreakEnumAccess().getAVOIDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getInsidePageBreakEnumAccess().getAVOIDEnumLiteralDeclaration_1());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleInsidePageBreakEnum"
// $ANTLR start "ruleTrendIconEnum"
// InternalReportDSL.g:15562:1: ruleTrendIconEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'rising' ) | (enumLiteral_1= 'bad-rising' ) | (enumLiteral_2= 'sloping' ) | (enumLiteral_3= 'good-sloping' ) | (enumLiteral_4= 'stagnating' ) ) ;
public final Enumerator ruleTrendIconEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
enterRule();
try {
// InternalReportDSL.g:15568:2: ( ( (enumLiteral_0= 'rising' ) | (enumLiteral_1= 'bad-rising' ) | (enumLiteral_2= 'sloping' ) | (enumLiteral_3= 'good-sloping' ) | (enumLiteral_4= 'stagnating' ) ) )
// InternalReportDSL.g:15569:2: ( (enumLiteral_0= 'rising' ) | (enumLiteral_1= 'bad-rising' ) | (enumLiteral_2= 'sloping' ) | (enumLiteral_3= 'good-sloping' ) | (enumLiteral_4= 'stagnating' ) )
{
// InternalReportDSL.g:15569:2: ( (enumLiteral_0= 'rising' ) | (enumLiteral_1= 'bad-rising' ) | (enumLiteral_2= 'sloping' ) | (enumLiteral_3= 'good-sloping' ) | (enumLiteral_4= 'stagnating' ) )
int alt246=5;
switch ( input.LA(1) ) {
case 242:
{
alt246=1;
}
break;
case 243:
{
alt246=2;
}
break;
case 244:
{
alt246=3;
}
break;
case 245:
{
alt246=4;
}
break;
case 246:
{
alt246=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 246, 0, input);
throw nvae;
}
switch (alt246) {
case 1 :
// InternalReportDSL.g:15570:3: (enumLiteral_0= 'rising' )
{
// InternalReportDSL.g:15570:3: (enumLiteral_0= 'rising' )
// InternalReportDSL.g:15571:4: enumLiteral_0= 'rising'
{
enumLiteral_0=(Token)match(input,242,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTrendIconEnumAccess().getRISINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getTrendIconEnumAccess().getRISINGEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15578:3: (enumLiteral_1= 'bad-rising' )
{
// InternalReportDSL.g:15578:3: (enumLiteral_1= 'bad-rising' )
// InternalReportDSL.g:15579:4: enumLiteral_1= 'bad-rising'
{
enumLiteral_1=(Token)match(input,243,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTrendIconEnumAccess().getBADRISINGEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getTrendIconEnumAccess().getBADRISINGEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15586:3: (enumLiteral_2= 'sloping' )
{
// InternalReportDSL.g:15586:3: (enumLiteral_2= 'sloping' )
// InternalReportDSL.g:15587:4: enumLiteral_2= 'sloping'
{
enumLiteral_2=(Token)match(input,244,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTrendIconEnumAccess().getSLOPINGEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getTrendIconEnumAccess().getSLOPINGEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:15594:3: (enumLiteral_3= 'good-sloping' )
{
// InternalReportDSL.g:15594:3: (enumLiteral_3= 'good-sloping' )
// InternalReportDSL.g:15595:4: enumLiteral_3= 'good-sloping'
{
enumLiteral_3=(Token)match(input,245,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTrendIconEnumAccess().getGOODSLOPINGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getTrendIconEnumAccess().getGOODSLOPINGEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:15602:3: (enumLiteral_4= 'stagnating' )
{
// InternalReportDSL.g:15602:3: (enumLiteral_4= 'stagnating' )
// InternalReportDSL.g:15603:4: enumLiteral_4= 'stagnating'
{
enumLiteral_4=(Token)match(input,246,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTrendIconEnumAccess().getSTAGNATINGEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getTrendIconEnumAccess().getSTAGNATINGEnumLiteralDeclaration_4());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTrendIconEnum"
// $ANTLR start "ruleBorderTypeEnum"
// InternalReportDSL.g:15613:1: ruleBorderTypeEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'solid' ) | (enumLiteral_2= 'dotted' ) | (enumLiteral_3= 'dashed' ) | (enumLiteral_4= 'double' ) | (enumLiteral_5= 'groove' ) | (enumLiteral_6= 'ridge' ) | (enumLiteral_7= 'inset' ) | (enumLiteral_8= 'outset' ) ) ;
public final Enumerator ruleBorderTypeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
Token enumLiteral_6=null;
Token enumLiteral_7=null;
Token enumLiteral_8=null;
enterRule();
try {
// InternalReportDSL.g:15619:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'solid' ) | (enumLiteral_2= 'dotted' ) | (enumLiteral_3= 'dashed' ) | (enumLiteral_4= 'double' ) | (enumLiteral_5= 'groove' ) | (enumLiteral_6= 'ridge' ) | (enumLiteral_7= 'inset' ) | (enumLiteral_8= 'outset' ) ) )
// InternalReportDSL.g:15620:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'solid' ) | (enumLiteral_2= 'dotted' ) | (enumLiteral_3= 'dashed' ) | (enumLiteral_4= 'double' ) | (enumLiteral_5= 'groove' ) | (enumLiteral_6= 'ridge' ) | (enumLiteral_7= 'inset' ) | (enumLiteral_8= 'outset' ) )
{
// InternalReportDSL.g:15620:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'solid' ) | (enumLiteral_2= 'dotted' ) | (enumLiteral_3= 'dashed' ) | (enumLiteral_4= 'double' ) | (enumLiteral_5= 'groove' ) | (enumLiteral_6= 'ridge' ) | (enumLiteral_7= 'inset' ) | (enumLiteral_8= 'outset' ) )
int alt247=9;
switch ( input.LA(1) ) {
case 247:
{
alt247=1;
}
break;
case 248:
{
alt247=2;
}
break;
case 249:
{
alt247=3;
}
break;
case 250:
{
alt247=4;
}
break;
case 251:
{
alt247=5;
}
break;
case 252:
{
alt247=6;
}
break;
case 253:
{
alt247=7;
}
break;
case 254:
{
alt247=8;
}
break;
case 255:
{
alt247=9;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 247, 0, input);
throw nvae;
}
switch (alt247) {
case 1 :
// InternalReportDSL.g:15621:3: (enumLiteral_0= 'none' )
{
// InternalReportDSL.g:15621:3: (enumLiteral_0= 'none' )
// InternalReportDSL.g:15622:4: enumLiteral_0= 'none'
{
enumLiteral_0=(Token)match(input,247,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getNONEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getBorderTypeEnumAccess().getNONEEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15629:3: (enumLiteral_1= 'solid' )
{
// InternalReportDSL.g:15629:3: (enumLiteral_1= 'solid' )
// InternalReportDSL.g:15630:4: enumLiteral_1= 'solid'
{
enumLiteral_1=(Token)match(input,248,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getSOLIDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getBorderTypeEnumAccess().getSOLIDEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15637:3: (enumLiteral_2= 'dotted' )
{
// InternalReportDSL.g:15637:3: (enumLiteral_2= 'dotted' )
// InternalReportDSL.g:15638:4: enumLiteral_2= 'dotted'
{
enumLiteral_2=(Token)match(input,249,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getDOTTEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getBorderTypeEnumAccess().getDOTTEDEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:15645:3: (enumLiteral_3= 'dashed' )
{
// InternalReportDSL.g:15645:3: (enumLiteral_3= 'dashed' )
// InternalReportDSL.g:15646:4: enumLiteral_3= 'dashed'
{
enumLiteral_3=(Token)match(input,250,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getDASHEDEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getBorderTypeEnumAccess().getDASHEDEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:15653:3: (enumLiteral_4= 'double' )
{
// InternalReportDSL.g:15653:3: (enumLiteral_4= 'double' )
// InternalReportDSL.g:15654:4: enumLiteral_4= 'double'
{
enumLiteral_4=(Token)match(input,251,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getDOUBLEEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getBorderTypeEnumAccess().getDOUBLEEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalReportDSL.g:15661:3: (enumLiteral_5= 'groove' )
{
// InternalReportDSL.g:15661:3: (enumLiteral_5= 'groove' )
// InternalReportDSL.g:15662:4: enumLiteral_5= 'groove'
{
enumLiteral_5=(Token)match(input,252,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getGROOVEEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getBorderTypeEnumAccess().getGROOVEEnumLiteralDeclaration_5());
}
}
}
break;
case 7 :
// InternalReportDSL.g:15669:3: (enumLiteral_6= 'ridge' )
{
// InternalReportDSL.g:15669:3: (enumLiteral_6= 'ridge' )
// InternalReportDSL.g:15670:4: enumLiteral_6= 'ridge'
{
enumLiteral_6=(Token)match(input,253,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getRIDGEEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_6, grammarAccess.getBorderTypeEnumAccess().getRIDGEEnumLiteralDeclaration_6());
}
}
}
break;
case 8 :
// InternalReportDSL.g:15677:3: (enumLiteral_7= 'inset' )
{
// InternalReportDSL.g:15677:3: (enumLiteral_7= 'inset' )
// InternalReportDSL.g:15678:4: enumLiteral_7= 'inset'
{
enumLiteral_7=(Token)match(input,254,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getINSETEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_7, grammarAccess.getBorderTypeEnumAccess().getINSETEnumLiteralDeclaration_7());
}
}
}
break;
case 9 :
// InternalReportDSL.g:15685:3: (enumLiteral_8= 'outset' )
{
// InternalReportDSL.g:15685:3: (enumLiteral_8= 'outset' )
// InternalReportDSL.g:15686:4: enumLiteral_8= 'outset'
{
enumLiteral_8=(Token)match(input,255,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getBorderTypeEnumAccess().getOUTSETEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_8, grammarAccess.getBorderTypeEnumAccess().getOUTSETEnumLiteralDeclaration_8());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleBorderTypeEnum"
// $ANTLR start "ruleAutoTextEnum"
// InternalReportDSL.g:15696:1: ruleAutoTextEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'page-number' ) | (enumLiteral_1= 'total-page' ) | (enumLiteral_2= 'page-number-unfiltered' ) | (enumLiteral_3= 'total-page-unfiltered' ) | (enumLiteral_4= 'page-variable' ) ) ;
public final Enumerator ruleAutoTextEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
enterRule();
try {
// InternalReportDSL.g:15702:2: ( ( (enumLiteral_0= 'page-number' ) | (enumLiteral_1= 'total-page' ) | (enumLiteral_2= 'page-number-unfiltered' ) | (enumLiteral_3= 'total-page-unfiltered' ) | (enumLiteral_4= 'page-variable' ) ) )
// InternalReportDSL.g:15703:2: ( (enumLiteral_0= 'page-number' ) | (enumLiteral_1= 'total-page' ) | (enumLiteral_2= 'page-number-unfiltered' ) | (enumLiteral_3= 'total-page-unfiltered' ) | (enumLiteral_4= 'page-variable' ) )
{
// InternalReportDSL.g:15703:2: ( (enumLiteral_0= 'page-number' ) | (enumLiteral_1= 'total-page' ) | (enumLiteral_2= 'page-number-unfiltered' ) | (enumLiteral_3= 'total-page-unfiltered' ) | (enumLiteral_4= 'page-variable' ) )
int alt248=5;
switch ( input.LA(1) ) {
case 256:
{
alt248=1;
}
break;
case 257:
{
alt248=2;
}
break;
case 258:
{
alt248=3;
}
break;
case 259:
{
alt248=4;
}
break;
case 260:
{
alt248=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 248, 0, input);
throw nvae;
}
switch (alt248) {
case 1 :
// InternalReportDSL.g:15704:3: (enumLiteral_0= 'page-number' )
{
// InternalReportDSL.g:15704:3: (enumLiteral_0= 'page-number' )
// InternalReportDSL.g:15705:4: enumLiteral_0= 'page-number'
{
enumLiteral_0=(Token)match(input,256,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getAutoTextEnumAccess().getPAGE_NUMBEREnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getAutoTextEnumAccess().getPAGE_NUMBEREnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15712:3: (enumLiteral_1= 'total-page' )
{
// InternalReportDSL.g:15712:3: (enumLiteral_1= 'total-page' )
// InternalReportDSL.g:15713:4: enumLiteral_1= 'total-page'
{
enumLiteral_1=(Token)match(input,257,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getAutoTextEnumAccess().getTOTAL_PAGEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getAutoTextEnumAccess().getTOTAL_PAGEEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15720:3: (enumLiteral_2= 'page-number-unfiltered' )
{
// InternalReportDSL.g:15720:3: (enumLiteral_2= 'page-number-unfiltered' )
// InternalReportDSL.g:15721:4: enumLiteral_2= 'page-number-unfiltered'
{
enumLiteral_2=(Token)match(input,258,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getAutoTextEnumAccess().getPAGE_NUMBER_UNFILTEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getAutoTextEnumAccess().getPAGE_NUMBER_UNFILTEREDEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalReportDSL.g:15728:3: (enumLiteral_3= 'total-page-unfiltered' )
{
// InternalReportDSL.g:15728:3: (enumLiteral_3= 'total-page-unfiltered' )
// InternalReportDSL.g:15729:4: enumLiteral_3= 'total-page-unfiltered'
{
enumLiteral_3=(Token)match(input,259,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getAutoTextEnumAccess().getTOTAL_PAGE_UNFILTEREDEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getAutoTextEnumAccess().getTOTAL_PAGE_UNFILTEREDEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalReportDSL.g:15736:3: (enumLiteral_4= 'page-variable' )
{
// InternalReportDSL.g:15736:3: (enumLiteral_4= 'page-variable' )
// InternalReportDSL.g:15737:4: enumLiteral_4= 'page-variable'
{
enumLiteral_4=(Token)match(input,260,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getAutoTextEnumAccess().getPAGE_VARIABLEEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getAutoTextEnumAccess().getPAGE_VARIABLEEnumLiteralDeclaration_4());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAutoTextEnum"
// $ANTLR start "ruleImageSizeEnum"
// InternalReportDSL.g:15747:1: ruleImageSizeEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'size-to-image' ) | (enumLiteral_1= 'scale-to-item' ) | (enumLiteral_2= 'clip' ) ) ;
public final Enumerator ruleImageSizeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15753:2: ( ( (enumLiteral_0= 'size-to-image' ) | (enumLiteral_1= 'scale-to-item' ) | (enumLiteral_2= 'clip' ) ) )
// InternalReportDSL.g:15754:2: ( (enumLiteral_0= 'size-to-image' ) | (enumLiteral_1= 'scale-to-item' ) | (enumLiteral_2= 'clip' ) )
{
// InternalReportDSL.g:15754:2: ( (enumLiteral_0= 'size-to-image' ) | (enumLiteral_1= 'scale-to-item' ) | (enumLiteral_2= 'clip' ) )
int alt249=3;
switch ( input.LA(1) ) {
case 261:
{
alt249=1;
}
break;
case 262:
{
alt249=2;
}
break;
case 263:
{
alt249=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 249, 0, input);
throw nvae;
}
switch (alt249) {
case 1 :
// InternalReportDSL.g:15755:3: (enumLiteral_0= 'size-to-image' )
{
// InternalReportDSL.g:15755:3: (enumLiteral_0= 'size-to-image' )
// InternalReportDSL.g:15756:4: enumLiteral_0= 'size-to-image'
{
enumLiteral_0=(Token)match(input,261,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getImageSizeEnumAccess().getSIZE_TO_IMAGEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getImageSizeEnumAccess().getSIZE_TO_IMAGEEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15763:3: (enumLiteral_1= 'scale-to-item' )
{
// InternalReportDSL.g:15763:3: (enumLiteral_1= 'scale-to-item' )
// InternalReportDSL.g:15764:4: enumLiteral_1= 'scale-to-item'
{
enumLiteral_1=(Token)match(input,262,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getImageSizeEnumAccess().getSCALE_TO_ITEMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getImageSizeEnumAccess().getSCALE_TO_ITEMEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15771:3: (enumLiteral_2= 'clip' )
{
// InternalReportDSL.g:15771:3: (enumLiteral_2= 'clip' )
// InternalReportDSL.g:15772:4: enumLiteral_2= 'clip'
{
enumLiteral_2=(Token)match(input,263,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getImageSizeEnumAccess().getCLIPEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getImageSizeEnumAccess().getCLIPEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleImageSizeEnum"
// $ANTLR start "ruleImageSourceEnum"
// InternalReportDSL.g:15782:1: ruleImageSourceEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'url' ) | (enumLiteral_1= 'embed' ) ) ;
public final Enumerator ruleImageSourceEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
enterRule();
try {
// InternalReportDSL.g:15788:2: ( ( (enumLiteral_0= 'url' ) | (enumLiteral_1= 'embed' ) ) )
// InternalReportDSL.g:15789:2: ( (enumLiteral_0= 'url' ) | (enumLiteral_1= 'embed' ) )
{
// InternalReportDSL.g:15789:2: ( (enumLiteral_0= 'url' ) | (enumLiteral_1= 'embed' ) )
int alt250=2;
int LA250_0 = input.LA(1);
if ( (LA250_0==264) ) {
alt250=1;
}
else if ( (LA250_0==265) ) {
alt250=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 250, 0, input);
throw nvae;
}
switch (alt250) {
case 1 :
// InternalReportDSL.g:15790:3: (enumLiteral_0= 'url' )
{
// InternalReportDSL.g:15790:3: (enumLiteral_0= 'url' )
// InternalReportDSL.g:15791:4: enumLiteral_0= 'url'
{
enumLiteral_0=(Token)match(input,264,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getImageSourceEnumAccess().getURLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getImageSourceEnumAccess().getURLEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15798:3: (enumLiteral_1= 'embed' )
{
// InternalReportDSL.g:15798:3: (enumLiteral_1= 'embed' )
// InternalReportDSL.g:15799:4: enumLiteral_1= 'embed'
{
enumLiteral_1=(Token)match(input,265,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getImageSourceEnumAccess().getEMBEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getImageSourceEnumAccess().getEMBEDEnumLiteralDeclaration_1());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleImageSourceEnum"
// $ANTLR start "ruleTextContentTypeEnum"
// InternalReportDSL.g:15809:1: ruleTextContentTypeEnum returns [Enumerator current=null] : ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'plain' ) | (enumLiteral_2= 'html' ) ) ;
public final Enumerator ruleTextContentTypeEnum() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
enterRule();
try {
// InternalReportDSL.g:15815:2: ( ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'plain' ) | (enumLiteral_2= 'html' ) ) )
// InternalReportDSL.g:15816:2: ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'plain' ) | (enumLiteral_2= 'html' ) )
{
// InternalReportDSL.g:15816:2: ( (enumLiteral_0= 'auto' ) | (enumLiteral_1= 'plain' ) | (enumLiteral_2= 'html' ) )
int alt251=3;
switch ( input.LA(1) ) {
case 239:
{
alt251=1;
}
break;
case 266:
{
alt251=2;
}
break;
case 228:
{
alt251=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 251, 0, input);
throw nvae;
}
switch (alt251) {
case 1 :
// InternalReportDSL.g:15817:3: (enumLiteral_0= 'auto' )
{
// InternalReportDSL.g:15817:3: (enumLiteral_0= 'auto' )
// InternalReportDSL.g:15818:4: enumLiteral_0= 'auto'
{
enumLiteral_0=(Token)match(input,239,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTextContentTypeEnumAccess().getAUTOEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getTextContentTypeEnumAccess().getAUTOEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalReportDSL.g:15825:3: (enumLiteral_1= 'plain' )
{
// InternalReportDSL.g:15825:3: (enumLiteral_1= 'plain' )
// InternalReportDSL.g:15826:4: enumLiteral_1= 'plain'
{
enumLiteral_1=(Token)match(input,266,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTextContentTypeEnumAccess().getPLAINEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getTextContentTypeEnumAccess().getPLAINEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalReportDSL.g:15833:3: (enumLiteral_2= 'html' )
{
// InternalReportDSL.g:15833:3: (enumLiteral_2= 'html' )
// InternalReportDSL.g:15834:4: enumLiteral_2= 'html'
{
enumLiteral_2=(Token)match(input,228,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTextContentTypeEnumAccess().getHTMLEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getTextContentTypeEnumAccess().getHTMLEnumLiteralDeclaration_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTextContentTypeEnum"
// $ANTLR start synpred1_InternalReportDSL
public final void synpred1_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:8310:5: ( '(' )
// InternalReportDSL.g:8310:6: '('
{
match(input,103,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred1_InternalReportDSL
// $ANTLR start synpred2_InternalReportDSL
public final void synpred2_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:8319:7: ( ( ( ( ruleValidID ) ) '=' ) )
// InternalReportDSL.g:8319:8: ( ( ( ruleValidID ) ) '=' )
{
// InternalReportDSL.g:8319:8: ( ( ( ruleValidID ) ) '=' )
// InternalReportDSL.g:8320:8: ( ( ruleValidID ) ) '='
{
// InternalReportDSL.g:8320:8: ( ( ruleValidID ) )
// InternalReportDSL.g:8321:9: ( ruleValidID )
{
// InternalReportDSL.g:8321:9: ( ruleValidID )
// InternalReportDSL.g:8322:10: ruleValidID
{
pushFollow(FOLLOW_129);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
match(input,135,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred2_InternalReportDSL
// $ANTLR start synpred5_InternalReportDSL
public final void synpred5_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:8499:5: ( ( () '#' '[' ) )
// InternalReportDSL.g:8499:6: ( () '#' '[' )
{
// InternalReportDSL.g:8499:6: ( () '#' '[' )
// InternalReportDSL.g:8500:6: () '#' '['
{
// InternalReportDSL.g:8500:6: ()
// InternalReportDSL.g:8501:6:
{
}
match(input,136,FOLLOW_131); if (state.failed) return ;
match(input,137,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred5_InternalReportDSL
// $ANTLR start synpred6_InternalReportDSL
public final void synpred6_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:8641:5: ( ( () '#' '[' ) )
// InternalReportDSL.g:8641:6: ( () '#' '[' )
{
// InternalReportDSL.g:8641:6: ( () '#' '[' )
// InternalReportDSL.g:8642:6: () '#' '['
{
// InternalReportDSL.g:8642:6: ()
// InternalReportDSL.g:8643:6:
{
}
match(input,136,FOLLOW_131); if (state.failed) return ;
match(input,137,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred6_InternalReportDSL
// $ANTLR start synpred7_InternalReportDSL
public final void synpred7_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:8869:6: ( ( () ( ( ruleOpMultiAssign ) ) ) )
// InternalReportDSL.g:8869:7: ( () ( ( ruleOpMultiAssign ) ) )
{
// InternalReportDSL.g:8869:7: ( () ( ( ruleOpMultiAssign ) ) )
// InternalReportDSL.g:8870:7: () ( ( ruleOpMultiAssign ) )
{
// InternalReportDSL.g:8870:7: ()
// InternalReportDSL.g:8871:7:
{
}
// InternalReportDSL.g:8872:7: ( ( ruleOpMultiAssign ) )
// InternalReportDSL.g:8873:8: ( ruleOpMultiAssign )
{
// InternalReportDSL.g:8873:8: ( ruleOpMultiAssign )
// InternalReportDSL.g:8874:9: ruleOpMultiAssign
{
pushFollow(FOLLOW_2);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred7_InternalReportDSL
// $ANTLR start synpred8_InternalReportDSL
public final void synpred8_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9063:5: ( ( () ( ( ruleOpOr ) ) ) )
// InternalReportDSL.g:9063:6: ( () ( ( ruleOpOr ) ) )
{
// InternalReportDSL.g:9063:6: ( () ( ( ruleOpOr ) ) )
// InternalReportDSL.g:9064:6: () ( ( ruleOpOr ) )
{
// InternalReportDSL.g:9064:6: ()
// InternalReportDSL.g:9065:6:
{
}
// InternalReportDSL.g:9066:6: ( ( ruleOpOr ) )
// InternalReportDSL.g:9067:7: ( ruleOpOr )
{
// InternalReportDSL.g:9067:7: ( ruleOpOr )
// InternalReportDSL.g:9068:8: ruleOpOr
{
pushFollow(FOLLOW_2);
ruleOpOr();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred8_InternalReportDSL
// $ANTLR start synpred9_InternalReportDSL
public final void synpred9_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9170:5: ( ( () ( ( ruleOpAnd ) ) ) )
// InternalReportDSL.g:9170:6: ( () ( ( ruleOpAnd ) ) )
{
// InternalReportDSL.g:9170:6: ( () ( ( ruleOpAnd ) ) )
// InternalReportDSL.g:9171:6: () ( ( ruleOpAnd ) )
{
// InternalReportDSL.g:9171:6: ()
// InternalReportDSL.g:9172:6:
{
}
// InternalReportDSL.g:9173:6: ( ( ruleOpAnd ) )
// InternalReportDSL.g:9174:7: ( ruleOpAnd )
{
// InternalReportDSL.g:9174:7: ( ruleOpAnd )
// InternalReportDSL.g:9175:8: ruleOpAnd
{
pushFollow(FOLLOW_2);
ruleOpAnd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred9_InternalReportDSL
// $ANTLR start synpred10_InternalReportDSL
public final void synpred10_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9277:5: ( ( () ( ( ruleOpEquality ) ) ) )
// InternalReportDSL.g:9277:6: ( () ( ( ruleOpEquality ) ) )
{
// InternalReportDSL.g:9277:6: ( () ( ( ruleOpEquality ) ) )
// InternalReportDSL.g:9278:6: () ( ( ruleOpEquality ) )
{
// InternalReportDSL.g:9278:6: ()
// InternalReportDSL.g:9279:6:
{
}
// InternalReportDSL.g:9280:6: ( ( ruleOpEquality ) )
// InternalReportDSL.g:9281:7: ( ruleOpEquality )
{
// InternalReportDSL.g:9281:7: ( ruleOpEquality )
// InternalReportDSL.g:9282:8: ruleOpEquality
{
pushFollow(FOLLOW_2);
ruleOpEquality();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred10_InternalReportDSL
// $ANTLR start synpred11_InternalReportDSL
public final void synpred11_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9405:6: ( ( () 'instanceof' ) )
// InternalReportDSL.g:9405:7: ( () 'instanceof' )
{
// InternalReportDSL.g:9405:7: ( () 'instanceof' )
// InternalReportDSL.g:9406:7: () 'instanceof'
{
// InternalReportDSL.g:9406:7: ()
// InternalReportDSL.g:9407:7:
{
}
match(input,153,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred11_InternalReportDSL
// $ANTLR start synpred12_InternalReportDSL
public final void synpred12_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9448:6: ( ( () ( ( ruleOpCompare ) ) ) )
// InternalReportDSL.g:9448:7: ( () ( ( ruleOpCompare ) ) )
{
// InternalReportDSL.g:9448:7: ( () ( ( ruleOpCompare ) ) )
// InternalReportDSL.g:9449:7: () ( ( ruleOpCompare ) )
{
// InternalReportDSL.g:9449:7: ()
// InternalReportDSL.g:9450:7:
{
}
// InternalReportDSL.g:9451:7: ( ( ruleOpCompare ) )
// InternalReportDSL.g:9452:8: ( ruleOpCompare )
{
// InternalReportDSL.g:9452:8: ( ruleOpCompare )
// InternalReportDSL.g:9453:9: ruleOpCompare
{
pushFollow(FOLLOW_2);
ruleOpCompare();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred12_InternalReportDSL
// $ANTLR start synpred13_InternalReportDSL
public final void synpred13_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9583:5: ( ( () ( ( ruleOpOther ) ) ) )
// InternalReportDSL.g:9583:6: ( () ( ( ruleOpOther ) ) )
{
// InternalReportDSL.g:9583:6: ( () ( ( ruleOpOther ) ) )
// InternalReportDSL.g:9584:6: () ( ( ruleOpOther ) )
{
// InternalReportDSL.g:9584:6: ()
// InternalReportDSL.g:9585:6:
{
}
// InternalReportDSL.g:9586:6: ( ( ruleOpOther ) )
// InternalReportDSL.g:9587:7: ( ruleOpOther )
{
// InternalReportDSL.g:9587:7: ( ruleOpOther )
// InternalReportDSL.g:9588:8: ruleOpOther
{
pushFollow(FOLLOW_2);
ruleOpOther();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred13_InternalReportDSL
// $ANTLR start synpred14_InternalReportDSL
public final void synpred14_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9703:6: ( ( '>' '>' ) )
// InternalReportDSL.g:9703:7: ( '>' '>' )
{
// InternalReportDSL.g:9703:7: ( '>' '>' )
// InternalReportDSL.g:9704:7: '>' '>'
{
match(input,145,FOLLOW_146); if (state.failed) return ;
match(input,145,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred14_InternalReportDSL
// $ANTLR start synpred15_InternalReportDSL
public final void synpred15_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9738:6: ( ( '<' '<' ) )
// InternalReportDSL.g:9738:7: ( '<' '<' )
{
// InternalReportDSL.g:9738:7: ( '<' '<' )
// InternalReportDSL.g:9739:7: '<' '<'
{
match(input,144,FOLLOW_136); if (state.failed) return ;
match(input,144,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred15_InternalReportDSL
// $ANTLR start synpred16_InternalReportDSL
public final void synpred16_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9811:5: ( ( () ( ( ruleOpAdd ) ) ) )
// InternalReportDSL.g:9811:6: ( () ( ( ruleOpAdd ) ) )
{
// InternalReportDSL.g:9811:6: ( () ( ( ruleOpAdd ) ) )
// InternalReportDSL.g:9812:6: () ( ( ruleOpAdd ) )
{
// InternalReportDSL.g:9812:6: ()
// InternalReportDSL.g:9813:6:
{
}
// InternalReportDSL.g:9814:6: ( ( ruleOpAdd ) )
// InternalReportDSL.g:9815:7: ( ruleOpAdd )
{
// InternalReportDSL.g:9815:7: ( ruleOpAdd )
// InternalReportDSL.g:9816:8: ruleOpAdd
{
pushFollow(FOLLOW_2);
ruleOpAdd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred16_InternalReportDSL
// $ANTLR start synpred17_InternalReportDSL
public final void synpred17_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:9926:5: ( ( () ( ( ruleOpMulti ) ) ) )
// InternalReportDSL.g:9926:6: ( () ( ( ruleOpMulti ) ) )
{
// InternalReportDSL.g:9926:6: ( () ( ( ruleOpMulti ) ) )
// InternalReportDSL.g:9927:6: () ( ( ruleOpMulti ) )
{
// InternalReportDSL.g:9927:6: ()
// InternalReportDSL.g:9928:6:
{
}
// InternalReportDSL.g:9929:6: ( ( ruleOpMulti ) )
// InternalReportDSL.g:9930:7: ( ruleOpMulti )
{
// InternalReportDSL.g:9930:7: ( ruleOpMulti )
// InternalReportDSL.g:9931:8: ruleOpMulti
{
pushFollow(FOLLOW_2);
ruleOpMulti();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred17_InternalReportDSL
// $ANTLR start synpred18_InternalReportDSL
public final void synpred18_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10161:5: ( ( () 'as' ) )
// InternalReportDSL.g:10161:6: ( () 'as' )
{
// InternalReportDSL.g:10161:6: ( () 'as' )
// InternalReportDSL.g:10162:6: () 'as'
{
// InternalReportDSL.g:10162:6: ()
// InternalReportDSL.g:10163:6:
{
}
match(input,84,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred18_InternalReportDSL
// $ANTLR start synpred19_InternalReportDSL
public final void synpred19_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10229:4: ( ( () ( ( ruleOpPostfix ) ) ) )
// InternalReportDSL.g:10229:5: ( () ( ( ruleOpPostfix ) ) )
{
// InternalReportDSL.g:10229:5: ( () ( ( ruleOpPostfix ) ) )
// InternalReportDSL.g:10230:5: () ( ( ruleOpPostfix ) )
{
// InternalReportDSL.g:10230:5: ()
// InternalReportDSL.g:10231:5:
{
}
// InternalReportDSL.g:10232:5: ( ( ruleOpPostfix ) )
// InternalReportDSL.g:10233:6: ( ruleOpPostfix )
{
// InternalReportDSL.g:10233:6: ( ruleOpPostfix )
// InternalReportDSL.g:10234:7: ruleOpPostfix
{
pushFollow(FOLLOW_2);
ruleOpPostfix();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred19_InternalReportDSL
// $ANTLR start synpred20_InternalReportDSL
public final void synpred20_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10325:6: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// InternalReportDSL.g:10325:7: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// InternalReportDSL.g:10325:7: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// InternalReportDSL.g:10326:7: () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// InternalReportDSL.g:10326:7: ()
// InternalReportDSL.g:10327:7:
{
}
// InternalReportDSL.g:10328:7: ( '.' | ( ( '::' ) ) )
int alt252=2;
int LA252_0 = input.LA(1);
if ( (LA252_0==167) ) {
alt252=1;
}
else if ( (LA252_0==168) ) {
alt252=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 252, 0, input);
throw nvae;
}
switch (alt252) {
case 1 :
// InternalReportDSL.g:10329:8: '.'
{
match(input,167,FOLLOW_153); if (state.failed) return ;
}
break;
case 2 :
// InternalReportDSL.g:10331:8: ( ( '::' ) )
{
// InternalReportDSL.g:10331:8: ( ( '::' ) )
// InternalReportDSL.g:10332:9: ( '::' )
{
// InternalReportDSL.g:10332:9: ( '::' )
// InternalReportDSL.g:10333:10: '::'
{
match(input,168,FOLLOW_153); if (state.failed) return ;
}
}
}
break;
}
// InternalReportDSL.g:10337:7: ( ( ruleFeatureCallID ) )
// InternalReportDSL.g:10338:8: ( ruleFeatureCallID )
{
// InternalReportDSL.g:10338:8: ( ruleFeatureCallID )
// InternalReportDSL.g:10339:9: ruleFeatureCallID
{
pushFollow(FOLLOW_129);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return ;
}
}
pushFollow(FOLLOW_2);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred20_InternalReportDSL
// $ANTLR start synpred21_InternalReportDSL
public final void synpred21_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10422:6: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )
// InternalReportDSL.g:10422:7: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) )
{
// InternalReportDSL.g:10422:7: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) )
// InternalReportDSL.g:10423:7: () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) )
{
// InternalReportDSL.g:10423:7: ()
// InternalReportDSL.g:10424:7:
{
}
// InternalReportDSL.g:10425:7: ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) )
int alt253=3;
switch ( input.LA(1) ) {
case 167:
{
alt253=1;
}
break;
case 169:
{
alt253=2;
}
break;
case 168:
{
alt253=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 253, 0, input);
throw nvae;
}
switch (alt253) {
case 1 :
// InternalReportDSL.g:10426:8: '.'
{
match(input,167,FOLLOW_2); if (state.failed) return ;
}
break;
case 2 :
// InternalReportDSL.g:10428:8: ( ( '?.' ) )
{
// InternalReportDSL.g:10428:8: ( ( '?.' ) )
// InternalReportDSL.g:10429:9: ( '?.' )
{
// InternalReportDSL.g:10429:9: ( '?.' )
// InternalReportDSL.g:10430:10: '?.'
{
match(input,169,FOLLOW_2); if (state.failed) return ;
}
}
}
break;
case 3 :
// InternalReportDSL.g:10434:8: ( ( '::' ) )
{
// InternalReportDSL.g:10434:8: ( ( '::' ) )
// InternalReportDSL.g:10435:9: ( '::' )
{
// InternalReportDSL.g:10435:9: ( '::' )
// InternalReportDSL.g:10436:10: '::'
{
match(input,168,FOLLOW_2); if (state.failed) return ;
}
}
}
break;
}
}
}
}
// $ANTLR end synpred21_InternalReportDSL
// $ANTLR start synpred22_InternalReportDSL
public final void synpred22_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10560:7: ( ( '(' ) )
// InternalReportDSL.g:10560:8: ( '(' )
{
// InternalReportDSL.g:10560:8: ( '(' )
// InternalReportDSL.g:10561:8: '('
{
match(input,103,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred22_InternalReportDSL
// $ANTLR start synpred23_InternalReportDSL
public final void synpred23_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10579:8: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalReportDSL.g:10579:9: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalReportDSL.g:10579:9: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalReportDSL.g:10580:9: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalReportDSL.g:10580:9: ()
// InternalReportDSL.g:10581:9:
{
}
// InternalReportDSL.g:10582:9: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt255=2;
int LA255_0 = input.LA(1);
if ( (LA255_0==RULE_ID||LA255_0==103||LA255_0==157) ) {
alt255=1;
}
switch (alt255) {
case 1 :
// InternalReportDSL.g:10583:10: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalReportDSL.g:10583:10: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:10584:11: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:10584:11: ( ruleJvmFormalParameter )
// InternalReportDSL.g:10585:12: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalReportDSL.g:10588:10: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop254:
do {
int alt254=2;
int LA254_0 = input.LA(1);
if ( (LA254_0==134) ) {
alt254=1;
}
switch (alt254) {
case 1 :
// InternalReportDSL.g:10589:11: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,134,FOLLOW_143); if (state.failed) return ;
// InternalReportDSL.g:10590:11: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:10591:12: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:10591:12: ( ruleJvmFormalParameter )
// InternalReportDSL.g:10592:13: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop254;
}
} while (true);
}
break;
}
// InternalReportDSL.g:10597:9: ( ( '|' ) )
// InternalReportDSL.g:10598:10: ( '|' )
{
// InternalReportDSL.g:10598:10: ( '|' )
// InternalReportDSL.g:10599:11: '|'
{
match(input,170,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred23_InternalReportDSL
// $ANTLR start synpred24_InternalReportDSL
public final void synpred24_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10676:6: ( ( () '[' ) )
// InternalReportDSL.g:10676:7: ( () '[' )
{
// InternalReportDSL.g:10676:7: ( () '[' )
// InternalReportDSL.g:10677:7: () '['
{
// InternalReportDSL.g:10677:7: ()
// InternalReportDSL.g:10678:7:
{
}
match(input,137,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred24_InternalReportDSL
// $ANTLR start synpred25_InternalReportDSL
public final void synpred25_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10749:4: ( ( () 'synchronized' '(' ) )
// InternalReportDSL.g:10749:5: ( () 'synchronized' '(' )
{
// InternalReportDSL.g:10749:5: ( () 'synchronized' '(' )
// InternalReportDSL.g:10750:5: () 'synchronized' '('
{
// InternalReportDSL.g:10750:5: ()
// InternalReportDSL.g:10751:5:
{
}
match(input,192,FOLLOW_106); if (state.failed) return ;
match(input,103,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred25_InternalReportDSL
// $ANTLR start synpred26_InternalReportDSL
public final void synpred26_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10794:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )
// InternalReportDSL.g:10794:5: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' )
{
// InternalReportDSL.g:10794:5: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' )
// InternalReportDSL.g:10795:5: () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':'
{
// InternalReportDSL.g:10795:5: ()
// InternalReportDSL.g:10796:5:
{
}
match(input,177,FOLLOW_106); if (state.failed) return ;
match(input,103,FOLLOW_143); if (state.failed) return ;
// InternalReportDSL.g:10799:5: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:10800:6: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:10800:6: ( ruleJvmFormalParameter )
// InternalReportDSL.g:10801:7: ruleJvmFormalParameter
{
pushFollow(FOLLOW_170);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,174,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred26_InternalReportDSL
// $ANTLR start synpred27_InternalReportDSL
public final void synpred27_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:10908:4: ( ( () '[' ) )
// InternalReportDSL.g:10908:5: ( () '[' )
{
// InternalReportDSL.g:10908:5: ( () '[' )
// InternalReportDSL.g:10909:5: () '['
{
// InternalReportDSL.g:10909:5: ()
// InternalReportDSL.g:10910:5:
{
}
match(input,137,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred27_InternalReportDSL
// $ANTLR start synpred29_InternalReportDSL
public final void synpred29_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:11213:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalReportDSL.g:11213:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalReportDSL.g:11213:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalReportDSL.g:11214:5: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalReportDSL.g:11214:5: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt257=2;
int LA257_0 = input.LA(1);
if ( (LA257_0==RULE_ID||LA257_0==103||LA257_0==157) ) {
alt257=1;
}
switch (alt257) {
case 1 :
// InternalReportDSL.g:11215:6: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalReportDSL.g:11215:6: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:11216:7: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:11216:7: ( ruleJvmFormalParameter )
// InternalReportDSL.g:11217:8: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalReportDSL.g:11220:6: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop256:
do {
int alt256=2;
int LA256_0 = input.LA(1);
if ( (LA256_0==134) ) {
alt256=1;
}
switch (alt256) {
case 1 :
// InternalReportDSL.g:11221:7: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,134,FOLLOW_143); if (state.failed) return ;
// InternalReportDSL.g:11222:7: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:11223:8: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:11223:8: ( ruleJvmFormalParameter )
// InternalReportDSL.g:11224:9: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop256;
}
} while (true);
}
break;
}
// InternalReportDSL.g:11229:5: ( ( '|' ) )
// InternalReportDSL.g:11230:6: ( '|' )
{
// InternalReportDSL.g:11230:6: ( '|' )
// InternalReportDSL.g:11231:7: '|'
{
match(input,170,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred29_InternalReportDSL
// $ANTLR start synpred31_InternalReportDSL
public final void synpred31_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:11622:5: ( 'else' )
// InternalReportDSL.g:11622:6: 'else'
{
match(input,172,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred31_InternalReportDSL
// $ANTLR start synpred32_InternalReportDSL
public final void synpred32_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:11681:6: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )
// InternalReportDSL.g:11681:7: ( '(' ( ( ruleJvmFormalParameter ) ) ':' )
{
// InternalReportDSL.g:11681:7: ( '(' ( ( ruleJvmFormalParameter ) ) ':' )
// InternalReportDSL.g:11682:7: '(' ( ( ruleJvmFormalParameter ) ) ':'
{
match(input,103,FOLLOW_143); if (state.failed) return ;
// InternalReportDSL.g:11683:7: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:11684:8: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:11684:8: ( ruleJvmFormalParameter )
// InternalReportDSL.g:11685:9: ruleJvmFormalParameter
{
pushFollow(FOLLOW_170);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,174,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred32_InternalReportDSL
// $ANTLR start synpred33_InternalReportDSL
public final void synpred33_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:11748:6: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )
// InternalReportDSL.g:11748:7: ( ( ( ruleJvmFormalParameter ) ) ':' )
{
// InternalReportDSL.g:11748:7: ( ( ( ruleJvmFormalParameter ) ) ':' )
// InternalReportDSL.g:11749:7: ( ( ruleJvmFormalParameter ) ) ':'
{
// InternalReportDSL.g:11749:7: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:11750:8: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:11750:8: ( ruleJvmFormalParameter )
// InternalReportDSL.g:11751:9: ruleJvmFormalParameter
{
pushFollow(FOLLOW_170);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
match(input,174,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred33_InternalReportDSL
// $ANTLR start synpred35_InternalReportDSL
public final void synpred35_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:12566:5: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )
// InternalReportDSL.g:12566:6: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
{
// InternalReportDSL.g:12566:6: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) )
// InternalReportDSL.g:12567:6: ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) )
{
// InternalReportDSL.g:12567:6: ( ( ruleJvmTypeReference ) )
// InternalReportDSL.g:12568:7: ( ruleJvmTypeReference )
{
// InternalReportDSL.g:12568:7: ( ruleJvmTypeReference )
// InternalReportDSL.g:12569:8: ruleJvmTypeReference
{
pushFollow(FOLLOW_4);
ruleJvmTypeReference();
state._fsp--;
if (state.failed) return ;
}
}
// InternalReportDSL.g:12572:6: ( ( ruleValidID ) )
// InternalReportDSL.g:12573:7: ( ruleValidID )
{
// InternalReportDSL.g:12573:7: ( ruleValidID )
// InternalReportDSL.g:12574:8: ruleValidID
{
pushFollow(FOLLOW_2);
ruleValidID();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred35_InternalReportDSL
// $ANTLR start synpred36_InternalReportDSL
public final void synpred36_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:12878:5: ( ( '(' ) )
// InternalReportDSL.g:12878:6: ( '(' )
{
// InternalReportDSL.g:12878:6: ( '(' )
// InternalReportDSL.g:12879:6: '('
{
match(input,103,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred36_InternalReportDSL
// $ANTLR start synpred37_InternalReportDSL
public final void synpred37_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:12897:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalReportDSL.g:12897:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalReportDSL.g:12897:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalReportDSL.g:12898:7: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalReportDSL.g:12898:7: ()
// InternalReportDSL.g:12899:7:
{
}
// InternalReportDSL.g:12900:7: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt261=2;
int LA261_0 = input.LA(1);
if ( (LA261_0==RULE_ID||LA261_0==103||LA261_0==157) ) {
alt261=1;
}
switch (alt261) {
case 1 :
// InternalReportDSL.g:12901:8: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalReportDSL.g:12901:8: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:12902:9: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:12902:9: ( ruleJvmFormalParameter )
// InternalReportDSL.g:12903:10: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalReportDSL.g:12906:8: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop260:
do {
int alt260=2;
int LA260_0 = input.LA(1);
if ( (LA260_0==134) ) {
alt260=1;
}
switch (alt260) {
case 1 :
// InternalReportDSL.g:12907:9: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,134,FOLLOW_143); if (state.failed) return ;
// InternalReportDSL.g:12908:9: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:12909:10: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:12909:10: ( ruleJvmFormalParameter )
// InternalReportDSL.g:12910:11: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop260;
}
} while (true);
}
break;
}
// InternalReportDSL.g:12915:7: ( ( '|' ) )
// InternalReportDSL.g:12916:8: ( '|' )
{
// InternalReportDSL.g:12916:8: ( '|' )
// InternalReportDSL.g:12917:9: '|'
{
match(input,170,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred37_InternalReportDSL
// $ANTLR start synpred38_InternalReportDSL
public final void synpred38_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:12994:4: ( ( () '[' ) )
// InternalReportDSL.g:12994:5: ( () '[' )
{
// InternalReportDSL.g:12994:5: ( () '[' )
// InternalReportDSL.g:12995:5: () '['
{
// InternalReportDSL.g:12995:5: ()
// InternalReportDSL.g:12996:5:
{
}
match(input,137,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred38_InternalReportDSL
// $ANTLR start synpred39_InternalReportDSL
public final void synpred39_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13154:5: ( '<' )
// InternalReportDSL.g:13154:6: '<'
{
match(input,144,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred39_InternalReportDSL
// $ANTLR start synpred40_InternalReportDSL
public final void synpred40_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13211:5: ( ( '(' ) )
// InternalReportDSL.g:13211:6: ( '(' )
{
// InternalReportDSL.g:13211:6: ( '(' )
// InternalReportDSL.g:13212:6: '('
{
match(input,103,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred40_InternalReportDSL
// $ANTLR start synpred41_InternalReportDSL
public final void synpred41_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13230:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )
// InternalReportDSL.g:13230:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
{
// InternalReportDSL.g:13230:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) )
// InternalReportDSL.g:13231:7: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) )
{
// InternalReportDSL.g:13231:7: ()
// InternalReportDSL.g:13232:7:
{
}
// InternalReportDSL.g:13233:7: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )?
int alt263=2;
int LA263_0 = input.LA(1);
if ( (LA263_0==RULE_ID||LA263_0==103||LA263_0==157) ) {
alt263=1;
}
switch (alt263) {
case 1 :
// InternalReportDSL.g:13234:8: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )*
{
// InternalReportDSL.g:13234:8: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:13235:9: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:13235:9: ( ruleJvmFormalParameter )
// InternalReportDSL.g:13236:10: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
// InternalReportDSL.g:13239:8: ( ',' ( ( ruleJvmFormalParameter ) ) )*
loop262:
do {
int alt262=2;
int LA262_0 = input.LA(1);
if ( (LA262_0==134) ) {
alt262=1;
}
switch (alt262) {
case 1 :
// InternalReportDSL.g:13240:9: ',' ( ( ruleJvmFormalParameter ) )
{
match(input,134,FOLLOW_143); if (state.failed) return ;
// InternalReportDSL.g:13241:9: ( ( ruleJvmFormalParameter ) )
// InternalReportDSL.g:13242:10: ( ruleJvmFormalParameter )
{
// InternalReportDSL.g:13242:10: ( ruleJvmFormalParameter )
// InternalReportDSL.g:13243:11: ruleJvmFormalParameter
{
pushFollow(FOLLOW_163);
ruleJvmFormalParameter();
state._fsp--;
if (state.failed) return ;
}
}
}
break;
default :
break loop262;
}
} while (true);
}
break;
}
// InternalReportDSL.g:13248:7: ( ( '|' ) )
// InternalReportDSL.g:13249:8: ( '|' )
{
// InternalReportDSL.g:13249:8: ( '|' )
// InternalReportDSL.g:13250:9: '|'
{
match(input,170,FOLLOW_2); if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred41_InternalReportDSL
// $ANTLR start synpred42_InternalReportDSL
public final void synpred42_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13327:4: ( ( () '[' ) )
// InternalReportDSL.g:13327:5: ( () '[' )
{
// InternalReportDSL.g:13327:5: ( () '[' )
// InternalReportDSL.g:13328:5: () '['
{
// InternalReportDSL.g:13328:5: ()
// InternalReportDSL.g:13329:5:
{
}
match(input,137,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred42_InternalReportDSL
// $ANTLR start synpred43_InternalReportDSL
public final void synpred43_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13670:4: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )
// InternalReportDSL.g:
{
if ( (input.LA(1)>=RULE_STRING && input.LA(1)<=RULE_DECIMAL)||input.LA(1)==14||input.LA(1)==39||input.LA(1)==103||input.LA(1)==116||(input.LA(1)>=127 && input.LA(1)<=129)||(input.LA(1)>=136 && input.LA(1)<=137)||input.LA(1)==144||input.LA(1)==160||input.LA(1)==164||input.LA(1)==171||input.LA(1)==173||(input.LA(1)>=177 && input.LA(1)<=179)||(input.LA(1)>=182 && input.LA(1)<=190)||input.LA(1)==192 ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred43_InternalReportDSL
// $ANTLR start synpred44_InternalReportDSL
public final void synpred44_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13741:6: ( 'catch' )
// InternalReportDSL.g:13741:7: 'catch'
{
match(input,193,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred44_InternalReportDSL
// $ANTLR start synpred45_InternalReportDSL
public final void synpred45_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:13762:7: ( 'finally' )
// InternalReportDSL.g:13762:8: 'finally'
{
match(input,191,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred45_InternalReportDSL
// $ANTLR start synpred48_InternalReportDSL
public final void synpred48_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:14006:5: ( '.' )
// InternalReportDSL.g:14006:6: '.'
{
match(input,167,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred48_InternalReportDSL
// $ANTLR start synpred49_InternalReportDSL
public final void synpred49_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:14132:5: ( ( () ruleArrayBrackets ) )
// InternalReportDSL.g:14132:6: ( () ruleArrayBrackets )
{
// InternalReportDSL.g:14132:6: ( () ruleArrayBrackets )
// InternalReportDSL.g:14133:6: () ruleArrayBrackets
{
// InternalReportDSL.g:14133:6: ()
// InternalReportDSL.g:14134:6:
{
}
pushFollow(FOLLOW_2);
ruleArrayBrackets();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred49_InternalReportDSL
// $ANTLR start synpred50_InternalReportDSL
public final void synpred50_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:14329:5: ( '<' )
// InternalReportDSL.g:14329:6: '<'
{
match(input,144,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred50_InternalReportDSL
// $ANTLR start synpred51_InternalReportDSL
public final void synpred51_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:14385:6: ( ( () '.' ) )
// InternalReportDSL.g:14385:7: ( () '.' )
{
// InternalReportDSL.g:14385:7: ( () '.' )
// InternalReportDSL.g:14386:7: () '.'
{
// InternalReportDSL.g:14386:7: ()
// InternalReportDSL.g:14387:7:
{
}
match(input,167,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred51_InternalReportDSL
// $ANTLR start synpred52_InternalReportDSL
public final void synpred52_InternalReportDSL_fragment() throws RecognitionException {
// InternalReportDSL.g:14423:7: ( '<' )
// InternalReportDSL.g:14423:8: '<'
{
match(input,144,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred52_InternalReportDSL
// Delegated rules
public final boolean synpred32_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred32_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred42_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred42_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred45_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred45_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred52_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred52_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred35_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred35_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred48_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred48_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred38_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred38_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred15_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred15_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred18_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred18_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred7_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred7_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred25_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred25_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred22_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred22_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred12_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred12_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred1_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred1_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred49_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred49_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred5_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred5_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred26_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred26_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred36_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred36_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred39_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred39_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred43_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred43_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred29_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred29_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred8_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred8_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred19_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred19_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred40_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred40_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred10_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred10_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred16_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred16_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred33_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred33_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred2_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred2_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred23_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred23_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred20_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred20_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred50_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred50_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred13_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred13_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred21_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred21_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred44_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred44_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred31_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred31_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred11_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred11_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred6_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred6_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred27_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred27_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred51_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred51_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred14_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred14_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred24_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred24_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred41_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred41_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred9_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred9_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred17_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred17_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred37_InternalReportDSL() {
state.backtracking++;
int start = input.mark();
try {
synpred37_InternalReportDSL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
protected DFA21 dfa21 = new DFA21(this);
protected DFA24 dfa24 = new DFA24(this);
protected DFA112 dfa112 = new DFA112(this);
protected DFA115 dfa115 = new DFA115(this);
protected DFA121 dfa121 = new DFA121(this);
protected DFA124 dfa124 = new DFA124(this);
protected DFA126 dfa126 = new DFA126(this);
protected DFA136 dfa136 = new DFA136(this);
protected DFA139 dfa139 = new DFA139(this);
protected DFA155 dfa155 = new DFA155(this);
protected DFA154 dfa154 = new DFA154(this);
protected DFA156 dfa156 = new DFA156(this);
protected DFA158 dfa158 = new DFA158(this);
protected DFA167 dfa167 = new DFA167(this);
protected DFA174 dfa174 = new DFA174(this);
protected DFA173 dfa173 = new DFA173(this);
protected DFA196 dfa196 = new DFA196(this);
protected DFA195 dfa195 = new DFA195(this);
protected DFA197 dfa197 = new DFA197(this);
protected DFA201 dfa201 = new DFA201(this);
protected DFA204 dfa204 = new DFA204(this);
protected DFA203 dfa203 = new DFA203(this);
protected DFA205 dfa205 = new DFA205(this);
protected DFA208 dfa208 = new DFA208(this);
protected DFA226 dfa226 = new DFA226(this);
protected DFA224 dfa224 = new DFA224(this);
static final String dfa_1s = "\23\uffff";
static final String dfa_2s = "\1\22\22\uffff";
static final String dfa_3s = "\1\74\22\uffff";
static final String dfa_4s = "\1\uffff\1\22\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21";
static final String dfa_5s = "\1\0\22\uffff}>";
static final String[] dfa_6s = {
"\1\1\4\uffff\1\1\16\uffff\1\3\5\uffff\1\2\1\4\1\uffff\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
class DFA21 extends DFA {
public DFA21(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 21;
this.eot = dfa_1;
this.eof = dfa_1;
this.min = dfa_2;
this.max = dfa_3;
this.accept = dfa_4;
this.special = dfa_5;
this.transition = dfa_6;
}
public String getDescription() {
return "()* loopback of 1664:6: ( ({...}? => ( ({...}? => (otherlv_6= 'formatter' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'font' ( (otherlv_9= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'backgroundcolor' ( (otherlv_11= RULE_ID ) ) (otherlv_12= 'alternate' ( (otherlv_13= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textcolor' ( (otherlv_15= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'textalign' ( (lv_textalign_17_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-top' ( (lv_borderTop_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-bottom' ( (lv_borderBottom_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-left' ( (lv_borderLeft_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'border-right' ( (lv_borderRight_25_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-top' ( (lv_paddingTopValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-bottom' ( (lv_paddingBottomValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-left' ( (lv_paddingLeftValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'padding-right' ( (lv_paddingRightValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-top' ( (lv_marginTopValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-bottom' ( (lv_marginBottomValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-left' ( (lv_marginLeftValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'margin-right' ( (lv_marginRightValue_41_0= ruleUnsignedNumber ) ) ) ) ) ) )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA21_0 = input.LA(1);
int index21_0 = input.index();
input.rewind();
s = -1;
if ( (LA21_0==18||LA21_0==23) ) {s = 1;}
else if ( LA21_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 0) ) {s = 2;}
else if ( LA21_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 1) ) {s = 3;}
else if ( LA21_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 2) ) {s = 4;}
else if ( LA21_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 3) ) {s = 5;}
else if ( LA21_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 4) ) {s = 6;}
else if ( LA21_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 5) ) {s = 7;}
else if ( LA21_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 6) ) {s = 8;}
else if ( LA21_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 7) ) {s = 9;}
else if ( LA21_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 8) ) {s = 10;}
else if ( LA21_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 9) ) {s = 11;}
else if ( LA21_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 10) ) {s = 12;}
else if ( LA21_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 11) ) {s = 13;}
else if ( LA21_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 12) ) {s = 14;}
else if ( LA21_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 13) ) {s = 15;}
else if ( LA21_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 14) ) {s = 16;}
else if ( LA21_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 15) ) {s = 17;}
else if ( LA21_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getStyleAccess().getUnorderedGroup_4(), 16) ) {s = 18;}
input.seek(index21_0);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 21, _s, input);
error(nvae);
throw nvae;
}
}
static final String[] dfa_7s = {
"\1\1\23\uffff\1\3\5\uffff\1\2\1\4\1\uffff\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s);
class DFA24 extends DFA {
public DFA24(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 24;
this.eot = dfa_1;
this.eof = dfa_1;
this.min = dfa_2;
this.max = dfa_3;
this.accept = dfa_4;
this.special = dfa_5;
this.transition = dfa_7;
}
public String getDescription() {
return "()* loopback of 2314:6: ( ({...}? => ( ({...}? => (otherlv_4= 'formatter' ( (otherlv_5= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'font' ( (otherlv_7= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'backgroundcolor' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'alternate' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'textcolor' ( (otherlv_13= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'textalign' ( (lv_textalign_15_0= ruleTextAlignEnum ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'border-top' ( (lv_borderTop_17_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_18= 'border-bottom' ( (lv_borderBottom_19_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'border-left' ( (lv_borderLeft_21_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'border-right' ( (lv_borderRight_23_0= ruleBorderStyle ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_24= 'padding-top' ( (lv_paddingTopValue_25_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_26= 'padding-bottom' ( (lv_paddingBottomValue_27_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'padding-left' ( (lv_paddingLeftValue_29_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_30= 'padding-right' ( (lv_paddingRightValue_31_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_32= 'margin-top' ( (lv_marginTopValue_33_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'margin-bottom' ( (lv_marginBottomValue_35_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_36= 'margin-left' ( (lv_marginLeftValue_37_0= ruleUnsignedNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'margin-right' ( (lv_marginRightValue_39_0= ruleUnsignedNumber ) ) ) ) ) ) )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA24_0 = input.LA(1);
int index24_0 = input.index();
input.rewind();
s = -1;
if ( (LA24_0==18) ) {s = 1;}
else if ( LA24_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 0) ) {s = 2;}
else if ( LA24_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 1) ) {s = 3;}
else if ( LA24_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 2) ) {s = 4;}
else if ( LA24_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 3) ) {s = 5;}
else if ( LA24_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 4) ) {s = 6;}
else if ( LA24_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 5) ) {s = 7;}
else if ( LA24_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 6) ) {s = 8;}
else if ( LA24_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 7) ) {s = 9;}
else if ( LA24_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 8) ) {s = 10;}
else if ( LA24_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 9) ) {s = 11;}
else if ( LA24_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 10) ) {s = 12;}
else if ( LA24_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 11) ) {s = 13;}
else if ( LA24_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 12) ) {s = 14;}
else if ( LA24_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 13) ) {s = 15;}
else if ( LA24_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 14) ) {s = 16;}
else if ( LA24_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 15) ) {s = 17;}
else if ( LA24_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getMediaStyleAccess().getUnorderedGroup_3(), 16) ) {s = 18;}
input.seek(index24_0);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 24, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_8s = "\10\uffff";
static final String dfa_9s = "\2\uffff\1\5\4\uffff\1\5";
static final String dfa_10s = "\1\5\1\uffff\1\15\1\uffff\1\5\2\uffff\1\15";
static final String dfa_11s = "\1\u0083\1\uffff\1\u00a7\1\uffff\1\u0082\2\uffff\1\u00a7";
static final String dfa_12s = "\1\uffff\1\1\1\uffff\1\4\1\uffff\1\2\1\3\1\uffff";
static final String dfa_13s = "\10\uffff}>";
static final String[] dfa_14s = {
"\1\2\172\uffff\1\1\2\uffff\1\3",
"",
"\1\5\161\uffff\1\5\4\uffff\1\5\42\uffff\1\4",
"",
"\1\7\174\uffff\1\6",
"",
"",
"\1\5\161\uffff\1\5\4\uffff\1\5\42\uffff\1\4"
};
static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
static final short[] dfa_9 = DFA.unpackEncodedString(dfa_9s);
static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
static final char[] dfa_11 = DFA.unpackEncodedStringToUnsignedChars(dfa_11s);
static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s);
static final short[][] dfa_14 = unpackEncodedStringArray(dfa_14s);
class DFA112 extends DFA {
public DFA112(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 112;
this.eot = dfa_8;
this.eof = dfa_9;
this.min = dfa_10;
this.max = dfa_11;
this.accept = dfa_12;
this.special = dfa_13;
this.transition = dfa_14;
}
public String getDescription() {
return "8099:3: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) )";
}
}
static final String dfa_15s = "\44\uffff";
static final String dfa_16s = "\1\4\1\0\42\uffff";
static final String dfa_17s = "\1\u00c0\1\0\42\uffff";
static final String dfa_18s = "\2\uffff\1\2\37\uffff\1\3\1\1";
static final String dfa_19s = "\1\uffff\1\0\42\uffff}>";
static final String[] dfa_20s = {
"\1\2\1\1\3\2\5\uffff\1\2\30\uffff\1\2\77\uffff\1\2\1\42\13\uffff\1\2\12\uffff\3\2\3\uffff\1\2\2\uffff\2\2\6\uffff\1\2\17\uffff\1\2\3\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\11\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s);
static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s);
static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s);
static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s);
static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s);
static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s);
class DFA115 extends DFA {
public DFA115(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 115;
this.eot = dfa_15;
this.eof = dfa_15;
this.min = dfa_16;
this.max = dfa_17;
this.accept = dfa_18;
this.special = dfa_19;
this.transition = dfa_20;
}
public String getDescription() {
return "8316:4: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA115_1 = input.LA(1);
int index115_1 = input.index();
input.rewind();
s = -1;
if ( (synpred2_InternalReportDSL()) ) {s = 35;}
else if ( (true) ) {s = 2;}
input.seek(index115_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 115, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_21s = "\43\uffff";
static final String dfa_22s = "\1\4\1\0\41\uffff";
static final String dfa_23s = "\1\u00c0\1\0\41\uffff";
static final String dfa_24s = "\2\uffff\1\2\37\uffff\1\1";
static final String dfa_25s = "\1\uffff\1\0\41\uffff}>";
static final String[] dfa_26s = {
"\5\2\5\uffff\1\2\30\uffff\1\2\77\uffff\1\2\14\uffff\1\2\12\uffff\3\2\3\uffff\1\2\2\uffff\1\1\1\2\6\uffff\1\2\17\uffff\1\2\3\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\11\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s);
static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s);
static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s);
static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s);
static final short[] dfa_25 = DFA.unpackEncodedString(dfa_25s);
static final short[][] dfa_26 = unpackEncodedStringArray(dfa_26s);
class DFA121 extends DFA {
public DFA121(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 121;
this.eot = dfa_21;
this.eof = dfa_21;
this.min = dfa_22;
this.max = dfa_23;
this.accept = dfa_24;
this.special = dfa_25;
this.transition = dfa_26;
}
public String getDescription() {
return "8496:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA121_1 = input.LA(1);
int index121_1 = input.index();
input.rewind();
s = -1;
if ( (synpred5_InternalReportDSL()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index121_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 121, _s, input);
error(nvae);
throw nvae;
}
}
class DFA124 extends DFA {
public DFA124(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 124;
this.eot = dfa_21;
this.eof = dfa_21;
this.min = dfa_22;
this.max = dfa_23;
this.accept = dfa_24;
this.special = dfa_25;
this.transition = dfa_26;
}
public String getDescription() {
return "8638:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA124_1 = input.LA(1);
int index124_1 = input.index();
input.rewind();
s = -1;
if ( (synpred6_InternalReportDSL()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index124_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 124, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_27s = "\12\uffff";
static final String dfa_28s = "\1\10\11\uffff";
static final String dfa_29s = "\1\4\7\0\2\uffff";
static final String dfa_30s = "\1\u00c1\7\0\2\uffff";
static final String dfa_31s = "\10\uffff\1\2\1\1";
static final String dfa_32s = "\1\uffff\1\2\1\3\1\4\1\5\1\6\1\1\1\0\2\uffff}>";
static final String[] dfa_33s = {
"\5\10\5\uffff\1\10\3\uffff\1\10\24\uffff\1\10\54\uffff\1\10\22\uffff\2\10\13\uffff\1\10\12\uffff\4\10\1\uffff\1\10\1\uffff\1\10\1\uffff\3\10\1\1\1\2\1\3\1\4\1\5\1\6\1\7\30\10\1\uffff\27\10",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
""
};
static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s);
static final short[] dfa_28 = DFA.unpackEncodedString(dfa_28s);
static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s);
static final char[] dfa_30 = DFA.unpackEncodedStringToUnsignedChars(dfa_30s);
static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s);
static final short[] dfa_32 = DFA.unpackEncodedString(dfa_32s);
static final short[][] dfa_33 = unpackEncodedStringArray(dfa_33s);
class DFA126 extends DFA {
public DFA126(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 126;
this.eot = dfa_27;
this.eof = dfa_28;
this.min = dfa_29;
this.max = dfa_30;
this.accept = dfa_31;
this.special = dfa_32;
this.transition = dfa_33;
}
public String getDescription() {
return "8867:4: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA126_7 = input.LA(1);
int index126_7 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_7);
if ( s>=0 ) return s;
break;
case 1 :
int LA126_6 = input.LA(1);
int index126_6 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_6);
if ( s>=0 ) return s;
break;
case 2 :
int LA126_1 = input.LA(1);
int index126_1 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_1);
if ( s>=0 ) return s;
break;
case 3 :
int LA126_2 = input.LA(1);
int index126_2 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_2);
if ( s>=0 ) return s;
break;
case 4 :
int LA126_3 = input.LA(1);
int index126_3 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_3);
if ( s>=0 ) return s;
break;
case 5 :
int LA126_4 = input.LA(1);
int index126_4 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_4);
if ( s>=0 ) return s;
break;
case 6 :
int LA126_5 = input.LA(1);
int index126_5 = input.index();
input.rewind();
s = -1;
if ( (synpred7_InternalReportDSL()) ) {s = 9;}
else if ( (true) ) {s = 8;}
input.seek(index126_5);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 126, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_34s = "\13\uffff";
static final String dfa_35s = "\1\1\12\uffff";
static final String dfa_36s = "\1\4\1\uffff\10\0\1\uffff";
static final String dfa_37s = "\1\u00c1\1\uffff\10\0\1\uffff";
static final String dfa_38s = "\1\uffff\1\2\10\uffff\1\1";
static final String dfa_39s = "\2\uffff\1\4\1\2\1\5\1\6\1\7\1\3\1\0\1\1\1\uffff}>";
static final String[] dfa_40s = {
"\5\1\5\uffff\1\1\3\uffff\1\1\24\uffff\1\1\54\uffff\1\1\22\uffff\2\1\13\uffff\1\1\12\uffff\4\1\1\uffff\1\1\1\uffff\1\1\1\uffff\10\1\1\2\1\3\10\1\1\4\1\5\1\6\1\7\1\10\1\11\12\1\1\uffff\27\1",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
""
};
static final short[] dfa_34 = DFA.unpackEncodedString(dfa_34s);
static final short[] dfa_35 = DFA.unpackEncodedString(dfa_35s);
static final char[] dfa_36 = DFA.unpackEncodedStringToUnsignedChars(dfa_36s);
static final char[] dfa_37 = DFA.unpackEncodedStringToUnsignedChars(dfa_37s);
static final short[] dfa_38 = DFA.unpackEncodedString(dfa_38s);
static final short[] dfa_39 = DFA.unpackEncodedString(dfa_39s);
static final short[][] dfa_40 = unpackEncodedStringArray(dfa_40s);
class DFA136 extends DFA {
public DFA136(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 136;
this.eot = dfa_34;
this.eof = dfa_35;
this.min = dfa_36;
this.max = dfa_37;
this.accept = dfa_38;
this.special = dfa_39;
this.transition = dfa_40;
}
public String getDescription() {
return "()* loopback of 9581:3: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA136_8 = input.LA(1);
int index136_8 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_8);
if ( s>=0 ) return s;
break;
case 1 :
int LA136_9 = input.LA(1);
int index136_9 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_9);
if ( s>=0 ) return s;
break;
case 2 :
int LA136_3 = input.LA(1);
int index136_3 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_3);
if ( s>=0 ) return s;
break;
case 3 :
int LA136_7 = input.LA(1);
int index136_7 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_7);
if ( s>=0 ) return s;
break;
case 4 :
int LA136_2 = input.LA(1);
int index136_2 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_2);
if ( s>=0 ) return s;
break;
case 5 :
int LA136_4 = input.LA(1);
int index136_4 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_4);
if ( s>=0 ) return s;
break;
case 6 :
int LA136_5 = input.LA(1);
int index136_5 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_5);
if ( s>=0 ) return s;
break;
case 7 :
int LA136_6 = input.LA(1);
int index136_6 = input.index();
input.rewind();
s = -1;
if ( (synpred13_InternalReportDSL()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index136_6);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 136, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_41s = "\1\u0090\2\uffff\1\u0091\7\uffff";
static final String dfa_42s = "\1\u009f\2\uffff\1\u009c\7\uffff";
static final String dfa_43s = "\1\uffff\1\1\1\2\1\uffff\1\4\1\5\1\7\1\10\1\11\1\3\1\6";
static final String dfa_44s = "\13\uffff}>";
static final String[] dfa_45s = {
"\1\6\1\3\10\uffff\1\1\1\2\1\4\1\5\1\7\1\10",
"",
"",
"\1\12\12\uffff\1\11",
"",
"",
"",
"",
"",
"",
""
};
static final char[] dfa_41 = DFA.unpackEncodedStringToUnsignedChars(dfa_41s);
static final char[] dfa_42 = DFA.unpackEncodedStringToUnsignedChars(dfa_42s);
static final short[] dfa_43 = DFA.unpackEncodedString(dfa_43s);
static final short[] dfa_44 = DFA.unpackEncodedString(dfa_44s);
static final short[][] dfa_45 = unpackEncodedStringArray(dfa_45s);
class DFA139 extends DFA {
public DFA139(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 139;
this.eot = dfa_34;
this.eof = dfa_34;
this.min = dfa_41;
this.max = dfa_42;
this.accept = dfa_43;
this.special = dfa_44;
this.transition = dfa_45;
}
public String getDescription() {
return "9657:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )";
}
}
static final String dfa_46s = "\116\uffff";
static final String dfa_47s = "\1\2\115\uffff";
static final String dfa_48s = "\1\4\1\0\114\uffff";
static final String dfa_49s = "\1\u00c1\1\0\114\uffff";
static final String dfa_50s = "\2\uffff\1\2\112\uffff\1\1";
static final String dfa_51s = "\1\uffff\1\0\114\uffff}>";
static final String[] dfa_52s = {
"\5\2\5\uffff\1\2\3\uffff\1\2\24\uffff\1\2\54\uffff\1\2\22\uffff\1\1\1\2\13\uffff\1\2\12\uffff\4\2\1\uffff\1\2\1\uffff\1\2\1\uffff\42\2\1\uffff\27\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_46 = DFA.unpackEncodedString(dfa_46s);
static final short[] dfa_47 = DFA.unpackEncodedString(dfa_47s);
static final char[] dfa_48 = DFA.unpackEncodedStringToUnsignedChars(dfa_48s);
static final char[] dfa_49 = DFA.unpackEncodedStringToUnsignedChars(dfa_49s);
static final short[] dfa_50 = DFA.unpackEncodedString(dfa_50s);
static final short[] dfa_51 = DFA.unpackEncodedString(dfa_51s);
static final short[][] dfa_52 = unpackEncodedStringArray(dfa_52s);
class DFA155 extends DFA {
public DFA155(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 155;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_52;
}
public String getDescription() {
return "10558:5: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA155_1 = input.LA(1);
int index155_1 = input.index();
input.rewind();
s = -1;
if ( (synpred22_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index155_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 155, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_53s = "\1\4\2\0\41\uffff";
static final String dfa_54s = "\1\u00c0\2\0\41\uffff";
static final String dfa_55s = "\3\uffff\2\1\1\2\35\uffff\1\3";
static final String dfa_56s = "\1\0\1\1\1\2\41\uffff}>";
static final String[] dfa_57s = {
"\1\5\1\1\3\5\5\uffff\1\5\30\uffff\1\5\77\uffff\1\2\1\43\13\uffff\1\5\12\uffff\3\5\6\uffff\2\5\6\uffff\1\5\14\uffff\1\3\2\uffff\1\5\3\uffff\1\5\5\uffff\1\4\1\5\1\uffff\1\5\3\uffff\3\5\2\uffff\11\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final char[] dfa_53 = DFA.unpackEncodedStringToUnsignedChars(dfa_53s);
static final char[] dfa_54 = DFA.unpackEncodedStringToUnsignedChars(dfa_54s);
static final short[] dfa_55 = DFA.unpackEncodedString(dfa_55s);
static final short[] dfa_56 = DFA.unpackEncodedString(dfa_56s);
static final short[][] dfa_57 = unpackEncodedStringArray(dfa_57s);
class DFA154 extends DFA {
public DFA154(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 154;
this.eot = dfa_15;
this.eof = dfa_15;
this.min = dfa_53;
this.max = dfa_54;
this.accept = dfa_55;
this.special = dfa_56;
this.transition = dfa_57;
}
public String getDescription() {
return "10577:6: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA154_0 = input.LA(1);
int index154_0 = input.index();
input.rewind();
s = -1;
if ( (LA154_0==RULE_ID) ) {s = 1;}
else if ( (LA154_0==103) ) {s = 2;}
else if ( (LA154_0==157) && (synpred23_InternalReportDSL())) {s = 3;}
else if ( (LA154_0==170) && (synpred23_InternalReportDSL())) {s = 4;}
else if ( (LA154_0==RULE_STRING||(LA154_0>=RULE_INT && LA154_0<=RULE_DECIMAL)||LA154_0==14||LA154_0==39||LA154_0==116||(LA154_0>=127 && LA154_0<=129)||(LA154_0>=136 && LA154_0<=137)||LA154_0==144||LA154_0==160||LA154_0==164||LA154_0==171||LA154_0==173||(LA154_0>=177 && LA154_0<=179)||(LA154_0>=182 && LA154_0<=190)||LA154_0==192) ) {s = 5;}
else if ( (LA154_0==104) ) {s = 35;}
input.seek(index154_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA154_1 = input.LA(1);
int index154_1 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index154_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA154_2 = input.LA(1);
int index154_2 = input.index();
input.rewind();
s = -1;
if ( (synpred23_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index154_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 154, _s, input);
error(nvae);
throw nvae;
}
}
static final String[] dfa_58s = {
"\5\2\5\uffff\1\2\3\uffff\1\2\24\uffff\1\2\54\uffff\1\2\22\uffff\2\2\13\uffff\1\2\12\uffff\4\2\1\uffff\1\2\1\uffff\1\2\1\uffff\1\2\1\1\40\2\1\uffff\27\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_58 = unpackEncodedStringArray(dfa_58s);
class DFA156 extends DFA {
public DFA156(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 156;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_58;
}
public String getDescription() {
return "10675:5: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA156_1 = input.LA(1);
int index156_1 = input.index();
input.rewind();
s = -1;
if ( (synpred24_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index156_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 156, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_59s = "\40\uffff";
static final String dfa_60s = "\1\4\26\uffff\1\0\10\uffff";
static final String dfa_61s = "\1\u00c0\26\uffff\1\0\10\uffff";
static final String dfa_62s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\6\uffff\1\6\11\uffff\1\7\1\uffff\1\12\1\13\1\14\1\15\1\16\1\17\1\10\1\11";
static final String dfa_63s = "\1\0\26\uffff\1\1\10\uffff}>";
static final String[] dfa_64s = {
"\1\14\1\5\3\14\5\uffff\1\2\30\uffff\1\5\77\uffff\1\35\27\uffff\3\5\6\uffff\2\14\6\uffff\1\5\32\uffff\1\26\1\uffff\1\3\3\uffff\1\27\1\30\1\31\2\uffff\1\5\1\1\4\14\1\32\1\33\1\34\1\uffff\1\4",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_59 = DFA.unpackEncodedString(dfa_59s);
static final char[] dfa_60 = DFA.unpackEncodedStringToUnsignedChars(dfa_60s);
static final char[] dfa_61 = DFA.unpackEncodedStringToUnsignedChars(dfa_61s);
static final short[] dfa_62 = DFA.unpackEncodedString(dfa_62s);
static final short[] dfa_63 = DFA.unpackEncodedString(dfa_63s);
static final short[][] dfa_64 = unpackEncodedStringArray(dfa_64s);
class DFA158 extends DFA {
public DFA158(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 158;
this.eot = dfa_59;
this.eof = dfa_59;
this.min = dfa_60;
this.max = dfa_61;
this.accept = dfa_62;
this.special = dfa_63;
this.transition = dfa_64;
}
public String getDescription() {
return "10720:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA158_0 = input.LA(1);
int index158_0 = input.index();
input.rewind();
s = -1;
if ( (LA158_0==183) ) {s = 1;}
else if ( (LA158_0==14) ) {s = 2;}
else if ( (LA158_0==173) ) {s = 3;}
else if ( (LA158_0==192) && (synpred25_InternalReportDSL())) {s = 4;}
else if ( (LA158_0==RULE_ID||LA158_0==39||(LA158_0>=127 && LA158_0<=129)||LA158_0==144||LA158_0==182) ) {s = 5;}
else if ( (LA158_0==RULE_STRING||(LA158_0>=RULE_INT && LA158_0<=RULE_DECIMAL)||(LA158_0>=136 && LA158_0<=137)||(LA158_0>=184 && LA158_0<=187)) ) {s = 12;}
else if ( (LA158_0==171) ) {s = 22;}
else if ( (LA158_0==177) ) {s = 23;}
else if ( (LA158_0==178) ) {s = 24;}
else if ( (LA158_0==179) ) {s = 25;}
else if ( (LA158_0==188) ) {s = 26;}
else if ( (LA158_0==189) ) {s = 27;}
else if ( (LA158_0==190) ) {s = 28;}
else if ( (LA158_0==103) ) {s = 29;}
input.seek(index158_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA158_23 = input.LA(1);
int index158_23 = input.index();
input.rewind();
s = -1;
if ( (synpred26_InternalReportDSL()) ) {s = 30;}
else if ( (true) ) {s = 31;}
input.seek(index158_23);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 158, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_65s = "\46\uffff";
static final String dfa_66s = "\1\4\2\0\43\uffff";
static final String dfa_67s = "\1\u00c0\2\0\43\uffff";
static final String dfa_68s = "\3\uffff\2\1\1\2\40\uffff";
static final String dfa_69s = "\1\0\1\1\1\2\43\uffff}>";
static final String[] dfa_70s = {
"\1\5\1\1\3\5\5\uffff\1\5\30\uffff\1\5\77\uffff\1\2\14\uffff\1\5\12\uffff\3\5\6\uffff\3\5\5\uffff\1\5\14\uffff\1\3\2\uffff\1\5\3\uffff\1\5\5\uffff\1\4\1\5\1\uffff\1\5\3\uffff\16\5\1\uffff\1\5",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_65 = DFA.unpackEncodedString(dfa_65s);
static final char[] dfa_66 = DFA.unpackEncodedStringToUnsignedChars(dfa_66s);
static final char[] dfa_67 = DFA.unpackEncodedStringToUnsignedChars(dfa_67s);
static final short[] dfa_68 = DFA.unpackEncodedString(dfa_68s);
static final short[] dfa_69 = DFA.unpackEncodedString(dfa_69s);
static final short[][] dfa_70 = unpackEncodedStringArray(dfa_70s);
class DFA167 extends DFA {
public DFA167(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 167;
this.eot = dfa_65;
this.eof = dfa_65;
this.min = dfa_66;
this.max = dfa_67;
this.accept = dfa_68;
this.special = dfa_69;
this.transition = dfa_70;
}
public String getDescription() {
return "11212:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA167_0 = input.LA(1);
int index167_0 = input.index();
input.rewind();
s = -1;
if ( (LA167_0==RULE_ID) ) {s = 1;}
else if ( (LA167_0==103) ) {s = 2;}
else if ( (LA167_0==157) && (synpred29_InternalReportDSL())) {s = 3;}
else if ( (LA167_0==170) && (synpred29_InternalReportDSL())) {s = 4;}
else if ( (LA167_0==RULE_STRING||(LA167_0>=RULE_INT && LA167_0<=RULE_DECIMAL)||LA167_0==14||LA167_0==39||LA167_0==116||(LA167_0>=127 && LA167_0<=129)||(LA167_0>=136 && LA167_0<=138)||LA167_0==144||LA167_0==160||LA167_0==164||LA167_0==171||LA167_0==173||(LA167_0>=177 && LA167_0<=190)||LA167_0==192) ) {s = 5;}
input.seek(index167_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA167_1 = input.LA(1);
int index167_1 = input.index();
input.rewind();
s = -1;
if ( (synpred29_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index167_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA167_2 = input.LA(1);
int index167_2 = input.index();
input.rewind();
s = -1;
if ( (synpred29_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index167_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 167, _s, input);
error(nvae);
throw nvae;
}
}
static final String[] dfa_71s = {
"\5\2\5\uffff\1\2\30\uffff\1\2\77\uffff\1\1\14\uffff\1\2\12\uffff\3\2\6\uffff\2\2\6\uffff\1\2\14\uffff\1\2\2\uffff\1\2\3\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\2\uffff\11\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_71 = unpackEncodedStringArray(dfa_71s);
class DFA174 extends DFA {
public DFA174(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 174;
this.eot = dfa_21;
this.eof = dfa_21;
this.min = dfa_22;
this.max = dfa_23;
this.accept = dfa_24;
this.special = dfa_25;
this.transition = dfa_71;
}
public String getDescription() {
return "11678:3: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA174_1 = input.LA(1);
int index174_1 = input.index();
input.rewind();
s = -1;
if ( (synpred32_InternalReportDSL()) ) {s = 34;}
else if ( (true) ) {s = 2;}
input.seek(index174_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 174, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_72s = "\42\uffff";
static final String dfa_73s = "\1\4\2\0\37\uffff";
static final String dfa_74s = "\1\u00c0\2\0\37\uffff";
static final String dfa_75s = "\3\uffff\1\1\1\2\35\uffff";
static final String dfa_76s = "\1\0\1\1\1\2\37\uffff}>";
static final String[] dfa_77s = {
"\1\4\1\1\3\4\5\uffff\1\4\30\uffff\1\4\77\uffff\1\2\14\uffff\1\4\12\uffff\3\4\6\uffff\2\4\6\uffff\1\4\14\uffff\1\3\2\uffff\1\4\3\uffff\1\4\6\uffff\1\4\1\uffff\1\4\3\uffff\3\4\2\uffff\11\4\1\uffff\1\4",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_72 = DFA.unpackEncodedString(dfa_72s);
static final char[] dfa_73 = DFA.unpackEncodedStringToUnsignedChars(dfa_73s);
static final char[] dfa_74 = DFA.unpackEncodedStringToUnsignedChars(dfa_74s);
static final short[] dfa_75 = DFA.unpackEncodedString(dfa_75s);
static final short[] dfa_76 = DFA.unpackEncodedString(dfa_76s);
static final short[][] dfa_77 = unpackEncodedStringArray(dfa_77s);
class DFA173 extends DFA {
public DFA173(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 173;
this.eot = dfa_72;
this.eof = dfa_72;
this.min = dfa_73;
this.max = dfa_74;
this.accept = dfa_75;
this.special = dfa_76;
this.transition = dfa_77;
}
public String getDescription() {
return "11747:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA173_0 = input.LA(1);
int index173_0 = input.index();
input.rewind();
s = -1;
if ( (LA173_0==RULE_ID) ) {s = 1;}
else if ( (LA173_0==103) ) {s = 2;}
else if ( (LA173_0==157) && (synpred33_InternalReportDSL())) {s = 3;}
else if ( (LA173_0==RULE_STRING||(LA173_0>=RULE_INT && LA173_0<=RULE_DECIMAL)||LA173_0==14||LA173_0==39||LA173_0==116||(LA173_0>=127 && LA173_0<=129)||(LA173_0>=136 && LA173_0<=137)||LA173_0==144||LA173_0==160||LA173_0==164||LA173_0==171||LA173_0==173||(LA173_0>=177 && LA173_0<=179)||(LA173_0>=182 && LA173_0<=190)||LA173_0==192) ) {s = 4;}
input.seek(index173_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA173_1 = input.LA(1);
int index173_1 = input.index();
input.rewind();
s = -1;
if ( (synpred33_InternalReportDSL()) ) {s = 3;}
else if ( (true) ) {s = 4;}
input.seek(index173_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA173_2 = input.LA(1);
int index173_2 = input.index();
input.rewind();
s = -1;
if ( (synpred33_InternalReportDSL()) ) {s = 3;}
else if ( (true) ) {s = 4;}
input.seek(index173_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 173, _s, input);
error(nvae);
throw nvae;
}
}
class DFA196 extends DFA {
public DFA196(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 196;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_52;
}
public String getDescription() {
return "12876:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA196_1 = input.LA(1);
int index196_1 = input.index();
input.rewind();
s = -1;
if ( (synpred36_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index196_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 196, _s, input);
error(nvae);
throw nvae;
}
}
class DFA195 extends DFA {
public DFA195(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 195;
this.eot = dfa_15;
this.eof = dfa_15;
this.min = dfa_53;
this.max = dfa_54;
this.accept = dfa_55;
this.special = dfa_56;
this.transition = dfa_57;
}
public String getDescription() {
return "12895:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA195_0 = input.LA(1);
int index195_0 = input.index();
input.rewind();
s = -1;
if ( (LA195_0==RULE_ID) ) {s = 1;}
else if ( (LA195_0==103) ) {s = 2;}
else if ( (LA195_0==157) && (synpred37_InternalReportDSL())) {s = 3;}
else if ( (LA195_0==170) && (synpred37_InternalReportDSL())) {s = 4;}
else if ( (LA195_0==RULE_STRING||(LA195_0>=RULE_INT && LA195_0<=RULE_DECIMAL)||LA195_0==14||LA195_0==39||LA195_0==116||(LA195_0>=127 && LA195_0<=129)||(LA195_0>=136 && LA195_0<=137)||LA195_0==144||LA195_0==160||LA195_0==164||LA195_0==171||LA195_0==173||(LA195_0>=177 && LA195_0<=179)||(LA195_0>=182 && LA195_0<=190)||LA195_0==192) ) {s = 5;}
else if ( (LA195_0==104) ) {s = 35;}
input.seek(index195_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA195_1 = input.LA(1);
int index195_1 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index195_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA195_2 = input.LA(1);
int index195_2 = input.index();
input.rewind();
s = -1;
if ( (synpred37_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index195_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 195, _s, input);
error(nvae);
throw nvae;
}
}
class DFA197 extends DFA {
public DFA197(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 197;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_58;
}
public String getDescription() {
return "12993:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA197_1 = input.LA(1);
int index197_1 = input.index();
input.rewind();
s = -1;
if ( (synpred38_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index197_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 197, _s, input);
error(nvae);
throw nvae;
}
}
static final String[] dfa_78s = {
"\5\2\5\uffff\1\2\3\uffff\1\2\24\uffff\1\2\54\uffff\1\2\22\uffff\2\2\13\uffff\1\2\12\uffff\4\2\1\uffff\1\2\1\uffff\1\2\1\uffff\10\2\1\1\31\2\1\uffff\27\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[][] dfa_78 = unpackEncodedStringArray(dfa_78s);
class DFA201 extends DFA {
public DFA201(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 201;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_78;
}
public String getDescription() {
return "13152:3: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA201_1 = input.LA(1);
int index201_1 = input.index();
input.rewind();
s = -1;
if ( (synpred39_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index201_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 201, _s, input);
error(nvae);
throw nvae;
}
}
class DFA204 extends DFA {
public DFA204(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 204;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_52;
}
public String getDescription() {
return "13209:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA204_1 = input.LA(1);
int index204_1 = input.index();
input.rewind();
s = -1;
if ( (synpred40_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index204_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 204, _s, input);
error(nvae);
throw nvae;
}
}
class DFA203 extends DFA {
public DFA203(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 203;
this.eot = dfa_15;
this.eof = dfa_15;
this.min = dfa_53;
this.max = dfa_54;
this.accept = dfa_55;
this.special = dfa_56;
this.transition = dfa_57;
}
public String getDescription() {
return "13228:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA203_0 = input.LA(1);
int index203_0 = input.index();
input.rewind();
s = -1;
if ( (LA203_0==RULE_ID) ) {s = 1;}
else if ( (LA203_0==103) ) {s = 2;}
else if ( (LA203_0==157) && (synpred41_InternalReportDSL())) {s = 3;}
else if ( (LA203_0==170) && (synpred41_InternalReportDSL())) {s = 4;}
else if ( (LA203_0==RULE_STRING||(LA203_0>=RULE_INT && LA203_0<=RULE_DECIMAL)||LA203_0==14||LA203_0==39||LA203_0==116||(LA203_0>=127 && LA203_0<=129)||(LA203_0>=136 && LA203_0<=137)||LA203_0==144||LA203_0==160||LA203_0==164||LA203_0==171||LA203_0==173||(LA203_0>=177 && LA203_0<=179)||(LA203_0>=182 && LA203_0<=190)||LA203_0==192) ) {s = 5;}
else if ( (LA203_0==104) ) {s = 35;}
input.seek(index203_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA203_1 = input.LA(1);
int index203_1 = input.index();
input.rewind();
s = -1;
if ( (synpred41_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index203_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA203_2 = input.LA(1);
int index203_2 = input.index();
input.rewind();
s = -1;
if ( (synpred41_InternalReportDSL()) ) {s = 4;}
else if ( (true) ) {s = 5;}
input.seek(index203_2);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 203, _s, input);
error(nvae);
throw nvae;
}
}
class DFA205 extends DFA {
public DFA205(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 205;
this.eot = dfa_46;
this.eof = dfa_47;
this.min = dfa_48;
this.max = dfa_49;
this.accept = dfa_50;
this.special = dfa_51;
this.transition = dfa_58;
}
public String getDescription() {
return "13326:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA205_1 = input.LA(1);
int index205_1 = input.index();
input.rewind();
s = -1;
if ( (synpred42_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 2;}
input.seek(index205_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 205, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_79s = "\1\41\115\uffff";
static final String dfa_80s = "\1\4\40\0\55\uffff";
static final String dfa_81s = "\1\u00c1\40\0\55\uffff";
static final String dfa_82s = "\41\uffff\1\2\53\uffff\1\1";
static final String dfa_83s = "\1\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\33\1\34\1\35\1\36\1\37\55\uffff}>";
static final String[] dfa_84s = {
"\1\27\1\1\1\24\1\23\1\25\5\uffff\1\12\3\uffff\1\41\24\uffff\1\2\54\uffff\1\41\22\uffff\1\40\1\41\13\uffff\1\7\12\uffff\1\4\1\3\1\5\1\41\1\uffff\1\41\1\uffff\1\41\1\uffff\1\17\1\20\6\41\1\15\17\41\1\10\3\41\1\6\5\41\1\uffff\1\31\1\41\1\13\3\41\1\32\1\33\1\34\2\41\1\16\1\11\1\21\1\22\1\26\1\30\1\35\1\36\1\37\1\41\1\14\1\41",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_79 = DFA.unpackEncodedString(dfa_79s);
static final char[] dfa_80 = DFA.unpackEncodedStringToUnsignedChars(dfa_80s);
static final char[] dfa_81 = DFA.unpackEncodedStringToUnsignedChars(dfa_81s);
static final short[] dfa_82 = DFA.unpackEncodedString(dfa_82s);
static final short[] dfa_83 = DFA.unpackEncodedString(dfa_83s);
static final short[][] dfa_84 = unpackEncodedStringArray(dfa_84s);
class DFA208 extends DFA {
public DFA208(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 208;
this.eot = dfa_46;
this.eof = dfa_79;
this.min = dfa_80;
this.max = dfa_81;
this.accept = dfa_82;
this.special = dfa_83;
this.transition = dfa_84;
}
public String getDescription() {
return "13669:3: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA208_1 = input.LA(1);
int index208_1 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_1);
if ( s>=0 ) return s;
break;
case 1 :
int LA208_2 = input.LA(1);
int index208_2 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_2);
if ( s>=0 ) return s;
break;
case 2 :
int LA208_3 = input.LA(1);
int index208_3 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_3);
if ( s>=0 ) return s;
break;
case 3 :
int LA208_4 = input.LA(1);
int index208_4 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_4);
if ( s>=0 ) return s;
break;
case 4 :
int LA208_5 = input.LA(1);
int index208_5 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_5);
if ( s>=0 ) return s;
break;
case 5 :
int LA208_6 = input.LA(1);
int index208_6 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_6);
if ( s>=0 ) return s;
break;
case 6 :
int LA208_7 = input.LA(1);
int index208_7 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_7);
if ( s>=0 ) return s;
break;
case 7 :
int LA208_8 = input.LA(1);
int index208_8 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_8);
if ( s>=0 ) return s;
break;
case 8 :
int LA208_9 = input.LA(1);
int index208_9 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_9);
if ( s>=0 ) return s;
break;
case 9 :
int LA208_10 = input.LA(1);
int index208_10 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_10);
if ( s>=0 ) return s;
break;
case 10 :
int LA208_11 = input.LA(1);
int index208_11 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_11);
if ( s>=0 ) return s;
break;
case 11 :
int LA208_12 = input.LA(1);
int index208_12 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_12);
if ( s>=0 ) return s;
break;
case 12 :
int LA208_13 = input.LA(1);
int index208_13 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_13);
if ( s>=0 ) return s;
break;
case 13 :
int LA208_14 = input.LA(1);
int index208_14 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_14);
if ( s>=0 ) return s;
break;
case 14 :
int LA208_15 = input.LA(1);
int index208_15 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_15);
if ( s>=0 ) return s;
break;
case 15 :
int LA208_16 = input.LA(1);
int index208_16 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_16);
if ( s>=0 ) return s;
break;
case 16 :
int LA208_17 = input.LA(1);
int index208_17 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_17);
if ( s>=0 ) return s;
break;
case 17 :
int LA208_18 = input.LA(1);
int index208_18 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_18);
if ( s>=0 ) return s;
break;
case 18 :
int LA208_19 = input.LA(1);
int index208_19 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_19);
if ( s>=0 ) return s;
break;
case 19 :
int LA208_20 = input.LA(1);
int index208_20 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_20);
if ( s>=0 ) return s;
break;
case 20 :
int LA208_21 = input.LA(1);
int index208_21 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_21);
if ( s>=0 ) return s;
break;
case 21 :
int LA208_22 = input.LA(1);
int index208_22 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_22);
if ( s>=0 ) return s;
break;
case 22 :
int LA208_23 = input.LA(1);
int index208_23 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_23);
if ( s>=0 ) return s;
break;
case 23 :
int LA208_24 = input.LA(1);
int index208_24 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_24);
if ( s>=0 ) return s;
break;
case 24 :
int LA208_25 = input.LA(1);
int index208_25 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_25);
if ( s>=0 ) return s;
break;
case 25 :
int LA208_26 = input.LA(1);
int index208_26 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_26);
if ( s>=0 ) return s;
break;
case 26 :
int LA208_27 = input.LA(1);
int index208_27 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_27);
if ( s>=0 ) return s;
break;
case 27 :
int LA208_28 = input.LA(1);
int index208_28 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_28);
if ( s>=0 ) return s;
break;
case 28 :
int LA208_29 = input.LA(1);
int index208_29 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_29);
if ( s>=0 ) return s;
break;
case 29 :
int LA208_30 = input.LA(1);
int index208_30 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_30);
if ( s>=0 ) return s;
break;
case 30 :
int LA208_31 = input.LA(1);
int index208_31 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_31);
if ( s>=0 ) return s;
break;
case 31 :
int LA208_32 = input.LA(1);
int index208_32 = input.index();
input.rewind();
s = -1;
if ( (synpred43_InternalReportDSL()) ) {s = 77;}
else if ( (true) ) {s = 33;}
input.seek(index208_32);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 208, _s, input);
error(nvae);
throw nvae;
}
}
static final String dfa_85s = "\117\uffff";
static final String dfa_86s = "\1\2\116\uffff";
static final String dfa_87s = "\1\4\1\0\115\uffff";
static final String dfa_88s = "\1\u00c3\1\0\115\uffff";
static final String dfa_89s = "\2\uffff\1\2\113\uffff\1\1";
static final String dfa_90s = "\1\uffff\1\0\115\uffff}>";
static final String[] dfa_91s = {
"\5\2\5\uffff\1\2\3\uffff\1\2\24\uffff\1\2\54\uffff\1\2\22\uffff\2\2\13\uffff\1\2\12\uffff\4\2\1\uffff\1\2\1\uffff\1\2\1\uffff\10\2\1\1\31\2\1\uffff\27\2\1\uffff\1\2",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_85 = DFA.unpackEncodedString(dfa_85s);
static final short[] dfa_86 = DFA.unpackEncodedString(dfa_86s);
static final char[] dfa_87 = DFA.unpackEncodedStringToUnsignedChars(dfa_87s);
static final char[] dfa_88 = DFA.unpackEncodedStringToUnsignedChars(dfa_88s);
static final short[] dfa_89 = DFA.unpackEncodedString(dfa_89s);
static final short[] dfa_90 = DFA.unpackEncodedString(dfa_90s);
static final short[][] dfa_91 = unpackEncodedStringArray(dfa_91s);
class DFA226 extends DFA {
public DFA226(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 226;
this.eot = dfa_85;
this.eof = dfa_86;
this.min = dfa_87;
this.max = dfa_88;
this.accept = dfa_89;
this.special = dfa_90;
this.transition = dfa_91;
}
public String getDescription() {
return "14327:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA226_1 = input.LA(1);
int index226_1 = input.index();
input.rewind();
s = -1;
if ( (synpred50_InternalReportDSL()) ) {s = 78;}
else if ( (true) ) {s = 2;}
input.seek(index226_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 226, _s, input);
error(nvae);
throw nvae;
}
}
class DFA224 extends DFA {
public DFA224(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 224;
this.eot = dfa_85;
this.eof = dfa_86;
this.min = dfa_87;
this.max = dfa_88;
this.accept = dfa_89;
this.special = dfa_90;
this.transition = dfa_91;
}
public String getDescription() {
return "14421:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA224_1 = input.LA(1);
int index224_1 = input.index();
input.rewind();
s = -1;
if ( (synpred52_InternalReportDSL()) ) {s = 78;}
else if ( (true) ) {s = 2;}
input.seek(index224_1);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 224, _s, input);
error(nvae);
throw nvae;
}
}
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000002002L});
public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x8000000000048000L});
public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000090000L});
public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000000B0000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000200000L});
public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000400000L});
public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000001000000L});
public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000002040000L});
public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x8000000000040000L});
public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000002L});
public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x2000000000040000L,0x000000000000001FL});
public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000100040000L});
public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000004000040000L});
public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000840000L});
public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000080000040000L});
public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x000000000007F000L});
public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000008000000L});
public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000180000L});
public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000010000000L});
public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00000000000001C0L});
public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000040000L,0x0000000000022000L});
public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000040000L,0x0000000000020000L});
public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000001A00000010L});
public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000002000000000L});
public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000008000004000L});
public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000070000040000L,0x0000000000000000L,0x0000000000000000L,0x0000000000E00000L});
public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000000L,0x0000000000000000L,0x0000000007000000L});
public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000800000000L,0x0000000000000FF0L});
public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x1FFFB0C000840000L});
public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x1FFFB04000840000L});
public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x1FFFF04000840000L});
public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000038000000L});
public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0xFF80000000000000L});
public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x1FFFB04000040000L});
public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x1FFFF04000040000L});
public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x4000000000000000L});
public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x8000000000000000L});
public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0001000000000000L});
public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000FC0000000L});
public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L,0x0000000000000000L,0x0000000840000000L});
public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000800000000L});
public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000004000L,0x0000000000000060L});
public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000004000L,0x0000000000000040L});
public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000300L});
public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000003000000000L});
public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000002010000L,0x0000000000000400L});
public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000000002020000L,0x0000000000000400L});
public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000000002000000L,0x0000000000000400L});
public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000000002000000L});
public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000800000L});
public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001800L});
public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0000000000000000L,0x0000000000012020L});
public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0000000000000000L,0x000000000000C000L});
public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000000000000000L,0x0000000000008000L});
public static final BitSet FOLLOW_70 = new BitSet(new long[]{0x0000000000000000L,0x3F000C5802080000L});
public static final BitSet FOLLOW_71 = new BitSet(new long[]{0x0000000000040000L,0x3F000C5802080000L});
public static final BitSet FOLLOW_72 = new BitSet(new long[]{0x0000000000000000L,0x0000000000048000L});
public static final BitSet FOLLOW_73 = new BitSet(new long[]{0x0000000000004000L,0x0008000000300000L});
public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x0000000000004000L,0x0008000000200000L});
public static final BitSet FOLLOW_75 = new BitSet(new long[]{0x0000000000004000L,0x0008000000000000L});
public static final BitSet FOLLOW_76 = new BitSet(new long[]{0x0000000000040000L,0x0000000000400000L});
public static final BitSet FOLLOW_77 = new BitSet(new long[]{0x0000080000004000L,0x0008000000108000L});
public static final BitSet FOLLOW_78 = new BitSet(new long[]{0x0000080000004000L,0x0008000000008000L});
public static final BitSet FOLLOW_79 = new BitSet(new long[]{0x0000000000004000L,0x0008000000008000L});
public static final BitSet FOLLOW_80 = new BitSet(new long[]{0x0000000000040000L,0x0000000000800000L});
public static final BitSet FOLLOW_81 = new BitSet(new long[]{0x0000080000004000L,0x0008000001300000L});
public static final BitSet FOLLOW_82 = new BitSet(new long[]{0x0000080000004000L,0x0008000001200000L});
public static final BitSet FOLLOW_83 = new BitSet(new long[]{0x0000000000004000L,0x0008000001200000L});
public static final BitSet FOLLOW_84 = new BitSet(new long[]{0x0000000000004000L,0x0008000001000000L});
public static final BitSet FOLLOW_85 = new BitSet(new long[]{0x0000080000004000L,0x0008100000000000L});
public static final BitSet FOLLOW_86 = new BitSet(new long[]{0x0000000000004000L,0x0008100000000000L});
public static final BitSet FOLLOW_87 = new BitSet(new long[]{0x0000000000004000L,0x0000100000000000L});
public static final BitSet FOLLOW_88 = new BitSet(new long[]{0x0000000000000000L,0x000000005C000000L});
public static final BitSet FOLLOW_89 = new BitSet(new long[]{0x0000080000000000L,0x000000005C000000L});
public static final BitSet FOLLOW_90 = new BitSet(new long[]{0x0000000000000000L,0x0000000020000000L});
public static final BitSet FOLLOW_91 = new BitSet(new long[]{0x0000000000040000L,0x000000000C022000L});
public static final BitSet FOLLOW_92 = new BitSet(new long[]{0x0000000000040000L,0x000000000C020000L});
public static final BitSet FOLLOW_93 = new BitSet(new long[]{0x0000080000040000L,0x0000000008020000L});
public static final BitSet FOLLOW_94 = new BitSet(new long[]{0x0000000000040000L,0x0000000008020000L});
public static final BitSet FOLLOW_95 = new BitSet(new long[]{0x0000080000040000L,0x0000000000020000L});
public static final BitSet FOLLOW_96 = new BitSet(new long[]{0x0000080000004000L,0x0000100000000000L});
public static final BitSet FOLLOW_97 = new BitSet(new long[]{0x0000080000004000L,0x0000000080000000L});
public static final BitSet FOLLOW_98 = new BitSet(new long[]{0x0000000000004000L,0x0000000080000000L});
public static final BitSet FOLLOW_99 = new BitSet(new long[]{0x0000000000040000L,0x0000001800000000L});
public static final BitSet FOLLOW_100 = new BitSet(new long[]{0x0000080000000002L,0x0000000500200000L});
public static final BitSet FOLLOW_101 = new BitSet(new long[]{0x0000000000004000L,0x0000000200000000L});
public static final BitSet FOLLOW_102 = new BitSet(new long[]{0x0000000000040000L,0x0003000000000000L});
public static final BitSet FOLLOW_103 = new BitSet(new long[]{0x0000000000040000L,0x0006000000000001L});
public static final BitSet FOLLOW_104 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x00007FC000000000L});
public static final BitSet FOLLOW_105 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
public static final BitSet FOLLOW_106 = new BitSet(new long[]{0x0000000000000000L,0x0000008000000000L});
public static final BitSet FOLLOW_107 = new BitSet(new long[]{0x0000000000000020L,0x0000010000000000L});
public static final BitSet FOLLOW_108 = new BitSet(new long[]{0x0000000000000000L,0x0000070800000000L});
public static final BitSet FOLLOW_109 = new BitSet(new long[]{0x0000080000000002L});
public static final BitSet FOLLOW_110 = new BitSet(new long[]{0x0000000000000002L,0x0000E00000000000L});
public static final BitSet FOLLOW_111 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0003800000000000L});
public static final BitSet FOLLOW_112 = new BitSet(new long[]{0x0000000000000002L,0x0000C00000000000L});
public static final BitSet FOLLOW_113 = new BitSet(new long[]{0x0000000000000002L,0x0000800000000000L});
public static final BitSet FOLLOW_114 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0002800000000000L});
public static final BitSet FOLLOW_115 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L});
public static final BitSet FOLLOW_116 = new BitSet(new long[]{0x00000000000001C0L,0x0010000000000000L});
public static final BitSet FOLLOW_117 = new BitSet(new long[]{0x0000800000000000L,0x00E0000000000000L});
public static final BitSet FOLLOW_118 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x007C000000000000L});
public static final BitSet FOLLOW_119 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000000L,0x0000000000000000L,0x0000801000000000L,0x0000000000000400L});
public static final BitSet FOLLOW_120 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x000000000000001FL});
public static final BitSet FOLLOW_121 = new BitSet(new long[]{0x0000000000000000L,0x4000000000208000L,0x0000000000000000L,0x0000000000000000L,0x00000000000003E0L});
public static final BitSet FOLLOW_122 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000009L});
public static final BitSet FOLLOW_123 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_124 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000004L});
public static final BitSet FOLLOW_125 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_126 = new BitSet(new long[]{0x0000000000000002L,0x0000008000000000L});
public static final BitSet FOLLOW_127 = new BitSet(new long[]{0x00000080000041F0L,0x8010018000000000L,0x7FCE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_128 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L,0x0000000000000040L});
public static final BitSet FOLLOW_129 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000080L});
public static final BitSet FOLLOW_130 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FCE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_131 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_132 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FCE281100010723L,0x0000000000000001L});
public static final BitSet FOLLOW_133 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000440L});
public static final BitSet FOLLOW_134 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000040L});
public static final BitSet FOLLOW_135 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x000000000003F800L});
public static final BitSet FOLLOW_136 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000010000L});
public static final BitSet FOLLOW_137 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000060000L});
public static final BitSet FOLLOW_138 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000040000L});
public static final BitSet FOLLOW_139 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000080000L});
public static final BitSet FOLLOW_140 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000100000L});
public static final BitSet FOLLOW_141 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000001E00000L});
public static final BitSet FOLLOW_142 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000002070000L});
public static final BitSet FOLLOW_143 = new BitSet(new long[]{0x0000000000000020L,0x0000008000000000L,0x0000000020000000L});
public static final BitSet FOLLOW_144 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x00000000FC030000L});
public static final BitSet FOLLOW_145 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000010000000L});
public static final BitSet FOLLOW_146 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000020000L});
public static final BitSet FOLLOW_147 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000020010000L});
public static final BitSet FOLLOW_148 = new BitSet(new long[]{0x0000000000000002L,0x0010000000000000L,0x0000000100000000L});
public static final BitSet FOLLOW_149 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000E00000004L});
public static final BitSet FOLLOW_150 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
public static final BitSet FOLLOW_151 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000006000000000L});
public static final BitSet FOLLOW_152 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000038000000000L});
public static final BitSet FOLLOW_153 = new BitSet(new long[]{0x0000008000000020L,0x8000000000000000L,0x0000000000000003L});
public static final BitSet FOLLOW_154 = new BitSet(new long[]{0x0000008000000020L,0x8000000000000000L,0x0040000000010003L});
public static final BitSet FOLLOW_155 = new BitSet(new long[]{0x0000000000000020L,0x0000008000000000L,0x0000000020000000L,0x0000000000000004L});
public static final BitSet FOLLOW_156 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000020040L});
public static final BitSet FOLLOW_157 = new BitSet(new long[]{0x0000000000000002L,0x0000008000000000L,0x0000038000000200L});
public static final BitSet FOLLOW_158 = new BitSet(new long[]{0x00000080000041F0L,0x8010018000000000L,0x7FCE2C1120010323L,0x0000000000000001L});
public static final BitSet FOLLOW_159 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000038000000200L});
public static final BitSet FOLLOW_160 = new BitSet(new long[]{0x00000080000441F0L,0x8010008000000000L,0x7FCE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_161 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000000L,0x0000000000000040L});
public static final BitSet FOLLOW_162 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FFE2C1120010723L,0x0000000000000001L});
public static final BitSet FOLLOW_163 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000040000000040L});
public static final BitSet FOLLOW_164 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FFE281100010723L,0x0000000000000001L});
public static final BitSet FOLLOW_165 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000400L});
public static final BitSet FOLLOW_166 = new BitSet(new long[]{0x00000080000041F2L,0x8010008000000000L,0x7FFE281100010333L,0x0000000000000001L});
public static final BitSet FOLLOW_167 = new BitSet(new long[]{0x00000080000041F2L,0x8010008000000000L,0x7FFE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_168 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000100000000000L});
public static final BitSet FOLLOW_169 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FCE281120010323L,0x0000000000000001L});
public static final BitSet FOLLOW_170 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000400000000000L});
public static final BitSet FOLLOW_171 = new BitSet(new long[]{0x0000000000040020L,0x0000008000000000L,0x0001C00020000040L});
public static final BitSet FOLLOW_172 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0001400000000040L});
public static final BitSet FOLLOW_173 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000400000000040L});
public static final BitSet FOLLOW_174 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FFE281100010333L,0x0000000000000001L});
public static final BitSet FOLLOW_175 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000050L});
public static final BitSet FOLLOW_176 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FFE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_177 = new BitSet(new long[]{0x00000080000041F0L,0x8010008000000000L,0x7FCE281100010333L,0x0000000000000001L});
public static final BitSet FOLLOW_178 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
public static final BitSet FOLLOW_179 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0004000000000000L});
public static final BitSet FOLLOW_180 = new BitSet(new long[]{0x00000080000441F0L,0x8010008000000000L,0x7FFE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_181 = new BitSet(new long[]{0x00000080000441F0L,0x8010008000000000L,0x7FFE281100010333L,0x0000000000000001L});
public static final BitSet FOLLOW_182 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000080L});
public static final BitSet FOLLOW_183 = new BitSet(new long[]{0x0000000000000002L,0x0000008000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_184 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_185 = new BitSet(new long[]{0x0000000000000002L,0x0000008000000000L,0x0000000000010200L});
public static final BitSet FOLLOW_186 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L,0x0000000000000200L});
public static final BitSet FOLLOW_187 = new BitSet(new long[]{0x00000080000041F2L,0x8010008000000000L,0x7FCE281100010323L,0x0000000000000001L});
public static final BitSet FOLLOW_188 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x8000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_189 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x8000000000000000L,0x0000000000000002L});
public static final BitSet FOLLOW_190 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000008000000000L});
public static final BitSet FOLLOW_191 = new BitSet(new long[]{0x0000000000000140L});
public static final BitSet FOLLOW_192 = new BitSet(new long[]{0x0000000000000020L,0x0000018000000000L,0x0000000020000000L});
public static final BitSet FOLLOW_193 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000020000000L});
public static final BitSet FOLLOW_194 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000010000L});
public static final BitSet FOLLOW_195 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000008000010000L});
public static final BitSet FOLLOW_196 = new BitSet(new long[]{0x0000008000000002L,0x0000000000000000L,0x0040000000000000L});
public static final BitSet FOLLOW_197 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_198 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000008000000000L});
public static final BitSet FOLLOW_199 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000004L});
public static final BitSet FOLLOW_200 = new BitSet(new long[]{0x0000000000000002L,0x8000000000000000L});
public static final BitSet FOLLOW_201 = new BitSet(new long[]{0x0000000000000022L});
}