summaryrefslogtreecommitdiffstats
path: root/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModel.g
diff options
context:
space:
mode:
Diffstat (limited to 'rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModel.g')
-rw-r--r--rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModel.g10307
1 files changed, 10307 insertions, 0 deletions
diff --git a/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModel.g b/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModel.g
new file mode 100644
index 0000000..4a85846
--- /dev/null
+++ b/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModel.g
@@ -0,0 +1,10307 @@
+/*
+ * generated by Xtext 2.13.0
+ */
+grammar InternalRBAModel;
+
+options {
+ superClass=AbstractInternalAntlrParser;
+}
+
+@lexer::header {
+package rba.tool.editor.parser.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.parser.antlr.Lexer;
+}
+
+@parser::header {
+package rba.tool.editor.parser.antlr.internal;
+
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.parser.*;
+import org.eclipse.xtext.parser.impl.*;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.common.util.Enumerator;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import rba.tool.editor.services.RBAModelGrammarAccess;
+
+}
+
+@parser::members {
+
+ private RBAModelGrammarAccess grammarAccess;
+
+ public InternalRBAModelParser(TokenStream input, RBAModelGrammarAccess grammarAccess) {
+ this(input);
+ this.grammarAccess = grammarAccess;
+ registerRules(grammarAccess.getGrammar());
+ }
+
+ @Override
+ protected String getFirstRuleName() {
+ return "TopLevel";
+ }
+
+ @Override
+ protected RBAModelGrammarAccess getGrammarAccess() {
+ return grammarAccess;
+ }
+
+}
+
+@rulecatch {
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+}
+
+// Entry rule entryRuleTopLevel
+entryRuleTopLevel returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getTopLevelRule()); }
+ iv_ruleTopLevel=ruleTopLevel
+ { $current=$iv_ruleTopLevel.current; }
+ EOF;
+
+// Rule TopLevel
+ruleTopLevel returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getTopLevelAccess().getTopLevelAction_0(),
+ $current);
+ }
+ )
+ (
+ otherlv_1='module'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getTopLevelAccess().getModuleKeyword_1_0());
+ }
+ {
+ newCompositeNode(grammarAccess.getTopLevelAccess().getQualifiedNameParserRuleCall_1_1());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )?
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTopLevelAccess().getProjectProjectParserRuleCall_2_0());
+ }
+ lv_project_3_0=ruleProject
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTopLevelRule());
+ }
+ add(
+ $current,
+ "project",
+ lv_project_3_0,
+ "rba.tool.editor.RBAModel.Project");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTopLevelAccess().getImportsImportParserRuleCall_3_0());
+ }
+ lv_imports_4_0=ruleImport
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTopLevelRule());
+ }
+ add(
+ $current,
+ "imports",
+ lv_imports_4_0,
+ "rba.tool.editor.RBAModel.Import");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTopLevelAccess().getPackagesPackageParserRuleCall_4_0());
+ }
+ lv_packages_5_0=rulePackage
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTopLevelRule());
+ }
+ add(
+ $current,
+ "packages",
+ lv_packages_5_0,
+ "rba.tool.editor.RBAModel.Package");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleImport
+entryRuleImport returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getImportRule()); }
+ iv_ruleImport=ruleImport
+ { $current=$iv_ruleImport.current; }
+ EOF;
+
+// Rule Import
+ruleImport returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0='import'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0());
+ }
+ lv_importedNamespace_1_0=ruleQualifiedNameWithWildcard
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getImportRule());
+ }
+ set(
+ $current,
+ "importedNamespace",
+ lv_importedNamespace_1_0,
+ "rba.tool.editor.RBAModel.QualifiedNameWithWildcard");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRulePackagableElement
+entryRulePackagableElement returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getPackagableElementRule()); }
+ iv_rulePackagableElement=rulePackagableElement
+ { $current=$iv_rulePackagableElement.current; }
+ EOF;
+
+// Rule PackagableElement
+rulePackagableElement returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getPackageParserRuleCall_0());
+ }
+ this_Package_0=rulePackage
+ {
+ $current = $this_Package_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getStereotypeParserRuleCall_1());
+ }
+ this_Stereotype_1=ruleStereotype
+ {
+ $current = $this_Stereotype_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getRuleObjectParserRuleCall_2());
+ }
+ this_RuleObject_2=ruleRuleObject
+ {
+ $current = $this_RuleObject_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getDisplayParserRuleCall_3());
+ }
+ this_Display_3=ruleDisplay
+ {
+ $current = $this_Display_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getAbstractConstraintParserRuleCall_4());
+ }
+ this_AbstractConstraint_4=ruleAbstractConstraint
+ {
+ $current = $this_AbstractConstraint_4.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getSizeParserRuleCall_5());
+ }
+ this_Size_5=ruleSize
+ {
+ $current = $this_Size_5.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAbstractConstraint
+entryRuleAbstractConstraint returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAbstractConstraintRule()); }
+ iv_ruleAbstractConstraint=ruleAbstractConstraint
+ { $current=$iv_ruleAbstractConstraint.current; }
+ EOF;
+
+// Rule AbstractConstraint
+ruleAbstractConstraint returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ {
+ newCompositeNode(grammarAccess.getAbstractConstraintAccess().getConstraintParserRuleCall());
+ }
+ this_Constraint_0=ruleConstraint
+ {
+ $current = $this_Constraint_0.current;
+ afterParserOrEnumRuleCall();
+ }
+;
+
+// Entry rule entryRuleSizeIdentifier
+entryRuleSizeIdentifier returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSizeIdentifierRule()); }
+ iv_ruleSizeIdentifier=ruleSizeIdentifier
+ { $current=$iv_ruleSizeIdentifier.current; }
+ EOF;
+
+// Rule SizeIdentifier
+ruleSizeIdentifier returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getSizeIdentifierAccess().getSizeReferenceParserRuleCall_0());
+ }
+ this_SizeReference_0=ruleSizeReference
+ {
+ $current = $this_SizeReference_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSizeIdentifierAccess().getSizeParserRuleCall_1());
+ }
+ this_Size_1=ruleSize
+ {
+ $current = $this_Size_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleRuleObject
+entryRuleRuleObject returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getRuleObjectRule()); }
+ iv_ruleRuleObject=ruleRuleObject
+ { $current=$iv_ruleRuleObject.current; }
+ EOF;
+
+// Rule RuleObject
+ruleRuleObject returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getRuleObjectAccess().getAbstractContentParserRuleCall_0());
+ }
+ this_AbstractContent_0=ruleAbstractContent
+ {
+ $current = $this_AbstractContent_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getRuleObjectAccess().getAbstractSceneParserRuleCall_1());
+ }
+ this_AbstractScene_1=ruleAbstractScene
+ {
+ $current = $this_AbstractScene_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getRuleObjectAccess().getAbstractAllocatableParserRuleCall_2());
+ }
+ this_AbstractAllocatable_2=ruleAbstractAllocatable
+ {
+ $current = $this_AbstractAllocatable_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAbstractAllocatable
+entryRuleAbstractAllocatable returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAbstractAllocatableRule()); }
+ iv_ruleAbstractAllocatable=ruleAbstractAllocatable
+ { $current=$iv_ruleAbstractAllocatable.current; }
+ EOF;
+
+// Rule AbstractAllocatable
+ruleAbstractAllocatable returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAbstractAllocatableAccess().getAllocatableParserRuleCall_0());
+ }
+ this_Allocatable_0=ruleAllocatable
+ {
+ $current = $this_Allocatable_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAbstractAllocatableAccess().getAllocatableSetParserRuleCall_1());
+ }
+ this_AllocatableSet_1=ruleAllocatableSet
+ {
+ $current = $this_AllocatableSet_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAllocatable
+entryRuleAllocatable returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAllocatableRule()); }
+ iv_ruleAllocatable=ruleAllocatable
+ { $current=$iv_ruleAllocatable.current; }
+ EOF;
+
+// Rule Allocatable
+ruleAllocatable returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAllocatableAccess().getAreaParserRuleCall_0());
+ }
+ this_Area_0=ruleArea
+ {
+ $current = $this_Area_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAllocatableAccess().getZoneParserRuleCall_1());
+ }
+ this_Zone_1=ruleZone
+ {
+ $current = $this_Zone_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAllocatableSet
+entryRuleAllocatableSet returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAllocatableSetRule()); }
+ iv_ruleAllocatableSet=ruleAllocatableSet
+ { $current=$iv_ruleAllocatableSet.current; }
+ EOF;
+
+// Rule AllocatableSet
+ruleAllocatableSet returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAllocatableSetAccess().getAreaSetParserRuleCall_0());
+ }
+ this_AreaSet_0=ruleAreaSet
+ {
+ $current = $this_AreaSet_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAllocatableSetAccess().getZoneSetParserRuleCall_1());
+ }
+ this_ZoneSet_1=ruleZoneSet
+ {
+ $current = $this_ZoneSet_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAbstractContent
+entryRuleAbstractContent returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAbstractContentRule()); }
+ iv_ruleAbstractContent=ruleAbstractContent
+ { $current=$iv_ruleAbstractContent.current; }
+ EOF;
+
+// Rule AbstractContent
+ruleAbstractContent returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAbstractContentAccess().getContentParserRuleCall_0());
+ }
+ this_Content_0=ruleContent
+ {
+ $current = $this_Content_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAbstractContentAccess().getContentSetParserRuleCall_1());
+ }
+ this_ContentSet_1=ruleContentSet
+ {
+ $current = $this_ContentSet_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleContent
+entryRuleContent returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getContentRule()); }
+ iv_ruleContent=ruleContent
+ { $current=$iv_ruleContent.current; }
+ EOF;
+
+// Rule Content
+ruleContent returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getContentAccess().getViewContentParserRuleCall_0());
+ }
+ this_ViewContent_0=ruleViewContent
+ {
+ $current = $this_ViewContent_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentAccess().getSoundContentParserRuleCall_1());
+ }
+ this_SoundContent_1=ruleSoundContent
+ {
+ $current = $this_SoundContent_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleContentSet
+entryRuleContentSet returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getContentSetRule()); }
+ iv_ruleContentSet=ruleContentSet
+ { $current=$iv_ruleContentSet.current; }
+ EOF;
+
+// Rule ContentSet
+ruleContentSet returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getContentSetAccess().getViewContentSetParserRuleCall_0());
+ }
+ this_ViewContentSet_0=ruleViewContentSet
+ {
+ $current = $this_ViewContentSet_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentSetAccess().getSoundContentSetParserRuleCall_1());
+ }
+ this_SoundContentSet_1=ruleSoundContentSet
+ {
+ $current = $this_SoundContentSet_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAbstractScene
+entryRuleAbstractScene returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAbstractSceneRule()); }
+ iv_ruleAbstractScene=ruleAbstractScene
+ { $current=$iv_ruleAbstractScene.current; }
+ EOF;
+
+// Rule AbstractScene
+ruleAbstractScene returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ {
+ newCompositeNode(grammarAccess.getAbstractSceneAccess().getSceneParserRuleCall());
+ }
+ this_Scene_0=ruleScene
+ {
+ $current = $this_Scene_0.current;
+ afterParserOrEnumRuleCall();
+ }
+;
+
+// Entry rule entryRuleAbstractProperty
+entryRuleAbstractProperty returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAbstractPropertyRule()); }
+ iv_ruleAbstractProperty=ruleAbstractProperty
+ { $current=$iv_ruleAbstractProperty.current; }
+ EOF;
+
+// Rule AbstractProperty
+ruleAbstractProperty returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAbstractPropertyAccess().getIntegerPropertyAction_0_0(),
+ $current);
+ }
+ )
+ otherlv_1='int'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getAbstractPropertyAccess().getIntKeyword_0_1());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAbstractPropertyAccess().getNameValidIDParserRuleCall_1_0());
+ }
+ lv_name_2_0=ruleValidID
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAbstractPropertyRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.ValidID");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_3=':'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getAbstractPropertyAccess().getColonKeyword_2_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAbstractPropertyAccess().getValueIntegerValueParserRuleCall_2_1_0());
+ }
+ lv_value_4_0=ruleIntegerValue
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAbstractPropertyRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_4_0,
+ "rba.tool.editor.RBAModel.IntegerValue");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleLayoutManager
+entryRuleLayoutManager returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLayoutManagerRule()); }
+ iv_ruleLayoutManager=ruleLayoutManager
+ { $current=$iv_ruleLayoutManager.current; }
+ EOF;
+
+// Rule LayoutManager
+ruleLayoutManager returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getLayoutManagerAccess().getAlignedLayoutParserRuleCall_0());
+ }
+ this_AlignedLayout_0=ruleAlignedLayout
+ {
+ $current = $this_AlignedLayout_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getLayoutManagerAccess().getFixedPositionLayoutParserRuleCall_1());
+ }
+ this_FixedPositionLayout_1=ruleFixedPositionLayout
+ {
+ $current = $this_FixedPositionLayout_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleAlignedLayout
+entryRuleAlignedLayout returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAlignedLayoutRule()); }
+ iv_ruleAlignedLayout=ruleAlignedLayout
+ { $current=$iv_ruleAlignedLayout.current; }
+ EOF;
+
+// Rule AlignedLayout
+ruleAlignedLayout returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAlignedLayoutAccess().getVerticalLayoutParserRuleCall_0());
+ }
+ this_VerticalLayout_0=ruleVerticalLayout
+ {
+ $current = $this_VerticalLayout_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAlignedLayoutAccess().getHorizontalLayoutParserRuleCall_1());
+ }
+ this_HorizontalLayout_1=ruleHorizontalLayout
+ {
+ $current = $this_HorizontalLayout_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleTag
+entryRuleTag returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getTagRule()); }
+ iv_ruleTag=ruleTag
+ { $current=$iv_ruleTag.current; }
+ EOF;
+
+// Rule Tag
+ruleTag returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ ((
+ (
+ (
+ )
+ '<<'
+ (
+ (
+ ruleQualifiedName
+ )
+ )
+ '>>'
+ )
+ |
+ (
+ (
+ )
+ '\u00AB'
+ (
+ (
+ ruleQualifiedName
+ )
+ )
+ '\u00BB'
+ )
+ )
+ )=>
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getTagAccess().getTagAction_0_0_0_0(),
+ $current);
+ }
+ )
+ otherlv_1='<<'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getTagAccess().getLessThanSignLessThanSignKeyword_0_0_0_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTagAccess().getNameQualifiedNameParserRuleCall_0_0_0_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='>>'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getTagAccess().getGreaterThanSignGreaterThanSignKeyword_0_0_0_3());
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getTagAccess().getCTagAction_0_0_1_0(),
+ $current);
+ }
+ )
+ otherlv_5='\u00AB'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getTagAccess().getLeftPointingDoubleAngleQuotationMarkKeyword_0_0_1_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTagAccess().getNameQualifiedNameParserRuleCall_0_0_1_2_0());
+ }
+ lv_name_6_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_6_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_7='\u00BB'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getTagAccess().getRightPointingDoubleAngleQuotationMarkKeyword_0_0_1_3());
+ }
+ )
+ )
+ )
+ (
+ otherlv_8='{'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getTagAccess().getLeftCurlyBracketKeyword_1_0());
+ }
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTagAccess().getValuesEStringParserRuleCall_1_1_0_0());
+ }
+ lv_values_9_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ add(
+ $current,
+ "values",
+ lv_values_9_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_10=','
+ {
+ newLeafNode(otherlv_10, grammarAccess.getTagAccess().getCommaKeyword_1_1_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getTagAccess().getValuesEStringParserRuleCall_1_1_1_1_0());
+ }
+ lv_values_11_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ add(
+ $current,
+ "values",
+ lv_values_11_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_12='}'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getTagAccess().getRightCurlyBracketKeyword_1_2());
+ }
+ )?
+ )
+;
+
+// Entry rule entryRulePackage
+entryRulePackage returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getPackageRule()); }
+ iv_rulePackage=rulePackage
+ { $current=$iv_rulePackage.current; }
+ EOF;
+
+// Rule Package
+rulePackage returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getPackageAccess().getPackageAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Package'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getPackageAccess().getPackageKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPackageRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getPackageAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getPackageAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPackageAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPackageRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getPackageAccess().getPackagableelementPackagableElementParserRuleCall_4_1_0());
+ }
+ lv_packagableelement_7_0=rulePackagableElement
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPackageRule());
+ }
+ add(
+ $current,
+ "packagableelement",
+ lv_packagableelement_7_0,
+ "rba.tool.editor.RBAModel.PackagableElement");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_8='}'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getPackageAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleStereotype
+entryRuleStereotype returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getStereotypeRule()); }
+ iv_ruleStereotype=ruleStereotype
+ { $current=$iv_ruleStereotype.current; }
+ EOF;
+
+// Rule Stereotype
+ruleStereotype returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getStereotypeAccess().getStereotypeAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Stereotype'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getStereotypeAccess().getStereotypeKeyword_1());
+ }
+ otherlv_2='<'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getStereotypeAccess().getLessThanSignKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getStereotypeAccess().getTargetModelNameStereotypableElementNameParserRuleCall_3_0());
+ }
+ lv_targetModelName_3_0=ruleStereotypableElementName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ set(
+ $current,
+ "targetModelName",
+ lv_targetModelName_3_0,
+ "rba.tool.editor.RBAModel.StereotypableElementName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4='>'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getStereotypeAccess().getGreaterThanSignKeyword_4());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getStereotypeAccess().getNameQualifiedNameParserRuleCall_5_0());
+ }
+ lv_name_5_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_5_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_6='('
+ {
+ newLeafNode(otherlv_6, grammarAccess.getStereotypeAccess().getLeftParenthesisKeyword_6());
+ }
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getStereotypeAccess().getVariablesVariableParserRuleCall_7_0_0());
+ }
+ lv_variables_7_0=ruleVariable
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ add(
+ $current,
+ "variables",
+ lv_variables_7_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_8=','
+ {
+ newLeafNode(otherlv_8, grammarAccess.getStereotypeAccess().getCommaKeyword_7_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getStereotypeAccess().getVariablesVariableParserRuleCall_7_1_1_0());
+ }
+ lv_variables_9_0=ruleVariable
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ add(
+ $current,
+ "variables",
+ lv_variables_9_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_10=')'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getStereotypeAccess().getRightParenthesisKeyword_8());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getStereotypeAccess().getBodyTextRichStringParserRuleCall_9_0());
+ }
+ lv_bodyText_11_0=ruleRichString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ set(
+ $current,
+ "bodyText",
+ lv_bodyText_11_0,
+ "rba.tool.editor.RBAModel.RichString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleStereotypableElementName
+entryRuleStereotypableElementName returns [String current=null]:
+ { newCompositeNode(grammarAccess.getStereotypableElementNameRule()); }
+ iv_ruleStereotypableElementName=ruleStereotypableElementName
+ { $current=$iv_ruleStereotypableElementName.current.getText(); }
+ EOF;
+
+// Rule StereotypableElementName
+ruleStereotypableElementName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ kw='Area'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getAreaKeyword_0());
+ }
+ |
+ kw='Zone'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getZoneKeyword_1());
+ }
+ |
+ kw='SoundContent'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getSoundContentKeyword_2());
+ }
+ |
+ kw='ViewContent'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getViewContentKeyword_3());
+ }
+ )
+;
+
+// Entry rule entryRuleDisplay
+entryRuleDisplay returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getDisplayRule()); }
+ iv_ruleDisplay=ruleDisplay
+ { $current=$iv_ruleDisplay.current; }
+ EOF;
+
+// Rule Display
+ruleDisplay returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getDisplayAccess().getDisplayAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Display'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getDisplayAccess().getDisplayKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDisplayAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getDisplayAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getDisplayAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDisplayAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getDisplayAccess().getSizeSizeIdentifierParserRuleCall_4_1_0());
+ }
+ lv_size_7_0=ruleSizeIdentifier
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ $current,
+ "size",
+ lv_size_7_0,
+ "rba.tool.editor.RBAModel.SizeIdentifier");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getDisplayAccess().getRootCompositeAreaParserRuleCall_4_2_0());
+ }
+ lv_root_8_0=ruleCompositeArea
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ $current,
+ "root",
+ lv_root_8_0,
+ "rba.tool.editor.RBAModel.CompositeArea");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_9='}'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getDisplayAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleConstraint
+entryRuleConstraint returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getConstraintRule()); }
+ iv_ruleConstraint=ruleConstraint
+ { $current=$iv_ruleConstraint.current; }
+ EOF;
+
+// Rule Constraint
+ruleConstraint returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getConstraintAccess().getConstraintAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Constraint'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getConstraintAccess().getConstraintKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getConstraintAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getConstraintAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='runtime:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getConstraintAccess().getRuntimeKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getRuntimeEBooleanParserRuleCall_4_1_1_0());
+ }
+ lv_runtime_8_0=ruleEBoolean
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ $current,
+ "runtime",
+ lv_runtime_8_0,
+ "rba.tool.editor.RBAModel.EBoolean");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getConstraintAccess().getExpressionComplexExpressionParserRuleCall_4_2_0());
+ }
+ lv_expression_9_0=ruleComplexExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ $current,
+ "expression",
+ lv_expression_9_0,
+ "rba.tool.editor.RBAModel.ComplexExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_10='}'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getConstraintAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleViewContent
+entryRuleViewContent returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getViewContentRule()); }
+ iv_ruleViewContent=ruleViewContent
+ { $current=$iv_ruleViewContent.current; }
+ EOF;
+
+// Rule ViewContent
+ruleViewContent returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getViewContentAccess().getViewContentAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='ViewContent'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getViewContentAccess().getViewContentKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getViewContentAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getViewContentAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='loserType:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getViewContentAccess().getLoserTypeKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getLoserTypeLoserTypeEnumRuleCall_4_1_1_0());
+ }
+ lv_loserType_8_0=ruleLoserType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ set(
+ $current,
+ "loserType",
+ lv_loserType_8_0,
+ "rba.tool.editor.RBAModel.LoserType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>(otherlv_9='allocatable:'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getViewContentAccess().getAllocatableKeyword_4_2_0());
+ }
+ otherlv_10='['
+ {
+ newLeafNode(otherlv_10, grammarAccess.getViewContentAccess().getLeftSquareBracketKeyword_4_2_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getViewContentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_12=','
+ {
+ newLeafNode(otherlv_12, grammarAccess.getViewContentAccess().getCommaKeyword_4_2_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getViewContentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_14=']'
+ {
+ newLeafNode(otherlv_14, grammarAccess.getViewContentAccess().getRightSquareBracketKeyword_4_2_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 3)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 3);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getStatesViewContentStateParserRuleCall_4_3_0());
+ }
+ lv_states_15_0=ruleViewContentState
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ add(
+ $current,
+ "states",
+ lv_states_15_0,
+ "rba.tool.editor.RBAModel.ViewContentState");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 4)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 4);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getSizeSizeIdentifierParserRuleCall_4_4_0());
+ }
+ lv_size_16_0=ruleSizeIdentifier
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ add(
+ $current,
+ "size",
+ lv_size_16_0,
+ "rba.tool.editor.RBAModel.SizeIdentifier");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 5)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 5);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getViewContentAccess().getTagsTagParserRuleCall_4_5_0());
+ }
+ lv_tags_17_0=ruleTag
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ add(
+ $current,
+ "tags",
+ lv_tags_17_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_18='}'
+ {
+ newLeafNode(otherlv_18, grammarAccess.getViewContentAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleSoundContent
+entryRuleSoundContent returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSoundContentRule()); }
+ iv_ruleSoundContent=ruleSoundContent
+ { $current=$iv_ruleSoundContent.current; }
+ EOF;
+
+// Rule SoundContent
+ruleSoundContent returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSoundContentAccess().getSoundContentAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='SoundContent'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSoundContentAccess().getSoundContentKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getSoundContentAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getSoundContentAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='loserType:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getSoundContentAccess().getLoserTypeKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getLoserTypeLoserTypeEnumRuleCall_4_1_1_0());
+ }
+ lv_loserType_8_0=ruleLoserType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ set(
+ $current,
+ "loserType",
+ lv_loserType_8_0,
+ "rba.tool.editor.RBAModel.LoserType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>(otherlv_9='allocatable:'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getSoundContentAccess().getAllocatableKeyword_4_2_0());
+ }
+ otherlv_10='['
+ {
+ newLeafNode(otherlv_10, grammarAccess.getSoundContentAccess().getLeftSquareBracketKeyword_4_2_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSoundContentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_12=','
+ {
+ newLeafNode(otherlv_12, grammarAccess.getSoundContentAccess().getCommaKeyword_4_2_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSoundContentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_14=']'
+ {
+ newLeafNode(otherlv_14, grammarAccess.getSoundContentAccess().getRightSquareBracketKeyword_4_2_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 3)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 3);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getStatesSoundContentStateParserRuleCall_4_3_0());
+ }
+ lv_states_15_0=ruleSoundContentState
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ add(
+ $current,
+ "states",
+ lv_states_15_0,
+ "rba.tool.editor.RBAModel.SoundContentState");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 4)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 4);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getSoundContentAccess().getTagsTagParserRuleCall_4_4_0());
+ }
+ lv_tags_16_0=ruleTag
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ add(
+ $current,
+ "tags",
+ lv_tags_16_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_17='}'
+ {
+ newLeafNode(otherlv_17, grammarAccess.getSoundContentAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleSize
+entryRuleSize returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSizeRule()); }
+ iv_ruleSize=ruleSize
+ { $current=$iv_ruleSize.current; }
+ EOF;
+
+// Rule Size
+ruleSize returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSizeAccess().getSizeAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Size'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSizeAccess().getSizeKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSizeAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getSizeAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getSizeAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSizeAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='width:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getSizeAccess().getWidthKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSizeAccess().getWidthEIntParserRuleCall_4_1_1_0());
+ }
+ lv_width_8_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ $current,
+ "width",
+ lv_width_8_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>(otherlv_9='height:'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getSizeAccess().getHeightKeyword_4_2_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSizeAccess().getHeightEIntParserRuleCall_4_2_1_0());
+ }
+ lv_height_10_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ $current,
+ "height",
+ lv_height_10_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_11='}'
+ {
+ newLeafNode(otherlv_11, grammarAccess.getSizeAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleSizeReference
+entryRuleSizeReference returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSizeReferenceRule()); }
+ iv_ruleSizeReference=ruleSizeReference
+ { $current=$iv_ruleSizeReference.current; }
+ EOF;
+
+// Rule SizeReference
+ruleSizeReference returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSizeReferenceAccess().getSizeReferenceAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='sizeReference:'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSizeReferenceAccess().getSizeReferenceKeyword_1());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSizeReferenceRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSizeReferenceAccess().getSizeSizeCrossReference_2_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleOffset
+entryRuleOffset returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getOffsetRule()); }
+ iv_ruleOffset=ruleOffset
+ { $current=$iv_ruleOffset.current; }
+ EOF;
+
+// Rule Offset
+ruleOffset returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getOffsetAccess().getOffsetAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Offset'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getOffsetAccess().getOffsetKeyword_1());
+ }
+ otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getOffsetAccess().getLeftCurlyBracketKeyword_2());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 0);
+ }
+ ({true}?=>(otherlv_4='description:'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getOffsetAccess().getDescriptionKeyword_3_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getOffsetAccess().getDescriptionEStringParserRuleCall_3_0_1_0());
+ }
+ lv_description_5_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_5_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 1);
+ }
+ ({true}?=>(otherlv_6='x:'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getOffsetAccess().getXKeyword_3_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getOffsetAccess().getXEIntParserRuleCall_3_1_1_0());
+ }
+ lv_x_7_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ $current,
+ "x",
+ lv_x_7_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 2);
+ }
+ ({true}?=>(otherlv_8='y:'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getOffsetAccess().getYKeyword_3_2_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getOffsetAccess().getYEIntParserRuleCall_3_2_1_0());
+ }
+ lv_y_9_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ $current,
+ "y",
+ lv_y_9_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 3)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 3);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getOffsetAccess().getSizeSizeReferenceParserRuleCall_3_3_0());
+ }
+ lv_size_10_0=ruleSizeReference
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ $current,
+ "size",
+ lv_size_10_0,
+ "rba.tool.editor.RBAModel.SizeReference");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ }
+ )
+ otherlv_11='}'
+ {
+ newLeafNode(otherlv_11, grammarAccess.getOffsetAccess().getRightCurlyBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleAreaSet
+entryRuleAreaSet returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAreaSetRule()); }
+ iv_ruleAreaSet=ruleAreaSet
+ { $current=$iv_ruleAreaSet.current; }
+ EOF;
+
+// Rule AreaSet
+ruleAreaSet returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAreaSetAccess().getAreaSetAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='AreaSet'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getAreaSetAccess().getAreaSetKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaSetRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getAreaSetAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getAreaSetAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaSetRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='target:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getAreaSetAccess().getTargetKeyword_4_1_0());
+ }
+ otherlv_8='['
+ {
+ newLeafNode(otherlv_8, grammarAccess.getAreaSetAccess().getLeftSquareBracketKeyword_4_1_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getAreaSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getAreaSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_10=','
+ {
+ newLeafNode(otherlv_10, grammarAccess.getAreaSetAccess().getCommaKeyword_4_1_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getAreaSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getAreaSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_12=']'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getAreaSetAccess().getRightSquareBracketKeyword_4_1_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_13='}'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getAreaSetAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleZoneSet
+entryRuleZoneSet returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getZoneSetRule()); }
+ iv_ruleZoneSet=ruleZoneSet
+ { $current=$iv_ruleZoneSet.current; }
+ EOF;
+
+// Rule ZoneSet
+ruleZoneSet returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getZoneSetAccess().getZoneSetAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='ZoneSet'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getZoneSetAccess().getZoneSetKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneSetRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getZoneSetAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getZoneSetAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneSetRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='target:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getZoneSetAccess().getTargetKeyword_4_1_0());
+ }
+ otherlv_8='['
+ {
+ newLeafNode(otherlv_8, grammarAccess.getZoneSetAccess().getLeftSquareBracketKeyword_4_1_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getZoneSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getZoneSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_10=','
+ {
+ newLeafNode(otherlv_10, grammarAccess.getZoneSetAccess().getCommaKeyword_4_1_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getZoneSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getZoneSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_12=']'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getZoneSetAccess().getRightSquareBracketKeyword_4_1_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_13='}'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getZoneSetAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleCompositeArea
+entryRuleCompositeArea returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCompositeAreaRule()); }
+ iv_ruleCompositeArea=ruleCompositeArea
+ { $current=$iv_ruleCompositeArea.current; }
+ EOF;
+
+// Rule CompositeArea
+ruleCompositeArea returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getCompositeAreaAccess().getCompositeAreaAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='CompositeArea'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getCompositeAreaAccess().getCompositeAreaKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCompositeAreaAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCompositeAreaRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getCompositeAreaAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getCompositeAreaAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCompositeAreaAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCompositeAreaRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='layout:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getCompositeAreaAccess().getLayoutKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCompositeAreaAccess().getLayoutLayoutManagerParserRuleCall_4_1_1_0());
+ }
+ lv_layout_8_0=ruleLayoutManager
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCompositeAreaRule());
+ }
+ set(
+ $current,
+ "layout",
+ lv_layout_8_0,
+ "rba.tool.editor.RBAModel.LayoutManager");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_9='}'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getCompositeAreaAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleArea
+entryRuleArea returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAreaRule()); }
+ iv_ruleArea=ruleArea
+ { $current=$iv_ruleArea.current; }
+ EOF;
+
+// Rule Area
+ruleArea returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAreaAccess().getAreaAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Area'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getAreaAccess().getAreaKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getAreaAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getAreaAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='arbitrationPolicy:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getAreaAccess().getArbitrationPolicyKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getArbitrationPolicyArbitrationPolicyEnumRuleCall_4_1_1_0());
+ }
+ lv_arbitrationPolicy_8_0=ruleArbitrationPolicy
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ $current,
+ "arbitrationPolicy",
+ lv_arbitrationPolicy_8_0,
+ "rba.tool.editor.RBAModel.ArbitrationPolicy");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getSizeSizeIdentifierParserRuleCall_4_2_0());
+ }
+ lv_size_9_0=ruleSizeIdentifier
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ add(
+ $current,
+ "size",
+ lv_size_9_0,
+ "rba.tool.editor.RBAModel.SizeIdentifier");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 3)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 3);
+ }
+ ({true}?=>((
+ otherlv_10='visibility:'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getAreaAccess().getVisibilityKeyword_4_3_0_0());
+ }
+ |
+ otherlv_11='priority:'
+ {
+ newLeafNode(otherlv_11, grammarAccess.getAreaAccess().getPriorityKeyword_4_3_0_1());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getVisibilityVExpressionParserRuleCall_4_3_1_0());
+ }
+ lv_visibility_12_0=ruleVExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ $current,
+ "visibility",
+ lv_visibility_12_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 4)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 4);
+ }
+ ({true}?=>(otherlv_13='zorder:'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getAreaAccess().getZorderKeyword_4_4_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getZorderVExpressionParserRuleCall_4_4_1_0());
+ }
+ lv_zorder_14_0=ruleVExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ $current,
+ "zorder",
+ lv_zorder_14_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 5)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 5);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getAreaAccess().getTagsTagParserRuleCall_4_5_0());
+ }
+ lv_tags_15_0=ruleTag
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ add(
+ $current,
+ "tags",
+ lv_tags_15_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_16='}'
+ {
+ newLeafNode(otherlv_16, grammarAccess.getAreaAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleZone
+entryRuleZone returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getZoneRule()); }
+ iv_ruleZone=ruleZone
+ { $current=$iv_ruleZone.current; }
+ EOF;
+
+// Rule Zone
+ruleZone returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getZoneAccess().getZoneAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Zone'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getZoneAccess().getZoneKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getZoneAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getZoneAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='arbitrationPolicy:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getZoneAccess().getArbitrationPolicyKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneAccess().getArbitrationPolicyArbitrationPolicyEnumRuleCall_4_1_1_0());
+ }
+ lv_arbitrationPolicy_8_0=ruleArbitrationPolicy
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ $current,
+ "arbitrationPolicy",
+ lv_arbitrationPolicy_8_0,
+ "rba.tool.editor.RBAModel.ArbitrationPolicy");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>((
+ otherlv_9='visibility:'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getZoneAccess().getVisibilityKeyword_4_2_0_0());
+ }
+ |
+ otherlv_10='priority:'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getZoneAccess().getPriorityKeyword_4_2_0_1());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneAccess().getVisibilityVExpressionParserRuleCall_4_2_1_0());
+ }
+ lv_visibility_11_0=ruleVExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ $current,
+ "visibility",
+ lv_visibility_11_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 3)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 3);
+ }
+ ({true}?=>(otherlv_12='attenuateValue:'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getZoneAccess().getAttenuateValueKeyword_4_3_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getZoneAccess().getAttenuateIntegerValueParserRuleCall_4_3_1_0());
+ }
+ lv_attenuate_13_0=ruleIntegerValue
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ $current,
+ "attenuate",
+ lv_attenuate_13_0,
+ "rba.tool.editor.RBAModel.IntegerValue");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 4)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 4);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getZoneAccess().getTagsTagParserRuleCall_4_4_0());
+ }
+ lv_tags_14_0=ruleTag
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ add(
+ $current,
+ "tags",
+ lv_tags_14_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_15='}'
+ {
+ newLeafNode(otherlv_15, grammarAccess.getZoneAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleViewContentState
+entryRuleViewContentState returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getViewContentStateRule()); }
+ iv_ruleViewContentState=ruleViewContentState
+ { $current=$iv_ruleViewContentState.current; }
+ EOF;
+
+// Rule ViewContentState
+ruleViewContentState returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getViewContentStateAccess().getViewContentStateAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='State'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getViewContentStateAccess().getStateKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentStateAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentStateRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getViewContentStateAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getViewContentStateAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentStateAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentStateRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>((
+ otherlv_7='priority:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getViewContentStateAccess().getPriorityKeyword_4_1_0_0());
+ }
+ |
+ otherlv_8='value:'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getViewContentStateAccess().getValueKeyword_4_1_0_1());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentStateAccess().getValueVExpressionParserRuleCall_4_1_1_0());
+ }
+ lv_value_9_0=ruleVExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentStateRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_9_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_10='}'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getViewContentStateAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleSoundContentState
+entryRuleSoundContentState returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSoundContentStateRule()); }
+ iv_ruleSoundContentState=ruleSoundContentState
+ { $current=$iv_ruleSoundContentState.current; }
+ EOF;
+
+// Rule SoundContentState
+ruleSoundContentState returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSoundContentStateAccess().getSoundContentStateAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='State'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSoundContentStateAccess().getStateKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentStateAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentStateRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getSoundContentStateAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getSoundContentStateAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentStateAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentStateRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>((
+ otherlv_7='priority:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getSoundContentStateAccess().getPriorityKeyword_4_1_0_0());
+ }
+ |
+ otherlv_8='value:'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getSoundContentStateAccess().getValueKeyword_4_1_0_1());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentStateAccess().getValueVExpressionParserRuleCall_4_1_1_0());
+ }
+ lv_value_9_0=ruleVExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentStateRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_9_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_10='}'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getSoundContentStateAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleProject
+entryRuleProject returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getProjectRule()); }
+ iv_ruleProject=ruleProject
+ { $current=$iv_ruleProject.current; }
+ EOF;
+
+// Rule Project
+ruleProject returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getProjectAccess().getProjectAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Project'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getProjectAccess().getProjectKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getProjectAccess().getDummyNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_dummyName_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getProjectRule());
+ }
+ set(
+ $current,
+ "dummyName",
+ lv_dummyName_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getProjectAccess().getLeftCurlyBracketKeyword_3());
+ }
+ otherlv_4='version:'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getProjectAccess().getVersionKeyword_4());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getProjectAccess().getVersionEStringParserRuleCall_5_0());
+ }
+ lv_version_5_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getProjectRule());
+ }
+ set(
+ $current,
+ "version",
+ lv_version_5_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_6='}'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getProjectAccess().getRightCurlyBracketKeyword_6());
+ }
+ )
+;
+
+// Entry rule entryRuleVExpression
+entryRuleVExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVExpressionRule()); }
+ iv_ruleVExpression=ruleVExpression
+ { $current=$iv_ruleVExpression.current; }
+ EOF;
+
+// Rule VExpression
+ruleVExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ {
+ newCompositeNode(grammarAccess.getVExpressionAccess().getVPlusOperatorParserRuleCall());
+ }
+ this_VPlusOperator_0=ruleVPlusOperator
+ {
+ $current = $this_VPlusOperator_0.current;
+ afterParserOrEnumRuleCall();
+ }
+;
+
+// Entry rule entryRuleVPlusOperator
+entryRuleVPlusOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVPlusOperatorRule()); }
+ iv_ruleVPlusOperator=ruleVPlusOperator
+ { $current=$iv_ruleVPlusOperator.current; }
+ EOF;
+
+// Rule VPlusOperator
+ruleVPlusOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getVPlusOperatorAccess().getVComparisonAndParserRuleCall_0());
+ }
+ this_VComparisonAnd_0=ruleVComparisonAnd
+ {
+ $current = $this_VComparisonAnd_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ )
+ ruleOpPlus
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getVPlusOperatorAccess().getPlusOperatorOperandAction_1_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getVPlusOperatorAccess().getOpPlusParserRuleCall_1_0_0_1());
+ }
+ ruleOpPlus
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVPlusOperatorAccess().getOperandVComparisonAndParserRuleCall_1_1_0());
+ }
+ lv_operand_3_0=ruleVComparisonAnd
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVPlusOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.VComparisonAnd");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpPlus
+entryRuleOpPlus returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpPlusRule()); }
+ iv_ruleOpPlus=ruleOpPlus
+ { $current=$iv_ruleOpPlus.current.getText(); }
+ EOF;
+
+// Rule OpPlus
+ruleOpPlus returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='+'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpPlusAccess().getPlusSignKeyword());
+ }
+;
+
+// Entry rule entryRuleVComparisonAnd
+entryRuleVComparisonAnd returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVComparisonAndRule()); }
+ iv_ruleVComparisonAnd=ruleVComparisonAnd
+ { $current=$iv_ruleVComparisonAnd.current; }
+ EOF;
+
+// Rule VComparisonAnd
+ruleVComparisonAnd returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getVComparisonAndAccess().getVRelationalExpressionParserRuleCall_0());
+ }
+ this_VRelationalExpression_0=ruleVRelationalExpression
+ {
+ $current = $this_VRelationalExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ )
+ ruleOpAnd
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getVComparisonAndAccess().getComparisonAndOperandAction_1_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getVComparisonAndAccess().getOpAndParserRuleCall_1_0_0_1());
+ }
+ ruleOpAnd
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVComparisonAndAccess().getOperandVRelationalExpressionParserRuleCall_1_1_0());
+ }
+ lv_operand_3_0=ruleVRelationalExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVComparisonAndRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.VRelationalExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleVRelationalExpression
+entryRuleVRelationalExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVRelationalExpressionRule()); }
+ iv_ruleVRelationalExpression=ruleVRelationalExpression
+ { $current=$iv_ruleVRelationalExpression.current; }
+ EOF;
+
+// Rule VRelationalExpression
+ruleVRelationalExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getVPrimaryExpressionParserRuleCall_0());
+ }
+ this_VPrimaryExpression_0=ruleVPrimaryExpression
+ {
+ $current = $this_VPrimaryExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getMuchGreaterThanOperatorAction_1_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpMuchGreaterThanParserRuleCall_1_1());
+ }
+ ruleOpMuchGreaterThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_1_2_0());
+ }
+ lv_operand_3_0=ruleVPrimaryExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getEqualToOperatorAction_2_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpEqualToParserRuleCall_2_1());
+ }
+ ruleOpEqualTo
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_2_2_0());
+ }
+ lv_operand_6_0=ruleVPrimaryExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_6_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getGreaterThanOperatorAction_3_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpGreaterThanParserRuleCall_3_1());
+ }
+ ruleOpGreaterThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_3_2_0());
+ }
+ lv_operand_9_0=ruleVPrimaryExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_9_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getLowerThanOperatorAction_4_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpLowerThanParserRuleCall_4_1());
+ }
+ ruleOpLowerThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_4_2_0());
+ }
+ lv_operand_12_0=ruleVPrimaryExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_12_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleOpMuchGreaterThan
+entryRuleOpMuchGreaterThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpMuchGreaterThanRule()); }
+ iv_ruleOpMuchGreaterThan=ruleOpMuchGreaterThan
+ { $current=$iv_ruleOpMuchGreaterThan.current.getText(); }
+ EOF;
+
+// Rule OpMuchGreaterThan
+ruleOpMuchGreaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='>>'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpMuchGreaterThanAccess().getGreaterThanSignGreaterThanSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpEqualTo
+entryRuleOpEqualTo returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpEqualToRule()); }
+ iv_ruleOpEqualTo=ruleOpEqualTo
+ { $current=$iv_ruleOpEqualTo.current.getText(); }
+ EOF;
+
+// Rule OpEqualTo
+ruleOpEqualTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='='
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpEqualToAccess().getEqualsSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpGreaterThan
+entryRuleOpGreaterThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpGreaterThanRule()); }
+ iv_ruleOpGreaterThan=ruleOpGreaterThan
+ { $current=$iv_ruleOpGreaterThan.current.getText(); }
+ EOF;
+
+// Rule OpGreaterThan
+ruleOpGreaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='>'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGreaterThanAccess().getGreaterThanSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpLowerThan
+entryRuleOpLowerThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpLowerThanRule()); }
+ iv_ruleOpLowerThan=ruleOpLowerThan
+ { $current=$iv_ruleOpLowerThan.current.getText(); }
+ EOF;
+
+// Rule OpLowerThan
+ruleOpLowerThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='<'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpLowerThanAccess().getLessThanSignKeyword());
+ }
+;
+
+// Entry rule entryRuleVPrimaryExpression
+entryRuleVPrimaryExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVPrimaryExpressionRule()); }
+ iv_ruleVPrimaryExpression=ruleVPrimaryExpression
+ { $current=$iv_ruleVPrimaryExpression.current; }
+ EOF;
+
+// Rule VPrimaryExpression
+ruleVPrimaryExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getVPrimaryExpressionAccess().getThatOfOperatorParserRuleCall_0());
+ }
+ this_ThatOfOperator_0=ruleThatOfOperator
+ {
+ $current = $this_ThatOfOperator_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getVPrimaryExpressionAccess().getVValueExpressionParserRuleCall_1());
+ }
+ this_VValueExpression_1=ruleVValueExpression
+ {
+ $current = $this_VValueExpression_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ (
+ otherlv_2='('
+ {
+ newLeafNode(otherlv_2, grammarAccess.getVPrimaryExpressionAccess().getLeftParenthesisKeyword_2_0());
+ }
+ {
+ newCompositeNode(grammarAccess.getVPrimaryExpressionAccess().getVExpressionParserRuleCall_2_1());
+ }
+ this_VExpression_3=ruleVExpression
+ {
+ $current = $this_VExpression_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ otherlv_4=')'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getVPrimaryExpressionAccess().getRightParenthesisKeyword_2_2());
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleVValueExpression
+entryRuleVValueExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVValueExpressionRule()); }
+ iv_ruleVValueExpression=ruleVValueExpression
+ { $current=$iv_ruleVValueExpression.current; }
+ EOF;
+
+// Rule VValueExpression
+ruleVValueExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getIntegerValueParserRuleCall_0());
+ }
+ this_IntegerValue_0=ruleIntegerValue
+ {
+ $current = $this_IntegerValue_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getStandardValueParserRuleCall_1());
+ }
+ this_StandardValue_1=ruleStandardValue
+ {
+ $current = $this_StandardValue_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getNoneValueParserRuleCall_2());
+ }
+ this_NoneValue_2=ruleNoneValue
+ {
+ $current = $this_NoneValue_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getMinValueParserRuleCall_3());
+ }
+ this_MinValue_3=ruleMinValue
+ {
+ $current = $this_MinValue_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getMaxValueParserRuleCall_4());
+ }
+ this_MaxValue_4=ruleMaxValue
+ {
+ $current = $this_MaxValue_4.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleThatOfOperator
+entryRuleThatOfOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getThatOfOperatorRule()); }
+ iv_ruleThatOfOperator=ruleThatOfOperator
+ { $current=$iv_ruleThatOfOperator.current; }
+ EOF;
+
+// Rule ThatOfOperator
+ruleThatOfOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getThatOfOperatorAccess().getThatOfOperatorAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='That-of'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getThatOfOperatorAccess().getThatOfKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getThatOfOperatorAccess().getOperandVMemberFeatureReferenceParserRuleCall_2_0());
+ }
+ lv_operand_2_0=ruleVMemberFeatureReference
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getThatOfOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.VMemberFeatureReference");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleVMemberFeatureReference
+entryRuleVMemberFeatureReference returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVMemberFeatureReferenceRule()); }
+ iv_ruleVMemberFeatureReference=ruleVMemberFeatureReference
+ { $current=$iv_ruleVMemberFeatureReference.current; }
+ EOF;
+
+// Rule VMemberFeatureReference
+ruleVMemberFeatureReference returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVMemberFeatureReferenceAccess().getObjectReferenceAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getVMemberFeatureReferenceRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getVMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_1_0());
+ }
+ ruleValidID
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getVMemberFeatureReferenceAccess().getMemberFeatureReferenceOperandAction_2_0(),
+ $current);
+ }
+ )
+ otherlv_3='.'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getVMemberFeatureReferenceAccess().getFullStopKeyword_2_1());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getVMemberFeatureReferenceRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getVMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_2_2_0());
+ }
+ ruleValidID
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleIntegerValue
+entryRuleIntegerValue returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getIntegerValueRule()); }
+ iv_ruleIntegerValue=ruleIntegerValue
+ { $current=$iv_ruleIntegerValue.current; }
+ EOF;
+
+// Rule IntegerValue
+ruleIntegerValue returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getIntegerValueAccess().getIntegerValueAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIntegerValueAccess().getValueEIntParserRuleCall_1_0());
+ }
+ lv_value_1_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIntegerValueRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_1_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleStandardValue
+entryRuleStandardValue returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getStandardValueRule()); }
+ iv_ruleStandardValue=ruleStandardValue
+ { $current=$iv_ruleStandardValue.current; }
+ EOF;
+
+// Rule StandardValue
+ruleStandardValue returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getStandardValueAccess().getStandardValueAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='STANDARD_VALUE'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getStandardValueAccess().getSTANDARD_VALUEKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleNoneValue
+entryRuleNoneValue returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getNoneValueRule()); }
+ iv_ruleNoneValue=ruleNoneValue
+ { $current=$iv_ruleNoneValue.current; }
+ EOF;
+
+// Rule NoneValue
+ruleNoneValue returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getNoneValueAccess().getNoneValueAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='NONE_VALUE'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getNoneValueAccess().getNONE_VALUEKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleMinValue
+entryRuleMinValue returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMinValueRule()); }
+ iv_ruleMinValue=ruleMinValue
+ { $current=$iv_ruleMinValue.current; }
+ EOF;
+
+// Rule MinValue
+ruleMinValue returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getMinValueAccess().getMinValueAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='MIN_VALUE'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getMinValueAccess().getMIN_VALUEKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleMaxValue
+entryRuleMaxValue returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMaxValueRule()); }
+ iv_ruleMaxValue=ruleMaxValue
+ { $current=$iv_ruleMaxValue.current; }
+ EOF;
+
+// Rule MaxValue
+ruleMaxValue returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getMaxValueAccess().getMaxValueAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='MAX_VALUE'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getMaxValueAccess().getMAX_VALUEKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleCExpression
+entryRuleCExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCExpressionRule()); }
+ iv_ruleCExpression=ruleCExpression
+ { $current=$iv_ruleCExpression.current; }
+ EOF;
+
+// Rule CExpression
+ruleCExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ {
+ newCompositeNode(grammarAccess.getCExpressionAccess().getCImpliesOperatorParserRuleCall());
+ }
+ this_CImpliesOperator_0=ruleCImpliesOperator
+ {
+ $current = $this_CImpliesOperator_0.current;
+ afterParserOrEnumRuleCall();
+ }
+;
+
+// Entry rule entryRuleCImpliesOperator
+entryRuleCImpliesOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCImpliesOperatorRule()); }
+ iv_ruleCImpliesOperator=ruleCImpliesOperator
+ { $current=$iv_ruleCImpliesOperator.current; }
+ EOF;
+
+// Rule CImpliesOperator
+ruleCImpliesOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCImpliesOperatorAccess().getCOrOperatorParserRuleCall_0());
+ }
+ this_COrOperator_0=ruleCOrOperator
+ {
+ $current = $this_COrOperator_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ )
+ ruleOpImplies
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCImpliesOperatorAccess().getImpliesOperatorOperandAction_1_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCImpliesOperatorAccess().getOpImpliesParserRuleCall_1_0_0_1());
+ }
+ ruleOpImplies
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCImpliesOperatorAccess().getOperandCOrOperatorParserRuleCall_1_1_0());
+ }
+ lv_operand_3_0=ruleCOrOperator
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCImpliesOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.COrOperator");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpImplies
+entryRuleOpImplies returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpImpliesRule()); }
+ iv_ruleOpImplies=ruleOpImplies
+ { $current=$iv_ruleOpImplies.current.getText(); }
+ EOF;
+
+// Rule OpImplies
+ruleOpImplies returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='->'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpImpliesAccess().getHyphenMinusGreaterThanSignKeyword());
+ }
+;
+
+// Entry rule entryRuleCOrOperator
+entryRuleCOrOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCOrOperatorRule()); }
+ iv_ruleCOrOperator=ruleCOrOperator
+ { $current=$iv_ruleCOrOperator.current; }
+ EOF;
+
+// Rule COrOperator
+ruleCOrOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCOrOperatorAccess().getCAndOperatorParserRuleCall_0());
+ }
+ this_CAndOperator_0=ruleCAndOperator
+ {
+ $current = $this_CAndOperator_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ )
+ ruleOpOr
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOrOperatorAccess().getOrOperatorOperandAction_1_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOrOperatorAccess().getOpOrParserRuleCall_1_0_0_1());
+ }
+ ruleOpOr
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCOrOperatorAccess().getOperandCAndOperatorParserRuleCall_1_1_0());
+ }
+ lv_operand_3_0=ruleCAndOperator
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCOrOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CAndOperator");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpOr
+entryRuleOpOr returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpOrRule()); }
+ iv_ruleOpOr=ruleOpOr
+ { $current=$iv_ruleOpOr.current.getText(); }
+ EOF;
+
+// Rule OpOr
+ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='OR'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpOrAccess().getORKeyword());
+ }
+;
+
+// Entry rule entryRuleCAndOperator
+entryRuleCAndOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCAndOperatorRule()); }
+ iv_ruleCAndOperator=ruleCAndOperator
+ { $current=$iv_ruleCAndOperator.current; }
+ EOF;
+
+// Rule CAndOperator
+ruleCAndOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCAndOperatorAccess().getCEqualityExpressionParserRuleCall_0());
+ }
+ this_CEqualityExpression_0=ruleCEqualityExpression
+ {
+ $current = $this_CEqualityExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ )
+ ruleOpAnd
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCAndOperatorAccess().getAndOperatorOperandAction_1_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCAndOperatorAccess().getOpAndParserRuleCall_1_0_0_1());
+ }
+ ruleOpAnd
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCAndOperatorAccess().getOperandCEqualityExpressionParserRuleCall_1_1_0());
+ }
+ lv_operand_3_0=ruleCEqualityExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCAndOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CEqualityExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpAnd
+entryRuleOpAnd returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpAndRule()); }
+ iv_ruleOpAnd=ruleOpAnd
+ { $current=$iv_ruleOpAnd.current.getText(); }
+ EOF;
+
+// Rule OpAnd
+ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='AND'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpAndAccess().getANDKeyword());
+ }
+;
+
+// Entry rule entryRuleCEqualityExpression
+entryRuleCEqualityExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCEqualityExpressionRule()); }
+ iv_ruleCEqualityExpression=ruleCEqualityExpression
+ { $current=$iv_ruleCEqualityExpression.current; }
+ EOF;
+
+// Rule CEqualityExpression
+ruleCEqualityExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getCRelationalExpressionParserRuleCall_0());
+ }
+ this_CRelationalExpression_0=ruleCRelationalExpression
+ {
+ $current = $this_CRelationalExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ (
+ )
+ ruleOpObjectCompare
+ )
+ |
+ (
+ (
+ )
+ ruleOpObjectNotCompare
+ )
+ |
+ (
+ (
+ )
+ ruleOpEquality
+ )
+ )
+ )=>
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCEqualityExpressionAccess().getObjectCompareOperandAction_1_0_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOpObjectCompareParserRuleCall_1_0_0_0_1());
+ }
+ ruleOpObjectCompare
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCEqualityExpressionAccess().getObjectCompareNotOperandAction_1_0_0_1_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOpObjectNotCompareParserRuleCall_1_0_0_1_1());
+ }
+ ruleOpObjectNotCompare
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCEqualityExpressionAccess().getIsEqualToOperatorOperandAction_1_0_0_2_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOpEqualityParserRuleCall_1_0_0_2_1());
+ }
+ ruleOpEquality
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOperandCRelationalExpressionParserRuleCall_1_1_0());
+ }
+ lv_operand_7_0=ruleCRelationalExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCEqualityExpressionRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_7_0,
+ "rba.tool.editor.RBAModel.CRelationalExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpObjectCompare
+entryRuleOpObjectCompare returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpObjectCompareRule()); }
+ iv_ruleOpObjectCompare=ruleOpObjectCompare
+ { $current=$iv_ruleOpObjectCompare.current.getText(); }
+ EOF;
+
+// Rule OpObjectCompare
+ruleOpObjectCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='=='
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpObjectCompareAccess().getEqualsSignEqualsSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpObjectNotCompare
+entryRuleOpObjectNotCompare returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpObjectNotCompareRule()); }
+ iv_ruleOpObjectNotCompare=ruleOpObjectNotCompare
+ { $current=$iv_ruleOpObjectNotCompare.current.getText(); }
+ EOF;
+
+// Rule OpObjectNotCompare
+ruleOpObjectNotCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='!='
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpObjectNotCompareAccess().getExclamationMarkEqualsSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpEquality
+entryRuleOpEquality returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpEqualityRule()); }
+ iv_ruleOpEquality=ruleOpEquality
+ { $current=$iv_ruleOpEquality.current.getText(); }
+ EOF;
+
+// Rule OpEquality
+ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='='
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignKeyword());
+ }
+;
+
+// Entry rule entryRuleCRelationalExpression
+entryRuleCRelationalExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCRelationalExpressionRule()); }
+ iv_ruleCRelationalExpression=ruleCRelationalExpression
+ { $current=$iv_ruleCRelationalExpression.current; }
+ EOF;
+
+// Rule CRelationalExpression
+ruleCRelationalExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getCUnaryOperationParserRuleCall_0());
+ }
+ this_CUnaryOperation_0=ruleCUnaryOperation
+ {
+ $current = $this_CUnaryOperation_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ((
+ (
+ (
+ )
+ ruleOpIsGreaterThanEqual
+ )
+ |
+ (
+ (
+ )
+ ruleOpIsLowerThanEqual
+ )
+ |
+ (
+ (
+ )
+ ruleOpIsGreaterThan
+ )
+ |
+ (
+ (
+ )
+ ruleOpIsLowerThan
+ )
+ )
+ )=>
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsGreaterThanEqualOperatorOperandAction_1_0_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsGreaterThanEqualParserRuleCall_1_0_0_0_1());
+ }
+ ruleOpIsGreaterThanEqual
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsLowerThanEqualOperatorOperandAction_1_0_0_1_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsLowerThanEqualParserRuleCall_1_0_0_1_1());
+ }
+ ruleOpIsLowerThanEqual
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsGreaterThanOperatorOperandAction_1_0_0_2_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsGreaterThanParserRuleCall_1_0_0_2_1());
+ }
+ ruleOpIsGreaterThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsLowerThanOperatorOperandAction_1_0_0_3_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsLowerThanParserRuleCall_1_0_0_3_1());
+ }
+ ruleOpIsLowerThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOperandCUnaryOperationParserRuleCall_1_1_0());
+ }
+ lv_operand_9_0=ruleCUnaryOperation
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCRelationalExpressionRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_9_0,
+ "rba.tool.editor.RBAModel.CUnaryOperation");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpIsGreaterThanEqual
+entryRuleOpIsGreaterThanEqual returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsGreaterThanEqualRule()); }
+ iv_ruleOpIsGreaterThanEqual=ruleOpIsGreaterThanEqual
+ { $current=$iv_ruleOpIsGreaterThanEqual.current.getText(); }
+ EOF;
+
+// Rule OpIsGreaterThanEqual
+ruleOpIsGreaterThanEqual returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='>='
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsGreaterThanEqualAccess().getGreaterThanSignEqualsSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsLowerThanEqual
+entryRuleOpIsLowerThanEqual returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsLowerThanEqualRule()); }
+ iv_ruleOpIsLowerThanEqual=ruleOpIsLowerThanEqual
+ { $current=$iv_ruleOpIsLowerThanEqual.current.getText(); }
+ EOF;
+
+// Rule OpIsLowerThanEqual
+ruleOpIsLowerThanEqual returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='<='
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsLowerThanEqualAccess().getLessThanSignEqualsSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsGreaterThan
+entryRuleOpIsGreaterThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsGreaterThanRule()); }
+ iv_ruleOpIsGreaterThan=ruleOpIsGreaterThan
+ { $current=$iv_ruleOpIsGreaterThan.current.getText(); }
+ EOF;
+
+// Rule OpIsGreaterThan
+ruleOpIsGreaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='>'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsGreaterThanAccess().getGreaterThanSignKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsLowerThan
+entryRuleOpIsLowerThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsLowerThanRule()); }
+ iv_ruleOpIsLowerThan=ruleOpIsLowerThan
+ { $current=$iv_ruleOpIsLowerThan.current.getText(); }
+ EOF;
+
+// Rule OpIsLowerThan
+ruleOpIsLowerThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='<'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsLowerThanAccess().getLessThanSignKeyword());
+ }
+;
+
+// Entry rule entryRuleCUnaryOperation
+entryRuleCUnaryOperation returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCUnaryOperationRule()); }
+ iv_ruleCUnaryOperation=ruleCUnaryOperation
+ { $current=$iv_ruleCUnaryOperation.current; }
+ EOF;
+
+// Rule CUnaryOperation
+ruleCUnaryOperation returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getCUnaryOperationAccess().getNotOperatorAction_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCUnaryOperationAccess().getOpNotParserRuleCall_0_1());
+ }
+ ruleOpNot
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCUnaryOperationAccess().getOperandCUnaryOperationParserRuleCall_0_2_0());
+ }
+ lv_operand_2_0=ruleCUnaryOperation
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCUnaryOperationRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CUnaryOperation");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ {
+ newCompositeNode(grammarAccess.getCUnaryOperationAccess().getCOperationFeatureCallParserRuleCall_1());
+ }
+ this_COperationFeatureCall_3=ruleCOperationFeatureCall
+ {
+ $current = $this_COperationFeatureCall_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleOpNot
+entryRuleOpNot returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpNotRule()); }
+ iv_ruleOpNot=ruleOpNot
+ { $current=$iv_ruleOpNot.current.getText(); }
+ EOF;
+
+// Rule OpNot
+ruleOpNot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='!'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpNotAccess().getExclamationMarkKeyword());
+ }
+;
+
+// Entry rule entryRuleCOperationFeatureCall
+entryRuleCOperationFeatureCall returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCOperationFeatureCallRule()); }
+ iv_ruleCOperationFeatureCall=ruleCOperationFeatureCall
+ { $current=$iv_ruleCOperationFeatureCall.current; }
+ EOF;
+
+// Rule COperationFeatureCall
+ruleCOperationFeatureCall returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getCPrimaryExpressionParserRuleCall_0());
+ }
+ this_CPrimaryExpression_0=ruleCPrimaryExpression
+ {
+ $current = $this_CPrimaryExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ ('.'
+ )=>
+ otherlv_1='.'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getCOperationFeatureCallAccess().getFullStopKeyword_1_0_0());
+ }
+ )
+ (
+ (
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getGetPropertyOperandAction_1_1_0_0_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpGetPropertyParserRuleCall_1_1_0_0_0_1());
+ }
+ ruleOpGetProperty
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsOnOperandAction_1_1_0_0_1_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsOnParserRuleCall_1_1_0_0_1_1());
+ }
+ ruleOpIsOn
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getGetContentsListOperandAction_1_1_0_0_2_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpGetContentsListParserRuleCall_1_1_0_0_2_1());
+ }
+ ruleOpGetContentsList
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getContentValueOperandAction_1_1_0_0_3_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpContentValueParserRuleCall_1_1_0_0_3_1());
+ }
+ ruleOpContentValue
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsActiveOperandAction_1_1_0_0_4_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsActiveParserRuleCall_1_1_0_0_4_1());
+ }
+ ruleOpIsActive
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getGetAllocatablesOperandAction_1_1_0_0_5_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpGetAllocatablesParserRuleCall_1_1_0_0_5_1());
+ }
+ ruleOpGetAllocatables
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getAllocatedContentOperandAction_1_1_0_0_6_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpAllocatedContentParserRuleCall_1_1_0_0_6_1());
+ }
+ ruleOpAllocatedContent
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getHasComeEarlierThanOperandAction_1_1_0_0_7_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpHasComeEarlierThanParserRuleCall_1_1_0_0_7_1());
+ }
+ ruleOpHasComeEarlierThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getHasComeLaterThanOperandAction_1_1_0_0_8_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpHasComeLaterThanParserRuleCall_1_1_0_0_8_1());
+ }
+ ruleOpHasComeLaterThan
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getStateValueOperandAction_1_1_0_0_9_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpStateValueParserRuleCall_1_1_0_0_9_1());
+ }
+ ruleOpStateValue
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getActiveContentsOperandAction_1_1_0_0_10_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpActiveContentsParserRuleCall_1_1_0_0_10_1());
+ }
+ ruleOpActiveContents
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getSizeOperatorOperandAction_1_1_0_0_11_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpSizeOperatorParserRuleCall_1_1_0_0_11_1());
+ }
+ ruleOpSizeOperator
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getHasBeenDisplayedOperandAction_1_1_0_0_12_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpHasBeenDisplayedParserRuleCall_1_1_0_0_12_1());
+ }
+ ruleOpHasBeenDisplayed
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getActiveStateOperandAction_1_1_0_0_13_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpActiveStateParserRuleCall_1_1_0_0_13_1());
+ }
+ ruleOpActiveState
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsDisplayedOperandAction_1_1_0_0_14_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsDisplayedParserRuleCall_1_1_0_0_14_1());
+ }
+ ruleOpIsDisplayed
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsHiddenOperandAction_1_1_0_0_15_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsHiddenParserRuleCall_1_1_0_0_15_1());
+ }
+ ruleOpIsHidden
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getDisplayingContentOperandAction_1_1_0_0_16_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpDisplayingContentParserRuleCall_1_1_0_0_16_1());
+ }
+ ruleOpDisplayingContent
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsVisibleOperandAction_1_1_0_0_17_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsVisibleParserRuleCall_1_1_0_0_17_1());
+ }
+ ruleOpIsVisible
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsOutputtedOperandAction_1_1_0_0_18_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsOutputtedParserRuleCall_1_1_0_0_18_1());
+ }
+ ruleOpIsOutputted
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsMutedOperandAction_1_1_0_0_19_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsMutedParserRuleCall_1_1_0_0_19_1());
+ }
+ ruleOpIsMuted
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getOutputtingSoundOperandAction_1_1_0_0_20_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpOutputtingSoundParserRuleCall_1_1_0_0_20_1());
+ }
+ ruleOpOutputtingSound
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsSoundingOperandAction_1_1_0_0_21_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsSoundingParserRuleCall_1_1_0_0_21_1());
+ }
+ ruleOpIsSounding
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsAllocatedToOperandAction_1_1_0_0_22_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsAllocatedToParserRuleCall_1_1_0_0_22_1());
+ }
+ ruleOpIsAllocatedTo
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsChangedOperandAction_1_1_0_0_23_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsChangedParserRuleCall_1_1_0_0_23_1());
+ }
+ ruleOpIsChanged
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTranslatedToOperandAction_1_1_0_0_24_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTranslatedToParserRuleCall_1_1_0_0_24_1());
+ }
+ ruleOpIsTranslatedTo
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsDisplayedOnOperandAction_1_1_0_0_25_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsDisplayedOnParserRuleCall_1_1_0_0_25_1());
+ }
+ ruleOpIsDisplayedOn
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsChangedDisplayOperandAction_1_1_0_0_26_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsChangedDisplayParserRuleCall_1_1_0_0_26_1());
+ }
+ ruleOpIsChangedDisplay
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTranslatedViewToOperandAction_1_1_0_0_27_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTranslatedViewToParserRuleCall_1_1_0_0_27_1());
+ }
+ ruleOpIsTranslatedViewTo
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsOutputtedOnOperandAction_1_1_0_0_28_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsOutputtedOnParserRuleCall_1_1_0_0_28_1());
+ }
+ ruleOpIsOutputtedOn
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsChangedOutputOperandAction_1_1_0_0_29_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsChangedOutputParserRuleCall_1_1_0_0_29_1());
+ }
+ ruleOpIsChangedOutput
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTranslatedSoundToOperandAction_1_1_0_0_30_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTranslatedSoundToParserRuleCall_1_1_0_0_30_1());
+ }
+ ruleOpIsTranslatedSoundTo
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsAttenuatedOperandAction_1_1_0_0_31_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsAttenuatedParserRuleCall_1_1_0_0_31_1());
+ }
+ ruleOpIsAttenuated
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ ((
+ '('
+ (
+ (
+ ruleCExpression
+ )
+ )?
+ ')'
+ )
+ )=>
+ (
+ otherlv_66='('
+ {
+ newLeafNode(otherlv_66, grammarAccess.getCOperationFeatureCallAccess().getLeftParenthesisKeyword_1_1_0_1_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOperandCExpressionParserRuleCall_1_1_0_1_0_1_0());
+ }
+ lv_operand_67_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_67_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ otherlv_68=')'
+ {
+ newLeafNode(otherlv_68, grammarAccess.getCOperationFeatureCallAccess().getRightParenthesisKeyword_1_1_0_1_0_2());
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTypeOfOperandAction_1_1_1_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTypeOfParserRuleCall_1_1_1_0_1());
+ }
+ ruleOpIsTypeOf
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ (
+ ((
+ '('
+ (
+ (
+ ruleEString
+ )
+ )?
+ ')'
+ )
+ )=>
+ (
+ otherlv_71='('
+ {
+ newLeafNode(otherlv_71, grammarAccess.getCOperationFeatureCallAccess().getLeftParenthesisKeyword_1_1_1_1_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getTagNameEStringParserRuleCall_1_1_1_1_0_1_0());
+ }
+ lv_tagName_72_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ $current,
+ "tagName",
+ lv_tagName_72_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ otherlv_73=')'
+ {
+ newLeafNode(otherlv_73, grammarAccess.getCOperationFeatureCallAccess().getRightParenthesisKeyword_1_1_1_1_0_2());
+ }
+ )
+ )?
+ )
+ |
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getMaxOperatorOperandAction_1_1_2_0_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpMaxOperatorParserRuleCall_1_1_2_0_1());
+ }
+ ruleOpMaxOperator
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ ((
+ (
+ )
+ '{'
+ )
+ )=>
+ (
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getLambdaLambdaExpressionParserRuleCall_1_1_2_0_2_0());
+ }
+ lv_lambda_76_0=ruleLambdaExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ $current,
+ "lambda",
+ lv_lambda_76_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getMinOperatorOperandAction_1_1_2_1_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpMinOperatorParserRuleCall_1_1_2_1_1());
+ }
+ ruleOpMinOperator
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ ((
+ (
+ )
+ '{'
+ )
+ )=>
+ (
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getLambdaLambdaExpressionParserRuleCall_1_1_2_1_2_0());
+ }
+ lv_lambda_79_0=ruleLambdaExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ $current,
+ "lambda",
+ lv_lambda_79_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getSelectOperatorOperandAction_1_1_2_2_0(),
+ $current);
+ }
+ )
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpSelectOperatorParserRuleCall_1_1_2_2_1());
+ }
+ ruleOpSelectOperator
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ ((
+ (
+ )
+ '{'
+ )
+ )=>
+ (
+ {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getLambdaLambdaExpressionParserRuleCall_1_1_2_2_2_0());
+ }
+ lv_lambda_82_0=ruleLambdaExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ $current,
+ "lambda",
+ lv_lambda_82_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleOpGetProperty
+entryRuleOpGetProperty returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpGetPropertyRule()); }
+ iv_ruleOpGetProperty=ruleOpGetProperty
+ { $current=$iv_ruleOpGetProperty.current.getText(); }
+ EOF;
+
+// Rule OpGetProperty
+ruleOpGetProperty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='get'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGetPropertyAccess().getGetKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsOn
+entryRuleOpIsOn returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsOnRule()); }
+ iv_ruleOpIsOn=ruleOpIsOn
+ { $current=$iv_ruleOpIsOn.current.getText(); }
+ EOF;
+
+// Rule OpIsOn
+ruleOpIsOn returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isOn'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsOnAccess().getIsOnKeyword());
+ }
+;
+
+// Entry rule entryRuleOpGetContentsList
+entryRuleOpGetContentsList returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpGetContentsListRule()); }
+ iv_ruleOpGetContentsList=ruleOpGetContentsList
+ { $current=$iv_ruleOpGetContentsList.current.getText(); }
+ EOF;
+
+// Rule OpGetContentsList
+ruleOpGetContentsList returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='contentsList'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGetContentsListAccess().getContentsListKeyword());
+ }
+;
+
+// Entry rule entryRuleOpContentValue
+entryRuleOpContentValue returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpContentValueRule()); }
+ iv_ruleOpContentValue=ruleOpContentValue
+ { $current=$iv_ruleOpContentValue.current.getText(); }
+ EOF;
+
+// Rule OpContentValue
+ruleOpContentValue returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='contentValue'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpContentValueAccess().getContentValueKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsActive
+entryRuleOpIsActive returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsActiveRule()); }
+ iv_ruleOpIsActive=ruleOpIsActive
+ { $current=$iv_ruleOpIsActive.current.getText(); }
+ EOF;
+
+// Rule OpIsActive
+ruleOpIsActive returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isActive'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsActiveAccess().getIsActiveKeyword());
+ }
+;
+
+// Entry rule entryRuleOpGetAllocatables
+entryRuleOpGetAllocatables returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpGetAllocatablesRule()); }
+ iv_ruleOpGetAllocatables=ruleOpGetAllocatables
+ { $current=$iv_ruleOpGetAllocatables.current.getText(); }
+ EOF;
+
+// Rule OpGetAllocatables
+ruleOpGetAllocatables returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='allocatables'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGetAllocatablesAccess().getAllocatablesKeyword());
+ }
+;
+
+// Entry rule entryRuleOpAllocatedContent
+entryRuleOpAllocatedContent returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpAllocatedContentRule()); }
+ iv_ruleOpAllocatedContent=ruleOpAllocatedContent
+ { $current=$iv_ruleOpAllocatedContent.current.getText(); }
+ EOF;
+
+// Rule OpAllocatedContent
+ruleOpAllocatedContent returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='allocatedContent'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpAllocatedContentAccess().getAllocatedContentKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsDisplayed
+entryRuleOpIsDisplayed returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsDisplayedRule()); }
+ iv_ruleOpIsDisplayed=ruleOpIsDisplayed
+ { $current=$iv_ruleOpIsDisplayed.current.getText(); }
+ EOF;
+
+// Rule OpIsDisplayed
+ruleOpIsDisplayed returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isDisplayed'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsDisplayedAccess().getIsDisplayedKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsHidden
+entryRuleOpIsHidden returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsHiddenRule()); }
+ iv_ruleOpIsHidden=ruleOpIsHidden
+ { $current=$iv_ruleOpIsHidden.current.getText(); }
+ EOF;
+
+// Rule OpIsHidden
+ruleOpIsHidden returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isHidden'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsHiddenAccess().getIsHiddenKeyword());
+ }
+;
+
+// Entry rule entryRuleOpDisplayingContent
+entryRuleOpDisplayingContent returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpDisplayingContentRule()); }
+ iv_ruleOpDisplayingContent=ruleOpDisplayingContent
+ { $current=$iv_ruleOpDisplayingContent.current.getText(); }
+ EOF;
+
+// Rule OpDisplayingContent
+ruleOpDisplayingContent returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='displayingContent'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpDisplayingContentAccess().getDisplayingContentKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsVisible
+entryRuleOpIsVisible returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsVisibleRule()); }
+ iv_ruleOpIsVisible=ruleOpIsVisible
+ { $current=$iv_ruleOpIsVisible.current.getText(); }
+ EOF;
+
+// Rule OpIsVisible
+ruleOpIsVisible returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isVisible'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsVisibleAccess().getIsVisibleKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsOutputted
+entryRuleOpIsOutputted returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsOutputtedRule()); }
+ iv_ruleOpIsOutputted=ruleOpIsOutputted
+ { $current=$iv_ruleOpIsOutputted.current.getText(); }
+ EOF;
+
+// Rule OpIsOutputted
+ruleOpIsOutputted returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isOutputted'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsOutputtedAccess().getIsOutputtedKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsMuted
+entryRuleOpIsMuted returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsMutedRule()); }
+ iv_ruleOpIsMuted=ruleOpIsMuted
+ { $current=$iv_ruleOpIsMuted.current.getText(); }
+ EOF;
+
+// Rule OpIsMuted
+ruleOpIsMuted returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isMuted'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsMutedAccess().getIsMutedKeyword());
+ }
+;
+
+// Entry rule entryRuleOpOutputtingSound
+entryRuleOpOutputtingSound returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpOutputtingSoundRule()); }
+ iv_ruleOpOutputtingSound=ruleOpOutputtingSound
+ { $current=$iv_ruleOpOutputtingSound.current.getText(); }
+ EOF;
+
+// Rule OpOutputtingSound
+ruleOpOutputtingSound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='outputtingSound'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpOutputtingSoundAccess().getOutputtingSoundKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsSounding
+entryRuleOpIsSounding returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsSoundingRule()); }
+ iv_ruleOpIsSounding=ruleOpIsSounding
+ { $current=$iv_ruleOpIsSounding.current.getText(); }
+ EOF;
+
+// Rule OpIsSounding
+ruleOpIsSounding returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isSounding'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsSoundingAccess().getIsSoundingKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsAttenuated
+entryRuleOpIsAttenuated returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsAttenuatedRule()); }
+ iv_ruleOpIsAttenuated=ruleOpIsAttenuated
+ { $current=$iv_ruleOpIsAttenuated.current.getText(); }
+ EOF;
+
+// Rule OpIsAttenuated
+ruleOpIsAttenuated returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isAttenuated'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsAttenuatedAccess().getIsAttenuatedKeyword());
+ }
+;
+
+// Entry rule entryRuleOpHasComeEarlierThan
+entryRuleOpHasComeEarlierThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpHasComeEarlierThanRule()); }
+ iv_ruleOpHasComeEarlierThan=ruleOpHasComeEarlierThan
+ { $current=$iv_ruleOpHasComeEarlierThan.current.getText(); }
+ EOF;
+
+// Rule OpHasComeEarlierThan
+ruleOpHasComeEarlierThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='hasComeEarlierThan'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpHasComeEarlierThanAccess().getHasComeEarlierThanKeyword());
+ }
+;
+
+// Entry rule entryRuleOpHasComeLaterThan
+entryRuleOpHasComeLaterThan returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpHasComeLaterThanRule()); }
+ iv_ruleOpHasComeLaterThan=ruleOpHasComeLaterThan
+ { $current=$iv_ruleOpHasComeLaterThan.current.getText(); }
+ EOF;
+
+// Rule OpHasComeLaterThan
+ruleOpHasComeLaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='hasComeLaterThan'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpHasComeLaterThanAccess().getHasComeLaterThanKeyword());
+ }
+;
+
+// Entry rule entryRuleOpStateValue
+entryRuleOpStateValue returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpStateValueRule()); }
+ iv_ruleOpStateValue=ruleOpStateValue
+ { $current=$iv_ruleOpStateValue.current.getText(); }
+ EOF;
+
+// Rule OpStateValue
+ruleOpStateValue returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='stateValue'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpStateValueAccess().getStateValueKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsAllocatedTo
+entryRuleOpIsAllocatedTo returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsAllocatedToRule()); }
+ iv_ruleOpIsAllocatedTo=ruleOpIsAllocatedTo
+ { $current=$iv_ruleOpIsAllocatedTo.current.getText(); }
+ EOF;
+
+// Rule OpIsAllocatedTo
+ruleOpIsAllocatedTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isAllocatedTo'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsAllocatedToAccess().getIsAllocatedToKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsChanged
+entryRuleOpIsChanged returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsChangedRule()); }
+ iv_ruleOpIsChanged=ruleOpIsChanged
+ { $current=$iv_ruleOpIsChanged.current.getText(); }
+ EOF;
+
+// Rule OpIsChanged
+ruleOpIsChanged returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isChanged'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsChangedAccess().getIsChangedKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsTranslatedTo
+entryRuleOpIsTranslatedTo returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsTranslatedToRule()); }
+ iv_ruleOpIsTranslatedTo=ruleOpIsTranslatedTo
+ { $current=$iv_ruleOpIsTranslatedTo.current.getText(); }
+ EOF;
+
+// Rule OpIsTranslatedTo
+ruleOpIsTranslatedTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isTranslatedTo'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTranslatedToAccess().getIsTranslatedToKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsDisplayedOn
+entryRuleOpIsDisplayedOn returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsDisplayedOnRule()); }
+ iv_ruleOpIsDisplayedOn=ruleOpIsDisplayedOn
+ { $current=$iv_ruleOpIsDisplayedOn.current.getText(); }
+ EOF;
+
+// Rule OpIsDisplayedOn
+ruleOpIsDisplayedOn returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isDisplayedOn'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsDisplayedOnAccess().getIsDisplayedOnKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsChangedDisplay
+entryRuleOpIsChangedDisplay returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsChangedDisplayRule()); }
+ iv_ruleOpIsChangedDisplay=ruleOpIsChangedDisplay
+ { $current=$iv_ruleOpIsChangedDisplay.current.getText(); }
+ EOF;
+
+// Rule OpIsChangedDisplay
+ruleOpIsChangedDisplay returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isChangedDisplay'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsChangedDisplayAccess().getIsChangedDisplayKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsTranslatedViewTo
+entryRuleOpIsTranslatedViewTo returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsTranslatedViewToRule()); }
+ iv_ruleOpIsTranslatedViewTo=ruleOpIsTranslatedViewTo
+ { $current=$iv_ruleOpIsTranslatedViewTo.current.getText(); }
+ EOF;
+
+// Rule OpIsTranslatedViewTo
+ruleOpIsTranslatedViewTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isTranslatedViewTo'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTranslatedViewToAccess().getIsTranslatedViewToKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsOutputtedOn
+entryRuleOpIsOutputtedOn returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsOutputtedOnRule()); }
+ iv_ruleOpIsOutputtedOn=ruleOpIsOutputtedOn
+ { $current=$iv_ruleOpIsOutputtedOn.current.getText(); }
+ EOF;
+
+// Rule OpIsOutputtedOn
+ruleOpIsOutputtedOn returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isOutputtedOn'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsOutputtedOnAccess().getIsOutputtedOnKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsChangedOutput
+entryRuleOpIsChangedOutput returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsChangedOutputRule()); }
+ iv_ruleOpIsChangedOutput=ruleOpIsChangedOutput
+ { $current=$iv_ruleOpIsChangedOutput.current.getText(); }
+ EOF;
+
+// Rule OpIsChangedOutput
+ruleOpIsChangedOutput returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isChangedOutput'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsChangedOutputAccess().getIsChangedOutputKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsTranslatedSoundTo
+entryRuleOpIsTranslatedSoundTo returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsTranslatedSoundToRule()); }
+ iv_ruleOpIsTranslatedSoundTo=ruleOpIsTranslatedSoundTo
+ { $current=$iv_ruleOpIsTranslatedSoundTo.current.getText(); }
+ EOF;
+
+// Rule OpIsTranslatedSoundTo
+ruleOpIsTranslatedSoundTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isTranslatedSoundTo'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTranslatedSoundToAccess().getIsTranslatedSoundToKeyword());
+ }
+;
+
+// Entry rule entryRuleOpIsTypeOf
+entryRuleOpIsTypeOf returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpIsTypeOfRule()); }
+ iv_ruleOpIsTypeOf=ruleOpIsTypeOf
+ { $current=$iv_ruleOpIsTypeOf.current.getText(); }
+ EOF;
+
+// Rule OpIsTypeOf
+ruleOpIsTypeOf returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='isTypeOf'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTypeOfAccess().getIsTypeOfKeyword());
+ }
+;
+
+// Entry rule entryRuleOpActiveContents
+entryRuleOpActiveContents returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpActiveContentsRule()); }
+ iv_ruleOpActiveContents=ruleOpActiveContents
+ { $current=$iv_ruleOpActiveContents.current.getText(); }
+ EOF;
+
+// Rule OpActiveContents
+ruleOpActiveContents returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='activeContents'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpActiveContentsAccess().getActiveContentsKeyword());
+ }
+;
+
+// Entry rule entryRuleOpSizeOperator
+entryRuleOpSizeOperator returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpSizeOperatorRule()); }
+ iv_ruleOpSizeOperator=ruleOpSizeOperator
+ { $current=$iv_ruleOpSizeOperator.current.getText(); }
+ EOF;
+
+// Rule OpSizeOperator
+ruleOpSizeOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='size'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpSizeOperatorAccess().getSizeKeyword());
+ }
+;
+
+// Entry rule entryRuleOpHasBeenDisplayed
+entryRuleOpHasBeenDisplayed returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpHasBeenDisplayedRule()); }
+ iv_ruleOpHasBeenDisplayed=ruleOpHasBeenDisplayed
+ { $current=$iv_ruleOpHasBeenDisplayed.current.getText(); }
+ EOF;
+
+// Rule OpHasBeenDisplayed
+ruleOpHasBeenDisplayed returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='hasBeenDisplayed'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpHasBeenDisplayedAccess().getHasBeenDisplayedKeyword());
+ }
+;
+
+// Entry rule entryRuleOpActiveState
+entryRuleOpActiveState returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpActiveStateRule()); }
+ iv_ruleOpActiveState=ruleOpActiveState
+ { $current=$iv_ruleOpActiveState.current.getText(); }
+ EOF;
+
+// Rule OpActiveState
+ruleOpActiveState returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='activeState'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpActiveStateAccess().getActiveStateKeyword());
+ }
+;
+
+// Entry rule entryRuleOpMaxOperator
+entryRuleOpMaxOperator returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpMaxOperatorRule()); }
+ iv_ruleOpMaxOperator=ruleOpMaxOperator
+ { $current=$iv_ruleOpMaxOperator.current.getText(); }
+ EOF;
+
+// Rule OpMaxOperator
+ruleOpMaxOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='max'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpMaxOperatorAccess().getMaxKeyword());
+ }
+;
+
+// Entry rule entryRuleOpMinOperator
+entryRuleOpMinOperator returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpMinOperatorRule()); }
+ iv_ruleOpMinOperator=ruleOpMinOperator
+ { $current=$iv_ruleOpMinOperator.current.getText(); }
+ EOF;
+
+// Rule OpMinOperator
+ruleOpMinOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='min'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpMinOperatorAccess().getMinKeyword());
+ }
+;
+
+// Entry rule entryRuleOpSelectOperator
+entryRuleOpSelectOperator returns [String current=null]:
+ { newCompositeNode(grammarAccess.getOpSelectOperatorRule()); }
+ iv_ruleOpSelectOperator=ruleOpSelectOperator
+ { $current=$iv_ruleOpSelectOperator.current.getText(); }
+ EOF;
+
+// Rule OpSelectOperator
+ruleOpSelectOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ kw='select'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpSelectOperatorAccess().getSelectKeyword());
+ }
+;
+
+// Entry rule entryRuleCPrimaryExpression
+entryRuleCPrimaryExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCPrimaryExpressionRule()); }
+ iv_ruleCPrimaryExpression=ruleCPrimaryExpression
+ { $current=$iv_ruleCPrimaryExpression.current; }
+ EOF;
+
+// Rule CPrimaryExpression
+ruleCPrimaryExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getCMemberFeatureReferenceParserRuleCall_0());
+ }
+ this_CMemberFeatureReference_0=ruleCMemberFeatureReference
+ {
+ $current = $this_CMemberFeatureReference_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getPreviousModifierParserRuleCall_1());
+ }
+ this_PreviousModifier_1=rulePreviousModifier
+ {
+ $current = $this_PreviousModifier_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getAllInstanceOfExpressionParserRuleCall_2());
+ }
+ this_AllInstanceOfExpression_2=ruleAllInstanceOfExpression
+ {
+ $current = $this_AllInstanceOfExpression_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getNullExpressionParserRuleCall_3());
+ }
+ this_NullExpression_3=ruleNullExpression
+ {
+ $current = $this_NullExpression_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getIntegerValueParserRuleCall_4());
+ }
+ this_IntegerValue_4=ruleIntegerValue
+ {
+ $current = $this_IntegerValue_4.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getMuteLowerPriorityParserRuleCall_5());
+ }
+ this_MuteLowerPriority_5=ruleMuteLowerPriority
+ {
+ $current = $this_MuteLowerPriority_5.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getHideLowerPriorityParserRuleCall_6());
+ }
+ this_HideLowerPriority_6=ruleHideLowerPriority
+ {
+ $current = $this_HideLowerPriority_6.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getSetOfOperatorParserRuleCall_7());
+ }
+ this_SetOfOperator_7=ruleSetOfOperator
+ {
+ $current = $this_SetOfOperator_7.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getIfStatementParserRuleCall_8());
+ }
+ this_IfStatement_8=ruleIfStatement
+ {
+ $current = $this_IfStatement_8.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getForAllOperatorParserRuleCall_9());
+ }
+ this_ForAllOperator_9=ruleForAllOperator
+ {
+ $current = $this_ForAllOperator_9.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getExistsOperatorParserRuleCall_10());
+ }
+ this_ExistsOperator_10=ruleExistsOperator
+ {
+ $current = $this_ExistsOperator_10.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ (
+ otherlv_11='('
+ {
+ newLeafNode(otherlv_11, grammarAccess.getCPrimaryExpressionAccess().getLeftParenthesisKeyword_11_0());
+ }
+ {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getCExpressionParserRuleCall_11_1());
+ }
+ this_CExpression_12=ruleCExpression
+ {
+ $current = $this_CExpression_12.current;
+ afterParserOrEnumRuleCall();
+ }
+ otherlv_13=')'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getCPrimaryExpressionAccess().getRightParenthesisKeyword_11_2());
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleAllInstanceOfExpression
+entryRuleAllInstanceOfExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAllInstanceOfExpressionRule()); }
+ iv_ruleAllInstanceOfExpression=ruleAllInstanceOfExpression
+ { $current=$iv_ruleAllInstanceOfExpression.current; }
+ EOF;
+
+// Rule AllInstanceOfExpression
+ruleAllInstanceOfExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ ((
+ (
+ (
+ )
+ 'ALL_AREAS'
+ )
+ |
+ (
+ (
+ )
+ 'ALL_VIEWCONTENTS'
+ )
+ |
+ (
+ (
+ )
+ 'ALL_ZONES'
+ )
+ |
+ (
+ (
+ )
+ 'ALL_SOUNDCONTENTS'
+ )
+ )
+ )=>
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfAreaAction_0_0_0(),
+ $current);
+ }
+ )
+ otherlv_1='ALL_AREAS'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getAllInstanceOfExpressionAccess().getALL_AREASKeyword_0_0_1());
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfViewContentAction_0_1_0(),
+ $current);
+ }
+ )
+ otherlv_3='ALL_VIEWCONTENTS'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getAllInstanceOfExpressionAccess().getALL_VIEWCONTENTSKeyword_0_1_1());
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfZoneAction_0_2_0(),
+ $current);
+ }
+ )
+ otherlv_5='ALL_ZONES'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getAllInstanceOfExpressionAccess().getALL_ZONESKeyword_0_2_1());
+ }
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfSoundContentAction_0_3_0(),
+ $current);
+ }
+ )
+ otherlv_7='ALL_SOUNDCONTENTS'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getAllInstanceOfExpressionAccess().getALL_SOUNDCONTENTSKeyword_0_3_1());
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleNullExpression
+entryRuleNullExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getNullExpressionRule()); }
+ iv_ruleNullExpression=ruleNullExpression
+ { $current=$iv_ruleNullExpression.current; }
+ EOF;
+
+// Rule NullExpression
+ruleNullExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ ((
+ (
+ )
+ 'NULL'
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getNullExpressionAccess().getNullExpressionAction_0_0(),
+ $current);
+ }
+ )
+ otherlv_1='NULL'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getNullExpressionAccess().getNULLKeyword_0_1());
+ }
+ )
+ )
+;
+
+// Entry rule entryRulePreviousModifier
+entryRulePreviousModifier returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getPreviousModifierRule()); }
+ iv_rulePreviousModifier=rulePreviousModifier
+ { $current=$iv_rulePreviousModifier.current; }
+ EOF;
+
+// Rule PreviousModifier
+rulePreviousModifier returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getPreviousModifierAccess().getPreviousModifierAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='(pre)'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getPreviousModifierAccess().getPreKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPreviousModifierAccess().getObjReferenceCMemberFeatureReferenceParserRuleCall_2_0());
+ }
+ lv_objReference_2_0=ruleCMemberFeatureReference
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPreviousModifierRule());
+ }
+ set(
+ $current,
+ "objReference",
+ lv_objReference_2_0,
+ "rba.tool.editor.RBAModel.CMemberFeatureReference");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleHideLowerPriority
+entryRuleHideLowerPriority returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getHideLowerPriorityRule()); }
+ iv_ruleHideLowerPriority=ruleHideLowerPriority
+ { $current=$iv_ruleHideLowerPriority.current; }
+ EOF;
+
+// Rule HideLowerPriority
+ruleHideLowerPriority returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getHideLowerPriorityAccess().getHideLowerPriorityAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='HideLowerPriority'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getHideLowerPriorityAccess().getHideLowerPriorityKeyword_1());
+ }
+ otherlv_2='('
+ {
+ newLeafNode(otherlv_2, grammarAccess.getHideLowerPriorityAccess().getLeftParenthesisKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getHideLowerPriorityAccess().getOperandCExpressionParserRuleCall_3_0());
+ }
+ lv_operand_3_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getHideLowerPriorityRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4=','
+ {
+ newLeafNode(otherlv_4, grammarAccess.getHideLowerPriorityAccess().getCommaKeyword_4());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getHideLowerPriorityAccess().getOperandCExpressionParserRuleCall_5_0());
+ }
+ lv_operand_5_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getHideLowerPriorityRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_5_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_6=')'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getHideLowerPriorityAccess().getRightParenthesisKeyword_6());
+ }
+ )
+;
+
+// Entry rule entryRuleMuteLowerPriority
+entryRuleMuteLowerPriority returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMuteLowerPriorityRule()); }
+ iv_ruleMuteLowerPriority=ruleMuteLowerPriority
+ { $current=$iv_ruleMuteLowerPriority.current; }
+ EOF;
+
+// Rule MuteLowerPriority
+ruleMuteLowerPriority returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getMuteLowerPriorityAccess().getMuteLowerPriorityAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='MuteLowerPriority'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getMuteLowerPriorityAccess().getMuteLowerPriorityKeyword_1());
+ }
+ otherlv_2='('
+ {
+ newLeafNode(otherlv_2, grammarAccess.getMuteLowerPriorityAccess().getLeftParenthesisKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMuteLowerPriorityAccess().getOperandCExpressionParserRuleCall_3_0());
+ }
+ lv_operand_3_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMuteLowerPriorityRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4=','
+ {
+ newLeafNode(otherlv_4, grammarAccess.getMuteLowerPriorityAccess().getCommaKeyword_4());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMuteLowerPriorityAccess().getOperandCExpressionParserRuleCall_5_0());
+ }
+ lv_operand_5_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMuteLowerPriorityRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_5_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_6=')'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getMuteLowerPriorityAccess().getRightParenthesisKeyword_6());
+ }
+ )
+;
+
+// Entry rule entryRuleSetOfOperator
+entryRuleSetOfOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSetOfOperatorRule()); }
+ iv_ruleSetOfOperator=ruleSetOfOperator
+ { $current=$iv_ruleSetOfOperator.current; }
+ EOF;
+
+// Rule SetOfOperator
+ruleSetOfOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSetOfOperatorAccess().getSetOfOperatorAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='{'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSetOfOperatorAccess().getLeftCurlyBracketKeyword_1());
+ }
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSetOfOperatorAccess().getOperandCExpressionParserRuleCall_2_0_0());
+ }
+ lv_operand_2_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSetOfOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_3=','
+ {
+ newLeafNode(otherlv_3, grammarAccess.getSetOfOperatorAccess().getCommaKeyword_2_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSetOfOperatorAccess().getOperandCExpressionParserRuleCall_2_1_1_0());
+ }
+ lv_operand_4_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSetOfOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_4_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_5='}'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getSetOfOperatorAccess().getRightCurlyBracketKeyword_3());
+ }
+ )
+;
+
+// Entry rule entryRuleIfStatement
+entryRuleIfStatement returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getIfStatementRule()); }
+ iv_ruleIfStatement=ruleIfStatement
+ { $current=$iv_ruleIfStatement.current; }
+ EOF;
+
+// Rule IfStatement
+ruleIfStatement returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getIfStatementAccess().getIfStatementAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='IF'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getIfStatementAccess().getIFKeyword_1());
+ }
+ otherlv_2='('
+ {
+ newLeafNode(otherlv_2, grammarAccess.getIfStatementAccess().getLeftParenthesisKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIfStatementAccess().getConditionCExpressionParserRuleCall_3_0());
+ }
+ lv_condition_3_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIfStatementRule());
+ }
+ set(
+ $current,
+ "condition",
+ lv_condition_3_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ otherlv_4=')'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getIfStatementAccess().getRightParenthesisKeyword_4());
+ }
+ (
+ (
+ ('THEN')=>
+ otherlv_5='THEN'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getIfStatementAccess().getTHENKeyword_5_0());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIfStatementAccess().getThenExpressionCExpressionParserRuleCall_5_1_0());
+ }
+ lv_thenExpression_6_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIfStatementRule());
+ }
+ set(
+ $current,
+ "thenExpression",
+ lv_thenExpression_6_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ (
+ (
+ ('ELSE')=>
+ otherlv_7='ELSE'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getIfStatementAccess().getELSEKeyword_6_0());
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIfStatementAccess().getElseExpressionCExpressionParserRuleCall_6_1_0());
+ }
+ lv_elseExpression_8_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIfStatementRule());
+ }
+ set(
+ $current,
+ "elseExpression",
+ lv_elseExpression_8_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleForAllOperator
+entryRuleForAllOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getForAllOperatorRule()); }
+ iv_ruleForAllOperator=ruleForAllOperator
+ { $current=$iv_ruleForAllOperator.current; }
+ EOF;
+
+// Rule ForAllOperator
+ruleForAllOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getForAllOperatorAccess().getForAllOperatorAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='For-All'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getForAllOperatorAccess().getForAllKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getForAllOperatorAccess().getOperandCExpressionParserRuleCall_2_0());
+ }
+ lv_operand_2_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getForAllOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ ((
+ (
+ )
+ '{'
+ )
+ )=>
+ (
+ {
+ newCompositeNode(grammarAccess.getForAllOperatorAccess().getLambdaLambdaExpressionParserRuleCall_3_0());
+ }
+ lv_lambda_3_0=ruleLambdaExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getForAllOperatorRule());
+ }
+ set(
+ $current,
+ "lambda",
+ lv_lambda_3_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleExistsOperator
+entryRuleExistsOperator returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExistsOperatorRule()); }
+ iv_ruleExistsOperator=ruleExistsOperator
+ { $current=$iv_ruleExistsOperator.current; }
+ EOF;
+
+// Rule ExistsOperator
+ruleExistsOperator returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getExistsOperatorAccess().getExistsOperatorAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Exists'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getExistsOperatorAccess().getExistsKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExistsOperatorAccess().getOperandCExpressionParserRuleCall_2_0());
+ }
+ lv_operand_2_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExistsOperatorRule());
+ }
+ add(
+ $current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ ((
+ (
+ )
+ '{'
+ )
+ )=>
+ (
+ {
+ newCompositeNode(grammarAccess.getExistsOperatorAccess().getLambdaLambdaExpressionParserRuleCall_3_0());
+ }
+ lv_lambda_3_0=ruleLambdaExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExistsOperatorRule());
+ }
+ set(
+ $current,
+ "lambda",
+ lv_lambda_3_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleLambdaExpression
+entryRuleLambdaExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLambdaExpressionRule()); }
+ iv_ruleLambdaExpression=ruleLambdaExpression
+ { $current=$iv_ruleLambdaExpression.current; }
+ EOF;
+
+// Rule LambdaExpression
+ruleLambdaExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ ((
+ (
+ )
+ '{'
+ )
+ )=>
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getLambdaExpressionAccess().getLambdaExpressionAction_0_0_0(),
+ $current);
+ }
+ )
+ otherlv_1='{'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getLambdaExpressionAccess().getLeftCurlyBracketKeyword_0_0_1());
+ }
+ )
+ )
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getLambdaExpressionAccess().getXVariableParserRuleCall_1_0_0());
+ }
+ lv_x_2_0=ruleVariable
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLambdaExpressionRule());
+ }
+ set(
+ $current,
+ "x",
+ lv_x_2_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ otherlv_3='|'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getLambdaExpressionAccess().getVerticalLineKeyword_1_1());
+ }
+ )?
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getLambdaExpressionAccess().getLetStatementsLetStatementParserRuleCall_2_0());
+ }
+ lv_letStatements_4_0=ruleLetStatement
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLambdaExpressionRule());
+ }
+ add(
+ $current,
+ "letStatements",
+ lv_letStatements_4_0,
+ "rba.tool.editor.RBAModel.LetStatement");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getLambdaExpressionAccess().getBodyTextCExpressionParserRuleCall_3_0());
+ }
+ lv_bodyText_5_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLambdaExpressionRule());
+ }
+ set(
+ $current,
+ "bodyText",
+ lv_bodyText_5_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_6='}'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getLambdaExpressionAccess().getRightCurlyBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleVariable
+entryRuleVariable returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVariableRule()); }
+ iv_ruleVariable=ruleVariable
+ { $current=$iv_ruleVariable.current; }
+ EOF;
+
+// Rule Variable
+ruleVariable returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVariableAccess().getVariableAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVariableAccess().getNameQualifiedNameParserRuleCall_1_0());
+ }
+ lv_name_1_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVariableRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_1_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleCMemberFeatureReference
+entryRuleCMemberFeatureReference returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCMemberFeatureReferenceRule()); }
+ iv_ruleCMemberFeatureReference=ruleCMemberFeatureReference
+ { $current=$iv_ruleCMemberFeatureReference.current; }
+ EOF;
+
+// Rule CMemberFeatureReference
+ruleCMemberFeatureReference returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getCMemberFeatureReferenceAccess().getObjectReferenceAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getCMemberFeatureReferenceRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getCMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_1_0());
+ }
+ ruleIdOrThis
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getCMemberFeatureReferenceAccess().getMemberFeatureReferenceOperandAction_2_0(),
+ $current);
+ }
+ )
+ otherlv_3='.'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getCMemberFeatureReferenceAccess().getFullStopKeyword_2_1());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getCMemberFeatureReferenceRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getCMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_2_2_0());
+ }
+ ruleValidID
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleLetStatement
+entryRuleLetStatement returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLetStatementRule()); }
+ iv_ruleLetStatement=ruleLetStatement
+ { $current=$iv_ruleLetStatement.current; }
+ EOF;
+
+// Rule LetStatement
+ruleLetStatement returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getLetStatementAccess().getLetStatementAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='let'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getLetStatementAccess().getLetKeyword_1());
+ }
+ (
+ ((
+ ruleVariable
+ )
+ )=>
+ (
+ {
+ newCompositeNode(grammarAccess.getLetStatementAccess().getVariableVariableParserRuleCall_2_0());
+ }
+ lv_variable_2_0=ruleVariable
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLetStatementRule());
+ }
+ set(
+ $current,
+ "variable",
+ lv_variable_2_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_3='='
+ {
+ newLeafNode(otherlv_3, grammarAccess.getLetStatementAccess().getEqualsSignKeyword_3_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getLetStatementAccess().getBodyCExpressionParserRuleCall_3_1_0());
+ }
+ lv_body_4_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLetStatementRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_4_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleComplexExpression
+entryRuleComplexExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getComplexExpressionRule()); }
+ iv_ruleComplexExpression=ruleComplexExpression
+ { $current=$iv_ruleComplexExpression.current; }
+ EOF;
+
+// Rule ComplexExpression
+ruleComplexExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getComplexExpressionAccess().getComplexExpressionAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getComplexExpressionAccess().getLetStatementsLetStatementParserRuleCall_1_0());
+ }
+ lv_letStatements_1_0=ruleLetStatement
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComplexExpressionRule());
+ }
+ add(
+ $current,
+ "letStatements",
+ lv_letStatements_1_0,
+ "rba.tool.editor.RBAModel.LetStatement");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getComplexExpressionAccess().getOtherExpressionCExpressionParserRuleCall_2_0());
+ }
+ lv_otherExpression_2_0=ruleCExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComplexExpressionRule());
+ }
+ set(
+ $current,
+ "otherExpression",
+ lv_otherExpression_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleLoserTypeExpression
+entryRuleLoserTypeExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLoserTypeExpressionRule()); }
+ iv_ruleLoserTypeExpression=ruleLoserTypeExpression
+ { $current=$iv_ruleLoserTypeExpression.current; }
+ EOF;
+
+// Rule LoserTypeExpression
+ruleLoserTypeExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getLoserTypeExpressionAccess().getLoserTypeExpressionAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getLoserTypeExpressionAccess().getValueLoserTypeEnumRuleCall_1_0());
+ }
+ lv_value_1_0=ruleLoserType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLoserTypeExpressionRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_1_0,
+ "rba.tool.editor.RBAModel.LoserType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleArbitrationPolicyExpression
+entryRuleArbitrationPolicyExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getArbitrationPolicyExpressionRule()); }
+ iv_ruleArbitrationPolicyExpression=ruleArbitrationPolicyExpression
+ { $current=$iv_ruleArbitrationPolicyExpression.current; }
+ EOF;
+
+// Rule ArbitrationPolicyExpression
+ruleArbitrationPolicyExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getArbitrationPolicyExpressionAccess().getArbitrationPolicyExpressionAction_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getArbitrationPolicyExpressionAccess().getValueArbitrationPolicyEnumRuleCall_1_0());
+ }
+ lv_value_1_0=ruleArbitrationPolicy
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getArbitrationPolicyExpressionRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_1_0,
+ "rba.tool.editor.RBAModel.ArbitrationPolicy");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleViewContentSet
+entryRuleViewContentSet returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getViewContentSetRule()); }
+ iv_ruleViewContentSet=ruleViewContentSet
+ { $current=$iv_ruleViewContentSet.current; }
+ EOF;
+
+// Rule ViewContentSet
+ruleViewContentSet returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getViewContentSetAccess().getViewContentSetAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='ViewContentSet'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getViewContentSetAccess().getViewContentSetKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentSetRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getViewContentSetAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getViewContentSetAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getViewContentSetRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='target:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getViewContentSetAccess().getTargetKeyword_4_1_0());
+ }
+ otherlv_8='['
+ {
+ newLeafNode(otherlv_8, grammarAccess.getViewContentSetAccess().getLeftSquareBracketKeyword_4_1_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_10=','
+ {
+ newLeafNode(otherlv_10, grammarAccess.getViewContentSetAccess().getCommaKeyword_4_1_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_12=']'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getViewContentSetAccess().getRightSquareBracketKeyword_4_1_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>(otherlv_13='allocatable:'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getViewContentSetAccess().getAllocatableKeyword_4_2_0());
+ }
+ otherlv_14='['
+ {
+ newLeafNode(otherlv_14, grammarAccess.getViewContentSetAccess().getLeftSquareBracketKeyword_4_2_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_16=','
+ {
+ newLeafNode(otherlv_16, grammarAccess.getViewContentSetAccess().getCommaKeyword_4_2_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_18=']'
+ {
+ newLeafNode(otherlv_18, grammarAccess.getViewContentSetAccess().getRightSquareBracketKeyword_4_2_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_19='}'
+ {
+ newLeafNode(otherlv_19, grammarAccess.getViewContentSetAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleSoundContentSet
+entryRuleSoundContentSet returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSoundContentSetRule()); }
+ iv_ruleSoundContentSet=ruleSoundContentSet
+ { $current=$iv_ruleSoundContentSet.current; }
+ EOF;
+
+// Rule SoundContentSet
+ruleSoundContentSet returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSoundContentSetAccess().getSoundContentSetAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='SoundContentSet'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSoundContentSetAccess().getSoundContentSetKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentSetRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getSoundContentSetAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getSoundContentSetAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSoundContentSetRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='target:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getSoundContentSetAccess().getTargetKeyword_4_1_0());
+ }
+ otherlv_8='['
+ {
+ newLeafNode(otherlv_8, grammarAccess.getSoundContentSetAccess().getLeftSquareBracketKeyword_4_1_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_10=','
+ {
+ newLeafNode(otherlv_10, grammarAccess.getSoundContentSetAccess().getCommaKeyword_4_1_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_12=']'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getSoundContentSetAccess().getRightSquareBracketKeyword_4_1_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>(otherlv_13='allocatable:'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getSoundContentSetAccess().getAllocatableKeyword_4_2_0());
+ }
+ otherlv_14='['
+ {
+ newLeafNode(otherlv_14, grammarAccess.getSoundContentSetAccess().getLeftSquareBracketKeyword_4_2_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_16=','
+ {
+ newLeafNode(otherlv_16, grammarAccess.getSoundContentSetAccess().getCommaKeyword_4_2_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_18=']'
+ {
+ newLeafNode(otherlv_18, grammarAccess.getSoundContentSetAccess().getRightSquareBracketKeyword_4_2_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_19='}'
+ {
+ newLeafNode(otherlv_19, grammarAccess.getSoundContentSetAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleScene
+entryRuleScene returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getSceneRule()); }
+ iv_ruleScene=ruleScene
+ { $current=$iv_ruleScene.current; }
+ EOF;
+
+// Rule Scene
+ruleScene returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getSceneAccess().getSceneAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='Scene'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSceneAccess().getSceneKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSceneAccess().getNameQualifiedNameParserRuleCall_2_0());
+ }
+ lv_name_2_0=ruleQualifiedName
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ set(
+ $current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3='{'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getSceneAccess().getLeftCurlyBracketKeyword_3());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 0);
+ }
+ ({true}?=>(otherlv_5='description:'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getSceneAccess().getDescriptionKeyword_4_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSceneAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+ }
+ lv_description_6_0=ruleEString
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ set(
+ $current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 1);
+ }
+ ({true}?=>(otherlv_7='global:'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getSceneAccess().getGlobalKeyword_4_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getSceneAccess().getGlobalEBooleanParserRuleCall_4_1_1_0());
+ }
+ lv_global_8_0=ruleEBoolean
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ set(
+ $current,
+ "global",
+ lv_global_8_0,
+ "rba.tool.editor.RBAModel.EBoolean");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 2);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getSceneAccess().getPropertiesAbstractPropertyParserRuleCall_4_2_0());
+ }
+ lv_properties_9_0=ruleAbstractProperty
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ add(
+ $current,
+ "properties",
+ lv_properties_9_0,
+ "rba.tool.editor.RBAModel.AbstractProperty");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+ }
+ )
+ otherlv_10='}'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getSceneAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleVerticalLayout
+entryRuleVerticalLayout returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getVerticalLayoutRule()); }
+ iv_ruleVerticalLayout=ruleVerticalLayout
+ { $current=$iv_ruleVerticalLayout.current; }
+ EOF;
+
+// Rule VerticalLayout
+ruleVerticalLayout returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getVerticalLayoutAccess().getVerticalLayoutAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='VerticalLayout'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getVerticalLayoutAccess().getVerticalLayoutKeyword_1());
+ }
+ otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getVerticalLayoutAccess().getLeftCurlyBracketKeyword_2());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 0);
+ }
+ ({true}?=>(otherlv_4='basePoint:'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getVerticalLayoutAccess().getBasePointKeyword_3_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getVerticalLayoutAccess().getBasePointBasePointEnumRuleCall_3_0_1_0());
+ }
+ lv_basePoint_5_0=ruleBasePoint
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getVerticalLayoutRule());
+ }
+ set(
+ $current,
+ "basePoint",
+ lv_basePoint_5_0,
+ "rba.tool.editor.RBAModel.BasePoint");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 1);
+ }
+ ({true}?=>(otherlv_6='subarea:'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getVerticalLayoutAccess().getSubareaKeyword_3_1_0());
+ }
+ otherlv_7='['
+ {
+ newLeafNode(otherlv_7, grammarAccess.getVerticalLayoutAccess().getLeftSquareBracketKeyword_3_1_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getVerticalLayoutRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getVerticalLayoutAccess().getSubareaAreaCrossReference_3_1_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_9=','
+ {
+ newLeafNode(otherlv_9, grammarAccess.getVerticalLayoutAccess().getCommaKeyword_3_1_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getVerticalLayoutRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getVerticalLayoutAccess().getSubareaAreaCrossReference_3_1_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_11=']'
+ {
+ newLeafNode(otherlv_11, grammarAccess.getVerticalLayoutAccess().getRightSquareBracketKeyword_3_1_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+ }
+ )
+ otherlv_12='}'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getVerticalLayoutAccess().getRightCurlyBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleHorizontalLayout
+entryRuleHorizontalLayout returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getHorizontalLayoutRule()); }
+ iv_ruleHorizontalLayout=ruleHorizontalLayout
+ { $current=$iv_ruleHorizontalLayout.current; }
+ EOF;
+
+// Rule HorizontalLayout
+ruleHorizontalLayout returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getHorizontalLayoutAccess().getHorizontalLayoutAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='HorizontalLayout'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getHorizontalLayoutAccess().getHorizontalLayoutKeyword_1());
+ }
+ otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getHorizontalLayoutAccess().getLeftCurlyBracketKeyword_2());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 0);
+ }
+ ({true}?=>(otherlv_4='basePoint:'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getHorizontalLayoutAccess().getBasePointKeyword_3_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getHorizontalLayoutAccess().getBasePointBasePointEnumRuleCall_3_0_1_0());
+ }
+ lv_basePoint_5_0=ruleBasePoint
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getHorizontalLayoutRule());
+ }
+ set(
+ $current,
+ "basePoint",
+ lv_basePoint_5_0,
+ "rba.tool.editor.RBAModel.BasePoint");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 1);
+ }
+ ({true}?=>(otherlv_6='subarea:'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getHorizontalLayoutAccess().getSubareaKeyword_3_1_0());
+ }
+ otherlv_7='['
+ {
+ newLeafNode(otherlv_7, grammarAccess.getHorizontalLayoutAccess().getLeftSquareBracketKeyword_3_1_1());
+ }
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getHorizontalLayoutRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getHorizontalLayoutAccess().getSubareaAreaCrossReference_3_1_2_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_9=','
+ {
+ newLeafNode(otherlv_9, grammarAccess.getHorizontalLayoutAccess().getCommaKeyword_3_1_2_1_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getHorizontalLayoutRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getHorizontalLayoutAccess().getSubareaAreaCrossReference_3_1_2_1_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_11=']'
+ {
+ newLeafNode(otherlv_11, grammarAccess.getHorizontalLayoutAccess().getRightSquareBracketKeyword_3_1_3());
+ }
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+ }
+ )
+ otherlv_12='}'
+ {
+ newLeafNode(otherlv_12, grammarAccess.getHorizontalLayoutAccess().getRightCurlyBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleFixedPositionLayout
+entryRuleFixedPositionLayout returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getFixedPositionLayoutRule()); }
+ iv_ruleFixedPositionLayout=ruleFixedPositionLayout
+ { $current=$iv_ruleFixedPositionLayout.current; }
+ EOF;
+
+// Rule FixedPositionLayout
+ruleFixedPositionLayout returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getFixedPositionLayoutAccess().getFixedPositionLayoutAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='FixedPositionLayout'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getFixedPositionLayoutAccess().getFixedPositionLayoutKeyword_1());
+ }
+ otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getFixedPositionLayoutAccess().getLeftCurlyBracketKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getFixedPositionLayoutAccess().getSubAreaPositionPositionContainerParserRuleCall_3_0());
+ }
+ lv_subAreaPosition_3_0=rulePositionContainer
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getFixedPositionLayoutRule());
+ }
+ add(
+ $current,
+ "subAreaPosition",
+ lv_subAreaPosition_3_0,
+ "rba.tool.editor.RBAModel.PositionContainer");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ otherlv_4='}'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getFixedPositionLayoutAccess().getRightCurlyBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRulePositionContainer
+entryRulePositionContainer returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getPositionContainerRule()); }
+ iv_rulePositionContainer=rulePositionContainer
+ { $current=$iv_rulePositionContainer.current; }
+ EOF;
+
+// Rule PositionContainer
+rulePositionContainer returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getPositionContainerAccess().getPositionContainerAction_0(),
+ $current);
+ }
+ )
+ otherlv_1='PositionContainer'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getPositionContainerAccess().getPositionContainerKeyword_1());
+ }
+ otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getPositionContainerAccess().getLeftCurlyBracketKeyword_2());
+ }
+ (
+ (
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ (
+ (
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 0);
+ }
+ ({true}?=>(otherlv_4='x:'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getPositionContainerAccess().getXKeyword_3_0_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getXEIntParserRuleCall_3_0_1_0());
+ }
+ lv_x_5_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ set(
+ $current,
+ "x",
+ lv_x_5_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 1);
+ }
+ ({true}?=>(otherlv_6='y:'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getPositionContainerAccess().getYKeyword_3_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getYEIntParserRuleCall_3_1_1_0());
+ }
+ lv_y_7_0=ruleEInt
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ set(
+ $current,
+ "y",
+ lv_y_7_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 2)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 2);
+ }
+ ({true}?=>(otherlv_8='basePoint:'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getPositionContainerAccess().getBasePointKeyword_3_2_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getBasePointBasePointEnumRuleCall_3_2_1_0());
+ }
+ lv_basePoint_9_0=ruleBasePoint
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ set(
+ $current,
+ "basePoint",
+ lv_basePoint_9_0,
+ "rba.tool.editor.RBAModel.BasePoint");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 3)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 3);
+ }
+ ({true}?=>(otherlv_10='areaReference:'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getPositionContainerAccess().getAreaReferenceKeyword_3_3_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getPositionContainerRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getAreaAreaCrossReference_3_3_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ ))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ )
+ )|
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 4)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 4);
+ }
+ ({true}?=>((
+ {
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getOffsetOffsetParserRuleCall_3_4_0());
+ }
+ lv_offset_12_0=ruleOffset
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ add(
+ $current,
+ "offset",
+ lv_offset_12_0,
+ "rba.tool.editor.RBAModel.Offset");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ ))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ )
+ )
+ )*
+ )
+ )
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ }
+ )
+ otherlv_13='}'
+ {
+ newLeafNode(otherlv_13, grammarAccess.getPositionContainerAccess().getRightCurlyBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleEBoolean
+entryRuleEBoolean returns [String current=null]:
+ { newCompositeNode(grammarAccess.getEBooleanRule()); }
+ iv_ruleEBoolean=ruleEBoolean
+ { $current=$iv_ruleEBoolean.current.getText(); }
+ EOF;
+
+// Rule EBoolean
+ruleEBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ kw='true'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getEBooleanAccess().getTrueKeyword_0());
+ }
+ |
+ kw='false'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getEBooleanAccess().getFalseKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleEInt
+entryRuleEInt returns [String current=null]:
+ { newCompositeNode(grammarAccess.getEIntRule()); }
+ iv_ruleEInt=ruleEInt
+ { $current=$iv_ruleEInt.current.getText(); }
+ EOF;
+
+// Rule EInt
+ruleEInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ kw='-'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getEIntAccess().getHyphenMinusKeyword_0());
+ }
+ )?
+ this_INT_1=RULE_INT
+ {
+ $current.merge(this_INT_1);
+ }
+ {
+ newLeafNode(this_INT_1, grammarAccess.getEIntAccess().getINTTerminalRuleCall_1());
+ }
+ )
+;
+
+// Entry rule entryRuleEString
+entryRuleEString returns [String current=null]:
+ { newCompositeNode(grammarAccess.getEStringRule()); }
+ iv_ruleEString=ruleEString
+ { $current=$iv_ruleEString.current.getText(); }
+ EOF;
+
+// Rule EString
+ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ this_STRING_0=RULE_STRING
+ {
+ $current.merge(this_STRING_0);
+ }
+ {
+ newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall());
+ }
+;
+
+// Entry rule entryRuleRichString
+entryRuleRichString returns [String current=null]:
+ { newCompositeNode(grammarAccess.getRichStringRule()); }
+ iv_ruleRichString=ruleRichString
+ { $current=$iv_ruleRichString.current.getText(); }
+ EOF;
+
+// Rule RichString
+ruleRichString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ this_RICH_STRING_0=RULE_RICH_STRING
+ {
+ $current.merge(this_RICH_STRING_0);
+ }
+ {
+ newLeafNode(this_RICH_STRING_0, grammarAccess.getRichStringAccess().getRICH_STRINGTerminalRuleCall());
+ }
+;
+
+// Entry rule entryRuleQualifiedNameWithWildcard
+entryRuleQualifiedNameWithWildcard returns [String current=null]:
+ { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); }
+ iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard
+ { $current=$iv_ruleQualifiedNameWithWildcard.current.getText(); }
+ EOF;
+
+// Rule QualifiedNameWithWildcard
+ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
+ }
+ this_QualifiedName_0=ruleQualifiedName
+ {
+ $current.merge(this_QualifiedName_0);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ (
+ kw='.*'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopAsteriskKeyword_1());
+ }
+ )?
+ )
+;
+
+// Entry rule entryRuleQualifiedName
+entryRuleQualifiedName returns [String current=null]:
+ { newCompositeNode(grammarAccess.getQualifiedNameRule()); }
+ iv_ruleQualifiedName=ruleQualifiedName
+ { $current=$iv_ruleQualifiedName.current.getText(); }
+ EOF;
+
+// Rule QualifiedName
+ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ this_ID_0=RULE_ID
+ {
+ $current.merge(this_ID_0);
+ }
+ {
+ newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
+ }
+ (
+ kw='.'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
+ }
+ this_ID_2=RULE_ID
+ {
+ $current.merge(this_ID_2);
+ }
+ {
+ newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
+ }
+ )*
+ )
+;
+
+// Entry rule entryRuleIdOrThis
+entryRuleIdOrThis returns [String current=null]:
+ { newCompositeNode(grammarAccess.getIdOrThisRule()); }
+ iv_ruleIdOrThis=ruleIdOrThis
+ { $current=$iv_ruleIdOrThis.current.getText(); }
+ EOF;
+
+// Rule IdOrThis
+ruleIdOrThis returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getIdOrThisAccess().getValidIDParserRuleCall_0());
+ }
+ this_ValidID_0=ruleValidID
+ {
+ $current.merge(this_ValidID_0);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ kw='this'
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getIdOrThisAccess().getThisKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleValidID
+entryRuleValidID returns [String current=null]:
+ { newCompositeNode(grammarAccess.getValidIDRule()); }
+ iv_ruleValidID=ruleValidID
+ { $current=$iv_ruleValidID.current.getText(); }
+ EOF;
+
+// Rule ValidID
+ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ this_ID_0=RULE_ID
+ {
+ $current.merge(this_ID_0);
+ }
+ {
+ newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
+ }
+;
+
+// Entry rule entryRuleContentOperatorsCommon
+entryRuleContentOperatorsCommon returns [String current=null]:
+ { newCompositeNode(grammarAccess.getContentOperatorsCommonRule()); }
+ iv_ruleContentOperatorsCommon=ruleContentOperatorsCommon
+ { $current=$iv_ruleContentOperatorsCommon.current.getText(); }
+ EOF;
+
+// Rule ContentOperatorsCommon
+ruleContentOperatorsCommon returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsActiveParserRuleCall_0());
+ }
+ this_OpIsActive_0=ruleOpIsActive
+ {
+ $current.merge(this_OpIsActive_0);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpGetAllocatablesParserRuleCall_1());
+ }
+ this_OpGetAllocatables_1=ruleOpGetAllocatables
+ {
+ $current.merge(this_OpGetAllocatables_1);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsVisibleParserRuleCall_2());
+ }
+ this_OpIsVisible_2=ruleOpIsVisible
+ {
+ $current.merge(this_OpIsVisible_2);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpHasComeEarlierThanParserRuleCall_3());
+ }
+ this_OpHasComeEarlierThan_3=ruleOpHasComeEarlierThan
+ {
+ $current.merge(this_OpHasComeEarlierThan_3);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpHasComeLaterThanParserRuleCall_4());
+ }
+ this_OpHasComeLaterThan_4=ruleOpHasComeLaterThan
+ {
+ $current.merge(this_OpHasComeLaterThan_4);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpStateValueParserRuleCall_5());
+ }
+ this_OpStateValue_5=ruleOpStateValue
+ {
+ $current.merge(this_OpStateValue_5);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsAllocatedToParserRuleCall_6());
+ }
+ this_OpIsAllocatedTo_6=ruleOpIsAllocatedTo
+ {
+ $current.merge(this_OpIsAllocatedTo_6);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsDisplayedOnParserRuleCall_7());
+ }
+ this_OpIsDisplayedOn_7=ruleOpIsDisplayedOn
+ {
+ $current.merge(this_OpIsDisplayedOn_7);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleSoundOperatorsCommon
+entryRuleSoundOperatorsCommon returns [String current=null]:
+ { newCompositeNode(grammarAccess.getSoundOperatorsCommonRule()); }
+ iv_ruleSoundOperatorsCommon=ruleSoundOperatorsCommon
+ { $current=$iv_ruleSoundOperatorsCommon.current.getText(); }
+ EOF;
+
+// Rule SoundOperatorsCommon
+ruleSoundOperatorsCommon returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsActiveParserRuleCall_0());
+ }
+ this_OpIsActive_0=ruleOpIsActive
+ {
+ $current.merge(this_OpIsActive_0);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpGetAllocatablesParserRuleCall_1());
+ }
+ this_OpGetAllocatables_1=ruleOpGetAllocatables
+ {
+ $current.merge(this_OpGetAllocatables_1);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsSoundingParserRuleCall_2());
+ }
+ this_OpIsSounding_2=ruleOpIsSounding
+ {
+ $current.merge(this_OpIsSounding_2);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpHasComeEarlierThanParserRuleCall_3());
+ }
+ this_OpHasComeEarlierThan_3=ruleOpHasComeEarlierThan
+ {
+ $current.merge(this_OpHasComeEarlierThan_3);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpHasComeLaterThanParserRuleCall_4());
+ }
+ this_OpHasComeLaterThan_4=ruleOpHasComeLaterThan
+ {
+ $current.merge(this_OpHasComeLaterThan_4);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpStateValueParserRuleCall_5());
+ }
+ this_OpStateValue_5=ruleOpStateValue
+ {
+ $current.merge(this_OpStateValue_5);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsAllocatedToParserRuleCall_6());
+ }
+ this_OpIsAllocatedTo_6=ruleOpIsAllocatedTo
+ {
+ $current.merge(this_OpIsAllocatedTo_6);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsOutputtedOnParserRuleCall_7());
+ }
+ this_OpIsOutputtedOn_7=ruleOpIsOutputtedOn
+ {
+ $current.merge(this_OpIsOutputtedOn_7);
+ }
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Rule ArbitrationPolicy
+ruleArbitrationPolicy returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0='DEFAULT'
+ {
+ $current = grammarAccess.getArbitrationPolicyAccess().getDEFAULTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getArbitrationPolicyAccess().getDEFAULTEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1='FIRST_COME_FIRST'
+ {
+ $current = grammarAccess.getArbitrationPolicyAccess().getFIRST_COME_FIRSTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getArbitrationPolicyAccess().getFIRST_COME_FIRSTEnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2='LAST_COME_FIRST'
+ {
+ $current = grammarAccess.getArbitrationPolicyAccess().getLAST_COME_FIRSTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getArbitrationPolicyAccess().getLAST_COME_FIRSTEnumLiteralDeclaration_2());
+ }
+ )
+ |
+ (
+ enumLiteral_3='PRIORITY_FIRST_COME_FIRST'
+ {
+ $current = grammarAccess.getArbitrationPolicyAccess().getPRIORITY_FIRST_COME_FIRSTEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getArbitrationPolicyAccess().getPRIORITY_FIRST_COME_FIRSTEnumLiteralDeclaration_3());
+ }
+ )
+ |
+ (
+ enumLiteral_4='PRIORITY_LAST_COME_FIRST'
+ {
+ $current = grammarAccess.getArbitrationPolicyAccess().getPRIORITY_LAST_COME_FIRSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getArbitrationPolicyAccess().getPRIORITY_LAST_COME_FIRSTEnumLiteralDeclaration_4());
+ }
+ )
+ )
+;
+
+// Rule BasePoint
+ruleBasePoint returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0='LEFT_TOP'
+ {
+ $current = grammarAccess.getBasePointAccess().getLEFT_TOPEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getBasePointAccess().getLEFT_TOPEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1='LEFT_MIDDLE'
+ {
+ $current = grammarAccess.getBasePointAccess().getLEFT_MIDDLEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getBasePointAccess().getLEFT_MIDDLEEnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2='LEFT_BOTTOM'
+ {
+ $current = grammarAccess.getBasePointAccess().getLEFT_BOTTOMEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getBasePointAccess().getLEFT_BOTTOMEnumLiteralDeclaration_2());
+ }
+ )
+ |
+ (
+ enumLiteral_3='RIGHT_TOP'
+ {
+ $current = grammarAccess.getBasePointAccess().getRIGHT_TOPEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getBasePointAccess().getRIGHT_TOPEnumLiteralDeclaration_3());
+ }
+ )
+ |
+ (
+ enumLiteral_4='RIGHT_MIDDLE'
+ {
+ $current = grammarAccess.getBasePointAccess().getRIGHT_MIDDLEEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getBasePointAccess().getRIGHT_MIDDLEEnumLiteralDeclaration_4());
+ }
+ )
+ |
+ (
+ enumLiteral_5='RIGHT_BOTTOM'
+ {
+ $current = grammarAccess.getBasePointAccess().getRIGHT_BOTTOMEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getBasePointAccess().getRIGHT_BOTTOMEnumLiteralDeclaration_5());
+ }
+ )
+ |
+ (
+ enumLiteral_6='CENTER_TOP'
+ {
+ $current = grammarAccess.getBasePointAccess().getCENTER_TOPEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getBasePointAccess().getCENTER_TOPEnumLiteralDeclaration_6());
+ }
+ )
+ |
+ (
+ enumLiteral_7='CENTER_MIDDLE'
+ {
+ $current = grammarAccess.getBasePointAccess().getCENTER_MIDDLEEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_7, grammarAccess.getBasePointAccess().getCENTER_MIDDLEEnumLiteralDeclaration_7());
+ }
+ )
+ |
+ (
+ enumLiteral_8='CENTER_BOTTOM'
+ {
+ $current = grammarAccess.getBasePointAccess().getCENTER_BOTTOMEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_8, grammarAccess.getBasePointAccess().getCENTER_BOTTOMEnumLiteralDeclaration_8());
+ }
+ )
+ )
+;
+
+// Rule LoserType
+ruleLoserType returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0='NEVER_GIVEUP'
+ {
+ $current = grammarAccess.getLoserTypeAccess().getNEVER_GIVEUPEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getLoserTypeAccess().getNEVER_GIVEUPEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1='GOOD_LOSER'
+ {
+ $current = grammarAccess.getLoserTypeAccess().getGOOD_LOSEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getLoserTypeAccess().getGOOD_LOSEREnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2='DO_NOT_GIVEUP_UNTIL_WIN'
+ {
+ $current = grammarAccess.getLoserTypeAccess().getDO_NOT_GIVEUP_UNTIL_WINEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getLoserTypeAccess().getDO_NOT_GIVEUP_UNTIL_WINEnumLiteralDeclaration_2());
+ }
+ )
+ )
+;
+
+RULE_ID : (RULE_IDENTIFIER_START|RULE_UNICODE_ESCAPE) (RULE_IDENTIFIER_PART|RULE_UNICODE_ESCAPE)*;
+
+fragment RULE_IDENTIFIER_START_IMPL : ('$'|'A'..'Z'|'\uFF08'..'\uFF09'|'_'|'a'..'z'|'\u00A2'..'\u00A5'|'\u00AA'|'\u00B5'|'\u00BA'|'\u00C0'..'\u00D6'|'\u00D8'..'\u00F6'|'\u00F8'..'\u0236'|'\u0250'..'\u02C1'|'\u02C6'..'\u02D1'|'\u02E0'..'\u02E4'|'\u02EE'|'\u037A'|'\u0386'|'\u0388'..'\u038A'|'\u038C'|'\u038E'..'\u03A1'|'\u03A3'..'\u03CE'|'\u03D0'..'\u03F5'|'\u03F7'..'\u03FB'|'\u0400'..'\u0481'|'\u048A'..'\u04CE'|'\u04D0'..'\u04F5'|'\u04F8'..'\u04F9'|'\u0500'..'\u050F'|'\u0531'..'\u0556'|'\u0559'|'\u0561'..'\u0587'|'\u05D0'..'\u05EA'|'\u05F0'..'\u05F2'|'\u0621'..'\u063A'|'\u0640'..'\u064A'|'\u066E'..'\u066F'|'\u0671'..'\u06D3'|'\u06D5'|'\u06E5'..'\u06E6'|'\u06EE'..'\u06EF'|'\u06FA'..'\u06FC'|'\u06FF'|'\u0710'|'\u0712'..'\u072F'|'\u074D'..'\u074F'|'\u0780'..'\u07A5'|'\u07B1'|'\u0904'..'\u0939'|'\u093D'|'\u0950'|'\u0958'..'\u0961'|'\u0985'..'\u098C'|'\u098F'..'\u0990'|'\u0993'..'\u09A8'|'\u09AA'..'\u09B0'|'\u09B2'|'\u09B6'..'\u09B9'|'\u09BD'|'\u09DC'..'\u09DD'|'\u09DF'..'\u09E1'|'\u09F0'..'\u09F3'|'\u0A05'..'\u0A0A'|'\u0A0F'..'\u0A10'|'\u0A13'..'\u0A28'|'\u0A2A'..'\u0A30'|'\u0A32'..'\u0A33'|'\u0A35'..'\u0A36'|'\u0A38'..'\u0A39'|'\u0A59'..'\u0A5C'|'\u0A5E'|'\u0A72'..'\u0A74'|'\u0A85'..'\u0A8D'|'\u0A8F'..'\u0A91'|'\u0A93'..'\u0AA8'|'\u0AAA'..'\u0AB0'|'\u0AB2'..'\u0AB3'|'\u0AB5'..'\u0AB9'|'\u0ABD'|'\u0AD0'|'\u0AE0'..'\u0AE1'|'\u0AF1'|'\u0B05'..'\u0B0C'|'\u0B0F'..'\u0B10'|'\u0B13'..'\u0B28'|'\u0B2A'..'\u0B30'|'\u0B32'..'\u0B33'|'\u0B35'..'\u0B39'|'\u0B3D'|'\u0B5C'..'\u0B5D'|'\u0B5F'..'\u0B61'|'\u0B71'|'\u0B83'|'\u0B85'..'\u0B8A'|'\u0B8E'..'\u0B90'|'\u0B92'..'\u0B95'|'\u0B99'..'\u0B9A'|'\u0B9C'|'\u0B9E'..'\u0B9F'|'\u0BA3'..'\u0BA4'|'\u0BA8'..'\u0BAA'|'\u0BAE'..'\u0BB5'|'\u0BB7'..'\u0BB9'|'\u0BF9'|'\u0C05'..'\u0C0C'|'\u0C0E'..'\u0C10'|'\u0C12'..'\u0C28'|'\u0C2A'..'\u0C33'|'\u0C35'..'\u0C39'|'\u0C60'..'\u0C61'|'\u0C85'..'\u0C8C'|'\u0C8E'..'\u0C90'|'\u0C92'..'\u0CA8'|'\u0CAA'..'\u0CB3'|'\u0CB5'..'\u0CB9'|'\u0CBD'|'\u0CDE'|'\u0CE0'..'\u0CE1'|'\u0D05'..'\u0D0C'|'\u0D0E'..'\u0D10'|'\u0D12'..'\u0D28'|'\u0D2A'..'\u0D39'|'\u0D60'..'\u0D61'|'\u0D85'..'\u0D96'|'\u0D9A'..'\u0DB1'|'\u0DB3'..'\u0DBB'|'\u0DBD'|'\u0DC0'..'\u0DC6'|'\u0E01'..'\u0E30'|'\u0E32'..'\u0E33'|'\u0E3F'..'\u0E46'|'\u0E81'..'\u0E82'|'\u0E84'|'\u0E87'..'\u0E88'|'\u0E8A'|'\u0E8D'|'\u0E94'..'\u0E97'|'\u0E99'..'\u0E9F'|'\u0EA1'..'\u0EA3'|'\u0EA5'|'\u0EA7'|'\u0EAA'..'\u0EAB'|'\u0EAD'..'\u0EB0'|'\u0EB2'..'\u0EB3'|'\u0EBD'|'\u0EC0'..'\u0EC4'|'\u0EC6'|'\u0EDC'..'\u0EDD'|'\u0F00'|'\u0F40'..'\u0F47'|'\u0F49'..'\u0F6A'|'\u0F88'..'\u0F8B'|'\u1000'..'\u1021'|'\u1023'..'\u1027'|'\u1029'..'\u102A'|'\u1050'..'\u1055'|'\u10A0'..'\u10C5'|'\u10D0'..'\u10F8'|'\u1100'..'\u1159'|'\u115F'..'\u11A2'|'\u11A8'..'\u11F9'|'\u1200'..'\u1206'|'\u1208'..'\u1246'|'\u1248'|'\u124A'..'\u124D'|'\u1250'..'\u1256'|'\u1258'|'\u125A'..'\u125D'|'\u1260'..'\u1286'|'\u1288'|'\u128A'..'\u128D'|'\u1290'..'\u12AE'|'\u12B0'|'\u12B2'..'\u12B5'|'\u12B8'..'\u12BE'|'\u12C0'|'\u12C2'..'\u12C5'|'\u12C8'..'\u12CE'|'\u12D0'..'\u12D6'|'\u12D8'..'\u12EE'|'\u12F0'..'\u130E'|'\u1310'|'\u1312'..'\u1315'|'\u1318'..'\u131E'|'\u1320'..'\u1346'|'\u1348'..'\u135A'|'\u13A0'..'\u13F4'|'\u1401'..'\u166C'|'\u166F'..'\u1676'|'\u1681'..'\u169A'|'\u16A0'..'\u16EA'|'\u16EE'..'\u16F0'|'\u1700'..'\u170C'|'\u170E'..'\u1711'|'\u1720'..'\u1731'|'\u1740'..'\u1751'|'\u1760'..'\u176C'|'\u176E'..'\u1770'|'\u1780'..'\u17B3'|'\u17D7'|'\u17DB'..'\u17DC'|'\u1820'..'\u1877'|'\u1880'..'\u18A8'|'\u1900'..'\u191C'|'\u1950'..'\u196D'|'\u1970'..'\u1974'|'\u1D00'..'\u1D6B'|'\u1E00'..'\u1E9B'|'\u1EA0'..'\u1EF9'|'\u1F00'..'\u1F15'|'\u1F18'..'\u1F1D'|'\u1F20'..'\u1F45'|'\u1F48'..'\u1F4D'|'\u1F50'..'\u1F57'|'\u1F59'|'\u1F5B'|'\u1F5D'|'\u1F5F'..'\u1F7D'|'\u1F80'..'\u1FB4'|'\u1FB6'..'\u1FBC'|'\u1FBE'|'\u1FC2'..'\u1FC4'|'\u1FC6'..'\u1FCC'|'\u1FD0'..'\u1FD3'|'\u1FD6'..'\u1FDB'|'\u1FE0'..'\u1FEC'|'\u1FF2'..'\u1FF4'|'\u1FF6'..'\u1FFC'|'\u203F'..'\u2040'|'\u2054'|'\u2071'|'\u207F'|'\u20A0'..'\u20B1'|'\u2102'|'\u2107'|'\u210A'..'\u2113'|'\u2115'|'\u2119'..'\u211D'|'\u2124'|'\u2126'|'\u2128'|'\u212A'..'\u212D'|'\u212F'..'\u2131'|'\u2133'..'\u2139'|'\u213D'..'\u213F'|'\u2145'..'\u2149'|'\u2160'..'\u2183'|'\u3005'..'\u3007'|'\u3021'..'\u3029'|'\u3031'..'\u3035'|'\u3038'..'\u303C'|'\u3041'..'\u3096'|'\u309D'..'\u309F'|'\u30A1'..'\u30FF'|'\u3105'..'\u312C'|'\u3131'..'\u318E'|'\u31A0'..'\u31B7'|'\u31F0'..'\u31FF'|'\u3400'..'\u4DB5'|'\u4E00'..'\u9FA5'|'\uA000'..'\uA48C'|'\uAC00'..'\uD7A3'|'\uF900'..'\uFA2D'|'\uFA30'..'\uFA6A'|'\uFB00'..'\uFB06'|'\uFB13'..'\uFB17'|'\uFB1D'|'\uFB1F'..'\uFB28'|'\uFB2A'..'\uFB36'|'\uFB38'..'\uFB3C'|'\uFB3E'|'\uFB40'..'\uFB41'|'\uFB43'..'\uFB44'|'\uFB46'..'\uFBB1'|'\uFBD3'..'\uFD3D'|'\uFD50'..'\uFD8F'|'\uFD92'..'\uFDC7'|'\uFDF0'..'\uFDFC'|'\uFE33'..'\uFE34'|'\uFE4D'..'\uFE4F'|'\uFE69'|'\uFE70'..'\uFE74'|'\uFE76'..'\uFEFC'|'\uFF04'|'\uFF1A'|'\uFF21'..'\uFF3A'|'\uFF3F'|'\uFF41'..'\uFF5A'|'\uFF65'..'\uFFBE'|'\uFFC2'..'\uFFC7'|'\uFFCA'..'\uFFCF'|'\uFFD2'..'\uFFD7'|'\uFFDA'..'\uFFDC'|'\uFFE0'..'\uFFE1'|'\uFFE5'..'\uFFE6');
+
+fragment RULE_IDENTIFIER_PART_IMPL : ('\u0000'..'\b'|'\u000E'..'\u001B'|'\u007F'..'\u009F'|'\u00AD'|'\u3001'..'\u3002'|'\u0300'..'\u0357'|'\u035D'..'\u036F'|'\u0483'..'\u0486'|'\u0591'..'\u05A1'|'\u05A3'..'\u05B9'|'\u05BB'..'\u05BD'|'\u05BF'|'\u05C1'..'\u05C2'|'\u05C4'|'\u0600'..'\u0603'|'\u0610'..'\u0615'|'\u064B'..'\u0658'|'\u0660'..'\u0669'|'\u0670'|'\u06D6'..'\u06DD'|'\u06DF'..'\u06E4'|'\u06E7'..'\u06E8'|'\u06EA'..'\u06ED'|'\u06F0'..'\u06F9'|'\u070F'|'\u0711'|'\u0730'..'\u074A'|'\u07A6'..'\u07B0'|'\u0901'..'\u0903'|'\u093C'|'\u093E'..'\u094D'|'\u0951'..'\u0954'|'\u0962'..'\u0963'|'\u0966'..'\u096F'|'\u0981'..'\u0983'|'\u09BC'|'\u09BE'..'\u09C4'|'\u09C7'..'\u09C8'|'\u09CB'..'\u09CD'|'\u09D7'|'\u09E2'..'\u09E3'|'\u09E6'..'\u09EF'|'\u0A01'..'\u0A03'|'\u0A3C'|'\u0A3E'..'\u0A42'|'\u0A47'..'\u0A48'|'\u0A4B'..'\u0A4D'|'\u0A66'..'\u0A71'|'\u0A81'..'\u0A83'|'\u0ABC'|'\u0ABE'..'\u0AC5'|'\u0AC7'..'\u0AC9'|'\u0ACB'..'\u0ACD'|'\u0AE2'..'\u0AE3'|'\u0AE6'..'\u0AEF'|'\u0B01'..'\u0B03'|'\u0B3C'|'\u0B3E'..'\u0B43'|'\u0B47'..'\u0B48'|'\u0B4B'..'\u0B4D'|'\u0B56'..'\u0B57'|'\u0B66'..'\u0B6F'|'\u0B82'|'\u0BBE'..'\u0BC2'|'\u0BC6'..'\u0BC8'|'\u0BCA'..'\u0BCD'|'\u0BD7'|'\u0BE7'..'\u0BEF'|'\u0C01'..'\u0C03'|'\u0C3E'..'\u0C44'|'\u0C46'..'\u0C48'|'\u0C4A'..'\u0C4D'|'\u0C55'..'\u0C56'|'\u0C66'..'\u0C6F'|'\u0C82'..'\u0C83'|'\u0CBC'|'\u0CBE'..'\u0CC4'|'\u0CC6'..'\u0CC8'|'\u0CCA'..'\u0CCD'|'\u0CD5'..'\u0CD6'|'\u0CE6'..'\u0CEF'|'\u0D02'..'\u0D03'|'\u0D3E'..'\u0D43'|'\u0D46'..'\u0D48'|'\u0D4A'..'\u0D4D'|'\u0D57'|'\u0D66'..'\u0D6F'|'\u0D82'..'\u0D83'|'\u0DCA'|'\u0DCF'..'\u0DD4'|'\u0DD6'|'\u0DD8'..'\u0DDF'|'\u0DF2'..'\u0DF3'|'\u0E31'|'\u0E34'..'\u0E3A'|'\u0E47'..'\u0E4E'|'\u0E50'..'\u0E59'|'\u0EB1'|'\u0EB4'..'\u0EB9'|'\u0EBB'..'\u0EBC'|'\u0EC8'..'\u0ECD'|'\u0ED0'..'\u0ED9'|'\u0F18'..'\u0F19'|'\u0F20'..'\u0F29'|'\u0F35'|'\u0F37'|'\u0F39'|'\u0F3E'..'\u0F3F'|'\u0F71'..'\u0F84'|'\u0F86'..'\u0F87'|'\u0F90'..'\u0F97'|'\u0F99'..'\u0FBC'|'\u0FC6'|'\u102C'..'\u1032'|'\u1036'..'\u1039'|'\u1040'..'\u1049'|'\u1056'..'\u1059'|'\u1369'..'\u1371'|'\u1712'..'\u1714'|'\u1732'..'\u1734'|'\u1752'..'\u1753'|'\u1772'..'\u1773'|'\u17B4'..'\u17D3'|'\u17DD'|'\u17E0'..'\u17E9'|'\u180B'..'\u180D'|'\u1810'..'\u1819'|'\u18A9'|'\u1920'..'\u192B'|'\u1930'..'\u193B'|'\u1946'..'\u194F'|'\u200C'..'\u200F'|'\u202A'..'\u202E'|'\u2060'..'\u2063'|'\u206A'..'\u206F'|'\u20D0'..'\u20DC'|'\u20E1'|'\u20E5'..'\u20EA'|'\u302A'..'\u302F'|'\u3099'..'\u309A'|'\uFB1E'|'\uFE00'..'\uFE0F'|'\uFE20'..'\uFE23'|'\uFEFF'|'\uFF10'..'\uFF19'|'\uFFF9'..'\uFFFB');
+
+fragment RULE_IDENTIFIER_DIGITS : '0'..'9';
+
+fragment RULE_HEX_DIGIT : ('0'..'9'|'a'..'f'|'A'..'F');
+
+fragment RULE_UNICODE_ESCAPE : '\\' 'u' (RULE_HEX_DIGIT (RULE_HEX_DIGIT (RULE_HEX_DIGIT RULE_HEX_DIGIT?)?)?)?;
+
+fragment RULE_IDENTIFIER_PART : (RULE_IDENTIFIER_START_IMPL|RULE_IDENTIFIER_DIGITS|RULE_IDENTIFIER_PART_IMPL);
+
+fragment RULE_IDENTIFIER_START : (RULE_IDENTIFIER_START_IMPL|RULE_IDENTIFIER_PART_IMPL);
+
+RULE_WS : (' '|'\t'|'\r'|'\n')+;
+
+RULE_INT : ('0'..'9')+;
+
+RULE_STRING : '"' ('\\' .|~(('\\'|'"'|'\''|'\n'|'\r')))* '"';
+
+RULE_RICH_STRING : '@BEGIN@' ( options {greedy=false;} : . )*'@END@';
+
+RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
+
+RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;