blob: 387b543b7ea2905a990d9dab4ce0ff8a94f52a02 [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
*
* generated by Xtext 2.11.0
*
*/
package org.eclipse.osbp.xtext.chart.services;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import java.util.List;
import org.eclipse.osbp.xtext.oxtype.services.OXtypeGrammarAccess;
import org.eclipse.xtext.Action;
import org.eclipse.xtext.Alternatives;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.CrossReference;
import org.eclipse.xtext.EnumLiteralDeclaration;
import org.eclipse.xtext.EnumRule;
import org.eclipse.xtext.Grammar;
import org.eclipse.xtext.GrammarUtil;
import org.eclipse.xtext.Group;
import org.eclipse.xtext.Keyword;
import org.eclipse.xtext.ParserRule;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.TerminalRule;
import org.eclipse.xtext.UnorderedGroup;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
import org.eclipse.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess;
import org.eclipse.xtext.xbase.services.XbaseGrammarAccess;
import org.eclipse.xtext.xbase.services.XtypeGrammarAccess;
@Singleton
public class ChartDSLGrammarAccess extends AbstractGrammarElementFinder {
public class ChartModelElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartModel");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cImportSectionAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cImportSectionXImportSectionParserRuleCall_0_0 = (RuleCall)cImportSectionAssignment_0.eContents().get(0);
private final Assignment cPackagesAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cPackagesChartPackageParserRuleCall_1_0 = (RuleCall)cPackagesAssignment_1.eContents().get(0);
//ChartModel:
// importSection=XImportSection?
// packages+=ChartPackage*;
@Override public ParserRule getRule() { return rule; }
//importSection=XImportSection? packages+=ChartPackage*
public Group getGroup() { return cGroup; }
//importSection=XImportSection?
public Assignment getImportSectionAssignment_0() { return cImportSectionAssignment_0; }
//XImportSection
public RuleCall getImportSectionXImportSectionParserRuleCall_0_0() { return cImportSectionXImportSectionParserRuleCall_0_0; }
//packages+=ChartPackage*
public Assignment getPackagesAssignment_1() { return cPackagesAssignment_1; }
//ChartPackage
public RuleCall getPackagesChartPackageParserRuleCall_1_0() { return cPackagesChartPackageParserRuleCall_1_0; }
}
public class ChartPackageElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartPackage");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartPackageAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPackageKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cChartsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cChartsChartParserRuleCall_3_1_0 = (RuleCall)cChartsAssignment_3_1.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
//ChartPackage:
// {ChartPackage} 'package' name=QualifiedName ('{' charts+=Chart* '}')?;
@Override public ParserRule getRule() { return rule; }
//{ChartPackage} 'package' name=QualifiedName ('{' charts+=Chart* '}')?
public Group getGroup() { return cGroup; }
//{ChartPackage}
public Action getChartPackageAction_0() { return cChartPackageAction_0; }
//'package'
public Keyword getPackageKeyword_1() { return cPackageKeyword_1; }
//name=QualifiedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; }
//('{' charts+=Chart* '}')?
public Group getGroup_3() { return cGroup_3; }
//'{'
public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
//charts+=Chart*
public Assignment getChartsAssignment_3_1() { return cChartsAssignment_3_1; }
//Chart
public RuleCall getChartsChartParserRuleCall_3_1_0() { return cChartsChartParserRuleCall_3_1_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
}
public class ChartElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.Chart");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cChartKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Assignment cDescriptionAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0);
private final Keyword cDescriptionDescribedByKeyword_3_0_0 = (Keyword)cDescriptionAssignment_3_0.eContents().get(0);
private final Assignment cDescriptionValueAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0 = (RuleCall)cDescriptionValueAssignment_3_1.eContents().get(0);
private final Keyword cAsKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Assignment cCharttypeAssignment_5 = (Assignment)cGroup.eContents().get(5);
private final RuleCall cCharttypeChartOptionParserRuleCall_5_0 = (RuleCall)cCharttypeAssignment_5.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_6 = (UnorderedGroup)cGroup.eContents().get(6);
private final Group cGroup_6_0 = (Group)cUnorderedGroup_6.eContents().get(0);
private final Assignment cPollingAssignment_6_0_0 = (Assignment)cGroup_6_0.eContents().get(0);
private final Keyword cPollingPollingKeyword_6_0_0_0 = (Keyword)cPollingAssignment_6_0_0.eContents().get(0);
private final Assignment cPollingTimeAssignment_6_0_1 = (Assignment)cGroup_6_0.eContents().get(1);
private final RuleCall cPollingTimeINTTerminalRuleCall_6_0_1_0 = (RuleCall)cPollingTimeAssignment_6_0_1.eContents().get(0);
private final Assignment cSelectByIdAssignment_6_1 = (Assignment)cUnorderedGroup_6.eContents().get(1);
private final Keyword cSelectByIdSelectByIdKeyword_6_1_0 = (Keyword)cSelectByIdAssignment_6_1.eContents().get(0);
private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
private final Keyword cUsingKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
private final Assignment cSourceAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1);
private final RuleCall cSourceChartDatamartParserRuleCall_7_1_0 = (RuleCall)cSourceAssignment_7_1.eContents().get(0);
//Chart:
// {Chart} 'chart' name=TRANSLATABLEID (description?='describedBy' descriptionValue=TRANSLATABLESTRING)? 'as'
// charttype=ChartOption ((polling?='polling' pollingTime=INT)? & selectById?='selectById'?) ('using'
// source=ChartDatamart)?;
@Override public ParserRule getRule() { return rule; }
//{Chart} 'chart' name=TRANSLATABLEID (description?='describedBy' descriptionValue=TRANSLATABLESTRING)? 'as'
//charttype=ChartOption ((polling?='polling' pollingTime=INT)? & selectById?='selectById'?) ('using'
//source=ChartDatamart)?
public Group getGroup() { return cGroup; }
//{Chart}
public Action getChartAction_0() { return cChartAction_0; }
//'chart'
public Keyword getChartKeyword_1() { return cChartKeyword_1; }
//name=TRANSLATABLEID
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//TRANSLATABLEID
public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0; }
//(description?='describedBy' descriptionValue=TRANSLATABLESTRING)?
public Group getGroup_3() { return cGroup_3; }
//description?='describedBy'
public Assignment getDescriptionAssignment_3_0() { return cDescriptionAssignment_3_0; }
//'describedBy'
public Keyword getDescriptionDescribedByKeyword_3_0_0() { return cDescriptionDescribedByKeyword_3_0_0; }
//descriptionValue=TRANSLATABLESTRING
public Assignment getDescriptionValueAssignment_3_1() { return cDescriptionValueAssignment_3_1; }
//TRANSLATABLESTRING
public RuleCall getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0() { return cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0; }
//'as'
public Keyword getAsKeyword_4() { return cAsKeyword_4; }
//charttype=ChartOption
public Assignment getCharttypeAssignment_5() { return cCharttypeAssignment_5; }
//ChartOption
public RuleCall getCharttypeChartOptionParserRuleCall_5_0() { return cCharttypeChartOptionParserRuleCall_5_0; }
//(polling?='polling' pollingTime=INT)? & selectById?='selectById'?
public UnorderedGroup getUnorderedGroup_6() { return cUnorderedGroup_6; }
//(polling?='polling' pollingTime=INT)?
public Group getGroup_6_0() { return cGroup_6_0; }
//polling?='polling'
public Assignment getPollingAssignment_6_0_0() { return cPollingAssignment_6_0_0; }
//'polling'
public Keyword getPollingPollingKeyword_6_0_0_0() { return cPollingPollingKeyword_6_0_0_0; }
//pollingTime=INT
public Assignment getPollingTimeAssignment_6_0_1() { return cPollingTimeAssignment_6_0_1; }
//INT
public RuleCall getPollingTimeINTTerminalRuleCall_6_0_1_0() { return cPollingTimeINTTerminalRuleCall_6_0_1_0; }
//selectById?='selectById'?
public Assignment getSelectByIdAssignment_6_1() { return cSelectByIdAssignment_6_1; }
//'selectById'
public Keyword getSelectByIdSelectByIdKeyword_6_1_0() { return cSelectByIdSelectByIdKeyword_6_1_0; }
//('using' source=ChartDatamart)?
public Group getGroup_7() { return cGroup_7; }
//'using'
public Keyword getUsingKeyword_7_0() { return cUsingKeyword_7_0; }
//source=ChartDatamart
public Assignment getSourceAssignment_7_1() { return cSourceAssignment_7_1; }
//ChartDatamart
public RuleCall getSourceChartDatamartParserRuleCall_7_1_0() { return cSourceChartDatamartParserRuleCall_7_1_0; }
}
public class ChartOptionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartOption");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cChartBarParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cChartLineParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cChartPieParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
private final RuleCall cChartDonutParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
private final RuleCall cChartBubbleParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
private final RuleCall cChartGaugeParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5);
private final RuleCall cChartTreeParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6);
//ChartOption:
// ChartBar | ChartLine | ChartPie | ChartDonut | ChartBubble | ChartGauge | ChartTree;
@Override public ParserRule getRule() { return rule; }
//ChartBar | ChartLine | ChartPie | ChartDonut | ChartBubble | ChartGauge | ChartTree
public Alternatives getAlternatives() { return cAlternatives; }
//ChartBar
public RuleCall getChartBarParserRuleCall_0() { return cChartBarParserRuleCall_0; }
//ChartLine
public RuleCall getChartLineParserRuleCall_1() { return cChartLineParserRuleCall_1; }
//ChartPie
public RuleCall getChartPieParserRuleCall_2() { return cChartPieParserRuleCall_2; }
//ChartDonut
public RuleCall getChartDonutParserRuleCall_3() { return cChartDonutParserRuleCall_3; }
//ChartBubble
public RuleCall getChartBubbleParserRuleCall_4() { return cChartBubbleParserRuleCall_4; }
//ChartGauge
public RuleCall getChartGaugeParserRuleCall_5() { return cChartGaugeParserRuleCall_5; }
//ChartTree
public RuleCall getChartTreeParserRuleCall_6() { return cChartTreeParserRuleCall_6; }
}
public class ChartBarElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartBar");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartBarAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cBarKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
private final Assignment cShadowAssignment_2_0 = (Assignment)cUnorderedGroup_2.eContents().get(0);
private final Keyword cShadowShadedKeyword_2_0_0 = (Keyword)cShadowAssignment_2_0.eContents().get(0);
private final Assignment cAnimatedAssignment_2_1 = (Assignment)cUnorderedGroup_2.eContents().get(1);
private final Keyword cAnimatedAnimatedKeyword_2_1_0 = (Keyword)cAnimatedAssignment_2_1.eContents().get(0);
private final Assignment cSwappedAssignment_2_2 = (Assignment)cUnorderedGroup_2.eContents().get(2);
private final Keyword cSwappedSwappedKeyword_2_2_0 = (Keyword)cSwappedAssignment_2_2.eContents().get(0);
private final Assignment cStackedAssignment_2_3 = (Assignment)cUnorderedGroup_2.eContents().get(3);
private final Keyword cStackedStackedKeyword_2_3_0 = (Keyword)cStackedAssignment_2_3.eContents().get(0);
//ChartBar:
// {ChartBar} 'bar' (shadow?='shaded'? & animated?='animated'? & swapped?='swapped'? & stacked?='stacked'?);
@Override public ParserRule getRule() { return rule; }
//{ChartBar} 'bar' (shadow?='shaded'? & animated?='animated'? & swapped?='swapped'? & stacked?='stacked'?)
public Group getGroup() { return cGroup; }
//{ChartBar}
public Action getChartBarAction_0() { return cChartBarAction_0; }
//'bar'
public Keyword getBarKeyword_1() { return cBarKeyword_1; }
//shadow?='shaded'? & animated?='animated'? & swapped?='swapped'? & stacked?='stacked'?
public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
//shadow?='shaded'?
public Assignment getShadowAssignment_2_0() { return cShadowAssignment_2_0; }
//'shaded'
public Keyword getShadowShadedKeyword_2_0_0() { return cShadowShadedKeyword_2_0_0; }
//animated?='animated'?
public Assignment getAnimatedAssignment_2_1() { return cAnimatedAssignment_2_1; }
//'animated'
public Keyword getAnimatedAnimatedKeyword_2_1_0() { return cAnimatedAnimatedKeyword_2_1_0; }
//swapped?='swapped'?
public Assignment getSwappedAssignment_2_2() { return cSwappedAssignment_2_2; }
//'swapped'
public Keyword getSwappedSwappedKeyword_2_2_0() { return cSwappedSwappedKeyword_2_2_0; }
//stacked?='stacked'?
public Assignment getStackedAssignment_2_3() { return cStackedAssignment_2_3; }
//'stacked'
public Keyword getStackedStackedKeyword_2_3_0() { return cStackedStackedKeyword_2_3_0; }
}
public class ChartLineElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartLine");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartLineAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cLineKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
private final Assignment cAnimatedAssignment_2_0 = (Assignment)cUnorderedGroup_2.eContents().get(0);
private final Keyword cAnimatedAnimatedKeyword_2_0_0 = (Keyword)cAnimatedAssignment_2_0.eContents().get(0);
private final Assignment cShowMarkerAssignment_2_1 = (Assignment)cUnorderedGroup_2.eContents().get(1);
private final Keyword cShowMarkerShowMarkerKeyword_2_1_0 = (Keyword)cShowMarkerAssignment_2_1.eContents().get(0);
private final Assignment cTrendLineAssignment_2_2 = (Assignment)cUnorderedGroup_2.eContents().get(2);
private final Keyword cTrendLineTrendLineKeyword_2_2_0 = (Keyword)cTrendLineAssignment_2_2.eContents().get(0);
private final Group cGroup_2_3 = (Group)cUnorderedGroup_2.eContents().get(3);
private final Assignment cCursorAssignment_2_3_0 = (Assignment)cGroup_2_3.eContents().get(0);
private final Keyword cCursorCursorKeyword_2_3_0_0 = (Keyword)cCursorAssignment_2_3_0.eContents().get(0);
private final Assignment cZoomAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1);
private final Keyword cZoomZoomKeyword_2_3_1_0 = (Keyword)cZoomAssignment_2_3_1.eContents().get(0);
private final Assignment cTooltipAssignment_2_3_2 = (Assignment)cGroup_2_3.eContents().get(2);
private final Keyword cTooltipTooltipKeyword_2_3_2_0 = (Keyword)cTooltipAssignment_2_3_2.eContents().get(0);
private final Assignment cFillToZeroAssignment_2_4 = (Assignment)cUnorderedGroup_2.eContents().get(4);
private final Keyword cFillToZeroFillZeroKeyword_2_4_0 = (Keyword)cFillToZeroAssignment_2_4.eContents().get(0);
private final Assignment cFillAreaAssignment_2_5 = (Assignment)cUnorderedGroup_2.eContents().get(5);
private final Keyword cFillAreaFilledKeyword_2_5_0 = (Keyword)cFillAreaAssignment_2_5.eContents().get(0);
//ChartLine:
// {ChartLine} 'line' (animated?='animated'? & showMarker?='showMarker'? & trendLine?='trendLine'? & (cursor?='cursor'
// zoom?='zoom'? tooltip?='tooltip'?)? & fillToZero?='fillZero'? & fillArea?='filled'?);
@Override public ParserRule getRule() { return rule; }
//{ChartLine} 'line' (animated?='animated'? & showMarker?='showMarker'? & trendLine?='trendLine'? & (cursor?='cursor'
//zoom?='zoom'? tooltip?='tooltip'?)? & fillToZero?='fillZero'? & fillArea?='filled'?)
public Group getGroup() { return cGroup; }
//{ChartLine}
public Action getChartLineAction_0() { return cChartLineAction_0; }
//'line'
public Keyword getLineKeyword_1() { return cLineKeyword_1; }
//animated?='animated'? & showMarker?='showMarker'? & trendLine?='trendLine'? & (cursor?='cursor' zoom?='zoom'?
//tooltip?='tooltip'?)? & fillToZero?='fillZero'? & fillArea?='filled'?
public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
//animated?='animated'?
public Assignment getAnimatedAssignment_2_0() { return cAnimatedAssignment_2_0; }
//'animated'
public Keyword getAnimatedAnimatedKeyword_2_0_0() { return cAnimatedAnimatedKeyword_2_0_0; }
//showMarker?='showMarker'?
public Assignment getShowMarkerAssignment_2_1() { return cShowMarkerAssignment_2_1; }
//'showMarker'
public Keyword getShowMarkerShowMarkerKeyword_2_1_0() { return cShowMarkerShowMarkerKeyword_2_1_0; }
//trendLine?='trendLine'?
public Assignment getTrendLineAssignment_2_2() { return cTrendLineAssignment_2_2; }
//'trendLine'
public Keyword getTrendLineTrendLineKeyword_2_2_0() { return cTrendLineTrendLineKeyword_2_2_0; }
//(cursor?='cursor' zoom?='zoom'? tooltip?='tooltip'?)?
public Group getGroup_2_3() { return cGroup_2_3; }
//cursor?='cursor'
public Assignment getCursorAssignment_2_3_0() { return cCursorAssignment_2_3_0; }
//'cursor'
public Keyword getCursorCursorKeyword_2_3_0_0() { return cCursorCursorKeyword_2_3_0_0; }
//zoom?='zoom'?
public Assignment getZoomAssignment_2_3_1() { return cZoomAssignment_2_3_1; }
//'zoom'
public Keyword getZoomZoomKeyword_2_3_1_0() { return cZoomZoomKeyword_2_3_1_0; }
//tooltip?='tooltip'?
public Assignment getTooltipAssignment_2_3_2() { return cTooltipAssignment_2_3_2; }
//'tooltip'
public Keyword getTooltipTooltipKeyword_2_3_2_0() { return cTooltipTooltipKeyword_2_3_2_0; }
//fillToZero?='fillZero'?
public Assignment getFillToZeroAssignment_2_4() { return cFillToZeroAssignment_2_4; }
//'fillZero'
public Keyword getFillToZeroFillZeroKeyword_2_4_0() { return cFillToZeroFillZeroKeyword_2_4_0; }
//fillArea?='filled'?
public Assignment getFillAreaAssignment_2_5() { return cFillAreaAssignment_2_5; }
//'filled'
public Keyword getFillAreaFilledKeyword_2_5_0() { return cFillAreaFilledKeyword_2_5_0; }
}
public class ChartPieElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartPie");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartPieAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPieKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cEmptyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final Keyword cEmptyEmptyKeyword_2_0 = (Keyword)cEmptyAssignment_2.eContents().get(0);
//ChartPie:
// {ChartPie} 'pie' empty?='empty'?;
@Override public ParserRule getRule() { return rule; }
//{ChartPie} 'pie' empty?='empty'?
public Group getGroup() { return cGroup; }
//{ChartPie}
public Action getChartPieAction_0() { return cChartPieAction_0; }
//'pie'
public Keyword getPieKeyword_1() { return cPieKeyword_1; }
//empty?='empty'?
public Assignment getEmptyAssignment_2() { return cEmptyAssignment_2; }
//'empty'
public Keyword getEmptyEmptyKeyword_2_0() { return cEmptyEmptyKeyword_2_0; }
}
public class ChartDonutElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartDonut");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartDonutAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cDonutKeyword_1 = (Keyword)cGroup.eContents().get(1);
//ChartDonut:
// {ChartDonut} 'donut';
@Override public ParserRule getRule() { return rule; }
//{ChartDonut} 'donut'
public Group getGroup() { return cGroup; }
//{ChartDonut}
public Action getChartDonutAction_0() { return cChartDonutAction_0; }
//'donut'
public Keyword getDonutKeyword_1() { return cDonutKeyword_1; }
}
public class ChartBubbleElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartBubble");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartBubbleAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cBubbleKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
private final Group cGroup_2_0 = (Group)cUnorderedGroup_2.eContents().get(0);
private final Assignment cMultiplierAssignment_2_0_0 = (Assignment)cGroup_2_0.eContents().get(0);
private final Keyword cMultiplierMultiplierKeyword_2_0_0_0 = (Keyword)cMultiplierAssignment_2_0_0.eContents().get(0);
private final Assignment cMultiplierValueAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1);
private final RuleCall cMultiplierValueNumberParserRuleCall_2_0_1_0 = (RuleCall)cMultiplierValueAssignment_2_0_1.eContents().get(0);
private final Alternatives cAlternatives_2_1 = (Alternatives)cUnorderedGroup_2.eContents().get(1);
private final Assignment cGradientAssignment_2_1_0 = (Assignment)cAlternatives_2_1.eContents().get(0);
private final Keyword cGradientGradientKeyword_2_1_0_0 = (Keyword)cGradientAssignment_2_1_0.eContents().get(0);
private final Assignment cTransparentAssignment_2_1_1 = (Assignment)cAlternatives_2_1.eContents().get(1);
private final Keyword cTransparentTransparentKeyword_2_1_1_0 = (Keyword)cTransparentAssignment_2_1_1.eContents().get(0);
//ChartBubble:
// {ChartBubble} 'bubble' ((multiplier?='multiplier' multiplierValue=Number)? & (gradient?='gradient' |
// transparent?='transparent'))?;
@Override public ParserRule getRule() { return rule; }
//{ChartBubble} 'bubble' ((multiplier?='multiplier' multiplierValue=Number)? & (gradient?='gradient' |
//transparent?='transparent'))?
public Group getGroup() { return cGroup; }
//{ChartBubble}
public Action getChartBubbleAction_0() { return cChartBubbleAction_0; }
//'bubble'
public Keyword getBubbleKeyword_1() { return cBubbleKeyword_1; }
//((multiplier?='multiplier' multiplierValue=Number)? & (gradient?='gradient' | transparent?='transparent'))?
public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
//(multiplier?='multiplier' multiplierValue=Number)?
public Group getGroup_2_0() { return cGroup_2_0; }
//multiplier?='multiplier'
public Assignment getMultiplierAssignment_2_0_0() { return cMultiplierAssignment_2_0_0; }
//'multiplier'
public Keyword getMultiplierMultiplierKeyword_2_0_0_0() { return cMultiplierMultiplierKeyword_2_0_0_0; }
//multiplierValue=Number
public Assignment getMultiplierValueAssignment_2_0_1() { return cMultiplierValueAssignment_2_0_1; }
//Number
public RuleCall getMultiplierValueNumberParserRuleCall_2_0_1_0() { return cMultiplierValueNumberParserRuleCall_2_0_1_0; }
//(gradient?='gradient' | transparent?='transparent')
public Alternatives getAlternatives_2_1() { return cAlternatives_2_1; }
//gradient?='gradient'
public Assignment getGradientAssignment_2_1_0() { return cGradientAssignment_2_1_0; }
//'gradient'
public Keyword getGradientGradientKeyword_2_1_0_0() { return cGradientGradientKeyword_2_1_0_0; }
//transparent?='transparent'
public Assignment getTransparentAssignment_2_1_1() { return cTransparentAssignment_2_1_1; }
//'transparent'
public Keyword getTransparentTransparentKeyword_2_1_1_0() { return cTransparentTransparentKeyword_2_1_1_0; }
}
public class ChartGaugeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartGauge");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartGaugeAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cGaugeKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
private final Group cGroup_2_0 = (Group)cUnorderedGroup_2.eContents().get(0);
private final Assignment cLabeledAssignment_2_0_0 = (Assignment)cGroup_2_0.eContents().get(0);
private final Keyword cLabeledLabelKeyword_2_0_0_0 = (Keyword)cLabeledAssignment_2_0_0.eContents().get(0);
private final Assignment cLabelValueAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1);
private final RuleCall cLabelValueSTRINGTerminalRuleCall_2_0_1_0 = (RuleCall)cLabelValueAssignment_2_0_1.eContents().get(0);
private final Group cGroup_2_1 = (Group)cUnorderedGroup_2.eContents().get(1);
private final Assignment cHasTicksAssignment_2_1_0 = (Assignment)cGroup_2_1.eContents().get(0);
private final Keyword cHasTicksHasTicksKeyword_2_1_0_0 = (Keyword)cHasTicksAssignment_2_1_0.eContents().get(0);
private final Keyword cMinimumKeyword_2_1_1 = (Keyword)cGroup_2_1.eContents().get(1);
private final Assignment cMinValueAssignment_2_1_2 = (Assignment)cGroup_2_1.eContents().get(2);
private final RuleCall cMinValueINTTerminalRuleCall_2_1_2_0 = (RuleCall)cMinValueAssignment_2_1_2.eContents().get(0);
private final Keyword cMaximumKeyword_2_1_3 = (Keyword)cGroup_2_1.eContents().get(3);
private final Assignment cMaxValueAssignment_2_1_4 = (Assignment)cGroup_2_1.eContents().get(4);
private final RuleCall cMaxValueINTTerminalRuleCall_2_1_4_0 = (RuleCall)cMaxValueAssignment_2_1_4.eContents().get(0);
private final Group cGroup_2_2 = (Group)cUnorderedGroup_2.eContents().get(2);
private final Assignment cHasIntervalsAssignment_2_2_0 = (Assignment)cGroup_2_2.eContents().get(0);
private final Keyword cHasIntervalsIntervalsKeyword_2_2_0_0 = (Keyword)cHasIntervalsAssignment_2_2_0.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_2_2_1 = (Keyword)cGroup_2_2.eContents().get(1);
private final Assignment cIntervalsAssignment_2_2_2 = (Assignment)cGroup_2_2.eContents().get(2);
private final RuleCall cIntervalsChartIntervalParserRuleCall_2_2_2_0 = (RuleCall)cIntervalsAssignment_2_2_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_2_2_3 = (Keyword)cGroup_2_2.eContents().get(3);
//ChartGauge:
// {ChartGauge} 'gauge' ((labeled?='label' labelValue=STRING)? & (hasTicks?='hasTicks' 'minimum' minValue=INT 'maximum'
// maxValue=INT)? & (hasIntervals?='intervals' '{' intervals+=ChartInterval* '}')?);
@Override public ParserRule getRule() { return rule; }
//{ChartGauge} 'gauge' ((labeled?='label' labelValue=STRING)? & (hasTicks?='hasTicks' 'minimum' minValue=INT 'maximum'
//maxValue=INT)? & (hasIntervals?='intervals' '{' intervals+=ChartInterval* '}')?)
public Group getGroup() { return cGroup; }
//{ChartGauge}
public Action getChartGaugeAction_0() { return cChartGaugeAction_0; }
//'gauge'
public Keyword getGaugeKeyword_1() { return cGaugeKeyword_1; }
//(labeled?='label' labelValue=STRING)? & (hasTicks?='hasTicks' 'minimum' minValue=INT 'maximum' maxValue=INT)? &
//(hasIntervals?='intervals' '{' intervals+=ChartInterval* '}')?
public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
//(labeled?='label' labelValue=STRING)?
public Group getGroup_2_0() { return cGroup_2_0; }
//labeled?='label'
public Assignment getLabeledAssignment_2_0_0() { return cLabeledAssignment_2_0_0; }
//'label'
public Keyword getLabeledLabelKeyword_2_0_0_0() { return cLabeledLabelKeyword_2_0_0_0; }
//labelValue=STRING
public Assignment getLabelValueAssignment_2_0_1() { return cLabelValueAssignment_2_0_1; }
//STRING
public RuleCall getLabelValueSTRINGTerminalRuleCall_2_0_1_0() { return cLabelValueSTRINGTerminalRuleCall_2_0_1_0; }
//(hasTicks?='hasTicks' 'minimum' minValue=INT 'maximum' maxValue=INT)?
public Group getGroup_2_1() { return cGroup_2_1; }
//hasTicks?='hasTicks'
public Assignment getHasTicksAssignment_2_1_0() { return cHasTicksAssignment_2_1_0; }
//'hasTicks'
public Keyword getHasTicksHasTicksKeyword_2_1_0_0() { return cHasTicksHasTicksKeyword_2_1_0_0; }
//'minimum'
public Keyword getMinimumKeyword_2_1_1() { return cMinimumKeyword_2_1_1; }
//minValue=INT
public Assignment getMinValueAssignment_2_1_2() { return cMinValueAssignment_2_1_2; }
//INT
public RuleCall getMinValueINTTerminalRuleCall_2_1_2_0() { return cMinValueINTTerminalRuleCall_2_1_2_0; }
//'maximum'
public Keyword getMaximumKeyword_2_1_3() { return cMaximumKeyword_2_1_3; }
//maxValue=INT
public Assignment getMaxValueAssignment_2_1_4() { return cMaxValueAssignment_2_1_4; }
//INT
public RuleCall getMaxValueINTTerminalRuleCall_2_1_4_0() { return cMaxValueINTTerminalRuleCall_2_1_4_0; }
//(hasIntervals?='intervals' '{' intervals+=ChartInterval* '}')?
public Group getGroup_2_2() { return cGroup_2_2; }
//hasIntervals?='intervals'
public Assignment getHasIntervalsAssignment_2_2_0() { return cHasIntervalsAssignment_2_2_0; }
//'intervals'
public Keyword getHasIntervalsIntervalsKeyword_2_2_0_0() { return cHasIntervalsIntervalsKeyword_2_2_0_0; }
//'{'
public Keyword getLeftCurlyBracketKeyword_2_2_1() { return cLeftCurlyBracketKeyword_2_2_1; }
//intervals+=ChartInterval*
public Assignment getIntervalsAssignment_2_2_2() { return cIntervalsAssignment_2_2_2; }
//ChartInterval
public RuleCall getIntervalsChartIntervalParserRuleCall_2_2_2_0() { return cIntervalsChartIntervalParserRuleCall_2_2_2_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_2_2_3() { return cRightCurlyBracketKeyword_2_2_3; }
}
public class ChartTreeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartTree");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartTreeAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cTreeKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
private final Assignment cMapAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
private final Keyword cMapMapKeyword_2_0_0 = (Keyword)cMapAssignment_2_0.eContents().get(0);
private final Assignment cCollapsibleAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
private final Keyword cCollapsibleCollapsibleKeyword_2_1_0 = (Keyword)cCollapsibleAssignment_2_1.eContents().get(0);
//ChartTree:
// {ChartTree} 'tree' (map?='map' | collapsible?='collapsible');
@Override public ParserRule getRule() { return rule; }
//{ChartTree} 'tree' (map?='map' | collapsible?='collapsible')
public Group getGroup() { return cGroup; }
//{ChartTree}
public Action getChartTreeAction_0() { return cChartTreeAction_0; }
//'tree'
public Keyword getTreeKeyword_1() { return cTreeKeyword_1; }
//map?='map' | collapsible?='collapsible'
public Alternatives getAlternatives_2() { return cAlternatives_2; }
//map?='map'
public Assignment getMapAssignment_2_0() { return cMapAssignment_2_0; }
//'map'
public Keyword getMapMapKeyword_2_0_0() { return cMapMapKeyword_2_0_0; }
//collapsible?='collapsible'
public Assignment getCollapsibleAssignment_2_1() { return cCollapsibleAssignment_2_1; }
//'collapsible'
public Keyword getCollapsibleCollapsibleKeyword_2_1_0() { return cCollapsibleCollapsibleKeyword_2_1_0; }
}
public class ChartIntervalElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartInterval");
private final RuleCall cChartNumberIntervalParserRuleCall = (RuleCall)rule.eContents().get(1);
//ChartInterval:
// ChartNumberInterval;
@Override public ParserRule getRule() { return rule; }
//ChartNumberInterval
public RuleCall getChartNumberIntervalParserRuleCall() { return cChartNumberIntervalParserRuleCall; }
}
public class ChartNumberIntervalElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartNumberInterval");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cChartNumberIntervalAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cUpToKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cNumberIntervalValueAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cNumberIntervalValueSignedNumberParserRuleCall_2_0 = (RuleCall)cNumberIntervalValueAssignment_2.eContents().get(0);
private final Assignment cNumberRangeAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cNumberRangeChartRangeElementParserRuleCall_3_0 = (RuleCall)cNumberRangeAssignment_3.eContents().get(0);
//ChartNumberInterval:
// {ChartNumberInterval} 'upTo' numberIntervalValue=SignedNumber numberRange=ChartRangeElement;
@Override public ParserRule getRule() { return rule; }
//{ChartNumberInterval} 'upTo' numberIntervalValue=SignedNumber numberRange=ChartRangeElement
public Group getGroup() { return cGroup; }
//{ChartNumberInterval}
public Action getChartNumberIntervalAction_0() { return cChartNumberIntervalAction_0; }
//'upTo'
public Keyword getUpToKeyword_1() { return cUpToKeyword_1; }
//numberIntervalValue=SignedNumber
public Assignment getNumberIntervalValueAssignment_2() { return cNumberIntervalValueAssignment_2; }
//SignedNumber
public RuleCall getNumberIntervalValueSignedNumberParserRuleCall_2_0() { return cNumberIntervalValueSignedNumberParserRuleCall_2_0; }
//numberRange=ChartRangeElement
public Assignment getNumberRangeAssignment_3() { return cNumberRangeAssignment_3; }
//ChartRangeElement
public RuleCall getNumberRangeChartRangeElementParserRuleCall_3_0() { return cNumberRangeChartRangeElementParserRuleCall_3_0; }
}
public class ChartDatamartElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartDatamart");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cDatamartKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cDatamartRefAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final CrossReference cDatamartRefDatamartDefinitionCrossReference_1_0 = (CrossReference)cDatamartRefAssignment_1.eContents().get(0);
private final RuleCall cDatamartRefDatamartDefinitionIDTerminalRuleCall_1_0_1 = (RuleCall)cDatamartRefDatamartDefinitionCrossReference_1_0.eContents().get(1);
private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cElementsAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cElementsChartElementParserRuleCall_3_0 = (RuleCall)cElementsAssignment_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
//ChartDatamart:
// 'datamart' datamartRef=[datamart::DatamartDefinition] '{' elements+=ChartElement* '}';
@Override public ParserRule getRule() { return rule; }
//'datamart' datamartRef=[datamart::DatamartDefinition] '{' elements+=ChartElement* '}'
public Group getGroup() { return cGroup; }
//'datamart'
public Keyword getDatamartKeyword_0() { return cDatamartKeyword_0; }
//datamartRef=[datamart::DatamartDefinition]
public Assignment getDatamartRefAssignment_1() { return cDatamartRefAssignment_1; }
//[datamart::DatamartDefinition]
public CrossReference getDatamartRefDatamartDefinitionCrossReference_1_0() { return cDatamartRefDatamartDefinitionCrossReference_1_0; }
//ID
public RuleCall getDatamartRefDatamartDefinitionIDTerminalRuleCall_1_0_1() { return cDatamartRefDatamartDefinitionIDTerminalRuleCall_1_0_1; }
//'{'
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
//elements+=ChartElement*
public Assignment getElementsAssignment_3() { return cElementsAssignment_3; }
//ChartElement
public RuleCall getElementsChartElementParserRuleCall_3_0() { return cElementsChartElementParserRuleCall_3_0; }
//'}'
public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
}
public class ChartElementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartElement");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cChartAxisParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cChartLegendParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cChartHighlighterParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//ChartElement:
// ChartAxis | ChartLegend | ChartHighlighter;
@Override public ParserRule getRule() { return rule; }
//ChartAxis | ChartLegend | ChartHighlighter
public Alternatives getAlternatives() { return cAlternatives; }
//ChartAxis
public RuleCall getChartAxisParserRuleCall_0() { return cChartAxisParserRuleCall_0; }
//ChartLegend
public RuleCall getChartLegendParserRuleCall_1() { return cChartLegendParserRuleCall_1; }
//ChartHighlighter
public RuleCall getChartHighlighterParserRuleCall_2() { return cChartHighlighterParserRuleCall_2; }
}
public class ChartLegendElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartLegend");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cLegendKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cPlacementAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cPlacementLegendPlacementEnumEnumRuleCall_1_0 = (RuleCall)cPlacementAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Assignment cToggleAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
private final Keyword cToggleToggleKeyword_2_0_0 = (Keyword)cToggleAssignment_2_0.eContents().get(0);
private final Assignment cReplotAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final Keyword cReplotReplotKeyword_2_1_0 = (Keyword)cReplotAssignment_2_1.eContents().get(0);
private final Assignment cToggleTypeAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
private final RuleCall cToggleTypeToggleTypeEnumEnumRuleCall_2_2_0 = (RuleCall)cToggleTypeAssignment_2_2.eContents().get(0);
//ChartLegend:
// 'legend' placement=LegendPlacementEnum (toggle?='toggle' replot?='replot' toggleType=ToggleTypeEnum)?;
@Override public ParserRule getRule() { return rule; }
//'legend' placement=LegendPlacementEnum (toggle?='toggle' replot?='replot' toggleType=ToggleTypeEnum)?
public Group getGroup() { return cGroup; }
//'legend'
public Keyword getLegendKeyword_0() { return cLegendKeyword_0; }
//placement=LegendPlacementEnum
public Assignment getPlacementAssignment_1() { return cPlacementAssignment_1; }
//LegendPlacementEnum
public RuleCall getPlacementLegendPlacementEnumEnumRuleCall_1_0() { return cPlacementLegendPlacementEnumEnumRuleCall_1_0; }
//(toggle?='toggle' replot?='replot' toggleType=ToggleTypeEnum)?
public Group getGroup_2() { return cGroup_2; }
//toggle?='toggle'
public Assignment getToggleAssignment_2_0() { return cToggleAssignment_2_0; }
//'toggle'
public Keyword getToggleToggleKeyword_2_0_0() { return cToggleToggleKeyword_2_0_0; }
//replot?='replot'
public Assignment getReplotAssignment_2_1() { return cReplotAssignment_2_1; }
//'replot'
public Keyword getReplotReplotKeyword_2_1_0() { return cReplotReplotKeyword_2_1_0; }
//toggleType=ToggleTypeEnum
public Assignment getToggleTypeAssignment_2_2() { return cToggleTypeAssignment_2_2; }
//ToggleTypeEnum
public RuleCall getToggleTypeToggleTypeEnumEnumRuleCall_2_2_0() { return cToggleTypeToggleTypeEnumEnumRuleCall_2_2_0; }
}
public class ChartHighlighterElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartHighlighter");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cTooltipKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cLocationAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cLocationTooltipLocationEnumEnumRuleCall_1_0 = (RuleCall)cLocationAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Assignment cTooltipAlwaysAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
private final Keyword cTooltipAlwaysAlwaysKeyword_2_0_0 = (Keyword)cTooltipAlwaysAssignment_2_0.eContents().get(0);
private final Assignment cInsideChartAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final Keyword cInsideChartInsideKeyword_2_1_0 = (Keyword)cInsideChartAssignment_2_1.eContents().get(0);
//ChartHighlighter:
// 'tooltip' location=TooltipLocationEnum (tooltipAlways?='always'? insideChart?='inside'?);
@Override public ParserRule getRule() { return rule; }
//'tooltip' location=TooltipLocationEnum (tooltipAlways?='always'? insideChart?='inside'?)
public Group getGroup() { return cGroup; }
//'tooltip'
public Keyword getTooltipKeyword_0() { return cTooltipKeyword_0; }
//location=TooltipLocationEnum
public Assignment getLocationAssignment_1() { return cLocationAssignment_1; }
//TooltipLocationEnum
public RuleCall getLocationTooltipLocationEnumEnumRuleCall_1_0() { return cLocationTooltipLocationEnumEnumRuleCall_1_0; }
//tooltipAlways?='always'? insideChart?='inside'?
public Group getGroup_2() { return cGroup_2; }
//tooltipAlways?='always'?
public Assignment getTooltipAlwaysAssignment_2_0() { return cTooltipAlwaysAssignment_2_0; }
//'always'
public Keyword getTooltipAlwaysAlwaysKeyword_2_0_0() { return cTooltipAlwaysAlwaysKeyword_2_0_0; }
//insideChart?='inside'?
public Assignment getInsideChartAssignment_2_1() { return cInsideChartAssignment_2_1; }
//'inside'
public Keyword getInsideChartInsideKeyword_2_1_0() { return cInsideChartInsideKeyword_2_1_0; }
}
public class ChartAxisElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartAxis");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cAxisKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cAxisAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final CrossReference cAxisDatamartAxisCrossReference_1_0 = (CrossReference)cAxisAssignment_1.eContents().get(0);
private final RuleCall cAxisDatamartAxisIDTerminalRuleCall_1_0_1 = (RuleCall)cAxisDatamartAxisCrossReference_1_0.eContents().get(1);
private final Keyword cRendersKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cRenderTypeAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cRenderTypeRenderTypeEnumEnumRuleCall_3_0 = (RuleCall)cRenderTypeAssignment_3.eContents().get(0);
private final Assignment cShortLabelAssignment_4 = (Assignment)cGroup.eContents().get(4);
private final Keyword cShortLabelShortLabelKeyword_4_0 = (Keyword)cShortLabelAssignment_4.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cAngleKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Assignment cAngleAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
private final RuleCall cAngleSignedNumberParserRuleCall_5_1_0 = (RuleCall)cAngleAssignment_5_1.eContents().get(0);
//ChartAxis:
// 'axis' axis=[datamart::DatamartAxis] 'renders' renderType=RenderTypeEnum shortLabel?='shortLabel'? ('angle'
// angle=SignedNumber)?;
@Override public ParserRule getRule() { return rule; }
//'axis' axis=[datamart::DatamartAxis] 'renders' renderType=RenderTypeEnum shortLabel?='shortLabel'? ('angle'
//angle=SignedNumber)?
public Group getGroup() { return cGroup; }
//'axis'
public Keyword getAxisKeyword_0() { return cAxisKeyword_0; }
//axis=[datamart::DatamartAxis]
public Assignment getAxisAssignment_1() { return cAxisAssignment_1; }
//[datamart::DatamartAxis]
public CrossReference getAxisDatamartAxisCrossReference_1_0() { return cAxisDatamartAxisCrossReference_1_0; }
//ID
public RuleCall getAxisDatamartAxisIDTerminalRuleCall_1_0_1() { return cAxisDatamartAxisIDTerminalRuleCall_1_0_1; }
//'renders'
public Keyword getRendersKeyword_2() { return cRendersKeyword_2; }
//renderType=RenderTypeEnum
public Assignment getRenderTypeAssignment_3() { return cRenderTypeAssignment_3; }
//RenderTypeEnum
public RuleCall getRenderTypeRenderTypeEnumEnumRuleCall_3_0() { return cRenderTypeRenderTypeEnumEnumRuleCall_3_0; }
//shortLabel?='shortLabel'?
public Assignment getShortLabelAssignment_4() { return cShortLabelAssignment_4; }
//'shortLabel'
public Keyword getShortLabelShortLabelKeyword_4_0() { return cShortLabelShortLabelKeyword_4_0; }
//('angle' angle=SignedNumber)?
public Group getGroup_5() { return cGroup_5; }
//'angle'
public Keyword getAngleKeyword_5_0() { return cAngleKeyword_5_0; }
//angle=SignedNumber
public Assignment getAngleAssignment_5_1() { return cAngleAssignment_5_1; }
//SignedNumber
public RuleCall getAngleSignedNumberParserRuleCall_5_1_0() { return cAngleSignedNumberParserRuleCall_5_1_0; }
}
public class ChartRangeElementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartRangeElement");
private final RuleCall cChartSegmentColorParserRuleCall = (RuleCall)rule.eContents().get(1);
//ChartRangeElement:
// ChartSegmentColor;
@Override public ParserRule getRule() { return rule; }
//ChartSegmentColor
public RuleCall getChartSegmentColorParserRuleCall() { return cChartSegmentColorParserRuleCall; }
}
public class ChartSegmentColorElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ChartSegmentColor");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cSegmentcolorKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cRgbAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cRgbSTRINGTerminalRuleCall_1_0 = (RuleCall)cRgbAssignment_1.eContents().get(0);
//ChartSegmentColor:
// 'segmentcolor' rgb=STRING;
@Override public ParserRule getRule() { return rule; }
//'segmentcolor' rgb=STRING
public Group getGroup() { return cGroup; }
//'segmentcolor'
public Keyword getSegmentcolorKeyword_0() { return cSegmentcolorKeyword_0; }
//rgb=STRING
public Assignment getRgbAssignment_1() { return cRgbAssignment_1; }
//STRING
public RuleCall getRgbSTRINGTerminalRuleCall_1_0() { return cRgbSTRINGTerminalRuleCall_1_0; }
}
public class SignedNumberElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.SignedNumber");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
//SignedNumber ecore::EInt:
// ('-'? INT)?;
@Override public ParserRule getRule() { return rule; }
//('-'? INT)?
public Group getGroup() { return cGroup; }
//'-'?
public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; }
//INT
public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
}
public class TRANSLATABLESTRINGElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.TRANSLATABLESTRING");
private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//TRANSLATABLESTRING:
// STRING;
@Override public ParserRule getRule() { return rule; }
//STRING
public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }
}
public class TRANSLATABLEIDElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.TRANSLATABLEID");
private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//TRANSLATABLEID:
// ID;
@Override public ParserRule getRule() { return rule; }
//ID
public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; }
}
public class LegendPlacementEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.LegendPlacementEnum");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cINSIDEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cINSIDEInsideKeyword_0_0 = (Keyword)cINSIDEEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cINSIDE_GRIDEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cINSIDE_GRIDInsideGridKeyword_1_0 = (Keyword)cINSIDE_GRIDEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cOUTSIDEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cOUTSIDEOutsideKeyword_2_0 = (Keyword)cOUTSIDEEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cOUTSIDE_GRIDEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cOUTSIDE_GRIDOutsideGridKeyword_3_0 = (Keyword)cOUTSIDE_GRIDEnumLiteralDeclaration_3.eContents().get(0);
//enum LegendPlacementEnum:
// INSIDE='inside' | INSIDE_GRID='inside-grid' | OUTSIDE='outside' | OUTSIDE_GRID='outside-grid';
public EnumRule getRule() { return rule; }
//INSIDE='inside' | INSIDE_GRID='inside-grid' | OUTSIDE='outside' | OUTSIDE_GRID='outside-grid'
public Alternatives getAlternatives() { return cAlternatives; }
//INSIDE='inside'
public EnumLiteralDeclaration getINSIDEEnumLiteralDeclaration_0() { return cINSIDEEnumLiteralDeclaration_0; }
//'inside'
public Keyword getINSIDEInsideKeyword_0_0() { return cINSIDEInsideKeyword_0_0; }
//INSIDE_GRID='inside-grid'
public EnumLiteralDeclaration getINSIDE_GRIDEnumLiteralDeclaration_1() { return cINSIDE_GRIDEnumLiteralDeclaration_1; }
//'inside-grid'
public Keyword getINSIDE_GRIDInsideGridKeyword_1_0() { return cINSIDE_GRIDInsideGridKeyword_1_0; }
//OUTSIDE='outside'
public EnumLiteralDeclaration getOUTSIDEEnumLiteralDeclaration_2() { return cOUTSIDEEnumLiteralDeclaration_2; }
//'outside'
public Keyword getOUTSIDEOutsideKeyword_2_0() { return cOUTSIDEOutsideKeyword_2_0; }
//OUTSIDE_GRID='outside-grid'
public EnumLiteralDeclaration getOUTSIDE_GRIDEnumLiteralDeclaration_3() { return cOUTSIDE_GRIDEnumLiteralDeclaration_3; }
//'outside-grid'
public Keyword getOUTSIDE_GRIDOutsideGridKeyword_3_0() { return cOUTSIDE_GRIDOutsideGridKeyword_3_0; }
}
public class ToggleTypeEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.ToggleTypeEnum");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cNORMALEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cNORMALNormalKeyword_0_0 = (Keyword)cNORMALEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cSLOWEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cSLOWSlowKeyword_1_0 = (Keyword)cSLOWEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cFASTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cFASTFastKeyword_2_0 = (Keyword)cFASTEnumLiteralDeclaration_2.eContents().get(0);
//enum ToggleTypeEnum:
// NORMAL='normal' | SLOW='slow' | FAST='fast';
public EnumRule getRule() { return rule; }
//NORMAL='normal' | SLOW='slow' | FAST='fast'
public Alternatives getAlternatives() { return cAlternatives; }
//NORMAL='normal'
public EnumLiteralDeclaration getNORMALEnumLiteralDeclaration_0() { return cNORMALEnumLiteralDeclaration_0; }
//'normal'
public Keyword getNORMALNormalKeyword_0_0() { return cNORMALNormalKeyword_0_0; }
//SLOW='slow'
public EnumLiteralDeclaration getSLOWEnumLiteralDeclaration_1() { return cSLOWEnumLiteralDeclaration_1; }
//'slow'
public Keyword getSLOWSlowKeyword_1_0() { return cSLOWSlowKeyword_1_0; }
//FAST='fast'
public EnumLiteralDeclaration getFASTEnumLiteralDeclaration_2() { return cFASTEnumLiteralDeclaration_2; }
//'fast'
public Keyword getFASTFastKeyword_2_0() { return cFASTFastKeyword_2_0; }
}
public class TooltipLocationEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.TooltipLocationEnum");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cNORTHEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cNORTHNorthKeyword_0_0 = (Keyword)cNORTHEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cNORTH_EASTEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cNORTH_EASTNorthEastKeyword_1_0 = (Keyword)cNORTH_EASTEnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cEASTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cEASTEastKeyword_2_0 = (Keyword)cEASTEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cSOUTH_EASTEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cSOUTH_EASTSouthEastKeyword_3_0 = (Keyword)cSOUTH_EASTEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cSOUTHEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cSOUTHSouthKeyword_4_0 = (Keyword)cSOUTHEnumLiteralDeclaration_4.eContents().get(0);
private final EnumLiteralDeclaration cSOUTH_WESTEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5);
private final Keyword cSOUTH_WESTSouthWestKeyword_5_0 = (Keyword)cSOUTH_WESTEnumLiteralDeclaration_5.eContents().get(0);
private final EnumLiteralDeclaration cWESTEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6);
private final Keyword cWESTWestKeyword_6_0 = (Keyword)cWESTEnumLiteralDeclaration_6.eContents().get(0);
private final EnumLiteralDeclaration cNORTH_WESTEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7);
private final Keyword cNORTH_WESTNorthWestKeyword_7_0 = (Keyword)cNORTH_WESTEnumLiteralDeclaration_7.eContents().get(0);
//enum TooltipLocationEnum:
// NORTH='north' | NORTH_EAST='north-east' | EAST='east' | SOUTH_EAST='south-east' | SOUTH='south' |
// SOUTH_WEST='south-west' | WEST='west' | NORTH_WEST='north-west';
public EnumRule getRule() { return rule; }
//NORTH='north' | NORTH_EAST='north-east' | EAST='east' | SOUTH_EAST='south-east' | SOUTH='south' |
//SOUTH_WEST='south-west' | WEST='west' | NORTH_WEST='north-west'
public Alternatives getAlternatives() { return cAlternatives; }
//NORTH='north'
public EnumLiteralDeclaration getNORTHEnumLiteralDeclaration_0() { return cNORTHEnumLiteralDeclaration_0; }
//'north'
public Keyword getNORTHNorthKeyword_0_0() { return cNORTHNorthKeyword_0_0; }
//NORTH_EAST='north-east'
public EnumLiteralDeclaration getNORTH_EASTEnumLiteralDeclaration_1() { return cNORTH_EASTEnumLiteralDeclaration_1; }
//'north-east'
public Keyword getNORTH_EASTNorthEastKeyword_1_0() { return cNORTH_EASTNorthEastKeyword_1_0; }
//EAST='east'
public EnumLiteralDeclaration getEASTEnumLiteralDeclaration_2() { return cEASTEnumLiteralDeclaration_2; }
//'east'
public Keyword getEASTEastKeyword_2_0() { return cEASTEastKeyword_2_0; }
//SOUTH_EAST='south-east'
public EnumLiteralDeclaration getSOUTH_EASTEnumLiteralDeclaration_3() { return cSOUTH_EASTEnumLiteralDeclaration_3; }
//'south-east'
public Keyword getSOUTH_EASTSouthEastKeyword_3_0() { return cSOUTH_EASTSouthEastKeyword_3_0; }
//SOUTH='south'
public EnumLiteralDeclaration getSOUTHEnumLiteralDeclaration_4() { return cSOUTHEnumLiteralDeclaration_4; }
//'south'
public Keyword getSOUTHSouthKeyword_4_0() { return cSOUTHSouthKeyword_4_0; }
//SOUTH_WEST='south-west'
public EnumLiteralDeclaration getSOUTH_WESTEnumLiteralDeclaration_5() { return cSOUTH_WESTEnumLiteralDeclaration_5; }
//'south-west'
public Keyword getSOUTH_WESTSouthWestKeyword_5_0() { return cSOUTH_WESTSouthWestKeyword_5_0; }
//WEST='west'
public EnumLiteralDeclaration getWESTEnumLiteralDeclaration_6() { return cWESTEnumLiteralDeclaration_6; }
//'west'
public Keyword getWESTWestKeyword_6_0() { return cWESTWestKeyword_6_0; }
//NORTH_WEST='north-west'
public EnumLiteralDeclaration getNORTH_WESTEnumLiteralDeclaration_7() { return cNORTH_WESTEnumLiteralDeclaration_7; }
//'north-west'
public Keyword getNORTH_WESTNorthWestKeyword_7_0() { return cNORTH_WESTNorthWestKeyword_7_0; }
}
public class RenderTypeEnumElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.osbp.xtext.chart.ChartDSL.RenderTypeEnum");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cCATEGORYEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cCATEGORYCategoryKeyword_0_0 = (Keyword)cCATEGORYEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cLINEAREnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cLINEARLinearKeyword_1_0 = (Keyword)cLINEAREnumLiteralDeclaration_1.eContents().get(0);
private final EnumLiteralDeclaration cDATEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
private final Keyword cDATEDateKeyword_2_0 = (Keyword)cDATEEnumLiteralDeclaration_2.eContents().get(0);
private final EnumLiteralDeclaration cLOGEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
private final Keyword cLOGLogarithmicKeyword_3_0 = (Keyword)cLOGEnumLiteralDeclaration_3.eContents().get(0);
private final EnumLiteralDeclaration cPYRAMIDEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4);
private final Keyword cPYRAMIDPyramidKeyword_4_0 = (Keyword)cPYRAMIDEnumLiteralDeclaration_4.eContents().get(0);
//enum RenderTypeEnum:
// CATEGORY='category' | LINEAR='linear' | DATE='date' | LOG='logarithmic' | PYRAMID='pyramid';
public EnumRule getRule() { return rule; }
//CATEGORY='category' | LINEAR='linear' | DATE='date' | LOG='logarithmic' | PYRAMID='pyramid'
public Alternatives getAlternatives() { return cAlternatives; }
//CATEGORY='category'
public EnumLiteralDeclaration getCATEGORYEnumLiteralDeclaration_0() { return cCATEGORYEnumLiteralDeclaration_0; }
//'category'
public Keyword getCATEGORYCategoryKeyword_0_0() { return cCATEGORYCategoryKeyword_0_0; }
//LINEAR='linear'
public EnumLiteralDeclaration getLINEAREnumLiteralDeclaration_1() { return cLINEAREnumLiteralDeclaration_1; }
//'linear'
public Keyword getLINEARLinearKeyword_1_0() { return cLINEARLinearKeyword_1_0; }
//DATE='date'
public EnumLiteralDeclaration getDATEEnumLiteralDeclaration_2() { return cDATEEnumLiteralDeclaration_2; }
//'date'
public Keyword getDATEDateKeyword_2_0() { return cDATEDateKeyword_2_0; }
//LOG='logarithmic'
public EnumLiteralDeclaration getLOGEnumLiteralDeclaration_3() { return cLOGEnumLiteralDeclaration_3; }
//'logarithmic'
public Keyword getLOGLogarithmicKeyword_3_0() { return cLOGLogarithmicKeyword_3_0; }
//PYRAMID='pyramid'
public EnumLiteralDeclaration getPYRAMIDEnumLiteralDeclaration_4() { return cPYRAMIDEnumLiteralDeclaration_4; }
//'pyramid'
public Keyword getPYRAMIDPyramidKeyword_4_0() { return cPYRAMIDPyramidKeyword_4_0; }
}
private final ChartModelElements pChartModel;
private final ChartPackageElements pChartPackage;
private final ChartElements pChart;
private final ChartOptionElements pChartOption;
private final ChartBarElements pChartBar;
private final ChartLineElements pChartLine;
private final ChartPieElements pChartPie;
private final ChartDonutElements pChartDonut;
private final ChartBubbleElements pChartBubble;
private final ChartGaugeElements pChartGauge;
private final ChartTreeElements pChartTree;
private final ChartIntervalElements pChartInterval;
private final ChartNumberIntervalElements pChartNumberInterval;
private final ChartDatamartElements pChartDatamart;
private final ChartElementElements pChartElement;
private final ChartLegendElements pChartLegend;
private final ChartHighlighterElements pChartHighlighter;
private final ChartAxisElements pChartAxis;
private final ChartRangeElementElements pChartRangeElement;
private final ChartSegmentColorElements pChartSegmentColor;
private final SignedNumberElements pSignedNumber;
private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING;
private final TRANSLATABLEIDElements pTRANSLATABLEID;
private final LegendPlacementEnumElements eLegendPlacementEnum;
private final ToggleTypeEnumElements eToggleTypeEnum;
private final TooltipLocationEnumElements eTooltipLocationEnum;
private final RenderTypeEnumElements eRenderTypeEnum;
private final Grammar grammar;
private final OXtypeGrammarAccess gaOXtype;
private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations;
private final XbaseGrammarAccess gaXbase;
private final XtypeGrammarAccess gaXtype;
@Inject
public ChartDSLGrammarAccess(GrammarProvider grammarProvider,
OXtypeGrammarAccess gaOXtype,
XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations,
XbaseGrammarAccess gaXbase,
XtypeGrammarAccess gaXtype) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaOXtype = gaOXtype;
this.gaXbaseWithAnnotations = gaXbaseWithAnnotations;
this.gaXbase = gaXbase;
this.gaXtype = gaXtype;
this.pChartModel = new ChartModelElements();
this.pChartPackage = new ChartPackageElements();
this.pChart = new ChartElements();
this.pChartOption = new ChartOptionElements();
this.pChartBar = new ChartBarElements();
this.pChartLine = new ChartLineElements();
this.pChartPie = new ChartPieElements();
this.pChartDonut = new ChartDonutElements();
this.pChartBubble = new ChartBubbleElements();
this.pChartGauge = new ChartGaugeElements();
this.pChartTree = new ChartTreeElements();
this.pChartInterval = new ChartIntervalElements();
this.pChartNumberInterval = new ChartNumberIntervalElements();
this.pChartDatamart = new ChartDatamartElements();
this.pChartElement = new ChartElementElements();
this.pChartLegend = new ChartLegendElements();
this.pChartHighlighter = new ChartHighlighterElements();
this.pChartAxis = new ChartAxisElements();
this.pChartRangeElement = new ChartRangeElementElements();
this.pChartSegmentColor = new ChartSegmentColorElements();
this.pSignedNumber = new SignedNumberElements();
this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements();
this.pTRANSLATABLEID = new TRANSLATABLEIDElements();
this.eLegendPlacementEnum = new LegendPlacementEnumElements();
this.eToggleTypeEnum = new ToggleTypeEnumElements();
this.eTooltipLocationEnum = new TooltipLocationEnumElements();
this.eRenderTypeEnum = new RenderTypeEnumElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
if ("org.eclipse.osbp.xtext.chart.ChartDSL".equals(grammar.getName())) {
return grammar;
}
List<Grammar> grammars = grammar.getUsedGrammars();
if (!grammars.isEmpty()) {
grammar = grammars.iterator().next();
} else {
return null;
}
}
return grammar;
}
@Override
public Grammar getGrammar() {
return grammar;
}
public OXtypeGrammarAccess getOXtypeGrammarAccess() {
return gaOXtype;
}
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() {
return gaXbaseWithAnnotations;
}
public XbaseGrammarAccess getXbaseGrammarAccess() {
return gaXbase;
}
public XtypeGrammarAccess getXtypeGrammarAccess() {
return gaXtype;
}
//ChartModel:
// importSection=XImportSection?
// packages+=ChartPackage*;
public ChartModelElements getChartModelAccess() {
return pChartModel;
}
public ParserRule getChartModelRule() {
return getChartModelAccess().getRule();
}
//ChartPackage:
// {ChartPackage} 'package' name=QualifiedName ('{' charts+=Chart* '}')?;
public ChartPackageElements getChartPackageAccess() {
return pChartPackage;
}
public ParserRule getChartPackageRule() {
return getChartPackageAccess().getRule();
}
//Chart:
// {Chart} 'chart' name=TRANSLATABLEID (description?='describedBy' descriptionValue=TRANSLATABLESTRING)? 'as'
// charttype=ChartOption ((polling?='polling' pollingTime=INT)? & selectById?='selectById'?) ('using'
// source=ChartDatamart)?;
public ChartElements getChartAccess() {
return pChart;
}
public ParserRule getChartRule() {
return getChartAccess().getRule();
}
//ChartOption:
// ChartBar | ChartLine | ChartPie | ChartDonut | ChartBubble | ChartGauge | ChartTree;
public ChartOptionElements getChartOptionAccess() {
return pChartOption;
}
public ParserRule getChartOptionRule() {
return getChartOptionAccess().getRule();
}
//ChartBar:
// {ChartBar} 'bar' (shadow?='shaded'? & animated?='animated'? & swapped?='swapped'? & stacked?='stacked'?);
public ChartBarElements getChartBarAccess() {
return pChartBar;
}
public ParserRule getChartBarRule() {
return getChartBarAccess().getRule();
}
//ChartLine:
// {ChartLine} 'line' (animated?='animated'? & showMarker?='showMarker'? & trendLine?='trendLine'? & (cursor?='cursor'
// zoom?='zoom'? tooltip?='tooltip'?)? & fillToZero?='fillZero'? & fillArea?='filled'?);
public ChartLineElements getChartLineAccess() {
return pChartLine;
}
public ParserRule getChartLineRule() {
return getChartLineAccess().getRule();
}
//ChartPie:
// {ChartPie} 'pie' empty?='empty'?;
public ChartPieElements getChartPieAccess() {
return pChartPie;
}
public ParserRule getChartPieRule() {
return getChartPieAccess().getRule();
}
//ChartDonut:
// {ChartDonut} 'donut';
public ChartDonutElements getChartDonutAccess() {
return pChartDonut;
}
public ParserRule getChartDonutRule() {
return getChartDonutAccess().getRule();
}
//ChartBubble:
// {ChartBubble} 'bubble' ((multiplier?='multiplier' multiplierValue=Number)? & (gradient?='gradient' |
// transparent?='transparent'))?;
public ChartBubbleElements getChartBubbleAccess() {
return pChartBubble;
}
public ParserRule getChartBubbleRule() {
return getChartBubbleAccess().getRule();
}
//ChartGauge:
// {ChartGauge} 'gauge' ((labeled?='label' labelValue=STRING)? & (hasTicks?='hasTicks' 'minimum' minValue=INT 'maximum'
// maxValue=INT)? & (hasIntervals?='intervals' '{' intervals+=ChartInterval* '}')?);
public ChartGaugeElements getChartGaugeAccess() {
return pChartGauge;
}
public ParserRule getChartGaugeRule() {
return getChartGaugeAccess().getRule();
}
//ChartTree:
// {ChartTree} 'tree' (map?='map' | collapsible?='collapsible');
public ChartTreeElements getChartTreeAccess() {
return pChartTree;
}
public ParserRule getChartTreeRule() {
return getChartTreeAccess().getRule();
}
//ChartInterval:
// ChartNumberInterval;
public ChartIntervalElements getChartIntervalAccess() {
return pChartInterval;
}
public ParserRule getChartIntervalRule() {
return getChartIntervalAccess().getRule();
}
//ChartNumberInterval:
// {ChartNumberInterval} 'upTo' numberIntervalValue=SignedNumber numberRange=ChartRangeElement;
public ChartNumberIntervalElements getChartNumberIntervalAccess() {
return pChartNumberInterval;
}
public ParserRule getChartNumberIntervalRule() {
return getChartNumberIntervalAccess().getRule();
}
//ChartDatamart:
// 'datamart' datamartRef=[datamart::DatamartDefinition] '{' elements+=ChartElement* '}';
public ChartDatamartElements getChartDatamartAccess() {
return pChartDatamart;
}
public ParserRule getChartDatamartRule() {
return getChartDatamartAccess().getRule();
}
//ChartElement:
// ChartAxis | ChartLegend | ChartHighlighter;
public ChartElementElements getChartElementAccess() {
return pChartElement;
}
public ParserRule getChartElementRule() {
return getChartElementAccess().getRule();
}
//ChartLegend:
// 'legend' placement=LegendPlacementEnum (toggle?='toggle' replot?='replot' toggleType=ToggleTypeEnum)?;
public ChartLegendElements getChartLegendAccess() {
return pChartLegend;
}
public ParserRule getChartLegendRule() {
return getChartLegendAccess().getRule();
}
//ChartHighlighter:
// 'tooltip' location=TooltipLocationEnum (tooltipAlways?='always'? insideChart?='inside'?);
public ChartHighlighterElements getChartHighlighterAccess() {
return pChartHighlighter;
}
public ParserRule getChartHighlighterRule() {
return getChartHighlighterAccess().getRule();
}
//ChartAxis:
// 'axis' axis=[datamart::DatamartAxis] 'renders' renderType=RenderTypeEnum shortLabel?='shortLabel'? ('angle'
// angle=SignedNumber)?;
public ChartAxisElements getChartAxisAccess() {
return pChartAxis;
}
public ParserRule getChartAxisRule() {
return getChartAxisAccess().getRule();
}
//ChartRangeElement:
// ChartSegmentColor;
public ChartRangeElementElements getChartRangeElementAccess() {
return pChartRangeElement;
}
public ParserRule getChartRangeElementRule() {
return getChartRangeElementAccess().getRule();
}
//ChartSegmentColor:
// 'segmentcolor' rgb=STRING;
public ChartSegmentColorElements getChartSegmentColorAccess() {
return pChartSegmentColor;
}
public ParserRule getChartSegmentColorRule() {
return getChartSegmentColorAccess().getRule();
}
//SignedNumber ecore::EInt:
// ('-'? INT)?;
public SignedNumberElements getSignedNumberAccess() {
return pSignedNumber;
}
public ParserRule getSignedNumberRule() {
return getSignedNumberAccess().getRule();
}
//TRANSLATABLESTRING:
// STRING;
public TRANSLATABLESTRINGElements getTRANSLATABLESTRINGAccess() {
return pTRANSLATABLESTRING;
}
public ParserRule getTRANSLATABLESTRINGRule() {
return getTRANSLATABLESTRINGAccess().getRule();
}
//TRANSLATABLEID:
// ID;
public TRANSLATABLEIDElements getTRANSLATABLEIDAccess() {
return pTRANSLATABLEID;
}
public ParserRule getTRANSLATABLEIDRule() {
return getTRANSLATABLEIDAccess().getRule();
}
//enum LegendPlacementEnum:
// INSIDE='inside' | INSIDE_GRID='inside-grid' | OUTSIDE='outside' | OUTSIDE_GRID='outside-grid';
public LegendPlacementEnumElements getLegendPlacementEnumAccess() {
return eLegendPlacementEnum;
}
public EnumRule getLegendPlacementEnumRule() {
return getLegendPlacementEnumAccess().getRule();
}
//enum ToggleTypeEnum:
// NORMAL='normal' | SLOW='slow' | FAST='fast';
public ToggleTypeEnumElements getToggleTypeEnumAccess() {
return eToggleTypeEnum;
}
public EnumRule getToggleTypeEnumRule() {
return getToggleTypeEnumAccess().getRule();
}
//enum TooltipLocationEnum:
// NORTH='north' | NORTH_EAST='north-east' | EAST='east' | SOUTH_EAST='south-east' | SOUTH='south' |
// SOUTH_WEST='south-west' | WEST='west' | NORTH_WEST='north-west';
public TooltipLocationEnumElements getTooltipLocationEnumAccess() {
return eTooltipLocationEnum;
}
public EnumRule getTooltipLocationEnumRule() {
return getTooltipLocationEnumAccess().getRule();
}
//enum RenderTypeEnum:
// CATEGORY='category' | LINEAR='linear' | DATE='date' | LOG='logarithmic' | PYRAMID='pyramid';
public RenderTypeEnumElements getRenderTypeEnumAccess() {
return eRenderTypeEnum;
}
public EnumRule getRenderTypeEnumRule() {
return getRenderTypeEnumAccess().getRule();
}
//@ Override XImportDeclaration OXImportDeclaration:
// {OXImportDeclaration}
// 'import' (static?='static' extension?='extension'? importedType=[JvmDeclaredType|QualifiedNameInStaticImport]
// (wildcard?='*' | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] |
// importedNamespace=QualifiedNameWithWildcard
// | fqnImport?='ns' importedFullyQualifiedName=QualifiedName) ';'?;
public OXtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() {
return gaOXtype.getXImportDeclarationAccess();
}
public ParserRule getXImportDeclarationRule() {
return getXImportDeclarationAccess().getRule();
}
//XAnnotation:
// {XAnnotation}
// '@' annotationType=[types::JvmAnnotationType|QualifiedName] (=> '(' (elementValuePairs+=XAnnotationElementValuePair
// (',' elementValuePairs+=XAnnotationElementValuePair)*
// | value=XAnnotationElementValueOrCommaList)?
// ')')?;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() {
return gaXbaseWithAnnotations.getXAnnotationAccess();
}
public ParserRule getXAnnotationRule() {
return getXAnnotationAccess().getRule();
}
//XAnnotationElementValuePair:
// => (element=[types::JvmOperation|ValidID] '=') value=XAnnotationElementValue;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess();
}
public ParserRule getXAnnotationElementValuePairRule() {
return getXAnnotationElementValuePairAccess().getRule();
}
//XAnnotationElementValueOrCommaList xbase::XExpression:
// => ({xbase::XListLiteral} '#' '[') (elements+=XAnnotationOrExpression (',' elements+=XAnnotationOrExpression)*)? ']'
// | XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} (',' elements+=XAnnotationOrExpression)+)?;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess();
}
public ParserRule getXAnnotationElementValueOrCommaListRule() {
return getXAnnotationElementValueOrCommaListAccess().getRule();
}
//XAnnotationElementValue xbase::XExpression:
// => ({xbase::XListLiteral} '#' '[') (elements+=XAnnotationOrExpression (',' elements+=XAnnotationOrExpression)*)? ']'
// | XAnnotationOrExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueAccess();
}
public ParserRule getXAnnotationElementValueRule() {
return getXAnnotationElementValueAccess().getRule();
}
//XAnnotationOrExpression xbase::XExpression:
// XAnnotation | XExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() {
return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess();
}
public ParserRule getXAnnotationOrExpressionRule() {
return getXAnnotationOrExpressionAccess().getRule();
}
//XExpression:
// XAssignment;
public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() {
return gaXbase.getXExpressionAccess();
}
public ParserRule getXExpressionRule() {
return getXExpressionAccess().getRule();
}
//XAssignment XExpression:
// {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression
// (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign])
// rightOperand=XAssignment)?;
public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() {
return gaXbase.getXAssignmentAccess();
}
public ParserRule getXAssignmentRule() {
return getXAssignmentAccess().getRule();
}
//OpSingleAssign:
// '=';
public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() {
return gaXbase.getOpSingleAssignAccess();
}
public ParserRule getOpSingleAssignRule() {
return getOpSingleAssignAccess().getRule();
}
//OpMultiAssign:
// '+=' | '-=' | '*=' | '/=' | '%=' |
// '<' '<' '=' |
// '>' '>'? '>=';
public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() {
return gaXbase.getOpMultiAssignAccess();
}
public ParserRule getOpMultiAssignRule() {
return getOpMultiAssignAccess().getRule();
}
//XOrExpression XExpression:
// XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr])
// rightOperand=XAndExpression)*;
public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() {
return gaXbase.getXOrExpressionAccess();
}
public ParserRule getXOrExpressionRule() {
return getXOrExpressionAccess().getRule();
}
//OpOr:
// '||';
public XbaseGrammarAccess.OpOrElements getOpOrAccess() {
return gaXbase.getOpOrAccess();
}
public ParserRule getOpOrRule() {
return getOpOrAccess().getRule();
}
//XAndExpression XExpression:
// XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd])
// rightOperand=XEqualityExpression)*;
public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() {
return gaXbase.getXAndExpressionAccess();
}
public ParserRule getXAndExpressionRule() {
return getXAndExpressionAccess().getRule();
}
//OpAnd:
// '&&';
public XbaseGrammarAccess.OpAndElements getOpAndAccess() {
return gaXbase.getOpAndAccess();
}
public ParserRule getOpAndRule() {
return getOpAndAccess().getRule();
}
//XEqualityExpression XExpression:
// XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality])
// rightOperand=XRelationalExpression)*;
public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() {
return gaXbase.getXEqualityExpressionAccess();
}
public ParserRule getXEqualityExpressionRule() {
return getXEqualityExpressionAccess().getRule();
}
//OpEquality:
// '==' | '!=' | '===' | '!==';
public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() {
return gaXbase.getOpEqualityAccess();
}
public ParserRule getOpEqualityRule() {
return getOpEqualityAccess().getRule();
}
//XRelationalExpression XExpression:
// XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} 'instanceof') type=JvmTypeReference |
// => ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare])
// rightOperand=XOtherOperatorExpression)*;
public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() {
return gaXbase.getXRelationalExpressionAccess();
}
public ParserRule getXRelationalExpressionRule() {
return getXRelationalExpressionAccess().getRule();
}
//OpCompare:
// '>=' | '<' '=' | '>' | '<';
public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() {
return gaXbase.getOpCompareAccess();
}
public ParserRule getOpCompareRule() {
return getOpCompareAccess().getRule();
}
//XOtherOperatorExpression XExpression:
// XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther])
// rightOperand=XAdditiveExpression)*;
public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() {
return gaXbase.getXOtherOperatorExpressionAccess();
}
public ParserRule getXOtherOperatorExpressionRule() {
return getXOtherOperatorExpressionAccess().getRule();
}
//OpOther:
// '->'
// | '..<'
// | '>' '..'
// | '..'
// | '=>'
// | '>' (=> ('>' '>') | '>') | '<' (=> ('<' '<') | '<' | '=>') | '<>'
// | '?:';
public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() {
return gaXbase.getOpOtherAccess();
}
public ParserRule getOpOtherRule() {
return getOpOtherAccess().getRule();
}
//XAdditiveExpression XExpression:
// XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd])
// rightOperand=XMultiplicativeExpression)*;
public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() {
return gaXbase.getXAdditiveExpressionAccess();
}
public ParserRule getXAdditiveExpressionRule() {
return getXAdditiveExpressionAccess().getRule();
}
//OpAdd:
// '+' | '-';
public XbaseGrammarAccess.OpAddElements getOpAddAccess() {
return gaXbase.getOpAddAccess();
}
public ParserRule getOpAddRule() {
return getOpAddAccess().getRule();
}
//XMultiplicativeExpression XExpression:
// XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti])
// rightOperand=XUnaryOperation)*;
public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() {
return gaXbase.getXMultiplicativeExpressionAccess();
}
public ParserRule getXMultiplicativeExpressionRule() {
return getXMultiplicativeExpressionAccess().getRule();
}
//OpMulti:
// '*' | '**' | '/' | '%';
public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() {
return gaXbase.getOpMultiAccess();
}
public ParserRule getOpMultiRule() {
return getOpMultiAccess().getRule();
}
//XUnaryOperation XExpression:
// {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation
// | XCastedExpression;
public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() {
return gaXbase.getXUnaryOperationAccess();
}
public ParserRule getXUnaryOperationRule() {
return getXUnaryOperationAccess().getRule();
}
//OpUnary:
// "!" | "-" | "+";
public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() {
return gaXbase.getOpUnaryAccess();
}
public ParserRule getOpUnaryRule() {
return getOpUnaryAccess().getRule();
}
//XCastedExpression XExpression:
// XPostfixOperation (=> ({XCastedExpression.target=current} 'as') type=JvmTypeReference)*;
public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() {
return gaXbase.getXCastedExpressionAccess();
}
public ParserRule getXCastedExpressionRule() {
return getXCastedExpressionAccess().getRule();
}
//XPostfixOperation XExpression:
// XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?;
public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() {
return gaXbase.getXPostfixOperationAccess();
}
public ParserRule getXPostfixOperationRule() {
return getXPostfixOperationAccess().getRule();
}
//OpPostfix:
// "++" | "--";
public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() {
return gaXbase.getOpPostfixAccess();
}
public ParserRule getOpPostfixRule() {
return getOpPostfixAccess().getRule();
}
//XMemberFeatureCall XExpression:
// XPrimaryExpression (=> ({XAssignment.assignable=current} ('.' | explicitStatic?="::")
// feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign) value=XAssignment
// | => ({XMemberFeatureCall.memberCallTarget=current} ("." | nullSafe?="?." | explicitStatic?="::")) ('<'
// typeArguments+=JvmArgumentTypeReference (',' typeArguments+=JvmArgumentTypeReference)* '>')?
// feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?='(' (memberCallArguments+=XShortClosure
// | memberCallArguments+=XExpression (',' memberCallArguments+=XExpression)*)?
// ')')?
// memberCallArguments+=XClosure?)*;
public XbaseGrammarAccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() {
return gaXbase.getXMemberFeatureCallAccess();
}
public ParserRule getXMemberFeatureCallRule() {
return getXMemberFeatureCallAccess().getRule();
}
//XPrimaryExpression XExpression:
// XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral |
// XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression |
// XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression;
public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() {
return gaXbase.getXPrimaryExpressionAccess();
}
public ParserRule getXPrimaryExpressionRule() {
return getXPrimaryExpressionAccess().getRule();
}
//XLiteral XExpression:
// XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral;
public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() {
return gaXbase.getXLiteralAccess();
}
public ParserRule getXLiteralRule() {
return getXLiteralAccess().getRule();
}
//XCollectionLiteral:
// XSetLiteral | XListLiteral;
public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() {
return gaXbase.getXCollectionLiteralAccess();
}
public ParserRule getXCollectionLiteralRule() {
return getXCollectionLiteralAccess().getRule();
}
//XSetLiteral:
// {XSetLiteral} '#' '{' (elements+=XExpression (',' elements+=XExpression)*)? '}';
public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() {
return gaXbase.getXSetLiteralAccess();
}
public ParserRule getXSetLiteralRule() {
return getXSetLiteralAccess().getRule();
}
//XListLiteral:
// {XListLiteral} '#' '[' (elements+=XExpression (',' elements+=XExpression)*)? ']';
public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() {
return gaXbase.getXListLiteralAccess();
}
public ParserRule getXListLiteralRule() {
return getXListLiteralAccess().getRule();
}
//XClosure XExpression:
// => ({XClosure}
// '[')
// => ((declaredFormalParameters+=JvmFormalParameter (',' declaredFormalParameters+=JvmFormalParameter)*)?
// explicitSyntax?='|')?
// expression=XExpressionInClosure
// ']';
public XbaseGrammarAccess.XClosureElements getXClosureAccess() {
return gaXbase.getXClosureAccess();
}
public ParserRule getXClosureRule() {
return getXClosureAccess().getRule();
}
//XExpressionInClosure XExpression:
// {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ';'?)*;
public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() {
return gaXbase.getXExpressionInClosureAccess();
}
public ParserRule getXExpressionInClosureRule() {
return getXExpressionInClosureAccess().getRule();
}
//XShortClosure XExpression:
// => ({XClosure} (declaredFormalParameters+=JvmFormalParameter (',' declaredFormalParameters+=JvmFormalParameter)*)?
// explicitSyntax?='|') expression=XExpression;
public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() {
return gaXbase.getXShortClosureAccess();
}
public ParserRule getXShortClosureRule() {
return getXShortClosureAccess().getRule();
}
//XParenthesizedExpression XExpression:
// '(' XExpression ')';
public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() {
return gaXbase.getXParenthesizedExpressionAccess();
}
public ParserRule getXParenthesizedExpressionRule() {
return getXParenthesizedExpressionAccess().getRule();
}
//XIfExpression XExpression:
// {XIfExpression}
// 'if' '(' if=XExpression ')'
// then=XExpression (=> 'else' else=XExpression)?;
public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() {
return gaXbase.getXIfExpressionAccess();
}
public ParserRule getXIfExpressionRule() {
return getXIfExpressionAccess().getRule();
}
//XSwitchExpression XExpression:
// {XSwitchExpression}
// 'switch' (=> ('(' declaredParam=JvmFormalParameter ':') switch=XExpression ')'
// | => (declaredParam=JvmFormalParameter ':')? switch=XExpression) '{'
// cases+=XCasePart* ('default' ':' default=XExpression)?
// '}';
public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() {
return gaXbase.getXSwitchExpressionAccess();
}
public ParserRule getXSwitchExpressionRule() {
return getXSwitchExpressionAccess().getRule();
}
//XCasePart:
// {XCasePart} typeGuard=JvmTypeReference? ('case' case=XExpression)? (':' then=XExpression | fallThrough?=',');
public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() {
return gaXbase.getXCasePartAccess();
}
public ParserRule getXCasePartRule() {
return getXCasePartAccess().getRule();
}
//XForLoopExpression XExpression:
// => ({XForLoopExpression}
// 'for' '(' declaredParam=JvmFormalParameter ':') forExpression=XExpression ')'
// eachExpression=XExpression;
public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() {
return gaXbase.getXForLoopExpressionAccess();
}
public ParserRule getXForLoopExpressionRule() {
return getXForLoopExpressionAccess().getRule();
}
//XBasicForLoopExpression XExpression:
// {XBasicForLoopExpression}
// 'for' '(' (initExpressions+=XExpressionOrVarDeclaration (',' initExpressions+=XExpressionOrVarDeclaration)*)? ';'
// expression=XExpression? ';' (updateExpressions+=XExpression (',' updateExpressions+=XExpression)*)? ')'
// eachExpression=XExpression;
public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() {
return gaXbase.getXBasicForLoopExpressionAccess();
}
public ParserRule getXBasicForLoopExpressionRule() {
return getXBasicForLoopExpressionAccess().getRule();
}
//XWhileExpression XExpression:
// {XWhileExpression}
// 'while' '(' predicate=XExpression ')'
// body=XExpression;
public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() {
return gaXbase.getXWhileExpressionAccess();
}
public ParserRule getXWhileExpressionRule() {
return getXWhileExpressionAccess().getRule();
}
//XDoWhileExpression XExpression:
// {XDoWhileExpression}
// 'do'
// body=XExpression
// 'while' '(' predicate=XExpression ')';
public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() {
return gaXbase.getXDoWhileExpressionAccess();
}
public ParserRule getXDoWhileExpressionRule() {
return getXDoWhileExpressionAccess().getRule();
}
//XBlockExpression XExpression:
// {XBlockExpression}
// '{' (expressions+=XExpressionOrVarDeclaration ';'?)*
// '}';
public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() {
return gaXbase.getXBlockExpressionAccess();
}
public ParserRule getXBlockExpressionRule() {
return getXBlockExpressionAccess().getRule();
}
//XExpressionOrVarDeclaration XExpression:
// XVariableDeclaration | XExpression;
public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() {
return gaXbase.getXExpressionOrVarDeclarationAccess();
}
public ParserRule getXExpressionOrVarDeclarationRule() {
return getXExpressionOrVarDeclarationAccess().getRule();
}
//XVariableDeclaration XExpression:
// {XVariableDeclaration} (writeable?='var' | 'val') (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ('='
// right=XExpression)?;
public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() {
return gaXbase.getXVariableDeclarationAccess();
}
public ParserRule getXVariableDeclarationRule() {
return getXVariableDeclarationAccess().getRule();
}
//JvmFormalParameter types::JvmFormalParameter:
// parameterType=JvmTypeReference? name=ValidID;
public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() {
return gaXbase.getJvmFormalParameterAccess();
}
public ParserRule getJvmFormalParameterRule() {
return getJvmFormalParameterAccess().getRule();
}
//FullJvmFormalParameter types::JvmFormalParameter:
// parameterType=JvmTypeReference name=ValidID;
public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() {
return gaXbase.getFullJvmFormalParameterAccess();
}
public ParserRule getFullJvmFormalParameterRule() {
return getFullJvmFormalParameterAccess().getRule();
}
//XFeatureCall XExpression:
// {XFeatureCall} ('<' typeArguments+=JvmArgumentTypeReference (',' typeArguments+=JvmArgumentTypeReference)* '>')?
// feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?='(' (featureCallArguments+=XShortClosure
// | featureCallArguments+=XExpression (',' featureCallArguments+=XExpression)*)?
// ')')?
// featureCallArguments+=XClosure?;
public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() {
return gaXbase.getXFeatureCallAccess();
}
public ParserRule getXFeatureCallRule() {
return getXFeatureCallAccess().getRule();
}
//FeatureCallID:
// ValidID | 'extends' | 'static' | 'import' | 'extension';
public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() {
return gaXbase.getFeatureCallIDAccess();
}
public ParserRule getFeatureCallIDRule() {
return getFeatureCallIDAccess().getRule();
}
//IdOrSuper:
// FeatureCallID | 'super';
public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {
return gaXbase.getIdOrSuperAccess();
}
public ParserRule getIdOrSuperRule() {
return getIdOrSuperAccess().getRule();
}
//XConstructorCall XExpression:
// {XConstructorCall}
// 'new' constructor=[types::JvmConstructor|QualifiedName] (=> '<' typeArguments+=JvmArgumentTypeReference (','
// typeArguments+=JvmArgumentTypeReference)* '>')? (=> explicitConstructorCall?='(' (arguments+=XShortClosure
// | arguments+=XExpression (',' arguments+=XExpression)*)?
// ')')?
// arguments+=XClosure?;
public XbaseGrammarAccess.XConstructorCallElements getXConstructorCallAccess() {
return gaXbase.getXConstructorCallAccess();
}
public ParserRule getXConstructorCallRule() {
return getXConstructorCallAccess().getRule();
}
//XBooleanLiteral XExpression:
// {XBooleanLiteral} ('false' | isTrue?='true');
public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() {
return gaXbase.getXBooleanLiteralAccess();
}
public ParserRule getXBooleanLiteralRule() {
return getXBooleanLiteralAccess().getRule();
}
//XNullLiteral XExpression:
// {XNullLiteral} 'null';
public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() {
return gaXbase.getXNullLiteralAccess();
}
public ParserRule getXNullLiteralRule() {
return getXNullLiteralAccess().getRule();
}
//XNumberLiteral XExpression:
// {XNumberLiteral} value=Number;
public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() {
return gaXbase.getXNumberLiteralAccess();
}
public ParserRule getXNumberLiteralRule() {
return getXNumberLiteralAccess().getRule();
}
//XStringLiteral XExpression:
// {XStringLiteral} value=STRING;
public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() {
return gaXbase.getXStringLiteralAccess();
}
public ParserRule getXStringLiteralRule() {
return getXStringLiteralAccess().getRule();
}
//XTypeLiteral XExpression:
// {XTypeLiteral} 'typeof' '(' type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ')';
public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() {
return gaXbase.getXTypeLiteralAccess();
}
public ParserRule getXTypeLiteralRule() {
return getXTypeLiteralAccess().getRule();
}
//XThrowExpression XExpression:
// {XThrowExpression} 'throw' expression=XExpression;
public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() {
return gaXbase.getXThrowExpressionAccess();
}
public ParserRule getXThrowExpressionRule() {
return getXThrowExpressionAccess().getRule();
}
//XReturnExpression XExpression:
// {XReturnExpression} 'return' -> expression=XExpression?;
public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() {
return gaXbase.getXReturnExpressionAccess();
}
public ParserRule getXReturnExpressionRule() {
return getXReturnExpressionAccess().getRule();
}
//XTryCatchFinallyExpression XExpression:
// {XTryCatchFinallyExpression}
// 'try'
// expression=XExpression (catchClauses+=XCatchClause+ (=> 'finally' finallyExpression=XExpression)?
// | 'finally' finallyExpression=XExpression);
public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() {
return gaXbase.getXTryCatchFinallyExpressionAccess();
}
public ParserRule getXTryCatchFinallyExpressionRule() {
return getXTryCatchFinallyExpressionAccess().getRule();
}
//XSynchronizedExpression XExpression:
// => ({XSynchronizedExpression}
// 'synchronized' '(') param=XExpression ')' expression=XExpression;
public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() {
return gaXbase.getXSynchronizedExpressionAccess();
}
public ParserRule getXSynchronizedExpressionRule() {
return getXSynchronizedExpressionAccess().getRule();
}
//XCatchClause:
// => 'catch' '(' declaredParam=FullJvmFormalParameter ')' expression=XExpression;
public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() {
return gaXbase.getXCatchClauseAccess();
}
public ParserRule getXCatchClauseRule() {
return getXCatchClauseAccess().getRule();
}
//QualifiedName:
// ValidID (=> '.' ValidID)*;
public XbaseGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
return gaXbase.getQualifiedNameAccess();
}
public ParserRule getQualifiedNameRule() {
return getQualifiedNameAccess().getRule();
}
//Number hidden():
// HEX | (INT | DECIMAL) ('.' (INT | DECIMAL))?;
public XbaseGrammarAccess.NumberElements getNumberAccess() {
return gaXbase.getNumberAccess();
}
public ParserRule getNumberRule() {
return getNumberAccess().getRule();
}
///**
// * Dummy rule, for "better" downwards compatibility, since GrammarAccess generates non-static inner classes,
// * which makes downstream grammars break on classloading, when a rule is removed.
// */ StaticQualifier:
// (ValidID '::')+;
public XbaseGrammarAccess.StaticQualifierElements getStaticQualifierAccess() {
return gaXbase.getStaticQualifierAccess();
}
public ParserRule getStaticQualifierRule() {
return getStaticQualifierAccess().getRule();
}
//terminal HEX:
// ('0x' | '0X') ('0'..'9' | 'a'..'f' | 'A'..'F' | '_')+ ('#' (('b' | 'B') ('i' | 'I') | ('l' | 'L')))?;
public TerminalRule getHEXRule() {
return gaXbase.getHEXRule();
}
//terminal INT returns ecore::EInt:
// '0'..'9' ('0'..'9' | '_')*;
public TerminalRule getINTRule() {
return gaXbase.getINTRule();
}
//terminal DECIMAL:
// INT (('e' | 'E') ('+' | '-')? INT)? (('b' | 'B') ('i' | 'I' | 'd' | 'D') | ('l' | 'L' | 'd' | 'D' | 'f' | 'F'))?;
public TerminalRule getDECIMALRule() {
return gaXbase.getDECIMALRule();
}
//JvmTypeReference:
// JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)*
// | XFunctionTypeRef;
public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() {
return gaXtype.getJvmTypeReferenceAccess();
}
public ParserRule getJvmTypeReferenceRule() {
return getJvmTypeReferenceAccess().getRule();
}
//ArrayBrackets:
// '[' ']';
public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() {
return gaXtype.getArrayBracketsAccess();
}
public ParserRule getArrayBracketsRule() {
return getArrayBracketsAccess().getRule();
}
//XFunctionTypeRef:
// ('(' (paramTypes+=JvmTypeReference (',' paramTypes+=JvmTypeReference)*)? ')')? '=>' returnType=JvmTypeReference;
public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() {
return gaXtype.getXFunctionTypeRefAccess();
}
public ParserRule getXFunctionTypeRefRule() {
return getXFunctionTypeRefAccess().getRule();
}
//JvmParameterizedTypeReference:
// type=[JvmType|super::QualifiedName] (=> '<' arguments+=JvmArgumentTypeReference (','
// arguments+=JvmArgumentTypeReference)* '>' (=> ({JvmInnerTypeReference.outer=current} '.') type=[JvmType|ValidID] (=>
// '<' arguments+=JvmArgumentTypeReference (',' arguments+=JvmArgumentTypeReference)* '>')?)*)?;
public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() {
return gaXtype.getJvmParameterizedTypeReferenceAccess();
}
public ParserRule getJvmParameterizedTypeReferenceRule() {
return getJvmParameterizedTypeReferenceAccess().getRule();
}
//JvmArgumentTypeReference JvmTypeReference:
// JvmTypeReference | JvmWildcardTypeReference;
public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {
return gaXtype.getJvmArgumentTypeReferenceAccess();
}
public ParserRule getJvmArgumentTypeReferenceRule() {
return getJvmArgumentTypeReferenceAccess().getRule();
}
//JvmWildcardTypeReference:
// {JvmWildcardTypeReference} '?' (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*
// | constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?;
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
return gaXtype.getJvmWildcardTypeReferenceAccess();
}
public ParserRule getJvmWildcardTypeReferenceRule() {
return getJvmWildcardTypeReferenceAccess().getRule();
}
//JvmUpperBound:
// 'extends' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
return gaXtype.getJvmUpperBoundAccess();
}
public ParserRule getJvmUpperBoundRule() {
return getJvmUpperBoundAccess().getRule();
}
//JvmUpperBoundAnded JvmUpperBound:
// '&' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() {
return gaXtype.getJvmUpperBoundAndedAccess();
}
public ParserRule getJvmUpperBoundAndedRule() {
return getJvmUpperBoundAndedAccess().getRule();
}
//JvmLowerBound:
// 'super' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() {
return gaXtype.getJvmLowerBoundAccess();
}
public ParserRule getJvmLowerBoundRule() {
return getJvmLowerBoundAccess().getRule();
}
//JvmLowerBoundAnded JvmLowerBound:
// '&' typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {
return gaXtype.getJvmLowerBoundAndedAccess();
}
public ParserRule getJvmLowerBoundAndedRule() {
return getJvmLowerBoundAndedAccess().getRule();
}
//JvmTypeParameter:
// name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?;
public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() {
return gaXtype.getJvmTypeParameterAccess();
}
public ParserRule getJvmTypeParameterRule() {
return getJvmTypeParameterAccess().getRule();
}
//QualifiedNameWithWildcard:
// super::QualifiedName '.' '*';
public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {
return gaXtype.getQualifiedNameWithWildcardAccess();
}
public ParserRule getQualifiedNameWithWildcardRule() {
return getQualifiedNameWithWildcardAccess().getRule();
}
//ValidID:
// ID;
public XtypeGrammarAccess.ValidIDElements getValidIDAccess() {
return gaXtype.getValidIDAccess();
}
public ParserRule getValidIDRule() {
return getValidIDAccess().getRule();
}
//XImportSection:
// importDeclarations+=super::XImportDeclaration+;
public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() {
return gaXtype.getXImportSectionAccess();
}
public ParserRule getXImportSectionRule() {
return getXImportSectionAccess().getRule();
}
//QualifiedNameInStaticImport:
// (ValidID '.')+;
public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() {
return gaXtype.getQualifiedNameInStaticImportAccess();
}
public ParserRule getQualifiedNameInStaticImportRule() {
return getQualifiedNameInStaticImportAccess().getRule();
}
//terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | '$' | '_') ('a'..'z' | 'A'..'Z' | '$' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
return gaXtype.getIDRule();
}
//terminal STRING:
// '"' ('\\' . | !('\\' | '"'))* '"'? |
// "'" ('\\' . | !('\\' | "'"))* "'"?;
public TerminalRule getSTRINGRule() {
return gaXtype.getSTRINGRule();
}
//terminal ML_COMMENT:
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaXtype.getML_COMMENTRule();
}
//terminal SL_COMMENT:
// '//' !('\n' | '\r')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
return gaXtype.getSL_COMMENTRule();
}
//terminal WS:
// ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
return gaXtype.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
return gaXtype.getANY_OTHERRule();
}
}