blob: 921dc369abcc88983dab4604670598fec6a581d9 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.perspective.services;
import com.google.inject.Singleton;
import com.google.inject.Inject;
import java.util.List;
import org.eclipse.xtext.*;
import org.eclipse.xtext.service.GrammarProvider;
import org.eclipse.xtext.service.AbstractElementFinder.*;
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 PerspectiveDslGrammarAccess extends AbstractGrammarElementFinder {
public class PerspectiveModelElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveModel");
private final Assignment cPackagesAssignment = (Assignment)rule.eContents().get(1);
private final RuleCall cPackagesPerspectivePackageParserRuleCall_0 = (RuleCall)cPackagesAssignment.eContents().get(0);
//PerspectiveModel:
// packages+=PerspectivePackage*;
public ParserRule getRule() { return rule; }
//packages+=PerspectivePackage*
public Assignment getPackagesAssignment() { return cPackagesAssignment; }
//PerspectivePackage
public RuleCall getPackagesPerspectivePackageParserRuleCall_0() { return cPackagesPerspectivePackageParserRuleCall_0; }
}
public class PerspectivePackageElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectivePackage");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectivePackageAction_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 cImportsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cImportsPerspectiveImportParserRuleCall_3_1_0 = (RuleCall)cImportsAssignment_3_1.eContents().get(0);
private final Assignment cPerspectivesAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2);
private final RuleCall cPerspectivesPerspectiveParserRuleCall_3_2_0 = (RuleCall)cPerspectivesAssignment_3_2.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3);
//PerspectivePackage:
// {PerspectivePackage} "package" name=QualifiedName ("{" imports+=PerspectiveImport* perspectives+=Perspective* "}")?;
public ParserRule getRule() { return rule; }
//{PerspectivePackage} "package" name=QualifiedName ("{" imports+=PerspectiveImport* perspectives+=Perspective* "}")?
public Group getGroup() { return cGroup; }
//{PerspectivePackage}
public Action getPerspectivePackageAction_0() { return cPerspectivePackageAction_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; }
//("{" imports+=PerspectiveImport* perspectives+=Perspective* "}")?
public Group getGroup_3() { return cGroup_3; }
//"{"
public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
//imports+=PerspectiveImport*
public Assignment getImportsAssignment_3_1() { return cImportsAssignment_3_1; }
//PerspectiveImport
public RuleCall getImportsPerspectiveImportParserRuleCall_3_1_0() { return cImportsPerspectiveImportParserRuleCall_3_1_0; }
//perspectives+=Perspective*
public Assignment getPerspectivesAssignment_3_2() { return cPerspectivesAssignment_3_2; }
//Perspective
public RuleCall getPerspectivesPerspectiveParserRuleCall_3_2_0() { return cPerspectivesPerspectiveParserRuleCall_3_2_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; }
}
public class PerspectiveImportElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveImport");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cImportedNamespacePerspectiveQualifiedNameWithWildCardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0);
//PerspectiveImport returns types::LImport:
// "import" importedNamespace=PerspectiveQualifiedNameWithWildCard;
public ParserRule getRule() { return rule; }
//"import" importedNamespace=PerspectiveQualifiedNameWithWildCard
public Group getGroup() { return cGroup; }
//"import"
public Keyword getImportKeyword_0() { return cImportKeyword_0; }
//importedNamespace=PerspectiveQualifiedNameWithWildCard
public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; }
//PerspectiveQualifiedNameWithWildCard
public RuleCall getImportedNamespacePerspectiveQualifiedNameWithWildCardParserRuleCall_1_0() { return cImportedNamespacePerspectiveQualifiedNameWithWildCardParserRuleCall_1_0; }
}
public class PerspectiveElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Perspective");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPerspectiveKeyword_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 Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cProcessKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cProcessAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final CrossReference cProcessBlipCrossReference_4_1_0 = (CrossReference)cProcessAssignment_4_1.eContents().get(0);
private final RuleCall cProcessBlipIDTerminalRuleCall_4_1_0_1 = (RuleCall)cProcessBlipCrossReference_4_1_0.eContents().get(1);
private final Keyword cUsertaskKeyword_4_2 = (Keyword)cGroup_4.eContents().get(2);
private final Assignment cUserTaskAssignment_4_3 = (Assignment)cGroup_4.eContents().get(3);
private final CrossReference cUserTaskBlipUserTaskCrossReference_4_3_0 = (CrossReference)cUserTaskAssignment_4_3.eContents().get(0);
private final RuleCall cUserTaskBlipUserTaskIDTerminalRuleCall_4_3_0_1 = (RuleCall)cUserTaskBlipUserTaskCrossReference_4_3_0.eContents().get(1);
private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5);
private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0);
private final Keyword cIconURIKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Assignment cIconURIAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1);
private final RuleCall cIconURISTRINGTerminalRuleCall_5_0_1_0 = (RuleCall)cIconURIAssignment_5_0_1.eContents().get(0);
private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1);
private final Keyword cAccessibilityKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0);
private final Assignment cAccessibilityPhraseAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1);
private final RuleCall cAccessibilityPhraseSTRINGTerminalRuleCall_5_1_1_0 = (RuleCall)cAccessibilityPhraseAssignment_5_1_1.eContents().get(0);
private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2);
private final Keyword cToolbarKeyword_5_2_0 = (Keyword)cGroup_5_2.eContents().get(0);
private final Assignment cToolbarAssignment_5_2_1 = (Assignment)cGroup_5_2.eContents().get(1);
private final CrossReference cToolbarActionToolbarCrossReference_5_2_1_0 = (CrossReference)cToolbarAssignment_5_2_1.eContents().get(0);
private final RuleCall cToolbarActionToolbarIDTerminalRuleCall_5_2_1_0_1 = (RuleCall)cToolbarActionToolbarCrossReference_5_2_1_0.eContents().get(1);
private final Keyword cLeftCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
private final Assignment cElementsAssignment_7 = (Assignment)cGroup.eContents().get(7);
private final RuleCall cElementsPerspectiveElementParserRuleCall_7_0 = (RuleCall)cElementsAssignment_7.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8);
//Perspective:
// {Perspective} "perspective" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)?
// ("process" process=[blip::Blip] "usertask" userTask=[blip::BlipUserTask])? (("iconURI" iconURI=STRING)? &
// ("accessibility" accessibilityPhrase=STRING)? & ("toolbar" toolbar=[action::ActionToolbar])?) "{"
// elements+=PerspectiveElement* "}";
public ParserRule getRule() { return rule; }
//{Perspective} "perspective" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)?
//("process" process=[blip::Blip] "usertask" userTask=[blip::BlipUserTask])? (("iconURI" iconURI=STRING)? &
//("accessibility" accessibilityPhrase=STRING)? & ("toolbar" toolbar=[action::ActionToolbar])?) "{"
//elements+=PerspectiveElement* "}"
public Group getGroup() { return cGroup; }
//{Perspective}
public Action getPerspectiveAction_0() { return cPerspectiveAction_0; }
//"perspective"
public Keyword getPerspectiveKeyword_1() { return cPerspectiveKeyword_1; }
//name=TRANSLATABLEID
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//TRANSLATABLEID
public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0; }
//(description?="described by" descriptionValue=TRANSLATABLESTRING)?
public Group getGroup_3() { return cGroup_3; }
//description?="described by"
public Assignment getDescriptionAssignment_3_0() { return cDescriptionAssignment_3_0; }
//"described by"
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; }
//("process" process=[blip::Blip] "usertask" userTask=[blip::BlipUserTask])?
public Group getGroup_4() { return cGroup_4; }
//"process"
public Keyword getProcessKeyword_4_0() { return cProcessKeyword_4_0; }
//process=[blip::Blip]
public Assignment getProcessAssignment_4_1() { return cProcessAssignment_4_1; }
//[blip::Blip]
public CrossReference getProcessBlipCrossReference_4_1_0() { return cProcessBlipCrossReference_4_1_0; }
//ID
public RuleCall getProcessBlipIDTerminalRuleCall_4_1_0_1() { return cProcessBlipIDTerminalRuleCall_4_1_0_1; }
//"usertask"
public Keyword getUsertaskKeyword_4_2() { return cUsertaskKeyword_4_2; }
//userTask=[blip::BlipUserTask]
public Assignment getUserTaskAssignment_4_3() { return cUserTaskAssignment_4_3; }
//[blip::BlipUserTask]
public CrossReference getUserTaskBlipUserTaskCrossReference_4_3_0() { return cUserTaskBlipUserTaskCrossReference_4_3_0; }
//ID
public RuleCall getUserTaskBlipUserTaskIDTerminalRuleCall_4_3_0_1() { return cUserTaskBlipUserTaskIDTerminalRuleCall_4_3_0_1; }
//("iconURI" iconURI=STRING)? & ("accessibility" accessibilityPhrase=STRING)? & ("toolbar"
//toolbar=[action::ActionToolbar])?
public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
//("iconURI" iconURI=STRING)?
public Group getGroup_5_0() { return cGroup_5_0; }
//"iconURI"
public Keyword getIconURIKeyword_5_0_0() { return cIconURIKeyword_5_0_0; }
//iconURI=STRING
public Assignment getIconURIAssignment_5_0_1() { return cIconURIAssignment_5_0_1; }
//STRING
public RuleCall getIconURISTRINGTerminalRuleCall_5_0_1_0() { return cIconURISTRINGTerminalRuleCall_5_0_1_0; }
//("accessibility" accessibilityPhrase=STRING)?
public Group getGroup_5_1() { return cGroup_5_1; }
//"accessibility"
public Keyword getAccessibilityKeyword_5_1_0() { return cAccessibilityKeyword_5_1_0; }
//accessibilityPhrase=STRING
public Assignment getAccessibilityPhraseAssignment_5_1_1() { return cAccessibilityPhraseAssignment_5_1_1; }
//STRING
public RuleCall getAccessibilityPhraseSTRINGTerminalRuleCall_5_1_1_0() { return cAccessibilityPhraseSTRINGTerminalRuleCall_5_1_1_0; }
//("toolbar" toolbar=[action::ActionToolbar])?
public Group getGroup_5_2() { return cGroup_5_2; }
//"toolbar"
public Keyword getToolbarKeyword_5_2_0() { return cToolbarKeyword_5_2_0; }
//toolbar=[action::ActionToolbar]
public Assignment getToolbarAssignment_5_2_1() { return cToolbarAssignment_5_2_1; }
//[action::ActionToolbar]
public CrossReference getToolbarActionToolbarCrossReference_5_2_1_0() { return cToolbarActionToolbarCrossReference_5_2_1_0; }
//ID
public RuleCall getToolbarActionToolbarIDTerminalRuleCall_5_2_1_0_1() { return cToolbarActionToolbarIDTerminalRuleCall_5_2_1_0_1; }
//"{"
public Keyword getLeftCurlyBracketKeyword_6() { return cLeftCurlyBracketKeyword_6; }
//elements+=PerspectiveElement*
public Assignment getElementsAssignment_7() { return cElementsAssignment_7; }
//PerspectiveElement
public RuleCall getElementsPerspectiveElementParserRuleCall_7_0() { return cElementsPerspectiveElementParserRuleCall_7_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; }
}
public class PerspectiveElementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveElement");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cPerspectiveSashContainerParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cPerspectivePartStackParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cPerspectivePartParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//PerspectiveElement:
// PerspectiveSashContainer | PerspectivePartStack | PerspectivePart;
public ParserRule getRule() { return rule; }
//PerspectiveSashContainer | PerspectivePartStack | PerspectivePart
public Alternatives getAlternatives() { return cAlternatives; }
//PerspectiveSashContainer
public RuleCall getPerspectiveSashContainerParserRuleCall_0() { return cPerspectiveSashContainerParserRuleCall_0; }
//PerspectivePartStack
public RuleCall getPerspectivePartStackParserRuleCall_1() { return cPerspectivePartStackParserRuleCall_1; }
//PerspectivePart
public RuleCall getPerspectivePartParserRuleCall_2() { return cPerspectivePartParserRuleCall_2; }
}
public class PerspectiveSashContainerElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveSashContainer");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveSashContainerAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cSashContainerKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cElementIdAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cElementIdIDTerminalRuleCall_2_0 = (RuleCall)cElementIdAssignment_2.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
private final Keyword cOrientationKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
private final Assignment cOrientationAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final RuleCall cOrientationSashOrientationEnumRuleCall_3_0_1_0 = (RuleCall)cOrientationAssignment_3_0_1.eContents().get(0);
private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
private final Keyword cSelectedElementKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Assignment cSelectedElementAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
private final CrossReference cSelectedElementPerspectiveElementCrossReference_3_1_1_0 = (CrossReference)cSelectedElementAssignment_3_1_1.eContents().get(0);
private final RuleCall cSelectedElementPerspectiveElementIDTerminalRuleCall_3_1_1_0_1 = (RuleCall)cSelectedElementPerspectiveElementCrossReference_3_1_1_0.eContents().get(1);
private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2);
private final Keyword cSpaceVolumeKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cContainerDataAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cContainerDataSTRINGTerminalRuleCall_3_2_1_0 = (RuleCall)cContainerDataAssignment_3_2_1.eContents().get(0);
private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3);
private final Keyword cAccessibilityKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0);
private final Assignment cAccessibilityPhraseAssignment_3_3_1 = (Assignment)cGroup_3_3.eContents().get(1);
private final RuleCall cAccessibilityPhraseSTRINGTerminalRuleCall_3_3_1_0 = (RuleCall)cAccessibilityPhraseAssignment_3_3_1.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Assignment cElementsAssignment_5 = (Assignment)cGroup.eContents().get(5);
private final RuleCall cElementsPerspectiveElementParserRuleCall_5_0 = (RuleCall)cElementsAssignment_5.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//PerspectiveSashContainer:
// {PerspectiveSashContainer} "sashContainer" elementId=ID (("orientation" orientation=SashOrientation)? &
// ("selectedElement" selectedElement=[PerspectiveElement])? & ("spaceVolume" containerData=STRING)? & ("accessibility"
// accessibilityPhrase=STRING)?) "{" elements+=PerspectiveElement* "}";
public ParserRule getRule() { return rule; }
//{PerspectiveSashContainer} "sashContainer" elementId=ID (("orientation" orientation=SashOrientation)? &
//("selectedElement" selectedElement=[PerspectiveElement])? & ("spaceVolume" containerData=STRING)? & ("accessibility"
//accessibilityPhrase=STRING)?) "{" elements+=PerspectiveElement* "}"
public Group getGroup() { return cGroup; }
//{PerspectiveSashContainer}
public Action getPerspectiveSashContainerAction_0() { return cPerspectiveSashContainerAction_0; }
//"sashContainer"
public Keyword getSashContainerKeyword_1() { return cSashContainerKeyword_1; }
//elementId=ID
public Assignment getElementIdAssignment_2() { return cElementIdAssignment_2; }
//ID
public RuleCall getElementIdIDTerminalRuleCall_2_0() { return cElementIdIDTerminalRuleCall_2_0; }
//("orientation" orientation=SashOrientation)? & ("selectedElement" selectedElement=[PerspectiveElement])? &
//("spaceVolume" containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)?
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//("orientation" orientation=SashOrientation)?
public Group getGroup_3_0() { return cGroup_3_0; }
//"orientation"
public Keyword getOrientationKeyword_3_0_0() { return cOrientationKeyword_3_0_0; }
//orientation=SashOrientation
public Assignment getOrientationAssignment_3_0_1() { return cOrientationAssignment_3_0_1; }
//SashOrientation
public RuleCall getOrientationSashOrientationEnumRuleCall_3_0_1_0() { return cOrientationSashOrientationEnumRuleCall_3_0_1_0; }
//("selectedElement" selectedElement=[PerspectiveElement])?
public Group getGroup_3_1() { return cGroup_3_1; }
//"selectedElement"
public Keyword getSelectedElementKeyword_3_1_0() { return cSelectedElementKeyword_3_1_0; }
//selectedElement=[PerspectiveElement]
public Assignment getSelectedElementAssignment_3_1_1() { return cSelectedElementAssignment_3_1_1; }
//[PerspectiveElement]
public CrossReference getSelectedElementPerspectiveElementCrossReference_3_1_1_0() { return cSelectedElementPerspectiveElementCrossReference_3_1_1_0; }
//ID
public RuleCall getSelectedElementPerspectiveElementIDTerminalRuleCall_3_1_1_0_1() { return cSelectedElementPerspectiveElementIDTerminalRuleCall_3_1_1_0_1; }
//("spaceVolume" containerData=STRING)?
public Group getGroup_3_2() { return cGroup_3_2; }
//"spaceVolume"
public Keyword getSpaceVolumeKeyword_3_2_0() { return cSpaceVolumeKeyword_3_2_0; }
//containerData=STRING
public Assignment getContainerDataAssignment_3_2_1() { return cContainerDataAssignment_3_2_1; }
//STRING
public RuleCall getContainerDataSTRINGTerminalRuleCall_3_2_1_0() { return cContainerDataSTRINGTerminalRuleCall_3_2_1_0; }
//("accessibility" accessibilityPhrase=STRING)?
public Group getGroup_3_3() { return cGroup_3_3; }
//"accessibility"
public Keyword getAccessibilityKeyword_3_3_0() { return cAccessibilityKeyword_3_3_0; }
//accessibilityPhrase=STRING
public Assignment getAccessibilityPhraseAssignment_3_3_1() { return cAccessibilityPhraseAssignment_3_3_1; }
//STRING
public RuleCall getAccessibilityPhraseSTRINGTerminalRuleCall_3_3_1_0() { return cAccessibilityPhraseSTRINGTerminalRuleCall_3_3_1_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; }
//elements+=PerspectiveElement*
public Assignment getElementsAssignment_5() { return cElementsAssignment_5; }
//PerspectiveElement
public RuleCall getElementsPerspectiveElementParserRuleCall_5_0() { return cElementsPerspectiveElementParserRuleCall_5_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; }
}
public class PerspectivePartStackElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectivePartStack");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectivePartStackAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPartStackKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cElementIdAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cElementIdIDTerminalRuleCall_2_0 = (RuleCall)cElementIdAssignment_2.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
private final Keyword cSelectedElementKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
private final Assignment cSelectedElementAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final CrossReference cSelectedElementPerspectivePartCrossReference_3_0_1_0 = (CrossReference)cSelectedElementAssignment_3_0_1.eContents().get(0);
private final RuleCall cSelectedElementPerspectivePartIDTerminalRuleCall_3_0_1_0_1 = (RuleCall)cSelectedElementPerspectivePartCrossReference_3_0_1_0.eContents().get(1);
private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
private final Keyword cSpaceVolumeKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Assignment cContainerDataAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
private final RuleCall cContainerDataSTRINGTerminalRuleCall_3_1_1_0 = (RuleCall)cContainerDataAssignment_3_1_1.eContents().get(0);
private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2);
private final Keyword cAccessibilityKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cAccessibilityPhraseAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0 = (RuleCall)cAccessibilityPhraseAssignment_3_2_1.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Assignment cElementsAssignment_5 = (Assignment)cGroup.eContents().get(5);
private final RuleCall cElementsPerspectiveElementParserRuleCall_5_0 = (RuleCall)cElementsAssignment_5.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//PerspectivePartStack:
// {PerspectivePartStack} "partStack" elementId=ID (("selectedElement" selectedElement=[PerspectivePart])? &
// ("spaceVolume" containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)?) "{"
// elements+=PerspectiveElement* "}";
public ParserRule getRule() { return rule; }
//{PerspectivePartStack} "partStack" elementId=ID (("selectedElement" selectedElement=[PerspectivePart])? & ("spaceVolume"
//containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)?) "{" elements+=PerspectiveElement* "}"
public Group getGroup() { return cGroup; }
//{PerspectivePartStack}
public Action getPerspectivePartStackAction_0() { return cPerspectivePartStackAction_0; }
//"partStack"
public Keyword getPartStackKeyword_1() { return cPartStackKeyword_1; }
//elementId=ID
public Assignment getElementIdAssignment_2() { return cElementIdAssignment_2; }
//ID
public RuleCall getElementIdIDTerminalRuleCall_2_0() { return cElementIdIDTerminalRuleCall_2_0; }
//("selectedElement" selectedElement=[PerspectivePart])? & ("spaceVolume" containerData=STRING)? & ("accessibility"
//accessibilityPhrase=STRING)?
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//("selectedElement" selectedElement=[PerspectivePart])?
public Group getGroup_3_0() { return cGroup_3_0; }
//"selectedElement"
public Keyword getSelectedElementKeyword_3_0_0() { return cSelectedElementKeyword_3_0_0; }
//selectedElement=[PerspectivePart]
public Assignment getSelectedElementAssignment_3_0_1() { return cSelectedElementAssignment_3_0_1; }
//[PerspectivePart]
public CrossReference getSelectedElementPerspectivePartCrossReference_3_0_1_0() { return cSelectedElementPerspectivePartCrossReference_3_0_1_0; }
//ID
public RuleCall getSelectedElementPerspectivePartIDTerminalRuleCall_3_0_1_0_1() { return cSelectedElementPerspectivePartIDTerminalRuleCall_3_0_1_0_1; }
//("spaceVolume" containerData=STRING)?
public Group getGroup_3_1() { return cGroup_3_1; }
//"spaceVolume"
public Keyword getSpaceVolumeKeyword_3_1_0() { return cSpaceVolumeKeyword_3_1_0; }
//containerData=STRING
public Assignment getContainerDataAssignment_3_1_1() { return cContainerDataAssignment_3_1_1; }
//STRING
public RuleCall getContainerDataSTRINGTerminalRuleCall_3_1_1_0() { return cContainerDataSTRINGTerminalRuleCall_3_1_1_0; }
//("accessibility" accessibilityPhrase=STRING)?
public Group getGroup_3_2() { return cGroup_3_2; }
//"accessibility"
public Keyword getAccessibilityKeyword_3_2_0() { return cAccessibilityKeyword_3_2_0; }
//accessibilityPhrase=STRING
public Assignment getAccessibilityPhraseAssignment_3_2_1() { return cAccessibilityPhraseAssignment_3_2_1; }
//STRING
public RuleCall getAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0() { return cAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0; }
//"{"
public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; }
//elements+=PerspectiveElement*
public Assignment getElementsAssignment_5() { return cElementsAssignment_5; }
//PerspectiveElement
public RuleCall getElementsPerspectiveElementParserRuleCall_5_0() { return cElementsPerspectiveElementParserRuleCall_5_0; }
//"}"
public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; }
}
public class PerspectivePartElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectivePart");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectivePartAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cPartKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cElementIdAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cElementIdTRANSLATABLEIDParserRuleCall_2_0 = (RuleCall)cElementIdAssignment_2.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
private final Assignment cDescriptionAssignment_3_0_0 = (Assignment)cGroup_3_0.eContents().get(0);
private final Keyword cDescriptionDescribedByKeyword_3_0_0_0 = (Keyword)cDescriptionAssignment_3_0_0.eContents().get(0);
private final Assignment cDescriptionValueAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
private final RuleCall cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_0_1_0 = (RuleCall)cDescriptionValueAssignment_3_0_1.eContents().get(0);
private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
private final Keyword cSpaceVolumeKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
private final Assignment cContainerDataAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
private final RuleCall cContainerDataSTRINGTerminalRuleCall_3_1_1_0 = (RuleCall)cContainerDataAssignment_3_1_1.eContents().get(0);
private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2);
private final Keyword cAccessibilityKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
private final Assignment cAccessibilityPhraseAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1);
private final RuleCall cAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0 = (RuleCall)cAccessibilityPhraseAssignment_3_2_1.eContents().get(0);
private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3);
private final Keyword cIconURIKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0);
private final Assignment cIconURIAssignment_3_3_1 = (Assignment)cGroup_3_3.eContents().get(1);
private final RuleCall cIconURISTRINGTerminalRuleCall_3_3_1_0 = (RuleCall)cIconURIAssignment_3_3_1.eContents().get(0);
private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4);
private final Keyword cViewKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0);
private final Assignment cViewAssignment_3_4_1 = (Assignment)cGroup_3_4.eContents().get(1);
private final RuleCall cViewPerspectiveViewParserRuleCall_3_4_1_0 = (RuleCall)cViewAssignment_3_4_1.eContents().get(0);
private final Assignment cIsClosableAssignment_3_5 = (Assignment)cUnorderedGroup_3.eContents().get(5);
private final Keyword cIsClosableIsClosableKeyword_3_5_0 = (Keyword)cIsClosableAssignment_3_5.eContents().get(0);
//PerspectivePart:
// {PerspectivePart} "part" elementId=TRANSLATABLEID ((description?="described by" descriptionValue=TRANSLATABLESTRING)?
// & ("spaceVolume" containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)? & ("iconURI" iconURI=STRING)?
// & ("view" view=PerspectiveView)? & isClosable?="isClosable"?);
public ParserRule getRule() { return rule; }
//{PerspectivePart} "part" elementId=TRANSLATABLEID ((description?="described by" descriptionValue=TRANSLATABLESTRING)? &
//("spaceVolume" containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)? & ("iconURI" iconURI=STRING)? &
//("view" view=PerspectiveView)? & isClosable?="isClosable"?)
public Group getGroup() { return cGroup; }
//{PerspectivePart}
public Action getPerspectivePartAction_0() { return cPerspectivePartAction_0; }
//"part"
public Keyword getPartKeyword_1() { return cPartKeyword_1; }
//elementId=TRANSLATABLEID
public Assignment getElementIdAssignment_2() { return cElementIdAssignment_2; }
//TRANSLATABLEID
public RuleCall getElementIdTRANSLATABLEIDParserRuleCall_2_0() { return cElementIdTRANSLATABLEIDParserRuleCall_2_0; }
//(description?="described by" descriptionValue=TRANSLATABLESTRING)? & ("spaceVolume" containerData=STRING)? &
//("accessibility" accessibilityPhrase=STRING)? & ("iconURI" iconURI=STRING)? & ("view" view=PerspectiveView)? &
//isClosable?="isClosable"?
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//(description?="described by" descriptionValue=TRANSLATABLESTRING)?
public Group getGroup_3_0() { return cGroup_3_0; }
//description?="described by"
public Assignment getDescriptionAssignment_3_0_0() { return cDescriptionAssignment_3_0_0; }
//"described by"
public Keyword getDescriptionDescribedByKeyword_3_0_0_0() { return cDescriptionDescribedByKeyword_3_0_0_0; }
//descriptionValue=TRANSLATABLESTRING
public Assignment getDescriptionValueAssignment_3_0_1() { return cDescriptionValueAssignment_3_0_1; }
//TRANSLATABLESTRING
public RuleCall getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_0_1_0() { return cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_0_1_0; }
//("spaceVolume" containerData=STRING)?
public Group getGroup_3_1() { return cGroup_3_1; }
//"spaceVolume"
public Keyword getSpaceVolumeKeyword_3_1_0() { return cSpaceVolumeKeyword_3_1_0; }
//containerData=STRING
public Assignment getContainerDataAssignment_3_1_1() { return cContainerDataAssignment_3_1_1; }
//STRING
public RuleCall getContainerDataSTRINGTerminalRuleCall_3_1_1_0() { return cContainerDataSTRINGTerminalRuleCall_3_1_1_0; }
//("accessibility" accessibilityPhrase=STRING)?
public Group getGroup_3_2() { return cGroup_3_2; }
//"accessibility"
public Keyword getAccessibilityKeyword_3_2_0() { return cAccessibilityKeyword_3_2_0; }
//accessibilityPhrase=STRING
public Assignment getAccessibilityPhraseAssignment_3_2_1() { return cAccessibilityPhraseAssignment_3_2_1; }
//STRING
public RuleCall getAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0() { return cAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0; }
//("iconURI" iconURI=STRING)?
public Group getGroup_3_3() { return cGroup_3_3; }
//"iconURI"
public Keyword getIconURIKeyword_3_3_0() { return cIconURIKeyword_3_3_0; }
//iconURI=STRING
public Assignment getIconURIAssignment_3_3_1() { return cIconURIAssignment_3_3_1; }
//STRING
public RuleCall getIconURISTRINGTerminalRuleCall_3_3_1_0() { return cIconURISTRINGTerminalRuleCall_3_3_1_0; }
//("view" view=PerspectiveView)?
public Group getGroup_3_4() { return cGroup_3_4; }
//"view"
public Keyword getViewKeyword_3_4_0() { return cViewKeyword_3_4_0; }
//view=PerspectiveView
public Assignment getViewAssignment_3_4_1() { return cViewAssignment_3_4_1; }
//PerspectiveView
public RuleCall getViewPerspectiveViewParserRuleCall_3_4_1_0() { return cViewPerspectiveViewParserRuleCall_3_4_1_0; }
//isClosable?="isClosable"?
public Assignment getIsClosableAssignment_3_5() { return cIsClosableAssignment_3_5; }
//"isClosable"
public Keyword getIsClosableIsClosableKeyword_3_5_0() { return cIsClosableIsClosableKeyword_3_5_0; }
}
public class PerspectiveViewElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveView");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cPerspectiveSelectionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cPerspectiveTableParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cPerspectiveChartParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
private final RuleCall cPerspectiveReportParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
private final RuleCall cPerspectiveOrganizationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
private final RuleCall cPerspectiveTopologyParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5);
private final RuleCall cPerspectiveDialogParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6);
private final RuleCall cPerspectiveBPMNParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7);
private final RuleCall cPerspectiveGridParserRuleCall_8 = (RuleCall)cAlternatives.eContents().get(8);
//PerspectiveView:
// PerspectiveSelection | PerspectiveTable | PerspectiveChart | PerspectiveReport | PerspectiveOrganization |
// PerspectiveTopology | PerspectiveDialog | PerspectiveBPMN | PerspectiveGrid;
public ParserRule getRule() { return rule; }
//PerspectiveSelection | PerspectiveTable | PerspectiveChart | PerspectiveReport | PerspectiveOrganization |
//PerspectiveTopology | PerspectiveDialog | PerspectiveBPMN | PerspectiveGrid
public Alternatives getAlternatives() { return cAlternatives; }
//PerspectiveSelection
public RuleCall getPerspectiveSelectionParserRuleCall_0() { return cPerspectiveSelectionParserRuleCall_0; }
//PerspectiveTable
public RuleCall getPerspectiveTableParserRuleCall_1() { return cPerspectiveTableParserRuleCall_1; }
//PerspectiveChart
public RuleCall getPerspectiveChartParserRuleCall_2() { return cPerspectiveChartParserRuleCall_2; }
//PerspectiveReport
public RuleCall getPerspectiveReportParserRuleCall_3() { return cPerspectiveReportParserRuleCall_3; }
//PerspectiveOrganization
public RuleCall getPerspectiveOrganizationParserRuleCall_4() { return cPerspectiveOrganizationParserRuleCall_4; }
//PerspectiveTopology
public RuleCall getPerspectiveTopologyParserRuleCall_5() { return cPerspectiveTopologyParserRuleCall_5; }
//PerspectiveDialog
public RuleCall getPerspectiveDialogParserRuleCall_6() { return cPerspectiveDialogParserRuleCall_6; }
//PerspectiveBPMN
public RuleCall getPerspectiveBPMNParserRuleCall_7() { return cPerspectiveBPMNParserRuleCall_7; }
//PerspectiveGrid
public RuleCall getPerspectiveGridParserRuleCall_8() { return cPerspectiveGridParserRuleCall_8; }
}
public class PerspectiveSelectionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveSelection");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveSelectionAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cSelectKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefTableCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefTableIDTerminalRuleCall_2_0_1 = (RuleCall)cRefTableCrossReference_2_0.eContents().get(1);
//PerspectiveSelection:
// {PerspectiveSelection} "select" ref=[table::Table];
public ParserRule getRule() { return rule; }
//{PerspectiveSelection} "select" ref=[table::Table]
public Group getGroup() { return cGroup; }
//{PerspectiveSelection}
public Action getPerspectiveSelectionAction_0() { return cPerspectiveSelectionAction_0; }
//"select"
public Keyword getSelectKeyword_1() { return cSelectKeyword_1; }
//ref=[table::Table]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[table::Table]
public CrossReference getRefTableCrossReference_2_0() { return cRefTableCrossReference_2_0; }
//ID
public RuleCall getRefTableIDTerminalRuleCall_2_0_1() { return cRefTableIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveTableElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveTable");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveTableAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cTableKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefTableCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefTableIDTerminalRuleCall_2_0_1 = (RuleCall)cRefTableCrossReference_2_0.eContents().get(1);
//PerspectiveTable:
// {PerspectiveTable} "table" ref=[table::Table];
public ParserRule getRule() { return rule; }
//{PerspectiveTable} "table" ref=[table::Table]
public Group getGroup() { return cGroup; }
//{PerspectiveTable}
public Action getPerspectiveTableAction_0() { return cPerspectiveTableAction_0; }
//"table"
public Keyword getTableKeyword_1() { return cTableKeyword_1; }
//ref=[table::Table]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[table::Table]
public CrossReference getRefTableCrossReference_2_0() { return cRefTableCrossReference_2_0; }
//ID
public RuleCall getRefTableIDTerminalRuleCall_2_0_1() { return cRefTableIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveGridElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveGrid");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveGridAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cGridKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefTableCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefTableIDTerminalRuleCall_2_0_1 = (RuleCall)cRefTableCrossReference_2_0.eContents().get(1);
//PerspectiveGrid:
// {PerspectiveGrid} "grid" ref=[table::Table];
public ParserRule getRule() { return rule; }
//{PerspectiveGrid} "grid" ref=[table::Table]
public Group getGroup() { return cGroup; }
//{PerspectiveGrid}
public Action getPerspectiveGridAction_0() { return cPerspectiveGridAction_0; }
//"grid"
public Keyword getGridKeyword_1() { return cGridKeyword_1; }
//ref=[table::Table]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[table::Table]
public CrossReference getRefTableCrossReference_2_0() { return cRefTableCrossReference_2_0; }
//ID
public RuleCall getRefTableIDTerminalRuleCall_2_0_1() { return cRefTableIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveChartElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveChart");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveChartAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cChartKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefChartCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefChartIDTerminalRuleCall_2_0_1 = (RuleCall)cRefChartCrossReference_2_0.eContents().get(1);
//PerspectiveChart:
// {PerspectiveChart} "chart" ref=[chart::Chart];
public ParserRule getRule() { return rule; }
//{PerspectiveChart} "chart" ref=[chart::Chart]
public Group getGroup() { return cGroup; }
//{PerspectiveChart}
public Action getPerspectiveChartAction_0() { return cPerspectiveChartAction_0; }
//"chart"
public Keyword getChartKeyword_1() { return cChartKeyword_1; }
//ref=[chart::Chart]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[chart::Chart]
public CrossReference getRefChartCrossReference_2_0() { return cRefChartCrossReference_2_0; }
//ID
public RuleCall getRefChartIDTerminalRuleCall_2_0_1() { return cRefChartIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveReportElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveReport");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveReportAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cReportKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefReportCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefReportIDTerminalRuleCall_2_0_1 = (RuleCall)cRefReportCrossReference_2_0.eContents().get(1);
//PerspectiveReport:
// {PerspectiveReport} "report" ref=[report::Report];
public ParserRule getRule() { return rule; }
//{PerspectiveReport} "report" ref=[report::Report]
public Group getGroup() { return cGroup; }
//{PerspectiveReport}
public Action getPerspectiveReportAction_0() { return cPerspectiveReportAction_0; }
//"report"
public Keyword getReportKeyword_1() { return cReportKeyword_1; }
//ref=[report::Report]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[report::Report]
public CrossReference getRefReportCrossReference_2_0() { return cRefReportCrossReference_2_0; }
//ID
public RuleCall getRefReportIDTerminalRuleCall_2_0_1() { return cRefReportIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveOrganizationElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveOrganization");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveOrganizationAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cOrganigramKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefOrganizationCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefOrganizationIDTerminalRuleCall_2_0_1 = (RuleCall)cRefOrganizationCrossReference_2_0.eContents().get(1);
//PerspectiveOrganization:
// {PerspectiveOrganization} "organigram" ref=[organization::Organization];
public ParserRule getRule() { return rule; }
//{PerspectiveOrganization} "organigram" ref=[organization::Organization]
public Group getGroup() { return cGroup; }
//{PerspectiveOrganization}
public Action getPerspectiveOrganizationAction_0() { return cPerspectiveOrganizationAction_0; }
//"organigram"
public Keyword getOrganigramKeyword_1() { return cOrganigramKeyword_1; }
//ref=[organization::Organization]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[organization::Organization]
public CrossReference getRefOrganizationCrossReference_2_0() { return cRefOrganizationCrossReference_2_0; }
//ID
public RuleCall getRefOrganizationIDTerminalRuleCall_2_0_1() { return cRefOrganizationIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveTopologyElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveTopology");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveTopologyAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cTopologyKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefTopologyCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefTopologyIDTerminalRuleCall_2_0_1 = (RuleCall)cRefTopologyCrossReference_2_0.eContents().get(1);
//PerspectiveTopology:
// {PerspectiveTopology} "topology" ref=[topology::Topology];
public ParserRule getRule() { return rule; }
//{PerspectiveTopology} "topology" ref=[topology::Topology]
public Group getGroup() { return cGroup; }
//{PerspectiveTopology}
public Action getPerspectiveTopologyAction_0() { return cPerspectiveTopologyAction_0; }
//"topology"
public Keyword getTopologyKeyword_1() { return cTopologyKeyword_1; }
//ref=[topology::Topology]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[topology::Topology]
public CrossReference getRefTopologyCrossReference_2_0() { return cRefTopologyCrossReference_2_0; }
//ID
public RuleCall getRefTopologyIDTerminalRuleCall_2_0_1() { return cRefTopologyIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveDialogElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveDialog");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveDialogAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cDialogKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cRefAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final CrossReference cRefDialogCrossReference_2_0 = (CrossReference)cRefAssignment_2.eContents().get(0);
private final RuleCall cRefDialogIDTerminalRuleCall_2_0_1 = (RuleCall)cRefDialogCrossReference_2_0.eContents().get(1);
//PerspectiveDialog:
// {PerspectiveDialog} "dialog" ref=[dialog::Dialog];
public ParserRule getRule() { return rule; }
//{PerspectiveDialog} "dialog" ref=[dialog::Dialog]
public Group getGroup() { return cGroup; }
//{PerspectiveDialog}
public Action getPerspectiveDialogAction_0() { return cPerspectiveDialogAction_0; }
//"dialog"
public Keyword getDialogKeyword_1() { return cDialogKeyword_1; }
//ref=[dialog::Dialog]
public Assignment getRefAssignment_2() { return cRefAssignment_2; }
//[dialog::Dialog]
public CrossReference getRefDialogCrossReference_2_0() { return cRefDialogCrossReference_2_0; }
//ID
public RuleCall getRefDialogIDTerminalRuleCall_2_0_1() { return cRefDialogIDTerminalRuleCall_2_0_1; }
}
public class PerspectiveBPMNElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveBPMN");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cPerspectiveBPMNAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cBpmnKeyword_1 = (Keyword)cGroup.eContents().get(1);
//PerspectiveBPMN:
// {PerspectiveBPMN} "bpmn";
public ParserRule getRule() { return rule; }
//{PerspectiveBPMN} "bpmn"
public Group getGroup() { return cGroup; }
//{PerspectiveBPMN}
public Action getPerspectiveBPMNAction_0() { return cPerspectiveBPMNAction_0; }
//"bpmn"
public Keyword getBpmnKeyword_1() { return cBpmnKeyword_1; }
}
public class PerspectiveQualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PerspectiveQualifiedNameWithWildCard");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
//PerspectiveQualifiedNameWithWildCard:
// QualifiedName ("." "*")?;
public ParserRule getRule() { return rule; }
//QualifiedName ("." "*")?
public Group getGroup() { return cGroup; }
//QualifiedName
public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; }
//("." "*")?
public Group getGroup_1() { return cGroup_1; }
//"."
public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
//"*"
public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; }
}
public class QualifiedNameElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "QualifiedName");
private final Group cGroup = (Group)rule.eContents().get(1);
private final RuleCall cValidIDParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final RuleCall cValidIDParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
//QualifiedName:
// ValidID ("." ValidID)*;
public ParserRule getRule() { return rule; }
//ValidID ("." ValidID)*
public Group getGroup() { return cGroup; }
//ValidID
public RuleCall getValidIDParserRuleCall_0() { return cValidIDParserRuleCall_0; }
//(=> "." ValidID)*
public Group getGroup_1() { return cGroup_1; }
//=> "."
public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
//ValidID
public RuleCall getValidIDParserRuleCall_1_1() { return cValidIDParserRuleCall_1_1; }
}
public class ValidIDElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValidID");
private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//ValidID:
// ID;
public ParserRule getRule() { return rule; }
//ID
public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; }
}
public class TRANSLATABLEIDElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLEID");
private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//TRANSLATABLEID:
// ID;
public ParserRule getRule() { return rule; }
//ID
public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; }
}
public class TRANSLATABLESTRINGElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLESTRING");
private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1);
//TRANSLATABLESTRING:
// STRING;
public ParserRule getRule() { return rule; }
//STRING
public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }
}
public class SashOrientationElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "SashOrientation");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cHORIZONTALEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cHORIZONTALHorizontalKeyword_0_0 = (Keyword)cHORIZONTALEnumLiteralDeclaration_0.eContents().get(0);
private final EnumLiteralDeclaration cVERTICALEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
private final Keyword cVERTICALVerticalKeyword_1_0 = (Keyword)cVERTICALEnumLiteralDeclaration_1.eContents().get(0);
//enum SashOrientation:
// HORIZONTAL="horizontal" | VERTICAL="vertical";
public EnumRule getRule() { return rule; }
//HORIZONTAL="horizontal" | VERTICAL="vertical"
public Alternatives getAlternatives() { return cAlternatives; }
//HORIZONTAL="horizontal"
public EnumLiteralDeclaration getHORIZONTALEnumLiteralDeclaration_0() { return cHORIZONTALEnumLiteralDeclaration_0; }
//"horizontal"
public Keyword getHORIZONTALHorizontalKeyword_0_0() { return cHORIZONTALHorizontalKeyword_0_0; }
//VERTICAL="vertical"
public EnumLiteralDeclaration getVERTICALEnumLiteralDeclaration_1() { return cVERTICALEnumLiteralDeclaration_1; }
//"vertical"
public Keyword getVERTICALVerticalKeyword_1_0() { return cVERTICALVerticalKeyword_1_0; }
}
private final PerspectiveModelElements pPerspectiveModel;
private final PerspectivePackageElements pPerspectivePackage;
private final PerspectiveImportElements pPerspectiveImport;
private final PerspectiveElements pPerspective;
private final PerspectiveElementElements pPerspectiveElement;
private final PerspectiveSashContainerElements pPerspectiveSashContainer;
private final PerspectivePartStackElements pPerspectivePartStack;
private final PerspectivePartElements pPerspectivePart;
private final PerspectiveViewElements pPerspectiveView;
private final PerspectiveSelectionElements pPerspectiveSelection;
private final PerspectiveTableElements pPerspectiveTable;
private final PerspectiveGridElements pPerspectiveGrid;
private final PerspectiveChartElements pPerspectiveChart;
private final PerspectiveReportElements pPerspectiveReport;
private final PerspectiveOrganizationElements pPerspectiveOrganization;
private final PerspectiveTopologyElements pPerspectiveTopology;
private final PerspectiveDialogElements pPerspectiveDialog;
private final PerspectiveBPMNElements pPerspectiveBPMN;
private final PerspectiveQualifiedNameWithWildCardElements pPerspectiveQualifiedNameWithWildCard;
private final QualifiedNameElements pQualifiedName;
private final ValidIDElements pValidID;
private final TRANSLATABLEIDElements pTRANSLATABLEID;
private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING;
private final SashOrientationElements unknownRuleSashOrientation;
private final Grammar grammar;
private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations;
@Inject
public PerspectiveDslGrammarAccess(GrammarProvider grammarProvider,
XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaXbaseWithAnnotations = gaXbaseWithAnnotations;
this.pPerspectiveModel = new PerspectiveModelElements();
this.pPerspectivePackage = new PerspectivePackageElements();
this.pPerspectiveImport = new PerspectiveImportElements();
this.pPerspective = new PerspectiveElements();
this.pPerspectiveElement = new PerspectiveElementElements();
this.pPerspectiveSashContainer = new PerspectiveSashContainerElements();
this.pPerspectivePartStack = new PerspectivePartStackElements();
this.pPerspectivePart = new PerspectivePartElements();
this.pPerspectiveView = new PerspectiveViewElements();
this.pPerspectiveSelection = new PerspectiveSelectionElements();
this.pPerspectiveTable = new PerspectiveTableElements();
this.pPerspectiveGrid = new PerspectiveGridElements();
this.pPerspectiveChart = new PerspectiveChartElements();
this.pPerspectiveReport = new PerspectiveReportElements();
this.pPerspectiveOrganization = new PerspectiveOrganizationElements();
this.pPerspectiveTopology = new PerspectiveTopologyElements();
this.pPerspectiveDialog = new PerspectiveDialogElements();
this.pPerspectiveBPMN = new PerspectiveBPMNElements();
this.pPerspectiveQualifiedNameWithWildCard = new PerspectiveQualifiedNameWithWildCardElements();
this.pQualifiedName = new QualifiedNameElements();
this.pValidID = new ValidIDElements();
this.pTRANSLATABLEID = new TRANSLATABLEIDElements();
this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements();
this.unknownRuleSashOrientation = new SashOrientationElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
if ("org.eclipse.osbp.xtext.perspective.PerspectiveDsl".equals(grammar.getName())) {
return grammar;
}
List<Grammar> grammars = grammar.getUsedGrammars();
if (!grammars.isEmpty()) {
grammar = grammars.iterator().next();
} else {
return null;
}
}
return grammar;
}
public Grammar getGrammar() {
return grammar;
}
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() {
return gaXbaseWithAnnotations;
}
//PerspectiveModel:
// packages+=PerspectivePackage*;
public PerspectiveModelElements getPerspectiveModelAccess() {
return pPerspectiveModel;
}
public ParserRule getPerspectiveModelRule() {
return getPerspectiveModelAccess().getRule();
}
//PerspectivePackage:
// {PerspectivePackage} "package" name=QualifiedName ("{" imports+=PerspectiveImport* perspectives+=Perspective* "}")?;
public PerspectivePackageElements getPerspectivePackageAccess() {
return pPerspectivePackage;
}
public ParserRule getPerspectivePackageRule() {
return getPerspectivePackageAccess().getRule();
}
//PerspectiveImport returns types::LImport:
// "import" importedNamespace=PerspectiveQualifiedNameWithWildCard;
public PerspectiveImportElements getPerspectiveImportAccess() {
return pPerspectiveImport;
}
public ParserRule getPerspectiveImportRule() {
return getPerspectiveImportAccess().getRule();
}
//Perspective:
// {Perspective} "perspective" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)?
// ("process" process=[blip::Blip] "usertask" userTask=[blip::BlipUserTask])? (("iconURI" iconURI=STRING)? &
// ("accessibility" accessibilityPhrase=STRING)? & ("toolbar" toolbar=[action::ActionToolbar])?) "{"
// elements+=PerspectiveElement* "}";
public PerspectiveElements getPerspectiveAccess() {
return pPerspective;
}
public ParserRule getPerspectiveRule() {
return getPerspectiveAccess().getRule();
}
//PerspectiveElement:
// PerspectiveSashContainer | PerspectivePartStack | PerspectivePart;
public PerspectiveElementElements getPerspectiveElementAccess() {
return pPerspectiveElement;
}
public ParserRule getPerspectiveElementRule() {
return getPerspectiveElementAccess().getRule();
}
//PerspectiveSashContainer:
// {PerspectiveSashContainer} "sashContainer" elementId=ID (("orientation" orientation=SashOrientation)? &
// ("selectedElement" selectedElement=[PerspectiveElement])? & ("spaceVolume" containerData=STRING)? & ("accessibility"
// accessibilityPhrase=STRING)?) "{" elements+=PerspectiveElement* "}";
public PerspectiveSashContainerElements getPerspectiveSashContainerAccess() {
return pPerspectiveSashContainer;
}
public ParserRule getPerspectiveSashContainerRule() {
return getPerspectiveSashContainerAccess().getRule();
}
//PerspectivePartStack:
// {PerspectivePartStack} "partStack" elementId=ID (("selectedElement" selectedElement=[PerspectivePart])? &
// ("spaceVolume" containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)?) "{"
// elements+=PerspectiveElement* "}";
public PerspectivePartStackElements getPerspectivePartStackAccess() {
return pPerspectivePartStack;
}
public ParserRule getPerspectivePartStackRule() {
return getPerspectivePartStackAccess().getRule();
}
//PerspectivePart:
// {PerspectivePart} "part" elementId=TRANSLATABLEID ((description?="described by" descriptionValue=TRANSLATABLESTRING)?
// & ("spaceVolume" containerData=STRING)? & ("accessibility" accessibilityPhrase=STRING)? & ("iconURI" iconURI=STRING)?
// & ("view" view=PerspectiveView)? & isClosable?="isClosable"?);
public PerspectivePartElements getPerspectivePartAccess() {
return pPerspectivePart;
}
public ParserRule getPerspectivePartRule() {
return getPerspectivePartAccess().getRule();
}
//PerspectiveView:
// PerspectiveSelection | PerspectiveTable | PerspectiveChart | PerspectiveReport | PerspectiveOrganization |
// PerspectiveTopology | PerspectiveDialog | PerspectiveBPMN | PerspectiveGrid;
public PerspectiveViewElements getPerspectiveViewAccess() {
return pPerspectiveView;
}
public ParserRule getPerspectiveViewRule() {
return getPerspectiveViewAccess().getRule();
}
//PerspectiveSelection:
// {PerspectiveSelection} "select" ref=[table::Table];
public PerspectiveSelectionElements getPerspectiveSelectionAccess() {
return pPerspectiveSelection;
}
public ParserRule getPerspectiveSelectionRule() {
return getPerspectiveSelectionAccess().getRule();
}
//PerspectiveTable:
// {PerspectiveTable} "table" ref=[table::Table];
public PerspectiveTableElements getPerspectiveTableAccess() {
return pPerspectiveTable;
}
public ParserRule getPerspectiveTableRule() {
return getPerspectiveTableAccess().getRule();
}
//PerspectiveGrid:
// {PerspectiveGrid} "grid" ref=[table::Table];
public PerspectiveGridElements getPerspectiveGridAccess() {
return pPerspectiveGrid;
}
public ParserRule getPerspectiveGridRule() {
return getPerspectiveGridAccess().getRule();
}
//PerspectiveChart:
// {PerspectiveChart} "chart" ref=[chart::Chart];
public PerspectiveChartElements getPerspectiveChartAccess() {
return pPerspectiveChart;
}
public ParserRule getPerspectiveChartRule() {
return getPerspectiveChartAccess().getRule();
}
//PerspectiveReport:
// {PerspectiveReport} "report" ref=[report::Report];
public PerspectiveReportElements getPerspectiveReportAccess() {
return pPerspectiveReport;
}
public ParserRule getPerspectiveReportRule() {
return getPerspectiveReportAccess().getRule();
}
//PerspectiveOrganization:
// {PerspectiveOrganization} "organigram" ref=[organization::Organization];
public PerspectiveOrganizationElements getPerspectiveOrganizationAccess() {
return pPerspectiveOrganization;
}
public ParserRule getPerspectiveOrganizationRule() {
return getPerspectiveOrganizationAccess().getRule();
}
//PerspectiveTopology:
// {PerspectiveTopology} "topology" ref=[topology::Topology];
public PerspectiveTopologyElements getPerspectiveTopologyAccess() {
return pPerspectiveTopology;
}
public ParserRule getPerspectiveTopologyRule() {
return getPerspectiveTopologyAccess().getRule();
}
//PerspectiveDialog:
// {PerspectiveDialog} "dialog" ref=[dialog::Dialog];
public PerspectiveDialogElements getPerspectiveDialogAccess() {
return pPerspectiveDialog;
}
public ParserRule getPerspectiveDialogRule() {
return getPerspectiveDialogAccess().getRule();
}
//PerspectiveBPMN:
// {PerspectiveBPMN} "bpmn";
public PerspectiveBPMNElements getPerspectiveBPMNAccess() {
return pPerspectiveBPMN;
}
public ParserRule getPerspectiveBPMNRule() {
return getPerspectiveBPMNAccess().getRule();
}
//PerspectiveQualifiedNameWithWildCard:
// QualifiedName ("." "*")?;
public PerspectiveQualifiedNameWithWildCardElements getPerspectiveQualifiedNameWithWildCardAccess() {
return pPerspectiveQualifiedNameWithWildCard;
}
public ParserRule getPerspectiveQualifiedNameWithWildCardRule() {
return getPerspectiveQualifiedNameWithWildCardAccess().getRule();
}
//QualifiedName:
// ValidID ("." ValidID)*;
public QualifiedNameElements getQualifiedNameAccess() {
return pQualifiedName;
}
public ParserRule getQualifiedNameRule() {
return getQualifiedNameAccess().getRule();
}
//ValidID:
// ID;
public ValidIDElements getValidIDAccess() {
return pValidID;
}
public ParserRule getValidIDRule() {
return getValidIDAccess().getRule();
}
//TRANSLATABLEID:
// ID;
public TRANSLATABLEIDElements getTRANSLATABLEIDAccess() {
return pTRANSLATABLEID;
}
public ParserRule getTRANSLATABLEIDRule() {
return getTRANSLATABLEIDAccess().getRule();
}
//TRANSLATABLESTRING:
// STRING;
public TRANSLATABLESTRINGElements getTRANSLATABLESTRINGAccess() {
return pTRANSLATABLESTRING;
}
public ParserRule getTRANSLATABLESTRINGRule() {
return getTRANSLATABLESTRINGAccess().getRule();
}
//enum SashOrientation:
// HORIZONTAL="horizontal" | VERTICAL="vertical";
public SashOrientationElements getSashOrientationAccess() {
return unknownRuleSashOrientation;
}
public EnumRule getSashOrientationRule() {
return getSashOrientationAccess().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 returns 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 returns xbase::XExpression:
// => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]"
// | XAnnotationOrExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() {
return gaXbaseWithAnnotations.getXAnnotationElementValueAccess();
}
public ParserRule getXAnnotationElementValueRule() {
return getXAnnotationElementValueAccess().getRule();
}
//XAnnotationOrExpression returns xbase::XExpression:
// XAnnotation | XExpression;
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() {
return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess();
}
public ParserRule getXAnnotationOrExpressionRule() {
return getXAnnotationOrExpressionAccess().getRule();
}
//XExpression:
// XAssignment;
public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() {
return gaXbaseWithAnnotations.getXExpressionAccess();
}
public ParserRule getXExpressionRule() {
return getXExpressionAccess().getRule();
}
//XAssignment returns XExpression:
// {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression
// (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign])
// rightOperand=XAssignment)?;
public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() {
return gaXbaseWithAnnotations.getXAssignmentAccess();
}
public ParserRule getXAssignmentRule() {
return getXAssignmentAccess().getRule();
}
//OpSingleAssign:
// "=";
public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() {
return gaXbaseWithAnnotations.getOpSingleAssignAccess();
}
public ParserRule getOpSingleAssignRule() {
return getOpSingleAssignAccess().getRule();
}
//OpMultiAssign:
// "+=" | "-=" | "*=" | "/=" | "%=" | "<" "<" "=" | ">" ">"? ">=";
public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() {
return gaXbaseWithAnnotations.getOpMultiAssignAccess();
}
public ParserRule getOpMultiAssignRule() {
return getOpMultiAssignAccess().getRule();
}
//XOrExpression returns XExpression:
// XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr])
// rightOperand=XAndExpression)*;
public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() {
return gaXbaseWithAnnotations.getXOrExpressionAccess();
}
public ParserRule getXOrExpressionRule() {
return getXOrExpressionAccess().getRule();
}
//OpOr:
// "||";
public XbaseGrammarAccess.OpOrElements getOpOrAccess() {
return gaXbaseWithAnnotations.getOpOrAccess();
}
public ParserRule getOpOrRule() {
return getOpOrAccess().getRule();
}
//XAndExpression returns XExpression:
// XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd])
// rightOperand=XEqualityExpression)*;
public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() {
return gaXbaseWithAnnotations.getXAndExpressionAccess();
}
public ParserRule getXAndExpressionRule() {
return getXAndExpressionAccess().getRule();
}
//OpAnd:
// "&&";
public XbaseGrammarAccess.OpAndElements getOpAndAccess() {
return gaXbaseWithAnnotations.getOpAndAccess();
}
public ParserRule getOpAndRule() {
return getOpAndAccess().getRule();
}
//XEqualityExpression returns XExpression:
// XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality])
// rightOperand=XRelationalExpression)*;
public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() {
return gaXbaseWithAnnotations.getXEqualityExpressionAccess();
}
public ParserRule getXEqualityExpressionRule() {
return getXEqualityExpressionAccess().getRule();
}
//OpEquality:
// "==" | "!=" | "===" | "!==";
public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() {
return gaXbaseWithAnnotations.getOpEqualityAccess();
}
public ParserRule getOpEqualityRule() {
return getOpEqualityAccess().getRule();
}
//XRelationalExpression returns XExpression:
// XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} "instanceof") type=JvmTypeReference | =>
// ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare])
// rightOperand=XOtherOperatorExpression)*;
public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() {
return gaXbaseWithAnnotations.getXRelationalExpressionAccess();
}
public ParserRule getXRelationalExpressionRule() {
return getXRelationalExpressionAccess().getRule();
}
//OpCompare:
// ">=" | "<" "=" | ">" | "<";
public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() {
return gaXbaseWithAnnotations.getOpCompareAccess();
}
public ParserRule getOpCompareRule() {
return getOpCompareAccess().getRule();
}
//XOtherOperatorExpression returns XExpression:
// XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther])
// rightOperand=XAdditiveExpression)*;
public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() {
return gaXbaseWithAnnotations.getXOtherOperatorExpressionAccess();
}
public ParserRule getXOtherOperatorExpressionRule() {
return getXOtherOperatorExpressionAccess().getRule();
}
//OpOther:
// "->" | "..<" | ">" ".." | ".." | "=>" | ">" (=> (">" ">") | ">") | "<" (=> ("<" "<") | "<" | "=>") | "<>" | "?:";
public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() {
return gaXbaseWithAnnotations.getOpOtherAccess();
}
public ParserRule getOpOtherRule() {
return getOpOtherAccess().getRule();
}
//XAdditiveExpression returns XExpression:
// XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd])
// rightOperand=XMultiplicativeExpression)*;
public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() {
return gaXbaseWithAnnotations.getXAdditiveExpressionAccess();
}
public ParserRule getXAdditiveExpressionRule() {
return getXAdditiveExpressionAccess().getRule();
}
//OpAdd:
// "+" | "-";
public XbaseGrammarAccess.OpAddElements getOpAddAccess() {
return gaXbaseWithAnnotations.getOpAddAccess();
}
public ParserRule getOpAddRule() {
return getOpAddAccess().getRule();
}
//XMultiplicativeExpression returns XExpression:
// XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti])
// rightOperand=XUnaryOperation)*;
public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() {
return gaXbaseWithAnnotations.getXMultiplicativeExpressionAccess();
}
public ParserRule getXMultiplicativeExpressionRule() {
return getXMultiplicativeExpressionAccess().getRule();
}
//OpMulti:
// "*" | "**" | "/" | "%";
public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() {
return gaXbaseWithAnnotations.getOpMultiAccess();
}
public ParserRule getOpMultiRule() {
return getOpMultiAccess().getRule();
}
//XUnaryOperation returns XExpression:
// {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation | XCastedExpression;
public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() {
return gaXbaseWithAnnotations.getXUnaryOperationAccess();
}
public ParserRule getXUnaryOperationRule() {
return getXUnaryOperationAccess().getRule();
}
//OpUnary:
// "!" | "-" | "+";
public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() {
return gaXbaseWithAnnotations.getOpUnaryAccess();
}
public ParserRule getOpUnaryRule() {
return getOpUnaryAccess().getRule();
}
//XCastedExpression returns XExpression:
// XPostfixOperation (=> ({XCastedExpression.target=current} "as") type=JvmTypeReference)*;
public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() {
return gaXbaseWithAnnotations.getXCastedExpressionAccess();
}
public ParserRule getXCastedExpressionRule() {
return getXCastedExpressionAccess().getRule();
}
//XPostfixOperation returns XExpression:
// XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?;
public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() {
return gaXbaseWithAnnotations.getXPostfixOperationAccess();
}
public ParserRule getXPostfixOperationRule() {
return getXPostfixOperationAccess().getRule();
}
//OpPostfix:
// "++" | "--";
public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() {
return gaXbaseWithAnnotations.getOpPostfixAccess();
}
public ParserRule getOpPostfixRule() {
return getOpPostfixAccess().getRule();
}
//XMemberFeatureCall returns 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 gaXbaseWithAnnotations.getXMemberFeatureCallAccess();
}
public ParserRule getXMemberFeatureCallRule() {
return getXMemberFeatureCallAccess().getRule();
}
//XPrimaryExpression returns XExpression:
// XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral |
// XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression |
// XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression;
public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() {
return gaXbaseWithAnnotations.getXPrimaryExpressionAccess();
}
public ParserRule getXPrimaryExpressionRule() {
return getXPrimaryExpressionAccess().getRule();
}
//XLiteral returns XExpression:
// XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral;
public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() {
return gaXbaseWithAnnotations.getXLiteralAccess();
}
public ParserRule getXLiteralRule() {
return getXLiteralAccess().getRule();
}
//XCollectionLiteral:
// XSetLiteral | XListLiteral;
public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() {
return gaXbaseWithAnnotations.getXCollectionLiteralAccess();
}
public ParserRule getXCollectionLiteralRule() {
return getXCollectionLiteralAccess().getRule();
}
//XSetLiteral:
// {XSetLiteral} "#" "{" (elements+=XExpression ("," elements+=XExpression)*)? "}";
public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() {
return gaXbaseWithAnnotations.getXSetLiteralAccess();
}
public ParserRule getXSetLiteralRule() {
return getXSetLiteralAccess().getRule();
}
//XListLiteral:
// {XListLiteral} "#" "[" (elements+=XExpression ("," elements+=XExpression)*)? "]";
public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() {
return gaXbaseWithAnnotations.getXListLiteralAccess();
}
public ParserRule getXListLiteralRule() {
return getXListLiteralAccess().getRule();
}
//XClosure returns XExpression:
// => ({XClosure} "[") => ((declaredFormalParameters+=JvmFormalParameter (","
// declaredFormalParameters+=JvmFormalParameter)*)? explicitSyntax?="|")? expression=XExpressionInClosure "]";
public XbaseGrammarAccess.XClosureElements getXClosureAccess() {
return gaXbaseWithAnnotations.getXClosureAccess();
}
public ParserRule getXClosureRule() {
return getXClosureAccess().getRule();
}
//XExpressionInClosure returns XExpression:
// {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ";"?)*;
public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() {
return gaXbaseWithAnnotations.getXExpressionInClosureAccess();
}
public ParserRule getXExpressionInClosureRule() {
return getXExpressionInClosureAccess().getRule();
}
//XShortClosure returns XExpression:
// => ({XClosure} (declaredFormalParameters+=JvmFormalParameter ("," declaredFormalParameters+=JvmFormalParameter)*)?
// explicitSyntax?="|") expression=XExpression;
public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() {
return gaXbaseWithAnnotations.getXShortClosureAccess();
}
public ParserRule getXShortClosureRule() {
return getXShortClosureAccess().getRule();
}
//XParenthesizedExpression returns XExpression:
// "(" XExpression ")";
public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() {
return gaXbaseWithAnnotations.getXParenthesizedExpressionAccess();
}
public ParserRule getXParenthesizedExpressionRule() {
return getXParenthesizedExpressionAccess().getRule();
}
//XIfExpression returns XExpression:
// {XIfExpression} "if" "(" if=XExpression ")" then=XExpression ("else" else=XExpression)?;
public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() {
return gaXbaseWithAnnotations.getXIfExpressionAccess();
}
public ParserRule getXIfExpressionRule() {
return getXIfExpressionAccess().getRule();
}
//XSwitchExpression returns XExpression:
// {XSwitchExpression} "switch" (=> ("(" declaredParam=JvmFormalParameter ":") switch=XExpression ")" | =>
// (declaredParam=JvmFormalParameter ":")? switch=XExpression) "{" cases+=XCasePart* ("default" ":"
// default=XExpression)? "}";
public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() {
return gaXbaseWithAnnotations.getXSwitchExpressionAccess();
}
public ParserRule getXSwitchExpressionRule() {
return getXSwitchExpressionAccess().getRule();
}
//XCasePart:
// {XCasePart} typeGuard=JvmTypeReference? ("case" case=XExpression)? (":" then=XExpression | fallThrough?=",");
public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() {
return gaXbaseWithAnnotations.getXCasePartAccess();
}
public ParserRule getXCasePartRule() {
return getXCasePartAccess().getRule();
}
//XForLoopExpression returns XExpression:
// => ({XForLoopExpression} "for" "(" declaredParam=JvmFormalParameter ":") forExpression=XExpression ")"
// eachExpression=XExpression;
public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() {
return gaXbaseWithAnnotations.getXForLoopExpressionAccess();
}
public ParserRule getXForLoopExpressionRule() {
return getXForLoopExpressionAccess().getRule();
}
//XBasicForLoopExpression returns XExpression:
// {XBasicForLoopExpression} "for" "(" (initExpressions+=XExpressionOrVarDeclaration (","
// initExpressions+=XExpressionOrVarDeclaration)*)? ";" expression=XExpression? ";" (updateExpressions+=XExpression (","
// updateExpressions+=XExpression)*)? ")" eachExpression=XExpression;
public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() {
return gaXbaseWithAnnotations.getXBasicForLoopExpressionAccess();
}
public ParserRule getXBasicForLoopExpressionRule() {
return getXBasicForLoopExpressionAccess().getRule();
}
//XWhileExpression returns XExpression:
// {XWhileExpression} "while" "(" predicate=XExpression ")" body=XExpression;
public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() {
return gaXbaseWithAnnotations.getXWhileExpressionAccess();
}
public ParserRule getXWhileExpressionRule() {
return getXWhileExpressionAccess().getRule();
}
//XDoWhileExpression returns XExpression:
// {XDoWhileExpression} "do" body=XExpression "while" "(" predicate=XExpression ")";
public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() {
return gaXbaseWithAnnotations.getXDoWhileExpressionAccess();
}
public ParserRule getXDoWhileExpressionRule() {
return getXDoWhileExpressionAccess().getRule();
}
//XBlockExpression returns XExpression:
// {XBlockExpression} "{" (expressions+=XExpressionOrVarDeclaration ";"?)* "}";
public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() {
return gaXbaseWithAnnotations.getXBlockExpressionAccess();
}
public ParserRule getXBlockExpressionRule() {
return getXBlockExpressionAccess().getRule();
}
//XExpressionOrVarDeclaration returns XExpression:
// XVariableDeclaration | XExpression;
public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() {
return gaXbaseWithAnnotations.getXExpressionOrVarDeclarationAccess();
}
public ParserRule getXExpressionOrVarDeclarationRule() {
return getXExpressionOrVarDeclarationAccess().getRule();
}
//XVariableDeclaration returns XExpression:
// {XVariableDeclaration} (writeable?="var" | "val") (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ("="
// right=XExpression)?;
public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() {
return gaXbaseWithAnnotations.getXVariableDeclarationAccess();
}
public ParserRule getXVariableDeclarationRule() {
return getXVariableDeclarationAccess().getRule();
}
//JvmFormalParameter returns types::JvmFormalParameter:
// parameterType=JvmTypeReference? name=ValidID;
public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() {
return gaXbaseWithAnnotations.getJvmFormalParameterAccess();
}
public ParserRule getJvmFormalParameterRule() {
return getJvmFormalParameterAccess().getRule();
}
//FullJvmFormalParameter returns types::JvmFormalParameter:
// parameterType=JvmTypeReference name=ValidID;
public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() {
return gaXbaseWithAnnotations.getFullJvmFormalParameterAccess();
}
public ParserRule getFullJvmFormalParameterRule() {
return getFullJvmFormalParameterAccess().getRule();
}
//XFeatureCall returns XExpression:
// {XFeatureCall} ("<" typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")?
// feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (featureCallArguments+=XShortClosure
// | featureCallArguments+=XExpression ("," featureCallArguments+=XExpression)*)? ")")? featureCallArguments+=XClosure?;
public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() {
return gaXbaseWithAnnotations.getXFeatureCallAccess();
}
public ParserRule getXFeatureCallRule() {
return getXFeatureCallAccess().getRule();
}
//FeatureCallID:
// ValidID | "extends" | "static" | "import" | "extension";
public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() {
return gaXbaseWithAnnotations.getFeatureCallIDAccess();
}
public ParserRule getFeatureCallIDRule() {
return getFeatureCallIDAccess().getRule();
}
//IdOrSuper:
// FeatureCallID | "super";
public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() {
return gaXbaseWithAnnotations.getIdOrSuperAccess();
}
public ParserRule getIdOrSuperRule() {
return getIdOrSuperAccess().getRule();
}
//XConstructorCall returns 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 gaXbaseWithAnnotations.getXConstructorCallAccess();
}
public ParserRule getXConstructorCallRule() {
return getXConstructorCallAccess().getRule();
}
//XBooleanLiteral returns XExpression:
// {XBooleanLiteral} ("false" | isTrue?="true");
public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() {
return gaXbaseWithAnnotations.getXBooleanLiteralAccess();
}
public ParserRule getXBooleanLiteralRule() {
return getXBooleanLiteralAccess().getRule();
}
//XNullLiteral returns XExpression:
// {XNullLiteral} "null";
public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() {
return gaXbaseWithAnnotations.getXNullLiteralAccess();
}
public ParserRule getXNullLiteralRule() {
return getXNullLiteralAccess().getRule();
}
//XNumberLiteral returns XExpression:
// {XNumberLiteral} value=Number;
public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() {
return gaXbaseWithAnnotations.getXNumberLiteralAccess();
}
public ParserRule getXNumberLiteralRule() {
return getXNumberLiteralAccess().getRule();
}
//XStringLiteral returns XExpression:
// {XStringLiteral} value=STRING;
public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() {
return gaXbaseWithAnnotations.getXStringLiteralAccess();
}
public ParserRule getXStringLiteralRule() {
return getXStringLiteralAccess().getRule();
}
//XTypeLiteral returns XExpression:
// {XTypeLiteral} "typeof" "(" type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ")";
public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() {
return gaXbaseWithAnnotations.getXTypeLiteralAccess();
}
public ParserRule getXTypeLiteralRule() {
return getXTypeLiteralAccess().getRule();
}
//XThrowExpression returns XExpression:
// {XThrowExpression} "throw" expression=XExpression;
public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() {
return gaXbaseWithAnnotations.getXThrowExpressionAccess();
}
public ParserRule getXThrowExpressionRule() {
return getXThrowExpressionAccess().getRule();
}
//XReturnExpression returns XExpression:
// {XReturnExpression} "return" -> expression=XExpression?;
public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() {
return gaXbaseWithAnnotations.getXReturnExpressionAccess();
}
public ParserRule getXReturnExpressionRule() {
return getXReturnExpressionAccess().getRule();
}
//XTryCatchFinallyExpression returns XExpression:
// {XTryCatchFinallyExpression} "try" expression=XExpression (catchClauses+=XCatchClause+ ("finally"
// finallyExpression=XExpression)? | "finally" finallyExpression=XExpression);
public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() {
return gaXbaseWithAnnotations.getXTryCatchFinallyExpressionAccess();
}
public ParserRule getXTryCatchFinallyExpressionRule() {
return getXTryCatchFinallyExpressionAccess().getRule();
}
//XSynchronizedExpression returns XExpression:
// => ({XSynchronizedExpression} "synchronized" "(") param=XExpression ")" expression=XExpression;
public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() {
return gaXbaseWithAnnotations.getXSynchronizedExpressionAccess();
}
public ParserRule getXSynchronizedExpressionRule() {
return getXSynchronizedExpressionAccess().getRule();
}
//XCatchClause:
// "catch" "(" declaredParam=FullJvmFormalParameter ")" expression=XExpression;
public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() {
return gaXbaseWithAnnotations.getXCatchClauseAccess();
}
public ParserRule getXCatchClauseRule() {
return getXCatchClauseAccess().getRule();
}
//Number hidden():
// HEX | (INT | DECIMAL) ("." (INT | DECIMAL))?;
public XbaseGrammarAccess.NumberElements getNumberAccess() {
return gaXbaseWithAnnotations.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 gaXbaseWithAnnotations.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 gaXbaseWithAnnotations.getHEXRule();
}
//terminal INT returns ecore::EInt:
// "0".."9" ("0".."9" | "_")*;
public TerminalRule getINTRule() {
return gaXbaseWithAnnotations.getINTRule();
}
//terminal DECIMAL:
// INT (("e" | "E") ("+" | "-")? INT)? (("b" | "B") ("i" | "I" | "d" | "D") | ("l" | "L" | "d" | "D" | "f" | "F"))?;
public TerminalRule getDECIMALRule() {
return gaXbaseWithAnnotations.getDECIMALRule();
}
//JvmTypeReference:
// JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* |
// XFunctionTypeRef;
public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmTypeReferenceAccess();
}
public ParserRule getJvmTypeReferenceRule() {
return getJvmTypeReferenceAccess().getRule();
}
//ArrayBrackets:
// "[" "]";
public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() {
return gaXbaseWithAnnotations.getArrayBracketsAccess();
}
public ParserRule getArrayBracketsRule() {
return getArrayBracketsAccess().getRule();
}
//XFunctionTypeRef:
// ("(" (paramTypes+=JvmTypeReference ("," paramTypes+=JvmTypeReference)*)? ")")? "=>" returnType=JvmTypeReference;
public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() {
return gaXbaseWithAnnotations.getXFunctionTypeRefAccess();
}
public ParserRule getXFunctionTypeRefRule() {
return getXFunctionTypeRefAccess().getRule();
}
//JvmParameterizedTypeReference:
// type=[JvmType|QualifiedName] ("<" arguments+=JvmArgumentTypeReference ("," arguments+=JvmArgumentTypeReference)* ">"
// (=> ({JvmInnerTypeReference.outer=current} ".") type=[JvmType|ValidID] ("<" arguments+=JvmArgumentTypeReference (","
// arguments+=JvmArgumentTypeReference)* ">")?)*)?;
public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmParameterizedTypeReferenceAccess();
}
public ParserRule getJvmParameterizedTypeReferenceRule() {
return getJvmParameterizedTypeReferenceAccess().getRule();
}
//JvmArgumentTypeReference returns JvmTypeReference:
// JvmTypeReference | JvmWildcardTypeReference;
public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmArgumentTypeReferenceAccess();
}
public ParserRule getJvmArgumentTypeReferenceRule() {
return getJvmArgumentTypeReferenceAccess().getRule();
}
//JvmWildcardTypeReference:
// {JvmWildcardTypeReference} "?" (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* |
// constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?;
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
return gaXbaseWithAnnotations.getJvmWildcardTypeReferenceAccess();
}
public ParserRule getJvmWildcardTypeReferenceRule() {
return getJvmWildcardTypeReferenceAccess().getRule();
}
//JvmUpperBound:
// "extends" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
return gaXbaseWithAnnotations.getJvmUpperBoundAccess();
}
public ParserRule getJvmUpperBoundRule() {
return getJvmUpperBoundAccess().getRule();
}
//JvmUpperBoundAnded returns JvmUpperBound:
// "&" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() {
return gaXbaseWithAnnotations.getJvmUpperBoundAndedAccess();
}
public ParserRule getJvmUpperBoundAndedRule() {
return getJvmUpperBoundAndedAccess().getRule();
}
//JvmLowerBound:
// "super" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() {
return gaXbaseWithAnnotations.getJvmLowerBoundAccess();
}
public ParserRule getJvmLowerBoundRule() {
return getJvmLowerBoundAccess().getRule();
}
//JvmLowerBoundAnded returns JvmLowerBound:
// "&" typeReference=JvmTypeReference;
public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {
return gaXbaseWithAnnotations.getJvmLowerBoundAndedAccess();
}
public ParserRule getJvmLowerBoundAndedRule() {
return getJvmLowerBoundAndedAccess().getRule();
}
//JvmTypeParameter:
// name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?;
public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() {
return gaXbaseWithAnnotations.getJvmTypeParameterAccess();
}
public ParserRule getJvmTypeParameterRule() {
return getJvmTypeParameterAccess().getRule();
}
//QualifiedNameWithWildcard:
// QualifiedName "." "*";
public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {
return gaXbaseWithAnnotations.getQualifiedNameWithWildcardAccess();
}
public ParserRule getQualifiedNameWithWildcardRule() {
return getQualifiedNameWithWildcardAccess().getRule();
}
//XImportSection:
// importDeclarations+=XImportDeclaration+;
public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() {
return gaXbaseWithAnnotations.getXImportSectionAccess();
}
public ParserRule getXImportSectionRule() {
return getXImportSectionAccess().getRule();
}
//XImportDeclaration:
// "import" (static?="static" extension?="extension"? importedType=[JvmDeclaredType|QualifiedNameInStaticImport]
// (wildcard?="*" | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] |
// importedNamespace=QualifiedNameWithWildcard) ";"?;
public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() {
return gaXbaseWithAnnotations.getXImportDeclarationAccess();
}
public ParserRule getXImportDeclarationRule() {
return getXImportDeclarationAccess().getRule();
}
//QualifiedNameInStaticImport:
// (ValidID ".")+;
public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() {
return gaXbaseWithAnnotations.getQualifiedNameInStaticImportAccess();
}
public ParserRule getQualifiedNameInStaticImportRule() {
return getQualifiedNameInStaticImportAccess().getRule();
}
//terminal ID:
// "^"? ("a".."z" | "A".."Z" | "$" | "_") ("a".."z" | "A".."Z" | "$" | "_" | "0".."9")*;
public TerminalRule getIDRule() {
return gaXbaseWithAnnotations.getIDRule();
}
//terminal STRING:
// "\"" ("\\" . / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\""))* "\""? | "\'" ("\\" .
// / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\'"))* "\'"?;
public TerminalRule getSTRINGRule() {
return gaXbaseWithAnnotations.getSTRINGRule();
}
//terminal ML_COMMENT:
// "/ *"->"* /";
public TerminalRule getML_COMMENTRule() {
return gaXbaseWithAnnotations.getML_COMMENTRule();
}
//terminal SL_COMMENT:
// "//" !("\n" | "\r")* ("\r"? "\n")?;
public TerminalRule getSL_COMMENTRule() {
return gaXbaseWithAnnotations.getSL_COMMENTRule();
}
//terminal WS:
// (" " | "\t" | "\r" | "\n")+;
public TerminalRule getWSRule() {
return gaXbaseWithAnnotations.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
return gaXbaseWithAnnotations.getANY_OTHERRule();
}
}