blob: 64098535b615145386031a58b6aeb4d92a20e330 [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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
* generated by Xtext 2.11.0
*
*/
grammar InternalPerspectiveDsl;
options {
superClass=AbstractInternalAntlrParser;
}
@lexer::header {
package org.eclipse.osbp.xtext.perspective.parser.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.parser.antlr.Lexer;
}
@parser::header {
package org.eclipse.osbp.xtext.perspective.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.eclipse.osbp.xtext.perspective.services.PerspectiveDslGrammarAccess;
}
@parser::members {
private PerspectiveDslGrammarAccess grammarAccess;
public InternalPerspectiveDslParser(TokenStream input, PerspectiveDslGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "PerspectiveModel";
}
@Override
protected PerspectiveDslGrammarAccess getGrammarAccess() {
return grammarAccess;
}
}
@rulecatch {
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
}
// Entry rule entryRulePerspectiveModel
entryRulePerspectiveModel returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveModelRule()); }
iv_rulePerspectiveModel=rulePerspectiveModel
{ $current=$iv_rulePerspectiveModel.current; }
EOF;
// Rule PerspectiveModel
rulePerspectiveModel returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
(
{
newCompositeNode(grammarAccess.getPerspectiveModelAccess().getImportSectionXImportSectionParserRuleCall_0_0());
}
lv_importSection_0_0=ruleXImportSection
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveModelRule());
}
set(
$current,
"importSection",
lv_importSection_0_0,
"org.eclipse.xtext.xbase.Xtype.XImportSection");
afterParserOrEnumRuleCall();
}
)
)?
(
(
{
newCompositeNode(grammarAccess.getPerspectiveModelAccess().getPackagesPerspectivePackageParserRuleCall_1_0());
}
lv_packages_1_0=rulePerspectivePackage
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveModelRule());
}
add(
$current,
"packages",
lv_packages_1_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectivePackage");
afterParserOrEnumRuleCall();
}
)
)*
)
;
// Entry rule entryRulePerspectivePackage
entryRulePerspectivePackage returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectivePackageRule()); }
iv_rulePerspectivePackage=rulePerspectivePackage
{ $current=$iv_rulePerspectivePackage.current; }
EOF;
// Rule PerspectivePackage
rulePerspectivePackage returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectivePackageAccess().getPerspectivePackageAction_0(),
$current);
}
)
otherlv_1='package'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectivePackageAccess().getPackageKeyword_1());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectivePackageAccess().getNameQualifiedNameParserRuleCall_2_0());
}
lv_name_2_0=ruleQualifiedName
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectivePackageRule());
}
set(
$current,
"name",
lv_name_2_0,
"org.eclipse.xtext.xbase.Xbase.QualifiedName");
afterParserOrEnumRuleCall();
}
)
)
(
otherlv_3='{'
{
newLeafNode(otherlv_3, grammarAccess.getPerspectivePackageAccess().getLeftCurlyBracketKeyword_3_0());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectivePackageAccess().getPerspectivesPerspectiveParserRuleCall_3_1_0());
}
lv_perspectives_4_0=rulePerspective
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectivePackageRule());
}
add(
$current,
"perspectives",
lv_perspectives_4_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.Perspective");
afterParserOrEnumRuleCall();
}
)
)*
otherlv_5='}'
{
newLeafNode(otherlv_5, grammarAccess.getPerspectivePackageAccess().getRightCurlyBracketKeyword_3_2());
}
)?
)
;
// Entry rule entryRulePerspective
entryRulePerspective returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveRule()); }
iv_rulePerspective=rulePerspective
{ $current=$iv_rulePerspective.current; }
EOF;
// Rule Perspective
rulePerspective returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveAccess().getPerspectiveAction_0(),
$current);
}
)
otherlv_1='perspective'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveAccess().getPerspectiveKeyword_1());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectiveAccess().getNameTRANSLATABLEIDParserRuleCall_2_0());
}
lv_name_2_0=ruleTRANSLATABLEID
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveRule());
}
set(
$current,
"name",
lv_name_2_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
)
)
(
(
(
lv_description_3_0='describedBy'
{
newLeafNode(lv_description_3_0, grammarAccess.getPerspectiveAccess().getDescriptionDescribedByKeyword_3_0_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveRule());
}
setWithLastConsumed($current, "description", true, "describedBy");
}
)
)
(
(
{
newCompositeNode(grammarAccess.getPerspectiveAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0());
}
lv_descriptionValue_4_0=ruleTRANSLATABLESTRING
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveRule());
}
set(
$current,
"descriptionValue",
lv_descriptionValue_4_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
)
)
)?
(
otherlv_5='process'
{
newLeafNode(otherlv_5, grammarAccess.getPerspectiveAccess().getProcessKeyword_4_0());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveRule());
}
}
otherlv_6=RULE_ID
{
newLeafNode(otherlv_6, grammarAccess.getPerspectiveAccess().getProcessBlipCrossReference_4_1_0());
}
)
)
otherlv_7='usertask'
{
newLeafNode(otherlv_7, grammarAccess.getPerspectiveAccess().getUsertaskKeyword_4_2());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveRule());
}
}
otherlv_8=RULE_ID
{
newLeafNode(otherlv_8, grammarAccess.getPerspectiveAccess().getUserTaskBlipUserTaskCrossReference_4_3_0());
}
)
)
)?
(
(
{
getUnorderedGroupHelper().enter(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5());
}
(
(
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5(), 0)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5(), 0);
}
({true}?=>(otherlv_10='iconURI'
{
newLeafNode(otherlv_10, grammarAccess.getPerspectiveAccess().getIconURIKeyword_5_0_0());
}
(
(
lv_iconURI_11_0=RULE_STRING
{
newLeafNode(lv_iconURI_11_0, grammarAccess.getPerspectiveAccess().getIconURISTRINGTerminalRuleCall_5_0_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveRule());
}
setWithLastConsumed(
$current,
"iconURI",
lv_iconURI_11_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5(), 1)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5(), 1);
}
({true}?=>(otherlv_12='accessibility'
{
newLeafNode(otherlv_12, grammarAccess.getPerspectiveAccess().getAccessibilityKeyword_5_1_0());
}
(
(
lv_accessibilityPhrase_13_0=RULE_STRING
{
newLeafNode(lv_accessibilityPhrase_13_0, grammarAccess.getPerspectiveAccess().getAccessibilityPhraseSTRINGTerminalRuleCall_5_1_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveRule());
}
setWithLastConsumed(
$current,
"accessibilityPhrase",
lv_accessibilityPhrase_13_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5(), 2)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5(), 2);
}
({true}?=>(otherlv_14='toolbar'
{
newLeafNode(otherlv_14, grammarAccess.getPerspectiveAccess().getToolbarKeyword_5_2_0());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveRule());
}
}
otherlv_15=RULE_ID
{
newLeafNode(otherlv_15, grammarAccess.getPerspectiveAccess().getToolbarActionToolbarCrossReference_5_2_1_0());
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5());
}
)
)
)*
)
)
{
getUnorderedGroupHelper().leave(grammarAccess.getPerspectiveAccess().getUnorderedGroup_5());
}
)
otherlv_16='{'
{
newLeafNode(otherlv_16, grammarAccess.getPerspectiveAccess().getLeftCurlyBracketKeyword_6());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectiveAccess().getElementsPerspectiveElementParserRuleCall_7_0());
}
lv_elements_17_0=rulePerspectiveElement
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveRule());
}
add(
$current,
"elements",
lv_elements_17_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectiveElement");
afterParserOrEnumRuleCall();
}
)
)*
(
otherlv_18='eventManager'
{
newLeafNode(otherlv_18, grammarAccess.getPerspectiveAccess().getEventManagerKeyword_8_0());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectiveAccess().getEventmanagerPerspectiveEventManagerParserRuleCall_8_1_0());
}
lv_eventmanager_19_0=rulePerspectiveEventManager
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveRule());
}
set(
$current,
"eventmanager",
lv_eventmanager_19_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectiveEventManager");
afterParserOrEnumRuleCall();
}
)
)
)?
otherlv_20='}'
{
newLeafNode(otherlv_20, grammarAccess.getPerspectiveAccess().getRightCurlyBracketKeyword_9());
}
)
;
// Entry rule entryRulePerspectiveElement
entryRulePerspectiveElement returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveElementRule()); }
iv_rulePerspectiveElement=rulePerspectiveElement
{ $current=$iv_rulePerspectiveElement.current; }
EOF;
// Rule PerspectiveElement
rulePerspectiveElement returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
{
newCompositeNode(grammarAccess.getPerspectiveElementAccess().getPerspectiveSashContainerParserRuleCall_0());
}
this_PerspectiveSashContainer_0=rulePerspectiveSashContainer
{
$current = $this_PerspectiveSashContainer_0.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveElementAccess().getPerspectivePartStackParserRuleCall_1());
}
this_PerspectivePartStack_1=rulePerspectivePartStack
{
$current = $this_PerspectivePartStack_1.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveElementAccess().getPerspectivePartParserRuleCall_2());
}
this_PerspectivePart_2=rulePerspectivePart
{
$current = $this_PerspectivePart_2.current;
afterParserOrEnumRuleCall();
}
)
;
// Entry rule entryRulePerspectiveSashContainer
entryRulePerspectiveSashContainer returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveSashContainerRule()); }
iv_rulePerspectiveSashContainer=rulePerspectiveSashContainer
{ $current=$iv_rulePerspectiveSashContainer.current; }
EOF;
// Rule PerspectiveSashContainer
rulePerspectiveSashContainer returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveSashContainerAccess().getPerspectiveSashContainerAction_0(),
$current);
}
)
otherlv_1='sashContainer'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveSashContainerAccess().getSashContainerKeyword_1());
}
(
(
lv_elementId_2_0=RULE_ID
{
newLeafNode(lv_elementId_2_0, grammarAccess.getPerspectiveSashContainerAccess().getElementIdIDTerminalRuleCall_2_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSashContainerRule());
}
setWithLastConsumed(
$current,
"elementId",
lv_elementId_2_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
)
)
(
(
{
getUnorderedGroupHelper().enter(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3());
}
(
(
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 0)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 0);
}
({true}?=>(otherlv_4='orientation'
{
newLeafNode(otherlv_4, grammarAccess.getPerspectiveSashContainerAccess().getOrientationKeyword_3_0_0());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectiveSashContainerAccess().getOrientationSashOrientationEnumRuleCall_3_0_1_0());
}
lv_orientation_5_0=ruleSashOrientation
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveSashContainerRule());
}
set(
$current,
"orientation",
lv_orientation_5_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.SashOrientation");
afterParserOrEnumRuleCall();
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 1)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 1);
}
({true}?=>(otherlv_6='selectedElement'
{
newLeafNode(otherlv_6, grammarAccess.getPerspectiveSashContainerAccess().getSelectedElementKeyword_3_1_0());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSashContainerRule());
}
}
otherlv_7=RULE_ID
{
newLeafNode(otherlv_7, grammarAccess.getPerspectiveSashContainerAccess().getSelectedElementPerspectiveElementCrossReference_3_1_1_0());
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 2)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 2);
}
({true}?=>(otherlv_8='spaceVolume'
{
newLeafNode(otherlv_8, grammarAccess.getPerspectiveSashContainerAccess().getSpaceVolumeKeyword_3_2_0());
}
(
(
lv_containerData_9_0=RULE_STRING
{
newLeafNode(lv_containerData_9_0, grammarAccess.getPerspectiveSashContainerAccess().getContainerDataSTRINGTerminalRuleCall_3_2_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSashContainerRule());
}
setWithLastConsumed(
$current,
"containerData",
lv_containerData_9_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 3)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3(), 3);
}
({true}?=>(otherlv_10='accessibility'
{
newLeafNode(otherlv_10, grammarAccess.getPerspectiveSashContainerAccess().getAccessibilityKeyword_3_3_0());
}
(
(
lv_accessibilityPhrase_11_0=RULE_STRING
{
newLeafNode(lv_accessibilityPhrase_11_0, grammarAccess.getPerspectiveSashContainerAccess().getAccessibilityPhraseSTRINGTerminalRuleCall_3_3_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSashContainerRule());
}
setWithLastConsumed(
$current,
"accessibilityPhrase",
lv_accessibilityPhrase_11_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3());
}
)
)
)*
)
)
{
getUnorderedGroupHelper().leave(grammarAccess.getPerspectiveSashContainerAccess().getUnorderedGroup_3());
}
)
otherlv_12='{'
{
newLeafNode(otherlv_12, grammarAccess.getPerspectiveSashContainerAccess().getLeftCurlyBracketKeyword_4());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectiveSashContainerAccess().getElementsPerspectiveElementParserRuleCall_5_0());
}
lv_elements_13_0=rulePerspectiveElement
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveSashContainerRule());
}
add(
$current,
"elements",
lv_elements_13_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectiveElement");
afterParserOrEnumRuleCall();
}
)
)*
otherlv_14='}'
{
newLeafNode(otherlv_14, grammarAccess.getPerspectiveSashContainerAccess().getRightCurlyBracketKeyword_6());
}
)
;
// Entry rule entryRulePerspectivePartStack
entryRulePerspectivePartStack returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectivePartStackRule()); }
iv_rulePerspectivePartStack=rulePerspectivePartStack
{ $current=$iv_rulePerspectivePartStack.current; }
EOF;
// Rule PerspectivePartStack
rulePerspectivePartStack returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectivePartStackAccess().getPerspectivePartStackAction_0(),
$current);
}
)
otherlv_1='partStack'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectivePartStackAccess().getPartStackKeyword_1());
}
(
(
lv_elementId_2_0=RULE_ID
{
newLeafNode(lv_elementId_2_0, grammarAccess.getPerspectivePartStackAccess().getElementIdIDTerminalRuleCall_2_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartStackRule());
}
setWithLastConsumed(
$current,
"elementId",
lv_elementId_2_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
)
)
(
(
{
getUnorderedGroupHelper().enter(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3());
}
(
(
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3(), 0)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3(), 0);
}
({true}?=>(otherlv_4='selectedElement'
{
newLeafNode(otherlv_4, grammarAccess.getPerspectivePartStackAccess().getSelectedElementKeyword_3_0_0());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartStackRule());
}
}
otherlv_5=RULE_ID
{
newLeafNode(otherlv_5, grammarAccess.getPerspectivePartStackAccess().getSelectedElementPerspectivePartCrossReference_3_0_1_0());
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3(), 1)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3(), 1);
}
({true}?=>(otherlv_6='spaceVolume'
{
newLeafNode(otherlv_6, grammarAccess.getPerspectivePartStackAccess().getSpaceVolumeKeyword_3_1_0());
}
(
(
lv_containerData_7_0=RULE_STRING
{
newLeafNode(lv_containerData_7_0, grammarAccess.getPerspectivePartStackAccess().getContainerDataSTRINGTerminalRuleCall_3_1_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartStackRule());
}
setWithLastConsumed(
$current,
"containerData",
lv_containerData_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3(), 2)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3(), 2);
}
({true}?=>(otherlv_8='accessibility'
{
newLeafNode(otherlv_8, grammarAccess.getPerspectivePartStackAccess().getAccessibilityKeyword_3_2_0());
}
(
(
lv_accessibilityPhrase_9_0=RULE_STRING
{
newLeafNode(lv_accessibilityPhrase_9_0, grammarAccess.getPerspectivePartStackAccess().getAccessibilityPhraseSTRINGTerminalRuleCall_3_2_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartStackRule());
}
setWithLastConsumed(
$current,
"accessibilityPhrase",
lv_accessibilityPhrase_9_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3());
}
)
)
)*
)
)
{
getUnorderedGroupHelper().leave(grammarAccess.getPerspectivePartStackAccess().getUnorderedGroup_3());
}
)
otherlv_10='{'
{
newLeafNode(otherlv_10, grammarAccess.getPerspectivePartStackAccess().getLeftCurlyBracketKeyword_4());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectivePartStackAccess().getElementsPerspectiveElementParserRuleCall_5_0());
}
lv_elements_11_0=rulePerspectiveElement
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectivePartStackRule());
}
add(
$current,
"elements",
lv_elements_11_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectiveElement");
afterParserOrEnumRuleCall();
}
)
)*
otherlv_12='}'
{
newLeafNode(otherlv_12, grammarAccess.getPerspectivePartStackAccess().getRightCurlyBracketKeyword_6());
}
)
;
// Entry rule entryRulePerspectivePart
entryRulePerspectivePart returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectivePartRule()); }
iv_rulePerspectivePart=rulePerspectivePart
{ $current=$iv_rulePerspectivePart.current; }
EOF;
// Rule PerspectivePart
rulePerspectivePart returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectivePartAccess().getPerspectivePartAction_0(),
$current);
}
)
otherlv_1='part'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectivePartAccess().getPartKeyword_1());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectivePartAccess().getElementIdTRANSLATABLEIDParserRuleCall_2_0());
}
lv_elementId_2_0=ruleTRANSLATABLEID
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectivePartRule());
}
set(
$current,
"elementId",
lv_elementId_2_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
)
)
(
(
{
getUnorderedGroupHelper().enter(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
(
(
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 0)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 0);
}
({true}?=>(otherlv_4='spaceVolume'
{
newLeafNode(otherlv_4, grammarAccess.getPerspectivePartAccess().getSpaceVolumeKeyword_3_0_0());
}
(
(
lv_containerData_5_0=RULE_STRING
{
newLeafNode(lv_containerData_5_0, grammarAccess.getPerspectivePartAccess().getContainerDataSTRINGTerminalRuleCall_3_0_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartRule());
}
setWithLastConsumed(
$current,
"containerData",
lv_containerData_5_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 1)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 1);
}
({true}?=>(otherlv_6='accessibility'
{
newLeafNode(otherlv_6, grammarAccess.getPerspectivePartAccess().getAccessibilityKeyword_3_1_0());
}
(
(
lv_accessibilityPhrase_7_0=RULE_STRING
{
newLeafNode(lv_accessibilityPhrase_7_0, grammarAccess.getPerspectivePartAccess().getAccessibilityPhraseSTRINGTerminalRuleCall_3_1_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartRule());
}
setWithLastConsumed(
$current,
"accessibilityPhrase",
lv_accessibilityPhrase_7_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 2)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 2);
}
({true}?=>(otherlv_8='iconURI'
{
newLeafNode(otherlv_8, grammarAccess.getPerspectivePartAccess().getIconURIKeyword_3_2_0());
}
(
(
lv_iconURI_9_0=RULE_STRING
{
newLeafNode(lv_iconURI_9_0, grammarAccess.getPerspectivePartAccess().getIconURISTRINGTerminalRuleCall_3_2_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartRule());
}
setWithLastConsumed(
$current,
"iconURI",
lv_iconURI_9_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 3)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 3);
}
({true}?=>(otherlv_10='view'
{
newLeafNode(otherlv_10, grammarAccess.getPerspectivePartAccess().getViewKeyword_3_3_0());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectivePartAccess().getViewPerspectiveViewParserRuleCall_3_3_1_0());
}
lv_view_11_0=rulePerspectiveView
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectivePartRule());
}
set(
$current,
"view",
lv_view_11_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectiveView");
afterParserOrEnumRuleCall();
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 4)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3(), 4);
}
({true}?=>((
lv_isClosable_12_0='isClosable'
{
newLeafNode(lv_isClosable_12_0, grammarAccess.getPerspectivePartAccess().getIsClosableIsClosableKeyword_3_4_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectivePartRule());
}
setWithLastConsumed($current, "isClosable", true, "isClosable");
}
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
)
)
)*
)
)
{
getUnorderedGroupHelper().leave(grammarAccess.getPerspectivePartAccess().getUnorderedGroup_3());
}
)
)
;
// Entry rule entryRulePerspectiveEventManager
entryRulePerspectiveEventManager returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveEventManagerRule()); }
iv_rulePerspectiveEventManager=rulePerspectiveEventManager
{ $current=$iv_rulePerspectiveEventManager.current; }
EOF;
// Rule PerspectiveEventManager
rulePerspectiveEventManager returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveEventManagerAccess().getPerspectiveEventManagerAction_0(),
$current);
}
)
(
(
lv_name_1_0=RULE_ID
{
newLeafNode(lv_name_1_0, grammarAccess.getPerspectiveEventManagerAccess().getNameIDTerminalRuleCall_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveEventManagerRule());
}
setWithLastConsumed(
$current,
"name",
lv_name_1_0,
"org.eclipse.xtext.xbase.Xtype.ID");
}
)
)
otherlv_2='{'
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveEventManagerAccess().getLeftCurlyBracketKeyword_2());
}
(
(
{
newCompositeNode(grammarAccess.getPerspectiveEventManagerAccess().getEventsPerspectiveEventParserRuleCall_3_0());
}
lv_events_3_0=rulePerspectiveEvent
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getPerspectiveEventManagerRule());
}
add(
$current,
"events",
lv_events_3_0,
"org.eclipse.osbp.xtext.perspective.PerspectiveDsl.PerspectiveEvent");
afterParserOrEnumRuleCall();
}
)
)*
otherlv_4='}'
{
newLeafNode(otherlv_4, grammarAccess.getPerspectiveEventManagerAccess().getRightCurlyBracketKeyword_4());
}
)
;
// Entry rule entryRulePerspectiveEvent
entryRulePerspectiveEvent returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveEventRule()); }
iv_rulePerspectiveEvent=rulePerspectiveEvent
{ $current=$iv_rulePerspectiveEvent.current; }
EOF;
// Rule PerspectiveEvent
rulePerspectiveEvent returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveEventAccess().getPerspectiveEventAction_0(),
$current);
}
)
otherlv_1='targetPart'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveEventAccess().getTargetPartKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveEventRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveEventAccess().getTargetPerspectivePartCrossReference_2_0());
}
)
)
otherlv_3='allowedSources'
{
newLeafNode(otherlv_3, grammarAccess.getPerspectiveEventAccess().getAllowedSourcesKeyword_3());
}
otherlv_4='{'
{
newLeafNode(otherlv_4, grammarAccess.getPerspectiveEventAccess().getLeftCurlyBracketKeyword_4());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveEventRule());
}
}
otherlv_5=RULE_ID
{
newLeafNode(otherlv_5, grammarAccess.getPerspectiveEventAccess().getAllowedsourcesPerspectivePartCrossReference_5_0());
}
)
)*
otherlv_6='}'
{
newLeafNode(otherlv_6, grammarAccess.getPerspectiveEventAccess().getRightCurlyBracketKeyword_6());
}
)
;
// Entry rule entryRulePerspectiveView
entryRulePerspectiveView returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveViewRule()); }
iv_rulePerspectiveView=rulePerspectiveView
{ $current=$iv_rulePerspectiveView.current; }
EOF;
// Rule PerspectiveView
rulePerspectiveView returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveSelectionParserRuleCall_0());
}
this_PerspectiveSelection_0=rulePerspectiveSelection
{
$current = $this_PerspectiveSelection_0.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveTableParserRuleCall_1());
}
this_PerspectiveTable_1=rulePerspectiveTable
{
$current = $this_PerspectiveTable_1.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveChartParserRuleCall_2());
}
this_PerspectiveChart_2=rulePerspectiveChart
{
$current = $this_PerspectiveChart_2.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveReportParserRuleCall_3());
}
this_PerspectiveReport_3=rulePerspectiveReport
{
$current = $this_PerspectiveReport_3.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveOrganizationParserRuleCall_4());
}
this_PerspectiveOrganization_4=rulePerspectiveOrganization
{
$current = $this_PerspectiveOrganization_4.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveTopologyParserRuleCall_5());
}
this_PerspectiveTopology_5=rulePerspectiveTopology
{
$current = $this_PerspectiveTopology_5.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveDialogParserRuleCall_6());
}
this_PerspectiveDialog_6=rulePerspectiveDialog
{
$current = $this_PerspectiveDialog_6.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveGridParserRuleCall_7());
}
this_PerspectiveGrid_7=rulePerspectiveGrid
{
$current = $this_PerspectiveGrid_7.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveWelcomeParserRuleCall_8());
}
this_PerspectiveWelcome_8=rulePerspectiveWelcome
{
$current = $this_PerspectiveWelcome_8.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveSearchParserRuleCall_9());
}
this_PerspectiveSearch_9=rulePerspectiveSearch
{
$current = $this_PerspectiveSearch_9.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveDataInterchangeParserRuleCall_10());
}
this_PerspectiveDataInterchange_10=rulePerspectiveDataInterchange
{
$current = $this_PerspectiveDataInterchange_10.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveBPMNParserRuleCall_11());
}
this_PerspectiveBPMN_11=rulePerspectiveBPMN
{
$current = $this_PerspectiveBPMN_11.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveKanbanParserRuleCall_12());
}
this_PerspectiveKanban_12=rulePerspectiveKanban
{
$current = $this_PerspectiveKanban_12.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveTitleParserRuleCall_13());
}
this_PerspectiveTitle_13=rulePerspectiveTitle
{
$current = $this_PerspectiveTitle_13.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveDashboardParserRuleCall_14());
}
this_PerspectiveDashboard_14=rulePerspectiveDashboard
{
$current = $this_PerspectiveDashboard_14.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getPerspectiveViewAccess().getPerspectiveBrowserParserRuleCall_15());
}
this_PerspectiveBrowser_15=rulePerspectiveBrowser
{
$current = $this_PerspectiveBrowser_15.current;
afterParserOrEnumRuleCall();
}
)
;
// Entry rule entryRulePerspectiveSelection
entryRulePerspectiveSelection returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveSelectionRule()); }
iv_rulePerspectiveSelection=rulePerspectiveSelection
{ $current=$iv_rulePerspectiveSelection.current; }
EOF;
// Rule PerspectiveSelection
rulePerspectiveSelection returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveSelectionAccess().getPerspectiveSelectionAction_0(),
$current);
}
)
otherlv_1='select'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveSelectionAccess().getSelectKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSelectionRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveSelectionAccess().getRefTableCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveTable
entryRulePerspectiveTable returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveTableRule()); }
iv_rulePerspectiveTable=rulePerspectiveTable
{ $current=$iv_rulePerspectiveTable.current; }
EOF;
// Rule PerspectiveTable
rulePerspectiveTable returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveTableAccess().getPerspectiveTableAction_0(),
$current);
}
)
otherlv_1='readOnlyTable'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveTableAccess().getReadOnlyTableKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveTableRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveTableAccess().getRefTableCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveGrid
entryRulePerspectiveGrid returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveGridRule()); }
iv_rulePerspectiveGrid=rulePerspectiveGrid
{ $current=$iv_rulePerspectiveGrid.current; }
EOF;
// Rule PerspectiveGrid
rulePerspectiveGrid returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveGridAccess().getPerspectiveGridAction_0(),
$current);
}
)
otherlv_1='editableTable'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveGridAccess().getEditableTableKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveGridRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveGridAccess().getRefTableCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveChart
entryRulePerspectiveChart returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveChartRule()); }
iv_rulePerspectiveChart=rulePerspectiveChart
{ $current=$iv_rulePerspectiveChart.current; }
EOF;
// Rule PerspectiveChart
rulePerspectiveChart returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveChartAccess().getPerspectiveChartAction_0(),
$current);
}
)
otherlv_1='chart'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveChartAccess().getChartKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveChartRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveChartAccess().getRefChartCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveReport
entryRulePerspectiveReport returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveReportRule()); }
iv_rulePerspectiveReport=rulePerspectiveReport
{ $current=$iv_rulePerspectiveReport.current; }
EOF;
// Rule PerspectiveReport
rulePerspectiveReport returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveReportAccess().getPerspectiveReportAction_0(),
$current);
}
)
otherlv_1='report'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveReportAccess().getReportKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveReportRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveReportAccess().getRefReportCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveOrganization
entryRulePerspectiveOrganization returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveOrganizationRule()); }
iv_rulePerspectiveOrganization=rulePerspectiveOrganization
{ $current=$iv_rulePerspectiveOrganization.current; }
EOF;
// Rule PerspectiveOrganization
rulePerspectiveOrganization returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveOrganizationAccess().getPerspectiveOrganizationAction_0(),
$current);
}
)
otherlv_1='organigram'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveOrganizationAccess().getOrganigramKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveOrganizationRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveOrganizationAccess().getRefOrganizationCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveTopology
entryRulePerspectiveTopology returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveTopologyRule()); }
iv_rulePerspectiveTopology=rulePerspectiveTopology
{ $current=$iv_rulePerspectiveTopology.current; }
EOF;
// Rule PerspectiveTopology
rulePerspectiveTopology returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveTopologyAccess().getPerspectiveTopologyAction_0(),
$current);
}
)
otherlv_1='topology'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveTopologyAccess().getTopologyKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveTopologyRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveTopologyAccess().getRefTopologyCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveDialog
entryRulePerspectiveDialog returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveDialogRule()); }
iv_rulePerspectiveDialog=rulePerspectiveDialog
{ $current=$iv_rulePerspectiveDialog.current; }
EOF;
// Rule PerspectiveDialog
rulePerspectiveDialog returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveDialogAccess().getPerspectiveDialogAction_0(),
$current);
}
)
otherlv_1='dialog'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveDialogAccess().getDialogKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveDialogRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveDialogAccess().getRefDialogCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveBPMN
entryRulePerspectiveBPMN returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveBPMNRule()); }
iv_rulePerspectiveBPMN=rulePerspectiveBPMN
{ $current=$iv_rulePerspectiveBPMN.current; }
EOF;
// Rule PerspectiveBPMN
rulePerspectiveBPMN returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveBPMNAccess().getPerspectiveBPMNAction_0(),
$current);
}
)
otherlv_1='bpmn'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveBPMNAccess().getBpmnKeyword_1());
}
)
;
// Entry rule entryRulePerspectiveKanban
entryRulePerspectiveKanban returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveKanbanRule()); }
iv_rulePerspectiveKanban=rulePerspectiveKanban
{ $current=$iv_rulePerspectiveKanban.current; }
EOF;
// Rule PerspectiveKanban
rulePerspectiveKanban returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveKanbanAccess().getPerspectiveKanbanAction_0(),
$current);
}
)
otherlv_1='kanban'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveKanbanAccess().getKanbanKeyword_1());
}
otherlv_2='of'
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveKanbanAccess().getOfKeyword_2());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveKanbanRule());
}
}
otherlv_3=RULE_ID
{
newLeafNode(otherlv_3, grammarAccess.getPerspectiveKanbanAccess().getDtoRefLDtoCrossReference_3_0());
}
)
)
otherlv_4='card'
{
newLeafNode(otherlv_4, grammarAccess.getPerspectiveKanbanAccess().getCardKeyword_4());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveKanbanRule());
}
}
otherlv_5=RULE_ID
{
newLeafNode(otherlv_5, grammarAccess.getPerspectiveKanbanAccess().getCardRefDialogCrossReference_5_0());
}
)
)
otherlv_6='dialog'
{
newLeafNode(otherlv_6, grammarAccess.getPerspectiveKanbanAccess().getDialogKeyword_6());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveKanbanRule());
}
}
otherlv_7=RULE_ID
{
newLeafNode(otherlv_7, grammarAccess.getPerspectiveKanbanAccess().getDialogRefDialogCrossReference_7_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveWelcome
entryRulePerspectiveWelcome returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveWelcomeRule()); }
iv_rulePerspectiveWelcome=rulePerspectiveWelcome
{ $current=$iv_rulePerspectiveWelcome.current; }
EOF;
// Rule PerspectiveWelcome
rulePerspectiveWelcome returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveWelcomeAccess().getPerspectiveWelcomeAction_0(),
$current);
}
)
otherlv_1='welcome'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveWelcomeAccess().getWelcomeKeyword_1());
}
)
;
// Entry rule entryRulePerspectiveSearch
entryRulePerspectiveSearch returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveSearchRule()); }
iv_rulePerspectiveSearch=rulePerspectiveSearch
{ $current=$iv_rulePerspectiveSearch.current; }
EOF;
// Rule PerspectiveSearch
rulePerspectiveSearch returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveSearchAccess().getPerspectiveSearchAction_0(),
$current);
}
)
otherlv_1='search'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveSearchAccess().getSearchKeyword_1());
}
otherlv_2='in'
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveSearchAccess().getInKeyword_2());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSearchRule());
}
}
otherlv_3=RULE_ID
{
newLeafNode(otherlv_3, grammarAccess.getPerspectiveSearchAccess().getDtoRefLDtoCrossReference_3_0());
}
)
)
(
(
{
getUnorderedGroupHelper().enter(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4());
}
(
(
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4(), 0)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4(), 0);
}
({true}?=>(otherlv_5='depth'
{
newLeafNode(otherlv_5, grammarAccess.getPerspectiveSearchAccess().getDepthKeyword_4_0_0());
}
(
(
lv_depth_6_0=RULE_INT
{
newLeafNode(lv_depth_6_0, grammarAccess.getPerspectiveSearchAccess().getDepthINTTerminalRuleCall_4_0_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSearchRule());
}
setWithLastConsumed(
$current,
"depth",
lv_depth_6_0,
"org.eclipse.xtext.xbase.Xbase.INT");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4());
}
)
)|
(
{getUnorderedGroupHelper().canSelect(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4(), 1)}?=>(
{
getUnorderedGroupHelper().select(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4(), 1);
}
({true}?=>(otherlv_7='filterColumns'
{
newLeafNode(otherlv_7, grammarAccess.getPerspectiveSearchAccess().getFilterColumnsKeyword_4_1_0());
}
(
(
lv_filterCols_8_0=RULE_INT
{
newLeafNode(lv_filterCols_8_0, grammarAccess.getPerspectiveSearchAccess().getFilterColsINTTerminalRuleCall_4_1_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveSearchRule());
}
setWithLastConsumed(
$current,
"filterCols",
lv_filterCols_8_0,
"org.eclipse.xtext.xbase.Xbase.INT");
}
)
)
))
{
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4());
}
)
)
)*
)
)
{
getUnorderedGroupHelper().leave(grammarAccess.getPerspectiveSearchAccess().getUnorderedGroup_4());
}
)
)
;
// Entry rule entryRulePerspectiveDataInterchange
entryRulePerspectiveDataInterchange returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveDataInterchangeRule()); }
iv_rulePerspectiveDataInterchange=rulePerspectiveDataInterchange
{ $current=$iv_rulePerspectiveDataInterchange.current; }
EOF;
// Rule PerspectiveDataInterchange
rulePerspectiveDataInterchange returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveDataInterchangeAccess().getPerspectiveDataInterchangeAction_0(),
$current);
}
)
otherlv_1='dataInterchange'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveDataInterchangeAccess().getDataInterchangeKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveDataInterchangeRule());
}
}
otherlv_2=RULE_ID
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveDataInterchangeAccess().getRefDataInterchangeGroupCrossReference_2_0());
}
)
)
)
;
// Entry rule entryRulePerspectiveTitle
entryRulePerspectiveTitle returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveTitleRule()); }
iv_rulePerspectiveTitle=rulePerspectiveTitle
{ $current=$iv_rulePerspectiveTitle.current; }
EOF;
// Rule PerspectiveTitle
rulePerspectiveTitle returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveTitleAccess().getPerspectiveTitleAction_0(),
$current);
}
)
otherlv_1='title'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveTitleAccess().getTitleKeyword_1());
}
(
(
lv_htmlName_2_0=RULE_STRING
{
newLeafNode(lv_htmlName_2_0, grammarAccess.getPerspectiveTitleAccess().getHtmlNameSTRINGTerminalRuleCall_2_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveTitleRule());
}
setWithLastConsumed(
$current,
"htmlName",
lv_htmlName_2_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
)
;
// Entry rule entryRulePerspectiveDashboard
entryRulePerspectiveDashboard returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveDashboardRule()); }
iv_rulePerspectiveDashboard=rulePerspectiveDashboard
{ $current=$iv_rulePerspectiveDashboard.current; }
EOF;
// Rule PerspectiveDashboard
rulePerspectiveDashboard returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveDashboardAccess().getPerspectiveDashboardAction_0(),
$current);
}
)
otherlv_1='name'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveDashboardAccess().getNameKeyword_1());
}
(
(
lv_name_2_0=RULE_STRING
{
newLeafNode(lv_name_2_0, grammarAccess.getPerspectiveDashboardAccess().getNameSTRINGTerminalRuleCall_2_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveDashboardRule());
}
setWithLastConsumed(
$current,
"name",
lv_name_2_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
)
;
// Entry rule entryRulePerspectiveBrowser
entryRulePerspectiveBrowser returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getPerspectiveBrowserRule()); }
iv_rulePerspectiveBrowser=rulePerspectiveBrowser
{ $current=$iv_rulePerspectiveBrowser.current; }
EOF;
// Rule PerspectiveBrowser
rulePerspectiveBrowser returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getPerspectiveBrowserAccess().getPerspectiveBrowserAction_0(),
$current);
}
)
otherlv_1='browser'
{
newLeafNode(otherlv_1, grammarAccess.getPerspectiveBrowserAccess().getBrowserKeyword_1());
}
otherlv_2='url'
{
newLeafNode(otherlv_2, grammarAccess.getPerspectiveBrowserAccess().getUrlKeyword_2());
}
(
(
lv_url_3_0=RULE_STRING
{
newLeafNode(lv_url_3_0, grammarAccess.getPerspectiveBrowserAccess().getUrlSTRINGTerminalRuleCall_3_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPerspectiveBrowserRule());
}
setWithLastConsumed(
$current,
"url",
lv_url_3_0,
"org.eclipse.xtext.xbase.Xtype.STRING");
}
)
)
)
;
// Entry rule entryRuleTRANSLATABLEID
entryRuleTRANSLATABLEID returns [String current=null]:
{ newCompositeNode(grammarAccess.getTRANSLATABLEIDRule()); }
iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID
{ $current=$iv_ruleTRANSLATABLEID.current.getText(); }
EOF;
// Rule TRANSLATABLEID
ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
@init {
enterRule();
}
@after {
leaveRule();
}:
this_ID_0=RULE_ID
{
$current.merge(this_ID_0);
}
{
newLeafNode(this_ID_0, grammarAccess.getTRANSLATABLEIDAccess().getIDTerminalRuleCall());
}
;
// Entry rule entryRuleTRANSLATABLESTRING
entryRuleTRANSLATABLESTRING returns [String current=null]:
{ newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule()); }
iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING
{ $current=$iv_ruleTRANSLATABLESTRING.current.getText(); }
EOF;
// Rule TRANSLATABLESTRING
ruleTRANSLATABLESTRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
@init {
enterRule();
}
@after {
leaveRule();
}:
this_STRING_0=RULE_STRING
{
$current.merge(this_STRING_0);
}
{
newLeafNode(this_STRING_0, grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall());
}
;
// Entry rule entryRuleXImportDeclaration
entryRuleXImportDeclaration returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXImportDeclarationRule()); }
iv_ruleXImportDeclaration=ruleXImportDeclaration
{ $current=$iv_ruleXImportDeclaration.current; }
EOF;
// Rule XImportDeclaration
ruleXImportDeclaration returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getXImportDeclarationAccess().getOXImportDeclarationAction_0(),
$current);
}
)
otherlv_1='import'
{
newLeafNode(otherlv_1, grammarAccess.getXImportDeclarationAccess().getImportKeyword_1());
}
(
(
(
(
lv_static_2_0='static'
{
newLeafNode(lv_static_2_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_2_0_0_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed($current, "static", true, "static");
}
)
)
(
(
lv_extension_3_0='extension'
{
newLeafNode(lv_extension_3_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_2_0_1_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed($current, "extension", true, "extension");
}
)
)?
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
{
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_0_2_0());
}
ruleQualifiedNameInStaticImport
{
afterParserOrEnumRuleCall();
}
)
)
(
(
(
lv_wildcard_5_0='*'
{
newLeafNode(lv_wildcard_5_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_2_0_3_0_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed($current, "wildcard", true, "*");
}
)
)
|
(
(
{
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_2_0_3_1_0());
}
lv_memberName_6_0=ruleValidID
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
$current,
"memberName",
lv_memberName_6_0,
"org.eclipse.xtext.xbase.Xtype.ValidID");
afterParserOrEnumRuleCall();
}
)
)
)
)
|
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
{
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_1_0());
}
ruleQualifiedName
{
afterParserOrEnumRuleCall();
}
)
)
|
(
(
{
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_2_2_0());
}
lv_importedNamespace_8_0=ruleQualifiedNameWithWildcard
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
$current,
"importedNamespace",
lv_importedNamespace_8_0,
"org.eclipse.xtext.xbase.Xtype.QualifiedNameWithWildcard");
afterParserOrEnumRuleCall();
}
)
)
|
(
(
(
lv_fqnImport_9_0='ns'
{
newLeafNode(lv_fqnImport_9_0, grammarAccess.getXImportDeclarationAccess().getFqnImportNsKeyword_2_3_0_0());
}
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed($current, "fqnImport", true, "ns");
}
)
)
(
(
{
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedFullyQualifiedNameQualifiedNameParserRuleCall_2_3_1_0());
}
lv_importedFullyQualifiedName_10_0=ruleQualifiedName
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
$current,
"importedFullyQualifiedName",
lv_importedFullyQualifiedName_10_0,
"org.eclipse.xtext.xbase.Xbase.QualifiedName");
afterParserOrEnumRuleCall();
}
)
)
)
)
(
otherlv_11=';'
{
newLeafNode(otherlv_11, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_3());
}
)?
)
;
// Entry rule entryRuleXAnnotation
entryRuleXAnnotation returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAnnotationRule()); }
iv_ruleXAnnotation=ruleXAnnotation
{ $current=$iv_ruleXAnnotation.current; }
EOF;
// Rule XAnnotation
ruleXAnnotation returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
{
$current = forceCreateModelElement(
grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(),
$current);
}
)
otherlv_1='@'
{
newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1());
}
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXAnnotationRule());
}
}
{
newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0());
}
ruleQualifiedName
{
afterParserOrEnumRuleCall();
}
)
)
(
(
('(')=>
otherlv_3='('
{
newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0());
}
)
(
(
(
((
(
(
ruleValidID
)
)
'='
)
)=>
(
{
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0());
}
lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
$current,
"elementValuePairs",
lv_elementValuePairs_4_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
)
)
(
otherlv_5=','
{
newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0());
}
(
((
(
(
ruleValidID
)
)
'='
)
)=>
(
{
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0());
}
lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
$current,
"elementValuePairs",
lv_elementValuePairs_6_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
)
)
)*
)
|
(
(
{
newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0());
}
lv_value_7_0=ruleXAnnotationElementValueOrCommaList
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
set(
$current,
"value",
lv_value_7_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValueOrCommaList");
afterParserOrEnumRuleCall();
}
)
)
)?
otherlv_8=')'
{
newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2());
}
)?
)
;
// Entry rule entryRuleXAnnotationElementValuePair
entryRuleXAnnotationElementValuePair returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); }
iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair
{ $current=$iv_ruleXAnnotationElementValuePair.current; }
EOF;
// Rule XAnnotationElementValuePair
ruleXAnnotationElementValuePair returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
((
(
(
ruleValidID
)
)
'='
)
)=>
(
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule());
}
}
{
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0());
}
ruleValidID
{
afterParserOrEnumRuleCall();
}
)
)
otherlv_1='='
{
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1());
}
)
)
(
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0());
}
lv_value_2_0=ruleXAnnotationElementValue
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule());
}
set(
$current,
"value",
lv_value_2_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValue");
afterParserOrEnumRuleCall();
}
)
)
)
;
// Entry rule entryRuleXAnnotationElementValueOrCommaList
entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); }
iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList
{ $current=$iv_ruleXAnnotationElementValueOrCommaList.current; }
EOF;
// Rule XAnnotationElementValueOrCommaList
ruleXAnnotationElementValueOrCommaList returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
(
((
(
)
'#'
'['
)
)=>
(
(
{
$current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(),
$current);
}
)
otherlv_1='#'
{
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2='['
{
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
)
)
(
(
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
lv_elements_3_0=ruleXAnnotationOrExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
$current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
)
)
(
otherlv_4=','
{
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0());
}
(
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
lv_elements_5_0=ruleXAnnotationOrExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
$current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
)
)
)*
)?
otherlv_6=']'
{
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2());
}
)
|
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0());
}
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression
{
$current = $this_XAnnotationOrExpression_7.current;
afterParserOrEnumRuleCall();
}
(
(
{
$current = forceCreateModelElementAndAdd(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(),
$current);
}
)
(
otherlv_9=','
{
newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0());
}
(
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0());
}
lv_elements_10_0=ruleXAnnotationOrExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
$current,
"elements",
lv_elements_10_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
)
)
)+
)?
)
)
;
// Entry rule entryRuleXAnnotationElementValue
entryRuleXAnnotationElementValue returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); }
iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue
{ $current=$iv_ruleXAnnotationElementValue.current; }
EOF;
// Rule XAnnotationElementValue
ruleXAnnotationElementValue returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
(
((
(
)
'#'
'['
)
)=>
(
(
{
$current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(),
$current);
}
)
otherlv_1='#'
{
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2='['
{
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
)
)
(
(
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
lv_elements_3_0=ruleXAnnotationOrExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
$current,
"elements",
lv_elements_3_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
)
)
(
otherlv_4=','
{
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0());
}
(
(
{
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
lv_elements_5_0=ruleXAnnotationOrExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
$current,
"elements",
lv_elements_5_0,
"org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
)
)
)*
)?
otherlv_6=']'
{
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2());
}
)
|
{
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1());
}
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression
{
$current = $this_XAnnotationOrExpression_7.current;
afterParserOrEnumRuleCall();
}
)
;
// Entry rule entryRuleXAnnotationOrExpression
entryRuleXAnnotationOrExpression returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); }
iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression
{ $current=$iv_ruleXAnnotationOrExpression.current; }
EOF;
// Rule XAnnotationOrExpression
ruleXAnnotationOrExpression returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
{
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0());
}
this_XAnnotation_0=ruleXAnnotation
{
$current = $this_XAnnotation_0.current;
afterParserOrEnumRuleCall();
}
|
{
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1());
}
this_XExpression_1=ruleXExpression
{
$current = $this_XExpression_1.current;
afterParserOrEnumRuleCall();
}
)
;
// Entry rule entryRuleXExpression
entryRuleXExpression returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXExpressionRule()); }
iv_ruleXExpression=ruleXExpression
{ $current=$iv_ruleXExpression.current; }
EOF;
// Rule XExpression
ruleXExpression returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
{
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
this_XAssignment_0=ruleXAssignment
{
$current = $this_XAssignment_0.current;
afterParserOrEnumRuleCall();
}
;
// Entry rule entryRuleXAssignment
entryRuleXAssignment returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAssignmentRule()); }
iv_ruleXAssignment=ruleXAssignment
{ $current=$iv_ruleXAssignment.current; }
EOF;
// Rule XAssignment
ruleXAssignment returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
(
(
{
$current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
$current);
}
)
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
{
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
ruleFeatureCallID
{
afterParserOrEnumRuleCall();
}
)
)
{
newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2());
}
ruleOpSingleAssign
{
afterParserOrEnumRuleCall();
}
(
(
{
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
lv_value_3_0=ruleXAssignment
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
$current,
"value",
lv_value_3_0,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
)
)
)
|
(
{
newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0());
}
this_XOrExpression_4=ruleXOrExpression
{
$current = $this_XOrExpression_4.current;
afterParserOrEnumRuleCall();
}
(
(
((
(
)
(
(
ruleOpMultiAssign
)
)
)
)=>
(
(
{
$current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
$current);
}
)
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
{
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
ruleOpMultiAssign
{
afterParserOrEnumRuleCall();
}
)
)
)
)
(
(
{
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
lv_rightOperand_7_0=ruleXAssignment
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
$current,
"rightOperand",
lv_rightOperand_7_0,
"org.eclipse.xtext.xbase.Xbase.XAssignment");
afterParserOrEnumRuleCall();
}
)
)
)?
)
)
;
// Entry rule entryRuleOpSingleAssign
entryRuleOpSingleAssign returns [String current=null]:
{ newCompositeNode(grammarAccess.getOpSingleAssignRule()); }
iv_ruleOpSingleAssign=ruleOpSingleAssign
{ $current=$iv_ruleOpSingleAssign.current.getText(); }
EOF;
// Rule OpSingleAssign
ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
@init {
enterRule();
}
@after {
leaveRule();
}:
kw='='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword());
}
;
// Entry rule entryRuleOpMultiAssign
entryRuleOpMultiAssign returns [String current=null]:
{ newCompositeNode(grammarAccess.getOpMultiAssignRule()); }
iv_ruleOpMultiAssign=ruleOpMultiAssign
{ $current=$iv_ruleOpMultiAssign.current.getText(); }
EOF;
// Rule OpMultiAssign
ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
kw='+='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
|
kw='-='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
|
kw='*='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
|
kw='/='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
|
kw='%='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
|
(
kw='<'
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw='<'
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw='='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
)
|
(
kw='>'
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
(
kw='>'
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
)?
kw='>='
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2());
}
)
)
;
// Entry rule entryRuleXOrExpression
entryRuleXOrExpression returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXOrExpressionRule()); }
iv_ruleXOrExpression=ruleXOrExpression
{ $current=$iv_ruleXOrExpression.current; }
EOF;
// Rule XOrExpression
ruleXOrExpression returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
{
newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0());
}
this_XAndExpression_0=ruleXAndExpression
{
$current = $this_XAndExpression_0.current;
afterParserOrEnumRuleCall();
}
(
(
((
(
)
(
(
ruleOpOr
)
)
)
)=>
(
(
{
$current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
$current);
}
)
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXOrExpressionRule());
}
}
{
newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
ruleOpOr
{
afterParserOrEnumRuleCall();
}
)
)
)
)
(
(
{
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
lv_rightOperand_3_0=ruleXAndExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXOrExpressionRule());
}
set(
$current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XAndExpression");
afterParserOrEnumRuleCall();
}
)
)
)*
)
;
// Entry rule entryRuleOpOr
entryRuleOpOr returns [String current=null]:
{ newCompositeNode(grammarAccess.getOpOrRule()); }
iv_ruleOpOr=ruleOpOr
{ $current=$iv_ruleOpOr.current.getText(); }
EOF;
// Rule OpOr
ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
@init {
enterRule();
}
@after {
leaveRule();
}:
kw='||'
{
$current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword());
}
;
// Entry rule entryRuleXAndExpression
entryRuleXAndExpression returns [EObject current=null]:
{ newCompositeNode(grammarAccess.getXAndExpressionRule()); }
iv_ruleXAndExpression=ruleXAndExpression
{ $current=$iv_ruleXAndExpression.current; }
EOF;
// Rule XAndExpression
ruleXAndExpression returns [EObject current=null]
@init {
enterRule();
}
@after {
leaveRule();
}:
(
{
newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0());
}
this_XEqualityExpression_0=ruleXEqualityExpression
{
$current = $this_XEqualityExpression_0.current;
afterParserOrEnumRuleCall();
}
(
(
((
(
)
(
(
ruleOpAnd
)
)
)
)=>
(
(
{
$current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
$current);
}
)
(
(
{
if ($current==null) {
$current = createModelElement(grammarAccess.getXAndExpressionRule());
}
}
{
newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
ruleOpAnd
{
afterParserOrEnumRuleCall();
}
)
)
)
)
(
(
{
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
lv_rightOperand_3_0=ruleXEqualityExpression
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getXAndExpressionRule());
}
set(
$current,
"rightOperand",
lv_rightOperand_3_0,
"org.eclipse.xtext.xbase.Xbase.XEqualityExpression");
afterParserOrEnumRuleCall();
}
)
)
)*
)
;
// Entry rule entryRuleOpAnd
entryRuleOpAnd returns [String current=null]:
{ newCompositeNode(grammarAccess.getOpAndRule()); }
iv_ruleOpAnd=ruleOpAnd
{ $current=$iv_ruleOpAnd.current.getText(); }
EOF;
// Rule OpAnd
ruleOpAnd returns