ReqSpecGrammarAccess.java
/**
* Copyright (c) 2004-2025 Carnegie Mellon University and others. (see Contributors file).
* All Rights Reserved.
*
* NO WARRANTY. ALL MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE
* OR MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT
* MAKE ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
* SPDX-License-Identifier: EPL-2.0
*
* Created, in part, with funding and support from the United States Government. (see Acknowledgments file).
*
* This program includes and/or can make use of certain third party source code, object code, documentation and other
* files ("Third Party Software"). The Third Party Software that is used by this program is dependent upon your system
* configuration. By using this program, You agree to comply with any and all relevant Third Party Software terms and
* conditions contained in any such Third Party Software or separate license file distributed with such Third Party
* Software. The parties who own the Third Party Software ("Third Party Licensors") are intended third party benefici-
* aries to this license with respect to the terms applicable to their Third Party Software. Third Party Software li-
* censes only apply to the Third Party Software and not any other portion of this program or this program as a whole.
*/
package org.osate.reqspec.services;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import java.util.List;
import org.eclipse.xtext.Action;
import org.eclipse.xtext.Alternatives;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.CrossReference;
import org.eclipse.xtext.EnumRule;
import org.eclipse.xtext.Grammar;
import org.eclipse.xtext.GrammarUtil;
import org.eclipse.xtext.Group;
import org.eclipse.xtext.Keyword;
import org.eclipse.xtext.ParserRule;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.TerminalRule;
import org.eclipse.xtext.UnorderedGroup;
import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
import org.osate.alisa.common.services.CommonGrammarAccess;
@Singleton
public class ReqSpecGrammarAccess extends AbstractGrammarElementFinder {
public class ReqSpecElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ReqSpec");
private final Assignment cPartsAssignment = (Assignment)rule.eContents().get(1);
private final Alternatives cPartsAlternatives_0 = (Alternatives)cPartsAssignment.eContents().get(0);
private final RuleCall cPartsSystemRequirementSetParserRuleCall_0_0 = (RuleCall)cPartsAlternatives_0.eContents().get(0);
private final RuleCall cPartsGlobalRequirementSetParserRuleCall_0_1 = (RuleCall)cPartsAlternatives_0.eContents().get(1);
private final RuleCall cPartsStakeholderGoalsParserRuleCall_0_2 = (RuleCall)cPartsAlternatives_0.eContents().get(2);
private final RuleCall cPartsReqDocumentParserRuleCall_0_3 = (RuleCall)cPartsAlternatives_0.eContents().get(3);
private final RuleCall cPartsGlobalConstantsParserRuleCall_0_4 = (RuleCall)cPartsAlternatives_0.eContents().get(4);
//ReqSpec:
// parts+=(SystemRequirementSet | GlobalRequirementSet | StakeholderGoals | ReqDocument | GlobalConstants)+;
@Override public ParserRule getRule() { return rule; }
//parts+=(SystemRequirementSet | GlobalRequirementSet | StakeholderGoals | ReqDocument | GlobalConstants)+
public Assignment getPartsAssignment() { return cPartsAssignment; }
//(SystemRequirementSet | GlobalRequirementSet | StakeholderGoals | ReqDocument | GlobalConstants)
public Alternatives getPartsAlternatives_0() { return cPartsAlternatives_0; }
//SystemRequirementSet
public RuleCall getPartsSystemRequirementSetParserRuleCall_0_0() { return cPartsSystemRequirementSetParserRuleCall_0_0; }
//GlobalRequirementSet
public RuleCall getPartsGlobalRequirementSetParserRuleCall_0_1() { return cPartsGlobalRequirementSetParserRuleCall_0_1; }
//StakeholderGoals
public RuleCall getPartsStakeholderGoalsParserRuleCall_0_2() { return cPartsStakeholderGoalsParserRuleCall_0_2; }
//ReqDocument
public RuleCall getPartsReqDocumentParserRuleCall_0_3() { return cPartsReqDocumentParserRuleCall_0_3; }
//GlobalConstants
public RuleCall getPartsGlobalConstantsParserRuleCall_0_4() { return cPartsGlobalConstantsParserRuleCall_0_4; }
}
public class GlobalConstantsElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.GlobalConstants");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cConstantsKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cConstantsAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cConstantsValDeclarationParserRuleCall_3_0 = (RuleCall)cConstantsAssignment_3.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
////ReqSpecContainer: SystemRequirements | GlobalRequirements | StakeholderGoals | ReqDocument | DocumentSection ;
//GlobalConstants:
// 'constants' name=QualifiedName '['
// constants+=ValDeclaration* ']';
@Override public ParserRule getRule() { return rule; }
//'constants' name=QualifiedName '[' constants+=ValDeclaration* ']'
public Group getGroup() { return cGroup; }
//'constants'
public Keyword getConstantsKeyword_0() { return cConstantsKeyword_0; }
//name=QualifiedName
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; }
//'['
public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; }
//constants+=ValDeclaration*
public Assignment getConstantsAssignment_3() { return cConstantsAssignment_3; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_3_0() { return cConstantsValDeclarationParserRuleCall_3_0; }
//']'
public Keyword getRightSquareBracketKeyword_4() { return cRightSquareBracketKeyword_4; }
}
public class ContractualElementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ContractualElement");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cGoalParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cSystemRequirementParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//ContractualElement:
// Goal | SystemRequirement;
@Override public ParserRule getRule() { return rule; }
//Goal | SystemRequirement
public Alternatives getAlternatives() { return cAlternatives; }
//Goal
public RuleCall getGoalParserRuleCall_0() { return cGoalParserRuleCall_0; }
//SystemRequirement
public RuleCall getSystemRequirementParserRuleCall_1() { return cSystemRequirementParserRuleCall_1; }
}
public class ReqRootElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ReqRoot");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cStakeholderGoalsParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cReqDocumentParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cSystemRequirementSetParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
private final RuleCall cGlobalRequirementSetParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
//ReqRoot:
// StakeholderGoals | ReqDocument | SystemRequirementSet | GlobalRequirementSet;
@Override public ParserRule getRule() { return rule; }
//StakeholderGoals | ReqDocument | SystemRequirementSet | GlobalRequirementSet
public Alternatives getAlternatives() { return cAlternatives; }
//StakeholderGoals
public RuleCall getStakeholderGoalsParserRuleCall_0() { return cStakeholderGoalsParserRuleCall_0; }
//ReqDocument
public RuleCall getReqDocumentParserRuleCall_1() { return cReqDocumentParserRuleCall_1; }
//SystemRequirementSet
public RuleCall getSystemRequirementSetParserRuleCall_2() { return cSystemRequirementSetParserRuleCall_2; }
//GlobalRequirementSet
public RuleCall getGlobalRequirementSetParserRuleCall_3() { return cGlobalRequirementSetParserRuleCall_3; }
}
public class StakeholderGoalsElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.StakeholderGoals");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cStakeholderKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Keyword cGoalsKeyword_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 cColonKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cTitleAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cTitleAssignment_3_1.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cForKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Alternatives cAlternatives_4_1 = (Alternatives)cGroup_4.eContents().get(1);
private final Assignment cTargetAssignment_4_1_0 = (Assignment)cAlternatives_4_1.eContents().get(0);
private final CrossReference cTargetComponentClassifierCrossReference_4_1_0_0 = (CrossReference)cTargetAssignment_4_1_0.eContents().get(0);
private final RuleCall cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_4_1_0_0_1 = (RuleCall)cTargetComponentClassifierCrossReference_4_1_0_0.eContents().get(1);
private final Assignment cComponentCategoryAssignment_4_1_1 = (Assignment)cAlternatives_4_1.eContents().get(1);
private final RuleCall cComponentCategoryComponentCategoryParserRuleCall_4_1_1_0 = (RuleCall)cComponentCategoryAssignment_4_1_1.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cUseKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Keyword cConstantsKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1);
private final Assignment cImportConstantsAssignment_5_2 = (Assignment)cGroup_5.eContents().get(2);
private final CrossReference cImportConstantsGlobalConstantsCrossReference_5_2_0 = (CrossReference)cImportConstantsAssignment_5_2.eContents().get(0);
private final RuleCall cImportConstantsGlobalConstantsQualifiedNameParserRuleCall_5_2_0_1 = (RuleCall)cImportConstantsGlobalConstantsCrossReference_5_2_0.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
private final UnorderedGroup cUnorderedGroup_7 = (UnorderedGroup)cGroup.eContents().get(7);
private final Assignment cDescriptionAssignment_7_0 = (Assignment)cUnorderedGroup_7.eContents().get(0);
private final RuleCall cDescriptionDescriptionParserRuleCall_7_0_0 = (RuleCall)cDescriptionAssignment_7_0.eContents().get(0);
private final Assignment cConstantsAssignment_7_1 = (Assignment)cUnorderedGroup_7.eContents().get(1);
private final RuleCall cConstantsValDeclarationParserRuleCall_7_1_0 = (RuleCall)cConstantsAssignment_7_1.eContents().get(0);
private final Assignment cGoalsAssignment_7_2 = (Assignment)cUnorderedGroup_7.eContents().get(2);
private final RuleCall cGoalsGoalParserRuleCall_7_2_0 = (RuleCall)cGoalsAssignment_7_2.eContents().get(0);
private final Group cGroup_7_3 = (Group)cUnorderedGroup_7.eContents().get(3);
private final Keyword cSeeKeyword_7_3_0 = (Keyword)cGroup_7_3.eContents().get(0);
private final Keyword cDocumentKeyword_7_3_1 = (Keyword)cGroup_7_3.eContents().get(1);
private final Assignment cDocReferenceAssignment_7_3_2 = (Assignment)cGroup_7_3.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_7_3_2_0 = (RuleCall)cDocReferenceAssignment_7_3_2.eContents().get(0);
private final Group cGroup_7_4 = (Group)cUnorderedGroup_7.eContents().get(4);
private final Keyword cIssuesKeyword_7_4_0 = (Keyword)cGroup_7_4.eContents().get(0);
private final Assignment cIssuesAssignment_7_4_1 = (Assignment)cGroup_7_4.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_7_4_1_0 = (RuleCall)cIssuesAssignment_7_4_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_8 = (Keyword)cGroup.eContents().get(8);
//StakeholderGoals:
// 'stakeholder' 'goals' name=QualifiedName (':' title=STRING)? ('for'
// (target=[aadl2::ComponentClassifier|AadlClassifierReference] | componentCategory+=ComponentCategory+)) ('use'
// 'constants' importConstants+=[GlobalConstants|QualifiedName]+)?
// '[' (description=Description?
// & constants+=ValDeclaration*
// & goals+=Goal*
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
@Override public ParserRule getRule() { return rule; }
//'stakeholder' 'goals' name=QualifiedName (':' title=STRING)? ('for'
//(target=[aadl2::ComponentClassifier|AadlClassifierReference] | componentCategory+=ComponentCategory+)) ('use'
//'constants' importConstants+=[GlobalConstants|QualifiedName]+)? '[' (description=Description? &
//constants+=ValDeclaration* & goals+=Goal* & ('see' 'document' docReference+=ExternalDocument+)? & ('issues'
//issues+=STRING+)?) ']'
public Group getGroup() { return cGroup; }
//'stakeholder'
public Keyword getStakeholderKeyword_0() { return cStakeholderKeyword_0; }
//'goals'
public Keyword getGoalsKeyword_1() { return cGoalsKeyword_1; }
//name=QualifiedName
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; }
//(':' title=STRING)?
public Group getGroup_3() { return cGroup_3; }
//':'
public Keyword getColonKeyword_3_0() { return cColonKeyword_3_0; }
//title=STRING
public Assignment getTitleAssignment_3_1() { return cTitleAssignment_3_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_3_1_0() { return cTitleSTRINGTerminalRuleCall_3_1_0; }
//('for' (target=[aadl2::ComponentClassifier|AadlClassifierReference] | componentCategory+=ComponentCategory+))
public Group getGroup_4() { return cGroup_4; }
//'for'
public Keyword getForKeyword_4_0() { return cForKeyword_4_0; }
//(target=[aadl2::ComponentClassifier|AadlClassifierReference] | componentCategory+=ComponentCategory+)
public Alternatives getAlternatives_4_1() { return cAlternatives_4_1; }
//target=[aadl2::ComponentClassifier|AadlClassifierReference]
public Assignment getTargetAssignment_4_1_0() { return cTargetAssignment_4_1_0; }
//[aadl2::ComponentClassifier|AadlClassifierReference]
public CrossReference getTargetComponentClassifierCrossReference_4_1_0_0() { return cTargetComponentClassifierCrossReference_4_1_0_0; }
//AadlClassifierReference
public RuleCall getTargetComponentClassifierAadlClassifierReferenceParserRuleCall_4_1_0_0_1() { return cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_4_1_0_0_1; }
//componentCategory+=ComponentCategory+
public Assignment getComponentCategoryAssignment_4_1_1() { return cComponentCategoryAssignment_4_1_1; }
//ComponentCategory
public RuleCall getComponentCategoryComponentCategoryParserRuleCall_4_1_1_0() { return cComponentCategoryComponentCategoryParserRuleCall_4_1_1_0; }
//('use' 'constants' importConstants+=[GlobalConstants|QualifiedName]+)?
public Group getGroup_5() { return cGroup_5; }
//'use'
public Keyword getUseKeyword_5_0() { return cUseKeyword_5_0; }
//'constants'
public Keyword getConstantsKeyword_5_1() { return cConstantsKeyword_5_1; }
//importConstants+=[GlobalConstants|QualifiedName]+
public Assignment getImportConstantsAssignment_5_2() { return cImportConstantsAssignment_5_2; }
//[GlobalConstants|QualifiedName]
public CrossReference getImportConstantsGlobalConstantsCrossReference_5_2_0() { return cImportConstantsGlobalConstantsCrossReference_5_2_0; }
//QualifiedName
public RuleCall getImportConstantsGlobalConstantsQualifiedNameParserRuleCall_5_2_0_1() { return cImportConstantsGlobalConstantsQualifiedNameParserRuleCall_5_2_0_1; }
//'['
public Keyword getLeftSquareBracketKeyword_6() { return cLeftSquareBracketKeyword_6; }
//(description=Description? & constants+=ValDeclaration* & goals+=Goal* & ('see' 'document'
//docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?)
public UnorderedGroup getUnorderedGroup_7() { return cUnorderedGroup_7; }
//description=Description?
public Assignment getDescriptionAssignment_7_0() { return cDescriptionAssignment_7_0; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_7_0_0() { return cDescriptionDescriptionParserRuleCall_7_0_0; }
//constants+=ValDeclaration*
public Assignment getConstantsAssignment_7_1() { return cConstantsAssignment_7_1; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_7_1_0() { return cConstantsValDeclarationParserRuleCall_7_1_0; }
//goals+=Goal*
public Assignment getGoalsAssignment_7_2() { return cGoalsAssignment_7_2; }
//Goal
public RuleCall getGoalsGoalParserRuleCall_7_2_0() { return cGoalsGoalParserRuleCall_7_2_0; }
//('see' 'document' docReference+=ExternalDocument+)?
public Group getGroup_7_3() { return cGroup_7_3; }
//'see'
public Keyword getSeeKeyword_7_3_0() { return cSeeKeyword_7_3_0; }
//'document'
public Keyword getDocumentKeyword_7_3_1() { return cDocumentKeyword_7_3_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_7_3_2() { return cDocReferenceAssignment_7_3_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_7_3_2_0() { return cDocReferenceExternalDocumentParserRuleCall_7_3_2_0; }
//('issues' issues+=STRING+)?
public Group getGroup_7_4() { return cGroup_7_4; }
//'issues'
public Keyword getIssuesKeyword_7_4_0() { return cIssuesKeyword_7_4_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_7_4_1() { return cIssuesAssignment_7_4_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_7_4_1_0() { return cIssuesSTRINGTerminalRuleCall_7_4_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_8() { return cRightSquareBracketKeyword_8; }
}
public class ReqDocumentElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ReqDocument");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cDocumentKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cTitleAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cTitleAssignment_2_1.eContents().get(0);
private final Keyword cLeftSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
private final UnorderedGroup cUnorderedGroup_4 = (UnorderedGroup)cGroup.eContents().get(4);
private final Assignment cDescriptionAssignment_4_0 = (Assignment)cUnorderedGroup_4.eContents().get(0);
private final RuleCall cDescriptionDescriptionParserRuleCall_4_0_0 = (RuleCall)cDescriptionAssignment_4_0.eContents().get(0);
private final Assignment cContentAssignment_4_1 = (Assignment)cUnorderedGroup_4.eContents().get(1);
private final Alternatives cContentAlternatives_4_1_0 = (Alternatives)cContentAssignment_4_1.eContents().get(0);
private final RuleCall cContentDocGoalParserRuleCall_4_1_0_0 = (RuleCall)cContentAlternatives_4_1_0.eContents().get(0);
private final RuleCall cContentDocRequirementParserRuleCall_4_1_0_1 = (RuleCall)cContentAlternatives_4_1_0.eContents().get(1);
private final RuleCall cContentDocumentSectionParserRuleCall_4_1_0_2 = (RuleCall)cContentAlternatives_4_1_0.eContents().get(2);
private final Group cGroup_4_2 = (Group)cUnorderedGroup_4.eContents().get(2);
private final Keyword cSeeKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0);
private final Keyword cDocumentKeyword_4_2_1 = (Keyword)cGroup_4_2.eContents().get(1);
private final Assignment cDocReferenceAssignment_4_2_2 = (Assignment)cGroup_4_2.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_4_2_2_0 = (RuleCall)cDocReferenceAssignment_4_2_2.eContents().get(0);
private final Group cGroup_4_3 = (Group)cUnorderedGroup_4.eContents().get(3);
private final Keyword cIssuesKeyword_4_3_0 = (Keyword)cGroup_4_3.eContents().get(0);
private final Assignment cIssuesAssignment_4_3_1 = (Assignment)cGroup_4_3.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_4_3_1_0 = (RuleCall)cIssuesAssignment_4_3_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
//ReqDocument:
// 'document' name=QualifiedName (':' title=STRING)?
// '[' (description=Description?
// & content+=(DocGoal | DocRequirement | DocumentSection)*
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
@Override public ParserRule getRule() { return rule; }
//'document' name=QualifiedName (':' title=STRING)? '[' (description=Description? & content+=(DocGoal | DocRequirement |
//DocumentSection)* & ('see' 'document' docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?) ']'
public Group getGroup() { return cGroup; }
//'document'
public Keyword getDocumentKeyword_0() { return cDocumentKeyword_0; }
//name=QualifiedName
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; }
//(':' title=STRING)?
public Group getGroup_2() { return cGroup_2; }
//':'
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//title=STRING
public Assignment getTitleAssignment_2_1() { return cTitleAssignment_2_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_2_1_0() { return cTitleSTRINGTerminalRuleCall_2_1_0; }
//'['
public Keyword getLeftSquareBracketKeyword_3() { return cLeftSquareBracketKeyword_3; }
//(description=Description? & content+=(DocGoal | DocRequirement | DocumentSection)* & ('see' 'document'
//docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?)
public UnorderedGroup getUnorderedGroup_4() { return cUnorderedGroup_4; }
//description=Description?
public Assignment getDescriptionAssignment_4_0() { return cDescriptionAssignment_4_0; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_4_0_0() { return cDescriptionDescriptionParserRuleCall_4_0_0; }
//content+=(DocGoal | DocRequirement | DocumentSection)*
public Assignment getContentAssignment_4_1() { return cContentAssignment_4_1; }
//(DocGoal | DocRequirement | DocumentSection)
public Alternatives getContentAlternatives_4_1_0() { return cContentAlternatives_4_1_0; }
//DocGoal
public RuleCall getContentDocGoalParserRuleCall_4_1_0_0() { return cContentDocGoalParserRuleCall_4_1_0_0; }
//DocRequirement
public RuleCall getContentDocRequirementParserRuleCall_4_1_0_1() { return cContentDocRequirementParserRuleCall_4_1_0_1; }
//DocumentSection
public RuleCall getContentDocumentSectionParserRuleCall_4_1_0_2() { return cContentDocumentSectionParserRuleCall_4_1_0_2; }
//('see' 'document' docReference+=ExternalDocument+)?
public Group getGroup_4_2() { return cGroup_4_2; }
//'see'
public Keyword getSeeKeyword_4_2_0() { return cSeeKeyword_4_2_0; }
//'document'
public Keyword getDocumentKeyword_4_2_1() { return cDocumentKeyword_4_2_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_4_2_2() { return cDocReferenceAssignment_4_2_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_4_2_2_0() { return cDocReferenceExternalDocumentParserRuleCall_4_2_2_0; }
//('issues' issues+=STRING+)?
public Group getGroup_4_3() { return cGroup_4_3; }
//'issues'
public Keyword getIssuesKeyword_4_3_0() { return cIssuesKeyword_4_3_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_4_3_1() { return cIssuesAssignment_4_3_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_4_3_1_0() { return cIssuesSTRINGTerminalRuleCall_4_3_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; }
}
public class DocumentSectionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.DocumentSection");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cSectionKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0);
private final Assignment cLabelAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0);
private final RuleCall cLabelIDTerminalRuleCall_1_0_0_0 = (RuleCall)cLabelAssignment_1_0_0.eContents().get(0);
private final Group cGroup_1_0_1 = (Group)cGroup_1_0.eContents().get(1);
private final Keyword cColonKeyword_1_0_1_0 = (Keyword)cGroup_1_0_1.eContents().get(0);
private final Assignment cTitleAssignment_1_0_1_1 = (Assignment)cGroup_1_0_1.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_1_0_1_1_0 = (RuleCall)cTitleAssignment_1_0_1_1.eContents().get(0);
private final Assignment cTitleAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cTitleAssignment_1_1.eContents().get(0);
private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
private final Assignment cDescriptionAssignment_3_0 = (Assignment)cUnorderedGroup_3.eContents().get(0);
private final RuleCall cDescriptionDescriptionParserRuleCall_3_0_0 = (RuleCall)cDescriptionAssignment_3_0.eContents().get(0);
private final Assignment cContentAssignment_3_1 = (Assignment)cUnorderedGroup_3.eContents().get(1);
private final Alternatives cContentAlternatives_3_1_0 = (Alternatives)cContentAssignment_3_1.eContents().get(0);
private final RuleCall cContentDocGoalParserRuleCall_3_1_0_0 = (RuleCall)cContentAlternatives_3_1_0.eContents().get(0);
private final RuleCall cContentDocRequirementParserRuleCall_3_1_0_1 = (RuleCall)cContentAlternatives_3_1_0.eContents().get(1);
private final RuleCall cContentDocumentSectionParserRuleCall_3_1_0_2 = (RuleCall)cContentAlternatives_3_1_0.eContents().get(2);
private final Keyword cRightSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
//DocumentSection:
// 'section' (label=ID (':' title=STRING)? | title=STRING)
// '[' (description=Description?
// & content+=(DocGoal | DocRequirement | DocumentSection)*)
// ']';
@Override public ParserRule getRule() { return rule; }
//'section' (label=ID (':' title=STRING)? | title=STRING) '[' (description=Description? & content+=(DocGoal |
//DocRequirement | DocumentSection)*) ']'
public Group getGroup() { return cGroup; }
//'section'
public Keyword getSectionKeyword_0() { return cSectionKeyword_0; }
//(label=ID (':' title=STRING)? | title=STRING)
public Alternatives getAlternatives_1() { return cAlternatives_1; }
//label=ID (':' title=STRING)?
public Group getGroup_1_0() { return cGroup_1_0; }
//label=ID
public Assignment getLabelAssignment_1_0_0() { return cLabelAssignment_1_0_0; }
//ID
public RuleCall getLabelIDTerminalRuleCall_1_0_0_0() { return cLabelIDTerminalRuleCall_1_0_0_0; }
//(':' title=STRING)?
public Group getGroup_1_0_1() { return cGroup_1_0_1; }
//':'
public Keyword getColonKeyword_1_0_1_0() { return cColonKeyword_1_0_1_0; }
//title=STRING
public Assignment getTitleAssignment_1_0_1_1() { return cTitleAssignment_1_0_1_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_1_0_1_1_0() { return cTitleSTRINGTerminalRuleCall_1_0_1_1_0; }
//title=STRING
public Assignment getTitleAssignment_1_1() { return cTitleAssignment_1_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_1_1_0() { return cTitleSTRINGTerminalRuleCall_1_1_0; }
//'['
public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; }
//(description=Description? & content+=(DocGoal | DocRequirement | DocumentSection)*)
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
//description=Description?
public Assignment getDescriptionAssignment_3_0() { return cDescriptionAssignment_3_0; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_3_0_0() { return cDescriptionDescriptionParserRuleCall_3_0_0; }
//content+=(DocGoal | DocRequirement | DocumentSection)*
public Assignment getContentAssignment_3_1() { return cContentAssignment_3_1; }
//(DocGoal | DocRequirement | DocumentSection)
public Alternatives getContentAlternatives_3_1_0() { return cContentAlternatives_3_1_0; }
//DocGoal
public RuleCall getContentDocGoalParserRuleCall_3_1_0_0() { return cContentDocGoalParserRuleCall_3_1_0_0; }
//DocRequirement
public RuleCall getContentDocRequirementParserRuleCall_3_1_0_1() { return cContentDocRequirementParserRuleCall_3_1_0_1; }
//DocumentSection
public RuleCall getContentDocumentSectionParserRuleCall_3_1_0_2() { return cContentDocumentSectionParserRuleCall_3_1_0_2; }
//']'
public Keyword getRightSquareBracketKeyword_4() { return cRightSquareBracketKeyword_4; }
}
public class SystemRequirementSetElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.SystemRequirementSet");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cSystemRequirementSetAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cSystemKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Keyword cRequirementsKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cNameQualifiedNameParserRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cColonKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cTitleAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_4_1_0 = (RuleCall)cTitleAssignment_4_1.eContents().get(0);
private final Keyword cForKeyword_5 = (Keyword)cGroup.eContents().get(5);
private final Assignment cTargetAssignment_6 = (Assignment)cGroup.eContents().get(6);
private final CrossReference cTargetComponentClassifierCrossReference_6_0 = (CrossReference)cTargetAssignment_6.eContents().get(0);
private final RuleCall cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_6_0_1 = (RuleCall)cTargetComponentClassifierCrossReference_6_0.eContents().get(1);
private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
private final Keyword cUseKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
private final Keyword cConstantsKeyword_7_1 = (Keyword)cGroup_7.eContents().get(1);
private final Assignment cImportConstantsAssignment_7_2 = (Assignment)cGroup_7.eContents().get(2);
private final CrossReference cImportConstantsGlobalConstantsCrossReference_7_2_0 = (CrossReference)cImportConstantsAssignment_7_2.eContents().get(0);
private final RuleCall cImportConstantsGlobalConstantsQualifiedNameParserRuleCall_7_2_0_1 = (RuleCall)cImportConstantsGlobalConstantsCrossReference_7_2_0.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_8 = (Keyword)cGroup.eContents().get(8);
private final Alternatives cAlternatives_9 = (Alternatives)cGroup.eContents().get(9);
private final Assignment cDescriptionAssignment_9_0 = (Assignment)cAlternatives_9.eContents().get(0);
private final RuleCall cDescriptionDescriptionParserRuleCall_9_0_0 = (RuleCall)cDescriptionAssignment_9_0.eContents().get(0);
private final Assignment cConstantsAssignment_9_1 = (Assignment)cAlternatives_9.eContents().get(1);
private final RuleCall cConstantsValDeclarationParserRuleCall_9_1_0 = (RuleCall)cConstantsAssignment_9_1.eContents().get(0);
private final Assignment cComputesAssignment_9_2 = (Assignment)cAlternatives_9.eContents().get(2);
private final RuleCall cComputesComputeDeclarationParserRuleCall_9_2_0 = (RuleCall)cComputesAssignment_9_2.eContents().get(0);
private final Assignment cRequirementsAssignment_9_3 = (Assignment)cAlternatives_9.eContents().get(3);
private final RuleCall cRequirementsSystemRequirementParserRuleCall_9_3_0 = (RuleCall)cRequirementsAssignment_9_3.eContents().get(0);
private final Assignment cIncludeAssignment_9_4 = (Assignment)cAlternatives_9.eContents().get(4);
private final RuleCall cIncludeIncludeGlobalRequirementParserRuleCall_9_4_0 = (RuleCall)cIncludeAssignment_9_4.eContents().get(0);
private final Group cGroup_9_5 = (Group)cAlternatives_9.eContents().get(5);
private final Keyword cSeeKeyword_9_5_0 = (Keyword)cGroup_9_5.eContents().get(0);
private final Keyword cDocumentKeyword_9_5_1 = (Keyword)cGroup_9_5.eContents().get(1);
private final Assignment cDocReferenceAssignment_9_5_2 = (Assignment)cGroup_9_5.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_9_5_2_0 = (RuleCall)cDocReferenceAssignment_9_5_2.eContents().get(0);
private final Group cGroup_9_6 = (Group)cAlternatives_9.eContents().get(6);
private final Keyword cSeeKeyword_9_6_0 = (Keyword)cGroup_9_6.eContents().get(0);
private final Keyword cGoalsKeyword_9_6_1 = (Keyword)cGroup_9_6.eContents().get(1);
private final Assignment cStakeholderGoalsAssignment_9_6_2 = (Assignment)cGroup_9_6.eContents().get(2);
private final CrossReference cStakeholderGoalsReqRootCrossReference_9_6_2_0 = (CrossReference)cStakeholderGoalsAssignment_9_6_2.eContents().get(0);
private final RuleCall cStakeholderGoalsReqRootQualifiedNameParserRuleCall_9_6_2_0_1 = (RuleCall)cStakeholderGoalsReqRootCrossReference_9_6_2_0.eContents().get(1);
private final Group cGroup_9_7 = (Group)cAlternatives_9.eContents().get(7);
private final Keyword cIssuesKeyword_9_7_0 = (Keyword)cGroup_9_7.eContents().get(0);
private final Assignment cIssuesAssignment_9_7_1 = (Assignment)cGroup_9_7.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_9_7_1_0 = (RuleCall)cIssuesAssignment_9_7_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_10 = (Keyword)cGroup.eContents().get(10);
//SystemRequirementSet RequirementSet:
// {SystemRequirementSet} 'system' 'requirements' name=QualifiedName (':' title=STRING)?
// 'for' target=[aadl2::ComponentClassifier|AadlClassifierReference] ('use' 'constants'
// importConstants+=[GlobalConstants|QualifiedName]+)?
// '[' (description=Description
// | constants+=ValDeclaration
// | computes+=ComputeDeclaration
// | requirements+=SystemRequirement
// | include+=IncludeGlobalRequirement
// | 'see' 'document' docReference+=ExternalDocument+ | 'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ |
// 'issues' issues+=STRING+)*
// ']';
@Override public ParserRule getRule() { return rule; }
//{SystemRequirementSet} 'system' 'requirements' name=QualifiedName (':' title=STRING)? 'for'
//target=[aadl2::ComponentClassifier|AadlClassifierReference] ('use' 'constants'
//importConstants+=[GlobalConstants|QualifiedName]+)? '[' (description=Description | constants+=ValDeclaration |
//computes+=ComputeDeclaration | requirements+=SystemRequirement | include+=IncludeGlobalRequirement | 'see' 'document'
//docReference+=ExternalDocument+ | 'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ | 'issues' issues+=STRING+)*
//']'
public Group getGroup() { return cGroup; }
//{SystemRequirementSet}
public Action getSystemRequirementSetAction_0() { return cSystemRequirementSetAction_0; }
//'system'
public Keyword getSystemKeyword_1() { return cSystemKeyword_1; }
//'requirements'
public Keyword getRequirementsKeyword_2() { return cRequirementsKeyword_2; }
//name=QualifiedName
public Assignment getNameAssignment_3() { return cNameAssignment_3; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_3_0() { return cNameQualifiedNameParserRuleCall_3_0; }
//(':' title=STRING)?
public Group getGroup_4() { return cGroup_4; }
//':'
public Keyword getColonKeyword_4_0() { return cColonKeyword_4_0; }
//title=STRING
public Assignment getTitleAssignment_4_1() { return cTitleAssignment_4_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_4_1_0() { return cTitleSTRINGTerminalRuleCall_4_1_0; }
//'for'
public Keyword getForKeyword_5() { return cForKeyword_5; }
//target=[aadl2::ComponentClassifier|AadlClassifierReference]
public Assignment getTargetAssignment_6() { return cTargetAssignment_6; }
//[aadl2::ComponentClassifier|AadlClassifierReference]
public CrossReference getTargetComponentClassifierCrossReference_6_0() { return cTargetComponentClassifierCrossReference_6_0; }
//AadlClassifierReference
public RuleCall getTargetComponentClassifierAadlClassifierReferenceParserRuleCall_6_0_1() { return cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_6_0_1; }
//('use' 'constants' importConstants+=[GlobalConstants|QualifiedName]+)?
public Group getGroup_7() { return cGroup_7; }
//'use'
public Keyword getUseKeyword_7_0() { return cUseKeyword_7_0; }
//'constants'
public Keyword getConstantsKeyword_7_1() { return cConstantsKeyword_7_1; }
//importConstants+=[GlobalConstants|QualifiedName]+
public Assignment getImportConstantsAssignment_7_2() { return cImportConstantsAssignment_7_2; }
//[GlobalConstants|QualifiedName]
public CrossReference getImportConstantsGlobalConstantsCrossReference_7_2_0() { return cImportConstantsGlobalConstantsCrossReference_7_2_0; }
//QualifiedName
public RuleCall getImportConstantsGlobalConstantsQualifiedNameParserRuleCall_7_2_0_1() { return cImportConstantsGlobalConstantsQualifiedNameParserRuleCall_7_2_0_1; }
//'['
public Keyword getLeftSquareBracketKeyword_8() { return cLeftSquareBracketKeyword_8; }
//(description=Description | constants+=ValDeclaration | computes+=ComputeDeclaration | requirements+=SystemRequirement |
//include+=IncludeGlobalRequirement | 'see' 'document' docReference+=ExternalDocument+ | 'see' 'goals'
//stakeholderGoals+=[ReqRoot|QualifiedName]+ | 'issues' issues+=STRING+)*
public Alternatives getAlternatives_9() { return cAlternatives_9; }
//description=Description
public Assignment getDescriptionAssignment_9_0() { return cDescriptionAssignment_9_0; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_9_0_0() { return cDescriptionDescriptionParserRuleCall_9_0_0; }
//constants+=ValDeclaration
public Assignment getConstantsAssignment_9_1() { return cConstantsAssignment_9_1; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_9_1_0() { return cConstantsValDeclarationParserRuleCall_9_1_0; }
//computes+=ComputeDeclaration
public Assignment getComputesAssignment_9_2() { return cComputesAssignment_9_2; }
//ComputeDeclaration
public RuleCall getComputesComputeDeclarationParserRuleCall_9_2_0() { return cComputesComputeDeclarationParserRuleCall_9_2_0; }
//requirements+=SystemRequirement
public Assignment getRequirementsAssignment_9_3() { return cRequirementsAssignment_9_3; }
//SystemRequirement
public RuleCall getRequirementsSystemRequirementParserRuleCall_9_3_0() { return cRequirementsSystemRequirementParserRuleCall_9_3_0; }
//include+=IncludeGlobalRequirement
public Assignment getIncludeAssignment_9_4() { return cIncludeAssignment_9_4; }
//IncludeGlobalRequirement
public RuleCall getIncludeIncludeGlobalRequirementParserRuleCall_9_4_0() { return cIncludeIncludeGlobalRequirementParserRuleCall_9_4_0; }
//'see' 'document' docReference+=ExternalDocument+
public Group getGroup_9_5() { return cGroup_9_5; }
//'see'
public Keyword getSeeKeyword_9_5_0() { return cSeeKeyword_9_5_0; }
//'document'
public Keyword getDocumentKeyword_9_5_1() { return cDocumentKeyword_9_5_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_9_5_2() { return cDocReferenceAssignment_9_5_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_9_5_2_0() { return cDocReferenceExternalDocumentParserRuleCall_9_5_2_0; }
//'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+
public Group getGroup_9_6() { return cGroup_9_6; }
//'see'
public Keyword getSeeKeyword_9_6_0() { return cSeeKeyword_9_6_0; }
//'goals'
public Keyword getGoalsKeyword_9_6_1() { return cGoalsKeyword_9_6_1; }
//stakeholderGoals+=[ReqRoot|QualifiedName]+
public Assignment getStakeholderGoalsAssignment_9_6_2() { return cStakeholderGoalsAssignment_9_6_2; }
//[ReqRoot|QualifiedName]
public CrossReference getStakeholderGoalsReqRootCrossReference_9_6_2_0() { return cStakeholderGoalsReqRootCrossReference_9_6_2_0; }
//QualifiedName
public RuleCall getStakeholderGoalsReqRootQualifiedNameParserRuleCall_9_6_2_0_1() { return cStakeholderGoalsReqRootQualifiedNameParserRuleCall_9_6_2_0_1; }
//'issues' issues+=STRING+
public Group getGroup_9_7() { return cGroup_9_7; }
//'issues'
public Keyword getIssuesKeyword_9_7_0() { return cIssuesKeyword_9_7_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_9_7_1() { return cIssuesAssignment_9_7_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_9_7_1_0() { return cIssuesSTRINGTerminalRuleCall_9_7_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_10() { return cRightSquareBracketKeyword_10; }
}
public class GlobalRequirementSetElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.GlobalRequirementSet");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cGlobalRequirementSetAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cGlobalKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Keyword cRequirementsKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cNameQualifiedNameParserRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0);
private final Group cGroup_4 = (Group)cGroup.eContents().get(4);
private final Keyword cColonKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
private final Assignment cTitleAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_4_1_0 = (RuleCall)cTitleAssignment_4_1.eContents().get(0);
private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
private final Keyword cUseKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
private final Keyword cConstantsKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1);
private final Assignment cImportConstantsAssignment_5_2 = (Assignment)cGroup_5.eContents().get(2);
private final CrossReference cImportConstantsGlobalConstantsCrossReference_5_2_0 = (CrossReference)cImportConstantsAssignment_5_2.eContents().get(0);
private final RuleCall cImportConstantsGlobalConstantsQualifiedNameParserRuleCall_5_2_0_1 = (RuleCall)cImportConstantsGlobalConstantsCrossReference_5_2_0.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
private final Alternatives cAlternatives_7 = (Alternatives)cGroup.eContents().get(7);
private final Assignment cDescriptionAssignment_7_0 = (Assignment)cAlternatives_7.eContents().get(0);
private final RuleCall cDescriptionDescriptionParserRuleCall_7_0_0 = (RuleCall)cDescriptionAssignment_7_0.eContents().get(0);
private final Assignment cConstantsAssignment_7_1 = (Assignment)cAlternatives_7.eContents().get(1);
private final RuleCall cConstantsValDeclarationParserRuleCall_7_1_0 = (RuleCall)cConstantsAssignment_7_1.eContents().get(0);
private final Assignment cComputesAssignment_7_2 = (Assignment)cAlternatives_7.eContents().get(2);
private final RuleCall cComputesComputeDeclarationParserRuleCall_7_2_0 = (RuleCall)cComputesAssignment_7_2.eContents().get(0);
private final Assignment cRequirementsAssignment_7_3 = (Assignment)cAlternatives_7.eContents().get(3);
private final RuleCall cRequirementsGlobalRequirementParserRuleCall_7_3_0 = (RuleCall)cRequirementsAssignment_7_3.eContents().get(0);
private final Group cGroup_7_4 = (Group)cAlternatives_7.eContents().get(4);
private final Keyword cSeeKeyword_7_4_0 = (Keyword)cGroup_7_4.eContents().get(0);
private final Keyword cDocumentKeyword_7_4_1 = (Keyword)cGroup_7_4.eContents().get(1);
private final Assignment cDocReferenceAssignment_7_4_2 = (Assignment)cGroup_7_4.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_7_4_2_0 = (RuleCall)cDocReferenceAssignment_7_4_2.eContents().get(0);
private final Group cGroup_7_5 = (Group)cAlternatives_7.eContents().get(5);
private final Keyword cSeeKeyword_7_5_0 = (Keyword)cGroup_7_5.eContents().get(0);
private final Keyword cGoalsKeyword_7_5_1 = (Keyword)cGroup_7_5.eContents().get(1);
private final Assignment cStakeholderGoalsAssignment_7_5_2 = (Assignment)cGroup_7_5.eContents().get(2);
private final CrossReference cStakeholderGoalsReqRootCrossReference_7_5_2_0 = (CrossReference)cStakeholderGoalsAssignment_7_5_2.eContents().get(0);
private final RuleCall cStakeholderGoalsReqRootQualifiedNameParserRuleCall_7_5_2_0_1 = (RuleCall)cStakeholderGoalsReqRootCrossReference_7_5_2_0.eContents().get(1);
private final Group cGroup_7_6 = (Group)cAlternatives_7.eContents().get(6);
private final Keyword cIssuesKeyword_7_6_0 = (Keyword)cGroup_7_6.eContents().get(0);
private final Assignment cIssuesAssignment_7_6_1 = (Assignment)cGroup_7_6.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_7_6_1_0 = (RuleCall)cIssuesAssignment_7_6_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_8 = (Keyword)cGroup.eContents().get(8);
//GlobalRequirementSet RequirementSet:
// {GlobalRequirementSet} 'global' 'requirements' name=QualifiedName (':' title=STRING)? ('use' 'constants'
// importConstants+=[GlobalConstants|QualifiedName]+)?
// '[' (description=Description
// | constants+=ValDeclaration
// | computes+=ComputeDeclaration
// | requirements+=GlobalRequirement
// | 'see' 'document' docReference+=ExternalDocument+ | 'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ |
// 'issues' issues+=STRING+)*
// ']';
@Override public ParserRule getRule() { return rule; }
//{GlobalRequirementSet} 'global' 'requirements' name=QualifiedName (':' title=STRING)? ('use' 'constants'
//importConstants+=[GlobalConstants|QualifiedName]+)? '[' (description=Description | constants+=ValDeclaration |
//computes+=ComputeDeclaration | requirements+=GlobalRequirement | 'see' 'document' docReference+=ExternalDocument+ |
//'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ | 'issues' issues+=STRING+)* ']'
public Group getGroup() { return cGroup; }
//{GlobalRequirementSet}
public Action getGlobalRequirementSetAction_0() { return cGlobalRequirementSetAction_0; }
//'global'
public Keyword getGlobalKeyword_1() { return cGlobalKeyword_1; }
//'requirements'
public Keyword getRequirementsKeyword_2() { return cRequirementsKeyword_2; }
//name=QualifiedName
public Assignment getNameAssignment_3() { return cNameAssignment_3; }
//QualifiedName
public RuleCall getNameQualifiedNameParserRuleCall_3_0() { return cNameQualifiedNameParserRuleCall_3_0; }
//(':' title=STRING)?
public Group getGroup_4() { return cGroup_4; }
//':'
public Keyword getColonKeyword_4_0() { return cColonKeyword_4_0; }
//title=STRING
public Assignment getTitleAssignment_4_1() { return cTitleAssignment_4_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_4_1_0() { return cTitleSTRINGTerminalRuleCall_4_1_0; }
//('use' 'constants' importConstants+=[GlobalConstants|QualifiedName]+)?
public Group getGroup_5() { return cGroup_5; }
//'use'
public Keyword getUseKeyword_5_0() { return cUseKeyword_5_0; }
//'constants'
public Keyword getConstantsKeyword_5_1() { return cConstantsKeyword_5_1; }
//importConstants+=[GlobalConstants|QualifiedName]+
public Assignment getImportConstantsAssignment_5_2() { return cImportConstantsAssignment_5_2; }
//[GlobalConstants|QualifiedName]
public CrossReference getImportConstantsGlobalConstantsCrossReference_5_2_0() { return cImportConstantsGlobalConstantsCrossReference_5_2_0; }
//QualifiedName
public RuleCall getImportConstantsGlobalConstantsQualifiedNameParserRuleCall_5_2_0_1() { return cImportConstantsGlobalConstantsQualifiedNameParserRuleCall_5_2_0_1; }
//'['
public Keyword getLeftSquareBracketKeyword_6() { return cLeftSquareBracketKeyword_6; }
//(description=Description | constants+=ValDeclaration | computes+=ComputeDeclaration | requirements+=GlobalRequirement |
//'see' 'document' docReference+=ExternalDocument+ | 'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ | 'issues'
//issues+=STRING+)*
public Alternatives getAlternatives_7() { return cAlternatives_7; }
//description=Description
public Assignment getDescriptionAssignment_7_0() { return cDescriptionAssignment_7_0; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_7_0_0() { return cDescriptionDescriptionParserRuleCall_7_0_0; }
//constants+=ValDeclaration
public Assignment getConstantsAssignment_7_1() { return cConstantsAssignment_7_1; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_7_1_0() { return cConstantsValDeclarationParserRuleCall_7_1_0; }
//computes+=ComputeDeclaration
public Assignment getComputesAssignment_7_2() { return cComputesAssignment_7_2; }
//ComputeDeclaration
public RuleCall getComputesComputeDeclarationParserRuleCall_7_2_0() { return cComputesComputeDeclarationParserRuleCall_7_2_0; }
//requirements+=GlobalRequirement
public Assignment getRequirementsAssignment_7_3() { return cRequirementsAssignment_7_3; }
//GlobalRequirement
public RuleCall getRequirementsGlobalRequirementParserRuleCall_7_3_0() { return cRequirementsGlobalRequirementParserRuleCall_7_3_0; }
//'see' 'document' docReference+=ExternalDocument+
public Group getGroup_7_4() { return cGroup_7_4; }
//'see'
public Keyword getSeeKeyword_7_4_0() { return cSeeKeyword_7_4_0; }
//'document'
public Keyword getDocumentKeyword_7_4_1() { return cDocumentKeyword_7_4_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_7_4_2() { return cDocReferenceAssignment_7_4_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_7_4_2_0() { return cDocReferenceExternalDocumentParserRuleCall_7_4_2_0; }
//'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+
public Group getGroup_7_5() { return cGroup_7_5; }
//'see'
public Keyword getSeeKeyword_7_5_0() { return cSeeKeyword_7_5_0; }
//'goals'
public Keyword getGoalsKeyword_7_5_1() { return cGoalsKeyword_7_5_1; }
//stakeholderGoals+=[ReqRoot|QualifiedName]+
public Assignment getStakeholderGoalsAssignment_7_5_2() { return cStakeholderGoalsAssignment_7_5_2; }
//[ReqRoot|QualifiedName]
public CrossReference getStakeholderGoalsReqRootCrossReference_7_5_2_0() { return cStakeholderGoalsReqRootCrossReference_7_5_2_0; }
//QualifiedName
public RuleCall getStakeholderGoalsReqRootQualifiedNameParserRuleCall_7_5_2_0_1() { return cStakeholderGoalsReqRootQualifiedNameParserRuleCall_7_5_2_0_1; }
//'issues' issues+=STRING+
public Group getGroup_7_6() { return cGroup_7_6; }
//'issues'
public Keyword getIssuesKeyword_7_6_0() { return cIssuesKeyword_7_6_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_7_6_1() { return cIssuesAssignment_7_6_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_7_6_1_0() { return cIssuesSTRINGTerminalRuleCall_7_6_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_8() { return cRightSquareBracketKeyword_8; }
}
public class DocGoalElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.DocGoal");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cGoalKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cTitleAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cTitleAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cForKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1);
private final Assignment cTargetDescriptionAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0);
private final RuleCall cTargetDescriptionSTRINGTerminalRuleCall_3_1_0_0 = (RuleCall)cTargetDescriptionAssignment_3_1_0.eContents().get(0);
private final Group cGroup_3_1_1 = (Group)cAlternatives_3_1.eContents().get(1);
private final Assignment cTargetAssignment_3_1_1_0 = (Assignment)cGroup_3_1_1.eContents().get(0);
private final CrossReference cTargetComponentClassifierCrossReference_3_1_1_0_0 = (CrossReference)cTargetAssignment_3_1_1_0.eContents().get(0);
private final RuleCall cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_3_1_1_0_0_1 = (RuleCall)cTargetComponentClassifierCrossReference_3_1_1_0_0.eContents().get(1);
private final Assignment cTargetElementAssignment_3_1_1_1 = (Assignment)cGroup_3_1_1.eContents().get(1);
private final CrossReference cTargetElementNamedElementCrossReference_3_1_1_1_0 = (CrossReference)cTargetElementAssignment_3_1_1_1.eContents().get(0);
private final RuleCall cTargetElementNamedElementIDTerminalRuleCall_3_1_1_1_0_1 = (RuleCall)cTargetElementNamedElementCrossReference_3_1_1_1_0.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
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 cCategoryKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Assignment cCategoryAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1);
private final CrossReference cCategoryCategoryCrossReference_5_0_1_0 = (CrossReference)cCategoryAssignment_5_0_1.eContents().get(0);
private final RuleCall cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1 = (RuleCall)cCategoryCategoryCrossReference_5_0_1_0.eContents().get(1);
private final Assignment cDescriptionAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1);
private final RuleCall cDescriptionDescriptionParserRuleCall_5_1_0 = (RuleCall)cDescriptionAssignment_5_1.eContents().get(0);
private final Assignment cConstantsAssignment_5_2 = (Assignment)cUnorderedGroup_5.eContents().get(2);
private final RuleCall cConstantsValDeclarationParserRuleCall_5_2_0 = (RuleCall)cConstantsAssignment_5_2.eContents().get(0);
private final Assignment cWhenconditionAssignment_5_3 = (Assignment)cUnorderedGroup_5.eContents().get(3);
private final RuleCall cWhenconditionWhenConditionParserRuleCall_5_3_0 = (RuleCall)cWhenconditionAssignment_5_3.eContents().get(0);
private final Assignment cRationaleAssignment_5_4 = (Assignment)cUnorderedGroup_5.eContents().get(4);
private final RuleCall cRationaleRationaleParserRuleCall_5_4_0 = (RuleCall)cRationaleAssignment_5_4.eContents().get(0);
private final Assignment cChangeUncertaintyAssignment_5_5 = (Assignment)cUnorderedGroup_5.eContents().get(5);
private final RuleCall cChangeUncertaintyUncertaintyParserRuleCall_5_5_0 = (RuleCall)cChangeUncertaintyAssignment_5_5.eContents().get(0);
private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6);
private final Keyword cRefinesKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0);
private final Assignment cRefinesReferenceAssignment_5_6_1 = (Assignment)cGroup_5_6.eContents().get(1);
private final CrossReference cRefinesReferenceGoalCrossReference_5_6_1_0 = (CrossReference)cRefinesReferenceAssignment_5_6_1.eContents().get(0);
private final RuleCall cRefinesReferenceGoalQualifiedNameParserRuleCall_5_6_1_0_1 = (RuleCall)cRefinesReferenceGoalCrossReference_5_6_1_0.eContents().get(1);
private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7);
private final Keyword cConflictsKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0);
private final Keyword cWithKeyword_5_7_1 = (Keyword)cGroup_5_7.eContents().get(1);
private final Assignment cConflictsReferenceAssignment_5_7_2 = (Assignment)cGroup_5_7.eContents().get(2);
private final CrossReference cConflictsReferenceGoalCrossReference_5_7_2_0 = (CrossReference)cConflictsReferenceAssignment_5_7_2.eContents().get(0);
private final RuleCall cConflictsReferenceGoalQualifiedNameParserRuleCall_5_7_2_0_1 = (RuleCall)cConflictsReferenceGoalCrossReference_5_7_2_0.eContents().get(1);
private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8);
private final Keyword cEvolvesKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0);
private final Assignment cEvolvesReferenceAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1);
private final CrossReference cEvolvesReferenceRequirementCrossReference_5_8_1_0 = (CrossReference)cEvolvesReferenceAssignment_5_8_1.eContents().get(0);
private final RuleCall cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_8_1_0_1 = (RuleCall)cEvolvesReferenceRequirementCrossReference_5_8_1_0.eContents().get(1);
private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9);
private final Assignment cDroppedAssignment_5_9_0 = (Assignment)cGroup_5_9.eContents().get(0);
private final Keyword cDroppedDroppedKeyword_5_9_0_0 = (Keyword)cDroppedAssignment_5_9_0.eContents().get(0);
private final Assignment cDropRationaleAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1);
private final RuleCall cDropRationaleSTRINGTerminalRuleCall_5_9_1_0 = (RuleCall)cDropRationaleAssignment_5_9_1.eContents().get(0);
private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10);
private final Keyword cStakeholderKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0);
private final Assignment cStakeholderReferenceAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1);
private final CrossReference cStakeholderReferenceStakeholderCrossReference_5_10_1_0 = (CrossReference)cStakeholderReferenceAssignment_5_10_1.eContents().get(0);
private final RuleCall cStakeholderReferenceStakeholderQualifiedNameParserRuleCall_5_10_1_0_1 = (RuleCall)cStakeholderReferenceStakeholderCrossReference_5_10_1_0.eContents().get(1);
private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11);
private final Keyword cSeeKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0);
private final Keyword cDocumentKeyword_5_11_1 = (Keyword)cGroup_5_11.eContents().get(1);
private final Assignment cDocReferenceAssignment_5_11_2 = (Assignment)cGroup_5_11.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_5_11_2_0 = (RuleCall)cDocReferenceAssignment_5_11_2.eContents().get(0);
private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12);
private final Keyword cIssuesKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0);
private final Assignment cIssuesAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_5_12_1_0 = (RuleCall)cIssuesAssignment_5_12_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//DocGoal Goal:
// 'goal' name=ID (':' title=STRING)? ('for' (targetDescription=STRING |
// target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]?))?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration*
// & whencondition=WhenCondition? // condition under which requirement applies
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('refines' refinesReference+=[Goal|QualifiedName]+)?
// & ('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('stakeholder' stakeholderReference+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
@Override public ParserRule getRule() { return rule; }
//'goal' name=ID (':' title=STRING)? ('for' (targetDescription=STRING |
//target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]?))? '[' (('category'
//category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration* &
//whencondition=WhenCondition? // condition under which requirement applies
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('refines' refinesReference+=[Goal|QualifiedName]+)? &
//('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)? & ('evolves'
//evolvesReference+=[Requirement|QualifiedName]+)? & (dropped?='dropped' dropRationale=STRING?)? & ('stakeholder'
//stakeholderReference+=[org::Stakeholder|QualifiedName]+)? & ('see' 'document' docReference+=ExternalDocument+)? &
//('issues' issues+=STRING+)?) ']'
public Group getGroup() { return cGroup; }
//'goal'
public Keyword getGoalKeyword_0() { return cGoalKeyword_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
//(':' title=STRING)?
public Group getGroup_2() { return cGroup_2; }
//':'
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//title=STRING
public Assignment getTitleAssignment_2_1() { return cTitleAssignment_2_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_2_1_0() { return cTitleSTRINGTerminalRuleCall_2_1_0; }
//('for' (targetDescription=STRING | target=[aadl2::ComponentClassifier|AadlClassifierReference]
//targetElement=[aadl2::NamedElement]?))?
public Group getGroup_3() { return cGroup_3; }
//'for'
public Keyword getForKeyword_3_0() { return cForKeyword_3_0; }
//(targetDescription=STRING | target=[aadl2::ComponentClassifier|AadlClassifierReference]
//targetElement=[aadl2::NamedElement]?)
public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; }
//targetDescription=STRING
public Assignment getTargetDescriptionAssignment_3_1_0() { return cTargetDescriptionAssignment_3_1_0; }
//STRING
public RuleCall getTargetDescriptionSTRINGTerminalRuleCall_3_1_0_0() { return cTargetDescriptionSTRINGTerminalRuleCall_3_1_0_0; }
//target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]?
public Group getGroup_3_1_1() { return cGroup_3_1_1; }
//target=[aadl2::ComponentClassifier|AadlClassifierReference]
public Assignment getTargetAssignment_3_1_1_0() { return cTargetAssignment_3_1_1_0; }
//[aadl2::ComponentClassifier|AadlClassifierReference]
public CrossReference getTargetComponentClassifierCrossReference_3_1_1_0_0() { return cTargetComponentClassifierCrossReference_3_1_1_0_0; }
//AadlClassifierReference
public RuleCall getTargetComponentClassifierAadlClassifierReferenceParserRuleCall_3_1_1_0_0_1() { return cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_3_1_1_0_0_1; }
//targetElement=[aadl2::NamedElement]?
public Assignment getTargetElementAssignment_3_1_1_1() { return cTargetElementAssignment_3_1_1_1; }
//[aadl2::NamedElement]
public CrossReference getTargetElementNamedElementCrossReference_3_1_1_1_0() { return cTargetElementNamedElementCrossReference_3_1_1_1_0; }
//ID
public RuleCall getTargetElementNamedElementIDTerminalRuleCall_3_1_1_1_0_1() { return cTargetElementNamedElementIDTerminalRuleCall_3_1_1_1_0_1; }
//'['
public Keyword getLeftSquareBracketKeyword_4() { return cLeftSquareBracketKeyword_4; }
//(('category' category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration* &
//whencondition=WhenCondition? // condition under which requirement applies
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('refines' refinesReference+=[Goal|QualifiedName]+)? &
//('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)? & ('evolves'
//evolvesReference+=[Requirement|QualifiedName]+)? & (dropped?='dropped' dropRationale=STRING?)? & ('stakeholder'
//stakeholderReference+=[org::Stakeholder|QualifiedName]+)? & ('see' 'document' docReference+=ExternalDocument+)? &
//('issues' issues+=STRING+)?)
public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
//('category' category+=[categories::Category|QualifiedName]+)?
public Group getGroup_5_0() { return cGroup_5_0; }
//'category'
public Keyword getCategoryKeyword_5_0_0() { return cCategoryKeyword_5_0_0; }
//category+=[categories::Category|QualifiedName]+
public Assignment getCategoryAssignment_5_0_1() { return cCategoryAssignment_5_0_1; }
//[categories::Category|QualifiedName]
public CrossReference getCategoryCategoryCrossReference_5_0_1_0() { return cCategoryCategoryCrossReference_5_0_1_0; }
//QualifiedName
public RuleCall getCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1() { return cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1; }
//description=Description?
public Assignment getDescriptionAssignment_5_1() { return cDescriptionAssignment_5_1; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_5_1_0() { return cDescriptionDescriptionParserRuleCall_5_1_0; }
//constants+=ValDeclaration*
public Assignment getConstantsAssignment_5_2() { return cConstantsAssignment_5_2; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_5_2_0() { return cConstantsValDeclarationParserRuleCall_5_2_0; }
//whencondition=WhenCondition?
public Assignment getWhenconditionAssignment_5_3() { return cWhenconditionAssignment_5_3; }
//WhenCondition
public RuleCall getWhenconditionWhenConditionParserRuleCall_5_3_0() { return cWhenconditionWhenConditionParserRuleCall_5_3_0; }
//rationale=Rationale?
public Assignment getRationaleAssignment_5_4() { return cRationaleAssignment_5_4; }
//Rationale
public RuleCall getRationaleRationaleParserRuleCall_5_4_0() { return cRationaleRationaleParserRuleCall_5_4_0; }
//changeUncertainty=Uncertainty?
public Assignment getChangeUncertaintyAssignment_5_5() { return cChangeUncertaintyAssignment_5_5; }
//Uncertainty
public RuleCall getChangeUncertaintyUncertaintyParserRuleCall_5_5_0() { return cChangeUncertaintyUncertaintyParserRuleCall_5_5_0; }
//('refines' refinesReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_6() { return cGroup_5_6; }
//'refines'
public Keyword getRefinesKeyword_5_6_0() { return cRefinesKeyword_5_6_0; }
//refinesReference+=[Goal|QualifiedName]+
public Assignment getRefinesReferenceAssignment_5_6_1() { return cRefinesReferenceAssignment_5_6_1; }
//[Goal|QualifiedName]
public CrossReference getRefinesReferenceGoalCrossReference_5_6_1_0() { return cRefinesReferenceGoalCrossReference_5_6_1_0; }
//QualifiedName
public RuleCall getRefinesReferenceGoalQualifiedNameParserRuleCall_5_6_1_0_1() { return cRefinesReferenceGoalQualifiedNameParserRuleCall_5_6_1_0_1; }
//('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_7() { return cGroup_5_7; }
//'conflicts'
public Keyword getConflictsKeyword_5_7_0() { return cConflictsKeyword_5_7_0; }
//'with'
public Keyword getWithKeyword_5_7_1() { return cWithKeyword_5_7_1; }
//conflictsReference+=[Goal|QualifiedName]+
public Assignment getConflictsReferenceAssignment_5_7_2() { return cConflictsReferenceAssignment_5_7_2; }
//[Goal|QualifiedName]
public CrossReference getConflictsReferenceGoalCrossReference_5_7_2_0() { return cConflictsReferenceGoalCrossReference_5_7_2_0; }
//QualifiedName
public RuleCall getConflictsReferenceGoalQualifiedNameParserRuleCall_5_7_2_0_1() { return cConflictsReferenceGoalQualifiedNameParserRuleCall_5_7_2_0_1; }
//('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_8() { return cGroup_5_8; }
//'evolves'
public Keyword getEvolvesKeyword_5_8_0() { return cEvolvesKeyword_5_8_0; }
//evolvesReference+=[Requirement|QualifiedName]+
public Assignment getEvolvesReferenceAssignment_5_8_1() { return cEvolvesReferenceAssignment_5_8_1; }
//[Requirement|QualifiedName]
public CrossReference getEvolvesReferenceRequirementCrossReference_5_8_1_0() { return cEvolvesReferenceRequirementCrossReference_5_8_1_0; }
//QualifiedName
public RuleCall getEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_8_1_0_1() { return cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_8_1_0_1; }
//(dropped?='dropped' dropRationale=STRING?)?
public Group getGroup_5_9() { return cGroup_5_9; }
//dropped?='dropped'
public Assignment getDroppedAssignment_5_9_0() { return cDroppedAssignment_5_9_0; }
//'dropped'
public Keyword getDroppedDroppedKeyword_5_9_0_0() { return cDroppedDroppedKeyword_5_9_0_0; }
//dropRationale=STRING?
public Assignment getDropRationaleAssignment_5_9_1() { return cDropRationaleAssignment_5_9_1; }
//STRING
public RuleCall getDropRationaleSTRINGTerminalRuleCall_5_9_1_0() { return cDropRationaleSTRINGTerminalRuleCall_5_9_1_0; }
//('stakeholder' stakeholderReference+=[org::Stakeholder|QualifiedName]+)?
public Group getGroup_5_10() { return cGroup_5_10; }
//'stakeholder'
public Keyword getStakeholderKeyword_5_10_0() { return cStakeholderKeyword_5_10_0; }
//stakeholderReference+=[org::Stakeholder|QualifiedName]+
public Assignment getStakeholderReferenceAssignment_5_10_1() { return cStakeholderReferenceAssignment_5_10_1; }
//[org::Stakeholder|QualifiedName]
public CrossReference getStakeholderReferenceStakeholderCrossReference_5_10_1_0() { return cStakeholderReferenceStakeholderCrossReference_5_10_1_0; }
//QualifiedName
public RuleCall getStakeholderReferenceStakeholderQualifiedNameParserRuleCall_5_10_1_0_1() { return cStakeholderReferenceStakeholderQualifiedNameParserRuleCall_5_10_1_0_1; }
//('see' 'document' docReference+=ExternalDocument+)?
public Group getGroup_5_11() { return cGroup_5_11; }
//'see'
public Keyword getSeeKeyword_5_11_0() { return cSeeKeyword_5_11_0; }
//'document'
public Keyword getDocumentKeyword_5_11_1() { return cDocumentKeyword_5_11_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_5_11_2() { return cDocReferenceAssignment_5_11_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_5_11_2_0() { return cDocReferenceExternalDocumentParserRuleCall_5_11_2_0; }
//('issues' issues+=STRING+)?
public Group getGroup_5_12() { return cGroup_5_12; }
//'issues'
public Keyword getIssuesKeyword_5_12_0() { return cIssuesKeyword_5_12_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_5_12_1() { return cIssuesAssignment_5_12_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_5_12_1_0() { return cIssuesSTRINGTerminalRuleCall_5_12_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_6() { return cRightSquareBracketKeyword_6; }
}
public class GoalElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.Goal");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cGoalKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cTitleAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cTitleAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cForKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cTargetElementAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final CrossReference cTargetElementNamedElementCrossReference_3_1_0 = (CrossReference)cTargetElementAssignment_3_1.eContents().get(0);
private final RuleCall cTargetElementNamedElementIDTerminalRuleCall_3_1_0_1 = (RuleCall)cTargetElementNamedElementCrossReference_3_1_0.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
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 cCategoryKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Assignment cCategoryAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1);
private final CrossReference cCategoryCategoryCrossReference_5_0_1_0 = (CrossReference)cCategoryAssignment_5_0_1.eContents().get(0);
private final RuleCall cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1 = (RuleCall)cCategoryCategoryCrossReference_5_0_1_0.eContents().get(1);
private final Assignment cDescriptionAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1);
private final RuleCall cDescriptionDescriptionParserRuleCall_5_1_0 = (RuleCall)cDescriptionAssignment_5_1.eContents().get(0);
private final Assignment cConstantsAssignment_5_2 = (Assignment)cUnorderedGroup_5.eContents().get(2);
private final RuleCall cConstantsValDeclarationParserRuleCall_5_2_0 = (RuleCall)cConstantsAssignment_5_2.eContents().get(0);
private final Assignment cWhenconditionAssignment_5_3 = (Assignment)cUnorderedGroup_5.eContents().get(3);
private final RuleCall cWhenconditionWhenConditionParserRuleCall_5_3_0 = (RuleCall)cWhenconditionAssignment_5_3.eContents().get(0);
private final Assignment cRationaleAssignment_5_4 = (Assignment)cUnorderedGroup_5.eContents().get(4);
private final RuleCall cRationaleRationaleParserRuleCall_5_4_0 = (RuleCall)cRationaleAssignment_5_4.eContents().get(0);
private final Assignment cChangeUncertaintyAssignment_5_5 = (Assignment)cUnorderedGroup_5.eContents().get(5);
private final RuleCall cChangeUncertaintyUncertaintyParserRuleCall_5_5_0 = (RuleCall)cChangeUncertaintyAssignment_5_5.eContents().get(0);
private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6);
private final Keyword cRefinesKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0);
private final Assignment cRefinesReferenceAssignment_5_6_1 = (Assignment)cGroup_5_6.eContents().get(1);
private final CrossReference cRefinesReferenceGoalCrossReference_5_6_1_0 = (CrossReference)cRefinesReferenceAssignment_5_6_1.eContents().get(0);
private final RuleCall cRefinesReferenceGoalQualifiedNameParserRuleCall_5_6_1_0_1 = (RuleCall)cRefinesReferenceGoalCrossReference_5_6_1_0.eContents().get(1);
private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7);
private final Keyword cConflictsKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0);
private final Keyword cWithKeyword_5_7_1 = (Keyword)cGroup_5_7.eContents().get(1);
private final Assignment cConflictsReferenceAssignment_5_7_2 = (Assignment)cGroup_5_7.eContents().get(2);
private final CrossReference cConflictsReferenceGoalCrossReference_5_7_2_0 = (CrossReference)cConflictsReferenceAssignment_5_7_2.eContents().get(0);
private final RuleCall cConflictsReferenceGoalQualifiedNameParserRuleCall_5_7_2_0_1 = (RuleCall)cConflictsReferenceGoalCrossReference_5_7_2_0.eContents().get(1);
private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8);
private final Keyword cEvolvesKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0);
private final Assignment cEvolvesReferenceAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1);
private final CrossReference cEvolvesReferenceRequirementCrossReference_5_8_1_0 = (CrossReference)cEvolvesReferenceAssignment_5_8_1.eContents().get(0);
private final RuleCall cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_8_1_0_1 = (RuleCall)cEvolvesReferenceRequirementCrossReference_5_8_1_0.eContents().get(1);
private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9);
private final Assignment cDroppedAssignment_5_9_0 = (Assignment)cGroup_5_9.eContents().get(0);
private final Keyword cDroppedDroppedKeyword_5_9_0_0 = (Keyword)cDroppedAssignment_5_9_0.eContents().get(0);
private final Assignment cDropRationaleAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1);
private final RuleCall cDropRationaleSTRINGTerminalRuleCall_5_9_1_0 = (RuleCall)cDropRationaleAssignment_5_9_1.eContents().get(0);
private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10);
private final Keyword cStakeholderKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0);
private final Assignment cStakeholderReferenceAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1);
private final CrossReference cStakeholderReferenceStakeholderCrossReference_5_10_1_0 = (CrossReference)cStakeholderReferenceAssignment_5_10_1.eContents().get(0);
private final RuleCall cStakeholderReferenceStakeholderQualifiedNameParserRuleCall_5_10_1_0_1 = (RuleCall)cStakeholderReferenceStakeholderCrossReference_5_10_1_0.eContents().get(1);
private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11);
private final Keyword cSeeKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0);
private final Keyword cGoalKeyword_5_11_1 = (Keyword)cGroup_5_11.eContents().get(1);
private final Assignment cGoalReferenceAssignment_5_11_2 = (Assignment)cGroup_5_11.eContents().get(2);
private final CrossReference cGoalReferenceGoalCrossReference_5_11_2_0 = (CrossReference)cGoalReferenceAssignment_5_11_2.eContents().get(0);
private final RuleCall cGoalReferenceGoalQualifiedNameParserRuleCall_5_11_2_0_1 = (RuleCall)cGoalReferenceGoalCrossReference_5_11_2_0.eContents().get(1);
private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12);
private final Keyword cSeeKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0);
private final Keyword cDocumentKeyword_5_12_1 = (Keyword)cGroup_5_12.eContents().get(1);
private final Assignment cDocReferenceAssignment_5_12_2 = (Assignment)cGroup_5_12.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_5_12_2_0 = (RuleCall)cDocReferenceAssignment_5_12_2.eContents().get(0);
private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13);
private final Keyword cIssuesKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0);
private final Assignment cIssuesAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_5_13_1_0 = (RuleCall)cIssuesAssignment_5_13_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//Goal:
// 'goal' name=ID (':' title=STRING)? ('for' targetElement=[aadl2::NamedElement])?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('refines' refinesReference+=[Goal|QualifiedName]+)?
// & ('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('stakeholder' stakeholderReference+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
@Override public ParserRule getRule() { return rule; }
//'goal' name=ID (':' title=STRING)? ('for' targetElement=[aadl2::NamedElement])? '[' (('category'
//category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration* &
//whencondition=WhenCondition? // condition under which requirement applies
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('refines' refinesReference+=[Goal|QualifiedName]+)? &
//('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)? & ('evolves'
//evolvesReference+=[Requirement|QualifiedName]+)? & (dropped?='dropped' dropRationale=STRING?)? & ('stakeholder'
//stakeholderReference+=[org::Stakeholder|QualifiedName]+)? & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)? &
//('see' 'document' docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?) ']'
public Group getGroup() { return cGroup; }
//'goal'
public Keyword getGoalKeyword_0() { return cGoalKeyword_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
//(':' title=STRING)?
public Group getGroup_2() { return cGroup_2; }
//':'
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//title=STRING
public Assignment getTitleAssignment_2_1() { return cTitleAssignment_2_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_2_1_0() { return cTitleSTRINGTerminalRuleCall_2_1_0; }
//('for' targetElement=[aadl2::NamedElement])?
public Group getGroup_3() { return cGroup_3; }
//'for'
public Keyword getForKeyword_3_0() { return cForKeyword_3_0; }
//targetElement=[aadl2::NamedElement]
public Assignment getTargetElementAssignment_3_1() { return cTargetElementAssignment_3_1; }
//[aadl2::NamedElement]
public CrossReference getTargetElementNamedElementCrossReference_3_1_0() { return cTargetElementNamedElementCrossReference_3_1_0; }
//ID
public RuleCall getTargetElementNamedElementIDTerminalRuleCall_3_1_0_1() { return cTargetElementNamedElementIDTerminalRuleCall_3_1_0_1; }
//'['
public Keyword getLeftSquareBracketKeyword_4() { return cLeftSquareBracketKeyword_4; }
//(('category' category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration* &
//whencondition=WhenCondition? // condition under which requirement applies
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('refines' refinesReference+=[Goal|QualifiedName]+)? &
//('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)? & ('evolves'
//evolvesReference+=[Requirement|QualifiedName]+)? & (dropped?='dropped' dropRationale=STRING?)? & ('stakeholder'
//stakeholderReference+=[org::Stakeholder|QualifiedName]+)? & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)? &
//('see' 'document' docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?)
public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
//('category' category+=[categories::Category|QualifiedName]+)?
public Group getGroup_5_0() { return cGroup_5_0; }
//'category'
public Keyword getCategoryKeyword_5_0_0() { return cCategoryKeyword_5_0_0; }
//category+=[categories::Category|QualifiedName]+
public Assignment getCategoryAssignment_5_0_1() { return cCategoryAssignment_5_0_1; }
//[categories::Category|QualifiedName]
public CrossReference getCategoryCategoryCrossReference_5_0_1_0() { return cCategoryCategoryCrossReference_5_0_1_0; }
//QualifiedName
public RuleCall getCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1() { return cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1; }
//description=Description?
public Assignment getDescriptionAssignment_5_1() { return cDescriptionAssignment_5_1; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_5_1_0() { return cDescriptionDescriptionParserRuleCall_5_1_0; }
//constants+=ValDeclaration*
public Assignment getConstantsAssignment_5_2() { return cConstantsAssignment_5_2; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_5_2_0() { return cConstantsValDeclarationParserRuleCall_5_2_0; }
//whencondition=WhenCondition?
public Assignment getWhenconditionAssignment_5_3() { return cWhenconditionAssignment_5_3; }
//WhenCondition
public RuleCall getWhenconditionWhenConditionParserRuleCall_5_3_0() { return cWhenconditionWhenConditionParserRuleCall_5_3_0; }
//rationale=Rationale?
public Assignment getRationaleAssignment_5_4() { return cRationaleAssignment_5_4; }
//Rationale
public RuleCall getRationaleRationaleParserRuleCall_5_4_0() { return cRationaleRationaleParserRuleCall_5_4_0; }
//changeUncertainty=Uncertainty?
public Assignment getChangeUncertaintyAssignment_5_5() { return cChangeUncertaintyAssignment_5_5; }
//Uncertainty
public RuleCall getChangeUncertaintyUncertaintyParserRuleCall_5_5_0() { return cChangeUncertaintyUncertaintyParserRuleCall_5_5_0; }
//('refines' refinesReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_6() { return cGroup_5_6; }
//'refines'
public Keyword getRefinesKeyword_5_6_0() { return cRefinesKeyword_5_6_0; }
//refinesReference+=[Goal|QualifiedName]+
public Assignment getRefinesReferenceAssignment_5_6_1() { return cRefinesReferenceAssignment_5_6_1; }
//[Goal|QualifiedName]
public CrossReference getRefinesReferenceGoalCrossReference_5_6_1_0() { return cRefinesReferenceGoalCrossReference_5_6_1_0; }
//QualifiedName
public RuleCall getRefinesReferenceGoalQualifiedNameParserRuleCall_5_6_1_0_1() { return cRefinesReferenceGoalQualifiedNameParserRuleCall_5_6_1_0_1; }
//('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_7() { return cGroup_5_7; }
//'conflicts'
public Keyword getConflictsKeyword_5_7_0() { return cConflictsKeyword_5_7_0; }
//'with'
public Keyword getWithKeyword_5_7_1() { return cWithKeyword_5_7_1; }
//conflictsReference+=[Goal|QualifiedName]+
public Assignment getConflictsReferenceAssignment_5_7_2() { return cConflictsReferenceAssignment_5_7_2; }
//[Goal|QualifiedName]
public CrossReference getConflictsReferenceGoalCrossReference_5_7_2_0() { return cConflictsReferenceGoalCrossReference_5_7_2_0; }
//QualifiedName
public RuleCall getConflictsReferenceGoalQualifiedNameParserRuleCall_5_7_2_0_1() { return cConflictsReferenceGoalQualifiedNameParserRuleCall_5_7_2_0_1; }
//('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_8() { return cGroup_5_8; }
//'evolves'
public Keyword getEvolvesKeyword_5_8_0() { return cEvolvesKeyword_5_8_0; }
//evolvesReference+=[Requirement|QualifiedName]+
public Assignment getEvolvesReferenceAssignment_5_8_1() { return cEvolvesReferenceAssignment_5_8_1; }
//[Requirement|QualifiedName]
public CrossReference getEvolvesReferenceRequirementCrossReference_5_8_1_0() { return cEvolvesReferenceRequirementCrossReference_5_8_1_0; }
//QualifiedName
public RuleCall getEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_8_1_0_1() { return cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_8_1_0_1; }
//(dropped?='dropped' dropRationale=STRING?)?
public Group getGroup_5_9() { return cGroup_5_9; }
//dropped?='dropped'
public Assignment getDroppedAssignment_5_9_0() { return cDroppedAssignment_5_9_0; }
//'dropped'
public Keyword getDroppedDroppedKeyword_5_9_0_0() { return cDroppedDroppedKeyword_5_9_0_0; }
//dropRationale=STRING?
public Assignment getDropRationaleAssignment_5_9_1() { return cDropRationaleAssignment_5_9_1; }
//STRING
public RuleCall getDropRationaleSTRINGTerminalRuleCall_5_9_1_0() { return cDropRationaleSTRINGTerminalRuleCall_5_9_1_0; }
//('stakeholder' stakeholderReference+=[org::Stakeholder|QualifiedName]+)?
public Group getGroup_5_10() { return cGroup_5_10; }
//'stakeholder'
public Keyword getStakeholderKeyword_5_10_0() { return cStakeholderKeyword_5_10_0; }
//stakeholderReference+=[org::Stakeholder|QualifiedName]+
public Assignment getStakeholderReferenceAssignment_5_10_1() { return cStakeholderReferenceAssignment_5_10_1; }
//[org::Stakeholder|QualifiedName]
public CrossReference getStakeholderReferenceStakeholderCrossReference_5_10_1_0() { return cStakeholderReferenceStakeholderCrossReference_5_10_1_0; }
//QualifiedName
public RuleCall getStakeholderReferenceStakeholderQualifiedNameParserRuleCall_5_10_1_0_1() { return cStakeholderReferenceStakeholderQualifiedNameParserRuleCall_5_10_1_0_1; }
//('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_11() { return cGroup_5_11; }
//'see'
public Keyword getSeeKeyword_5_11_0() { return cSeeKeyword_5_11_0; }
//'goal'
public Keyword getGoalKeyword_5_11_1() { return cGoalKeyword_5_11_1; }
//goalReference+=[Goal|QualifiedName]+
public Assignment getGoalReferenceAssignment_5_11_2() { return cGoalReferenceAssignment_5_11_2; }
//[Goal|QualifiedName]
public CrossReference getGoalReferenceGoalCrossReference_5_11_2_0() { return cGoalReferenceGoalCrossReference_5_11_2_0; }
//QualifiedName
public RuleCall getGoalReferenceGoalQualifiedNameParserRuleCall_5_11_2_0_1() { return cGoalReferenceGoalQualifiedNameParserRuleCall_5_11_2_0_1; }
//('see' 'document' docReference+=ExternalDocument+)?
public Group getGroup_5_12() { return cGroup_5_12; }
//'see'
public Keyword getSeeKeyword_5_12_0() { return cSeeKeyword_5_12_0; }
//'document'
public Keyword getDocumentKeyword_5_12_1() { return cDocumentKeyword_5_12_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_5_12_2() { return cDocReferenceAssignment_5_12_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_5_12_2_0() { return cDocReferenceExternalDocumentParserRuleCall_5_12_2_0; }
//('issues' issues+=STRING+)?
public Group getGroup_5_13() { return cGroup_5_13; }
//'issues'
public Keyword getIssuesKeyword_5_13_0() { return cIssuesKeyword_5_13_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_5_13_1() { return cIssuesAssignment_5_13_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_5_13_1_0() { return cIssuesSTRINGTerminalRuleCall_5_13_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_6() { return cRightSquareBracketKeyword_6; }
}
public class SystemRequirementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.SystemRequirement");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cRequirementKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cTitleAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cTitleAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cForKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cTargetElementAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final CrossReference cTargetElementNamedElementCrossReference_3_1_0 = (CrossReference)cTargetElementAssignment_3_1.eContents().get(0);
private final RuleCall cTargetElementNamedElementIDTerminalRuleCall_3_1_0_1 = (RuleCall)cTargetElementNamedElementCrossReference_3_1_0.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Alternatives cAlternatives_5 = (Alternatives)cGroup.eContents().get(5);
private final Group cGroup_5_0 = (Group)cAlternatives_5.eContents().get(0);
private final Keyword cCategoryKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Assignment cCategoryAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1);
private final CrossReference cCategoryCategoryCrossReference_5_0_1_0 = (CrossReference)cCategoryAssignment_5_0_1.eContents().get(0);
private final RuleCall cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1 = (RuleCall)cCategoryCategoryCrossReference_5_0_1_0.eContents().get(1);
private final Assignment cDescriptionAssignment_5_1 = (Assignment)cAlternatives_5.eContents().get(1);
private final RuleCall cDescriptionDescriptionParserRuleCall_5_1_0 = (RuleCall)cDescriptionAssignment_5_1.eContents().get(0);
private final Assignment cWhenconditionAssignment_5_2 = (Assignment)cAlternatives_5.eContents().get(2);
private final RuleCall cWhenconditionWhenConditionParserRuleCall_5_2_0 = (RuleCall)cWhenconditionAssignment_5_2.eContents().get(0);
private final Assignment cPredicateAssignment_5_3 = (Assignment)cAlternatives_5.eContents().get(3);
private final RuleCall cPredicateReqPredicateParserRuleCall_5_3_0 = (RuleCall)cPredicateAssignment_5_3.eContents().get(0);
private final Assignment cRationaleAssignment_5_4 = (Assignment)cAlternatives_5.eContents().get(4);
private final RuleCall cRationaleRationaleParserRuleCall_5_4_0 = (RuleCall)cRationaleAssignment_5_4.eContents().get(0);
private final Assignment cChangeUncertaintyAssignment_5_5 = (Assignment)cAlternatives_5.eContents().get(5);
private final RuleCall cChangeUncertaintyUncertaintyParserRuleCall_5_5_0 = (RuleCall)cChangeUncertaintyAssignment_5_5.eContents().get(0);
private final Group cGroup_5_6 = (Group)cAlternatives_5.eContents().get(6);
private final Keyword cMitigatesKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0);
private final Alternatives cAlternatives_5_6_1 = (Alternatives)cGroup_5_6.eContents().get(1);
private final Assignment cExceptionAssignment_5_6_1_0 = (Assignment)cAlternatives_5_6_1.eContents().get(0);
private final CrossReference cExceptionEObjectCrossReference_5_6_1_0_0 = (CrossReference)cExceptionAssignment_5_6_1_0.eContents().get(0);
private final RuleCall cExceptionEObjectIDTerminalRuleCall_5_6_1_0_0_1 = (RuleCall)cExceptionEObjectCrossReference_5_6_1_0_0.eContents().get(1);
private final Assignment cExceptionTextAssignment_5_6_1_1 = (Assignment)cAlternatives_5_6_1.eContents().get(1);
private final RuleCall cExceptionTextSTRINGTerminalRuleCall_5_6_1_1_0 = (RuleCall)cExceptionTextAssignment_5_6_1_1.eContents().get(0);
private final Group cGroup_5_7 = (Group)cAlternatives_5.eContents().get(7);
private final Keyword cInheritsKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0);
private final Assignment cInheritsReferenceAssignment_5_7_1 = (Assignment)cGroup_5_7.eContents().get(1);
private final CrossReference cInheritsReferenceRequirementCrossReference_5_7_1_0 = (CrossReference)cInheritsReferenceAssignment_5_7_1.eContents().get(0);
private final RuleCall cInheritsReferenceRequirementQualifiedNameParserRuleCall_5_7_1_0_1 = (RuleCall)cInheritsReferenceRequirementCrossReference_5_7_1_0.eContents().get(1);
private final Group cGroup_5_8 = (Group)cAlternatives_5.eContents().get(8);
private final Assignment cDroppedAssignment_5_8_0 = (Assignment)cGroup_5_8.eContents().get(0);
private final Keyword cDroppedDroppedKeyword_5_8_0_0 = (Keyword)cDroppedAssignment_5_8_0.eContents().get(0);
private final Assignment cDropRationaleAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1);
private final RuleCall cDropRationaleSTRINGTerminalRuleCall_5_8_1_0 = (RuleCall)cDropRationaleAssignment_5_8_1.eContents().get(0);
private final Assignment cConstantsAssignment_5_9 = (Assignment)cAlternatives_5.eContents().get(9);
private final RuleCall cConstantsValDeclarationParserRuleCall_5_9_0 = (RuleCall)cConstantsAssignment_5_9.eContents().get(0);
private final Assignment cComputesAssignment_5_10 = (Assignment)cAlternatives_5.eContents().get(10);
private final RuleCall cComputesComputeDeclarationParserRuleCall_5_10_0 = (RuleCall)cComputesAssignment_5_10.eContents().get(0);
private final Group cGroup_5_11 = (Group)cAlternatives_5.eContents().get(11);
private final Keyword cRefinesKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0);
private final Assignment cRefinesReferenceAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1);
private final CrossReference cRefinesReferenceRequirementCrossReference_5_11_1_0 = (CrossReference)cRefinesReferenceAssignment_5_11_1.eContents().get(0);
private final RuleCall cRefinesReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1 = (RuleCall)cRefinesReferenceRequirementCrossReference_5_11_1_0.eContents().get(1);
private final Group cGroup_5_12 = (Group)cAlternatives_5.eContents().get(12);
private final Keyword cDecomposesKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0);
private final Assignment cDecomposesReferenceAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1);
private final CrossReference cDecomposesReferenceRequirementCrossReference_5_12_1_0 = (CrossReference)cDecomposesReferenceAssignment_5_12_1.eContents().get(0);
private final RuleCall cDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_12_1_0_1 = (RuleCall)cDecomposesReferenceRequirementCrossReference_5_12_1_0.eContents().get(1);
private final Group cGroup_5_13 = (Group)cAlternatives_5.eContents().get(13);
private final Keyword cEvolvesKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0);
private final Assignment cEvolvesReferenceAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1);
private final CrossReference cEvolvesReferenceRequirementCrossReference_5_13_1_0 = (CrossReference)cEvolvesReferenceAssignment_5_13_1.eContents().get(0);
private final RuleCall cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_13_1_0_1 = (RuleCall)cEvolvesReferenceRequirementCrossReference_5_13_1_0.eContents().get(1);
private final Group cGroup_5_14 = (Group)cAlternatives_5.eContents().get(14);
private final Keyword cDevelopmentKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0);
private final Keyword cStakeholderKeyword_5_14_1 = (Keyword)cGroup_5_14.eContents().get(1);
private final Assignment cDevelopmentStakeholderAssignment_5_14_2 = (Assignment)cGroup_5_14.eContents().get(2);
private final CrossReference cDevelopmentStakeholderStakeholderCrossReference_5_14_2_0 = (CrossReference)cDevelopmentStakeholderAssignment_5_14_2.eContents().get(0);
private final RuleCall cDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_14_2_0_1 = (RuleCall)cDevelopmentStakeholderStakeholderCrossReference_5_14_2_0.eContents().get(1);
private final Group cGroup_5_15 = (Group)cAlternatives_5.eContents().get(15);
private final Keyword cSeeKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0);
private final Keyword cGoalKeyword_5_15_1 = (Keyword)cGroup_5_15.eContents().get(1);
private final Assignment cGoalReferenceAssignment_5_15_2 = (Assignment)cGroup_5_15.eContents().get(2);
private final CrossReference cGoalReferenceGoalCrossReference_5_15_2_0 = (CrossReference)cGoalReferenceAssignment_5_15_2.eContents().get(0);
private final RuleCall cGoalReferenceGoalQualifiedNameParserRuleCall_5_15_2_0_1 = (RuleCall)cGoalReferenceGoalCrossReference_5_15_2_0.eContents().get(1);
private final Group cGroup_5_16 = (Group)cAlternatives_5.eContents().get(16);
private final Keyword cSeeKeyword_5_16_0 = (Keyword)cGroup_5_16.eContents().get(0);
private final Keyword cRequirementKeyword_5_16_1 = (Keyword)cGroup_5_16.eContents().get(1);
private final Assignment cRequirementReferenceAssignment_5_16_2 = (Assignment)cGroup_5_16.eContents().get(2);
private final CrossReference cRequirementReferenceRequirementCrossReference_5_16_2_0 = (CrossReference)cRequirementReferenceAssignment_5_16_2.eContents().get(0);
private final RuleCall cRequirementReferenceRequirementQualifiedNameParserRuleCall_5_16_2_0_1 = (RuleCall)cRequirementReferenceRequirementCrossReference_5_16_2_0.eContents().get(1);
private final Group cGroup_5_17 = (Group)cAlternatives_5.eContents().get(17);
private final Keyword cSeeKeyword_5_17_0 = (Keyword)cGroup_5_17.eContents().get(0);
private final Keyword cDocumentKeyword_5_17_1 = (Keyword)cGroup_5_17.eContents().get(1);
private final Assignment cDocReferenceAssignment_5_17_2 = (Assignment)cGroup_5_17.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_5_17_2_0 = (RuleCall)cDocReferenceAssignment_5_17_2.eContents().get(0);
private final Group cGroup_5_18 = (Group)cAlternatives_5.eContents().get(18);
private final Keyword cIssuesKeyword_5_18_0 = (Keyword)cGroup_5_18.eContents().get(0);
private final Assignment cIssuesAssignment_5_18_1 = (Assignment)cGroup_5_18.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_5_18_1_0 = (RuleCall)cIssuesAssignment_5_18_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//SystemRequirement Requirement:
// 'requirement' name=ID (':' title=STRING)? ('for' targetElement=[aadl2::NamedElement])?
// '[' ('category' category+=[categories::Category|QualifiedName]+ | description=Description |
// whencondition=WhenCondition | predicate=ReqPredicate | rationale=Rationale | changeUncertainty=Uncertainty |
// 'mitigates' (exception=[ecore::EObject] | exceptionText=STRING) | 'inherits'
// inheritsReference=[Requirement|QualifiedName] | dropped?='dropped' dropRationale=STRING? | constants+=ValDeclaration |
// computes+=ComputeDeclaration | 'refines' refinesReference+=[Requirement|QualifiedName]+ | 'decomposes'
// decomposesReference+=[Requirement|QualifiedName]+ | 'evolves' evolvesReference+=[Requirement|QualifiedName]+ |
// 'development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+ | 'see' 'goal'
// goalReference+=[Goal|QualifiedName]+ | 'see' 'requirement' requirementReference+=[Requirement|QualifiedName]+ | 'see'
// 'document' docReference+=ExternalDocument+ | 'issues' issues+=STRING+)*
// ']';
@Override public ParserRule getRule() { return rule; }
//'requirement' name=ID (':' title=STRING)? ('for' targetElement=[aadl2::NamedElement])? '[' ('category'
//category+=[categories::Category|QualifiedName]+ | description=Description | whencondition=WhenCondition |
//predicate=ReqPredicate | rationale=Rationale | changeUncertainty=Uncertainty | 'mitigates' (exception=[ecore::EObject]
//| exceptionText=STRING) | 'inherits' inheritsReference=[Requirement|QualifiedName] | dropped?='dropped'
//dropRationale=STRING? | constants+=ValDeclaration | computes+=ComputeDeclaration | 'refines'
//refinesReference+=[Requirement|QualifiedName]+ | 'decomposes' decomposesReference+=[Requirement|QualifiedName]+ |
//'evolves' evolvesReference+=[Requirement|QualifiedName]+ | 'development' 'stakeholder'
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+ | 'see' 'goal' goalReference+=[Goal|QualifiedName]+ | 'see'
//'requirement' requirementReference+=[Requirement|QualifiedName]+ | 'see' 'document' docReference+=ExternalDocument+ |
//'issues' issues+=STRING+)* ']'
public Group getGroup() { return cGroup; }
//'requirement'
public Keyword getRequirementKeyword_0() { return cRequirementKeyword_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
//(':' title=STRING)?
public Group getGroup_2() { return cGroup_2; }
//':'
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//title=STRING
public Assignment getTitleAssignment_2_1() { return cTitleAssignment_2_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_2_1_0() { return cTitleSTRINGTerminalRuleCall_2_1_0; }
//('for' targetElement=[aadl2::NamedElement])?
public Group getGroup_3() { return cGroup_3; }
//'for'
public Keyword getForKeyword_3_0() { return cForKeyword_3_0; }
//targetElement=[aadl2::NamedElement]
public Assignment getTargetElementAssignment_3_1() { return cTargetElementAssignment_3_1; }
//[aadl2::NamedElement]
public CrossReference getTargetElementNamedElementCrossReference_3_1_0() { return cTargetElementNamedElementCrossReference_3_1_0; }
//ID
public RuleCall getTargetElementNamedElementIDTerminalRuleCall_3_1_0_1() { return cTargetElementNamedElementIDTerminalRuleCall_3_1_0_1; }
//'['
public Keyword getLeftSquareBracketKeyword_4() { return cLeftSquareBracketKeyword_4; }
//('category' category+=[categories::Category|QualifiedName]+ | description=Description | whencondition=WhenCondition |
//predicate=ReqPredicate | rationale=Rationale | changeUncertainty=Uncertainty | 'mitigates' (exception=[ecore::EObject]
//| exceptionText=STRING) | 'inherits' inheritsReference=[Requirement|QualifiedName] | dropped?='dropped'
//dropRationale=STRING? | constants+=ValDeclaration | computes+=ComputeDeclaration | 'refines'
//refinesReference+=[Requirement|QualifiedName]+ | 'decomposes' decomposesReference+=[Requirement|QualifiedName]+ |
//'evolves' evolvesReference+=[Requirement|QualifiedName]+ | 'development' 'stakeholder'
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+ | 'see' 'goal' goalReference+=[Goal|QualifiedName]+ | 'see'
//'requirement' requirementReference+=[Requirement|QualifiedName]+ | 'see' 'document' docReference+=ExternalDocument+ |
//'issues' issues+=STRING+)*
public Alternatives getAlternatives_5() { return cAlternatives_5; }
//'category' category+=[categories::Category|QualifiedName]+
public Group getGroup_5_0() { return cGroup_5_0; }
//'category'
public Keyword getCategoryKeyword_5_0_0() { return cCategoryKeyword_5_0_0; }
//category+=[categories::Category|QualifiedName]+
public Assignment getCategoryAssignment_5_0_1() { return cCategoryAssignment_5_0_1; }
//[categories::Category|QualifiedName]
public CrossReference getCategoryCategoryCrossReference_5_0_1_0() { return cCategoryCategoryCrossReference_5_0_1_0; }
//QualifiedName
public RuleCall getCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1() { return cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1; }
//description=Description
public Assignment getDescriptionAssignment_5_1() { return cDescriptionAssignment_5_1; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_5_1_0() { return cDescriptionDescriptionParserRuleCall_5_1_0; }
//whencondition=WhenCondition
public Assignment getWhenconditionAssignment_5_2() { return cWhenconditionAssignment_5_2; }
//WhenCondition
public RuleCall getWhenconditionWhenConditionParserRuleCall_5_2_0() { return cWhenconditionWhenConditionParserRuleCall_5_2_0; }
//predicate=ReqPredicate
public Assignment getPredicateAssignment_5_3() { return cPredicateAssignment_5_3; }
//ReqPredicate
public RuleCall getPredicateReqPredicateParserRuleCall_5_3_0() { return cPredicateReqPredicateParserRuleCall_5_3_0; }
//rationale=Rationale
public Assignment getRationaleAssignment_5_4() { return cRationaleAssignment_5_4; }
//Rationale
public RuleCall getRationaleRationaleParserRuleCall_5_4_0() { return cRationaleRationaleParserRuleCall_5_4_0; }
//changeUncertainty=Uncertainty
public Assignment getChangeUncertaintyAssignment_5_5() { return cChangeUncertaintyAssignment_5_5; }
//Uncertainty
public RuleCall getChangeUncertaintyUncertaintyParserRuleCall_5_5_0() { return cChangeUncertaintyUncertaintyParserRuleCall_5_5_0; }
//'mitigates' (exception=[ecore::EObject] | exceptionText=STRING)
public Group getGroup_5_6() { return cGroup_5_6; }
//'mitigates'
public Keyword getMitigatesKeyword_5_6_0() { return cMitigatesKeyword_5_6_0; }
//(exception=[ecore::EObject] | exceptionText=STRING)
public Alternatives getAlternatives_5_6_1() { return cAlternatives_5_6_1; }
//exception=[ecore::EObject]
public Assignment getExceptionAssignment_5_6_1_0() { return cExceptionAssignment_5_6_1_0; }
//[ecore::EObject]
public CrossReference getExceptionEObjectCrossReference_5_6_1_0_0() { return cExceptionEObjectCrossReference_5_6_1_0_0; }
//ID
public RuleCall getExceptionEObjectIDTerminalRuleCall_5_6_1_0_0_1() { return cExceptionEObjectIDTerminalRuleCall_5_6_1_0_0_1; }
//exceptionText=STRING
public Assignment getExceptionTextAssignment_5_6_1_1() { return cExceptionTextAssignment_5_6_1_1; }
//STRING
public RuleCall getExceptionTextSTRINGTerminalRuleCall_5_6_1_1_0() { return cExceptionTextSTRINGTerminalRuleCall_5_6_1_1_0; }
//'inherits' inheritsReference=[Requirement|QualifiedName]
public Group getGroup_5_7() { return cGroup_5_7; }
//'inherits'
public Keyword getInheritsKeyword_5_7_0() { return cInheritsKeyword_5_7_0; }
//inheritsReference=[Requirement|QualifiedName]
public Assignment getInheritsReferenceAssignment_5_7_1() { return cInheritsReferenceAssignment_5_7_1; }
//[Requirement|QualifiedName]
public CrossReference getInheritsReferenceRequirementCrossReference_5_7_1_0() { return cInheritsReferenceRequirementCrossReference_5_7_1_0; }
//QualifiedName
public RuleCall getInheritsReferenceRequirementQualifiedNameParserRuleCall_5_7_1_0_1() { return cInheritsReferenceRequirementQualifiedNameParserRuleCall_5_7_1_0_1; }
//dropped?='dropped' dropRationale=STRING?
public Group getGroup_5_8() { return cGroup_5_8; }
//dropped?='dropped'
public Assignment getDroppedAssignment_5_8_0() { return cDroppedAssignment_5_8_0; }
//'dropped'
public Keyword getDroppedDroppedKeyword_5_8_0_0() { return cDroppedDroppedKeyword_5_8_0_0; }
//dropRationale=STRING?
public Assignment getDropRationaleAssignment_5_8_1() { return cDropRationaleAssignment_5_8_1; }
//STRING
public RuleCall getDropRationaleSTRINGTerminalRuleCall_5_8_1_0() { return cDropRationaleSTRINGTerminalRuleCall_5_8_1_0; }
//constants+=ValDeclaration
public Assignment getConstantsAssignment_5_9() { return cConstantsAssignment_5_9; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_5_9_0() { return cConstantsValDeclarationParserRuleCall_5_9_0; }
//computes+=ComputeDeclaration
public Assignment getComputesAssignment_5_10() { return cComputesAssignment_5_10; }
//ComputeDeclaration
public RuleCall getComputesComputeDeclarationParserRuleCall_5_10_0() { return cComputesComputeDeclarationParserRuleCall_5_10_0; }
//'refines' refinesReference+=[Requirement|QualifiedName]+
public Group getGroup_5_11() { return cGroup_5_11; }
//'refines'
public Keyword getRefinesKeyword_5_11_0() { return cRefinesKeyword_5_11_0; }
//refinesReference+=[Requirement|QualifiedName]+
public Assignment getRefinesReferenceAssignment_5_11_1() { return cRefinesReferenceAssignment_5_11_1; }
//[Requirement|QualifiedName]
public CrossReference getRefinesReferenceRequirementCrossReference_5_11_1_0() { return cRefinesReferenceRequirementCrossReference_5_11_1_0; }
//QualifiedName
public RuleCall getRefinesReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1() { return cRefinesReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1; }
//'decomposes' decomposesReference+=[Requirement|QualifiedName]+
public Group getGroup_5_12() { return cGroup_5_12; }
//'decomposes'
public Keyword getDecomposesKeyword_5_12_0() { return cDecomposesKeyword_5_12_0; }
//decomposesReference+=[Requirement|QualifiedName]+
public Assignment getDecomposesReferenceAssignment_5_12_1() { return cDecomposesReferenceAssignment_5_12_1; }
//[Requirement|QualifiedName]
public CrossReference getDecomposesReferenceRequirementCrossReference_5_12_1_0() { return cDecomposesReferenceRequirementCrossReference_5_12_1_0; }
//QualifiedName
public RuleCall getDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_12_1_0_1() { return cDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_12_1_0_1; }
//'evolves' evolvesReference+=[Requirement|QualifiedName]+
public Group getGroup_5_13() { return cGroup_5_13; }
//'evolves'
public Keyword getEvolvesKeyword_5_13_0() { return cEvolvesKeyword_5_13_0; }
//evolvesReference+=[Requirement|QualifiedName]+
public Assignment getEvolvesReferenceAssignment_5_13_1() { return cEvolvesReferenceAssignment_5_13_1; }
//[Requirement|QualifiedName]
public CrossReference getEvolvesReferenceRequirementCrossReference_5_13_1_0() { return cEvolvesReferenceRequirementCrossReference_5_13_1_0; }
//QualifiedName
public RuleCall getEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_13_1_0_1() { return cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_13_1_0_1; }
//'development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+
public Group getGroup_5_14() { return cGroup_5_14; }
//'development'
public Keyword getDevelopmentKeyword_5_14_0() { return cDevelopmentKeyword_5_14_0; }
//'stakeholder'
public Keyword getStakeholderKeyword_5_14_1() { return cStakeholderKeyword_5_14_1; }
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+
public Assignment getDevelopmentStakeholderAssignment_5_14_2() { return cDevelopmentStakeholderAssignment_5_14_2; }
//[org::Stakeholder|QualifiedName]
public CrossReference getDevelopmentStakeholderStakeholderCrossReference_5_14_2_0() { return cDevelopmentStakeholderStakeholderCrossReference_5_14_2_0; }
//QualifiedName
public RuleCall getDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_14_2_0_1() { return cDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_14_2_0_1; }
//'see' 'goal' goalReference+=[Goal|QualifiedName]+
public Group getGroup_5_15() { return cGroup_5_15; }
//'see'
public Keyword getSeeKeyword_5_15_0() { return cSeeKeyword_5_15_0; }
//'goal'
public Keyword getGoalKeyword_5_15_1() { return cGoalKeyword_5_15_1; }
//goalReference+=[Goal|QualifiedName]+
public Assignment getGoalReferenceAssignment_5_15_2() { return cGoalReferenceAssignment_5_15_2; }
//[Goal|QualifiedName]
public CrossReference getGoalReferenceGoalCrossReference_5_15_2_0() { return cGoalReferenceGoalCrossReference_5_15_2_0; }
//QualifiedName
public RuleCall getGoalReferenceGoalQualifiedNameParserRuleCall_5_15_2_0_1() { return cGoalReferenceGoalQualifiedNameParserRuleCall_5_15_2_0_1; }
//'see' 'requirement' requirementReference+=[Requirement|QualifiedName]+
public Group getGroup_5_16() { return cGroup_5_16; }
//'see'
public Keyword getSeeKeyword_5_16_0() { return cSeeKeyword_5_16_0; }
//'requirement'
public Keyword getRequirementKeyword_5_16_1() { return cRequirementKeyword_5_16_1; }
//requirementReference+=[Requirement|QualifiedName]+
public Assignment getRequirementReferenceAssignment_5_16_2() { return cRequirementReferenceAssignment_5_16_2; }
//[Requirement|QualifiedName]
public CrossReference getRequirementReferenceRequirementCrossReference_5_16_2_0() { return cRequirementReferenceRequirementCrossReference_5_16_2_0; }
//QualifiedName
public RuleCall getRequirementReferenceRequirementQualifiedNameParserRuleCall_5_16_2_0_1() { return cRequirementReferenceRequirementQualifiedNameParserRuleCall_5_16_2_0_1; }
//'see' 'document' docReference+=ExternalDocument+
public Group getGroup_5_17() { return cGroup_5_17; }
//'see'
public Keyword getSeeKeyword_5_17_0() { return cSeeKeyword_5_17_0; }
//'document'
public Keyword getDocumentKeyword_5_17_1() { return cDocumentKeyword_5_17_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_5_17_2() { return cDocReferenceAssignment_5_17_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_5_17_2_0() { return cDocReferenceExternalDocumentParserRuleCall_5_17_2_0; }
//'issues' issues+=STRING+
public Group getGroup_5_18() { return cGroup_5_18; }
//'issues'
public Keyword getIssuesKeyword_5_18_0() { return cIssuesKeyword_5_18_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_5_18_1() { return cIssuesAssignment_5_18_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_5_18_1_0() { return cIssuesSTRINGTerminalRuleCall_5_18_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_6() { return cRightSquareBracketKeyword_6; }
}
public class GlobalRequirementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.GlobalRequirement");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cRequirementKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cTitleAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cTitleAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cForKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1);
private final Assignment cComponentCategoryAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0);
private final RuleCall cComponentCategoryComponentCategoryParserRuleCall_3_1_0_0 = (RuleCall)cComponentCategoryAssignment_3_1_0.eContents().get(0);
private final Assignment cTargetTypeAssignment_3_1_1 = (Assignment)cAlternatives_3_1.eContents().get(1);
private final RuleCall cTargetTypeTargetTypeEnumRuleCall_3_1_1_0 = (RuleCall)cTargetTypeAssignment_3_1_1.eContents().get(0);
private final Keyword cLeftSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
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 cCategoryKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Assignment cCategoryAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1);
private final CrossReference cCategoryCategoryCrossReference_5_0_1_0 = (CrossReference)cCategoryAssignment_5_0_1.eContents().get(0);
private final RuleCall cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1 = (RuleCall)cCategoryCategoryCrossReference_5_0_1_0.eContents().get(1);
private final Assignment cDescriptionAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1);
private final RuleCall cDescriptionDescriptionParserRuleCall_5_1_0 = (RuleCall)cDescriptionAssignment_5_1.eContents().get(0);
private final Assignment cConstantsAssignment_5_2 = (Assignment)cUnorderedGroup_5.eContents().get(2);
private final RuleCall cConstantsValDeclarationParserRuleCall_5_2_0 = (RuleCall)cConstantsAssignment_5_2.eContents().get(0);
private final Assignment cComputesAssignment_5_3 = (Assignment)cUnorderedGroup_5.eContents().get(3);
private final RuleCall cComputesComputeDeclarationParserRuleCall_5_3_0 = (RuleCall)cComputesAssignment_5_3.eContents().get(0);
private final Assignment cWhenconditionAssignment_5_4 = (Assignment)cUnorderedGroup_5.eContents().get(4);
private final RuleCall cWhenconditionWhenConditionParserRuleCall_5_4_0 = (RuleCall)cWhenconditionAssignment_5_4.eContents().get(0);
private final Assignment cPredicateAssignment_5_5 = (Assignment)cUnorderedGroup_5.eContents().get(5);
private final RuleCall cPredicateReqPredicateParserRuleCall_5_5_0 = (RuleCall)cPredicateAssignment_5_5.eContents().get(0);
private final Assignment cRationaleAssignment_5_6 = (Assignment)cUnorderedGroup_5.eContents().get(6);
private final RuleCall cRationaleRationaleParserRuleCall_5_6_0 = (RuleCall)cRationaleAssignment_5_6.eContents().get(0);
private final Assignment cChangeUncertaintyAssignment_5_7 = (Assignment)cUnorderedGroup_5.eContents().get(7);
private final RuleCall cChangeUncertaintyUncertaintyParserRuleCall_5_7_0 = (RuleCall)cChangeUncertaintyAssignment_5_7.eContents().get(0);
private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8);
private final Keyword cMitigatesKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0);
private final Alternatives cAlternatives_5_8_1 = (Alternatives)cGroup_5_8.eContents().get(1);
private final Assignment cExceptionAssignment_5_8_1_0 = (Assignment)cAlternatives_5_8_1.eContents().get(0);
private final CrossReference cExceptionEObjectCrossReference_5_8_1_0_0 = (CrossReference)cExceptionAssignment_5_8_1_0.eContents().get(0);
private final RuleCall cExceptionEObjectIDTerminalRuleCall_5_8_1_0_0_1 = (RuleCall)cExceptionEObjectCrossReference_5_8_1_0_0.eContents().get(1);
private final Assignment cExceptionTextAssignment_5_8_1_1 = (Assignment)cAlternatives_5_8_1.eContents().get(1);
private final RuleCall cExceptionTextSTRINGTerminalRuleCall_5_8_1_1_0 = (RuleCall)cExceptionTextAssignment_5_8_1_1.eContents().get(0);
private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9);
private final Keyword cRefinesKeyword_5_9_0 = (Keyword)cGroup_5_9.eContents().get(0);
private final Assignment cRefinesReferenceAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1);
private final CrossReference cRefinesReferenceRequirementCrossReference_5_9_1_0 = (CrossReference)cRefinesReferenceAssignment_5_9_1.eContents().get(0);
private final RuleCall cRefinesReferenceRequirementQualifiedNameParserRuleCall_5_9_1_0_1 = (RuleCall)cRefinesReferenceRequirementCrossReference_5_9_1_0.eContents().get(1);
private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10);
private final Keyword cDecomposesKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0);
private final Assignment cDecomposesReferenceAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1);
private final CrossReference cDecomposesReferenceRequirementCrossReference_5_10_1_0 = (CrossReference)cDecomposesReferenceAssignment_5_10_1.eContents().get(0);
private final RuleCall cDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_10_1_0_1 = (RuleCall)cDecomposesReferenceRequirementCrossReference_5_10_1_0.eContents().get(1);
private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11);
private final Keyword cEvolvesKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0);
private final Assignment cEvolvesReferenceAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1);
private final CrossReference cEvolvesReferenceRequirementCrossReference_5_11_1_0 = (CrossReference)cEvolvesReferenceAssignment_5_11_1.eContents().get(0);
private final RuleCall cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1 = (RuleCall)cEvolvesReferenceRequirementCrossReference_5_11_1_0.eContents().get(1);
private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12);
private final Assignment cDroppedAssignment_5_12_0 = (Assignment)cGroup_5_12.eContents().get(0);
private final Keyword cDroppedDroppedKeyword_5_12_0_0 = (Keyword)cDroppedAssignment_5_12_0.eContents().get(0);
private final Assignment cDropRationaleAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1);
private final RuleCall cDropRationaleSTRINGTerminalRuleCall_5_12_1_0 = (RuleCall)cDropRationaleAssignment_5_12_1.eContents().get(0);
private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13);
private final Keyword cDevelopmentKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0);
private final Keyword cStakeholderKeyword_5_13_1 = (Keyword)cGroup_5_13.eContents().get(1);
private final Assignment cDevelopmentStakeholderAssignment_5_13_2 = (Assignment)cGroup_5_13.eContents().get(2);
private final CrossReference cDevelopmentStakeholderStakeholderCrossReference_5_13_2_0 = (CrossReference)cDevelopmentStakeholderAssignment_5_13_2.eContents().get(0);
private final RuleCall cDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_13_2_0_1 = (RuleCall)cDevelopmentStakeholderStakeholderCrossReference_5_13_2_0.eContents().get(1);
private final Group cGroup_5_14 = (Group)cUnorderedGroup_5.eContents().get(14);
private final Keyword cSeeKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0);
private final Keyword cGoalKeyword_5_14_1 = (Keyword)cGroup_5_14.eContents().get(1);
private final Assignment cGoalReferenceAssignment_5_14_2 = (Assignment)cGroup_5_14.eContents().get(2);
private final CrossReference cGoalReferenceGoalCrossReference_5_14_2_0 = (CrossReference)cGoalReferenceAssignment_5_14_2.eContents().get(0);
private final RuleCall cGoalReferenceGoalQualifiedNameParserRuleCall_5_14_2_0_1 = (RuleCall)cGoalReferenceGoalCrossReference_5_14_2_0.eContents().get(1);
private final Group cGroup_5_15 = (Group)cUnorderedGroup_5.eContents().get(15);
private final Keyword cSeeKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0);
private final Keyword cRequirementKeyword_5_15_1 = (Keyword)cGroup_5_15.eContents().get(1);
private final Assignment cRequirementReferenceAssignment_5_15_2 = (Assignment)cGroup_5_15.eContents().get(2);
private final CrossReference cRequirementReferenceRequirementCrossReference_5_15_2_0 = (CrossReference)cRequirementReferenceAssignment_5_15_2.eContents().get(0);
private final RuleCall cRequirementReferenceRequirementQualifiedNameParserRuleCall_5_15_2_0_1 = (RuleCall)cRequirementReferenceRequirementCrossReference_5_15_2_0.eContents().get(1);
private final Group cGroup_5_16 = (Group)cUnorderedGroup_5.eContents().get(16);
private final Keyword cSeeKeyword_5_16_0 = (Keyword)cGroup_5_16.eContents().get(0);
private final Keyword cDocumentKeyword_5_16_1 = (Keyword)cGroup_5_16.eContents().get(1);
private final Assignment cDocReferenceAssignment_5_16_2 = (Assignment)cGroup_5_16.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_5_16_2_0 = (RuleCall)cDocReferenceAssignment_5_16_2.eContents().get(0);
private final Group cGroup_5_17 = (Group)cUnorderedGroup_5.eContents().get(17);
private final Keyword cIssuesKeyword_5_17_0 = (Keyword)cGroup_5_17.eContents().get(0);
private final Assignment cIssuesAssignment_5_17_1 = (Assignment)cGroup_5_17.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_5_17_1_0 = (RuleCall)cIssuesAssignment_5_17_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//GlobalRequirement Requirement:
// 'requirement' name=ID (':' title=STRING)? ('for' (componentCategory+=ComponentCategory+ | targetType=TargetType))?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration* & computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
// & predicate=ReqPredicate? // predicate expression
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('mitigates' (exception=[ecore::EObject] | exceptionText=STRING))?
// & ('refines' refinesReference+=[Requirement|QualifiedName]+)?
// & ('decomposes' decomposesReference+=[Requirement|QualifiedName]+)?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
// & ('see' 'requirement' requirementReference+=[Requirement|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
@Override public ParserRule getRule() { return rule; }
//'requirement' name=ID (':' title=STRING)? ('for' (componentCategory+=ComponentCategory+ | targetType=TargetType))? '['
//(('category' category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration*
//& computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
//& predicate=ReqPredicate? // predicate expression
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('mitigates' (exception=[ecore::EObject] |
//exceptionText=STRING))? & ('refines' refinesReference+=[Requirement|QualifiedName]+)? & ('decomposes'
//decomposesReference+=[Requirement|QualifiedName]+)? & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)? &
//(dropped?='dropped' dropRationale=STRING?)? & ('development' 'stakeholder'
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+)? & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)? &
//('see' 'requirement' requirementReference+=[Requirement|QualifiedName]+)? & ('see' 'document'
//docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?) ']'
public Group getGroup() { return cGroup; }
//'requirement'
public Keyword getRequirementKeyword_0() { return cRequirementKeyword_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
//(':' title=STRING)?
public Group getGroup_2() { return cGroup_2; }
//':'
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//title=STRING
public Assignment getTitleAssignment_2_1() { return cTitleAssignment_2_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_2_1_0() { return cTitleSTRINGTerminalRuleCall_2_1_0; }
//('for' (componentCategory+=ComponentCategory+ | targetType=TargetType))?
public Group getGroup_3() { return cGroup_3; }
//'for'
public Keyword getForKeyword_3_0() { return cForKeyword_3_0; }
//(componentCategory+=ComponentCategory+ | targetType=TargetType)
public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; }
//componentCategory+=ComponentCategory+
public Assignment getComponentCategoryAssignment_3_1_0() { return cComponentCategoryAssignment_3_1_0; }
//ComponentCategory
public RuleCall getComponentCategoryComponentCategoryParserRuleCall_3_1_0_0() { return cComponentCategoryComponentCategoryParserRuleCall_3_1_0_0; }
//targetType=TargetType
public Assignment getTargetTypeAssignment_3_1_1() { return cTargetTypeAssignment_3_1_1; }
//TargetType
public RuleCall getTargetTypeTargetTypeEnumRuleCall_3_1_1_0() { return cTargetTypeTargetTypeEnumRuleCall_3_1_1_0; }
//'['
public Keyword getLeftSquareBracketKeyword_4() { return cLeftSquareBracketKeyword_4; }
//(('category' category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration* &
//computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
//& predicate=ReqPredicate? // predicate expression
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('mitigates' (exception=[ecore::EObject] |
//exceptionText=STRING))? & ('refines' refinesReference+=[Requirement|QualifiedName]+)? & ('decomposes'
//decomposesReference+=[Requirement|QualifiedName]+)? & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)? &
//(dropped?='dropped' dropRationale=STRING?)? & ('development' 'stakeholder'
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+)? & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)? &
//('see' 'requirement' requirementReference+=[Requirement|QualifiedName]+)? & ('see' 'document'
//docReference+=ExternalDocument+)? & ('issues' issues+=STRING+)?)
public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
//('category' category+=[categories::Category|QualifiedName]+)?
public Group getGroup_5_0() { return cGroup_5_0; }
//'category'
public Keyword getCategoryKeyword_5_0_0() { return cCategoryKeyword_5_0_0; }
//category+=[categories::Category|QualifiedName]+
public Assignment getCategoryAssignment_5_0_1() { return cCategoryAssignment_5_0_1; }
//[categories::Category|QualifiedName]
public CrossReference getCategoryCategoryCrossReference_5_0_1_0() { return cCategoryCategoryCrossReference_5_0_1_0; }
//QualifiedName
public RuleCall getCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1() { return cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1; }
//description=Description?
public Assignment getDescriptionAssignment_5_1() { return cDescriptionAssignment_5_1; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_5_1_0() { return cDescriptionDescriptionParserRuleCall_5_1_0; }
//constants+=ValDeclaration*
public Assignment getConstantsAssignment_5_2() { return cConstantsAssignment_5_2; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_5_2_0() { return cConstantsValDeclarationParserRuleCall_5_2_0; }
//computes+=ComputeDeclaration*
public Assignment getComputesAssignment_5_3() { return cComputesAssignment_5_3; }
//ComputeDeclaration
public RuleCall getComputesComputeDeclarationParserRuleCall_5_3_0() { return cComputesComputeDeclarationParserRuleCall_5_3_0; }
//whencondition=WhenCondition?
public Assignment getWhenconditionAssignment_5_4() { return cWhenconditionAssignment_5_4; }
//WhenCondition
public RuleCall getWhenconditionWhenConditionParserRuleCall_5_4_0() { return cWhenconditionWhenConditionParserRuleCall_5_4_0; }
//predicate=ReqPredicate?
public Assignment getPredicateAssignment_5_5() { return cPredicateAssignment_5_5; }
//ReqPredicate
public RuleCall getPredicateReqPredicateParserRuleCall_5_5_0() { return cPredicateReqPredicateParserRuleCall_5_5_0; }
//rationale=Rationale?
public Assignment getRationaleAssignment_5_6() { return cRationaleAssignment_5_6; }
//Rationale
public RuleCall getRationaleRationaleParserRuleCall_5_6_0() { return cRationaleRationaleParserRuleCall_5_6_0; }
//changeUncertainty=Uncertainty?
public Assignment getChangeUncertaintyAssignment_5_7() { return cChangeUncertaintyAssignment_5_7; }
//Uncertainty
public RuleCall getChangeUncertaintyUncertaintyParserRuleCall_5_7_0() { return cChangeUncertaintyUncertaintyParserRuleCall_5_7_0; }
//('mitigates' (exception=[ecore::EObject] | exceptionText=STRING))?
public Group getGroup_5_8() { return cGroup_5_8; }
//'mitigates'
public Keyword getMitigatesKeyword_5_8_0() { return cMitigatesKeyword_5_8_0; }
//(exception=[ecore::EObject] | exceptionText=STRING)
public Alternatives getAlternatives_5_8_1() { return cAlternatives_5_8_1; }
//exception=[ecore::EObject]
public Assignment getExceptionAssignment_5_8_1_0() { return cExceptionAssignment_5_8_1_0; }
//[ecore::EObject]
public CrossReference getExceptionEObjectCrossReference_5_8_1_0_0() { return cExceptionEObjectCrossReference_5_8_1_0_0; }
//ID
public RuleCall getExceptionEObjectIDTerminalRuleCall_5_8_1_0_0_1() { return cExceptionEObjectIDTerminalRuleCall_5_8_1_0_0_1; }
//exceptionText=STRING
public Assignment getExceptionTextAssignment_5_8_1_1() { return cExceptionTextAssignment_5_8_1_1; }
//STRING
public RuleCall getExceptionTextSTRINGTerminalRuleCall_5_8_1_1_0() { return cExceptionTextSTRINGTerminalRuleCall_5_8_1_1_0; }
//('refines' refinesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_9() { return cGroup_5_9; }
//'refines'
public Keyword getRefinesKeyword_5_9_0() { return cRefinesKeyword_5_9_0; }
//refinesReference+=[Requirement|QualifiedName]+
public Assignment getRefinesReferenceAssignment_5_9_1() { return cRefinesReferenceAssignment_5_9_1; }
//[Requirement|QualifiedName]
public CrossReference getRefinesReferenceRequirementCrossReference_5_9_1_0() { return cRefinesReferenceRequirementCrossReference_5_9_1_0; }
//QualifiedName
public RuleCall getRefinesReferenceRequirementQualifiedNameParserRuleCall_5_9_1_0_1() { return cRefinesReferenceRequirementQualifiedNameParserRuleCall_5_9_1_0_1; }
//('decomposes' decomposesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_10() { return cGroup_5_10; }
//'decomposes'
public Keyword getDecomposesKeyword_5_10_0() { return cDecomposesKeyword_5_10_0; }
//decomposesReference+=[Requirement|QualifiedName]+
public Assignment getDecomposesReferenceAssignment_5_10_1() { return cDecomposesReferenceAssignment_5_10_1; }
//[Requirement|QualifiedName]
public CrossReference getDecomposesReferenceRequirementCrossReference_5_10_1_0() { return cDecomposesReferenceRequirementCrossReference_5_10_1_0; }
//QualifiedName
public RuleCall getDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_10_1_0_1() { return cDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_10_1_0_1; }
//('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_11() { return cGroup_5_11; }
//'evolves'
public Keyword getEvolvesKeyword_5_11_0() { return cEvolvesKeyword_5_11_0; }
//evolvesReference+=[Requirement|QualifiedName]+
public Assignment getEvolvesReferenceAssignment_5_11_1() { return cEvolvesReferenceAssignment_5_11_1; }
//[Requirement|QualifiedName]
public CrossReference getEvolvesReferenceRequirementCrossReference_5_11_1_0() { return cEvolvesReferenceRequirementCrossReference_5_11_1_0; }
//QualifiedName
public RuleCall getEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1() { return cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1; }
//(dropped?='dropped' dropRationale=STRING?)?
public Group getGroup_5_12() { return cGroup_5_12; }
//dropped?='dropped'
public Assignment getDroppedAssignment_5_12_0() { return cDroppedAssignment_5_12_0; }
//'dropped'
public Keyword getDroppedDroppedKeyword_5_12_0_0() { return cDroppedDroppedKeyword_5_12_0_0; }
//dropRationale=STRING?
public Assignment getDropRationaleAssignment_5_12_1() { return cDropRationaleAssignment_5_12_1; }
//STRING
public RuleCall getDropRationaleSTRINGTerminalRuleCall_5_12_1_0() { return cDropRationaleSTRINGTerminalRuleCall_5_12_1_0; }
//('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)?
public Group getGroup_5_13() { return cGroup_5_13; }
//'development'
public Keyword getDevelopmentKeyword_5_13_0() { return cDevelopmentKeyword_5_13_0; }
//'stakeholder'
public Keyword getStakeholderKeyword_5_13_1() { return cStakeholderKeyword_5_13_1; }
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+
public Assignment getDevelopmentStakeholderAssignment_5_13_2() { return cDevelopmentStakeholderAssignment_5_13_2; }
//[org::Stakeholder|QualifiedName]
public CrossReference getDevelopmentStakeholderStakeholderCrossReference_5_13_2_0() { return cDevelopmentStakeholderStakeholderCrossReference_5_13_2_0; }
//QualifiedName
public RuleCall getDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_13_2_0_1() { return cDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_13_2_0_1; }
//('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_14() { return cGroup_5_14; }
//'see'
public Keyword getSeeKeyword_5_14_0() { return cSeeKeyword_5_14_0; }
//'goal'
public Keyword getGoalKeyword_5_14_1() { return cGoalKeyword_5_14_1; }
//goalReference+=[Goal|QualifiedName]+
public Assignment getGoalReferenceAssignment_5_14_2() { return cGoalReferenceAssignment_5_14_2; }
//[Goal|QualifiedName]
public CrossReference getGoalReferenceGoalCrossReference_5_14_2_0() { return cGoalReferenceGoalCrossReference_5_14_2_0; }
//QualifiedName
public RuleCall getGoalReferenceGoalQualifiedNameParserRuleCall_5_14_2_0_1() { return cGoalReferenceGoalQualifiedNameParserRuleCall_5_14_2_0_1; }
//('see' 'requirement' requirementReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_15() { return cGroup_5_15; }
//'see'
public Keyword getSeeKeyword_5_15_0() { return cSeeKeyword_5_15_0; }
//'requirement'
public Keyword getRequirementKeyword_5_15_1() { return cRequirementKeyword_5_15_1; }
//requirementReference+=[Requirement|QualifiedName]+
public Assignment getRequirementReferenceAssignment_5_15_2() { return cRequirementReferenceAssignment_5_15_2; }
//[Requirement|QualifiedName]
public CrossReference getRequirementReferenceRequirementCrossReference_5_15_2_0() { return cRequirementReferenceRequirementCrossReference_5_15_2_0; }
//QualifiedName
public RuleCall getRequirementReferenceRequirementQualifiedNameParserRuleCall_5_15_2_0_1() { return cRequirementReferenceRequirementQualifiedNameParserRuleCall_5_15_2_0_1; }
//('see' 'document' docReference+=ExternalDocument+)?
public Group getGroup_5_16() { return cGroup_5_16; }
//'see'
public Keyword getSeeKeyword_5_16_0() { return cSeeKeyword_5_16_0; }
//'document'
public Keyword getDocumentKeyword_5_16_1() { return cDocumentKeyword_5_16_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_5_16_2() { return cDocReferenceAssignment_5_16_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_5_16_2_0() { return cDocReferenceExternalDocumentParserRuleCall_5_16_2_0; }
//('issues' issues+=STRING+)?
public Group getGroup_5_17() { return cGroup_5_17; }
//'issues'
public Keyword getIssuesKeyword_5_17_0() { return cIssuesKeyword_5_17_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_5_17_1() { return cIssuesAssignment_5_17_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_5_17_1_0() { return cIssuesSTRINGTerminalRuleCall_5_17_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_6() { return cRightSquareBracketKeyword_6; }
}
public class DocRequirementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.DocRequirement");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cRequirementKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cTitleAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cTitleSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cTitleAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cForKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1);
private final Assignment cTargetDescriptionAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0);
private final RuleCall cTargetDescriptionSTRINGTerminalRuleCall_3_1_0_0 = (RuleCall)cTargetDescriptionAssignment_3_1_0.eContents().get(0);
private final Group cGroup_3_1_1 = (Group)cAlternatives_3_1.eContents().get(1);
private final Assignment cTargetAssignment_3_1_1_0 = (Assignment)cGroup_3_1_1.eContents().get(0);
private final CrossReference cTargetComponentClassifierCrossReference_3_1_1_0_0 = (CrossReference)cTargetAssignment_3_1_1_0.eContents().get(0);
private final RuleCall cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_3_1_1_0_0_1 = (RuleCall)cTargetComponentClassifierCrossReference_3_1_1_0_0.eContents().get(1);
private final Assignment cTargetElementAssignment_3_1_1_1 = (Assignment)cGroup_3_1_1.eContents().get(1);
private final CrossReference cTargetElementNamedElementCrossReference_3_1_1_1_0 = (CrossReference)cTargetElementAssignment_3_1_1_1.eContents().get(0);
private final RuleCall cTargetElementNamedElementIDTerminalRuleCall_3_1_1_1_0_1 = (RuleCall)cTargetElementNamedElementCrossReference_3_1_1_1_0.eContents().get(1);
private final Assignment cComponentCategoryAssignment_3_1_2 = (Assignment)cAlternatives_3_1.eContents().get(2);
private final RuleCall cComponentCategoryComponentCategoryParserRuleCall_3_1_2_0 = (RuleCall)cComponentCategoryAssignment_3_1_2.eContents().get(0);
private final Keyword cLeftSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
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 cCategoryKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0);
private final Assignment cCategoryAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1);
private final CrossReference cCategoryCategoryCrossReference_5_0_1_0 = (CrossReference)cCategoryAssignment_5_0_1.eContents().get(0);
private final RuleCall cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1 = (RuleCall)cCategoryCategoryCrossReference_5_0_1_0.eContents().get(1);
private final Assignment cDescriptionAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1);
private final RuleCall cDescriptionDescriptionParserRuleCall_5_1_0 = (RuleCall)cDescriptionAssignment_5_1.eContents().get(0);
private final Assignment cConstantsAssignment_5_2 = (Assignment)cUnorderedGroup_5.eContents().get(2);
private final RuleCall cConstantsValDeclarationParserRuleCall_5_2_0 = (RuleCall)cConstantsAssignment_5_2.eContents().get(0);
private final Assignment cComputesAssignment_5_3 = (Assignment)cUnorderedGroup_5.eContents().get(3);
private final RuleCall cComputesComputeDeclarationParserRuleCall_5_3_0 = (RuleCall)cComputesAssignment_5_3.eContents().get(0);
private final Assignment cWhenconditionAssignment_5_4 = (Assignment)cUnorderedGroup_5.eContents().get(4);
private final RuleCall cWhenconditionWhenConditionParserRuleCall_5_4_0 = (RuleCall)cWhenconditionAssignment_5_4.eContents().get(0);
private final Assignment cPredicateAssignment_5_5 = (Assignment)cUnorderedGroup_5.eContents().get(5);
private final RuleCall cPredicateReqPredicateParserRuleCall_5_5_0 = (RuleCall)cPredicateAssignment_5_5.eContents().get(0);
private final Assignment cRationaleAssignment_5_6 = (Assignment)cUnorderedGroup_5.eContents().get(6);
private final RuleCall cRationaleRationaleParserRuleCall_5_6_0 = (RuleCall)cRationaleAssignment_5_6.eContents().get(0);
private final Assignment cChangeUncertaintyAssignment_5_7 = (Assignment)cUnorderedGroup_5.eContents().get(7);
private final RuleCall cChangeUncertaintyUncertaintyParserRuleCall_5_7_0 = (RuleCall)cChangeUncertaintyAssignment_5_7.eContents().get(0);
private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8);
private final Keyword cMitigatesKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0);
private final Alternatives cAlternatives_5_8_1 = (Alternatives)cGroup_5_8.eContents().get(1);
private final Assignment cExceptionAssignment_5_8_1_0 = (Assignment)cAlternatives_5_8_1.eContents().get(0);
private final CrossReference cExceptionEObjectCrossReference_5_8_1_0_0 = (CrossReference)cExceptionAssignment_5_8_1_0.eContents().get(0);
private final RuleCall cExceptionEObjectIDTerminalRuleCall_5_8_1_0_0_1 = (RuleCall)cExceptionEObjectCrossReference_5_8_1_0_0.eContents().get(1);
private final Assignment cExceptionTextAssignment_5_8_1_1 = (Assignment)cAlternatives_5_8_1.eContents().get(1);
private final RuleCall cExceptionTextSTRINGTerminalRuleCall_5_8_1_1_0 = (RuleCall)cExceptionTextAssignment_5_8_1_1.eContents().get(0);
private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9);
private final Keyword cRefinesKeyword_5_9_0 = (Keyword)cGroup_5_9.eContents().get(0);
private final Assignment cRefinesReferenceAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1);
private final CrossReference cRefinesReferenceRequirementCrossReference_5_9_1_0 = (CrossReference)cRefinesReferenceAssignment_5_9_1.eContents().get(0);
private final RuleCall cRefinesReferenceRequirementQualifiedNameParserRuleCall_5_9_1_0_1 = (RuleCall)cRefinesReferenceRequirementCrossReference_5_9_1_0.eContents().get(1);
private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10);
private final Keyword cDecomposesKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0);
private final Assignment cDecomposesReferenceAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1);
private final CrossReference cDecomposesReferenceRequirementCrossReference_5_10_1_0 = (CrossReference)cDecomposesReferenceAssignment_5_10_1.eContents().get(0);
private final RuleCall cDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_10_1_0_1 = (RuleCall)cDecomposesReferenceRequirementCrossReference_5_10_1_0.eContents().get(1);
private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11);
private final Keyword cInheritsKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0);
private final Assignment cInheritsReferenceAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1);
private final CrossReference cInheritsReferenceRequirementCrossReference_5_11_1_0 = (CrossReference)cInheritsReferenceAssignment_5_11_1.eContents().get(0);
private final RuleCall cInheritsReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1 = (RuleCall)cInheritsReferenceRequirementCrossReference_5_11_1_0.eContents().get(1);
private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12);
private final Keyword cEvolvesKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0);
private final Assignment cEvolvesReferenceAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1);
private final CrossReference cEvolvesReferenceRequirementCrossReference_5_12_1_0 = (CrossReference)cEvolvesReferenceAssignment_5_12_1.eContents().get(0);
private final RuleCall cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_12_1_0_1 = (RuleCall)cEvolvesReferenceRequirementCrossReference_5_12_1_0.eContents().get(1);
private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13);
private final Assignment cDroppedAssignment_5_13_0 = (Assignment)cGroup_5_13.eContents().get(0);
private final Keyword cDroppedDroppedKeyword_5_13_0_0 = (Keyword)cDroppedAssignment_5_13_0.eContents().get(0);
private final Assignment cDropRationaleAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1);
private final RuleCall cDropRationaleSTRINGTerminalRuleCall_5_13_1_0 = (RuleCall)cDropRationaleAssignment_5_13_1.eContents().get(0);
private final Group cGroup_5_14 = (Group)cUnorderedGroup_5.eContents().get(14);
private final Keyword cDevelopmentKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0);
private final Keyword cStakeholderKeyword_5_14_1 = (Keyword)cGroup_5_14.eContents().get(1);
private final Assignment cDevelopmentStakeholderAssignment_5_14_2 = (Assignment)cGroup_5_14.eContents().get(2);
private final CrossReference cDevelopmentStakeholderStakeholderCrossReference_5_14_2_0 = (CrossReference)cDevelopmentStakeholderAssignment_5_14_2.eContents().get(0);
private final RuleCall cDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_14_2_0_1 = (RuleCall)cDevelopmentStakeholderStakeholderCrossReference_5_14_2_0.eContents().get(1);
private final Group cGroup_5_15 = (Group)cUnorderedGroup_5.eContents().get(15);
private final Keyword cSeeKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0);
private final Keyword cGoalKeyword_5_15_1 = (Keyword)cGroup_5_15.eContents().get(1);
private final Assignment cGoalReferenceAssignment_5_15_2 = (Assignment)cGroup_5_15.eContents().get(2);
private final CrossReference cGoalReferenceGoalCrossReference_5_15_2_0 = (CrossReference)cGoalReferenceAssignment_5_15_2.eContents().get(0);
private final RuleCall cGoalReferenceGoalQualifiedNameParserRuleCall_5_15_2_0_1 = (RuleCall)cGoalReferenceGoalCrossReference_5_15_2_0.eContents().get(1);
private final Group cGroup_5_16 = (Group)cUnorderedGroup_5.eContents().get(16);
private final Keyword cSeeKeyword_5_16_0 = (Keyword)cGroup_5_16.eContents().get(0);
private final Keyword cDocumentKeyword_5_16_1 = (Keyword)cGroup_5_16.eContents().get(1);
private final Assignment cDocReferenceAssignment_5_16_2 = (Assignment)cGroup_5_16.eContents().get(2);
private final RuleCall cDocReferenceExternalDocumentParserRuleCall_5_16_2_0 = (RuleCall)cDocReferenceAssignment_5_16_2.eContents().get(0);
private final Group cGroup_5_17 = (Group)cUnorderedGroup_5.eContents().get(17);
private final Keyword cIssuesKeyword_5_17_0 = (Keyword)cGroup_5_17.eContents().get(0);
private final Assignment cIssuesAssignment_5_17_1 = (Assignment)cGroup_5_17.eContents().get(1);
private final RuleCall cIssuesSTRINGTerminalRuleCall_5_17_1_0 = (RuleCall)cIssuesAssignment_5_17_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//DocRequirement Requirement:
// 'requirement' name=ID (':' title=STRING)? ('for' (targetDescription=STRING |
// target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]? |
// componentCategory+=ComponentCategory+))?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration* & computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
// & predicate=ReqPredicate? // predicate expression
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('mitigates' (exception=[ecore::EObject] | exceptionText=STRING))?
// & ('refines' refinesReference+=[Requirement|QualifiedName]+)?
// & ('decomposes' decomposesReference+=[Requirement|QualifiedName]+)?
// & ('inherits' inheritsReference=[Requirement|QualifiedName])?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
@Override public ParserRule getRule() { return rule; }
//'requirement' name=ID (':' title=STRING)? ('for' (targetDescription=STRING |
//target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]? |
//componentCategory+=ComponentCategory+))? '[' (('category' category+=[categories::Category|QualifiedName]+)? &
//description=Description? & constants+=ValDeclaration* & computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
//& predicate=ReqPredicate? // predicate expression
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('mitigates' (exception=[ecore::EObject] |
//exceptionText=STRING))? & ('refines' refinesReference+=[Requirement|QualifiedName]+)? & ('decomposes'
//decomposesReference+=[Requirement|QualifiedName]+)? & ('inherits' inheritsReference=[Requirement|QualifiedName])? &
//('evolves' evolvesReference+=[Requirement|QualifiedName]+)? & (dropped?='dropped' dropRationale=STRING?)? &
//('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)? & ('see' 'goal'
//goalReference+=[Goal|QualifiedName]+)? & ('see' 'document' docReference+=ExternalDocument+)? & ('issues'
//issues+=STRING+)?) ']'
public Group getGroup() { return cGroup; }
//'requirement'
public Keyword getRequirementKeyword_0() { return cRequirementKeyword_0; }
//name=ID
public Assignment getNameAssignment_1() { return cNameAssignment_1; }
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
//(':' title=STRING)?
public Group getGroup_2() { return cGroup_2; }
//':'
public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; }
//title=STRING
public Assignment getTitleAssignment_2_1() { return cTitleAssignment_2_1; }
//STRING
public RuleCall getTitleSTRINGTerminalRuleCall_2_1_0() { return cTitleSTRINGTerminalRuleCall_2_1_0; }
//('for' (targetDescription=STRING | target=[aadl2::ComponentClassifier|AadlClassifierReference]
//targetElement=[aadl2::NamedElement]? | componentCategory+=ComponentCategory+))?
public Group getGroup_3() { return cGroup_3; }
//'for'
public Keyword getForKeyword_3_0() { return cForKeyword_3_0; }
//(targetDescription=STRING | target=[aadl2::ComponentClassifier|AadlClassifierReference]
//targetElement=[aadl2::NamedElement]? | componentCategory+=ComponentCategory+)
public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; }
//targetDescription=STRING
public Assignment getTargetDescriptionAssignment_3_1_0() { return cTargetDescriptionAssignment_3_1_0; }
//STRING
public RuleCall getTargetDescriptionSTRINGTerminalRuleCall_3_1_0_0() { return cTargetDescriptionSTRINGTerminalRuleCall_3_1_0_0; }
//target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]?
public Group getGroup_3_1_1() { return cGroup_3_1_1; }
//target=[aadl2::ComponentClassifier|AadlClassifierReference]
public Assignment getTargetAssignment_3_1_1_0() { return cTargetAssignment_3_1_1_0; }
//[aadl2::ComponentClassifier|AadlClassifierReference]
public CrossReference getTargetComponentClassifierCrossReference_3_1_1_0_0() { return cTargetComponentClassifierCrossReference_3_1_1_0_0; }
//AadlClassifierReference
public RuleCall getTargetComponentClassifierAadlClassifierReferenceParserRuleCall_3_1_1_0_0_1() { return cTargetComponentClassifierAadlClassifierReferenceParserRuleCall_3_1_1_0_0_1; }
//targetElement=[aadl2::NamedElement]?
public Assignment getTargetElementAssignment_3_1_1_1() { return cTargetElementAssignment_3_1_1_1; }
//[aadl2::NamedElement]
public CrossReference getTargetElementNamedElementCrossReference_3_1_1_1_0() { return cTargetElementNamedElementCrossReference_3_1_1_1_0; }
//ID
public RuleCall getTargetElementNamedElementIDTerminalRuleCall_3_1_1_1_0_1() { return cTargetElementNamedElementIDTerminalRuleCall_3_1_1_1_0_1; }
//componentCategory+=ComponentCategory+
public Assignment getComponentCategoryAssignment_3_1_2() { return cComponentCategoryAssignment_3_1_2; }
//ComponentCategory
public RuleCall getComponentCategoryComponentCategoryParserRuleCall_3_1_2_0() { return cComponentCategoryComponentCategoryParserRuleCall_3_1_2_0; }
//'['
public Keyword getLeftSquareBracketKeyword_4() { return cLeftSquareBracketKeyword_4; }
//(('category' category+=[categories::Category|QualifiedName]+)? & description=Description? & constants+=ValDeclaration* &
//computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
//& predicate=ReqPredicate? // predicate expression
//& rationale=Rationale? & changeUncertainty=Uncertainty? & ('mitigates' (exception=[ecore::EObject] |
//exceptionText=STRING))? & ('refines' refinesReference+=[Requirement|QualifiedName]+)? & ('decomposes'
//decomposesReference+=[Requirement|QualifiedName]+)? & ('inherits' inheritsReference=[Requirement|QualifiedName])? &
//('evolves' evolvesReference+=[Requirement|QualifiedName]+)? & (dropped?='dropped' dropRationale=STRING?)? &
//('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)? & ('see' 'goal'
//goalReference+=[Goal|QualifiedName]+)? & ('see' 'document' docReference+=ExternalDocument+)? & ('issues'
//issues+=STRING+)?)
public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
//('category' category+=[categories::Category|QualifiedName]+)?
public Group getGroup_5_0() { return cGroup_5_0; }
//'category'
public Keyword getCategoryKeyword_5_0_0() { return cCategoryKeyword_5_0_0; }
//category+=[categories::Category|QualifiedName]+
public Assignment getCategoryAssignment_5_0_1() { return cCategoryAssignment_5_0_1; }
//[categories::Category|QualifiedName]
public CrossReference getCategoryCategoryCrossReference_5_0_1_0() { return cCategoryCategoryCrossReference_5_0_1_0; }
//QualifiedName
public RuleCall getCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1() { return cCategoryCategoryQualifiedNameParserRuleCall_5_0_1_0_1; }
//description=Description?
public Assignment getDescriptionAssignment_5_1() { return cDescriptionAssignment_5_1; }
//Description
public RuleCall getDescriptionDescriptionParserRuleCall_5_1_0() { return cDescriptionDescriptionParserRuleCall_5_1_0; }
//constants+=ValDeclaration*
public Assignment getConstantsAssignment_5_2() { return cConstantsAssignment_5_2; }
//ValDeclaration
public RuleCall getConstantsValDeclarationParserRuleCall_5_2_0() { return cConstantsValDeclarationParserRuleCall_5_2_0; }
//computes+=ComputeDeclaration*
public Assignment getComputesAssignment_5_3() { return cComputesAssignment_5_3; }
//ComputeDeclaration
public RuleCall getComputesComputeDeclarationParserRuleCall_5_3_0() { return cComputesComputeDeclarationParserRuleCall_5_3_0; }
//whencondition=WhenCondition?
public Assignment getWhenconditionAssignment_5_4() { return cWhenconditionAssignment_5_4; }
//WhenCondition
public RuleCall getWhenconditionWhenConditionParserRuleCall_5_4_0() { return cWhenconditionWhenConditionParserRuleCall_5_4_0; }
//predicate=ReqPredicate?
public Assignment getPredicateAssignment_5_5() { return cPredicateAssignment_5_5; }
//ReqPredicate
public RuleCall getPredicateReqPredicateParserRuleCall_5_5_0() { return cPredicateReqPredicateParserRuleCall_5_5_0; }
//rationale=Rationale?
public Assignment getRationaleAssignment_5_6() { return cRationaleAssignment_5_6; }
//Rationale
public RuleCall getRationaleRationaleParserRuleCall_5_6_0() { return cRationaleRationaleParserRuleCall_5_6_0; }
//changeUncertainty=Uncertainty?
public Assignment getChangeUncertaintyAssignment_5_7() { return cChangeUncertaintyAssignment_5_7; }
//Uncertainty
public RuleCall getChangeUncertaintyUncertaintyParserRuleCall_5_7_0() { return cChangeUncertaintyUncertaintyParserRuleCall_5_7_0; }
//('mitigates' (exception=[ecore::EObject] | exceptionText=STRING))?
public Group getGroup_5_8() { return cGroup_5_8; }
//'mitigates'
public Keyword getMitigatesKeyword_5_8_0() { return cMitigatesKeyword_5_8_0; }
//(exception=[ecore::EObject] | exceptionText=STRING)
public Alternatives getAlternatives_5_8_1() { return cAlternatives_5_8_1; }
//exception=[ecore::EObject]
public Assignment getExceptionAssignment_5_8_1_0() { return cExceptionAssignment_5_8_1_0; }
//[ecore::EObject]
public CrossReference getExceptionEObjectCrossReference_5_8_1_0_0() { return cExceptionEObjectCrossReference_5_8_1_0_0; }
//ID
public RuleCall getExceptionEObjectIDTerminalRuleCall_5_8_1_0_0_1() { return cExceptionEObjectIDTerminalRuleCall_5_8_1_0_0_1; }
//exceptionText=STRING
public Assignment getExceptionTextAssignment_5_8_1_1() { return cExceptionTextAssignment_5_8_1_1; }
//STRING
public RuleCall getExceptionTextSTRINGTerminalRuleCall_5_8_1_1_0() { return cExceptionTextSTRINGTerminalRuleCall_5_8_1_1_0; }
//('refines' refinesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_9() { return cGroup_5_9; }
//'refines'
public Keyword getRefinesKeyword_5_9_0() { return cRefinesKeyword_5_9_0; }
//refinesReference+=[Requirement|QualifiedName]+
public Assignment getRefinesReferenceAssignment_5_9_1() { return cRefinesReferenceAssignment_5_9_1; }
//[Requirement|QualifiedName]
public CrossReference getRefinesReferenceRequirementCrossReference_5_9_1_0() { return cRefinesReferenceRequirementCrossReference_5_9_1_0; }
//QualifiedName
public RuleCall getRefinesReferenceRequirementQualifiedNameParserRuleCall_5_9_1_0_1() { return cRefinesReferenceRequirementQualifiedNameParserRuleCall_5_9_1_0_1; }
//('decomposes' decomposesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_10() { return cGroup_5_10; }
//'decomposes'
public Keyword getDecomposesKeyword_5_10_0() { return cDecomposesKeyword_5_10_0; }
//decomposesReference+=[Requirement|QualifiedName]+
public Assignment getDecomposesReferenceAssignment_5_10_1() { return cDecomposesReferenceAssignment_5_10_1; }
//[Requirement|QualifiedName]
public CrossReference getDecomposesReferenceRequirementCrossReference_5_10_1_0() { return cDecomposesReferenceRequirementCrossReference_5_10_1_0; }
//QualifiedName
public RuleCall getDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_10_1_0_1() { return cDecomposesReferenceRequirementQualifiedNameParserRuleCall_5_10_1_0_1; }
//('inherits' inheritsReference=[Requirement|QualifiedName])?
public Group getGroup_5_11() { return cGroup_5_11; }
//'inherits'
public Keyword getInheritsKeyword_5_11_0() { return cInheritsKeyword_5_11_0; }
//inheritsReference=[Requirement|QualifiedName]
public Assignment getInheritsReferenceAssignment_5_11_1() { return cInheritsReferenceAssignment_5_11_1; }
//[Requirement|QualifiedName]
public CrossReference getInheritsReferenceRequirementCrossReference_5_11_1_0() { return cInheritsReferenceRequirementCrossReference_5_11_1_0; }
//QualifiedName
public RuleCall getInheritsReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1() { return cInheritsReferenceRequirementQualifiedNameParserRuleCall_5_11_1_0_1; }
//('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
public Group getGroup_5_12() { return cGroup_5_12; }
//'evolves'
public Keyword getEvolvesKeyword_5_12_0() { return cEvolvesKeyword_5_12_0; }
//evolvesReference+=[Requirement|QualifiedName]+
public Assignment getEvolvesReferenceAssignment_5_12_1() { return cEvolvesReferenceAssignment_5_12_1; }
//[Requirement|QualifiedName]
public CrossReference getEvolvesReferenceRequirementCrossReference_5_12_1_0() { return cEvolvesReferenceRequirementCrossReference_5_12_1_0; }
//QualifiedName
public RuleCall getEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_12_1_0_1() { return cEvolvesReferenceRequirementQualifiedNameParserRuleCall_5_12_1_0_1; }
//(dropped?='dropped' dropRationale=STRING?)?
public Group getGroup_5_13() { return cGroup_5_13; }
//dropped?='dropped'
public Assignment getDroppedAssignment_5_13_0() { return cDroppedAssignment_5_13_0; }
//'dropped'
public Keyword getDroppedDroppedKeyword_5_13_0_0() { return cDroppedDroppedKeyword_5_13_0_0; }
//dropRationale=STRING?
public Assignment getDropRationaleAssignment_5_13_1() { return cDropRationaleAssignment_5_13_1; }
//STRING
public RuleCall getDropRationaleSTRINGTerminalRuleCall_5_13_1_0() { return cDropRationaleSTRINGTerminalRuleCall_5_13_1_0; }
//('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)?
public Group getGroup_5_14() { return cGroup_5_14; }
//'development'
public Keyword getDevelopmentKeyword_5_14_0() { return cDevelopmentKeyword_5_14_0; }
//'stakeholder'
public Keyword getStakeholderKeyword_5_14_1() { return cStakeholderKeyword_5_14_1; }
//developmentStakeholder+=[org::Stakeholder|QualifiedName]+
public Assignment getDevelopmentStakeholderAssignment_5_14_2() { return cDevelopmentStakeholderAssignment_5_14_2; }
//[org::Stakeholder|QualifiedName]
public CrossReference getDevelopmentStakeholderStakeholderCrossReference_5_14_2_0() { return cDevelopmentStakeholderStakeholderCrossReference_5_14_2_0; }
//QualifiedName
public RuleCall getDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_14_2_0_1() { return cDevelopmentStakeholderStakeholderQualifiedNameParserRuleCall_5_14_2_0_1; }
//('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
public Group getGroup_5_15() { return cGroup_5_15; }
//'see'
public Keyword getSeeKeyword_5_15_0() { return cSeeKeyword_5_15_0; }
//'goal'
public Keyword getGoalKeyword_5_15_1() { return cGoalKeyword_5_15_1; }
//goalReference+=[Goal|QualifiedName]+
public Assignment getGoalReferenceAssignment_5_15_2() { return cGoalReferenceAssignment_5_15_2; }
//[Goal|QualifiedName]
public CrossReference getGoalReferenceGoalCrossReference_5_15_2_0() { return cGoalReferenceGoalCrossReference_5_15_2_0; }
//QualifiedName
public RuleCall getGoalReferenceGoalQualifiedNameParserRuleCall_5_15_2_0_1() { return cGoalReferenceGoalQualifiedNameParserRuleCall_5_15_2_0_1; }
//('see' 'document' docReference+=ExternalDocument+)?
public Group getGroup_5_16() { return cGroup_5_16; }
//'see'
public Keyword getSeeKeyword_5_16_0() { return cSeeKeyword_5_16_0; }
//'document'
public Keyword getDocumentKeyword_5_16_1() { return cDocumentKeyword_5_16_1; }
//docReference+=ExternalDocument+
public Assignment getDocReferenceAssignment_5_16_2() { return cDocReferenceAssignment_5_16_2; }
//ExternalDocument
public RuleCall getDocReferenceExternalDocumentParserRuleCall_5_16_2_0() { return cDocReferenceExternalDocumentParserRuleCall_5_16_2_0; }
//('issues' issues+=STRING+)?
public Group getGroup_5_17() { return cGroup_5_17; }
//'issues'
public Keyword getIssuesKeyword_5_17_0() { return cIssuesKeyword_5_17_0; }
//issues+=STRING+
public Assignment getIssuesAssignment_5_17_1() { return cIssuesAssignment_5_17_1; }
//STRING
public RuleCall getIssuesSTRINGTerminalRuleCall_5_17_1_0() { return cIssuesSTRINGTerminalRuleCall_5_17_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_6() { return cRightSquareBracketKeyword_6; }
}
public class IncludeGlobalRequirementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.IncludeGlobalRequirement");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cIncludeKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cIncludeAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final CrossReference cIncludeEObjectCrossReference_1_0 = (CrossReference)cIncludeAssignment_1.eContents().get(0);
private final RuleCall cIncludeEObjectQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cIncludeEObjectCrossReference_1_0.eContents().get(1);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cForKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Alternatives cAlternatives_2_1 = (Alternatives)cGroup_2.eContents().get(1);
private final Assignment cLocalAssignment_2_1_0 = (Assignment)cAlternatives_2_1.eContents().get(0);
private final Keyword cLocalSelfKeyword_2_1_0_0 = (Keyword)cLocalAssignment_2_1_0.eContents().get(0);
private final Assignment cTargetElementAssignment_2_1_1 = (Assignment)cAlternatives_2_1.eContents().get(1);
private final CrossReference cTargetElementNamedElementCrossReference_2_1_1_0 = (CrossReference)cTargetElementAssignment_2_1_1.eContents().get(0);
private final RuleCall cTargetElementNamedElementIDTerminalRuleCall_2_1_1_0_1 = (RuleCall)cTargetElementNamedElementCrossReference_2_1_1_0.eContents().get(1);
//IncludeGlobalRequirement:
// 'include' include=[ecore::EObject|QualifiedName] ('for' (local?='self' | targetElement=[aadl2::NamedElement]))?;
@Override public ParserRule getRule() { return rule; }
//'include' include=[ecore::EObject|QualifiedName] ('for' (local?='self' | targetElement=[aadl2::NamedElement]))?
public Group getGroup() { return cGroup; }
//'include'
public Keyword getIncludeKeyword_0() { return cIncludeKeyword_0; }
//include=[ecore::EObject|QualifiedName]
public Assignment getIncludeAssignment_1() { return cIncludeAssignment_1; }
//[ecore::EObject|QualifiedName]
public CrossReference getIncludeEObjectCrossReference_1_0() { return cIncludeEObjectCrossReference_1_0; }
//QualifiedName
public RuleCall getIncludeEObjectQualifiedNameParserRuleCall_1_0_1() { return cIncludeEObjectQualifiedNameParserRuleCall_1_0_1; }
//('for' (local?='self' | targetElement=[aadl2::NamedElement]))?
public Group getGroup_2() { return cGroup_2; }
//'for'
public Keyword getForKeyword_2_0() { return cForKeyword_2_0; }
//(local?='self' | targetElement=[aadl2::NamedElement])
public Alternatives getAlternatives_2_1() { return cAlternatives_2_1; }
//local?='self'
public Assignment getLocalAssignment_2_1_0() { return cLocalAssignment_2_1_0; }
//'self'
public Keyword getLocalSelfKeyword_2_1_0_0() { return cLocalSelfKeyword_2_1_0_0; }
//targetElement=[aadl2::NamedElement]
public Assignment getTargetElementAssignment_2_1_1() { return cTargetElementAssignment_2_1_1; }
//[aadl2::NamedElement]
public CrossReference getTargetElementNamedElementCrossReference_2_1_1_0() { return cTargetElementNamedElementCrossReference_2_1_1_0; }
//ID
public RuleCall getTargetElementNamedElementIDTerminalRuleCall_2_1_1_0_1() { return cTargetElementNamedElementIDTerminalRuleCall_2_1_1_0_1; }
}
public class WhenConditionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.WhenCondition");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cWhenKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0);
private final Keyword cInKeyword_1_0_0 = (Keyword)cGroup_1_0.eContents().get(0);
private final Keyword cModeKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1);
private final Assignment cInModeAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2);
private final CrossReference cInModeModeCrossReference_1_0_2_0 = (CrossReference)cInModeAssignment_1_0_2.eContents().get(0);
private final RuleCall cInModeModeIDTerminalRuleCall_1_0_2_0_1 = (RuleCall)cInModeModeCrossReference_1_0_2_0.eContents().get(1);
private final Group cGroup_1_0_3 = (Group)cGroup_1_0.eContents().get(3);
private final Keyword cCommaKeyword_1_0_3_0 = (Keyword)cGroup_1_0_3.eContents().get(0);
private final Assignment cInModeAssignment_1_0_3_1 = (Assignment)cGroup_1_0_3.eContents().get(1);
private final CrossReference cInModeModeCrossReference_1_0_3_1_0 = (CrossReference)cInModeAssignment_1_0_3_1.eContents().get(0);
private final RuleCall cInModeModeIDTerminalRuleCall_1_0_3_1_0_1 = (RuleCall)cInModeModeCrossReference_1_0_3_1_0.eContents().get(1);
private final Group cGroup_1_1 = (Group)cAlternatives_1.eContents().get(1);
private final Keyword cInKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0);
private final Keyword cErrorKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1);
private final Keyword cStateKeyword_1_1_2 = (Keyword)cGroup_1_1.eContents().get(2);
private final Assignment cInErrorStateAssignment_1_1_3 = (Assignment)cGroup_1_1.eContents().get(3);
private final CrossReference cInErrorStateEObjectCrossReference_1_1_3_0 = (CrossReference)cInErrorStateAssignment_1_1_3.eContents().get(0);
private final RuleCall cInErrorStateEObjectIDTerminalRuleCall_1_1_3_0_1 = (RuleCall)cInErrorStateEObjectCrossReference_1_1_3_0.eContents().get(1);
private final Group cGroup_1_1_4 = (Group)cGroup_1_1.eContents().get(4);
private final Keyword cCommaKeyword_1_1_4_0 = (Keyword)cGroup_1_1_4.eContents().get(0);
private final Assignment cInErrorStateAssignment_1_1_4_1 = (Assignment)cGroup_1_1_4.eContents().get(1);
private final CrossReference cInErrorStateEObjectCrossReference_1_1_4_1_0 = (CrossReference)cInErrorStateAssignment_1_1_4_1.eContents().get(0);
private final RuleCall cInErrorStateEObjectIDTerminalRuleCall_1_1_4_1_0_1 = (RuleCall)cInErrorStateEObjectCrossReference_1_1_4_1_0.eContents().get(1);
private final Group cGroup_1_2 = (Group)cAlternatives_1.eContents().get(2);
private final Assignment cConditionAssignment_1_2_0 = (Assignment)cGroup_1_2.eContents().get(0);
private final RuleCall cConditionQualifiedNameParserRuleCall_1_2_0_0 = (RuleCall)cConditionAssignment_1_2_0.eContents().get(0);
private final Keyword cLeftParenthesisKeyword_1_2_1 = (Keyword)cGroup_1_2.eContents().get(1);
private final Keyword cRightParenthesisKeyword_1_2_2 = (Keyword)cGroup_1_2.eContents().get(2);
//WhenCondition:
// 'when' ('in' 'mode' inMode+=[aadl2::Mode] (',' inMode+=[aadl2::Mode])* | 'in' 'error' 'state'
// inErrorState+=[ecore::EObject] (',' inErrorState+=[ecore::EObject])* | condition=QualifiedName '(' ')');
@Override public ParserRule getRule() { return rule; }
//'when' ('in' 'mode' inMode+=[aadl2::Mode] (',' inMode+=[aadl2::Mode])* | 'in' 'error' 'state'
//inErrorState+=[ecore::EObject] (',' inErrorState+=[ecore::EObject])* | condition=QualifiedName '(' ')')
public Group getGroup() { return cGroup; }
//'when'
public Keyword getWhenKeyword_0() { return cWhenKeyword_0; }
//('in' 'mode' inMode+=[aadl2::Mode] (',' inMode+=[aadl2::Mode])* | 'in' 'error' 'state' inErrorState+=[ecore::EObject]
//(',' inErrorState+=[ecore::EObject])* | condition=QualifiedName '(' ')')
public Alternatives getAlternatives_1() { return cAlternatives_1; }
//'in' 'mode' inMode+=[aadl2::Mode] (',' inMode+=[aadl2::Mode])*
public Group getGroup_1_0() { return cGroup_1_0; }
//'in'
public Keyword getInKeyword_1_0_0() { return cInKeyword_1_0_0; }
//'mode'
public Keyword getModeKeyword_1_0_1() { return cModeKeyword_1_0_1; }
//inMode+=[aadl2::Mode]
public Assignment getInModeAssignment_1_0_2() { return cInModeAssignment_1_0_2; }
//[aadl2::Mode]
public CrossReference getInModeModeCrossReference_1_0_2_0() { return cInModeModeCrossReference_1_0_2_0; }
//ID
public RuleCall getInModeModeIDTerminalRuleCall_1_0_2_0_1() { return cInModeModeIDTerminalRuleCall_1_0_2_0_1; }
//(',' inMode+=[aadl2::Mode])*
public Group getGroup_1_0_3() { return cGroup_1_0_3; }
//','
public Keyword getCommaKeyword_1_0_3_0() { return cCommaKeyword_1_0_3_0; }
//inMode+=[aadl2::Mode]
public Assignment getInModeAssignment_1_0_3_1() { return cInModeAssignment_1_0_3_1; }
//[aadl2::Mode]
public CrossReference getInModeModeCrossReference_1_0_3_1_0() { return cInModeModeCrossReference_1_0_3_1_0; }
//ID
public RuleCall getInModeModeIDTerminalRuleCall_1_0_3_1_0_1() { return cInModeModeIDTerminalRuleCall_1_0_3_1_0_1; }
//'in' 'error' 'state' inErrorState+=[ecore::EObject] (',' inErrorState+=[ecore::EObject])*
public Group getGroup_1_1() { return cGroup_1_1; }
//'in'
public Keyword getInKeyword_1_1_0() { return cInKeyword_1_1_0; }
//'error'
public Keyword getErrorKeyword_1_1_1() { return cErrorKeyword_1_1_1; }
//'state'
public Keyword getStateKeyword_1_1_2() { return cStateKeyword_1_1_2; }
//inErrorState+=[ecore::EObject]
public Assignment getInErrorStateAssignment_1_1_3() { return cInErrorStateAssignment_1_1_3; }
//[ecore::EObject]
public CrossReference getInErrorStateEObjectCrossReference_1_1_3_0() { return cInErrorStateEObjectCrossReference_1_1_3_0; }
//ID
public RuleCall getInErrorStateEObjectIDTerminalRuleCall_1_1_3_0_1() { return cInErrorStateEObjectIDTerminalRuleCall_1_1_3_0_1; }
//(',' inErrorState+=[ecore::EObject])*
public Group getGroup_1_1_4() { return cGroup_1_1_4; }
//','
public Keyword getCommaKeyword_1_1_4_0() { return cCommaKeyword_1_1_4_0; }
//inErrorState+=[ecore::EObject]
public Assignment getInErrorStateAssignment_1_1_4_1() { return cInErrorStateAssignment_1_1_4_1; }
//[ecore::EObject]
public CrossReference getInErrorStateEObjectCrossReference_1_1_4_1_0() { return cInErrorStateEObjectCrossReference_1_1_4_1_0; }
//ID
public RuleCall getInErrorStateEObjectIDTerminalRuleCall_1_1_4_1_0_1() { return cInErrorStateEObjectIDTerminalRuleCall_1_1_4_1_0_1; }
//condition=QualifiedName '(' ')'
public Group getGroup_1_2() { return cGroup_1_2; }
//condition=QualifiedName
public Assignment getConditionAssignment_1_2_0() { return cConditionAssignment_1_2_0; }
//QualifiedName
public RuleCall getConditionQualifiedNameParserRuleCall_1_2_0_0() { return cConditionQualifiedNameParserRuleCall_1_2_0_0; }
//'('
public Keyword getLeftParenthesisKeyword_1_2_1() { return cLeftParenthesisKeyword_1_2_1; }
//')'
public Keyword getRightParenthesisKeyword_1_2_2() { return cRightParenthesisKeyword_1_2_2; }
}
public class ReqPredicateElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ReqPredicate");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cInformalPredicateParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cValuePredicateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
//ReqPredicate:
// InformalPredicate | ValuePredicate;
@Override public ParserRule getRule() { return rule; }
//InformalPredicate | ValuePredicate
public Alternatives getAlternatives() { return cAlternatives; }
//InformalPredicate
public RuleCall getInformalPredicateParserRuleCall_0() { return cInformalPredicateParserRuleCall_0; }
//ValuePredicate
public RuleCall getValuePredicateParserRuleCall_1() { return cValuePredicateParserRuleCall_1; }
}
public class InformalPredicateElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.InformalPredicate");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cInformalKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Keyword cPredicateKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cDescriptionAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cDescriptionSTRINGTerminalRuleCall_2_0 = (RuleCall)cDescriptionAssignment_2.eContents().get(0);
//// | InputAssumption | OutputGuarantee| BehaviorEquation;
//InformalPredicate:
// 'informal' 'predicate' description=STRING;
@Override public ParserRule getRule() { return rule; }
//'informal' 'predicate' description=STRING
public Group getGroup() { return cGroup; }
//'informal'
public Keyword getInformalKeyword_0() { return cInformalKeyword_0; }
//'predicate'
public Keyword getPredicateKeyword_1() { return cPredicateKeyword_1; }
//description=STRING
public Assignment getDescriptionAssignment_2() { return cDescriptionAssignment_2; }
//STRING
public RuleCall getDescriptionSTRINGTerminalRuleCall_2_0() { return cDescriptionSTRINGTerminalRuleCall_2_0; }
}
public class ValuePredicateElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ValuePredicate");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cValueKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Keyword cPredicateKeyword_1 = (Keyword)cGroup.eContents().get(1);
private final Assignment cXpressionAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cXpressionAAndExpressionParserRuleCall_2_0 = (RuleCall)cXpressionAssignment_2.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cWithKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Assignment cDesiredValueAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
private final RuleCall cDesiredValueDesiredValueParserRuleCall_3_1_0 = (RuleCall)cDesiredValueAssignment_3_1.eContents().get(0);
//ValuePredicate:
// 'value' 'predicate' xpression=AAndExpression ('with' desiredValue+=DesiredValue+)?;
@Override public ParserRule getRule() { return rule; }
//'value' 'predicate' xpression=AAndExpression ('with' desiredValue+=DesiredValue+)?
public Group getGroup() { return cGroup; }
//'value'
public Keyword getValueKeyword_0() { return cValueKeyword_0; }
//'predicate'
public Keyword getPredicateKeyword_1() { return cPredicateKeyword_1; }
//xpression=AAndExpression
public Assignment getXpressionAssignment_2() { return cXpressionAssignment_2; }
//AAndExpression
public RuleCall getXpressionAAndExpressionParserRuleCall_2_0() { return cXpressionAAndExpressionParserRuleCall_2_0; }
//('with' desiredValue+=DesiredValue+)?
public Group getGroup_3() { return cGroup_3; }
//'with'
public Keyword getWithKeyword_3_0() { return cWithKeyword_3_0; }
//desiredValue+=DesiredValue+
public Assignment getDesiredValueAssignment_3_1() { return cDesiredValueAssignment_3_1; }
//DesiredValue
public RuleCall getDesiredValueDesiredValueParserRuleCall_3_1_0() { return cDesiredValueDesiredValueParserRuleCall_3_1_0; }
}
public class DesiredValueElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.DesiredValue");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cDesiredAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cDesiredAVariableReferenceParserRuleCall_0_0 = (RuleCall)cDesiredAssignment_0.eContents().get(0);
private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
private final Assignment cUptoAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0);
private final Keyword cUptoUptoKeyword_1_0_0 = (Keyword)cUptoAssignment_1_0.eContents().get(0);
private final Keyword cDowntoKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1);
private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cValueAExpressionParserRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0);
//// intended to be restricted to deal with value limits
//DesiredValue:
// desired=AVariableReference (upto?='upto' | 'downto') value=AExpression;
@Override public ParserRule getRule() { return rule; }
//desired=AVariableReference (upto?='upto' | 'downto') value=AExpression
public Group getGroup() { return cGroup; }
//desired=AVariableReference
public Assignment getDesiredAssignment_0() { return cDesiredAssignment_0; }
//AVariableReference
public RuleCall getDesiredAVariableReferenceParserRuleCall_0_0() { return cDesiredAVariableReferenceParserRuleCall_0_0; }
//(upto?='upto' | 'downto')
public Alternatives getAlternatives_1() { return cAlternatives_1; }
//upto?='upto'
public Assignment getUptoAssignment_1_0() { return cUptoAssignment_1_0; }
//'upto'
public Keyword getUptoUptoKeyword_1_0_0() { return cUptoUptoKeyword_1_0_0; }
//'downto'
public Keyword getDowntoKeyword_1_1() { return cDowntoKeyword_1_1; }
//value=AExpression
public Assignment getValueAssignment_2() { return cValueAssignment_2; }
//AExpression
public RuleCall getValueAExpressionParserRuleCall_2_0() { return cValueAExpressionParserRuleCall_2_0; }
}
public class ExternalDocumentElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ExternalDocument");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Assignment cDocReferenceAssignment_0 = (Assignment)cGroup.eContents().get(0);
private final RuleCall cDocReferenceDOCPATHParserRuleCall_0_0 = (RuleCall)cDocReferenceAssignment_0.eContents().get(0);
private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
private final Keyword cNumberSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Assignment cDocFragmentAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cDocFragmentQualifiedNameParserRuleCall_1_1_0 = (RuleCall)cDocFragmentAssignment_1_1.eContents().get(0);
//ExternalDocument:
// docReference=DOCPATH ('#' docFragment=QualifiedName)?;
@Override public ParserRule getRule() { return rule; }
//docReference=DOCPATH ('#' docFragment=QualifiedName)?
public Group getGroup() { return cGroup; }
//docReference=DOCPATH
public Assignment getDocReferenceAssignment_0() { return cDocReferenceAssignment_0; }
//DOCPATH
public RuleCall getDocReferenceDOCPATHParserRuleCall_0_0() { return cDocReferenceDOCPATHParserRuleCall_0_0; }
//('#' docFragment=QualifiedName)?
public Group getGroup_1() { return cGroup_1; }
//'#'
public Keyword getNumberSignKeyword_1_0() { return cNumberSignKeyword_1_0; }
//docFragment=QualifiedName
public Assignment getDocFragmentAssignment_1_1() { return cDocFragmentAssignment_1_1; }
//QualifiedName
public RuleCall getDocFragmentQualifiedNameParserRuleCall_1_1_0() { return cDocFragmentQualifiedNameParserRuleCall_1_1_0; }
}
public class ValDeclarationElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.ValDeclaration");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Action cReqValDeclarationAction_0 = (Action)cGroup.eContents().get(0);
private final Keyword cValKeyword_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 Keyword cColonKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1);
private final Assignment cTypeAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0);
private final RuleCall cTypeTypeRefParserRuleCall_3_1_0_0 = (RuleCall)cTypeAssignment_3_1_0.eContents().get(0);
private final Group cGroup_3_1_1 = (Group)cAlternatives_3_1.eContents().get(1);
private final Keyword cTypeofKeyword_3_1_1_0 = (Keyword)cGroup_3_1_1.eContents().get(0);
private final Assignment cTypeAssignment_3_1_1_1 = (Assignment)cGroup_3_1_1.eContents().get(1);
private final RuleCall cTypePropertyRefParserRuleCall_3_1_1_1_0 = (RuleCall)cTypeAssignment_3_1_1_1.eContents().get(0);
private final Group cGroup_3_1_2 = (Group)cAlternatives_3_1.eContents().get(2);
private final Assignment cRangeAssignment_3_1_2_0 = (Assignment)cGroup_3_1_2.eContents().get(0);
private final Keyword cRangeLeftSquareBracketKeyword_3_1_2_0_0 = (Keyword)cRangeAssignment_3_1_2_0.eContents().get(0);
private final Alternatives cAlternatives_3_1_2_1 = (Alternatives)cGroup_3_1_2.eContents().get(1);
private final Assignment cTypeAssignment_3_1_2_1_0 = (Assignment)cAlternatives_3_1_2_1.eContents().get(0);
private final RuleCall cTypeTypeRefParserRuleCall_3_1_2_1_0_0 = (RuleCall)cTypeAssignment_3_1_2_1_0.eContents().get(0);
private final Group cGroup_3_1_2_1_1 = (Group)cAlternatives_3_1_2_1.eContents().get(1);
private final Keyword cTypeofKeyword_3_1_2_1_1_0 = (Keyword)cGroup_3_1_2_1_1.eContents().get(0);
private final Assignment cTypeAssignment_3_1_2_1_1_1 = (Assignment)cGroup_3_1_2_1_1.eContents().get(1);
private final RuleCall cTypePropertyRefParserRuleCall_3_1_2_1_1_1_0 = (RuleCall)cTypeAssignment_3_1_2_1_1_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_3_1_2_2 = (Keyword)cGroup_3_1_2.eContents().get(2);
private final Keyword cEqualsSignKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Assignment cValueAssignment_5 = (Assignment)cGroup.eContents().get(5);
private final RuleCall cValueAExpressionParserRuleCall_5_0 = (RuleCall)cValueAssignment_5.eContents().get(0);
private final Group cGroup_6 = (Group)cGroup.eContents().get(6);
private final Keyword cAsKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0);
private final Assignment cPropertyAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1);
private final RuleCall cPropertyPropertyRefParserRuleCall_6_1_0 = (RuleCall)cPropertyAssignment_6_1.eContents().get(0);
//@Override
//ValDeclaration common::ValDeclaration:
// {ReqValDeclaration} 'val' name=ID (':' (type=TypeRef | 'typeof' type=PropertyRef | range?='[' (type=TypeRef | 'typeof'
// type=PropertyRef) ']'))? '=' value=AExpression ('as' property=PropertyRef)?;
@Override public ParserRule getRule() { return rule; }
//{ReqValDeclaration} 'val' name=ID (':' (type=TypeRef | 'typeof' type=PropertyRef | range?='[' (type=TypeRef | 'typeof'
//type=PropertyRef) ']'))? '=' value=AExpression ('as' property=PropertyRef)?
public Group getGroup() { return cGroup; }
//{ReqValDeclaration}
public Action getReqValDeclarationAction_0() { return cReqValDeclarationAction_0; }
//'val'
public Keyword getValKeyword_1() { return cValKeyword_1; }
//name=ID
public Assignment getNameAssignment_2() { return cNameAssignment_2; }
//ID
public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; }
//(':' (type=TypeRef | 'typeof' type=PropertyRef | range?='[' (type=TypeRef | 'typeof' type=PropertyRef) ']'))?
public Group getGroup_3() { return cGroup_3; }
//':'
public Keyword getColonKeyword_3_0() { return cColonKeyword_3_0; }
//(type=TypeRef | 'typeof' type=PropertyRef | range?='[' (type=TypeRef | 'typeof' type=PropertyRef) ']')
public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; }
//type=TypeRef
public Assignment getTypeAssignment_3_1_0() { return cTypeAssignment_3_1_0; }
//TypeRef
public RuleCall getTypeTypeRefParserRuleCall_3_1_0_0() { return cTypeTypeRefParserRuleCall_3_1_0_0; }
//'typeof' type=PropertyRef
public Group getGroup_3_1_1() { return cGroup_3_1_1; }
//'typeof'
public Keyword getTypeofKeyword_3_1_1_0() { return cTypeofKeyword_3_1_1_0; }
//type=PropertyRef
public Assignment getTypeAssignment_3_1_1_1() { return cTypeAssignment_3_1_1_1; }
//PropertyRef
public RuleCall getTypePropertyRefParserRuleCall_3_1_1_1_0() { return cTypePropertyRefParserRuleCall_3_1_1_1_0; }
//range?='[' (type=TypeRef | 'typeof' type=PropertyRef) ']'
public Group getGroup_3_1_2() { return cGroup_3_1_2; }
//range?='['
public Assignment getRangeAssignment_3_1_2_0() { return cRangeAssignment_3_1_2_0; }
//'['
public Keyword getRangeLeftSquareBracketKeyword_3_1_2_0_0() { return cRangeLeftSquareBracketKeyword_3_1_2_0_0; }
//(type=TypeRef | 'typeof' type=PropertyRef)
public Alternatives getAlternatives_3_1_2_1() { return cAlternatives_3_1_2_1; }
//type=TypeRef
public Assignment getTypeAssignment_3_1_2_1_0() { return cTypeAssignment_3_1_2_1_0; }
//TypeRef
public RuleCall getTypeTypeRefParserRuleCall_3_1_2_1_0_0() { return cTypeTypeRefParserRuleCall_3_1_2_1_0_0; }
//'typeof' type=PropertyRef
public Group getGroup_3_1_2_1_1() { return cGroup_3_1_2_1_1; }
//'typeof'
public Keyword getTypeofKeyword_3_1_2_1_1_0() { return cTypeofKeyword_3_1_2_1_1_0; }
//type=PropertyRef
public Assignment getTypeAssignment_3_1_2_1_1_1() { return cTypeAssignment_3_1_2_1_1_1; }
//PropertyRef
public RuleCall getTypePropertyRefParserRuleCall_3_1_2_1_1_1_0() { return cTypePropertyRefParserRuleCall_3_1_2_1_1_1_0; }
//']'
public Keyword getRightSquareBracketKeyword_3_1_2_2() { return cRightSquareBracketKeyword_3_1_2_2; }
//'='
public Keyword getEqualsSignKeyword_4() { return cEqualsSignKeyword_4; }
//value=AExpression
public Assignment getValueAssignment_5() { return cValueAssignment_5; }
//AExpression
public RuleCall getValueAExpressionParserRuleCall_5_0() { return cValueAExpressionParserRuleCall_5_0; }
//('as' property=PropertyRef)?
public Group getGroup_6() { return cGroup_6; }
//'as'
public Keyword getAsKeyword_6_0() { return cAsKeyword_6_0; }
//property=PropertyRef
public Assignment getPropertyAssignment_6_1() { return cPropertyAssignment_6_1; }
//PropertyRef
public RuleCall getPropertyPropertyRefParserRuleCall_6_1_0() { return cPropertyPropertyRefParserRuleCall_6_1_0; }
}
public class DOCPATHElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.osate.reqspec.ReqSpec.DOCPATH");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
private final RuleCall cIDTerminalRuleCall_0_0 = (RuleCall)cGroup_0.eContents().get(0);
private final Keyword cSolidusKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
private final RuleCall cIDTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final RuleCall cIDTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3);
//// path to external document and its fragment
//DOCPATH:
// (ID '/')* ID '.' ID;
@Override public ParserRule getRule() { return rule; }
//(ID '/')* ID '.' ID
public Group getGroup() { return cGroup; }
//(ID '/')*
public Group getGroup_0() { return cGroup_0; }
//ID
public RuleCall getIDTerminalRuleCall_0_0() { return cIDTerminalRuleCall_0_0; }
//'/'
public Keyword getSolidusKeyword_0_1() { return cSolidusKeyword_0_1; }
//ID
public RuleCall getIDTerminalRuleCall_1() { return cIDTerminalRuleCall_1; }
//'.'
public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
//ID
public RuleCall getIDTerminalRuleCall_3() { return cIDTerminalRuleCall_3; }
}
private final ReqSpecElements pReqSpec;
private final GlobalConstantsElements pGlobalConstants;
private final ContractualElementElements pContractualElement;
private final ReqRootElements pReqRoot;
private final StakeholderGoalsElements pStakeholderGoals;
private final ReqDocumentElements pReqDocument;
private final DocumentSectionElements pDocumentSection;
private final SystemRequirementSetElements pSystemRequirementSet;
private final GlobalRequirementSetElements pGlobalRequirementSet;
private final DocGoalElements pDocGoal;
private final GoalElements pGoal;
private final SystemRequirementElements pSystemRequirement;
private final GlobalRequirementElements pGlobalRequirement;
private final DocRequirementElements pDocRequirement;
private final IncludeGlobalRequirementElements pIncludeGlobalRequirement;
private final WhenConditionElements pWhenCondition;
private final ReqPredicateElements pReqPredicate;
private final InformalPredicateElements pInformalPredicate;
private final ValuePredicateElements pValuePredicate;
private final DesiredValueElements pDesiredValue;
private final ExternalDocumentElements pExternalDocument;
private final ValDeclarationElements pValDeclaration;
private final DOCPATHElements pDOCPATH;
private final Grammar grammar;
private final CommonGrammarAccess gaCommon;
private final TerminalsGrammarAccess gaTerminals;
@Inject
public ReqSpecGrammarAccess(GrammarProvider grammarProvider,
CommonGrammarAccess gaCommon,
TerminalsGrammarAccess gaTerminals) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaCommon = gaCommon;
this.gaTerminals = gaTerminals;
this.pReqSpec = new ReqSpecElements();
this.pGlobalConstants = new GlobalConstantsElements();
this.pContractualElement = new ContractualElementElements();
this.pReqRoot = new ReqRootElements();
this.pStakeholderGoals = new StakeholderGoalsElements();
this.pReqDocument = new ReqDocumentElements();
this.pDocumentSection = new DocumentSectionElements();
this.pSystemRequirementSet = new SystemRequirementSetElements();
this.pGlobalRequirementSet = new GlobalRequirementSetElements();
this.pDocGoal = new DocGoalElements();
this.pGoal = new GoalElements();
this.pSystemRequirement = new SystemRequirementElements();
this.pGlobalRequirement = new GlobalRequirementElements();
this.pDocRequirement = new DocRequirementElements();
this.pIncludeGlobalRequirement = new IncludeGlobalRequirementElements();
this.pWhenCondition = new WhenConditionElements();
this.pReqPredicate = new ReqPredicateElements();
this.pInformalPredicate = new InformalPredicateElements();
this.pValuePredicate = new ValuePredicateElements();
this.pDesiredValue = new DesiredValueElements();
this.pExternalDocument = new ExternalDocumentElements();
this.pValDeclaration = new ValDeclarationElements();
this.pDOCPATH = new DOCPATHElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
if ("org.osate.reqspec.ReqSpec".equals(grammar.getName())) {
return grammar;
}
List<Grammar> grammars = grammar.getUsedGrammars();
if (!grammars.isEmpty()) {
grammar = grammars.iterator().next();
} else {
return null;
}
}
return grammar;
}
@Override
public Grammar getGrammar() {
return grammar;
}
public CommonGrammarAccess getCommonGrammarAccess() {
return gaCommon;
}
public TerminalsGrammarAccess getTerminalsGrammarAccess() {
return gaTerminals;
}
//ReqSpec:
// parts+=(SystemRequirementSet | GlobalRequirementSet | StakeholderGoals | ReqDocument | GlobalConstants)+;
public ReqSpecElements getReqSpecAccess() {
return pReqSpec;
}
public ParserRule getReqSpecRule() {
return getReqSpecAccess().getRule();
}
////ReqSpecContainer: SystemRequirements | GlobalRequirements | StakeholderGoals | ReqDocument | DocumentSection ;
//GlobalConstants:
// 'constants' name=QualifiedName '['
// constants+=ValDeclaration* ']';
public GlobalConstantsElements getGlobalConstantsAccess() {
return pGlobalConstants;
}
public ParserRule getGlobalConstantsRule() {
return getGlobalConstantsAccess().getRule();
}
//ContractualElement:
// Goal | SystemRequirement;
public ContractualElementElements getContractualElementAccess() {
return pContractualElement;
}
public ParserRule getContractualElementRule() {
return getContractualElementAccess().getRule();
}
//ReqRoot:
// StakeholderGoals | ReqDocument | SystemRequirementSet | GlobalRequirementSet;
public ReqRootElements getReqRootAccess() {
return pReqRoot;
}
public ParserRule getReqRootRule() {
return getReqRootAccess().getRule();
}
//StakeholderGoals:
// 'stakeholder' 'goals' name=QualifiedName (':' title=STRING)? ('for'
// (target=[aadl2::ComponentClassifier|AadlClassifierReference] | componentCategory+=ComponentCategory+)) ('use'
// 'constants' importConstants+=[GlobalConstants|QualifiedName]+)?
// '[' (description=Description?
// & constants+=ValDeclaration*
// & goals+=Goal*
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
public StakeholderGoalsElements getStakeholderGoalsAccess() {
return pStakeholderGoals;
}
public ParserRule getStakeholderGoalsRule() {
return getStakeholderGoalsAccess().getRule();
}
//ReqDocument:
// 'document' name=QualifiedName (':' title=STRING)?
// '[' (description=Description?
// & content+=(DocGoal | DocRequirement | DocumentSection)*
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
public ReqDocumentElements getReqDocumentAccess() {
return pReqDocument;
}
public ParserRule getReqDocumentRule() {
return getReqDocumentAccess().getRule();
}
//DocumentSection:
// 'section' (label=ID (':' title=STRING)? | title=STRING)
// '[' (description=Description?
// & content+=(DocGoal | DocRequirement | DocumentSection)*)
// ']';
public DocumentSectionElements getDocumentSectionAccess() {
return pDocumentSection;
}
public ParserRule getDocumentSectionRule() {
return getDocumentSectionAccess().getRule();
}
//SystemRequirementSet RequirementSet:
// {SystemRequirementSet} 'system' 'requirements' name=QualifiedName (':' title=STRING)?
// 'for' target=[aadl2::ComponentClassifier|AadlClassifierReference] ('use' 'constants'
// importConstants+=[GlobalConstants|QualifiedName]+)?
// '[' (description=Description
// | constants+=ValDeclaration
// | computes+=ComputeDeclaration
// | requirements+=SystemRequirement
// | include+=IncludeGlobalRequirement
// | 'see' 'document' docReference+=ExternalDocument+ | 'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ |
// 'issues' issues+=STRING+)*
// ']';
public SystemRequirementSetElements getSystemRequirementSetAccess() {
return pSystemRequirementSet;
}
public ParserRule getSystemRequirementSetRule() {
return getSystemRequirementSetAccess().getRule();
}
//GlobalRequirementSet RequirementSet:
// {GlobalRequirementSet} 'global' 'requirements' name=QualifiedName (':' title=STRING)? ('use' 'constants'
// importConstants+=[GlobalConstants|QualifiedName]+)?
// '[' (description=Description
// | constants+=ValDeclaration
// | computes+=ComputeDeclaration
// | requirements+=GlobalRequirement
// | 'see' 'document' docReference+=ExternalDocument+ | 'see' 'goals' stakeholderGoals+=[ReqRoot|QualifiedName]+ |
// 'issues' issues+=STRING+)*
// ']';
public GlobalRequirementSetElements getGlobalRequirementSetAccess() {
return pGlobalRequirementSet;
}
public ParserRule getGlobalRequirementSetRule() {
return getGlobalRequirementSetAccess().getRule();
}
//DocGoal Goal:
// 'goal' name=ID (':' title=STRING)? ('for' (targetDescription=STRING |
// target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]?))?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration*
// & whencondition=WhenCondition? // condition under which requirement applies
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('refines' refinesReference+=[Goal|QualifiedName]+)?
// & ('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('stakeholder' stakeholderReference+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
public DocGoalElements getDocGoalAccess() {
return pDocGoal;
}
public ParserRule getDocGoalRule() {
return getDocGoalAccess().getRule();
}
//Goal:
// 'goal' name=ID (':' title=STRING)? ('for' targetElement=[aadl2::NamedElement])?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('refines' refinesReference+=[Goal|QualifiedName]+)?
// & ('conflicts' 'with' conflictsReference+=[Goal|QualifiedName]+)?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('stakeholder' stakeholderReference+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
public GoalElements getGoalAccess() {
return pGoal;
}
public ParserRule getGoalRule() {
return getGoalAccess().getRule();
}
//SystemRequirement Requirement:
// 'requirement' name=ID (':' title=STRING)? ('for' targetElement=[aadl2::NamedElement])?
// '[' ('category' category+=[categories::Category|QualifiedName]+ | description=Description |
// whencondition=WhenCondition | predicate=ReqPredicate | rationale=Rationale | changeUncertainty=Uncertainty |
// 'mitigates' (exception=[ecore::EObject] | exceptionText=STRING) | 'inherits'
// inheritsReference=[Requirement|QualifiedName] | dropped?='dropped' dropRationale=STRING? | constants+=ValDeclaration |
// computes+=ComputeDeclaration | 'refines' refinesReference+=[Requirement|QualifiedName]+ | 'decomposes'
// decomposesReference+=[Requirement|QualifiedName]+ | 'evolves' evolvesReference+=[Requirement|QualifiedName]+ |
// 'development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+ | 'see' 'goal'
// goalReference+=[Goal|QualifiedName]+ | 'see' 'requirement' requirementReference+=[Requirement|QualifiedName]+ | 'see'
// 'document' docReference+=ExternalDocument+ | 'issues' issues+=STRING+)*
// ']';
public SystemRequirementElements getSystemRequirementAccess() {
return pSystemRequirement;
}
public ParserRule getSystemRequirementRule() {
return getSystemRequirementAccess().getRule();
}
//GlobalRequirement Requirement:
// 'requirement' name=ID (':' title=STRING)? ('for' (componentCategory+=ComponentCategory+ | targetType=TargetType))?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration* & computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
// & predicate=ReqPredicate? // predicate expression
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('mitigates' (exception=[ecore::EObject] | exceptionText=STRING))?
// & ('refines' refinesReference+=[Requirement|QualifiedName]+)?
// & ('decomposes' decomposesReference+=[Requirement|QualifiedName]+)?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
// & ('see' 'requirement' requirementReference+=[Requirement|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
public GlobalRequirementElements getGlobalRequirementAccess() {
return pGlobalRequirement;
}
public ParserRule getGlobalRequirementRule() {
return getGlobalRequirementAccess().getRule();
}
//DocRequirement Requirement:
// 'requirement' name=ID (':' title=STRING)? ('for' (targetDescription=STRING |
// target=[aadl2::ComponentClassifier|AadlClassifierReference] targetElement=[aadl2::NamedElement]? |
// componentCategory+=ComponentCategory+))?
// '[' (('category' category+=[categories::Category|QualifiedName]+)?
// & description=Description?
// & constants+=ValDeclaration* & computes+=ComputeDeclaration* & whencondition=WhenCondition? // condition under which requirement applies
// & predicate=ReqPredicate? // predicate expression
// & rationale=Rationale?
// & changeUncertainty=Uncertainty?
// & ('mitigates' (exception=[ecore::EObject] | exceptionText=STRING))?
// & ('refines' refinesReference+=[Requirement|QualifiedName]+)?
// & ('decomposes' decomposesReference+=[Requirement|QualifiedName]+)?
// & ('inherits' inheritsReference=[Requirement|QualifiedName])?
// & ('evolves' evolvesReference+=[Requirement|QualifiedName]+)?
// & (dropped?='dropped' dropRationale=STRING?)?
// & ('development' 'stakeholder' developmentStakeholder+=[org::Stakeholder|QualifiedName]+)?
// & ('see' 'goal' goalReference+=[Goal|QualifiedName]+)?
// & ('see' 'document' docReference+=ExternalDocument+)?
// & ('issues' issues+=STRING+)?)
// ']';
public DocRequirementElements getDocRequirementAccess() {
return pDocRequirement;
}
public ParserRule getDocRequirementRule() {
return getDocRequirementAccess().getRule();
}
//IncludeGlobalRequirement:
// 'include' include=[ecore::EObject|QualifiedName] ('for' (local?='self' | targetElement=[aadl2::NamedElement]))?;
public IncludeGlobalRequirementElements getIncludeGlobalRequirementAccess() {
return pIncludeGlobalRequirement;
}
public ParserRule getIncludeGlobalRequirementRule() {
return getIncludeGlobalRequirementAccess().getRule();
}
//WhenCondition:
// 'when' ('in' 'mode' inMode+=[aadl2::Mode] (',' inMode+=[aadl2::Mode])* | 'in' 'error' 'state'
// inErrorState+=[ecore::EObject] (',' inErrorState+=[ecore::EObject])* | condition=QualifiedName '(' ')');
public WhenConditionElements getWhenConditionAccess() {
return pWhenCondition;
}
public ParserRule getWhenConditionRule() {
return getWhenConditionAccess().getRule();
}
//ReqPredicate:
// InformalPredicate | ValuePredicate;
public ReqPredicateElements getReqPredicateAccess() {
return pReqPredicate;
}
public ParserRule getReqPredicateRule() {
return getReqPredicateAccess().getRule();
}
//// | InputAssumption | OutputGuarantee| BehaviorEquation;
//InformalPredicate:
// 'informal' 'predicate' description=STRING;
public InformalPredicateElements getInformalPredicateAccess() {
return pInformalPredicate;
}
public ParserRule getInformalPredicateRule() {
return getInformalPredicateAccess().getRule();
}
//ValuePredicate:
// 'value' 'predicate' xpression=AAndExpression ('with' desiredValue+=DesiredValue+)?;
public ValuePredicateElements getValuePredicateAccess() {
return pValuePredicate;
}
public ParserRule getValuePredicateRule() {
return getValuePredicateAccess().getRule();
}
//// intended to be restricted to deal with value limits
//DesiredValue:
// desired=AVariableReference (upto?='upto' | 'downto') value=AExpression;
public DesiredValueElements getDesiredValueAccess() {
return pDesiredValue;
}
public ParserRule getDesiredValueRule() {
return getDesiredValueAccess().getRule();
}
//ExternalDocument:
// docReference=DOCPATH ('#' docFragment=QualifiedName)?;
public ExternalDocumentElements getExternalDocumentAccess() {
return pExternalDocument;
}
public ParserRule getExternalDocumentRule() {
return getExternalDocumentAccess().getRule();
}
//@Override
//ValDeclaration common::ValDeclaration:
// {ReqValDeclaration} 'val' name=ID (':' (type=TypeRef | 'typeof' type=PropertyRef | range?='[' (type=TypeRef | 'typeof'
// type=PropertyRef) ']'))? '=' value=AExpression ('as' property=PropertyRef)?;
public ValDeclarationElements getValDeclarationAccess() {
return pValDeclaration;
}
public ParserRule getValDeclarationRule() {
return getValDeclarationAccess().getRule();
}
//// path to external document and its fragment
//DOCPATH:
// (ID '/')* ID '.' ID;
public DOCPATHElements getDOCPATHAccess() {
return pDOCPATH;
}
public ParserRule getDOCPATHRule() {
return getDOCPATHAccess().getRule();
}
//Description:
// 'description' description+=DescriptionElement+;
public CommonGrammarAccess.DescriptionElements getDescriptionAccess() {
return gaCommon.getDescriptionAccess();
}
public ParserRule getDescriptionRule() {
return getDescriptionAccess().getRule();
}
//DescriptionElement:
// text=STRING | => thisTarget?='this' | => image=ImageReference | showValue=ShowValue;
public CommonGrammarAccess.DescriptionElementElements getDescriptionElementAccess() {
return gaCommon.getDescriptionElementAccess();
}
public ParserRule getDescriptionElementRule() {
return getDescriptionElementAccess().getRule();
}
//Rationale:
// 'rationale' description+=DescriptionElement+;
public CommonGrammarAccess.RationaleElements getRationaleAccess() {
return gaCommon.getRationaleAccess();
}
public ParserRule getRationaleRule() {
return getRationaleAccess().getRule();
}
//Uncertainty:
// {Uncertainty} 'uncertainty'
// '[' (('volatility' volatility=INT)?
// & ('precedence' precedence=INT)?
// & ('impact' impact=INT)?)
// ']';
public CommonGrammarAccess.UncertaintyElements getUncertaintyAccess() {
return gaCommon.getUncertaintyAccess();
}
public ParserRule getUncertaintyRule() {
return getUncertaintyAccess().getRule();
}
//TypeRef aadl2::PropertyType:
// {aadl2::AadlBoolean} 'boolean'
// | {aadl2::AadlInteger} 'integer' ('units' referencedUnitsType=[aadl2::UnitsType|AADLPROPERTYREFERENCE])?
// | {aadl2::AadlReal} 'real' ('units' referencedUnitsType=[aadl2::UnitsType|AADLPROPERTYREFERENCE])?
// | {aadl2::AadlString} 'string'
// | {ModelRef} 'model' 'element'
// | {TypeRef} ref=[aadl2::PropertyType|AADLPROPERTYREFERENCE];
public CommonGrammarAccess.TypeRefElements getTypeRefAccess() {
return gaCommon.getTypeRefAccess();
}
public ParserRule getTypeRefRule() {
return getTypeRefAccess().getRule();
}
//PropertyRef aadl2::PropertyType:
// {PropertyRef} ref=[aadl2::Property|AADLPROPERTYREFERENCE];
public CommonGrammarAccess.PropertyRefElements getPropertyRefAccess() {
return gaCommon.getPropertyRefAccess();
}
public ParserRule getPropertyRefRule() {
return getPropertyRefAccess().getRule();
}
//ComputeDeclaration AVariableDeclaration:
// {ComputeDeclaration}
// 'compute' name=ID ':' (type=TypeRef | 'typeof' type=PropertyRef | range?='[' (type=TypeRef | 'typeof'
// type=PropertyRef) ']');
public CommonGrammarAccess.ComputeDeclarationElements getComputeDeclarationAccess() {
return gaCommon.getComputeDeclarationAccess();
}
public ParserRule getComputeDeclarationRule() {
return getComputeDeclarationAccess().getRule();
}
//// Reference to property, property constant, or model element.
//AModelOrPropertyReference AExpression:
// AModelReference (=> ({APropertyReference.modelElementReference=current} '#')
// property=[aadl2::AbstractNamedValue|AADLPROPERTYREFERENCE])?
// | APropertyReference;
public CommonGrammarAccess.AModelOrPropertyReferenceElements getAModelOrPropertyReferenceAccess() {
return gaCommon.getAModelOrPropertyReferenceAccess();
}
public ParserRule getAModelOrPropertyReferenceRule() {
return getAModelOrPropertyReferenceAccess().getRule();
}
//AModelReference:
// modelElement=[aadl2::NamedElement|ThisKeyword] ({AModelReference.prev=current} '.'
// modelElement=[aadl2::NamedElement])*;
public CommonGrammarAccess.AModelReferenceElements getAModelReferenceAccess() {
return gaCommon.getAModelReferenceAccess();
}
public ParserRule getAModelReferenceRule() {
return getAModelReferenceAccess().getRule();
}
//APropertyReference:
// {APropertyReference} '#' property=[aadl2::AbstractNamedValue|AADLPROPERTYREFERENCE];
public CommonGrammarAccess.APropertyReferenceElements getAPropertyReferenceAccess() {
return gaCommon.getAPropertyReferenceAccess();
}
public ParserRule getAPropertyReferenceRule() {
return getAPropertyReferenceAccess().getRule();
}
//AVariableReference AExpression:
// {AVariableReference} variable=[AVariableDeclaration];
public CommonGrammarAccess.AVariableReferenceElements getAVariableReferenceAccess() {
return gaCommon.getAVariableReferenceAccess();
}
public ParserRule getAVariableReferenceRule() {
return getAVariableReferenceAccess().getRule();
}
//ShowValue AUnitExpression:
// expression=AVariableReference ((convert?='%' | drop?='in') unit=[aadl2::UnitLiteral])?;
public CommonGrammarAccess.ShowValueElements getShowValueAccess() {
return gaCommon.getShowValueAccess();
}
public ParserRule getShowValueRule() {
return getShowValueAccess().getRule();
}
//ImageReference:
// 'img' imgfile=IMGREF;
public CommonGrammarAccess.ImageReferenceElements getImageReferenceAccess() {
return gaCommon.getImageReferenceAccess();
}
public ParserRule getImageReferenceRule() {
return getImageReferenceAccess().getRule();
}
//IMGREF:
// (ID '/')* ID '.' ID;
public CommonGrammarAccess.IMGREFElements getIMGREFAccess() {
return gaCommon.getIMGREFAccess();
}
public ParserRule getIMGREFRule() {
return getIMGREFAccess().getRule();
}
//enum Operation:
// OR='or' | ALT_OR='||'
// | AND='and' | ALT_AND='&&'
// | EQ='==' | NEQ='!='
// | GEQ='>=' | LEQ='<=' | GT='>' | LT='<' | IN='><'
// | PLUS='+' | MINUS='-'
// | MULT='*' | DIV='/' | INTDIV='div' | MOD='mod'
// | NOT='not';
public CommonGrammarAccess.OperationElements getOperationAccess() {
return gaCommon.getOperationAccess();
}
public EnumRule getOperationRule() {
return getOperationAccess().getRule();
}
//AExpression aadl2::PropertyExpression:
// AOrExpression;
public CommonGrammarAccess.AExpressionElements getAExpressionAccess() {
return gaCommon.getAExpressionAccess();
}
public ParserRule getAExpressionRule() {
return getAExpressionAccess().getRule();
}
//AOrExpression aadl2::PropertyExpression:
// AAndExpression (=> ({ABinaryOperation.left=current} operator=OpOr) right=AAndExpression)*;
public CommonGrammarAccess.AOrExpressionElements getAOrExpressionAccess() {
return gaCommon.getAOrExpressionAccess();
}
public ParserRule getAOrExpressionRule() {
return getAOrExpressionAccess().getRule();
}
//OpOr Operation:
// 'or' | '||';
public CommonGrammarAccess.OpOrElements getOpOrAccess() {
return gaCommon.getOpOrAccess();
}
public ParserRule getOpOrRule() {
return getOpOrAccess().getRule();
}
//AAndExpression aadl2::PropertyExpression:
// AEqualityExpression (=> ({ABinaryOperation.left=current} operator=OpAnd) right=AEqualityExpression)*;
public CommonGrammarAccess.AAndExpressionElements getAAndExpressionAccess() {
return gaCommon.getAAndExpressionAccess();
}
public ParserRule getAAndExpressionRule() {
return getAAndExpressionAccess().getRule();
}
//OpAnd Operation:
// 'and' | '&&';
public CommonGrammarAccess.OpAndElements getOpAndAccess() {
return gaCommon.getOpAndAccess();
}
public ParserRule getOpAndRule() {
return getOpAndAccess().getRule();
}
//AEqualityExpression aadl2::PropertyExpression:
// ARelationalExpression (=> ({ABinaryOperation.left=current} operator=OpEquality) right=ARelationalExpression)*;
public CommonGrammarAccess.AEqualityExpressionElements getAEqualityExpressionAccess() {
return gaCommon.getAEqualityExpressionAccess();
}
public ParserRule getAEqualityExpressionRule() {
return getAEqualityExpressionAccess().getRule();
}
//OpEquality Operation:
// '==' | '!=';
public CommonGrammarAccess.OpEqualityElements getOpEqualityAccess() {
return gaCommon.getOpEqualityAccess();
}
public ParserRule getOpEqualityRule() {
return getOpEqualityAccess().getRule();
}
//ARelationalExpression aadl2::PropertyExpression:
// AAdditiveExpression (=> ({ABinaryOperation.left=current} operator=OpCompare) right=AAdditiveExpression)*;
public CommonGrammarAccess.ARelationalExpressionElements getARelationalExpressionAccess() {
return gaCommon.getARelationalExpressionAccess();
}
public ParserRule getARelationalExpressionRule() {
return getARelationalExpressionAccess().getRule();
}
//OpCompare Operation:
// '>=' | '<=' | '>' | '<' | '><';
public CommonGrammarAccess.OpCompareElements getOpCompareAccess() {
return gaCommon.getOpCompareAccess();
}
public ParserRule getOpCompareRule() {
return getOpCompareAccess().getRule();
}
////AOtherOperatorExpression returns aadl2::PropertyExpression:
//// AAdditiveExpression (=>({ABinaryOperation.leftOperand=current} feature=OpOther)
//// rightOperand=AAdditiveExpression)*;
////
////OpOther:
//// '->'
//// | '..<'
//// | '>' '..'
//// | '..'
//// | '=>'
//// | '>' (=>('>' '>') | '>')
//// | '<' (=>('<' '<') | '<' | '=>')
//// | '<>'
//// | '?:';
//AAdditiveExpression aadl2::PropertyExpression:
// AMultiplicativeExpression (=> ({ABinaryOperation.left=current} operator=OpAdd) right=AMultiplicativeExpression)*;
public CommonGrammarAccess.AAdditiveExpressionElements getAAdditiveExpressionAccess() {
return gaCommon.getAAdditiveExpressionAccess();
}
public ParserRule getAAdditiveExpressionRule() {
return getAAdditiveExpressionAccess().getRule();
}
//OpAdd Operation:
// '+' | '-';
public CommonGrammarAccess.OpAddElements getOpAddAccess() {
return gaCommon.getOpAddAccess();
}
public ParserRule getOpAddRule() {
return getOpAddAccess().getRule();
}
//AMultiplicativeExpression aadl2::PropertyExpression:
// AUnaryOperation (=> ({ABinaryOperation.left=current} operator=OpMulti) right=AUnaryOperation)*;
public CommonGrammarAccess.AMultiplicativeExpressionElements getAMultiplicativeExpressionAccess() {
return gaCommon.getAMultiplicativeExpressionAccess();
}
public ParserRule getAMultiplicativeExpressionRule() {
return getAMultiplicativeExpressionAccess().getRule();
}
//OpMulti Operation:
// '*' | '/' | 'div' | 'mod';
public CommonGrammarAccess.OpMultiElements getOpMultiAccess() {
return gaCommon.getOpMultiAccess();
}
public ParserRule getOpMultiRule() {
return getOpMultiAccess().getRule();
}
//AUnaryOperation aadl2::PropertyExpression:
// {AUnaryOperation} => operator=OpUnary operand=AUnaryOperation | AUnitExpression;
public CommonGrammarAccess.AUnaryOperationElements getAUnaryOperationAccess() {
return gaCommon.getAUnaryOperationAccess();
}
public ParserRule getAUnaryOperationRule() {
return getAUnaryOperationAccess().getRule();
}
//OpUnary Operation:
// "not" | "-" | "+";
public CommonGrammarAccess.OpUnaryElements getOpUnaryAccess() {
return gaCommon.getOpUnaryAccess();
}
public ParserRule getOpUnaryRule() {
return getOpUnaryAccess().getRule();
}
//AUnitExpression aadl2::PropertyExpression:
// APrimaryExpression ({AUnitExpression.expression=current} (convert?='%' | drop?='in')? unit=[aadl2::UnitLiteral])?;
public CommonGrammarAccess.AUnitExpressionElements getAUnitExpressionAccess() {
return gaCommon.getAUnitExpressionAccess();
}
public ParserRule getAUnitExpressionRule() {
return getAUnitExpressionAccess().getRule();
}
//APrimaryExpression aadl2::PropertyExpression:
// ALiteral | AVariableReference | AModelOrPropertyReference | AFunctionCall | ARangeExpression | AIfExpression
// | AParenthesizedExpression;
public CommonGrammarAccess.APrimaryExpressionElements getAPrimaryExpressionAccess() {
return gaCommon.getAPrimaryExpressionAccess();
}
public ParserRule getAPrimaryExpressionRule() {
return getAPrimaryExpressionAccess().getRule();
}
//AFunctionCall aadl2::PropertyExpression:
// {AFunctionCall} function=QualifiedName '(' (arguments+=AExpression (',' arguments+=AExpression)*)? ')';
public CommonGrammarAccess.AFunctionCallElements getAFunctionCallAccess() {
return gaCommon.getAFunctionCallAccess();
}
public ParserRule getAFunctionCallRule() {
return getAFunctionCallAccess().getRule();
}
//ARangeExpression aadl2::PropertyExpression:
// {ARange} '[' minimum=AExpression '..' maximum=AExpression (=> 'delta' delta=AExpression)? ']';
public CommonGrammarAccess.ARangeExpressionElements getARangeExpressionAccess() {
return gaCommon.getARangeExpressionAccess();
}
public ParserRule getARangeExpressionRule() {
return getARangeExpressionAccess().getRule();
}
//AIfExpression aadl2::PropertyExpression:
// {AConditional} 'if' if=AExpression 'then' then=AExpression ('else' else=AExpression)? 'endif';
public CommonGrammarAccess.AIfExpressionElements getAIfExpressionAccess() {
return gaCommon.getAIfExpressionAccess();
}
public ParserRule getAIfExpressionRule() {
return getAIfExpressionAccess().getRule();
}
//ALiteral aadl2::PropertyExpression:
// ABooleanLiteral | ARealTerm | AIntegerTerm | StringTerm;
public CommonGrammarAccess.ALiteralElements getALiteralAccess() {
return gaCommon.getALiteralAccess();
}
public ParserRule getALiteralRule() {
return getALiteralAccess().getRule();
}
//AIntegerTerm aadl2::IntegerLiteral:
// value=AInt;
public CommonGrammarAccess.AIntegerTermElements getAIntegerTermAccess() {
return gaCommon.getAIntegerTermAccess();
}
public ParserRule getAIntegerTermRule() {
return getAIntegerTermAccess().getRule();
}
//AInt aadl2::Integer:
// INT;
public CommonGrammarAccess.AIntElements getAIntAccess() {
return gaCommon.getAIntAccess();
}
public ParserRule getAIntRule() {
return getAIntAccess().getRule();
}
//ARealTerm aadl2::RealLiteral:
// value=AReal;
public CommonGrammarAccess.ARealTermElements getARealTermAccess() {
return gaCommon.getARealTermAccess();
}
public ParserRule getARealTermRule() {
return getARealTermAccess().getRule();
}
//AReal aadl2::Real:
// REAL_LIT;
public CommonGrammarAccess.ARealElements getARealAccess() {
return gaCommon.getARealAccess();
}
public ParserRule getARealRule() {
return getARealAccess().getRule();
}
////ASetTerm returns aadl2::PropertyExpression:
//// {ASetLiteral} '{' (elements+=AExpression (',' elements+=AExpression )*)? '}'
////;
////
////AListTerm returns aadl2::PropertyExpression:
//// {AListTerm} '[' (elements+=AExpression (',' elements+=AExpression )*)? ']'
////;
//ABooleanLiteral aadl2::PropertyExpression:
// {aadl2::BooleanLiteral} (value?='true' | 'false');
public CommonGrammarAccess.ABooleanLiteralElements getABooleanLiteralAccess() {
return gaCommon.getABooleanLiteralAccess();
}
public ParserRule getABooleanLiteralRule() {
return getABooleanLiteralAccess().getRule();
}
//StringTerm aadl2::StringLiteral:
// value=NoQuoteString;
public CommonGrammarAccess.StringTermElements getStringTermAccess() {
return gaCommon.getStringTermAccess();
}
public ParserRule getStringTermRule() {
return getStringTermAccess().getRule();
}
//NoQuoteString:
// STRING;
public CommonGrammarAccess.NoQuoteStringElements getNoQuoteStringAccess() {
return gaCommon.getNoQuoteStringAccess();
}
public ParserRule getNoQuoteStringRule() {
return getNoQuoteStringAccess().getRule();
}
//AParenthesizedExpression aadl2::PropertyExpression:
// '(' AExpression ')';
public CommonGrammarAccess.AParenthesizedExpressionElements getAParenthesizedExpressionAccess() {
return gaCommon.getAParenthesizedExpressionAccess();
}
public ParserRule getAParenthesizedExpressionRule() {
return getAParenthesizedExpressionAccess().getRule();
}
//ComponentCategory aadl2::ComponentCategory:
// 'abstract' | 'bus' | 'data'
// | 'device' | 'memory' | 'process' | 'processor' | 'subprogram'
// | 'subprogram' 'group' | 'system' | 'thread' 'group'
// | 'thread' | 'virtual' 'bus' | 'virtual' 'processor';
public CommonGrammarAccess.ComponentCategoryElements getComponentCategoryAccess() {
return gaCommon.getComponentCategoryAccess();
}
public ParserRule getComponentCategoryRule() {
return getComponentCategoryAccess().getRule();
}
//enum TargetType:
// COMPONENT='component' | FEATURE='feature' | CONNECTION='connection' | FLOW='flow' | MODE='mode' | ELEMENT='element' |
// ROOT='root';
public CommonGrammarAccess.TargetTypeElements getTargetTypeAccess() {
return gaCommon.getTargetTypeAccess();
}
public EnumRule getTargetTypeRule() {
return getTargetTypeAccess().getRule();
}
//terminal fragment EXPONENT:
// ('e' | 'E') ('+' | '-')? DIGIT+;
public TerminalRule getEXPONENTRule() {
return gaCommon.getEXPONENTRule();
}
//terminal fragment INT_EXPONENT:
// ('e' | 'E') '+'? DIGIT+;
public TerminalRule getINT_EXPONENTRule() {
return gaCommon.getINT_EXPONENTRule();
}
//terminal REAL_LIT:
// DIGIT+ ('_' DIGIT+)* ('.' DIGIT+ ('_' DIGIT+)* EXPONENT?);
public TerminalRule getREAL_LITRule() {
return gaCommon.getREAL_LITRule();
}
//terminal fragment DIGIT:
// '0'..'9';
public TerminalRule getDIGITRule() {
return gaCommon.getDIGITRule();
}
//terminal fragment EXTENDED_DIGIT:
// '0'..'9' | 'a'..'f' | 'A'..'F';
public TerminalRule getEXTENDED_DIGITRule() {
return gaCommon.getEXTENDED_DIGITRule();
}
//terminal fragment BASED_INTEGER:
// EXTENDED_DIGIT ('_'? EXTENDED_DIGIT)*;
public TerminalRule getBASED_INTEGERRule() {
return gaCommon.getBASED_INTEGERRule();
}
//// Qualified classifier reference
//AadlClassifierReference:
// ID ('::' ID)+ ('.' ID)?;
public CommonGrammarAccess.AadlClassifierReferenceElements getAadlClassifierReferenceAccess() {
return gaCommon.getAadlClassifierReferenceAccess();
}
public ParserRule getAadlClassifierReferenceRule() {
return getAadlClassifierReferenceAccess().getRule();
}
//AADLPROPERTYREFERENCE:
// ID ('::' ID)?;
public CommonGrammarAccess.AADLPROPERTYREFERENCEElements getAADLPROPERTYREFERENCEAccess() {
return gaCommon.getAADLPROPERTYREFERENCEAccess();
}
public ParserRule getAADLPROPERTYREFERENCERule() {
return getAADLPROPERTYREFERENCEAccess().getRule();
}
//URIID:
// STRING;
public CommonGrammarAccess.URIIDElements getURIIDAccess() {
return gaCommon.getURIIDAccess();
}
public ParserRule getURIIDRule() {
return getURIIDAccess().getRule();
}
////terminal URIID : ('a'..'z'|'A'..'Z') ('a'..'z'|'A'..'Z'|'_'|'0'..'9'|'#'|'@'|'/'|':')*;
//QualifiedName:
// ID ('.' ID)*;
public CommonGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
return gaCommon.getQualifiedNameAccess();
}
public ParserRule getQualifiedNameRule() {
return getQualifiedNameAccess().getRule();
}
//ThisKeyword:
// 'this';
public CommonGrammarAccess.ThisKeywordElements getThisKeywordAccess() {
return gaCommon.getThisKeywordAccess();
}
public ParserRule getThisKeywordRule() {
return getThisKeywordAccess().getRule();
}
//terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
return gaTerminals.getIDRule();
}
//terminal INT returns ecore::EInt:
// '0'..'9'+;
public TerminalRule getINTRule() {
return gaTerminals.getINTRule();
}
//terminal STRING:
// '"' ('\\' . | !('\\' | '"'))* '"' |
// "'" ('\\' . | !('\\' | "'"))* "'";
public TerminalRule getSTRINGRule() {
return gaTerminals.getSTRINGRule();
}
//terminal ML_COMMENT:
// '/*'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaTerminals.getML_COMMENTRule();
}
//terminal SL_COMMENT:
// '//' !('\n' | '\r')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
return gaTerminals.getSL_COMMENTRule();
}
//terminal WS:
// ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
return gaTerminals.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
return gaTerminals.getANY_OTHERRule();
}
}