| /** |
| * |
| * 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.action.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 ActionDSLGrammarAccess extends AbstractGrammarElementFinder { |
| |
| |
| public class ActionModelElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionModel"); |
| private final Assignment cPackagesAssignment = (Assignment)rule.eContents().get(1); |
| private final RuleCall cPackagesActionPackageParserRuleCall_0 = (RuleCall)cPackagesAssignment.eContents().get(0); |
| |
| //ActionModel: |
| // packages+=ActionPackage*; |
| public ParserRule getRule() { return rule; } |
| |
| //packages+=ActionPackage* |
| public Assignment getPackagesAssignment() { return cPackagesAssignment; } |
| |
| //ActionPackage |
| public RuleCall getPackagesActionPackageParserRuleCall_0() { return cPackagesActionPackageParserRuleCall_0; } |
| } |
| |
| public class ActionPackageElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionPackage"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cActionPackageAction_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 cImportsActionImportParserRuleCall_3_1_0 = (RuleCall)cImportsAssignment_3_1.eContents().get(0); |
| private final Assignment cToolbarsAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2); |
| private final RuleCall cToolbarsActionToolbarParserRuleCall_3_2_0 = (RuleCall)cToolbarsAssignment_3_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); |
| |
| //ActionPackage: |
| // {ActionPackage} "package" name=QualifiedName ("{" imports+=ActionImport* toolbars+=ActionToolbar* "}")?; |
| public ParserRule getRule() { return rule; } |
| |
| //{ActionPackage} "package" name=QualifiedName ("{" imports+=ActionImport* toolbars+=ActionToolbar* "}")? |
| public Group getGroup() { return cGroup; } |
| |
| //{ActionPackage} |
| public Action getActionPackageAction_0() { return cActionPackageAction_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+=ActionImport* toolbars+=ActionToolbar* "}")? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; } |
| |
| //imports+=ActionImport* |
| public Assignment getImportsAssignment_3_1() { return cImportsAssignment_3_1; } |
| |
| //ActionImport |
| public RuleCall getImportsActionImportParserRuleCall_3_1_0() { return cImportsActionImportParserRuleCall_3_1_0; } |
| |
| //toolbars+=ActionToolbar* |
| public Assignment getToolbarsAssignment_3_2() { return cToolbarsAssignment_3_2; } |
| |
| //ActionToolbar |
| public RuleCall getToolbarsActionToolbarParserRuleCall_3_2_0() { return cToolbarsActionToolbarParserRuleCall_3_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; } |
| } |
| |
| public class ActionToolbarElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionToolbar"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cActionToolbarAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cToolbarKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cNameIDTerminalRuleCall_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 cItemsKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); |
| private final Assignment cActionsAssignment_4_2 = (Assignment)cGroup_4.eContents().get(2); |
| private final RuleCall cActionsActionButtonParserRuleCall_4_2_0 = (RuleCall)cActionsAssignment_4_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4_3 = (Keyword)cGroup_4.eContents().get(3); |
| |
| //ActionToolbar: |
| // {ActionToolbar} "toolbar" name=ID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("items" "{" |
| // actions+=ActionButton* "}")?; |
| public ParserRule getRule() { return rule; } |
| |
| //{ActionToolbar} "toolbar" name=ID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("items" "{" |
| //actions+=ActionButton* "}")? |
| public Group getGroup() { return cGroup; } |
| |
| //{ActionToolbar} |
| public Action getActionToolbarAction_0() { return cActionToolbarAction_0; } |
| |
| //"toolbar" |
| public Keyword getToolbarKeyword_1() { return cToolbarKeyword_1; } |
| |
| //name=ID |
| public Assignment getNameAssignment_2() { return cNameAssignment_2; } |
| |
| //ID |
| public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_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; } |
| |
| //("items" "{" actions+=ActionButton* "}")? |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //"items" |
| public Keyword getItemsKeyword_4_0() { return cItemsKeyword_4_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_4_1() { return cLeftCurlyBracketKeyword_4_1; } |
| |
| //actions+=ActionButton* |
| public Assignment getActionsAssignment_4_2() { return cActionsAssignment_4_2; } |
| |
| //ActionButton |
| public RuleCall getActionsActionButtonParserRuleCall_4_2_0() { return cActionsActionButtonParserRuleCall_4_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4_3() { return cRightCurlyBracketKeyword_4_3; } |
| } |
| |
| public class ActionButtonElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionButton"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cActionButtonAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cItemKeyword_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 cIconKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); |
| private final Assignment cIconURIAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); |
| private final RuleCall cIconURISTRINGTerminalRuleCall_4_1_0 = (RuleCall)cIconURIAssignment_4_1.eContents().get(0); |
| 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 cGroupKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); |
| private final Assignment cGroupAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); |
| private final CrossReference cGroupFunctionLibraryGroupCrossReference_5_0_1_0 = (CrossReference)cGroupAssignment_5_0_1.eContents().get(0); |
| private final RuleCall cGroupFunctionLibraryGroupIDTerminalRuleCall_5_0_1_0_1 = (RuleCall)cGroupFunctionLibraryGroupCrossReference_5_0_1_0.eContents().get(1); |
| private final Group cGroup_5_0_2 = (Group)cGroup_5_0.eContents().get(2); |
| private final Keyword cCanExecuteKeyword_5_0_2_0 = (Keyword)cGroup_5_0_2.eContents().get(0); |
| private final Assignment cCanexecuteAssignment_5_0_2_1 = (Assignment)cGroup_5_0_2.eContents().get(1); |
| private final CrossReference cCanexecuteFunctionLibraryFunctionCrossReference_5_0_2_1_0 = (CrossReference)cCanexecuteAssignment_5_0_2_1.eContents().get(0); |
| private final RuleCall cCanexecuteFunctionLibraryFunctionIDTerminalRuleCall_5_0_2_1_0_1 = (RuleCall)cCanexecuteFunctionLibraryFunctionCrossReference_5_0_2_1_0.eContents().get(1); |
| private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1); |
| private final Keyword cExecuteParameterKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0); |
| private final Assignment cExecuteparameterAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1); |
| private final CrossReference cExecuteparameterFunctionLibraryFunctionCrossReference_5_1_1_0 = (CrossReference)cExecuteparameterAssignment_5_1_1.eContents().get(0); |
| private final RuleCall cExecuteparameterFunctionLibraryFunctionIDTerminalRuleCall_5_1_1_0_1 = (RuleCall)cExecuteparameterFunctionLibraryFunctionCrossReference_5_1_1_0.eContents().get(1); |
| private final Assignment cActionTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final RuleCall cActionTypeActionTypeParserRuleCall_6_0 = (RuleCall)cActionTypeAssignment_6.eContents().get(0); |
| private final Group cGroup_7 = (Group)cGroup.eContents().get(7); |
| private final Keyword cMessageKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); |
| private final Assignment cMessageAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); |
| private final CrossReference cMessageMessageItemCrossReference_7_1_0 = (CrossReference)cMessageAssignment_7_1.eContents().get(0); |
| private final RuleCall cMessageMessageItemQualifiedNameParserRuleCall_7_1_0_1 = (RuleCall)cMessageMessageItemCrossReference_7_1_0.eContents().get(1); |
| |
| //ActionButton: |
| // {ActionButton} "item" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("icon" |
| // iconURI=STRING)? ("group" group=[func::FunctionLibraryGroup] ("canExecute" |
| // canexecute=[func::FunctionLibraryFunction])? & ("executeParameter" |
| // executeparameter=[func::FunctionLibraryFunction])?)? actionType=ActionType ("message" |
| // message=[msg::MessageItem|QualifiedName])?; |
| public ParserRule getRule() { return rule; } |
| |
| //{ActionButton} "item" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("icon" |
| //iconURI=STRING)? ("group" group=[func::FunctionLibraryGroup] ("canExecute" |
| //canexecute=[func::FunctionLibraryFunction])? & ("executeParameter" |
| //executeparameter=[func::FunctionLibraryFunction])?)? actionType=ActionType ("message" |
| //message=[msg::MessageItem|QualifiedName])? |
| public Group getGroup() { return cGroup; } |
| |
| //{ActionButton} |
| public Action getActionButtonAction_0() { return cActionButtonAction_0; } |
| |
| //"item" |
| public Keyword getItemKeyword_1() { return cItemKeyword_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; } |
| |
| //("icon" iconURI=STRING)? |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //"icon" |
| public Keyword getIconKeyword_4_0() { return cIconKeyword_4_0; } |
| |
| //iconURI=STRING |
| public Assignment getIconURIAssignment_4_1() { return cIconURIAssignment_4_1; } |
| |
| //STRING |
| public RuleCall getIconURISTRINGTerminalRuleCall_4_1_0() { return cIconURISTRINGTerminalRuleCall_4_1_0; } |
| |
| //("group" group=[func::FunctionLibraryGroup] ("canExecute" canexecute=[func::FunctionLibraryFunction])? & |
| //("executeParameter" executeparameter=[func::FunctionLibraryFunction])?)? |
| public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } |
| |
| //"group" group=[func::FunctionLibraryGroup] ("canExecute" canexecute=[func::FunctionLibraryFunction])? |
| public Group getGroup_5_0() { return cGroup_5_0; } |
| |
| //"group" |
| public Keyword getGroupKeyword_5_0_0() { return cGroupKeyword_5_0_0; } |
| |
| //group=[func::FunctionLibraryGroup] |
| public Assignment getGroupAssignment_5_0_1() { return cGroupAssignment_5_0_1; } |
| |
| //[func::FunctionLibraryGroup] |
| public CrossReference getGroupFunctionLibraryGroupCrossReference_5_0_1_0() { return cGroupFunctionLibraryGroupCrossReference_5_0_1_0; } |
| |
| //ID |
| public RuleCall getGroupFunctionLibraryGroupIDTerminalRuleCall_5_0_1_0_1() { return cGroupFunctionLibraryGroupIDTerminalRuleCall_5_0_1_0_1; } |
| |
| //("canExecute" canexecute=[func::FunctionLibraryFunction])? |
| public Group getGroup_5_0_2() { return cGroup_5_0_2; } |
| |
| //"canExecute" |
| public Keyword getCanExecuteKeyword_5_0_2_0() { return cCanExecuteKeyword_5_0_2_0; } |
| |
| //canexecute=[func::FunctionLibraryFunction] |
| public Assignment getCanexecuteAssignment_5_0_2_1() { return cCanexecuteAssignment_5_0_2_1; } |
| |
| //[func::FunctionLibraryFunction] |
| public CrossReference getCanexecuteFunctionLibraryFunctionCrossReference_5_0_2_1_0() { return cCanexecuteFunctionLibraryFunctionCrossReference_5_0_2_1_0; } |
| |
| //ID |
| public RuleCall getCanexecuteFunctionLibraryFunctionIDTerminalRuleCall_5_0_2_1_0_1() { return cCanexecuteFunctionLibraryFunctionIDTerminalRuleCall_5_0_2_1_0_1; } |
| |
| //("executeParameter" executeparameter=[func::FunctionLibraryFunction])? |
| public Group getGroup_5_1() { return cGroup_5_1; } |
| |
| //"executeParameter" |
| public Keyword getExecuteParameterKeyword_5_1_0() { return cExecuteParameterKeyword_5_1_0; } |
| |
| //executeparameter=[func::FunctionLibraryFunction] |
| public Assignment getExecuteparameterAssignment_5_1_1() { return cExecuteparameterAssignment_5_1_1; } |
| |
| //[func::FunctionLibraryFunction] |
| public CrossReference getExecuteparameterFunctionLibraryFunctionCrossReference_5_1_1_0() { return cExecuteparameterFunctionLibraryFunctionCrossReference_5_1_1_0; } |
| |
| //ID |
| public RuleCall getExecuteparameterFunctionLibraryFunctionIDTerminalRuleCall_5_1_1_0_1() { return cExecuteparameterFunctionLibraryFunctionIDTerminalRuleCall_5_1_1_0_1; } |
| |
| //actionType=ActionType |
| public Assignment getActionTypeAssignment_6() { return cActionTypeAssignment_6; } |
| |
| //ActionType |
| public RuleCall getActionTypeActionTypeParserRuleCall_6_0() { return cActionTypeActionTypeParserRuleCall_6_0; } |
| |
| //("message" message=[msg::MessageItem|QualifiedName])? |
| public Group getGroup_7() { return cGroup_7; } |
| |
| //"message" |
| public Keyword getMessageKeyword_7_0() { return cMessageKeyword_7_0; } |
| |
| //message=[msg::MessageItem|QualifiedName] |
| public Assignment getMessageAssignment_7_1() { return cMessageAssignment_7_1; } |
| |
| //[msg::MessageItem|QualifiedName] |
| public CrossReference getMessageMessageItemCrossReference_7_1_0() { return cMessageMessageItemCrossReference_7_1_0; } |
| |
| //QualifiedName |
| public RuleCall getMessageMessageItemQualifiedNameParserRuleCall_7_1_0_1() { return cMessageMessageItemQualifiedNameParserRuleCall_7_1_0_1; } |
| } |
| |
| public class ActionTypeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionType"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cActionTaskParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cActionSelectWorkloadParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| private final RuleCall cActionDialogParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); |
| private final RuleCall cActionReportParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); |
| private final RuleCall cActionChartParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); |
| private final RuleCall cActionWorkflowParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); |
| private final RuleCall cActionGenericParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); |
| private final RuleCall cActionDatainterchangeParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7); |
| |
| //ActionType: |
| // ActionTask | ActionSelectWorkload | ActionDialog | ActionReport | ActionChart | ActionWorkflow | ActionGeneric | |
| // ActionDatainterchange; |
| public ParserRule getRule() { return rule; } |
| |
| //ActionTask | ActionSelectWorkload | ActionDialog | ActionReport | ActionChart | ActionWorkflow | ActionGeneric | |
| //ActionDatainterchange |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //ActionTask |
| public RuleCall getActionTaskParserRuleCall_0() { return cActionTaskParserRuleCall_0; } |
| |
| //ActionSelectWorkload |
| public RuleCall getActionSelectWorkloadParserRuleCall_1() { return cActionSelectWorkloadParserRuleCall_1; } |
| |
| //ActionDialog |
| public RuleCall getActionDialogParserRuleCall_2() { return cActionDialogParserRuleCall_2; } |
| |
| //ActionReport |
| public RuleCall getActionReportParserRuleCall_3() { return cActionReportParserRuleCall_3; } |
| |
| //ActionChart |
| public RuleCall getActionChartParserRuleCall_4() { return cActionChartParserRuleCall_4; } |
| |
| //ActionWorkflow |
| public RuleCall getActionWorkflowParserRuleCall_5() { return cActionWorkflowParserRuleCall_5; } |
| |
| //ActionGeneric |
| public RuleCall getActionGenericParserRuleCall_6() { return cActionGenericParserRuleCall_6; } |
| |
| //ActionDatainterchange |
| public RuleCall getActionDatainterchangeParserRuleCall_7() { return cActionDatainterchangeParserRuleCall_7; } |
| } |
| |
| public class ActionTaskElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionTask"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cTaskActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionTaskActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionTask: |
| // "taskAction" action=TaskActionEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //"taskAction" action=TaskActionEnum |
| public Group getGroup() { return cGroup; } |
| |
| //"taskAction" |
| public Keyword getTaskActionKeyword_0() { return cTaskActionKeyword_0; } |
| |
| //action=TaskActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //TaskActionEnum |
| public RuleCall getActionTaskActionEnumEnumRuleCall_1_0() { return cActionTaskActionEnumEnumRuleCall_1_0; } |
| } |
| |
| public class ActionSelectWorkloadElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionSelectWorkload"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cSelectWorkloadActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionSelectWorkloadActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionSelectWorkload: |
| // "selectWorkloadAction" action=SelectWorkloadActionEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //"selectWorkloadAction" action=SelectWorkloadActionEnum |
| public Group getGroup() { return cGroup; } |
| |
| //"selectWorkloadAction" |
| public Keyword getSelectWorkloadActionKeyword_0() { return cSelectWorkloadActionKeyword_0; } |
| |
| //action=SelectWorkloadActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //SelectWorkloadActionEnum |
| public RuleCall getActionSelectWorkloadActionEnumEnumRuleCall_1_0() { return cActionSelectWorkloadActionEnumEnumRuleCall_1_0; } |
| } |
| |
| public class ActionDialogElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionDialog"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cDialogActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionDialogActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionDialog: |
| // "dialogAction" action=DialogActionEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //"dialogAction" action=DialogActionEnum |
| public Group getGroup() { return cGroup; } |
| |
| //"dialogAction" |
| public Keyword getDialogActionKeyword_0() { return cDialogActionKeyword_0; } |
| |
| //action=DialogActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //DialogActionEnum |
| public RuleCall getActionDialogActionEnumEnumRuleCall_1_0() { return cActionDialogActionEnumEnumRuleCall_1_0; } |
| } |
| |
| public class ActionReportElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionReport"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cReportActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionReportActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionReport: |
| // "reportAction" action=ReportActionEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //"reportAction" action=ReportActionEnum |
| public Group getGroup() { return cGroup; } |
| |
| //"reportAction" |
| public Keyword getReportActionKeyword_0() { return cReportActionKeyword_0; } |
| |
| //action=ReportActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //ReportActionEnum |
| public RuleCall getActionReportActionEnumEnumRuleCall_1_0() { return cActionReportActionEnumEnumRuleCall_1_0; } |
| } |
| |
| public class ActionChartElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionChart"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cChartActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionChartActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionChart: |
| // "chartAction" action=ChartActionEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //"chartAction" action=ChartActionEnum |
| public Group getGroup() { return cGroup; } |
| |
| //"chartAction" |
| public Keyword getChartActionKeyword_0() { return cChartActionKeyword_0; } |
| |
| //action=ChartActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //ChartActionEnum |
| public RuleCall getActionChartActionEnumEnumRuleCall_1_0() { return cActionChartActionEnumEnumRuleCall_1_0; } |
| } |
| |
| public class ActionWorkflowElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionWorkflow"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cWorkflowActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionWorkflowActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionWorkflow: |
| // "workflowAction" action=WorkflowActionEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //"workflowAction" action=WorkflowActionEnum |
| public Group getGroup() { return cGroup; } |
| |
| //"workflowAction" |
| public Keyword getWorkflowActionKeyword_0() { return cWorkflowActionKeyword_0; } |
| |
| //action=WorkflowActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //WorkflowActionEnum |
| public RuleCall getActionWorkflowActionEnumEnumRuleCall_1_0() { return cActionWorkflowActionEnumEnumRuleCall_1_0; } |
| } |
| |
| public class ActionDatainterchangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionDatainterchange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cDatainterchangeActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionDatainterchangeActionEnumEnumRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| private final Assignment cDataRefAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cDataRefDataInterchangeCrossReference_2_0 = (CrossReference)cDataRefAssignment_2.eContents().get(0); |
| private final RuleCall cDataRefDataInterchangeIDTerminalRuleCall_2_0_1 = (RuleCall)cDataRefDataInterchangeCrossReference_2_0.eContents().get(1); |
| |
| //ActionDatainterchange: |
| // "datainterchangeAction" action=DatainterchangeActionEnum dataRef=[data::DataInterchange]; |
| public ParserRule getRule() { return rule; } |
| |
| //"datainterchangeAction" action=DatainterchangeActionEnum dataRef=[data::DataInterchange] |
| public Group getGroup() { return cGroup; } |
| |
| //"datainterchangeAction" |
| public Keyword getDatainterchangeActionKeyword_0() { return cDatainterchangeActionKeyword_0; } |
| |
| //action=DatainterchangeActionEnum |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //DatainterchangeActionEnum |
| public RuleCall getActionDatainterchangeActionEnumEnumRuleCall_1_0() { return cActionDatainterchangeActionEnumEnumRuleCall_1_0; } |
| |
| //dataRef=[data::DataInterchange] |
| public Assignment getDataRefAssignment_2() { return cDataRefAssignment_2; } |
| |
| //[data::DataInterchange] |
| public CrossReference getDataRefDataInterchangeCrossReference_2_0() { return cDataRefDataInterchangeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getDataRefDataInterchangeIDTerminalRuleCall_2_0_1() { return cDataRefDataInterchangeIDTerminalRuleCall_2_0_1; } |
| } |
| |
| public class ActionGenericElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionGeneric"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cGenericActionKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cActionAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cActionSTRINGTerminalRuleCall_1_0 = (RuleCall)cActionAssignment_1.eContents().get(0); |
| |
| //ActionGeneric: |
| // "genericAction" action=STRING; |
| public ParserRule getRule() { return rule; } |
| |
| //"genericAction" action=STRING |
| public Group getGroup() { return cGroup; } |
| |
| //"genericAction" |
| public Keyword getGenericActionKeyword_0() { return cGenericActionKeyword_0; } |
| |
| //action=STRING |
| public Assignment getActionAssignment_1() { return cActionAssignment_1; } |
| |
| //STRING |
| public RuleCall getActionSTRINGTerminalRuleCall_1_0() { return cActionSTRINGTerminalRuleCall_1_0; } |
| } |
| |
| public class ActionParameterElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionParameter"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cActionParameterAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cParameterKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cParameterAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cParameterFunctionLibraryParameterCrossReference_2_0 = (CrossReference)cParameterAssignment_2.eContents().get(0); |
| private final RuleCall cParameterFunctionLibraryParameterIDTerminalRuleCall_2_0_1 = (RuleCall)cParameterFunctionLibraryParameterCrossReference_2_0.eContents().get(1); |
| |
| //ActionParameter: |
| // {ActionParameter} "parameter" parameter=[func::FunctionLibraryParameter]; |
| public ParserRule getRule() { return rule; } |
| |
| //{ActionParameter} "parameter" parameter=[func::FunctionLibraryParameter] |
| public Group getGroup() { return cGroup; } |
| |
| //{ActionParameter} |
| public Action getActionParameterAction_0() { return cActionParameterAction_0; } |
| |
| //"parameter" |
| public Keyword getParameterKeyword_1() { return cParameterKeyword_1; } |
| |
| //parameter=[func::FunctionLibraryParameter] |
| public Assignment getParameterAssignment_2() { return cParameterAssignment_2; } |
| |
| //[func::FunctionLibraryParameter] |
| public CrossReference getParameterFunctionLibraryParameterCrossReference_2_0() { return cParameterFunctionLibraryParameterCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getParameterFunctionLibraryParameterIDTerminalRuleCall_2_0_1() { return cParameterFunctionLibraryParameterIDTerminalRuleCall_2_0_1; } |
| } |
| |
| public class ActionImportElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionImport"); |
| 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 cImportedNamespaceActionQualifiedNameWithWildCardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0); |
| |
| //ActionImport returns types::LImport: |
| // "import" importedNamespace=ActionQualifiedNameWithWildCard; |
| public ParserRule getRule() { return rule; } |
| |
| //"import" importedNamespace=ActionQualifiedNameWithWildCard |
| public Group getGroup() { return cGroup; } |
| |
| //"import" |
| public Keyword getImportKeyword_0() { return cImportKeyword_0; } |
| |
| //importedNamespace=ActionQualifiedNameWithWildCard |
| public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; } |
| |
| //ActionQualifiedNameWithWildCard |
| public RuleCall getImportedNamespaceActionQualifiedNameWithWildCardParserRuleCall_1_0() { return cImportedNamespaceActionQualifiedNameWithWildCardParserRuleCall_1_0; } |
| } |
| |
| public class SignedNumberElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SignedNumber"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final RuleCall cNumberParserRuleCall_1 = (RuleCall)cGroup.eContents().get(1); |
| |
| //SignedNumber returns ecore::EDouble: |
| // "-"? Number; |
| public ParserRule getRule() { return rule; } |
| |
| //"-"? Number |
| public Group getGroup() { return cGroup; } |
| |
| //"-"? |
| public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } |
| |
| //Number |
| public RuleCall getNumberParserRuleCall_1() { return cNumberParserRuleCall_1; } |
| } |
| |
| public class ActionQualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionQualifiedNameWithWildCard"); |
| 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); |
| |
| //ActionQualifiedNameWithWildCard: |
| // 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 TaskActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "TaskActionEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cTASK_ACTION_CLAIMEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cTASK_ACTION_CLAIMClaimKeyword_0_0 = (Keyword)cTASK_ACTION_CLAIMEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_STARTEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cTASK_ACTION_STARTStartKeyword_1_0 = (Keyword)cTASK_ACTION_STARTEnumLiteralDeclaration_1.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_STOPEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); |
| private final Keyword cTASK_ACTION_STOPStopKeyword_2_0 = (Keyword)cTASK_ACTION_STOPEnumLiteralDeclaration_2.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_RELEASEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); |
| private final Keyword cTASK_ACTION_RELEASEReleaseKeyword_3_0 = (Keyword)cTASK_ACTION_RELEASEEnumLiteralDeclaration_3.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_SUSPENDEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); |
| private final Keyword cTASK_ACTION_SUSPENDSuspendKeyword_4_0 = (Keyword)cTASK_ACTION_SUSPENDEnumLiteralDeclaration_4.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_RESUMEEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); |
| private final Keyword cTASK_ACTION_RESUMEResumeKeyword_5_0 = (Keyword)cTASK_ACTION_RESUMEEnumLiteralDeclaration_5.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_SKIPEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); |
| private final Keyword cTASK_ACTION_SKIPSkipKeyword_6_0 = (Keyword)cTASK_ACTION_SKIPEnumLiteralDeclaration_6.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_COMPLETEEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); |
| private final Keyword cTASK_ACTION_COMPLETECompleteKeyword_7_0 = (Keyword)cTASK_ACTION_COMPLETEEnumLiteralDeclaration_7.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_DELEGATEEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); |
| private final Keyword cTASK_ACTION_DELEGATEDelegateKeyword_8_0 = (Keyword)cTASK_ACTION_DELEGATEEnumLiteralDeclaration_8.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_FORWARDEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); |
| private final Keyword cTASK_ACTION_FORWARDForwardKeyword_9_0 = (Keyword)cTASK_ACTION_FORWARDEnumLiteralDeclaration_9.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_FAILEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); |
| private final Keyword cTASK_ACTION_FAILFailKeyword_10_0 = (Keyword)cTASK_ACTION_FAILEnumLiteralDeclaration_10.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_REGISTEREnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); |
| private final Keyword cTASK_ACTION_REGISTERRegisterKeyword_11_0 = (Keyword)cTASK_ACTION_REGISTEREnumLiteralDeclaration_11.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_REMOVEEnumLiteralDeclaration_12 = (EnumLiteralDeclaration)cAlternatives.eContents().get(12); |
| private final Keyword cTASK_ACTION_REMOVERemoveKeyword_12_0 = (Keyword)cTASK_ACTION_REMOVEEnumLiteralDeclaration_12.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_ACTIVATEEnumLiteralDeclaration_13 = (EnumLiteralDeclaration)cAlternatives.eContents().get(13); |
| private final Keyword cTASK_ACTION_ACTIVATEActivateKeyword_13_0 = (Keyword)cTASK_ACTION_ACTIVATEEnumLiteralDeclaration_13.eContents().get(0); |
| private final EnumLiteralDeclaration cTASK_ACTION_EXITEnumLiteralDeclaration_14 = (EnumLiteralDeclaration)cAlternatives.eContents().get(14); |
| private final Keyword cTASK_ACTION_EXITExitKeyword_14_0 = (Keyword)cTASK_ACTION_EXITEnumLiteralDeclaration_14.eContents().get(0); |
| |
| //enum TaskActionEnum: |
| // TASK_ACTION_CLAIM="Claim" | TASK_ACTION_START="Start" | TASK_ACTION_STOP="Stop" | TASK_ACTION_RELEASE="Release" | |
| // TASK_ACTION_SUSPEND="Suspend" | TASK_ACTION_RESUME="Resume" | TASK_ACTION_SKIP="Skip" | |
| // TASK_ACTION_COMPLETE="Complete" | TASK_ACTION_DELEGATE="Delegate" | TASK_ACTION_FORWARD="Forward" | |
| // TASK_ACTION_FAIL="Fail" | TASK_ACTION_REGISTER="Register" | TASK_ACTION_REMOVE="Remove" | |
| // TASK_ACTION_ACTIVATE="Activate" | TASK_ACTION_EXIT="Exit"; |
| public EnumRule getRule() { return rule; } |
| |
| //TASK_ACTION_CLAIM="Claim" | TASK_ACTION_START="Start" | TASK_ACTION_STOP="Stop" | TASK_ACTION_RELEASE="Release" | |
| //TASK_ACTION_SUSPEND="Suspend" | TASK_ACTION_RESUME="Resume" | TASK_ACTION_SKIP="Skip" | |
| //TASK_ACTION_COMPLETE="Complete" | TASK_ACTION_DELEGATE="Delegate" | TASK_ACTION_FORWARD="Forward" | |
| //TASK_ACTION_FAIL="Fail" | TASK_ACTION_REGISTER="Register" | TASK_ACTION_REMOVE="Remove" | |
| //TASK_ACTION_ACTIVATE="Activate" | TASK_ACTION_EXIT="Exit" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //TASK_ACTION_CLAIM="Claim" |
| public EnumLiteralDeclaration getTASK_ACTION_CLAIMEnumLiteralDeclaration_0() { return cTASK_ACTION_CLAIMEnumLiteralDeclaration_0; } |
| |
| //"Claim" |
| public Keyword getTASK_ACTION_CLAIMClaimKeyword_0_0() { return cTASK_ACTION_CLAIMClaimKeyword_0_0; } |
| |
| //TASK_ACTION_START="Start" |
| public EnumLiteralDeclaration getTASK_ACTION_STARTEnumLiteralDeclaration_1() { return cTASK_ACTION_STARTEnumLiteralDeclaration_1; } |
| |
| //"Start" |
| public Keyword getTASK_ACTION_STARTStartKeyword_1_0() { return cTASK_ACTION_STARTStartKeyword_1_0; } |
| |
| //TASK_ACTION_STOP="Stop" |
| public EnumLiteralDeclaration getTASK_ACTION_STOPEnumLiteralDeclaration_2() { return cTASK_ACTION_STOPEnumLiteralDeclaration_2; } |
| |
| //"Stop" |
| public Keyword getTASK_ACTION_STOPStopKeyword_2_0() { return cTASK_ACTION_STOPStopKeyword_2_0; } |
| |
| //TASK_ACTION_RELEASE="Release" |
| public EnumLiteralDeclaration getTASK_ACTION_RELEASEEnumLiteralDeclaration_3() { return cTASK_ACTION_RELEASEEnumLiteralDeclaration_3; } |
| |
| //"Release" |
| public Keyword getTASK_ACTION_RELEASEReleaseKeyword_3_0() { return cTASK_ACTION_RELEASEReleaseKeyword_3_0; } |
| |
| //TASK_ACTION_SUSPEND="Suspend" |
| public EnumLiteralDeclaration getTASK_ACTION_SUSPENDEnumLiteralDeclaration_4() { return cTASK_ACTION_SUSPENDEnumLiteralDeclaration_4; } |
| |
| //"Suspend" |
| public Keyword getTASK_ACTION_SUSPENDSuspendKeyword_4_0() { return cTASK_ACTION_SUSPENDSuspendKeyword_4_0; } |
| |
| //TASK_ACTION_RESUME="Resume" |
| public EnumLiteralDeclaration getTASK_ACTION_RESUMEEnumLiteralDeclaration_5() { return cTASK_ACTION_RESUMEEnumLiteralDeclaration_5; } |
| |
| //"Resume" |
| public Keyword getTASK_ACTION_RESUMEResumeKeyword_5_0() { return cTASK_ACTION_RESUMEResumeKeyword_5_0; } |
| |
| //TASK_ACTION_SKIP="Skip" |
| public EnumLiteralDeclaration getTASK_ACTION_SKIPEnumLiteralDeclaration_6() { return cTASK_ACTION_SKIPEnumLiteralDeclaration_6; } |
| |
| //"Skip" |
| public Keyword getTASK_ACTION_SKIPSkipKeyword_6_0() { return cTASK_ACTION_SKIPSkipKeyword_6_0; } |
| |
| //TASK_ACTION_COMPLETE="Complete" |
| public EnumLiteralDeclaration getTASK_ACTION_COMPLETEEnumLiteralDeclaration_7() { return cTASK_ACTION_COMPLETEEnumLiteralDeclaration_7; } |
| |
| //"Complete" |
| public Keyword getTASK_ACTION_COMPLETECompleteKeyword_7_0() { return cTASK_ACTION_COMPLETECompleteKeyword_7_0; } |
| |
| //TASK_ACTION_DELEGATE="Delegate" |
| public EnumLiteralDeclaration getTASK_ACTION_DELEGATEEnumLiteralDeclaration_8() { return cTASK_ACTION_DELEGATEEnumLiteralDeclaration_8; } |
| |
| //"Delegate" |
| public Keyword getTASK_ACTION_DELEGATEDelegateKeyword_8_0() { return cTASK_ACTION_DELEGATEDelegateKeyword_8_0; } |
| |
| //TASK_ACTION_FORWARD="Forward" |
| public EnumLiteralDeclaration getTASK_ACTION_FORWARDEnumLiteralDeclaration_9() { return cTASK_ACTION_FORWARDEnumLiteralDeclaration_9; } |
| |
| //"Forward" |
| public Keyword getTASK_ACTION_FORWARDForwardKeyword_9_0() { return cTASK_ACTION_FORWARDForwardKeyword_9_0; } |
| |
| //TASK_ACTION_FAIL="Fail" |
| public EnumLiteralDeclaration getTASK_ACTION_FAILEnumLiteralDeclaration_10() { return cTASK_ACTION_FAILEnumLiteralDeclaration_10; } |
| |
| //"Fail" |
| public Keyword getTASK_ACTION_FAILFailKeyword_10_0() { return cTASK_ACTION_FAILFailKeyword_10_0; } |
| |
| //TASK_ACTION_REGISTER="Register" |
| public EnumLiteralDeclaration getTASK_ACTION_REGISTEREnumLiteralDeclaration_11() { return cTASK_ACTION_REGISTEREnumLiteralDeclaration_11; } |
| |
| //"Register" |
| public Keyword getTASK_ACTION_REGISTERRegisterKeyword_11_0() { return cTASK_ACTION_REGISTERRegisterKeyword_11_0; } |
| |
| //TASK_ACTION_REMOVE="Remove" |
| public EnumLiteralDeclaration getTASK_ACTION_REMOVEEnumLiteralDeclaration_12() { return cTASK_ACTION_REMOVEEnumLiteralDeclaration_12; } |
| |
| //"Remove" |
| public Keyword getTASK_ACTION_REMOVERemoveKeyword_12_0() { return cTASK_ACTION_REMOVERemoveKeyword_12_0; } |
| |
| //TASK_ACTION_ACTIVATE="Activate" |
| public EnumLiteralDeclaration getTASK_ACTION_ACTIVATEEnumLiteralDeclaration_13() { return cTASK_ACTION_ACTIVATEEnumLiteralDeclaration_13; } |
| |
| //"Activate" |
| public Keyword getTASK_ACTION_ACTIVATEActivateKeyword_13_0() { return cTASK_ACTION_ACTIVATEActivateKeyword_13_0; } |
| |
| //TASK_ACTION_EXIT="Exit" |
| public EnumLiteralDeclaration getTASK_ACTION_EXITEnumLiteralDeclaration_14() { return cTASK_ACTION_EXITEnumLiteralDeclaration_14; } |
| |
| //"Exit" |
| public Keyword getTASK_ACTION_EXITExitKeyword_14_0() { return cTASK_ACTION_EXITExitKeyword_14_0; } |
| } |
| |
| public class SelectWorkloadActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "SelectWorkloadActionEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cWORKLOAD_SELECT_ACTION_REMOVE_ALLEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cWORKLOAD_SELECT_ACTION_REMOVE_ALLRemoveAllKeyword_0_0 = (Keyword)cWORKLOAD_SELECT_ACTION_REMOVE_ALLEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cWORKLOAD_SELECT_ACTION_ADD_ALLEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cWORKLOAD_SELECT_ACTION_ADD_ALLAddAllKeyword_1_0 = (Keyword)cWORKLOAD_SELECT_ACTION_ADD_ALLEnumLiteralDeclaration_1.eContents().get(0); |
| |
| //enum SelectWorkloadActionEnum: |
| // WORKLOAD_SELECT_ACTION_REMOVE_ALL="RemoveAll" | WORKLOAD_SELECT_ACTION_ADD_ALL="AddAll"; |
| public EnumRule getRule() { return rule; } |
| |
| //WORKLOAD_SELECT_ACTION_REMOVE_ALL="RemoveAll" | WORKLOAD_SELECT_ACTION_ADD_ALL="AddAll" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //WORKLOAD_SELECT_ACTION_REMOVE_ALL="RemoveAll" |
| public EnumLiteralDeclaration getWORKLOAD_SELECT_ACTION_REMOVE_ALLEnumLiteralDeclaration_0() { return cWORKLOAD_SELECT_ACTION_REMOVE_ALLEnumLiteralDeclaration_0; } |
| |
| //"RemoveAll" |
| public Keyword getWORKLOAD_SELECT_ACTION_REMOVE_ALLRemoveAllKeyword_0_0() { return cWORKLOAD_SELECT_ACTION_REMOVE_ALLRemoveAllKeyword_0_0; } |
| |
| //WORKLOAD_SELECT_ACTION_ADD_ALL="AddAll" |
| public EnumLiteralDeclaration getWORKLOAD_SELECT_ACTION_ADD_ALLEnumLiteralDeclaration_1() { return cWORKLOAD_SELECT_ACTION_ADD_ALLEnumLiteralDeclaration_1; } |
| |
| //"AddAll" |
| public Keyword getWORKLOAD_SELECT_ACTION_ADD_ALLAddAllKeyword_1_0() { return cWORKLOAD_SELECT_ACTION_ADD_ALLAddAllKeyword_1_0; } |
| } |
| |
| public class DialogActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "DialogActionEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cDIALOG_ACTION_NEWEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cDIALOG_ACTION_NEWNewKeyword_0_0 = (Keyword)cDIALOG_ACTION_NEWEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cDIALOG_ACTION_SAVEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cDIALOG_ACTION_SAVESaveKeyword_1_0 = (Keyword)cDIALOG_ACTION_SAVEEnumLiteralDeclaration_1.eContents().get(0); |
| private final EnumLiteralDeclaration cDIALOG_ACTION_DELETEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); |
| private final Keyword cDIALOG_ACTION_DELETEDeleteKeyword_2_0 = (Keyword)cDIALOG_ACTION_DELETEEnumLiteralDeclaration_2.eContents().get(0); |
| private final EnumLiteralDeclaration cDIALOG_ACTION_CANCELEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); |
| private final Keyword cDIALOG_ACTION_CANCELCancelKeyword_3_0 = (Keyword)cDIALOG_ACTION_CANCELEnumLiteralDeclaration_3.eContents().get(0); |
| |
| //enum DialogActionEnum: |
| // DIALOG_ACTION_NEW="New" | DIALOG_ACTION_SAVE="Save" | DIALOG_ACTION_DELETE="Delete" | DIALOG_ACTION_CANCEL="Cancel"; |
| public EnumRule getRule() { return rule; } |
| |
| //DIALOG_ACTION_NEW="New" | DIALOG_ACTION_SAVE="Save" | DIALOG_ACTION_DELETE="Delete" | DIALOG_ACTION_CANCEL="Cancel" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //DIALOG_ACTION_NEW="New" |
| public EnumLiteralDeclaration getDIALOG_ACTION_NEWEnumLiteralDeclaration_0() { return cDIALOG_ACTION_NEWEnumLiteralDeclaration_0; } |
| |
| //"New" |
| public Keyword getDIALOG_ACTION_NEWNewKeyword_0_0() { return cDIALOG_ACTION_NEWNewKeyword_0_0; } |
| |
| //DIALOG_ACTION_SAVE="Save" |
| public EnumLiteralDeclaration getDIALOG_ACTION_SAVEEnumLiteralDeclaration_1() { return cDIALOG_ACTION_SAVEEnumLiteralDeclaration_1; } |
| |
| //"Save" |
| public Keyword getDIALOG_ACTION_SAVESaveKeyword_1_0() { return cDIALOG_ACTION_SAVESaveKeyword_1_0; } |
| |
| //DIALOG_ACTION_DELETE="Delete" |
| public EnumLiteralDeclaration getDIALOG_ACTION_DELETEEnumLiteralDeclaration_2() { return cDIALOG_ACTION_DELETEEnumLiteralDeclaration_2; } |
| |
| //"Delete" |
| public Keyword getDIALOG_ACTION_DELETEDeleteKeyword_2_0() { return cDIALOG_ACTION_DELETEDeleteKeyword_2_0; } |
| |
| //DIALOG_ACTION_CANCEL="Cancel" |
| public EnumLiteralDeclaration getDIALOG_ACTION_CANCELEnumLiteralDeclaration_3() { return cDIALOG_ACTION_CANCELEnumLiteralDeclaration_3; } |
| |
| //"Cancel" |
| public Keyword getDIALOG_ACTION_CANCELCancelKeyword_3_0() { return cDIALOG_ACTION_CANCELCancelKeyword_3_0; } |
| } |
| |
| public class ReportActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ReportActionEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cREPORT_ACTION_PRINT_ON_SERVER_PDFEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cREPORT_ACTION_PRINT_ON_SERVER_PDFPrintOnServerKeyword_0_0 = (Keyword)cREPORT_ACTION_PRINT_ON_SERVER_PDFEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cREPORT_ACTION_DOWNLOAD_PDFEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cREPORT_ACTION_DOWNLOAD_PDFDownloadKeyword_1_0 = (Keyword)cREPORT_ACTION_DOWNLOAD_PDFEnumLiteralDeclaration_1.eContents().get(0); |
| |
| //enum ReportActionEnum: |
| // REPORT_ACTION_PRINT_ON_SERVER_PDF="PrintOnServer" | REPORT_ACTION_DOWNLOAD_PDF="Download"; |
| public EnumRule getRule() { return rule; } |
| |
| //REPORT_ACTION_PRINT_ON_SERVER_PDF="PrintOnServer" | REPORT_ACTION_DOWNLOAD_PDF="Download" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //REPORT_ACTION_PRINT_ON_SERVER_PDF="PrintOnServer" |
| public EnumLiteralDeclaration getREPORT_ACTION_PRINT_ON_SERVER_PDFEnumLiteralDeclaration_0() { return cREPORT_ACTION_PRINT_ON_SERVER_PDFEnumLiteralDeclaration_0; } |
| |
| //"PrintOnServer" |
| public Keyword getREPORT_ACTION_PRINT_ON_SERVER_PDFPrintOnServerKeyword_0_0() { return cREPORT_ACTION_PRINT_ON_SERVER_PDFPrintOnServerKeyword_0_0; } |
| |
| //REPORT_ACTION_DOWNLOAD_PDF="Download" |
| public EnumLiteralDeclaration getREPORT_ACTION_DOWNLOAD_PDFEnumLiteralDeclaration_1() { return cREPORT_ACTION_DOWNLOAD_PDFEnumLiteralDeclaration_1; } |
| |
| //"Download" |
| public Keyword getREPORT_ACTION_DOWNLOAD_PDFDownloadKeyword_1_0() { return cREPORT_ACTION_DOWNLOAD_PDFDownloadKeyword_1_0; } |
| } |
| |
| public class ChartActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ChartActionEnum"); |
| private final EnumLiteralDeclaration cCHART_ACTION_DOWNLOADEnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); |
| private final Keyword cCHART_ACTION_DOWNLOADDownloadKeyword_0 = (Keyword)cCHART_ACTION_DOWNLOADEnumLiteralDeclaration.eContents().get(0); |
| |
| //enum ChartActionEnum: |
| // CHART_ACTION_DOWNLOAD="Download"; |
| public EnumRule getRule() { return rule; } |
| |
| //CHART_ACTION_DOWNLOAD="Download" |
| public EnumLiteralDeclaration getCHART_ACTION_DOWNLOADEnumLiteralDeclaration() { return cCHART_ACTION_DOWNLOADEnumLiteralDeclaration; } |
| |
| //"Download" |
| public Keyword getCHART_ACTION_DOWNLOADDownloadKeyword_0() { return cCHART_ACTION_DOWNLOADDownloadKeyword_0; } |
| } |
| |
| public class WorkflowActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "WorkflowActionEnum"); |
| private final EnumLiteralDeclaration cWORKFLOW_ACTION_STARTEnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); |
| private final Keyword cWORKFLOW_ACTION_STARTStartKeyword_0 = (Keyword)cWORKFLOW_ACTION_STARTEnumLiteralDeclaration.eContents().get(0); |
| |
| //enum WorkflowActionEnum: |
| // WORKFLOW_ACTION_START="Start"; |
| public EnumRule getRule() { return rule; } |
| |
| //WORKFLOW_ACTION_START="Start" |
| public EnumLiteralDeclaration getWORKFLOW_ACTION_STARTEnumLiteralDeclaration() { return cWORKFLOW_ACTION_STARTEnumLiteralDeclaration; } |
| |
| //"Start" |
| public Keyword getWORKFLOW_ACTION_STARTStartKeyword_0() { return cWORKFLOW_ACTION_STARTStartKeyword_0; } |
| } |
| |
| public class DatainterchangeActionEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "DatainterchangeActionEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cDATAINTERCHANGE_ACTION_IMPORTEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cDATAINTERCHANGE_ACTION_IMPORTImportKeyword_0_0 = (Keyword)cDATAINTERCHANGE_ACTION_IMPORTEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cDATAINTERCHANGE_ACTION_EXPORTEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cDATAINTERCHANGE_ACTION_EXPORTExportKeyword_1_0 = (Keyword)cDATAINTERCHANGE_ACTION_EXPORTEnumLiteralDeclaration_1.eContents().get(0); |
| |
| //enum DatainterchangeActionEnum: |
| // DATAINTERCHANGE_ACTION_IMPORT="Import" | DATAINTERCHANGE_ACTION_EXPORT="Export"; |
| public EnumRule getRule() { return rule; } |
| |
| //DATAINTERCHANGE_ACTION_IMPORT="Import" | DATAINTERCHANGE_ACTION_EXPORT="Export" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //DATAINTERCHANGE_ACTION_IMPORT="Import" |
| public EnumLiteralDeclaration getDATAINTERCHANGE_ACTION_IMPORTEnumLiteralDeclaration_0() { return cDATAINTERCHANGE_ACTION_IMPORTEnumLiteralDeclaration_0; } |
| |
| //"Import" |
| public Keyword getDATAINTERCHANGE_ACTION_IMPORTImportKeyword_0_0() { return cDATAINTERCHANGE_ACTION_IMPORTImportKeyword_0_0; } |
| |
| //DATAINTERCHANGE_ACTION_EXPORT="Export" |
| public EnumLiteralDeclaration getDATAINTERCHANGE_ACTION_EXPORTEnumLiteralDeclaration_1() { return cDATAINTERCHANGE_ACTION_EXPORTEnumLiteralDeclaration_1; } |
| |
| //"Export" |
| public Keyword getDATAINTERCHANGE_ACTION_EXPORTExportKeyword_1_0() { return cDATAINTERCHANGE_ACTION_EXPORTExportKeyword_1_0; } |
| } |
| |
| private final ActionModelElements pActionModel; |
| private final ActionPackageElements pActionPackage; |
| private final ActionToolbarElements pActionToolbar; |
| private final ActionButtonElements pActionButton; |
| private final ActionTypeElements pActionType; |
| private final ActionTaskElements pActionTask; |
| private final ActionSelectWorkloadElements pActionSelectWorkload; |
| private final ActionDialogElements pActionDialog; |
| private final ActionReportElements pActionReport; |
| private final ActionChartElements pActionChart; |
| private final ActionWorkflowElements pActionWorkflow; |
| private final ActionDatainterchangeElements pActionDatainterchange; |
| private final ActionGenericElements pActionGeneric; |
| private final ActionParameterElements pActionParameter; |
| private final ActionImportElements pActionImport; |
| private final SignedNumberElements pSignedNumber; |
| private final ActionQualifiedNameWithWildCardElements pActionQualifiedNameWithWildCard; |
| private final QualifiedNameElements pQualifiedName; |
| private final ValidIDElements pValidID; |
| private final TRANSLATABLEIDElements pTRANSLATABLEID; |
| private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING; |
| private final TaskActionEnumElements unknownRuleTaskActionEnum; |
| private final SelectWorkloadActionEnumElements unknownRuleSelectWorkloadActionEnum; |
| private final DialogActionEnumElements unknownRuleDialogActionEnum; |
| private final ReportActionEnumElements unknownRuleReportActionEnum; |
| private final ChartActionEnumElements unknownRuleChartActionEnum; |
| private final WorkflowActionEnumElements unknownRuleWorkflowActionEnum; |
| private final DatainterchangeActionEnumElements unknownRuleDatainterchangeActionEnum; |
| |
| private final Grammar grammar; |
| |
| private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations; |
| |
| @Inject |
| public ActionDSLGrammarAccess(GrammarProvider grammarProvider, |
| XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) { |
| this.grammar = internalFindGrammar(grammarProvider); |
| this.gaXbaseWithAnnotations = gaXbaseWithAnnotations; |
| this.pActionModel = new ActionModelElements(); |
| this.pActionPackage = new ActionPackageElements(); |
| this.pActionToolbar = new ActionToolbarElements(); |
| this.pActionButton = new ActionButtonElements(); |
| this.pActionType = new ActionTypeElements(); |
| this.pActionTask = new ActionTaskElements(); |
| this.pActionSelectWorkload = new ActionSelectWorkloadElements(); |
| this.pActionDialog = new ActionDialogElements(); |
| this.pActionReport = new ActionReportElements(); |
| this.pActionChart = new ActionChartElements(); |
| this.pActionWorkflow = new ActionWorkflowElements(); |
| this.pActionDatainterchange = new ActionDatainterchangeElements(); |
| this.pActionGeneric = new ActionGenericElements(); |
| this.pActionParameter = new ActionParameterElements(); |
| this.pActionImport = new ActionImportElements(); |
| this.pSignedNumber = new SignedNumberElements(); |
| this.pActionQualifiedNameWithWildCard = new ActionQualifiedNameWithWildCardElements(); |
| this.pQualifiedName = new QualifiedNameElements(); |
| this.pValidID = new ValidIDElements(); |
| this.pTRANSLATABLEID = new TRANSLATABLEIDElements(); |
| this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements(); |
| this.unknownRuleTaskActionEnum = new TaskActionEnumElements(); |
| this.unknownRuleSelectWorkloadActionEnum = new SelectWorkloadActionEnumElements(); |
| this.unknownRuleDialogActionEnum = new DialogActionEnumElements(); |
| this.unknownRuleReportActionEnum = new ReportActionEnumElements(); |
| this.unknownRuleChartActionEnum = new ChartActionEnumElements(); |
| this.unknownRuleWorkflowActionEnum = new WorkflowActionEnumElements(); |
| this.unknownRuleDatainterchangeActionEnum = new DatainterchangeActionEnumElements(); |
| } |
| |
| protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { |
| Grammar grammar = grammarProvider.getGrammar(this); |
| while (grammar != null) { |
| if ("org.eclipse.osbp.xtext.action.ActionDSL".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; |
| } |
| |
| |
| //ActionModel: |
| // packages+=ActionPackage*; |
| public ActionModelElements getActionModelAccess() { |
| return pActionModel; |
| } |
| |
| public ParserRule getActionModelRule() { |
| return getActionModelAccess().getRule(); |
| } |
| |
| //ActionPackage: |
| // {ActionPackage} "package" name=QualifiedName ("{" imports+=ActionImport* toolbars+=ActionToolbar* "}")?; |
| public ActionPackageElements getActionPackageAccess() { |
| return pActionPackage; |
| } |
| |
| public ParserRule getActionPackageRule() { |
| return getActionPackageAccess().getRule(); |
| } |
| |
| //ActionToolbar: |
| // {ActionToolbar} "toolbar" name=ID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("items" "{" |
| // actions+=ActionButton* "}")?; |
| public ActionToolbarElements getActionToolbarAccess() { |
| return pActionToolbar; |
| } |
| |
| public ParserRule getActionToolbarRule() { |
| return getActionToolbarAccess().getRule(); |
| } |
| |
| //ActionButton: |
| // {ActionButton} "item" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("icon" |
| // iconURI=STRING)? ("group" group=[func::FunctionLibraryGroup] ("canExecute" |
| // canexecute=[func::FunctionLibraryFunction])? & ("executeParameter" |
| // executeparameter=[func::FunctionLibraryFunction])?)? actionType=ActionType ("message" |
| // message=[msg::MessageItem|QualifiedName])?; |
| public ActionButtonElements getActionButtonAccess() { |
| return pActionButton; |
| } |
| |
| public ParserRule getActionButtonRule() { |
| return getActionButtonAccess().getRule(); |
| } |
| |
| //ActionType: |
| // ActionTask | ActionSelectWorkload | ActionDialog | ActionReport | ActionChart | ActionWorkflow | ActionGeneric | |
| // ActionDatainterchange; |
| public ActionTypeElements getActionTypeAccess() { |
| return pActionType; |
| } |
| |
| public ParserRule getActionTypeRule() { |
| return getActionTypeAccess().getRule(); |
| } |
| |
| //ActionTask: |
| // "taskAction" action=TaskActionEnum; |
| public ActionTaskElements getActionTaskAccess() { |
| return pActionTask; |
| } |
| |
| public ParserRule getActionTaskRule() { |
| return getActionTaskAccess().getRule(); |
| } |
| |
| //ActionSelectWorkload: |
| // "selectWorkloadAction" action=SelectWorkloadActionEnum; |
| public ActionSelectWorkloadElements getActionSelectWorkloadAccess() { |
| return pActionSelectWorkload; |
| } |
| |
| public ParserRule getActionSelectWorkloadRule() { |
| return getActionSelectWorkloadAccess().getRule(); |
| } |
| |
| //ActionDialog: |
| // "dialogAction" action=DialogActionEnum; |
| public ActionDialogElements getActionDialogAccess() { |
| return pActionDialog; |
| } |
| |
| public ParserRule getActionDialogRule() { |
| return getActionDialogAccess().getRule(); |
| } |
| |
| //ActionReport: |
| // "reportAction" action=ReportActionEnum; |
| public ActionReportElements getActionReportAccess() { |
| return pActionReport; |
| } |
| |
| public ParserRule getActionReportRule() { |
| return getActionReportAccess().getRule(); |
| } |
| |
| //ActionChart: |
| // "chartAction" action=ChartActionEnum; |
| public ActionChartElements getActionChartAccess() { |
| return pActionChart; |
| } |
| |
| public ParserRule getActionChartRule() { |
| return getActionChartAccess().getRule(); |
| } |
| |
| //ActionWorkflow: |
| // "workflowAction" action=WorkflowActionEnum; |
| public ActionWorkflowElements getActionWorkflowAccess() { |
| return pActionWorkflow; |
| } |
| |
| public ParserRule getActionWorkflowRule() { |
| return getActionWorkflowAccess().getRule(); |
| } |
| |
| //ActionDatainterchange: |
| // "datainterchangeAction" action=DatainterchangeActionEnum dataRef=[data::DataInterchange]; |
| public ActionDatainterchangeElements getActionDatainterchangeAccess() { |
| return pActionDatainterchange; |
| } |
| |
| public ParserRule getActionDatainterchangeRule() { |
| return getActionDatainterchangeAccess().getRule(); |
| } |
| |
| //ActionGeneric: |
| // "genericAction" action=STRING; |
| public ActionGenericElements getActionGenericAccess() { |
| return pActionGeneric; |
| } |
| |
| public ParserRule getActionGenericRule() { |
| return getActionGenericAccess().getRule(); |
| } |
| |
| //ActionParameter: |
| // {ActionParameter} "parameter" parameter=[func::FunctionLibraryParameter]; |
| public ActionParameterElements getActionParameterAccess() { |
| return pActionParameter; |
| } |
| |
| public ParserRule getActionParameterRule() { |
| return getActionParameterAccess().getRule(); |
| } |
| |
| //ActionImport returns types::LImport: |
| // "import" importedNamespace=ActionQualifiedNameWithWildCard; |
| public ActionImportElements getActionImportAccess() { |
| return pActionImport; |
| } |
| |
| public ParserRule getActionImportRule() { |
| return getActionImportAccess().getRule(); |
| } |
| |
| //SignedNumber returns ecore::EDouble: |
| // "-"? Number; |
| public SignedNumberElements getSignedNumberAccess() { |
| return pSignedNumber; |
| } |
| |
| public ParserRule getSignedNumberRule() { |
| return getSignedNumberAccess().getRule(); |
| } |
| |
| //ActionQualifiedNameWithWildCard: |
| // QualifiedName ("." "*")?; |
| public ActionQualifiedNameWithWildCardElements getActionQualifiedNameWithWildCardAccess() { |
| return pActionQualifiedNameWithWildCard; |
| } |
| |
| public ParserRule getActionQualifiedNameWithWildCardRule() { |
| return getActionQualifiedNameWithWildCardAccess().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 TaskActionEnum: |
| // TASK_ACTION_CLAIM="Claim" | TASK_ACTION_START="Start" | TASK_ACTION_STOP="Stop" | TASK_ACTION_RELEASE="Release" | |
| // TASK_ACTION_SUSPEND="Suspend" | TASK_ACTION_RESUME="Resume" | TASK_ACTION_SKIP="Skip" | |
| // TASK_ACTION_COMPLETE="Complete" | TASK_ACTION_DELEGATE="Delegate" | TASK_ACTION_FORWARD="Forward" | |
| // TASK_ACTION_FAIL="Fail" | TASK_ACTION_REGISTER="Register" | TASK_ACTION_REMOVE="Remove" | |
| // TASK_ACTION_ACTIVATE="Activate" | TASK_ACTION_EXIT="Exit"; |
| public TaskActionEnumElements getTaskActionEnumAccess() { |
| return unknownRuleTaskActionEnum; |
| } |
| |
| public EnumRule getTaskActionEnumRule() { |
| return getTaskActionEnumAccess().getRule(); |
| } |
| |
| //enum SelectWorkloadActionEnum: |
| // WORKLOAD_SELECT_ACTION_REMOVE_ALL="RemoveAll" | WORKLOAD_SELECT_ACTION_ADD_ALL="AddAll"; |
| public SelectWorkloadActionEnumElements getSelectWorkloadActionEnumAccess() { |
| return unknownRuleSelectWorkloadActionEnum; |
| } |
| |
| public EnumRule getSelectWorkloadActionEnumRule() { |
| return getSelectWorkloadActionEnumAccess().getRule(); |
| } |
| |
| //enum DialogActionEnum: |
| // DIALOG_ACTION_NEW="New" | DIALOG_ACTION_SAVE="Save" | DIALOG_ACTION_DELETE="Delete" | DIALOG_ACTION_CANCEL="Cancel"; |
| public DialogActionEnumElements getDialogActionEnumAccess() { |
| return unknownRuleDialogActionEnum; |
| } |
| |
| public EnumRule getDialogActionEnumRule() { |
| return getDialogActionEnumAccess().getRule(); |
| } |
| |
| //enum ReportActionEnum: |
| // REPORT_ACTION_PRINT_ON_SERVER_PDF="PrintOnServer" | REPORT_ACTION_DOWNLOAD_PDF="Download"; |
| public ReportActionEnumElements getReportActionEnumAccess() { |
| return unknownRuleReportActionEnum; |
| } |
| |
| public EnumRule getReportActionEnumRule() { |
| return getReportActionEnumAccess().getRule(); |
| } |
| |
| //enum ChartActionEnum: |
| // CHART_ACTION_DOWNLOAD="Download"; |
| public ChartActionEnumElements getChartActionEnumAccess() { |
| return unknownRuleChartActionEnum; |
| } |
| |
| public EnumRule getChartActionEnumRule() { |
| return getChartActionEnumAccess().getRule(); |
| } |
| |
| //enum WorkflowActionEnum: |
| // WORKFLOW_ACTION_START="Start"; |
| public WorkflowActionEnumElements getWorkflowActionEnumAccess() { |
| return unknownRuleWorkflowActionEnum; |
| } |
| |
| public EnumRule getWorkflowActionEnumRule() { |
| return getWorkflowActionEnumAccess().getRule(); |
| } |
| |
| //enum DatainterchangeActionEnum: |
| // DATAINTERCHANGE_ACTION_IMPORT="Import" | DATAINTERCHANGE_ACTION_EXPORT="Export"; |
| public DatainterchangeActionEnumElements getDatainterchangeActionEnumAccess() { |
| return unknownRuleDatainterchangeActionEnum; |
| } |
| |
| public EnumRule getDatainterchangeActionEnumRule() { |
| return getDatainterchangeActionEnumAccess().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(); |
| } |
| } |