blob: d813bedd0644a21e0e72d13d01d4d18cf1847ab5 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.chart.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.chart.services.ChartDSLGrammarAccess;
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 InternalChartDSLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_STRING", "RULE_ID", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'{'", "'}'", "'chart'", "'described by'", "'as'", "'polling'", "'using'", "'bar'", "'shaded'", "'animated'", "'swapped'", "'stacked'", "'line'", "'showMarker'", "'trendLine'", "'cursor'", "'zoom'", "'tooltip'", "'fillZero'", "'filled'", "'pie'", "'empty'", "'donut'", "'bubble'", "'multiplier'", "'gradient'", "'transparent'", "'gauge'", "'label'", "'hasTicks'", "'minimum'", "'maximum'", "'intervals'", "'tree'", "'map'", "'collapsible'", "'up to'", "'datamart'", "'legend'", "'toggle'", "'replot'", "'always'", "'inside'", "'axis'", "'renders'", "'shortLabel'", "'tickangle'", "'segmentcolor'", "'import'", "'-'", "'.'", "'*'", "'@'", "'('", "','", "')'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'**'", "'/'", "'%'", "'!'", "'++'", "'--'", "'::'", "'?.'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'inside-grid'", "'outside'", "'outside-grid'", "'normal'", "'slow'", "'fast'", "'north'", "'north-east'", "'east'", "'south-east'", "'south'", "'south-west'", "'west'", "'north-west'", "'category'", "'linear'", "'date'", "'logarithmic'", "'pyramid'"
};
public static final int T__144=144;
public static final int T__143=143;
public static final int T__146=146;
public static final int RULE_HEX=7;
public static final int T__50=50;
public static final int T__145=145;
public static final int T__140=140;
public static final int T__142=142;
public static final int T__141=141;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__137=137;
public static final int T__52=52;
public static final int T__136=136;
public static final int T__53=53;
public static final int T__139=139;
public static final int T__54=54;
public static final int T__138=138;
public static final int T__133=133;
public static final int T__132=132;
public static final int T__60=60;
public static final int T__135=135;
public static final int T__61=61;
public static final int T__134=134;
public static final int RULE_ID=6;
public static final int T__131=131;
public static final int T__130=130;
public static final int RULE_INT=4;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=9;
public static final int T__67=67;
public static final int T__129=129;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__126=126;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__65=65;
public static final int T__127=127;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__151=151;
public static final int T__150=150;
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__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__102=102;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int T__19=19;
public static final int T__15=15;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int RULE_DECIMAL=8;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__122=122;
public static final int T__70=70;
public static final int T__121=121;
public static final int T__71=71;
public static final int T__124=124;
public static final int T__72=72;
public static final int T__123=123;
public static final int T__120=120;
public static final int RULE_STRING=5;
public static final int RULE_SL_COMMENT=10;
public static final int T__77=77;
public static final int T__119=119;
public static final int T__78=78;
public static final int T__118=118;
public static final int T__79=79;
public static final int T__73=73;
public static final int T__115=115;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__114=114;
public static final int T__75=75;
public static final int T__117=117;
public static final int T__76=76;
public static final int T__116=116;
public static final int T__80=80;
public static final int T__111=111;
public static final int T__81=81;
public static final int T__110=110;
public static final int T__82=82;
public static final int T__113=113;
public static final int T__83=83;
public static final int T__112=112;
public static final int RULE_WS=11;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__108=108;
public static final int T__89=89;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__84=84;
public static final int T__104=104;
public static final int T__85=85;
public static final int T__103=103;
public static final int T__86=86;
public static final int T__106=106;
public static final int T__87=87;
public static final int T__105=105;
// delegates
// delegators
public InternalChartDSLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalChartDSLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalChartDSLParser.tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g"; }
private ChartDSLGrammarAccess grammarAccess;
public InternalChartDSLParser(TokenStream input, ChartDSLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "ChartModel";
}
@Override
protected ChartDSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleChartModel"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:68:1: entryRuleChartModel returns [EObject current=null] : iv_ruleChartModel= ruleChartModel EOF ;
public final EObject entryRuleChartModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartModel = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:69:2: (iv_ruleChartModel= ruleChartModel EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:70:2: iv_ruleChartModel= ruleChartModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartModelRule());
}
pushFollow(FOLLOW_ruleChartModel_in_entryRuleChartModel75);
iv_ruleChartModel=ruleChartModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartModel;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartModel85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartModel"
// $ANTLR start "ruleChartModel"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:77:1: ruleChartModel returns [EObject current=null] : ( (lv_packages_0_0= ruleChartPackage ) )* ;
public final EObject ruleChartModel() throws RecognitionException {
EObject current = null;
EObject lv_packages_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:80:28: ( ( (lv_packages_0_0= ruleChartPackage ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:81:1: ( (lv_packages_0_0= ruleChartPackage ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:81:1: ( (lv_packages_0_0= ruleChartPackage ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==13) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:82:1: (lv_packages_0_0= ruleChartPackage )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:82:1: (lv_packages_0_0= ruleChartPackage )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:83:3: lv_packages_0_0= ruleChartPackage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartModelAccess().getPackagesChartPackageParserRuleCall_0());
}
pushFollow(FOLLOW_ruleChartPackage_in_ruleChartModel130);
lv_packages_0_0=ruleChartPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartModelRule());
}
add(
current,
"packages",
lv_packages_0_0,
"ChartPackage");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop1;
}
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartModel"
// $ANTLR start "entryRuleChartPackage"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:107:1: entryRuleChartPackage returns [EObject current=null] : iv_ruleChartPackage= ruleChartPackage EOF ;
public final EObject entryRuleChartPackage() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartPackage = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:108:2: (iv_ruleChartPackage= ruleChartPackage EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:109:2: iv_ruleChartPackage= ruleChartPackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartPackageRule());
}
pushFollow(FOLLOW_ruleChartPackage_in_entryRuleChartPackage166);
iv_ruleChartPackage=ruleChartPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartPackage;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartPackage176); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartPackage"
// $ANTLR start "ruleChartPackage"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:116:1: ruleChartPackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}' )? ) ;
public final EObject ruleChartPackage() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
EObject lv_imports_4_0 = null;
EObject lv_charts_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:119:28: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}' )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}' )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}' )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:120:2: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}' )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:120:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:121:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartPackageAccess().getChartPackageAction_0(),
current);
}
}
otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleChartPackage222); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartPackageAccess().getPackageKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:130:1: ( (lv_name_2_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:131:1: (lv_name_2_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:131:1: (lv_name_2_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:132:3: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleChartPackage243);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartPackageRule());
}
set(
current,
"name",
lv_name_2_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:148:2: (otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}' )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==14) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:148:4: otherlv_3= '{' ( (lv_imports_4_0= ruleChartImport ) )* ( (lv_charts_5_0= ruleChart ) )* otherlv_6= '}'
{
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleChartPackage256); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getChartPackageAccess().getLeftCurlyBracketKeyword_3_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:152:1: ( (lv_imports_4_0= ruleChartImport ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==62) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:153:1: (lv_imports_4_0= ruleChartImport )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:153:1: (lv_imports_4_0= ruleChartImport )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:154:3: lv_imports_4_0= ruleChartImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartPackageAccess().getImportsChartImportParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleChartImport_in_ruleChartPackage277);
lv_imports_4_0=ruleChartImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartPackageRule());
}
add(
current,
"imports",
lv_imports_4_0,
"ChartImport");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop2;
}
} while (true);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:170:3: ( (lv_charts_5_0= ruleChart ) )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==16) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:171:1: (lv_charts_5_0= ruleChart )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:171:1: (lv_charts_5_0= ruleChart )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:172:3: lv_charts_5_0= ruleChart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartPackageAccess().getChartsChartParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleChart_in_ruleChartPackage299);
lv_charts_5_0=ruleChart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartPackageRule());
}
add(
current,
"charts",
lv_charts_5_0,
"Chart");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop3;
}
} while (true);
otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleChartPackage312); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getChartPackageAccess().getRightCurlyBracketKeyword_3_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartPackage"
// $ANTLR start "entryRuleChart"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:200:1: entryRuleChart returns [EObject current=null] : iv_ruleChart= ruleChart EOF ;
public final EObject entryRuleChart() throws RecognitionException {
EObject current = null;
EObject iv_ruleChart = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:201:2: (iv_ruleChart= ruleChart EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:202:2: iv_ruleChart= ruleChart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartRule());
}
pushFollow(FOLLOW_ruleChart_in_entryRuleChart350);
iv_ruleChart=ruleChart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChart;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChart360); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChart"
// $ANTLR start "ruleChart"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:209:1: ruleChart returns [EObject current=null] : ( () otherlv_1= 'chart' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? otherlv_5= 'as' ( (lv_charttype_6_0= ruleChartOption ) ) ( ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) ) )? (otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) ) )? ) ;
public final EObject ruleChart() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_description_3_0=null;
Token otherlv_5=null;
Token lv_polling_7_0=null;
Token lv_pollingTime_8_0=null;
Token otherlv_9=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
AntlrDatatypeRuleToken lv_descriptionValue_4_0 = null;
EObject lv_charttype_6_0 = null;
EObject lv_source_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:212:28: ( ( () otherlv_1= 'chart' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? otherlv_5= 'as' ( (lv_charttype_6_0= ruleChartOption ) ) ( ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) ) )? (otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:213:1: ( () otherlv_1= 'chart' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? otherlv_5= 'as' ( (lv_charttype_6_0= ruleChartOption ) ) ( ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) ) )? (otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) ) )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:213:1: ( () otherlv_1= 'chart' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? otherlv_5= 'as' ( (lv_charttype_6_0= ruleChartOption ) ) ( ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) ) )? (otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:213:2: () otherlv_1= 'chart' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? otherlv_5= 'as' ( (lv_charttype_6_0= ruleChartOption ) ) ( ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) ) )? (otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) ) )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:213:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:214:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartAccess().getChartAction_0(),
current);
}
}
otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleChart406); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartAccess().getChartKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:223:1: ( (lv_name_2_0= ruleTRANSLATABLEID ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:224:1: (lv_name_2_0= ruleTRANSLATABLEID )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:224:1: (lv_name_2_0= ruleTRANSLATABLEID )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:225:3: lv_name_2_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAccess().getNameTRANSLATABLEIDParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLEID_in_ruleChart427);
lv_name_2_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartRule());
}
set(
current,
"name",
lv_name_2_0,
"TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:241:2: ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==17) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:241:3: ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:241:3: ( (lv_description_3_0= 'described by' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:242:1: (lv_description_3_0= 'described by' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:242:1: (lv_description_3_0= 'described by' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:243:3: lv_description_3_0= 'described by'
{
lv_description_3_0=(Token)match(input,17,FOLLOW_17_in_ruleChart446); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_description_3_0, grammarAccess.getChartAccess().getDescriptionDescribedByKeyword_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartRule());
}
setWithLastConsumed(current, "description", true, "described by");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:256:2: ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:257:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:257:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:258:3: lv_descriptionValue_4_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleChart480);
lv_descriptionValue_4_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartRule());
}
set(
current,
"descriptionValue",
lv_descriptionValue_4_0,
"TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_5=(Token)match(input,18,FOLLOW_18_in_ruleChart494); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getChartAccess().getAsKeyword_4());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:278:1: ( (lv_charttype_6_0= ruleChartOption ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:279:1: (lv_charttype_6_0= ruleChartOption )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:279:1: (lv_charttype_6_0= ruleChartOption )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:280:3: lv_charttype_6_0= ruleChartOption
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAccess().getCharttypeChartOptionParserRuleCall_5_0());
}
pushFollow(FOLLOW_ruleChartOption_in_ruleChart515);
lv_charttype_6_0=ruleChartOption();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartRule());
}
set(
current,
"charttype",
lv_charttype_6_0,
"ChartOption");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:296:2: ( ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) ) )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==19) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:296:3: ( (lv_polling_7_0= 'polling' ) ) ( (lv_pollingTime_8_0= RULE_INT ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:296:3: ( (lv_polling_7_0= 'polling' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:297:1: (lv_polling_7_0= 'polling' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:297:1: (lv_polling_7_0= 'polling' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:298:3: lv_polling_7_0= 'polling'
{
lv_polling_7_0=(Token)match(input,19,FOLLOW_19_in_ruleChart534); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_polling_7_0, grammarAccess.getChartAccess().getPollingPollingKeyword_6_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartRule());
}
setWithLastConsumed(current, "polling", true, "polling");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:311:2: ( (lv_pollingTime_8_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:312:1: (lv_pollingTime_8_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:312:1: (lv_pollingTime_8_0= RULE_INT )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:313:3: lv_pollingTime_8_0= RULE_INT
{
lv_pollingTime_8_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleChart564); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_pollingTime_8_0, grammarAccess.getChartAccess().getPollingTimeINTTerminalRuleCall_6_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartRule());
}
setWithLastConsumed(
current,
"pollingTime",
lv_pollingTime_8_0,
"INT");
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:329:4: (otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==20) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:329:6: otherlv_9= 'using' ( (lv_source_10_0= ruleChartDatamart ) )
{
otherlv_9=(Token)match(input,20,FOLLOW_20_in_ruleChart584); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getChartAccess().getUsingKeyword_7_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:333:1: ( (lv_source_10_0= ruleChartDatamart ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:334:1: (lv_source_10_0= ruleChartDatamart )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:334:1: (lv_source_10_0= ruleChartDatamart )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:335:3: lv_source_10_0= ruleChartDatamart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAccess().getSourceChartDatamartParserRuleCall_7_1_0());
}
pushFollow(FOLLOW_ruleChartDatamart_in_ruleChart605);
lv_source_10_0=ruleChartDatamart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartRule());
}
set(
current,
"source",
lv_source_10_0,
"ChartDatamart");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChart"
// $ANTLR start "entryRuleChartOption"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:359:1: entryRuleChartOption returns [EObject current=null] : iv_ruleChartOption= ruleChartOption EOF ;
public final EObject entryRuleChartOption() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartOption = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:360:2: (iv_ruleChartOption= ruleChartOption EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:361:2: iv_ruleChartOption= ruleChartOption EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionRule());
}
pushFollow(FOLLOW_ruleChartOption_in_entryRuleChartOption643);
iv_ruleChartOption=ruleChartOption();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartOption;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartOption653); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartOption"
// $ANTLR start "ruleChartOption"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:368:1: ruleChartOption returns [EObject current=null] : (this_ChartBar_0= ruleChartBar | this_ChartLine_1= ruleChartLine | this_ChartPie_2= ruleChartPie | this_ChartDonut_3= ruleChartDonut | this_ChartBubble_4= ruleChartBubble | this_ChartGauge_5= ruleChartGauge | this_ChartTree_6= ruleChartTree ) ;
public final EObject ruleChartOption() throws RecognitionException {
EObject current = null;
EObject this_ChartBar_0 = null;
EObject this_ChartLine_1 = null;
EObject this_ChartPie_2 = null;
EObject this_ChartDonut_3 = null;
EObject this_ChartBubble_4 = null;
EObject this_ChartGauge_5 = null;
EObject this_ChartTree_6 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:371:28: ( (this_ChartBar_0= ruleChartBar | this_ChartLine_1= ruleChartLine | this_ChartPie_2= ruleChartPie | this_ChartDonut_3= ruleChartDonut | this_ChartBubble_4= ruleChartBubble | this_ChartGauge_5= ruleChartGauge | this_ChartTree_6= ruleChartTree ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:372:1: (this_ChartBar_0= ruleChartBar | this_ChartLine_1= ruleChartLine | this_ChartPie_2= ruleChartPie | this_ChartDonut_3= ruleChartDonut | this_ChartBubble_4= ruleChartBubble | this_ChartGauge_5= ruleChartGauge | this_ChartTree_6= ruleChartTree )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:372:1: (this_ChartBar_0= ruleChartBar | this_ChartLine_1= ruleChartLine | this_ChartPie_2= ruleChartPie | this_ChartDonut_3= ruleChartDonut | this_ChartBubble_4= ruleChartBubble | this_ChartGauge_5= ruleChartGauge | this_ChartTree_6= ruleChartTree )
int alt8=7;
switch ( input.LA(1) ) {
case 21:
{
alt8=1;
}
break;
case 26:
{
alt8=2;
}
break;
case 34:
{
alt8=3;
}
break;
case 36:
{
alt8=4;
}
break;
case 37:
{
alt8=5;
}
break;
case 41:
{
alt8=6;
}
break;
case 47:
{
alt8=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 8, 0, input);
throw nvae;
}
switch (alt8) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:373:5: this_ChartBar_0= ruleChartBar
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartBarParserRuleCall_0());
}
pushFollow(FOLLOW_ruleChartBar_in_ruleChartOption700);
this_ChartBar_0=ruleChartBar();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartBar_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:383:5: this_ChartLine_1= ruleChartLine
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartLineParserRuleCall_1());
}
pushFollow(FOLLOW_ruleChartLine_in_ruleChartOption727);
this_ChartLine_1=ruleChartLine();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartLine_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:393:5: this_ChartPie_2= ruleChartPie
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartPieParserRuleCall_2());
}
pushFollow(FOLLOW_ruleChartPie_in_ruleChartOption754);
this_ChartPie_2=ruleChartPie();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartPie_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:403:5: this_ChartDonut_3= ruleChartDonut
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartDonutParserRuleCall_3());
}
pushFollow(FOLLOW_ruleChartDonut_in_ruleChartOption781);
this_ChartDonut_3=ruleChartDonut();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartDonut_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:413:5: this_ChartBubble_4= ruleChartBubble
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartBubbleParserRuleCall_4());
}
pushFollow(FOLLOW_ruleChartBubble_in_ruleChartOption808);
this_ChartBubble_4=ruleChartBubble();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartBubble_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:423:5: this_ChartGauge_5= ruleChartGauge
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartGaugeParserRuleCall_5());
}
pushFollow(FOLLOW_ruleChartGauge_in_ruleChartOption835);
this_ChartGauge_5=ruleChartGauge();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartGauge_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:433:5: this_ChartTree_6= ruleChartTree
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartOptionAccess().getChartTreeParserRuleCall_6());
}
pushFollow(FOLLOW_ruleChartTree_in_ruleChartOption862);
this_ChartTree_6=ruleChartTree();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartTree_6;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartOption"
// $ANTLR start "entryRuleChartBar"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:449:1: entryRuleChartBar returns [EObject current=null] : iv_ruleChartBar= ruleChartBar EOF ;
public final EObject entryRuleChartBar() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartBar = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:450:2: (iv_ruleChartBar= ruleChartBar EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:451:2: iv_ruleChartBar= ruleChartBar EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartBarRule());
}
pushFollow(FOLLOW_ruleChartBar_in_entryRuleChartBar897);
iv_ruleChartBar=ruleChartBar();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartBar;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartBar907); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartBar"
// $ANTLR start "ruleChartBar"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:458:1: ruleChartBar returns [EObject current=null] : ( () otherlv_1= 'bar' ( ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) ) ) ) ;
public final EObject ruleChartBar() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_shadow_3_0=null;
Token lv_animated_4_0=null;
Token lv_swapped_5_0=null;
Token lv_stacked_6_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:461:28: ( ( () otherlv_1= 'bar' ( ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:462:1: ( () otherlv_1= 'bar' ( ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:462:1: ( () otherlv_1= 'bar' ( ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:462:2: () otherlv_1= 'bar' ( ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:462:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:463:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartBarAccess().getChartBarAction_0(),
current);
}
}
otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleChartBar953); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartBarAccess().getBarKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:472:1: ( ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:474:1: ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:474:1: ( ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:475:2: ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getChartBarAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:478:2: ( ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:479:3: ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:479:3: ( ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) ) )*
loop9:
do {
int alt9=5;
int LA9_0 = input.LA(1);
if ( LA9_0 ==22 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 0) ) {
alt9=1;
}
else if ( LA9_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 1) ) {
alt9=2;
}
else if ( LA9_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 2) ) {
alt9=3;
}
else if ( LA9_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 3) ) {
alt9=4;
}
switch (alt9) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:481:4: ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:481:4: ({...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:482:5: {...}? => ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:482:105: ( ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:483:6: ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:486:6: ({...}? => ( (lv_shadow_3_0= 'shaded' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:486:7: {...}? => ( (lv_shadow_3_0= 'shaded' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:486:16: ( (lv_shadow_3_0= 'shaded' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:487:1: (lv_shadow_3_0= 'shaded' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:487:1: (lv_shadow_3_0= 'shaded' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:488:3: lv_shadow_3_0= 'shaded'
{
lv_shadow_3_0=(Token)match(input,22,FOLLOW_22_in_ruleChartBar1016); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_shadow_3_0, grammarAccess.getChartBarAccess().getShadowShadedKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBarRule());
}
setWithLastConsumed(current, "shadow", true, "shaded");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartBarAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:508:4: ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:508:4: ({...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:509:5: {...}? => ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:509:105: ( ({...}? => ( (lv_animated_4_0= 'animated' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:510:6: ({...}? => ( (lv_animated_4_0= 'animated' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:513:6: ({...}? => ( (lv_animated_4_0= 'animated' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:513:7: {...}? => ( (lv_animated_4_0= 'animated' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:513:16: ( (lv_animated_4_0= 'animated' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:514:1: (lv_animated_4_0= 'animated' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:514:1: (lv_animated_4_0= 'animated' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:515:3: lv_animated_4_0= 'animated'
{
lv_animated_4_0=(Token)match(input,23,FOLLOW_23_in_ruleChartBar1101); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_animated_4_0, grammarAccess.getChartBarAccess().getAnimatedAnimatedKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBarRule());
}
setWithLastConsumed(current, "animated", true, "animated");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartBarAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:535:4: ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:535:4: ({...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:536:5: {...}? => ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:536:105: ( ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:537:6: ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:540:6: ({...}? => ( (lv_swapped_5_0= 'swapped' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:540:7: {...}? => ( (lv_swapped_5_0= 'swapped' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:540:16: ( (lv_swapped_5_0= 'swapped' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:541:1: (lv_swapped_5_0= 'swapped' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:541:1: (lv_swapped_5_0= 'swapped' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:542:3: lv_swapped_5_0= 'swapped'
{
lv_swapped_5_0=(Token)match(input,24,FOLLOW_24_in_ruleChartBar1186); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_swapped_5_0, grammarAccess.getChartBarAccess().getSwappedSwappedKeyword_2_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBarRule());
}
setWithLastConsumed(current, "swapped", true, "swapped");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartBarAccess().getUnorderedGroup_2());
}
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:562:4: ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:562:4: ({...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:563:5: {...}? => ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 3)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:563:105: ( ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:564:6: ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartBarAccess().getUnorderedGroup_2(), 3);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:567:6: ({...}? => ( (lv_stacked_6_0= 'stacked' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:567:7: {...}? => ( (lv_stacked_6_0= 'stacked' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBar", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:567:16: ( (lv_stacked_6_0= 'stacked' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:568:1: (lv_stacked_6_0= 'stacked' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:568:1: (lv_stacked_6_0= 'stacked' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:569:3: lv_stacked_6_0= 'stacked'
{
lv_stacked_6_0=(Token)match(input,25,FOLLOW_25_in_ruleChartBar1271); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_stacked_6_0, grammarAccess.getChartBarAccess().getStackedStackedKeyword_2_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBarRule());
}
setWithLastConsumed(current, "stacked", true, "stacked");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartBarAccess().getUnorderedGroup_2());
}
}
}
break;
default :
break loop9;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getChartBarAccess().getUnorderedGroup_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartBar"
// $ANTLR start "entryRuleChartLine"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:604:1: entryRuleChartLine returns [EObject current=null] : iv_ruleChartLine= ruleChartLine EOF ;
public final EObject entryRuleChartLine() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartLine = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:605:2: (iv_ruleChartLine= ruleChartLine EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:606:2: iv_ruleChartLine= ruleChartLine EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartLineRule());
}
pushFollow(FOLLOW_ruleChartLine_in_entryRuleChartLine1360);
iv_ruleChartLine=ruleChartLine();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartLine;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartLine1370); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartLine"
// $ANTLR start "ruleChartLine"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:613:1: ruleChartLine returns [EObject current=null] : ( () otherlv_1= 'line' ( ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) ) ) ) ;
public final EObject ruleChartLine() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_animated_3_0=null;
Token lv_showMarker_4_0=null;
Token lv_trendLine_5_0=null;
Token lv_cursor_6_0=null;
Token lv_zoom_7_0=null;
Token lv_tooltip_8_0=null;
Token lv_fillToZero_9_0=null;
Token lv_fillArea_10_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:616:28: ( ( () otherlv_1= 'line' ( ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:617:1: ( () otherlv_1= 'line' ( ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:617:1: ( () otherlv_1= 'line' ( ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:617:2: () otherlv_1= 'line' ( ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:617:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:618:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartLineAccess().getChartLineAction_0(),
current);
}
}
otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleChartLine1416); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartLineAccess().getLineKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:627:1: ( ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:629:1: ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:629:1: ( ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:630:2: ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:633:2: ( ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:634:3: ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:634:3: ( ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) ) )*
loop12:
do {
int alt12=7;
int LA12_0 = input.LA(1);
if ( LA12_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 0) ) {
alt12=1;
}
else if ( LA12_0 ==27 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 1) ) {
alt12=2;
}
else if ( LA12_0 ==28 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 2) ) {
alt12=3;
}
else if ( LA12_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 3) ) {
alt12=4;
}
else if ( LA12_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 4) ) {
alt12=5;
}
else if ( LA12_0 ==33 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 5) ) {
alt12=6;
}
switch (alt12) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:636:4: ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:636:4: ({...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:637:5: {...}? => ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:637:106: ( ({...}? => ( (lv_animated_3_0= 'animated' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:638:6: ({...}? => ( (lv_animated_3_0= 'animated' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:641:6: ({...}? => ( (lv_animated_3_0= 'animated' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:641:7: {...}? => ( (lv_animated_3_0= 'animated' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:641:16: ( (lv_animated_3_0= 'animated' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:642:1: (lv_animated_3_0= 'animated' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:642:1: (lv_animated_3_0= 'animated' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:643:3: lv_animated_3_0= 'animated'
{
lv_animated_3_0=(Token)match(input,23,FOLLOW_23_in_ruleChartLine1479); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_animated_3_0, grammarAccess.getChartLineAccess().getAnimatedAnimatedKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "animated", true, "animated");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:663:4: ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:663:4: ({...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:664:5: {...}? => ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:664:106: ( ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:665:6: ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:668:6: ({...}? => ( (lv_showMarker_4_0= 'showMarker' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:668:7: {...}? => ( (lv_showMarker_4_0= 'showMarker' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:668:16: ( (lv_showMarker_4_0= 'showMarker' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:669:1: (lv_showMarker_4_0= 'showMarker' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:669:1: (lv_showMarker_4_0= 'showMarker' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:670:3: lv_showMarker_4_0= 'showMarker'
{
lv_showMarker_4_0=(Token)match(input,27,FOLLOW_27_in_ruleChartLine1564); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_showMarker_4_0, grammarAccess.getChartLineAccess().getShowMarkerShowMarkerKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "showMarker", true, "showMarker");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:690:4: ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:690:4: ({...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:691:5: {...}? => ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:691:106: ( ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:692:6: ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:695:6: ({...}? => ( (lv_trendLine_5_0= 'trendLine' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:695:7: {...}? => ( (lv_trendLine_5_0= 'trendLine' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:695:16: ( (lv_trendLine_5_0= 'trendLine' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:696:1: (lv_trendLine_5_0= 'trendLine' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:696:1: (lv_trendLine_5_0= 'trendLine' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:697:3: lv_trendLine_5_0= 'trendLine'
{
lv_trendLine_5_0=(Token)match(input,28,FOLLOW_28_in_ruleChartLine1649); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_trendLine_5_0, grammarAccess.getChartLineAccess().getTrendLineTrendLineKeyword_2_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "trendLine", true, "trendLine");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:717:4: ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:717:4: ({...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:718:5: {...}? => ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 3)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:718:106: ( ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:719:6: ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 3);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:722:6: ({...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:722:7: {...}? => ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:722:16: ( ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:722:17: ( (lv_cursor_6_0= 'cursor' ) ) ( (lv_zoom_7_0= 'zoom' ) )? ( (lv_tooltip_8_0= 'tooltip' ) )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:722:17: ( (lv_cursor_6_0= 'cursor' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:723:1: (lv_cursor_6_0= 'cursor' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:723:1: (lv_cursor_6_0= 'cursor' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:724:3: lv_cursor_6_0= 'cursor'
{
lv_cursor_6_0=(Token)match(input,29,FOLLOW_29_in_ruleChartLine1735); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_cursor_6_0, grammarAccess.getChartLineAccess().getCursorCursorKeyword_2_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "cursor", true, "cursor");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:737:2: ( (lv_zoom_7_0= 'zoom' ) )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==30) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:738:1: (lv_zoom_7_0= 'zoom' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:738:1: (lv_zoom_7_0= 'zoom' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:739:3: lv_zoom_7_0= 'zoom'
{
lv_zoom_7_0=(Token)match(input,30,FOLLOW_30_in_ruleChartLine1766); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_zoom_7_0, grammarAccess.getChartLineAccess().getZoomZoomKeyword_2_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "zoom", true, "zoom");
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:752:3: ( (lv_tooltip_8_0= 'tooltip' ) )?
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==31) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:753:1: (lv_tooltip_8_0= 'tooltip' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:753:1: (lv_tooltip_8_0= 'tooltip' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:754:3: lv_tooltip_8_0= 'tooltip'
{
lv_tooltip_8_0=(Token)match(input,31,FOLLOW_31_in_ruleChartLine1798); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_tooltip_8_0, grammarAccess.getChartLineAccess().getTooltipTooltipKeyword_2_3_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "tooltip", true, "tooltip");
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:774:4: ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:774:4: ({...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:775:5: {...}? => ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 4) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 4)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:775:106: ( ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:776:6: ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 4);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:779:6: ({...}? => ( (lv_fillToZero_9_0= 'fillZero' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:779:7: {...}? => ( (lv_fillToZero_9_0= 'fillZero' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:779:16: ( (lv_fillToZero_9_0= 'fillZero' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:780:1: (lv_fillToZero_9_0= 'fillZero' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:780:1: (lv_fillToZero_9_0= 'fillZero' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:781:3: lv_fillToZero_9_0= 'fillZero'
{
lv_fillToZero_9_0=(Token)match(input,32,FOLLOW_32_in_ruleChartLine1885); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fillToZero_9_0, grammarAccess.getChartLineAccess().getFillToZeroFillZeroKeyword_2_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "fillToZero", true, "fillZero");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:801:4: ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:801:4: ({...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:802:5: {...}? => ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 5) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 5)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:802:106: ( ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:803:6: ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartLineAccess().getUnorderedGroup_2(), 5);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:806:6: ({...}? => ( (lv_fillArea_10_0= 'filled' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:806:7: {...}? => ( (lv_fillArea_10_0= 'filled' ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartLine", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:806:16: ( (lv_fillArea_10_0= 'filled' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:807:1: (lv_fillArea_10_0= 'filled' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:807:1: (lv_fillArea_10_0= 'filled' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:808:3: lv_fillArea_10_0= 'filled'
{
lv_fillArea_10_0=(Token)match(input,33,FOLLOW_33_in_ruleChartLine1970); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fillArea_10_0, grammarAccess.getChartLineAccess().getFillAreaFilledKeyword_2_5_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLineRule());
}
setWithLastConsumed(current, "fillArea", true, "filled");
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
break;
default :
break loop12;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getChartLineAccess().getUnorderedGroup_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartLine"
// $ANTLR start "entryRuleChartPie"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:843:1: entryRuleChartPie returns [EObject current=null] : iv_ruleChartPie= ruleChartPie EOF ;
public final EObject entryRuleChartPie() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartPie = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:844:2: (iv_ruleChartPie= ruleChartPie EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:845:2: iv_ruleChartPie= ruleChartPie EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartPieRule());
}
pushFollow(FOLLOW_ruleChartPie_in_entryRuleChartPie2059);
iv_ruleChartPie=ruleChartPie();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartPie;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartPie2069); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartPie"
// $ANTLR start "ruleChartPie"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:852:1: ruleChartPie returns [EObject current=null] : ( () otherlv_1= 'pie' ( (lv_empty_2_0= 'empty' ) )? ) ;
public final EObject ruleChartPie() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_empty_2_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:855:28: ( ( () otherlv_1= 'pie' ( (lv_empty_2_0= 'empty' ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:856:1: ( () otherlv_1= 'pie' ( (lv_empty_2_0= 'empty' ) )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:856:1: ( () otherlv_1= 'pie' ( (lv_empty_2_0= 'empty' ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:856:2: () otherlv_1= 'pie' ( (lv_empty_2_0= 'empty' ) )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:856:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:857:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartPieAccess().getChartPieAction_0(),
current);
}
}
otherlv_1=(Token)match(input,34,FOLLOW_34_in_ruleChartPie2115); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartPieAccess().getPieKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:866:1: ( (lv_empty_2_0= 'empty' ) )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==35) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:867:1: (lv_empty_2_0= 'empty' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:867:1: (lv_empty_2_0= 'empty' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:868:3: lv_empty_2_0= 'empty'
{
lv_empty_2_0=(Token)match(input,35,FOLLOW_35_in_ruleChartPie2133); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_empty_2_0, grammarAccess.getChartPieAccess().getEmptyEmptyKeyword_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartPieRule());
}
setWithLastConsumed(current, "empty", true, "empty");
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartPie"
// $ANTLR start "entryRuleChartDonut"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:889:1: entryRuleChartDonut returns [EObject current=null] : iv_ruleChartDonut= ruleChartDonut EOF ;
public final EObject entryRuleChartDonut() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartDonut = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:890:2: (iv_ruleChartDonut= ruleChartDonut EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:891:2: iv_ruleChartDonut= ruleChartDonut EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartDonutRule());
}
pushFollow(FOLLOW_ruleChartDonut_in_entryRuleChartDonut2183);
iv_ruleChartDonut=ruleChartDonut();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartDonut;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartDonut2193); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartDonut"
// $ANTLR start "ruleChartDonut"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:898:1: ruleChartDonut returns [EObject current=null] : ( () otherlv_1= 'donut' ) ;
public final EObject ruleChartDonut() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:901:28: ( ( () otherlv_1= 'donut' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:902:1: ( () otherlv_1= 'donut' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:902:1: ( () otherlv_1= 'donut' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:902:2: () otherlv_1= 'donut'
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:902:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:903:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartDonutAccess().getChartDonutAction_0(),
current);
}
}
otherlv_1=(Token)match(input,36,FOLLOW_36_in_ruleChartDonut2239); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartDonutAccess().getDonutKeyword_1());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartDonut"
// $ANTLR start "entryRuleChartBubble"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:920:1: entryRuleChartBubble returns [EObject current=null] : iv_ruleChartBubble= ruleChartBubble EOF ;
public final EObject entryRuleChartBubble() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartBubble = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:921:2: (iv_ruleChartBubble= ruleChartBubble EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:922:2: iv_ruleChartBubble= ruleChartBubble EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartBubbleRule());
}
pushFollow(FOLLOW_ruleChartBubble_in_entryRuleChartBubble2275);
iv_ruleChartBubble=ruleChartBubble();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartBubble;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartBubble2285); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartBubble"
// $ANTLR start "ruleChartBubble"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:929:1: ruleChartBubble returns [EObject current=null] : ( () otherlv_1= 'bubble' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) ) )? ) ;
public final EObject ruleChartBubble() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_multiplier_3_0=null;
Token lv_gradient_5_0=null;
Token lv_transparent_6_0=null;
AntlrDatatypeRuleToken lv_multiplierValue_4_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:932:28: ( ( () otherlv_1= 'bubble' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:933:1: ( () otherlv_1= 'bubble' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) ) )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:933:1: ( () otherlv_1= 'bubble' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:933:2: () otherlv_1= 'bubble' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) ) )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:933:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:934:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartBubbleAccess().getChartBubbleAction_0(),
current);
}
}
otherlv_1=(Token)match(input,37,FOLLOW_37_in_ruleChartBubble2331); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartBubbleAccess().getBubbleKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:943:1: ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) ) )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( ((LA16_0>=38 && LA16_0<=40)) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:945:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:945:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:946:2: ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:949:2: ( ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?)
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:950:3: ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+ {...}?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:950:3: ( ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) ) )+
int cnt15=0;
loop15:
do {
int alt15=3;
int LA15_0 = input.LA(1);
if ( LA15_0 ==38 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 0) ) {
alt15=1;
}
else if ( LA15_0 >=39 && LA15_0<=40 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 1) ) {
alt15=2;
}
switch (alt15) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:952:4: ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:952:4: ({...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:953:5: {...}? => ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBubble", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:953:108: ( ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:954:6: ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:957:6: ({...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:957:7: {...}? => ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBubble", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:957:16: ( ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:957:17: ( (lv_multiplier_3_0= 'multiplier' ) ) ( (lv_multiplierValue_4_0= ruleNumber ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:957:17: ( (lv_multiplier_3_0= 'multiplier' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:958:1: (lv_multiplier_3_0= 'multiplier' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:958:1: (lv_multiplier_3_0= 'multiplier' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:959:3: lv_multiplier_3_0= 'multiplier'
{
lv_multiplier_3_0=(Token)match(input,38,FOLLOW_38_in_ruleChartBubble2395); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_multiplier_3_0, grammarAccess.getChartBubbleAccess().getMultiplierMultiplierKeyword_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBubbleRule());
}
setWithLastConsumed(current, "multiplier", true, "multiplier");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:972:2: ( (lv_multiplierValue_4_0= ruleNumber ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:973:1: (lv_multiplierValue_4_0= ruleNumber )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:973:1: (lv_multiplierValue_4_0= ruleNumber )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:974:3: lv_multiplierValue_4_0= ruleNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartBubbleAccess().getMultiplierValueNumberParserRuleCall_2_0_1_0());
}
pushFollow(FOLLOW_ruleNumber_in_ruleChartBubble2429);
lv_multiplierValue_4_0=ruleNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartBubbleRule());
}
set(
current,
"multiplierValue",
lv_multiplierValue_4_0,
"Number");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:997:4: ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:997:4: ({...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:998:5: {...}? => ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBubble", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:998:108: ( ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:999:6: ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1002:6: ({...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1002:7: {...}? => ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBubble", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1002:16: ( ( (lv_gradient_5_0= 'gradient' ) ) | ( (lv_transparent_6_0= 'transparent' ) ) )
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==39) ) {
alt14=1;
}
else if ( (LA14_0==40) ) {
alt14=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1002:17: ( (lv_gradient_5_0= 'gradient' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1002:17: ( (lv_gradient_5_0= 'gradient' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1003:1: (lv_gradient_5_0= 'gradient' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1003:1: (lv_gradient_5_0= 'gradient' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1004:3: lv_gradient_5_0= 'gradient'
{
lv_gradient_5_0=(Token)match(input,39,FOLLOW_39_in_ruleChartBubble2503); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_gradient_5_0, grammarAccess.getChartBubbleAccess().getGradientGradientKeyword_2_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBubbleRule());
}
setWithLastConsumed(current, "gradient", true, "gradient");
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1018:6: ( (lv_transparent_6_0= 'transparent' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1018:6: ( (lv_transparent_6_0= 'transparent' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1019:1: (lv_transparent_6_0= 'transparent' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1019:1: (lv_transparent_6_0= 'transparent' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1020:3: lv_transparent_6_0= 'transparent'
{
lv_transparent_6_0=(Token)match(input,40,FOLLOW_40_in_ruleChartBubble2540); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_transparent_6_0, grammarAccess.getChartBubbleAccess().getTransparentTransparentKeyword_2_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartBubbleRule());
}
setWithLastConsumed(current, "transparent", true, "transparent");
}
}
}
}
break;
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2());
}
}
}
break;
default :
if ( cnt15 >= 1 ) break loop15;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(15, input);
throw eee;
}
cnt15++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartBubble", "getUnorderedGroupHelper().canLeave(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getChartBubbleAccess().getUnorderedGroup_2());
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartBubble"
// $ANTLR start "entryRuleChartGauge"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1056:1: entryRuleChartGauge returns [EObject current=null] : iv_ruleChartGauge= ruleChartGauge EOF ;
public final EObject entryRuleChartGauge() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartGauge = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1057:2: (iv_ruleChartGauge= ruleChartGauge EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1058:2: iv_ruleChartGauge= ruleChartGauge EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartGaugeRule());
}
pushFollow(FOLLOW_ruleChartGauge_in_entryRuleChartGauge2637);
iv_ruleChartGauge=ruleChartGauge();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartGauge;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartGauge2647); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartGauge"
// $ANTLR start "ruleChartGauge"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1065:1: ruleChartGauge returns [EObject current=null] : ( () otherlv_1= 'gauge' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) ) ) ) ;
public final EObject ruleChartGauge() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_labeled_3_0=null;
Token lv_labelValue_4_0=null;
Token lv_hasTicks_5_0=null;
Token otherlv_6=null;
Token lv_minValue_7_0=null;
Token otherlv_8=null;
Token lv_maxValue_9_0=null;
Token lv_hasIntervals_10_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
EObject lv_intervals_12_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1068:28: ( ( () otherlv_1= 'gauge' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1069:1: ( () otherlv_1= 'gauge' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1069:1: ( () otherlv_1= 'gauge' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1069:2: () otherlv_1= 'gauge' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1069:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1070:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartGaugeAccess().getChartGaugeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleChartGauge2693); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartGaugeAccess().getGaugeKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1079:1: ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1081:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1081:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1082:2: ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1085:2: ( ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1086:3: ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1086:3: ( ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) ) )*
loop18:
do {
int alt18=4;
int LA18_0 = input.LA(1);
if ( LA18_0 ==42 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 0) ) {
alt18=1;
}
else if ( LA18_0 ==43 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 1) ) {
alt18=2;
}
else if ( LA18_0 ==46 && getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 2) ) {
alt18=3;
}
switch (alt18) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1088:4: ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1088:4: ({...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1089:5: {...}? => ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartGauge", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1089:107: ( ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1090:6: ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1093:6: ({...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1093:7: {...}? => ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartGauge", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1093:16: ( ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1093:17: ( (lv_labeled_3_0= 'label' ) ) ( (lv_labelValue_4_0= RULE_STRING ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1093:17: ( (lv_labeled_3_0= 'label' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1094:1: (lv_labeled_3_0= 'label' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1094:1: (lv_labeled_3_0= 'label' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1095:3: lv_labeled_3_0= 'label'
{
lv_labeled_3_0=(Token)match(input,42,FOLLOW_42_in_ruleChartGauge2757); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_labeled_3_0, grammarAccess.getChartGaugeAccess().getLabeledLabelKeyword_2_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartGaugeRule());
}
setWithLastConsumed(current, "labeled", true, "label");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1108:2: ( (lv_labelValue_4_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1109:1: (lv_labelValue_4_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1109:1: (lv_labelValue_4_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1110:3: lv_labelValue_4_0= RULE_STRING
{
lv_labelValue_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleChartGauge2787); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_labelValue_4_0, grammarAccess.getChartGaugeAccess().getLabelValueSTRINGTerminalRuleCall_2_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartGaugeRule());
}
setWithLastConsumed(
current,
"labelValue",
lv_labelValue_4_0,
"STRING");
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1133:4: ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1133:4: ({...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1134:5: {...}? => ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartGauge", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1134:107: ( ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1135:6: ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1138:6: ({...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1138:7: {...}? => ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartGauge", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1138:16: ( ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1138:17: ( (lv_hasTicks_5_0= 'hasTicks' ) ) otherlv_6= 'minimum' ( (lv_minValue_7_0= RULE_INT ) ) otherlv_8= 'maximum' ( (lv_maxValue_9_0= RULE_INT ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1138:17: ( (lv_hasTicks_5_0= 'hasTicks' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1139:1: (lv_hasTicks_5_0= 'hasTicks' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1139:1: (lv_hasTicks_5_0= 'hasTicks' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1140:3: lv_hasTicks_5_0= 'hasTicks'
{
lv_hasTicks_5_0=(Token)match(input,43,FOLLOW_43_in_ruleChartGauge2866); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_hasTicks_5_0, grammarAccess.getChartGaugeAccess().getHasTicksHasTicksKeyword_2_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartGaugeRule());
}
setWithLastConsumed(current, "hasTicks", true, "hasTicks");
}
}
}
otherlv_6=(Token)match(input,44,FOLLOW_44_in_ruleChartGauge2891); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getChartGaugeAccess().getMinimumKeyword_2_1_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1157:1: ( (lv_minValue_7_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1158:1: (lv_minValue_7_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1158:1: (lv_minValue_7_0= RULE_INT )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1159:3: lv_minValue_7_0= RULE_INT
{
lv_minValue_7_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleChartGauge2908); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_minValue_7_0, grammarAccess.getChartGaugeAccess().getMinValueINTTerminalRuleCall_2_1_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartGaugeRule());
}
setWithLastConsumed(
current,
"minValue",
lv_minValue_7_0,
"INT");
}
}
}
otherlv_8=(Token)match(input,45,FOLLOW_45_in_ruleChartGauge2925); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getChartGaugeAccess().getMaximumKeyword_2_1_3());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1179:1: ( (lv_maxValue_9_0= RULE_INT ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1180:1: (lv_maxValue_9_0= RULE_INT )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1180:1: (lv_maxValue_9_0= RULE_INT )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1181:3: lv_maxValue_9_0= RULE_INT
{
lv_maxValue_9_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleChartGauge2942); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_maxValue_9_0, grammarAccess.getChartGaugeAccess().getMaxValueINTTerminalRuleCall_2_1_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartGaugeRule());
}
setWithLastConsumed(
current,
"maxValue",
lv_maxValue_9_0,
"INT");
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1204:4: ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1204:4: ({...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1205:5: {...}? => ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartGauge", "getUnorderedGroupHelper().canSelect(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1205:107: ( ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1206:6: ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1209:6: ({...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1209:7: {...}? => ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleChartGauge", "true");
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1209:16: ( ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1209:17: ( (lv_hasIntervals_10_0= 'intervals' ) ) otherlv_11= '{' ( (lv_intervals_12_0= ruleChartInterval ) )* otherlv_13= '}'
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1209:17: ( (lv_hasIntervals_10_0= 'intervals' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1210:1: (lv_hasIntervals_10_0= 'intervals' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1210:1: (lv_hasIntervals_10_0= 'intervals' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1211:3: lv_hasIntervals_10_0= 'intervals'
{
lv_hasIntervals_10_0=(Token)match(input,46,FOLLOW_46_in_ruleChartGauge3021); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_hasIntervals_10_0, grammarAccess.getChartGaugeAccess().getHasIntervalsIntervalsKeyword_2_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartGaugeRule());
}
setWithLastConsumed(current, "hasIntervals", true, "intervals");
}
}
}
otherlv_11=(Token)match(input,14,FOLLOW_14_in_ruleChartGauge3046); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getChartGaugeAccess().getLeftCurlyBracketKeyword_2_2_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1228:1: ( (lv_intervals_12_0= ruleChartInterval ) )*
loop17:
do {
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==50) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1229:1: (lv_intervals_12_0= ruleChartInterval )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1229:1: (lv_intervals_12_0= ruleChartInterval )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1230:3: lv_intervals_12_0= ruleChartInterval
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartGaugeAccess().getIntervalsChartIntervalParserRuleCall_2_2_2_0());
}
pushFollow(FOLLOW_ruleChartInterval_in_ruleChartGauge3067);
lv_intervals_12_0=ruleChartInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartGaugeRule());
}
add(
current,
"intervals",
lv_intervals_12_0,
"ChartInterval");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop17;
}
} while (true);
otherlv_13=(Token)match(input,15,FOLLOW_15_in_ruleChartGauge3080); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getChartGaugeAccess().getRightCurlyBracketKeyword_2_2_3());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2());
}
}
}
break;
default :
break loop18;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getChartGaugeAccess().getUnorderedGroup_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartGauge"
// $ANTLR start "entryRuleChartTree"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1272:1: entryRuleChartTree returns [EObject current=null] : iv_ruleChartTree= ruleChartTree EOF ;
public final EObject entryRuleChartTree() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartTree = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1273:2: (iv_ruleChartTree= ruleChartTree EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1274:2: iv_ruleChartTree= ruleChartTree EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartTreeRule());
}
pushFollow(FOLLOW_ruleChartTree_in_entryRuleChartTree3157);
iv_ruleChartTree=ruleChartTree();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartTree;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartTree3167); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartTree"
// $ANTLR start "ruleChartTree"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1281:1: ruleChartTree returns [EObject current=null] : ( () otherlv_1= 'tree' ( ( (lv_map_2_0= 'map' ) ) | ( (lv_collapsible_3_0= 'collapsible' ) ) ) ) ;
public final EObject ruleChartTree() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_map_2_0=null;
Token lv_collapsible_3_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1284:28: ( ( () otherlv_1= 'tree' ( ( (lv_map_2_0= 'map' ) ) | ( (lv_collapsible_3_0= 'collapsible' ) ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1285:1: ( () otherlv_1= 'tree' ( ( (lv_map_2_0= 'map' ) ) | ( (lv_collapsible_3_0= 'collapsible' ) ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1285:1: ( () otherlv_1= 'tree' ( ( (lv_map_2_0= 'map' ) ) | ( (lv_collapsible_3_0= 'collapsible' ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1285:2: () otherlv_1= 'tree' ( ( (lv_map_2_0= 'map' ) ) | ( (lv_collapsible_3_0= 'collapsible' ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1285:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1286:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartTreeAccess().getChartTreeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,47,FOLLOW_47_in_ruleChartTree3213); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartTreeAccess().getTreeKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1295:1: ( ( (lv_map_2_0= 'map' ) ) | ( (lv_collapsible_3_0= 'collapsible' ) ) )
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==48) ) {
alt19=1;
}
else if ( (LA19_0==49) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1295:2: ( (lv_map_2_0= 'map' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1295:2: ( (lv_map_2_0= 'map' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1296:1: (lv_map_2_0= 'map' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1296:1: (lv_map_2_0= 'map' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1297:3: lv_map_2_0= 'map'
{
lv_map_2_0=(Token)match(input,48,FOLLOW_48_in_ruleChartTree3232); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_map_2_0, grammarAccess.getChartTreeAccess().getMapMapKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartTreeRule());
}
setWithLastConsumed(current, "map", true, "map");
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1311:6: ( (lv_collapsible_3_0= 'collapsible' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1311:6: ( (lv_collapsible_3_0= 'collapsible' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1312:1: (lv_collapsible_3_0= 'collapsible' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1312:1: (lv_collapsible_3_0= 'collapsible' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1313:3: lv_collapsible_3_0= 'collapsible'
{
lv_collapsible_3_0=(Token)match(input,49,FOLLOW_49_in_ruleChartTree3269); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_collapsible_3_0, grammarAccess.getChartTreeAccess().getCollapsibleCollapsibleKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartTreeRule());
}
setWithLastConsumed(current, "collapsible", true, "collapsible");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartTree"
// $ANTLR start "entryRuleChartInterval"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1334:1: entryRuleChartInterval returns [EObject current=null] : iv_ruleChartInterval= ruleChartInterval EOF ;
public final EObject entryRuleChartInterval() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartInterval = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1335:2: (iv_ruleChartInterval= ruleChartInterval EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1336:2: iv_ruleChartInterval= ruleChartInterval EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartIntervalRule());
}
pushFollow(FOLLOW_ruleChartInterval_in_entryRuleChartInterval3319);
iv_ruleChartInterval=ruleChartInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartInterval;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartInterval3329); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartInterval"
// $ANTLR start "ruleChartInterval"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1343:1: ruleChartInterval returns [EObject current=null] : this_ChartNumberInterval_0= ruleChartNumberInterval ;
public final EObject ruleChartInterval() throws RecognitionException {
EObject current = null;
EObject this_ChartNumberInterval_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1346:28: (this_ChartNumberInterval_0= ruleChartNumberInterval )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1348:5: this_ChartNumberInterval_0= ruleChartNumberInterval
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartIntervalAccess().getChartNumberIntervalParserRuleCall());
}
pushFollow(FOLLOW_ruleChartNumberInterval_in_ruleChartInterval3375);
this_ChartNumberInterval_0=ruleChartNumberInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartNumberInterval_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartInterval"
// $ANTLR start "entryRuleChartNumberInterval"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1364:1: entryRuleChartNumberInterval returns [EObject current=null] : iv_ruleChartNumberInterval= ruleChartNumberInterval EOF ;
public final EObject entryRuleChartNumberInterval() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartNumberInterval = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1365:2: (iv_ruleChartNumberInterval= ruleChartNumberInterval EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1366:2: iv_ruleChartNumberInterval= ruleChartNumberInterval EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartNumberIntervalRule());
}
pushFollow(FOLLOW_ruleChartNumberInterval_in_entryRuleChartNumberInterval3409);
iv_ruleChartNumberInterval=ruleChartNumberInterval();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartNumberInterval;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartNumberInterval3419); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartNumberInterval"
// $ANTLR start "ruleChartNumberInterval"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1373:1: ruleChartNumberInterval returns [EObject current=null] : ( () otherlv_1= 'up to' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleChartRangeElement ) ) ) ;
public final EObject ruleChartNumberInterval() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
AntlrDatatypeRuleToken lv_numberIntervalValue_2_0 = null;
EObject lv_numberRange_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1376:28: ( ( () otherlv_1= 'up to' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleChartRangeElement ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1377:1: ( () otherlv_1= 'up to' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleChartRangeElement ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1377:1: ( () otherlv_1= 'up to' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleChartRangeElement ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1377:2: () otherlv_1= 'up to' ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) ) ( (lv_numberRange_3_0= ruleChartRangeElement ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1377:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1378:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getChartNumberIntervalAccess().getChartNumberIntervalAction_0(),
current);
}
}
otherlv_1=(Token)match(input,50,FOLLOW_50_in_ruleChartNumberInterval3465); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartNumberIntervalAccess().getUpToKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1387:1: ( (lv_numberIntervalValue_2_0= ruleSignedNumber ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1388:1: (lv_numberIntervalValue_2_0= ruleSignedNumber )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1388:1: (lv_numberIntervalValue_2_0= ruleSignedNumber )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1389:3: lv_numberIntervalValue_2_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartNumberIntervalAccess().getNumberIntervalValueSignedNumberParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleSignedNumber_in_ruleChartNumberInterval3486);
lv_numberIntervalValue_2_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartNumberIntervalRule());
}
set(
current,
"numberIntervalValue",
lv_numberIntervalValue_2_0,
"SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1405:2: ( (lv_numberRange_3_0= ruleChartRangeElement ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1406:1: (lv_numberRange_3_0= ruleChartRangeElement )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1406:1: (lv_numberRange_3_0= ruleChartRangeElement )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1407:3: lv_numberRange_3_0= ruleChartRangeElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartNumberIntervalAccess().getNumberRangeChartRangeElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleChartRangeElement_in_ruleChartNumberInterval3507);
lv_numberRange_3_0=ruleChartRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartNumberIntervalRule());
}
set(
current,
"numberRange",
lv_numberRange_3_0,
"ChartRangeElement");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartNumberInterval"
// $ANTLR start "entryRuleChartDatamart"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1431:1: entryRuleChartDatamart returns [EObject current=null] : iv_ruleChartDatamart= ruleChartDatamart EOF ;
public final EObject entryRuleChartDatamart() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartDatamart = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1432:2: (iv_ruleChartDatamart= ruleChartDatamart EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1433:2: iv_ruleChartDatamart= ruleChartDatamart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartDatamartRule());
}
pushFollow(FOLLOW_ruleChartDatamart_in_entryRuleChartDatamart3543);
iv_ruleChartDatamart=ruleChartDatamart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartDatamart;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartDatamart3553); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartDatamart"
// $ANTLR start "ruleChartDatamart"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1440:1: ruleChartDatamart returns [EObject current=null] : (otherlv_0= 'datamart' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleChartElement ) )* otherlv_4= '}' ) ;
public final EObject ruleChartDatamart() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
EObject lv_elements_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1443:28: ( (otherlv_0= 'datamart' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleChartElement ) )* otherlv_4= '}' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1444:1: (otherlv_0= 'datamart' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleChartElement ) )* otherlv_4= '}' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1444:1: (otherlv_0= 'datamart' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleChartElement ) )* otherlv_4= '}' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1444:3: otherlv_0= 'datamart' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_elements_3_0= ruleChartElement ) )* otherlv_4= '}'
{
otherlv_0=(Token)match(input,51,FOLLOW_51_in_ruleChartDatamart3590); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getChartDatamartAccess().getDatamartKeyword_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1448:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1449:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1449:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1450:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartDatamartRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleChartDatamart3610); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartDatamartAccess().getDatamartRefDatamartDefinitionCrossReference_1_0());
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleChartDatamart3622); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getChartDatamartAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1465:1: ( (lv_elements_3_0= ruleChartElement ) )*
loop20:
do {
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==31||LA20_0==52||LA20_0==57) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1466:1: (lv_elements_3_0= ruleChartElement )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1466:1: (lv_elements_3_0= ruleChartElement )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1467:3: lv_elements_3_0= ruleChartElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartDatamartAccess().getElementsChartElementParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleChartElement_in_ruleChartDatamart3643);
lv_elements_3_0=ruleChartElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartDatamartRule());
}
add(
current,
"elements",
lv_elements_3_0,
"ChartElement");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop20;
}
} while (true);
otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleChartDatamart3656); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getChartDatamartAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartDatamart"
// $ANTLR start "entryRuleChartElement"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1495:1: entryRuleChartElement returns [EObject current=null] : iv_ruleChartElement= ruleChartElement EOF ;
public final EObject entryRuleChartElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartElement = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1496:2: (iv_ruleChartElement= ruleChartElement EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1497:2: iv_ruleChartElement= ruleChartElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartElementRule());
}
pushFollow(FOLLOW_ruleChartElement_in_entryRuleChartElement3692);
iv_ruleChartElement=ruleChartElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartElement;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartElement3702); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartElement"
// $ANTLR start "ruleChartElement"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1504:1: ruleChartElement returns [EObject current=null] : (this_ChartAxis_0= ruleChartAxis | this_ChartLegend_1= ruleChartLegend | this_ChartHighlighter_2= ruleChartHighlighter ) ;
public final EObject ruleChartElement() throws RecognitionException {
EObject current = null;
EObject this_ChartAxis_0 = null;
EObject this_ChartLegend_1 = null;
EObject this_ChartHighlighter_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1507:28: ( (this_ChartAxis_0= ruleChartAxis | this_ChartLegend_1= ruleChartLegend | this_ChartHighlighter_2= ruleChartHighlighter ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1508:1: (this_ChartAxis_0= ruleChartAxis | this_ChartLegend_1= ruleChartLegend | this_ChartHighlighter_2= ruleChartHighlighter )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1508:1: (this_ChartAxis_0= ruleChartAxis | this_ChartLegend_1= ruleChartLegend | this_ChartHighlighter_2= ruleChartHighlighter )
int alt21=3;
switch ( input.LA(1) ) {
case 57:
{
alt21=1;
}
break;
case 52:
{
alt21=2;
}
break;
case 31:
{
alt21=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
throw nvae;
}
switch (alt21) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1509:5: this_ChartAxis_0= ruleChartAxis
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartElementAccess().getChartAxisParserRuleCall_0());
}
pushFollow(FOLLOW_ruleChartAxis_in_ruleChartElement3749);
this_ChartAxis_0=ruleChartAxis();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartAxis_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1519:5: this_ChartLegend_1= ruleChartLegend
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartElementAccess().getChartLegendParserRuleCall_1());
}
pushFollow(FOLLOW_ruleChartLegend_in_ruleChartElement3776);
this_ChartLegend_1=ruleChartLegend();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartLegend_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1529:5: this_ChartHighlighter_2= ruleChartHighlighter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartElementAccess().getChartHighlighterParserRuleCall_2());
}
pushFollow(FOLLOW_ruleChartHighlighter_in_ruleChartElement3803);
this_ChartHighlighter_2=ruleChartHighlighter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartHighlighter_2;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartElement"
// $ANTLR start "entryRuleChartLegend"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1545:1: entryRuleChartLegend returns [EObject current=null] : iv_ruleChartLegend= ruleChartLegend EOF ;
public final EObject entryRuleChartLegend() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartLegend = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1546:2: (iv_ruleChartLegend= ruleChartLegend EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1547:2: iv_ruleChartLegend= ruleChartLegend EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartLegendRule());
}
pushFollow(FOLLOW_ruleChartLegend_in_entryRuleChartLegend3838);
iv_ruleChartLegend=ruleChartLegend();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartLegend;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartLegend3848); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartLegend"
// $ANTLR start "ruleChartLegend"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1554:1: ruleChartLegend returns [EObject current=null] : (otherlv_0= 'legend' ( (lv_placement_1_0= ruleLegendPlacementEnum ) ) ( ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) ) )? ) ;
public final EObject ruleChartLegend() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_toggle_2_0=null;
Token lv_replot_3_0=null;
Enumerator lv_placement_1_0 = null;
Enumerator lv_toggleType_4_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1557:28: ( (otherlv_0= 'legend' ( (lv_placement_1_0= ruleLegendPlacementEnum ) ) ( ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1558:1: (otherlv_0= 'legend' ( (lv_placement_1_0= ruleLegendPlacementEnum ) ) ( ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) ) )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1558:1: (otherlv_0= 'legend' ( (lv_placement_1_0= ruleLegendPlacementEnum ) ) ( ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1558:3: otherlv_0= 'legend' ( (lv_placement_1_0= ruleLegendPlacementEnum ) ) ( ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) ) )?
{
otherlv_0=(Token)match(input,52,FOLLOW_52_in_ruleChartLegend3885); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getChartLegendAccess().getLegendKeyword_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1562:1: ( (lv_placement_1_0= ruleLegendPlacementEnum ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1563:1: (lv_placement_1_0= ruleLegendPlacementEnum )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1563:1: (lv_placement_1_0= ruleLegendPlacementEnum )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1564:3: lv_placement_1_0= ruleLegendPlacementEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartLegendAccess().getPlacementLegendPlacementEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleLegendPlacementEnum_in_ruleChartLegend3906);
lv_placement_1_0=ruleLegendPlacementEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartLegendRule());
}
set(
current,
"placement",
lv_placement_1_0,
"LegendPlacementEnum");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1580:2: ( ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) ) )?
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==53) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1580:3: ( (lv_toggle_2_0= 'toggle' ) ) ( (lv_replot_3_0= 'replot' ) ) ( (lv_toggleType_4_0= ruleToggleTypeEnum ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1580:3: ( (lv_toggle_2_0= 'toggle' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1581:1: (lv_toggle_2_0= 'toggle' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1581:1: (lv_toggle_2_0= 'toggle' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1582:3: lv_toggle_2_0= 'toggle'
{
lv_toggle_2_0=(Token)match(input,53,FOLLOW_53_in_ruleChartLegend3925); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_toggle_2_0, grammarAccess.getChartLegendAccess().getToggleToggleKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLegendRule());
}
setWithLastConsumed(current, "toggle", true, "toggle");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1595:2: ( (lv_replot_3_0= 'replot' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1596:1: (lv_replot_3_0= 'replot' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1596:1: (lv_replot_3_0= 'replot' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1597:3: lv_replot_3_0= 'replot'
{
lv_replot_3_0=(Token)match(input,54,FOLLOW_54_in_ruleChartLegend3956); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_replot_3_0, grammarAccess.getChartLegendAccess().getReplotReplotKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartLegendRule());
}
setWithLastConsumed(current, "replot", true, "replot");
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1610:2: ( (lv_toggleType_4_0= ruleToggleTypeEnum ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1611:1: (lv_toggleType_4_0= ruleToggleTypeEnum )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1611:1: (lv_toggleType_4_0= ruleToggleTypeEnum )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1612:3: lv_toggleType_4_0= ruleToggleTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartLegendAccess().getToggleTypeToggleTypeEnumEnumRuleCall_2_2_0());
}
pushFollow(FOLLOW_ruleToggleTypeEnum_in_ruleChartLegend3990);
lv_toggleType_4_0=ruleToggleTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartLegendRule());
}
set(
current,
"toggleType",
lv_toggleType_4_0,
"ToggleTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartLegend"
// $ANTLR start "entryRuleChartHighlighter"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1636:1: entryRuleChartHighlighter returns [EObject current=null] : iv_ruleChartHighlighter= ruleChartHighlighter EOF ;
public final EObject entryRuleChartHighlighter() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartHighlighter = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1637:2: (iv_ruleChartHighlighter= ruleChartHighlighter EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1638:2: iv_ruleChartHighlighter= ruleChartHighlighter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartHighlighterRule());
}
pushFollow(FOLLOW_ruleChartHighlighter_in_entryRuleChartHighlighter4028);
iv_ruleChartHighlighter=ruleChartHighlighter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartHighlighter;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartHighlighter4038); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartHighlighter"
// $ANTLR start "ruleChartHighlighter"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1645:1: ruleChartHighlighter returns [EObject current=null] : (otherlv_0= 'tooltip' ( (lv_location_1_0= ruleTooltipLocationEnum ) ) ( ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )? ) ) ;
public final EObject ruleChartHighlighter() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_tooltipAlways_2_0=null;
Token lv_insideChart_3_0=null;
Enumerator lv_location_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1648:28: ( (otherlv_0= 'tooltip' ( (lv_location_1_0= ruleTooltipLocationEnum ) ) ( ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )? ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1649:1: (otherlv_0= 'tooltip' ( (lv_location_1_0= ruleTooltipLocationEnum ) ) ( ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )? ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1649:1: (otherlv_0= 'tooltip' ( (lv_location_1_0= ruleTooltipLocationEnum ) ) ( ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1649:3: otherlv_0= 'tooltip' ( (lv_location_1_0= ruleTooltipLocationEnum ) ) ( ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )? )
{
otherlv_0=(Token)match(input,31,FOLLOW_31_in_ruleChartHighlighter4075); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getChartHighlighterAccess().getTooltipKeyword_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1653:1: ( (lv_location_1_0= ruleTooltipLocationEnum ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1654:1: (lv_location_1_0= ruleTooltipLocationEnum )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1654:1: (lv_location_1_0= ruleTooltipLocationEnum )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1655:3: lv_location_1_0= ruleTooltipLocationEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartHighlighterAccess().getLocationTooltipLocationEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleTooltipLocationEnum_in_ruleChartHighlighter4096);
lv_location_1_0=ruleTooltipLocationEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartHighlighterRule());
}
set(
current,
"location",
lv_location_1_0,
"TooltipLocationEnum");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1671:2: ( ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1671:3: ( (lv_tooltipAlways_2_0= 'always' ) )? ( (lv_insideChart_3_0= 'inside' ) )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1671:3: ( (lv_tooltipAlways_2_0= 'always' ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==55) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1672:1: (lv_tooltipAlways_2_0= 'always' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1672:1: (lv_tooltipAlways_2_0= 'always' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1673:3: lv_tooltipAlways_2_0= 'always'
{
lv_tooltipAlways_2_0=(Token)match(input,55,FOLLOW_55_in_ruleChartHighlighter4115); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_tooltipAlways_2_0, grammarAccess.getChartHighlighterAccess().getTooltipAlwaysAlwaysKeyword_2_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartHighlighterRule());
}
setWithLastConsumed(current, "tooltipAlways", true, "always");
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1686:3: ( (lv_insideChart_3_0= 'inside' ) )?
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==56) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1687:1: (lv_insideChart_3_0= 'inside' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1687:1: (lv_insideChart_3_0= 'inside' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1688:3: lv_insideChart_3_0= 'inside'
{
lv_insideChart_3_0=(Token)match(input,56,FOLLOW_56_in_ruleChartHighlighter4147); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_insideChart_3_0, grammarAccess.getChartHighlighterAccess().getInsideChartInsideKeyword_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartHighlighterRule());
}
setWithLastConsumed(current, "insideChart", true, "inside");
}
}
}
break;
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartHighlighter"
// $ANTLR start "entryRuleChartAxis"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1709:1: entryRuleChartAxis returns [EObject current=null] : iv_ruleChartAxis= ruleChartAxis EOF ;
public final EObject entryRuleChartAxis() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartAxis = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1710:2: (iv_ruleChartAxis= ruleChartAxis EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1711:2: iv_ruleChartAxis= ruleChartAxis EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAxisRule());
}
pushFollow(FOLLOW_ruleChartAxis_in_entryRuleChartAxis4198);
iv_ruleChartAxis=ruleChartAxis();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartAxis;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartAxis4208); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartAxis"
// $ANTLR start "ruleChartAxis"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1718:1: ruleChartAxis returns [EObject current=null] : (otherlv_0= 'axis' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'renders' ( (lv_renderType_3_0= ruleRenderTypeEnum ) ) ( (lv_shortLabel_4_0= 'shortLabel' ) )? (otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) ) )? ) ;
public final EObject ruleChartAxis() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_shortLabel_4_0=null;
Token otherlv_5=null;
Enumerator lv_renderType_3_0 = null;
AntlrDatatypeRuleToken lv_angle_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1721:28: ( (otherlv_0= 'axis' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'renders' ( (lv_renderType_3_0= ruleRenderTypeEnum ) ) ( (lv_shortLabel_4_0= 'shortLabel' ) )? (otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) ) )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1722:1: (otherlv_0= 'axis' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'renders' ( (lv_renderType_3_0= ruleRenderTypeEnum ) ) ( (lv_shortLabel_4_0= 'shortLabel' ) )? (otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) ) )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1722:1: (otherlv_0= 'axis' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'renders' ( (lv_renderType_3_0= ruleRenderTypeEnum ) ) ( (lv_shortLabel_4_0= 'shortLabel' ) )? (otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1722:3: otherlv_0= 'axis' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'renders' ( (lv_renderType_3_0= ruleRenderTypeEnum ) ) ( (lv_shortLabel_4_0= 'shortLabel' ) )? (otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) ) )?
{
otherlv_0=(Token)match(input,57,FOLLOW_57_in_ruleChartAxis4245); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getChartAxisAccess().getAxisKeyword_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1726:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1727:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1727:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1728:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartAxisRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleChartAxis4265); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getChartAxisAccess().getAxisDatamartAxisCrossReference_1_0());
}
}
}
otherlv_2=(Token)match(input,58,FOLLOW_58_in_ruleChartAxis4277); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getChartAxisAccess().getRendersKeyword_2());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1743:1: ( (lv_renderType_3_0= ruleRenderTypeEnum ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1744:1: (lv_renderType_3_0= ruleRenderTypeEnum )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1744:1: (lv_renderType_3_0= ruleRenderTypeEnum )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1745:3: lv_renderType_3_0= ruleRenderTypeEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAxisAccess().getRenderTypeRenderTypeEnumEnumRuleCall_3_0());
}
pushFollow(FOLLOW_ruleRenderTypeEnum_in_ruleChartAxis4298);
lv_renderType_3_0=ruleRenderTypeEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartAxisRule());
}
set(
current,
"renderType",
lv_renderType_3_0,
"RenderTypeEnum");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1761:2: ( (lv_shortLabel_4_0= 'shortLabel' ) )?
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==59) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1762:1: (lv_shortLabel_4_0= 'shortLabel' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1762:1: (lv_shortLabel_4_0= 'shortLabel' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1763:3: lv_shortLabel_4_0= 'shortLabel'
{
lv_shortLabel_4_0=(Token)match(input,59,FOLLOW_59_in_ruleChartAxis4316); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_shortLabel_4_0, grammarAccess.getChartAxisAccess().getShortLabelShortLabelKeyword_4_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartAxisRule());
}
setWithLastConsumed(current, "shortLabel", true, "shortLabel");
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1776:3: (otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) ) )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==60) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1776:5: otherlv_5= 'tickangle' ( (lv_angle_6_0= ruleSignedNumber ) )
{
otherlv_5=(Token)match(input,60,FOLLOW_60_in_ruleChartAxis4343); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getChartAxisAccess().getTickangleKeyword_5_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1780:1: ( (lv_angle_6_0= ruleSignedNumber ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1781:1: (lv_angle_6_0= ruleSignedNumber )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1781:1: (lv_angle_6_0= ruleSignedNumber )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1782:3: lv_angle_6_0= ruleSignedNumber
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartAxisAccess().getAngleSignedNumberParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_ruleSignedNumber_in_ruleChartAxis4364);
lv_angle_6_0=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartAxisRule());
}
set(
current,
"angle",
lv_angle_6_0,
"SignedNumber");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartAxis"
// $ANTLR start "entryRuleChartRangeElement"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1806:1: entryRuleChartRangeElement returns [EObject current=null] : iv_ruleChartRangeElement= ruleChartRangeElement EOF ;
public final EObject entryRuleChartRangeElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartRangeElement = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1807:2: (iv_ruleChartRangeElement= ruleChartRangeElement EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1808:2: iv_ruleChartRangeElement= ruleChartRangeElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartRangeElementRule());
}
pushFollow(FOLLOW_ruleChartRangeElement_in_entryRuleChartRangeElement4402);
iv_ruleChartRangeElement=ruleChartRangeElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartRangeElement;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartRangeElement4412); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartRangeElement"
// $ANTLR start "ruleChartRangeElement"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1815:1: ruleChartRangeElement returns [EObject current=null] : this_ChartSegmentColor_0= ruleChartSegmentColor ;
public final EObject ruleChartRangeElement() throws RecognitionException {
EObject current = null;
EObject this_ChartSegmentColor_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1818:28: (this_ChartSegmentColor_0= ruleChartSegmentColor )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1820:5: this_ChartSegmentColor_0= ruleChartSegmentColor
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartRangeElementAccess().getChartSegmentColorParserRuleCall());
}
pushFollow(FOLLOW_ruleChartSegmentColor_in_ruleChartRangeElement4458);
this_ChartSegmentColor_0=ruleChartSegmentColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ChartSegmentColor_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartRangeElement"
// $ANTLR start "entryRuleChartSegmentColor"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1836:1: entryRuleChartSegmentColor returns [EObject current=null] : iv_ruleChartSegmentColor= ruleChartSegmentColor EOF ;
public final EObject entryRuleChartSegmentColor() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartSegmentColor = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1837:2: (iv_ruleChartSegmentColor= ruleChartSegmentColor EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1838:2: iv_ruleChartSegmentColor= ruleChartSegmentColor EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartSegmentColorRule());
}
pushFollow(FOLLOW_ruleChartSegmentColor_in_entryRuleChartSegmentColor4492);
iv_ruleChartSegmentColor=ruleChartSegmentColor();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartSegmentColor;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartSegmentColor4502); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartSegmentColor"
// $ANTLR start "ruleChartSegmentColor"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1845:1: ruleChartSegmentColor returns [EObject current=null] : (otherlv_0= 'segmentcolor' ( (lv_rgb_1_0= RULE_STRING ) ) ) ;
public final EObject ruleChartSegmentColor() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_rgb_1_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1848:28: ( (otherlv_0= 'segmentcolor' ( (lv_rgb_1_0= RULE_STRING ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1849:1: (otherlv_0= 'segmentcolor' ( (lv_rgb_1_0= RULE_STRING ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1849:1: (otherlv_0= 'segmentcolor' ( (lv_rgb_1_0= RULE_STRING ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1849:3: otherlv_0= 'segmentcolor' ( (lv_rgb_1_0= RULE_STRING ) )
{
otherlv_0=(Token)match(input,61,FOLLOW_61_in_ruleChartSegmentColor4539); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getChartSegmentColorAccess().getSegmentcolorKeyword_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1853:1: ( (lv_rgb_1_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1854:1: (lv_rgb_1_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1854:1: (lv_rgb_1_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1855:3: lv_rgb_1_0= RULE_STRING
{
lv_rgb_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleChartSegmentColor4556); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_rgb_1_0, grammarAccess.getChartSegmentColorAccess().getRgbSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getChartSegmentColorRule());
}
setWithLastConsumed(
current,
"rgb",
lv_rgb_1_0,
"STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartSegmentColor"
// $ANTLR start "entryRuleChartImport"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1879:1: entryRuleChartImport returns [EObject current=null] : iv_ruleChartImport= ruleChartImport EOF ;
public final EObject entryRuleChartImport() throws RecognitionException {
EObject current = null;
EObject iv_ruleChartImport = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1880:2: (iv_ruleChartImport= ruleChartImport EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1881:2: iv_ruleChartImport= ruleChartImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartImportRule());
}
pushFollow(FOLLOW_ruleChartImport_in_entryRuleChartImport4597);
iv_ruleChartImport=ruleChartImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartImport;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartImport4607); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartImport"
// $ANTLR start "ruleChartImport"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1888:1: ruleChartImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard ) ) ) ;
public final EObject ruleChartImport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1891:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1892:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1892:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1892:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard ) )
{
otherlv_0=(Token)match(input,62,FOLLOW_62_in_ruleChartImport4644); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getChartImportAccess().getImportKeyword_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1896:1: ( (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1897:1: (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1897:1: (lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1898:3: lv_importedNamespace_1_0= ruleChartQualifiedNameWithWildCard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartImportAccess().getImportedNamespaceChartQualifiedNameWithWildCardParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleChartQualifiedNameWithWildCard_in_ruleChartImport4665);
lv_importedNamespace_1_0=ruleChartQualifiedNameWithWildCard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getChartImportRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_1_0,
"ChartQualifiedNameWithWildCard");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartImport"
// $ANTLR start "entryRuleSignedNumber"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1922:1: entryRuleSignedNumber returns [String current=null] : iv_ruleSignedNumber= ruleSignedNumber EOF ;
public final String entryRuleSignedNumber() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleSignedNumber = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1923:2: (iv_ruleSignedNumber= ruleSignedNumber EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1924:2: iv_ruleSignedNumber= ruleSignedNumber EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSignedNumberRule());
}
pushFollow(FOLLOW_ruleSignedNumber_in_entryRuleSignedNumber4702);
iv_ruleSignedNumber=ruleSignedNumber();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSignedNumber.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleSignedNumber4713); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSignedNumber"
// $ANTLR start "ruleSignedNumber"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1931:1: ruleSignedNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT )? ;
public final AntlrDatatypeRuleToken ruleSignedNumber() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
Token this_INT_1=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1934:28: ( ( (kw= '-' )? this_INT_1= RULE_INT )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1935:1: ( (kw= '-' )? this_INT_1= RULE_INT )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1935:1: ( (kw= '-' )? this_INT_1= RULE_INT )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==RULE_INT||LA28_0==63) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1935:2: (kw= '-' )? this_INT_1= RULE_INT
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1935:2: (kw= '-' )?
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==63) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1936:2: kw= '-'
{
kw=(Token)match(input,63,FOLLOW_63_in_ruleSignedNumber4752); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedNumberAccess().getHyphenMinusKeyword_0());
}
}
break;
}
this_INT_1=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedNumber4769); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_INT_1);
}
if ( state.backtracking==0 ) {
newLeafNode(this_INT_1, grammarAccess.getSignedNumberAccess().getINTTerminalRuleCall_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSignedNumber"
// $ANTLR start "entryRuleChartQualifiedNameWithWildCard"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1956:1: entryRuleChartQualifiedNameWithWildCard returns [String current=null] : iv_ruleChartQualifiedNameWithWildCard= ruleChartQualifiedNameWithWildCard EOF ;
public final String entryRuleChartQualifiedNameWithWildCard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleChartQualifiedNameWithWildCard = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1957:2: (iv_ruleChartQualifiedNameWithWildCard= ruleChartQualifiedNameWithWildCard EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1958:2: iv_ruleChartQualifiedNameWithWildCard= ruleChartQualifiedNameWithWildCard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartQualifiedNameWithWildCardRule());
}
pushFollow(FOLLOW_ruleChartQualifiedNameWithWildCard_in_entryRuleChartQualifiedNameWithWildCard4816);
iv_ruleChartQualifiedNameWithWildCard=ruleChartQualifiedNameWithWildCard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleChartQualifiedNameWithWildCard.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleChartQualifiedNameWithWildCard4827); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleChartQualifiedNameWithWildCard"
// $ANTLR start "ruleChartQualifiedNameWithWildCard"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1965:1: ruleChartQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ;
public final AntlrDatatypeRuleToken ruleChartQualifiedNameWithWildCard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1968:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1969:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1969:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1970:5: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getChartQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleChartQualifiedNameWithWildCard4874);
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();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1980:1: (kw= '.' kw= '*' )?
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==64) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:1981:2: kw= '.' kw= '*'
{
kw=(Token)match(input,64,FOLLOW_64_in_ruleChartQualifiedNameWithWildCard4893); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getChartQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0());
}
kw=(Token)match(input,65,FOLLOW_65_in_ruleChartQualifiedNameWithWildCard4906); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getChartQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleChartQualifiedNameWithWildCard"
// $ANTLR start "entryRuleTRANSLATABLESTRING"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2000:1: entryRuleTRANSLATABLESTRING returns [String current=null] : iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ;
public final String entryRuleTRANSLATABLESTRING() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLESTRING = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2001:2: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2002:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule());
}
pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_entryRuleTRANSLATABLESTRING4949);
iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLESTRING.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLESTRING4960); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLESTRING"
// $ANTLR start "ruleTRANSLATABLESTRING"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2009: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 {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2012:28: (this_STRING_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2013:5: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTRANSLATABLESTRING4999); 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 "entryRuleTRANSLATABLEID"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2028:1: entryRuleTRANSLATABLEID returns [String current=null] : iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ;
public final String entryRuleTRANSLATABLEID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLEID = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2029:2: (iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2030:2: iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLEIDRule());
}
pushFollow(FOLLOW_ruleTRANSLATABLEID_in_entryRuleTRANSLATABLEID5044);
iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLEID.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLEID5055); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLEID"
// $ANTLR start "ruleTRANSLATABLEID"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2037:1: ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleTRANSLATABLEID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2040:28: (this_ID_0= RULE_ID )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2041:5: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTRANSLATABLEID5094); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getTRANSLATABLEIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTRANSLATABLEID"
// $ANTLR start "entryRuleXAnnotation"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2056:1: entryRuleXAnnotation returns [EObject current=null] : iv_ruleXAnnotation= ruleXAnnotation EOF ;
public final EObject entryRuleXAnnotation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotation = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2057:2: (iv_ruleXAnnotation= ruleXAnnotation EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2058:2: iv_ruleXAnnotation= ruleXAnnotation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationRule());
}
pushFollow(FOLLOW_ruleXAnnotation_in_entryRuleXAnnotation5138);
iv_ruleXAnnotation=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotation5148); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotation"
// $ANTLR start "ruleXAnnotation"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2065: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 {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2068:28: ( ( () 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= ')' )? ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2069:1: ( () 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= ')' )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2069:1: ( () 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= ')' )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2069: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= ')' )?
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2069:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2070:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(),
current);
}
}
otherlv_1=(Token)match(input,66,FOLLOW_66_in_ruleXAnnotation5194); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2079:1: ( ( ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2080:1: ( ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2080:1: ( ruleQualifiedName )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2081:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleXAnnotation5217);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2094:2: ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==67) && (synpred1_InternalChartDSL())) {
alt32=1;
}
switch (alt32) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2094:3: ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')'
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2094:3: ( ( '(' )=>otherlv_3= '(' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2094:4: ( '(' )=>otherlv_3= '('
{
otherlv_3=(Token)match(input,67,FOLLOW_67_in_ruleXAnnotation5238); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0());
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2099:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?
int alt31=3;
alt31 = dfa31.predict(input);
switch (alt31) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2099:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2099:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2099:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2099:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2099:5: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2105:1: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2106:3: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation5282);
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,
"XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2122:2: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
loop30:
do {
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==68) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2122:4: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
{
otherlv_5=(Token)match(input,68,FOLLOW_68_in_ruleXAnnotation5295); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2126:1: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2126:2: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2132:1: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2133:3: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation5336);
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,
"XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop30;
}
} while (true);
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2150:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2150:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2151:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2151:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2152:3: lv_value_7_0= ruleXAnnotationElementValueOrCommaList
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_ruleXAnnotation5366);
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,
"XAnnotationElementValueOrCommaList");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_8=(Token)match(input,69,FOLLOW_69_in_ruleXAnnotation5380); 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"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2180:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ;
public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValuePair = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2181:2: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2182:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule());
}
pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_entryRuleXAnnotationElementValuePair5418);
iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValuePair;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValuePair5428); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValuePair"
// $ANTLR start "ruleXAnnotationElementValuePair"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2189: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 {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2192:28: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2193:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2193:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2193:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2193:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2193:3: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2198:5: ( ( ( ruleValidID ) ) otherlv_1= '=' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2198:6: ( ( ruleValidID ) ) otherlv_1= '='
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2198:6: ( ( ruleValidID ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2199:1: ( ruleValidID )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2199:1: ( ruleValidID )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2200:3: 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_ruleValidID_in_ruleXAnnotationElementValuePair5498);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,70,FOLLOW_70_in_ruleXAnnotationElementValuePair5510); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1());
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2217:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2218:1: (lv_value_2_0= ruleXAnnotationElementValue )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2218:1: (lv_value_2_0= ruleXAnnotationElementValue )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2219:3: lv_value_2_0= ruleXAnnotationElementValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValue_in_ruleXAnnotationElementValuePair5533);
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,
"XAnnotationElementValue");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValuePair"
// $ANTLR start "entryRuleXAnnotationElementValueOrCommaList"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2243:1: entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] : iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ;
public final EObject entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValueOrCommaList = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2244:2: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2245:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_entryRuleXAnnotationElementValueOrCommaList5569);
iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValueOrCommaList;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValueOrCommaList5579); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValueOrCommaList"
// $ANTLR start "ruleXAnnotationElementValueOrCommaList"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2252: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 {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2255:28: ( ( ( ( ( ( () '#' '[' ) )=> ( () 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 ) ) )+ )? ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:1: ( ( ( ( ( () '#' '[' ) )=> ( () 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 ) ) )+ )? ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:1: ( ( ( ( ( () '#' '[' ) )=> ( () 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 alt37=2;
alt37 = dfa37.predict(input);
switch (alt37) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2256:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2259:5: ( () otherlv_1= '#' otherlv_2= '[' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2259:6: () otherlv_1= '#' otherlv_2= '['
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2259:6: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2260:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,71,FOLLOW_71_in_ruleXAnnotationElementValueOrCommaList5644); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,72,FOLLOW_72_in_ruleXAnnotationElementValueOrCommaList5656); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2273:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( ((LA34_0>=RULE_INT && LA34_0<=RULE_DECIMAL)||LA34_0==14||(LA34_0>=62 && LA34_0<=63)||(LA34_0>=66 && LA34_0<=67)||(LA34_0>=71 && LA34_0<=72)||LA34_0==79||LA34_0==95||LA34_0==99||LA34_0==106||LA34_0==108||(LA34_0>=112 && LA34_0<=114)||(LA34_0>=117 && LA34_0<=128)||LA34_0==130) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2273:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2273:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2274:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2274:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2275:3: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5680);
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,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2291:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop33:
do {
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==68) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2291:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,68,FOLLOW_68_in_ruleXAnnotationElementValueOrCommaList5693); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2295:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2296:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2296:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2297:3: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5714);
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,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop33;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,73,FOLLOW_73_in_ruleXAnnotationElementValueOrCommaList5730); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2318:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2318:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2319:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5760);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2327:1: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==68) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2327:2: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2327:2: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2328:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndAdd(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2333:2: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
int cnt35=0;
loop35:
do {
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==68) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2333:4: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
{
otherlv_9=(Token)match(input,68,FOLLOW_68_in_ruleXAnnotationElementValueOrCommaList5782); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2337:1: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2338:1: (lv_elements_10_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2338:1: (lv_elements_10_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2339:3: lv_elements_10_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5803);
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,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
if ( cnt35 >= 1 ) break loop35;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(35, input);
throw eee;
}
cnt35++;
} 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"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2363:1: entryRuleXAnnotationElementValue returns [EObject current=null] : iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ;
public final EObject entryRuleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValue = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2364:2: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2365:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueRule());
}
pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue5844);
iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue5854); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValue"
// $ANTLR start "ruleXAnnotationElementValue"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2372: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 {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2375:28: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
int alt40=2;
alt40 = dfa40.predict(input);
switch (alt40) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2376:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2379:5: ( () otherlv_1= '#' otherlv_2= '[' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2379:6: () otherlv_1= '#' otherlv_2= '['
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2379:6: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2380:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,71,FOLLOW_71_in_ruleXAnnotationElementValue5919); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,72,FOLLOW_72_in_ruleXAnnotationElementValue5931); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2393:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt39=2;
int LA39_0 = input.LA(1);
if ( ((LA39_0>=RULE_INT && LA39_0<=RULE_DECIMAL)||LA39_0==14||(LA39_0>=62 && LA39_0<=63)||(LA39_0>=66 && LA39_0<=67)||(LA39_0>=71 && LA39_0<=72)||LA39_0==79||LA39_0==95||LA39_0==99||LA39_0==106||LA39_0==108||(LA39_0>=112 && LA39_0<=114)||(LA39_0>=117 && LA39_0<=128)||LA39_0==130) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2393:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2393:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2394:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2394:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2395:3: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue5955);
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,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2411:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop38:
do {
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==68) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2411:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,68,FOLLOW_68_in_ruleXAnnotationElementValue5968); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2415:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2416:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2416:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2417:3: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue5989);
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,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop38;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,73,FOLLOW_73_in_ruleXAnnotationElementValue6005); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2439:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue6034);
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"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2455:1: entryRuleXAnnotationOrExpression returns [EObject current=null] : iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ;
public final EObject entryRuleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationOrExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2456:2: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2457:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_entryRuleXAnnotationOrExpression6069);
iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationOrExpression6079); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationOrExpression"
// $ANTLR start "ruleXAnnotationOrExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2464: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 {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2467:28: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2468:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2468:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==66) ) {
alt41=1;
}
else if ( ((LA41_0>=RULE_INT && LA41_0<=RULE_DECIMAL)||LA41_0==14||(LA41_0>=62 && LA41_0<=63)||LA41_0==67||(LA41_0>=71 && LA41_0<=72)||LA41_0==79||LA41_0==95||LA41_0==99||LA41_0==106||LA41_0==108||(LA41_0>=112 && LA41_0<=114)||(LA41_0>=117 && LA41_0<=128)||LA41_0==130) ) {
alt41=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2469:5: this_XAnnotation_0= ruleXAnnotation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAnnotation_in_ruleXAnnotationOrExpression6126);
this_XAnnotation_0=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotation_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2479:5: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXAnnotationOrExpression6153);
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"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2495:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ;
public final EObject entryRuleXExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2496:2: (iv_ruleXExpression= ruleXExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2497:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression6188);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression6198); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2504:1: ruleXExpression returns [EObject current=null] : this_XAssignment_0= ruleXAssignment ;
public final EObject ruleXExpression() throws RecognitionException {
EObject current = null;
EObject this_XAssignment_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2507:28: (this_XAssignment_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2509:5: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression6244);
this_XAssignment_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAssignment_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpression"
// $ANTLR start "entryRuleXAssignment"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2525:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ;
public final EObject entryRuleXAssignment() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAssignment = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2526:2: (iv_ruleXAssignment= ruleXAssignment EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2527:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment6278);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment6288); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2534:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ;
public final EObject ruleXAssignment() throws RecognitionException {
EObject current = null;
EObject lv_value_3_0 = null;
EObject this_XOrExpression_4 = null;
EObject lv_rightOperand_7_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2537:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2538:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2538:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt43=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
int LA43_1 = input.LA(2);
if ( (LA43_1==EOF||(LA43_1>=RULE_INT && LA43_1<=RULE_DECIMAL)||(LA43_1>=14 && LA43_1<=15)||LA43_1==18||(LA43_1>=62 && LA43_1<=65)||(LA43_1>=67 && LA43_1<=69)||(LA43_1>=71 && LA43_1<=103)||(LA43_1>=105 && LA43_1<=131)) ) {
alt43=2;
}
else if ( (LA43_1==70) ) {
alt43=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 1, input);
throw nvae;
}
}
break;
case 117:
{
int LA43_2 = input.LA(2);
if ( (LA43_2==70) ) {
alt43=1;
}
else if ( (LA43_2==EOF||(LA43_2>=RULE_INT && LA43_2<=RULE_DECIMAL)||(LA43_2>=14 && LA43_2<=15)||LA43_2==18||(LA43_2>=62 && LA43_2<=65)||(LA43_2>=67 && LA43_2<=69)||(LA43_2>=71 && LA43_2<=103)||(LA43_2>=105 && LA43_2<=131)) ) {
alt43=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 2, input);
throw nvae;
}
}
break;
case 118:
{
int LA43_3 = input.LA(2);
if ( (LA43_3==70) ) {
alt43=1;
}
else if ( (LA43_3==EOF||(LA43_3>=RULE_INT && LA43_3<=RULE_DECIMAL)||(LA43_3>=14 && LA43_3<=15)||LA43_3==18||(LA43_3>=62 && LA43_3<=65)||(LA43_3>=67 && LA43_3<=69)||(LA43_3>=71 && LA43_3<=103)||(LA43_3>=105 && LA43_3<=131)) ) {
alt43=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 3, input);
throw nvae;
}
}
break;
case 62:
{
int LA43_4 = input.LA(2);
if ( (LA43_4==70) ) {
alt43=1;
}
else if ( (LA43_4==EOF||(LA43_4>=RULE_INT && LA43_4<=RULE_DECIMAL)||(LA43_4>=14 && LA43_4<=15)||LA43_4==18||(LA43_4>=62 && LA43_4<=65)||(LA43_4>=67 && LA43_4<=69)||(LA43_4>=71 && LA43_4<=103)||(LA43_4>=105 && LA43_4<=131)) ) {
alt43=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 4, input);
throw nvae;
}
}
break;
case 119:
{
int LA43_5 = input.LA(2);
if ( (LA43_5==EOF||(LA43_5>=RULE_INT && LA43_5<=RULE_DECIMAL)||(LA43_5>=14 && LA43_5<=15)||LA43_5==18||(LA43_5>=62 && LA43_5<=65)||(LA43_5>=67 && LA43_5<=69)||(LA43_5>=71 && LA43_5<=103)||(LA43_5>=105 && LA43_5<=131)) ) {
alt43=2;
}
else if ( (LA43_5==70) ) {
alt43=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 5, input);
throw nvae;
}
}
break;
case RULE_INT:
case RULE_STRING:
case RULE_HEX:
case RULE_DECIMAL:
case 14:
case 63:
case 67:
case 71:
case 72:
case 79:
case 95:
case 99:
case 106:
case 108:
case 112:
case 113:
case 114:
case 120:
case 121:
case 122:
case 123:
case 124:
case 125:
case 126:
case 127:
case 128:
case 130:
{
alt43=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 0, input);
throw nvae;
}
switch (alt43) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2538:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2538:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2538:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2538:3: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2539:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2544:2: ( ( ruleFeatureCallID ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2545:1: ( ruleFeatureCallID )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2545:1: ( ruleFeatureCallID )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2546:3: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXAssignment6346);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXAssignment6362);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2567:1: ( (lv_value_3_0= ruleXAssignment ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2568:1: (lv_value_3_0= ruleXAssignment )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2568:1: (lv_value_3_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2569:3: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment6382);
lv_value_3_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"value",
lv_value_3_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2586:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2586:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2587:5: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXOrExpression_in_ruleXAssignment6412);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2595:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt42=2;
alt42 = dfa42.predict(input);
switch (alt42) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2595:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2595:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2595:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2600:6: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2600:7: () ( ( ruleOpMultiAssign ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2600:7: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2601:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2606:2: ( ( ruleOpMultiAssign ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2607:1: ( ruleOpMultiAssign )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2607:1: ( ruleOpMultiAssign )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2608:3: ruleOpMultiAssign
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_ruleXAssignment6465);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2621:4: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2622:1: (lv_rightOperand_7_0= ruleXAssignment )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2622:1: (lv_rightOperand_7_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2623:3: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment6488);
lv_rightOperand_7_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"rightOperand",
lv_rightOperand_7_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAssignment"
// $ANTLR start "entryRuleOpSingleAssign"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2647:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ;
public final String entryRuleOpSingleAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2648:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2649:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign6528);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign6539); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2656:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2659:28: (kw= '=' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2661:2: kw= '='
{
kw=(Token)match(input,70,FOLLOW_70_in_ruleOpSingleAssign6576); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpSingleAssign"
// $ANTLR start "entryRuleOpMultiAssign"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2674:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ;
public final String entryRuleOpMultiAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2675:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2676:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign6616);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign6627); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2683:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ;
public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2686:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2687:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2687:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
int alt45=7;
switch ( input.LA(1) ) {
case 74:
{
alt45=1;
}
break;
case 75:
{
alt45=2;
}
break;
case 76:
{
alt45=3;
}
break;
case 77:
{
alt45=4;
}
break;
case 78:
{
alt45=5;
}
break;
case 79:
{
alt45=6;
}
break;
case 80:
{
alt45=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 45, 0, input);
throw nvae;
}
switch (alt45) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2688:2: kw= '+='
{
kw=(Token)match(input,74,FOLLOW_74_in_ruleOpMultiAssign6665); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2695:2: kw= '-='
{
kw=(Token)match(input,75,FOLLOW_75_in_ruleOpMultiAssign6684); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2702:2: kw= '*='
{
kw=(Token)match(input,76,FOLLOW_76_in_ruleOpMultiAssign6703); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2709:2: kw= '/='
{
kw=(Token)match(input,77,FOLLOW_77_in_ruleOpMultiAssign6722); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2716:2: kw= '%='
{
kw=(Token)match(input,78,FOLLOW_78_in_ruleOpMultiAssign6741); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2722:6: (kw= '<' kw= '<' kw= '=' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2722:6: (kw= '<' kw= '<' kw= '=' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2723:2: kw= '<' kw= '<' kw= '='
{
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpMultiAssign6761); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpMultiAssign6774); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw=(Token)match(input,70,FOLLOW_70_in_ruleOpMultiAssign6787); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2741:6: (kw= '>' (kw= '>' )? kw= '>=' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2741:6: (kw= '>' (kw= '>' )? kw= '>=' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2742:2: kw= '>' (kw= '>' )? kw= '>='
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpMultiAssign6808); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2747:1: (kw= '>' )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==80) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2748:2: kw= '>'
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpMultiAssign6822); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
}
break;
}
kw=(Token)match(input,81,FOLLOW_81_in_ruleOpMultiAssign6837); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMultiAssign"
// $ANTLR start "entryRuleXOrExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2767:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ;
public final EObject entryRuleXOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOrExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2768:2: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2769:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression6878);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression6888); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2776:1: ruleXOrExpression returns [EObject current=null] : (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ;
public final EObject ruleXOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAndExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2779:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2780:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2780:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2781:5: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression6935);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2789:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop46:
do {
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==82) ) {
int LA46_2 = input.LA(2);
if ( (synpred8_InternalChartDSL()) ) {
alt46=1;
}
}
switch (alt46) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2789:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2789:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2789:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2794:6: ( () ( ( ruleOpOr ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2794:7: () ( ( ruleOpOr ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2794:7: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2795:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2800:2: ( ( ruleOpOr ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2801:1: ( ruleOpOr )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2801:1: ( ruleOpOr )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2802:3: ruleOpOr
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOrExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpOr_in_ruleXOrExpression6988);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2815:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2816:1: (lv_rightOperand_3_0= ruleXAndExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2816:1: (lv_rightOperand_3_0= ruleXAndExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2817:3: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression7011);
lv_rightOperand_3_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOrExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XAndExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop46;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2841:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
public final String entryRuleOpOr() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOr = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2842:2: (iv_ruleOpOr= ruleOpOr EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2843:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr7050);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr7061); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2850:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2853:28: (kw= '||' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2855:2: kw= '||'
{
kw=(Token)match(input,82,FOLLOW_82_in_ruleOpOr7098); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOr"
// $ANTLR start "entryRuleXAndExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2868:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ;
public final EObject entryRuleXAndExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAndExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2869:2: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2870:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression7137);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression7147); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2877:1: ruleXAndExpression returns [EObject current=null] : (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ;
public final EObject ruleXAndExpression() throws RecognitionException {
EObject current = null;
EObject this_XEqualityExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2880:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2881:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2881:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2882:5: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression7194);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2890:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop47:
do {
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==83) ) {
int LA47_2 = input.LA(2);
if ( (synpred9_InternalChartDSL()) ) {
alt47=1;
}
}
switch (alt47) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2890:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2890:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2890:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2895:6: ( () ( ( ruleOpAnd ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2895:7: () ( ( ruleOpAnd ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2895:7: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2896:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2901:2: ( ( ruleOpAnd ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2902:1: ( ruleOpAnd )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2902:1: ( ruleOpAnd )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2903:3: ruleOpAnd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAndExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpAnd_in_ruleXAndExpression7247);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2916:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2917:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2917:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2918:3: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression7270);
lv_rightOperand_3_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAndExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XEqualityExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop47;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2942:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
public final String entryRuleOpAnd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAnd = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2943:2: (iv_ruleOpAnd= ruleOpAnd EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2944:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd7309);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd7320); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2951:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2954:28: (kw= '&&' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2956:2: kw= '&&'
{
kw=(Token)match(input,83,FOLLOW_83_in_ruleOpAnd7357); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAnd"
// $ANTLR start "entryRuleXEqualityExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2969:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ;
public final EObject entryRuleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXEqualityExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2970:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2971:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression7396);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression7406); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2978:1: ruleXEqualityExpression returns [EObject current=null] : (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ;
public final EObject ruleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject this_XRelationalExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2981:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2982:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2982:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2983:5: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression7453);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2991:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop48:
do {
int alt48=2;
switch ( input.LA(1) ) {
case 84:
{
int LA48_2 = input.LA(2);
if ( (synpred10_InternalChartDSL()) ) {
alt48=1;
}
}
break;
case 85:
{
int LA48_3 = input.LA(2);
if ( (synpred10_InternalChartDSL()) ) {
alt48=1;
}
}
break;
case 86:
{
int LA48_4 = input.LA(2);
if ( (synpred10_InternalChartDSL()) ) {
alt48=1;
}
}
break;
case 87:
{
int LA48_5 = input.LA(2);
if ( (synpred10_InternalChartDSL()) ) {
alt48=1;
}
}
break;
}
switch (alt48) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2991:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2991:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2991:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2996:6: ( () ( ( ruleOpEquality ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2996:7: () ( ( ruleOpEquality ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2996:7: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:2997:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3002:2: ( ( ruleOpEquality ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3003:1: ( ruleOpEquality )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3003:1: ( ruleOpEquality )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3004:3: ruleOpEquality
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXEqualityExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpEquality_in_ruleXEqualityExpression7506);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3017:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3018:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3018:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3019:3: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression7529);
lv_rightOperand_3_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XRelationalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop48;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3043:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
public final String entryRuleOpEquality() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpEquality = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3044:2: (iv_ruleOpEquality= ruleOpEquality EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3045:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality7568);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality7579); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3052:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3055:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3056:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3056:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
int alt49=4;
switch ( input.LA(1) ) {
case 84:
{
alt49=1;
}
break;
case 85:
{
alt49=2;
}
break;
case 86:
{
alt49=3;
}
break;
case 87:
{
alt49=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 49, 0, input);
throw nvae;
}
switch (alt49) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3057:2: kw= '=='
{
kw=(Token)match(input,84,FOLLOW_84_in_ruleOpEquality7617); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3064:2: kw= '!='
{
kw=(Token)match(input,85,FOLLOW_85_in_ruleOpEquality7636); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3071:2: kw= '==='
{
kw=(Token)match(input,86,FOLLOW_86_in_ruleOpEquality7655); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3078:2: kw= '!=='
{
kw=(Token)match(input,87,FOLLOW_87_in_ruleOpEquality7674); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleXRelationalExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3091:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ;
public final EObject entryRuleXRelationalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXRelationalExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3092:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3093:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression7714);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression7724); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3100:1: ruleXRelationalExpression returns [EObject current=null] : (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ;
public final EObject ruleXRelationalExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XOtherOperatorExpression_0 = null;
EObject lv_type_3_0 = null;
EObject lv_rightOperand_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3103:28: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3104:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3104:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3105:5: this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression7771);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3113:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop50:
do {
int alt50=3;
switch ( input.LA(1) ) {
case 79:
{
int LA50_2 = input.LA(2);
if ( (synpred12_InternalChartDSL()) ) {
alt50=2;
}
}
break;
case 80:
{
int LA50_3 = input.LA(2);
if ( (synpred12_InternalChartDSL()) ) {
alt50=2;
}
}
break;
case 88:
{
int LA50_4 = input.LA(2);
if ( (synpred11_InternalChartDSL()) ) {
alt50=1;
}
}
break;
case 81:
{
int LA50_5 = input.LA(2);
if ( (synpred12_InternalChartDSL()) ) {
alt50=2;
}
}
break;
}
switch (alt50) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3113:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3113:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3113:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3113:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3113:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3115:5: ( () otherlv_2= 'instanceof' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3115:6: () otherlv_2= 'instanceof'
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3115:6: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3116:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,88,FOLLOW_88_in_ruleXRelationalExpression7807); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3125:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3126:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3126:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3127:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression7830);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3144:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3144:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3144:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3144:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3144:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3149:6: ( () ( ( ruleOpCompare ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3149:7: () ( ( ruleOpCompare ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3149:7: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3150:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3155:2: ( ( ruleOpCompare ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3156:1: ( ruleOpCompare )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3156:1: ( ruleOpCompare )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3157:3: ruleOpCompare
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXRelationalExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpCompare_in_ruleXRelationalExpression7891);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3170:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3171:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3171:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3172:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression7914);
lv_rightOperand_6_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_6_0,
"XOtherOperatorExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
default :
break loop50;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3196:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ;
public final String entryRuleOpCompare() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpCompare = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3197:2: (iv_ruleOpCompare= ruleOpCompare EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3198:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare7954);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare7965); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3205:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3208:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3209:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3209:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
int alt51=4;
switch ( input.LA(1) ) {
case 81:
{
alt51=1;
}
break;
case 79:
{
int LA51_2 = input.LA(2);
if ( (LA51_2==EOF||(LA51_2>=RULE_INT && LA51_2<=RULE_DECIMAL)||LA51_2==14||(LA51_2>=62 && LA51_2<=63)||LA51_2==67||(LA51_2>=71 && LA51_2<=72)||LA51_2==79||LA51_2==95||LA51_2==99||LA51_2==106||LA51_2==108||(LA51_2>=112 && LA51_2<=114)||(LA51_2>=117 && LA51_2<=128)||LA51_2==130) ) {
alt51=4;
}
else if ( (LA51_2==70) ) {
alt51=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 51, 2, input);
throw nvae;
}
}
break;
case 80:
{
alt51=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 51, 0, input);
throw nvae;
}
switch (alt51) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3210:2: kw= '>='
{
kw=(Token)match(input,81,FOLLOW_81_in_ruleOpCompare8003); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3216:6: (kw= '<' kw= '=' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3216:6: (kw= '<' kw= '=' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3217:2: kw= '<' kw= '='
{
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpCompare8023); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0());
}
kw=(Token)match(input,70,FOLLOW_70_in_ruleOpCompare8036); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3230:2: kw= '>'
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpCompare8056); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3237:2: kw= '<'
{
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpCompare8075); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpCompare"
// $ANTLR start "entryRuleXOtherOperatorExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3250:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ;
public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOtherOperatorExpression = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3251:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3252:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression8115);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression8125); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3259:1: ruleXOtherOperatorExpression returns [EObject current=null] : (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ;
public final EObject ruleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject this_XAdditiveExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3262:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3263:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3263:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3264:5: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression8172);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3272:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop52:
do {
int alt52=2;
alt52 = dfa52.predict(input);
switch (alt52) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3272:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3272:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3272:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3277:6: ( () ( ( ruleOpOther ) ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3277:7: () ( ( ruleOpOther ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3277:7: ()
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3278:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3283:2: ( ( ruleOpOther ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3284:1: ( ruleOpOther )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3284:1: ( ruleOpOther )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3285:3: ruleOpOther
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpOther_in_ruleXOtherOperatorExpression8225);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3298:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3299:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3299:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3300:3: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression8248);
lv_rightOperand_3_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XAdditiveExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop52;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3324:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ;
public final String entryRuleOpOther() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOther = null;
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3325:2: (iv_ruleOpOther= ruleOpOther EOF )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3326:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther8287);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther8298); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3333:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ;
public final AntlrDatatypeRuleToken ruleOpOther() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3336:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3337:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3337:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
int alt55=9;
alt55 = dfa55.predict(input);
switch (alt55) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3338:2: kw= '->'
{
kw=(Token)match(input,89,FOLLOW_89_in_ruleOpOther8336); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3345:2: kw= '..<'
{
kw=(Token)match(input,90,FOLLOW_90_in_ruleOpOther8355); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3351:6: (kw= '>' kw= '..' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3351:6: (kw= '>' kw= '..' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3352:2: kw= '>' kw= '..'
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpOther8375); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0());
}
kw=(Token)match(input,91,FOLLOW_91_in_ruleOpOther8388); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1());
}
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3365:2: kw= '..'
{
kw=(Token)match(input,91,FOLLOW_91_in_ruleOpOther8408); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3());
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3372:2: kw= '=>'
{
kw=(Token)match(input,92,FOLLOW_92_in_ruleOpOther8427); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4());
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3378:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3378:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3379:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpOther8447); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3384:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==80) ) {
int LA53_1 = input.LA(2);
if ( (LA53_1==EOF||(LA53_1>=RULE_INT && LA53_1<=RULE_DECIMAL)||LA53_1==14||(LA53_1>=62 && LA53_1<=63)||LA53_1==67||(LA53_1>=71 && LA53_1<=72)||LA53_1==79||LA53_1==95||LA53_1==99||LA53_1==106||LA53_1==108||(LA53_1>=112 && LA53_1<=114)||(LA53_1>=117 && LA53_1<=128)||LA53_1==130) ) {
alt53=2;
}
else if ( (LA53_1==80) && (synpred14_InternalChartDSL())) {
alt53=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 53, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 53, 0, input);
throw nvae;
}
switch (alt53) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3384:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3384:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3384:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3388:5: (kw= '>' kw= '>' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3389:2: kw= '>' kw= '>'
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpOther8478); 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,80,FOLLOW_80_in_ruleOpOther8491); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3402:2: kw= '>'
{
kw=(Token)match(input,80,FOLLOW_80_in_ruleOpOther8512); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1());
}
}
break;
}
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3408:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3408:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3409:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
{
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpOther8534); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0());
}
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3414:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
int alt54=3;
int LA54_0 = input.LA(1);
if ( (LA54_0==79) ) {
int LA54_1 = input.LA(2);
if ( (synpred15_InternalChartDSL()) ) {
alt54=1;
}
else if ( (true) ) {
alt54=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 54, 1, input);
throw nvae;
}
}
else if ( (LA54_0==92) ) {
alt54=3;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 54, 0, input);
throw nvae;
}
switch (alt54) {
case 1 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3414:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3414:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3414:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3418:5: (kw= '<' kw= '<' )
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3419:2: kw= '<' kw= '<'
{
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpOther8565); 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,79,FOLLOW_79_in_ruleOpOther8578); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3432:2: kw= '<'
{
kw=(Token)match(input,79,FOLLOW_79_in_ruleOpOther8599); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3439:2: kw= '=>'
{
kw=(Token)match(input,92,FOLLOW_92_in_ruleOpOther8618); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2());
}
}
break;
}
}
}
break;
case 8 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3446:2: kw= '<>'
{
kw=(Token)match(input,93,FOLLOW_93_in_ruleOpOther8639); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7());
}
}
break;
case 9 :
// ../org.eclipse.osbp.xtext.chart/src-gen/org/eclipse/osbp/xtext/chart/parser/antlr/internal/InternalChartDSL.g:3453:2: kw= '?:'
{
kw=(Token)match(input,94,FOLLOW_94_in_ruleOpOther8658); 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;
}