From cc2891cb8c4acc78eba4ee942370d73b2d1e5a49 Mon Sep 17 00:00:00 2001
From: Eyck Jentzsch
Date: Tue, 19 Sep 2017 18:08:17 +0200
Subject: [PATCH] Changed grammar and added code generator
* changed the grammar to ease code generation
* added a code generator and a standalone setup to generate SystemC code
using SC-Components lib
---
.../ide/contentassist/antlr/RDLParser.java | 62 +-
.../antlr/internal/InternalRDL.g | 1510 +-
.../antlr/internal/InternalRDL.tokens | 10 +-
.../antlr/internal/InternalRDLLexer.java | 152 +-
.../antlr/internal/InternalRDLParser.java | 16925 +++++++++-------
.../xtend-gen/com/minres/rdl/ide/.gitignore | 2 +
.../xtend-gen/com/minres/rdl/tests/.gitignore | 1 +
.../AbstractRDLProposalProvider.java | 41 +-
.../rdl/ui/RDLEObjectHoverProvider.xtend | 30 +-
.../rdl/ui/labeling/RDLLabelProvider.xtend | 31 +-
.../ui/outline/RDLOutlineTreeProvider.xtend | 24 +-
.../xtend-gen/com/minres/rdl/ui/.gitignore | 3 +
.../rdl/ui/RDLEObjectHoverProvider.java | 28 +-
.../com/minres/rdl/ui/RDLUiModule.java | 4 +-
.../minres/rdl/ui/contentassist/.gitignore | 1 +
.../com/minres/rdl/ui/labeling/.gitignore | 2 +
.../rdl/ui/labeling/RDLLabelProvider.java | 84 +-
.../com/minres/rdl/ui/outline/.gitignore | 1 +
.../ui/outline/RDLOutlineTreeProvider.java | 39 +-
.../com/minres/rdl/ui/quickfix/.gitignore | 1 +
.../com.minres.rdl/model/generated/RDL.ecore | 33 +-
.../model/generated/RDL.genmodel | 31 +-
.../rdl/parser/antlr/internal/InternalRDL.g | 728 +-
.../parser/antlr/internal/InternalRDL.tokens | 42 +-
.../antlr/internal/InternalRDLLexer.java | 430 +-
.../antlr/internal/InternalRDLParser.java | 9307 +++++----
.../minres/rdl/rdl/ComponentDefinition.java | 41 +-
.../com/minres/rdl/rdl/EnumInstanceType.java | 79 +
.../rdl/rdl/ImmediateInstantiation.java | 71 -
.../com/minres/rdl/rdl/Instantiation.java | 152 +
.../minres/rdl/rdl/NamedInstantiation.java | 152 -
.../src-gen/com/minres/rdl/rdl/Range.java | 44 +-
.../com/minres/rdl/rdl/RdlFactory.java | 24 +-
.../com/minres/rdl/rdl/RdlPackage.java | 462 +-
.../src-gen/com/minres/rdl/rdl/Root.java | 14 +-
.../rdl/rdl/impl/ComponentDefinitionImpl.java | 112 +-
.../rdl/rdl/impl/EnumInstanceTypeImpl.java | 234 +
.../rdl/impl/ImmediateInstantiationImpl.java | 241 -
...iationImpl.java => InstantiationImpl.java} | 275 +-
.../com/minres/rdl/rdl/impl/RangeImpl.java | 92 +-
.../minres/rdl/rdl/impl/RdlFactoryImpl.java | 32 +-
.../minres/rdl/rdl/impl/RdlPackageImpl.java | 180 +-
.../com/minres/rdl/rdl/impl/RootImpl.java | 40 +-
.../rdl/rdl/util/RdlAdapterFactory.java | 50 +-
.../com/minres/rdl/rdl/util/RdlSwitch.java | 58 +-
.../rdl/serializer/RDLSemanticSequencer.java | 62 +-
.../minres/rdl/services/RDLGrammarAccess.java | 516 +-
.../src/com/minres/rdl/GenerateRDL.mwe2 | 7 +-
.../src/com/minres/rdl/RDL.xtext | 51 +-
.../rdl/generator/AddrmapGenerator.xtend | 32 +
.../src/com/minres/rdl/generator/Main.xtend | 146 +
.../minres/rdl/generator/RDLGenerator.xtend | 35 +-
.../rdl/generator/RdlBaseGenerator.xtend | 101 +
.../rdl/generator/RegfileGenerator.xtend | 193 +
.../minres/rdl/scoping/RDLScopeProvider.xtend | 88 +-
.../xtend-gen/com/minres/rdl/.gitignore | 2 +
.../com/minres/rdl/converter/.gitignore | 4 +
.../com/minres/rdl/formatting/.gitignore | 1 +
.../com/minres/rdl/generator/.gitignore | 1 +
.../rdl/generator/AddrmapGenerator.java | 47 +
.../com/minres/rdl/generator/Main.java | 265 +
.../minres/rdl/generator/RDLGenerator.java | 70 +
.../rdl/generator/RdlBaseGenerator.java | 167 +
.../rdl/generator/RegfileGenerator.java | 504 +
.../com/minres/rdl/messages/.gitignore | 1 +
.../com/minres/rdl/scoping/.gitignore | 1 +
.../minres/rdl/scoping/RDLScopeProvider.java | 92 -
.../com/minres/rdl/validation/.gitignore | 1 +
68 files changed, 20392 insertions(+), 13870 deletions(-)
create mode 100644 com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumInstanceType.java
delete mode 100644 com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ImmediateInstantiation.java
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Instantiation.java
delete mode 100644 com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/NamedInstantiation.java
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumInstanceTypeImpl.java
delete mode 100644 com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ImmediateInstantiationImpl.java
rename com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/{NamedInstantiationImpl.java => InstantiationImpl.java} (53%)
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlBaseGenerator.xtend
create mode 100644 com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/AddrmapGenerator.java
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/Main.java
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RdlBaseGenerator.java
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RegfileGenerator.java
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.gitignore
create mode 100644 com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.gitignore
diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/RDLParser.java b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/RDLParser.java
index b6edf25..dd7cf28 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/RDLParser.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/RDLParser.java
@@ -38,6 +38,7 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1(), "rule__PropertyDefinition__Alternatives_3_2_1");
put(grammarAccess.getPropertyDefaultAccess().getAlternatives_2(), "rule__PropertyDefault__Alternatives_2");
put(grammarAccess.getComponentDefinitionAccess().getAlternatives_3(), "rule__ComponentDefinition__Alternatives_3");
+ put(grammarAccess.getInstantiationAccess().getAlternatives_0(), "rule__Instantiation__Alternatives_0");
put(grammarAccess.getRangeAccess().getAlternatives_1(), "rule__Range__Alternatives_1");
put(grammarAccess.getPropertyAssignmentAccess().getAlternatives(), "rule__PropertyAssignment__Alternatives");
put(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives(), "rule__ExplicitPropertyAssignment__Alternatives");
@@ -49,6 +50,7 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getConcatElemAccess().getAlternatives(), "rule__ConcatElem__Alternatives");
put(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives(), "rule__PropertyRvalueConstant__Alternatives");
put(grammarAccess.getEnumPropertyAccess().getAlternatives_0(), "rule__EnumProperty__Alternatives_0");
+ put(grammarAccess.getEnumInstanceTypeAccess().getAlternatives(), "rule__EnumInstanceType__Alternatives");
put(grammarAccess.getPropertyTypeNameAccess().getAlternatives(), "rule__PropertyTypeName__Alternatives");
put(grammarAccess.getPropertyComponentAccess().getAlternatives(), "rule__PropertyComponent__Alternatives");
put(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives(), "rule__ComponentDefinitionType__Alternatives");
@@ -56,6 +58,11 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getPropertyAccess().getAlternatives(), "rule__Property__Alternatives");
put(grammarAccess.getRValueConstantAccess().getAlternatives(), "rule__RValueConstant__Alternatives");
put(grammarAccess.getPropertyModifierAccess().getAlternatives(), "rule__PropertyModifier__Alternatives");
+ put(grammarAccess.getRootAccess().getGroup_1(), "rule__Root__Group_1__0");
+ put(grammarAccess.getRootAccess().getGroup_2(), "rule__Root__Group_2__0");
+ put(grammarAccess.getRootAccess().getGroup_3(), "rule__Root__Group_3__0");
+ put(grammarAccess.getRootAccess().getGroup_4(), "rule__Root__Group_4__0");
+ put(grammarAccess.getRootAccess().getGroup_5(), "rule__Root__Group_5__0");
put(grammarAccess.getIncludeAccess().getGroup(), "rule__Include__Group__0");
put(grammarAccess.getPropertyDefinitionAccess().getGroup(), "rule__PropertyDefinition__Group__0");
put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0(), "rule__PropertyDefinition__Group_3_0__0");
@@ -71,11 +78,15 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getPropertyUsageAccess().getGroup(), "rule__PropertyUsage__Group__0");
put(grammarAccess.getPropertyUsageAccess().getGroup_3(), "rule__PropertyUsage__Group_3__0");
put(grammarAccess.getComponentDefinitionAccess().getGroup(), "rule__ComponentDefinition__Group__0");
- put(grammarAccess.getNamedInstantiationAccess().getGroup(), "rule__NamedInstantiation__Group__0");
- put(grammarAccess.getNamedInstantiationAccess().getGroup_2(), "rule__NamedInstantiation__Group_2__0");
- put(grammarAccess.getNamedInstantiationAccess().getGroup_5(), "rule__NamedInstantiation__Group_5__0");
- put(grammarAccess.getImmediateInstantiationAccess().getGroup(), "rule__ImmediateInstantiation__Group__0");
- put(grammarAccess.getImmediateInstantiationAccess().getGroup_2(), "rule__ImmediateInstantiation__Group_2__0");
+ put(grammarAccess.getComponentDefinitionAccess().getGroup_3_0(), "rule__ComponentDefinition__Group_3_0__0");
+ put(grammarAccess.getComponentDefinitionAccess().getGroup_3_1(), "rule__ComponentDefinition__Group_3_1__0");
+ put(grammarAccess.getComponentDefinitionAccess().getGroup_3_2(), "rule__ComponentDefinition__Group_3_2__0");
+ put(grammarAccess.getComponentDefinitionAccess().getGroup_3_3(), "rule__ComponentDefinition__Group_3_3__0");
+ put(grammarAccess.getInstantiationAccess().getGroup(), "rule__Instantiation__Group__0");
+ put(grammarAccess.getInstantiationAccess().getGroup_0_0(), "rule__Instantiation__Group_0_0__0");
+ put(grammarAccess.getInstantiationAccess().getGroup_0_0_1(), "rule__Instantiation__Group_0_0_1__0");
+ put(grammarAccess.getInstantiationAccess().getGroup_0_1(), "rule__Instantiation__Group_0_1__0");
+ put(grammarAccess.getInstantiationAccess().getGroup_2(), "rule__Instantiation__Group_2__0");
put(grammarAccess.getComponentInstanceAccess().getGroup(), "rule__ComponentInstance__Group__0");
put(grammarAccess.getComponentInstanceAccess().getGroup_2(), "rule__ComponentInstance__Group_2__0");
put(grammarAccess.getComponentInstanceAccess().getGroup_3(), "rule__ComponentInstance__Group_3__0");
@@ -107,11 +118,11 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getEnumPropertyAccess().getGroup_0_0(), "rule__EnumProperty__Group_0_0__0");
put(grammarAccess.getEnumPropertyAccess().getGroup_0_1(), "rule__EnumProperty__Group_0_1__0");
put(grammarAccess.getRootAccess().getIncludesAssignment_0(), "rule__Root__IncludesAssignment_0");
- put(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1(), "rule__Root__ComponentDefinitionsAssignment_1");
- put(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2(), "rule__Root__EnumDefinitionsAssignment_2");
- put(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3(), "rule__Root__NamedInstantiationsAssignment_3");
- put(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4(), "rule__Root__PropertyAssignmentsAssignment_4");
- put(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5(), "rule__Root__PropertyDefinitionsAssignment_5");
+ put(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0(), "rule__Root__ComponentDefinitionsAssignment_1_0");
+ put(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0(), "rule__Root__EnumDefinitionsAssignment_2_0");
+ put(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0(), "rule__Root__InstantiationsAssignment_3_0");
+ put(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0(), "rule__Root__PropertyAssignmentsAssignment_4_0");
+ put(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0(), "rule__Root__PropertyDefinitionsAssignment_5_0");
put(grammarAccess.getIncludeAccess().getImportURIAssignment_1(), "rule__Include__ImportURIAssignment_1");
put(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1(), "rule__PropertyDefinition__NameAssignment_1");
put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2(), "rule__PropertyDefinition__TypeAssignment_3_0_2");
@@ -137,28 +148,25 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1(), "rule__PropertyUsage__ComponentsAssignment_3_1");
put(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0(), "rule__ComponentDefinition__TypeAssignment_0");
put(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1(), "rule__ComponentDefinition__NameAssignment_1");
- put(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0(), "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0");
- put(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1(), "rule__ComponentDefinition__NamedInstantiationsAssignment_3_1");
- put(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2(), "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2");
- put(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3(), "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3");
- put(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5(), "rule__ComponentDefinition__ImmediateInstantiationAssignment_5");
- put(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0(), "rule__NamedInstantiation__ExternalAssignment_0");
- put(grammarAccess.getNamedInstantiationAccess().getInternalAssignment_1(), "rule__NamedInstantiation__InternalAssignment_1");
- put(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1(), "rule__NamedInstantiation__AliasAssignment_2_1");
- put(grammarAccess.getNamedInstantiationAccess().getComponentAssignment_3(), "rule__NamedInstantiation__ComponentAssignment_3");
- put(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4(), "rule__NamedInstantiation__ComponentInstancesAssignment_4");
- put(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_5_1(), "rule__NamedInstantiation__ComponentInstancesAssignment_5_1");
- put(grammarAccess.getImmediateInstantiationAccess().getExternalAssignment_0(), "rule__ImmediateInstantiation__ExternalAssignment_0");
- put(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_1(), "rule__ImmediateInstantiation__ComponentInstancesAssignment_1");
- put(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_2_1(), "rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1");
+ put(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0(), "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0");
+ put(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0(), "rule__ComponentDefinition__InstantiationsAssignment_3_1_0");
+ put(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0(), "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0");
+ put(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0(), "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0");
+ put(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0(), "rule__Instantiation__InstanceTypeAssignment_0_0_0");
+ put(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1(), "rule__Instantiation__AliasAssignment_0_0_1_1");
+ put(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2(), "rule__Instantiation__ComponentRefAssignment_0_0_2");
+ put(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0(), "rule__Instantiation__ComponentAssignment_0_1_0");
+ put(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1(), "rule__Instantiation__InstanceTypeAssignment_0_1_1");
+ put(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1(), "rule__Instantiation__ComponentInstancesAssignment_1");
+ put(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1(), "rule__Instantiation__ComponentInstancesAssignment_2_1");
put(grammarAccess.getComponentInstanceAccess().getNameAssignment_0(), "rule__ComponentInstance__NameAssignment_0");
put(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1(), "rule__ComponentInstance__RangeAssignment_1");
put(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1(), "rule__ComponentInstance__ResetAssignment_2_1");
put(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1(), "rule__ComponentInstance__AddressAssignment_3_1");
put(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1(), "rule__ComponentInstance__AddrIncAssignment_4_1");
put(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1(), "rule__ComponentInstance__AddrModAssignment_5_1");
- put(grammarAccess.getRangeAccess().getStartAssignment_1_0_0(), "rule__Range__StartAssignment_1_0_0");
- put(grammarAccess.getRangeAccess().getEndAssignment_1_0_2(), "rule__Range__EndAssignment_1_0_2");
+ put(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0(), "rule__Range__LeftAssignment_1_0_0");
+ put(grammarAccess.getRangeAccess().getRightAssignment_1_0_2(), "rule__Range__RightAssignment_1_0_2");
put(grammarAccess.getRangeAccess().getSizeAssignment_1_1(), "rule__Range__SizeAssignment_1_1");
put(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0(), "rule__ExplicitPropertyAssignment__ModifierAssignment_0_0");
put(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1(), "rule__ExplicitPropertyAssignment__NameAssignment_0_1");
@@ -198,6 +206,8 @@ public class RDLParser extends AbstractContentAssistParser {
put(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2(), "rule__EnumProperty__ValueAssignment_0_0_2");
put(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0(), "rule__EnumProperty__NameAssignment_0_1_0");
put(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2(), "rule__EnumProperty__ValueAssignment_0_1_2");
+ put(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0(), "rule__EnumInstanceType__EXTERNALAssignment_0");
+ put(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1(), "rule__EnumInstanceType__INTERNALAssignment_1");
}
};
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.g b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.g
index ab80566..db3853c 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.g
+++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.g
@@ -5,6 +5,7 @@ grammar InternalRDL;
options {
superClass=AbstractInternalContentAssistParser;
+ backtrack=true;
}
@lexer::header {
@@ -199,50 +200,25 @@ finally {
restoreStackSize(stackSize);
}
-// Entry rule entryRuleNamedInstantiation
-entryRuleNamedInstantiation
+// Entry rule entryRuleInstantiation
+entryRuleInstantiation
:
-{ before(grammarAccess.getNamedInstantiationRule()); }
- ruleNamedInstantiation
-{ after(grammarAccess.getNamedInstantiationRule()); }
+{ before(grammarAccess.getInstantiationRule()); }
+ ruleInstantiation
+{ after(grammarAccess.getInstantiationRule()); }
EOF
;
-// Rule NamedInstantiation
-ruleNamedInstantiation
+// Rule Instantiation
+ruleInstantiation
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getGroup()); }
- (rule__NamedInstantiation__Group__0)
- { after(grammarAccess.getNamedInstantiationAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleImmediateInstantiation
-entryRuleImmediateInstantiation
-:
-{ before(grammarAccess.getImmediateInstantiationRule()); }
- ruleImmediateInstantiation
-{ after(grammarAccess.getImmediateInstantiationRule()); }
- EOF
-;
-
-// Rule ImmediateInstantiation
-ruleImmediateInstantiation
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getImmediateInstantiationAccess().getGroup()); }
- (rule__ImmediateInstantiation__Group__0)
- { after(grammarAccess.getImmediateInstantiationAccess().getGroup()); }
+ { before(grammarAccess.getInstantiationAccess().getGroup()); }
+ (rule__Instantiation__Group__0)
+ { after(grammarAccess.getInstantiationAccess().getGroup()); }
)
;
finally {
@@ -674,6 +650,31 @@ finally {
restoreStackSize(stackSize);
}
+// Entry rule entryRuleEnumInstanceType
+entryRuleEnumInstanceType
+:
+{ before(grammarAccess.getEnumInstanceTypeRule()); }
+ ruleEnumInstanceType
+{ after(grammarAccess.getEnumInstanceTypeRule()); }
+ EOF
+;
+
+// Rule EnumInstanceType
+ruleEnumInstanceType
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getAlternatives()); }
+ (rule__EnumInstanceType__Alternatives)
+ { after(grammarAccess.getEnumInstanceTypeAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
// Rule PropertyTypeName
rulePropertyTypeName
@init {
@@ -782,33 +783,33 @@ rule__Root__Alternatives
)
|
(
- { before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1()); }
- (rule__Root__ComponentDefinitionsAssignment_1)
- { after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1()); }
+ { before(grammarAccess.getRootAccess().getGroup_1()); }
+ (rule__Root__Group_1__0)
+ { after(grammarAccess.getRootAccess().getGroup_1()); }
)
|
(
- { before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2()); }
- (rule__Root__EnumDefinitionsAssignment_2)
- { after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2()); }
+ { before(grammarAccess.getRootAccess().getGroup_2()); }
+ (rule__Root__Group_2__0)
+ { after(grammarAccess.getRootAccess().getGroup_2()); }
)
|
(
- { before(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3()); }
- (rule__Root__NamedInstantiationsAssignment_3)
- { after(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3()); }
+ { before(grammarAccess.getRootAccess().getGroup_3()); }
+ (rule__Root__Group_3__0)
+ { after(grammarAccess.getRootAccess().getGroup_3()); }
)
|
(
- { before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4()); }
- (rule__Root__PropertyAssignmentsAssignment_4)
- { after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4()); }
+ { before(grammarAccess.getRootAccess().getGroup_4()); }
+ (rule__Root__Group_4__0)
+ { after(grammarAccess.getRootAccess().getGroup_4()); }
)
|
(
- { before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5()); }
- (rule__Root__PropertyDefinitionsAssignment_5)
- { after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5()); }
+ { before(grammarAccess.getRootAccess().getGroup_5()); }
+ (rule__Root__Group_5__0)
+ { after(grammarAccess.getRootAccess().getGroup_5()); }
)
;
finally {
@@ -944,27 +945,48 @@ rule__ComponentDefinition__Alternatives_3
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0()); }
- (rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0)
- { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); }
+ (rule__ComponentDefinition__Group_3_0__0)
+ { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); }
)
|
(
- { before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1()); }
- (rule__ComponentDefinition__NamedInstantiationsAssignment_3_1)
- { after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); }
+ (rule__ComponentDefinition__Group_3_1__0)
+ { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); }
)
|
(
- { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2()); }
- (rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2)
- { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); }
+ (rule__ComponentDefinition__Group_3_2__0)
+ { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); }
)
|
(
- { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3()); }
- (rule__ComponentDefinition__EnumDefinitionsAssignment_3_3)
- { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_3()); }
+ (rule__ComponentDefinition__Group_3_3__0)
+ { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_3()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getInstantiationAccess().getGroup_0_0()); }
+ (rule__Instantiation__Group_0_0__0)
+ { after(grammarAccess.getInstantiationAccess().getGroup_0_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getInstantiationAccess().getGroup_0_1()); }
+ (rule__Instantiation__Group_0_1__0)
+ { after(grammarAccess.getInstantiationAccess().getGroup_0_1()); }
)
;
finally {
@@ -1205,6 +1227,27 @@ finally {
restoreStackSize(stackSize);
}
+rule__EnumInstanceType__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0()); }
+ (rule__EnumInstanceType__EXTERNALAssignment_0)
+ { after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1()); }
+ (rule__EnumInstanceType__INTERNALAssignment_1)
+ { after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
rule__PropertyTypeName__Alternatives
@init {
int stackSize = keepStackSize();
@@ -1937,6 +1980,276 @@ finally {
restoreStackSize(stackSize);
}
+rule__Root__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_1__0__Impl
+ rule__Root__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0()); }
+ (rule__Root__ComponentDefinitionsAssignment_1_0)
+ { after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); }
+ ';'
+ { after(grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Root__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_2__0__Impl
+ rule__Root__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0()); }
+ (rule__Root__EnumDefinitionsAssignment_2_0)
+ { after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); }
+ ';'
+ { after(grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Root__Group_3__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_3__0__Impl
+ rule__Root__Group_3__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_3__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0()); }
+ (rule__Root__InstantiationsAssignment_3_0)
+ { after(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_3__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_3__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_3__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); }
+ ';'
+ { after(grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Root__Group_4__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_4__0__Impl
+ rule__Root__Group_4__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_4__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0()); }
+ (rule__Root__PropertyAssignmentsAssignment_4_0)
+ { after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_4__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_4__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_4__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); }
+ ';'
+ { after(grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Root__Group_5__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_5__0__Impl
+ rule__Root__Group_5__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_5__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0()); }
+ (rule__Root__PropertyDefinitionsAssignment_5_0)
+ { after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_5__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Root__Group_5__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Root__Group_5__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); }
+ ';'
+ { after(grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
rule__Include__Group__0
@init {
int stackSize = keepStackSize();
@@ -3455,7 +3768,6 @@ rule__ComponentDefinition__Group__4
}
:
rule__ComponentDefinition__Group__4__Impl
- rule__ComponentDefinition__Group__5
;
finally {
restoreStackSize(stackSize);
@@ -3476,53 +3788,54 @@ finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__Group__5
+
+rule__ComponentDefinition__Group_3_0__0
@init {
int stackSize = keepStackSize();
}
:
- rule__ComponentDefinition__Group__5__Impl
- rule__ComponentDefinition__Group__6
+ rule__ComponentDefinition__Group_3_0__0__Impl
+ rule__ComponentDefinition__Group_3_0__1
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__Group__5__Impl
+rule__ComponentDefinition__Group_3_0__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5()); }
- (rule__ComponentDefinition__ImmediateInstantiationAssignment_5)?
- { after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0()); }
+ (rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0)
+ { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__Group__6
+rule__ComponentDefinition__Group_3_0__1
@init {
int stackSize = keepStackSize();
}
:
- rule__ComponentDefinition__Group__6__Impl
+ rule__ComponentDefinition__Group_3_0__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__Group__6__Impl
+rule__ComponentDefinition__Group_3_0__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); }
';'
- { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6()); }
+ { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); }
)
;
finally {
@@ -3530,188 +3843,53 @@ finally {
}
-rule__NamedInstantiation__Group__0
+rule__ComponentDefinition__Group_3_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__NamedInstantiation__Group__0__Impl
- rule__NamedInstantiation__Group__1
+ rule__ComponentDefinition__Group_3_1__0__Impl
+ rule__ComponentDefinition__Group_3_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group__0__Impl
+rule__ComponentDefinition__Group_3_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0()); }
- (rule__NamedInstantiation__ExternalAssignment_0)?
- { after(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0()); }
+ (rule__ComponentDefinition__InstantiationsAssignment_3_1_0)
+ { after(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group__1
+rule__ComponentDefinition__Group_3_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__NamedInstantiation__Group__1__Impl
- rule__NamedInstantiation__Group__2
+ rule__ComponentDefinition__Group_3_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group__1__Impl
+rule__ComponentDefinition__Group_3_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getInternalAssignment_1()); }
- (rule__NamedInstantiation__InternalAssignment_1)?
- { after(grammarAccess.getNamedInstantiationAccess().getInternalAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__NamedInstantiation__Group__2__Impl
- rule__NamedInstantiation__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getNamedInstantiationAccess().getGroup_2()); }
- (rule__NamedInstantiation__Group_2__0)?
- { after(grammarAccess.getNamedInstantiationAccess().getGroup_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__NamedInstantiation__Group__3__Impl
- rule__NamedInstantiation__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentAssignment_3()); }
- (rule__NamedInstantiation__ComponentAssignment_3)
- { after(grammarAccess.getNamedInstantiationAccess().getComponentAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__NamedInstantiation__Group__4__Impl
- rule__NamedInstantiation__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4()); }
- (rule__NamedInstantiation__ComponentInstancesAssignment_4)
- { after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__NamedInstantiation__Group__5__Impl
- rule__NamedInstantiation__Group__6
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getNamedInstantiationAccess().getGroup_5()); }
- (rule__NamedInstantiation__Group_5__0)*
- { after(grammarAccess.getNamedInstantiationAccess().getGroup_5()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__6
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__NamedInstantiation__Group__6__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__Group__6__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); }
';'
- { after(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6()); }
+ { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); }
)
;
finally {
@@ -3719,53 +3897,323 @@ finally {
}
-rule__NamedInstantiation__Group_2__0
+rule__ComponentDefinition__Group_3_2__0
@init {
int stackSize = keepStackSize();
}
:
- rule__NamedInstantiation__Group_2__0__Impl
- rule__NamedInstantiation__Group_2__1
+ rule__ComponentDefinition__Group_3_2__0__Impl
+ rule__ComponentDefinition__Group_3_2__1
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group_2__0__Impl
+rule__ComponentDefinition__Group_3_2__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0()); }
+ (rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0)
+ { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComponentDefinition__Group_3_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComponentDefinition__Group_3_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComponentDefinition__Group_3_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); }
+ ';'
+ { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ComponentDefinition__Group_3_3__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComponentDefinition__Group_3_3__0__Impl
+ rule__ComponentDefinition__Group_3_3__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComponentDefinition__Group_3_3__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0()); }
+ (rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0)
+ { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComponentDefinition__Group_3_3__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComponentDefinition__Group_3_3__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComponentDefinition__Group_3_3__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); }
+ ';'
+ { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Instantiation__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group__0__Impl
+ rule__Instantiation__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getAlternatives_0()); }
+ (rule__Instantiation__Alternatives_0)
+ { after(grammarAccess.getInstantiationAccess().getAlternatives_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group__1__Impl
+ rule__Instantiation__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1()); }
+ (rule__Instantiation__ComponentInstancesAssignment_1)
+ { after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getGroup_2()); }
+ (rule__Instantiation__Group_2__0)*
+ { after(grammarAccess.getInstantiationAccess().getGroup_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Instantiation__Group_0_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group_0_0__0__Impl
+ rule__Instantiation__Group_0_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0()); }
+ (rule__Instantiation__InstanceTypeAssignment_0_0_0)?
+ { after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group_0_0__1__Impl
+ rule__Instantiation__Group_0_0__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getGroup_0_0_1()); }
+ (rule__Instantiation__Group_0_0_1__0)?
+ { after(grammarAccess.getInstantiationAccess().getGroup_0_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_0__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group_0_0__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_0__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2()); }
+ (rule__Instantiation__ComponentRefAssignment_0_0_2)
+ { after(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Instantiation__Group_0_0_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group_0_0_1__0__Impl
+ rule__Instantiation__Group_0_0_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_0_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); }
'alias'
- { after(grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0()); }
+ { after(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group_2__1
+rule__Instantiation__Group_0_0_1__1
@init {
int stackSize = keepStackSize();
}
:
- rule__NamedInstantiation__Group_2__1__Impl
+ rule__Instantiation__Group_0_0_1__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group_2__1__Impl
+rule__Instantiation__Group_0_0_1__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1()); }
- (rule__NamedInstantiation__AliasAssignment_2_1)
- { after(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1()); }
+ { before(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1()); }
+ (rule__Instantiation__AliasAssignment_0_0_1_1)
+ { after(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1()); }
)
;
finally {
@@ -3773,188 +4221,107 @@ finally {
}
-rule__NamedInstantiation__Group_5__0
+rule__Instantiation__Group_0_1__0
@init {
int stackSize = keepStackSize();
}
:
- rule__NamedInstantiation__Group_5__0__Impl
- rule__NamedInstantiation__Group_5__1
+ rule__Instantiation__Group_0_1__0__Impl
+ rule__Instantiation__Group_0_1__1
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group_5__0__Impl
+rule__Instantiation__Group_0_1__0__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0()); }
+ { before(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0()); }
+ (rule__Instantiation__ComponentAssignment_0_1_0)
+ { after(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group_0_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_0_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1()); }
+ (rule__Instantiation__InstanceTypeAssignment_0_1_1)?
+ { after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Instantiation__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Instantiation__Group_2__0__Impl
+ rule__Instantiation__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); }
','
- { after(grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0()); }
+ { after(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group_5__1
+rule__Instantiation__Group_2__1
@init {
int stackSize = keepStackSize();
}
:
- rule__NamedInstantiation__Group_5__1__Impl
+ rule__Instantiation__Group_2__1__Impl
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__Group_5__1__Impl
+rule__Instantiation__Group_2__1__Impl
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_5_1()); }
- (rule__NamedInstantiation__ComponentInstancesAssignment_5_1)
- { after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_5_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ImmediateInstantiation__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImmediateInstantiation__Group__0__Impl
- rule__ImmediateInstantiation__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getImmediateInstantiationAccess().getExternalAssignment_0()); }
- (rule__ImmediateInstantiation__ExternalAssignment_0)?
- { after(grammarAccess.getImmediateInstantiationAccess().getExternalAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImmediateInstantiation__Group__1__Impl
- rule__ImmediateInstantiation__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_1()); }
- (rule__ImmediateInstantiation__ComponentInstancesAssignment_1)
- { after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImmediateInstantiation__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getImmediateInstantiationAccess().getGroup_2()); }
- (rule__ImmediateInstantiation__Group_2__0)*
- { after(grammarAccess.getImmediateInstantiationAccess().getGroup_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ImmediateInstantiation__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImmediateInstantiation__Group_2__0__Impl
- rule__ImmediateInstantiation__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getImmediateInstantiationAccess().getCommaKeyword_2_0()); }
- ','
- { after(grammarAccess.getImmediateInstantiationAccess().getCommaKeyword_2_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImmediateInstantiation__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_2_1()); }
- (rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1)
- { after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_2_1()); }
+ { before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1()); }
+ (rule__Instantiation__ComponentInstancesAssignment_2_1)
+ { after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1()); }
)
;
finally {
@@ -4439,9 +4806,9 @@ rule__Range__Group_1_0__0__Impl
}
:
(
- { before(grammarAccess.getRangeAccess().getStartAssignment_1_0_0()); }
- (rule__Range__StartAssignment_1_0_0)
- { after(grammarAccess.getRangeAccess().getStartAssignment_1_0_0()); }
+ { before(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0()); }
+ (rule__Range__LeftAssignment_1_0_0)
+ { after(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0()); }
)
;
finally {
@@ -4492,9 +4859,9 @@ rule__Range__Group_1_0__2__Impl
}
:
(
- { before(grammarAccess.getRangeAccess().getEndAssignment_1_0_2()); }
- (rule__Range__EndAssignment_1_0_2)
- { after(grammarAccess.getRangeAccess().getEndAssignment_1_0_2()); }
+ { before(grammarAccess.getRangeAccess().getRightAssignment_1_0_2()); }
+ (rule__Range__RightAssignment_1_0_2)
+ { after(grammarAccess.getRangeAccess().getRightAssignment_1_0_2()); }
)
;
finally {
@@ -4589,7 +4956,6 @@ rule__ExplicitPropertyAssignment__Group_0__1
}
:
rule__ExplicitPropertyAssignment__Group_0__1__Impl
- rule__ExplicitPropertyAssignment__Group_0__2
;
finally {
restoreStackSize(stackSize);
@@ -4610,32 +4976,6 @@ finally {
restoreStackSize(stackSize);
}
-rule__ExplicitPropertyAssignment__Group_0__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExplicitPropertyAssignment__Group_0__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExplicitPropertyAssignment__Group_0__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2()); }
- ';'
- { after(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
rule__ExplicitPropertyAssignment__Group_1__0
@init {
@@ -4670,7 +5010,6 @@ rule__ExplicitPropertyAssignment__Group_1__1
}
:
rule__ExplicitPropertyAssignment__Group_1__1__Impl
- rule__ExplicitPropertyAssignment__Group_1__2
;
finally {
restoreStackSize(stackSize);
@@ -4691,32 +5030,6 @@ finally {
restoreStackSize(stackSize);
}
-rule__ExplicitPropertyAssignment__Group_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExplicitPropertyAssignment__Group_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExplicitPropertyAssignment__Group_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2()); }
- ';'
- { after(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
rule__ExplicitPropertyAssignment__Group_1_1__0
@init {
@@ -4805,7 +5118,6 @@ rule__PostPropertyAssignment__Group__1
}
:
rule__PostPropertyAssignment__Group__1__Impl
- rule__PostPropertyAssignment__Group__2
;
finally {
restoreStackSize(stackSize);
@@ -4826,32 +5138,6 @@ finally {
restoreStackSize(stackSize);
}
-rule__PostPropertyAssignment__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PostPropertyAssignment__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PostPropertyAssignment__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2()); }
- ';'
- { after(grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
rule__PostPropertyAssignment__Group_0_0__0
@init {
@@ -5615,7 +5901,6 @@ rule__EnumDefinition__Group__2
}
:
rule__EnumDefinition__Group__2__Impl
- rule__EnumDefinition__Group__3
;
finally {
restoreStackSize(stackSize);
@@ -5636,32 +5921,6 @@ finally {
restoreStackSize(stackSize);
}
-rule__EnumDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__EnumDefinition__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__EnumDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3()); }
- ';'
- { after(grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
rule__EnumBody__Group__0
@init {
@@ -6218,75 +6477,75 @@ finally {
restoreStackSize(stackSize);
}
-rule__Root__ComponentDefinitionsAssignment_1
+rule__Root__ComponentDefinitionsAssignment_1_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); }
+ { before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); }
ruleComponentDefinition
- { after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); }
+ { after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Root__EnumDefinitionsAssignment_2
+rule__Root__EnumDefinitionsAssignment_2_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); }
+ { before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); }
ruleEnumDefinition
- { after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); }
+ { after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Root__NamedInstantiationsAssignment_3
+rule__Root__InstantiationsAssignment_3_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); }
- ruleNamedInstantiation
- { after(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); }
+ { before(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); }
+ ruleInstantiation
+ { after(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Root__PropertyAssignmentsAssignment_4
+rule__Root__PropertyAssignmentsAssignment_4_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); }
+ { before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); }
rulePropertyAssignment
- { after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); }
+ { after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Root__PropertyDefinitionsAssignment_5
+rule__Root__PropertyDefinitionsAssignment_5_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); }
+ { before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); }
rulePropertyDefinition
- { after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); }
+ { after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); }
)
;
finally {
@@ -6676,226 +6935,169 @@ finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0
+rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); }
ruleComponentDefinition
- { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); }
+ { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__NamedInstantiationsAssignment_3_1
+rule__ComponentDefinition__InstantiationsAssignment_3_1_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); }
- ruleNamedInstantiation
- { after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); }
+ ruleInstantiation
+ { after(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2
+rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); }
rulePropertyAssignment
- { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); }
+ { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__EnumDefinitionsAssignment_3_3
+rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); }
+ { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); }
ruleEnumDefinition
- { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); }
+ { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__ComponentDefinition__ImmediateInstantiationAssignment_5
+rule__Instantiation__InstanceTypeAssignment_0_0_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0()); }
- ruleImmediateInstantiation
- { after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0()); }
+ { before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); }
+ ruleEnumInstanceType
+ { after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__ExternalAssignment_0
+rule__Instantiation__AliasAssignment_0_0_1_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); }
- (
- { before(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); }
- 'external'
- { after(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); }
- )
- { after(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__InternalAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); }
- (
- { before(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); }
- 'internal'
- { after(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); }
- )
- { after(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NamedInstantiation__AliasAssignment_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0()); }
+ { before(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); }
RULE_ID
- { after(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0()); }
+ { after(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__ComponentAssignment_3
+rule__Instantiation__ComponentRefAssignment_0_0_2
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0()); }
+ { before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); }
(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionIDTerminalRuleCall_3_0_1()); }
+ { before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1()); }
RULE_ID
- { after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionIDTerminalRuleCall_3_0_1()); }
+ { after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1()); }
)
- { after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0()); }
+ { after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__ComponentInstancesAssignment_4
+rule__Instantiation__ComponentAssignment_0_1_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); }
+ { before(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); }
+ ruleComponentDefinition
+ { after(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__InstanceTypeAssignment_0_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); }
+ ruleEnumInstanceType
+ { after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Instantiation__ComponentInstancesAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); }
ruleComponentInstance
- { after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); }
+ { after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__NamedInstantiation__ComponentInstancesAssignment_5_1
+rule__Instantiation__ComponentInstancesAssignment_2_1
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0()); }
+ { before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); }
ruleComponentInstance
- { after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__ExternalAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0()); }
- (
- { before(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0()); }
- 'external'
- { after(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0()); }
- )
- { after(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__ComponentInstancesAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); }
- ruleComponentInstance
- { after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); }
- ruleComponentInstance
- { after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); }
+ { after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); }
)
;
finally {
@@ -6992,30 +7194,30 @@ finally {
restoreStackSize(stackSize);
}
-rule__Range__StartAssignment_1_0_0
+rule__Range__LeftAssignment_1_0_0
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0()); }
+ { before(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); }
RULE_NUM
- { after(grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0()); }
+ { after(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); }
)
;
finally {
restoreStackSize(stackSize);
}
-rule__Range__EndAssignment_1_0_2
+rule__Range__RightAssignment_1_0_2
@init {
int stackSize = keepStackSize();
}
:
(
- { before(grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0()); }
+ { before(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); }
RULE_NUM
- { after(grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0()); }
+ { after(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); }
)
;
finally {
@@ -7639,6 +7841,44 @@ finally {
restoreStackSize(stackSize);
}
+rule__EnumInstanceType__EXTERNALAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); }
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); }
+ 'external'
+ { after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); }
+ )
+ { after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__EnumInstanceType__INTERNALAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); }
+ (
+ { before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); }
+ 'internal'
+ { after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); }
+ )
+ { after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
RULE_ID : '\\'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
RULE_WS : (' '|'\t'|'\r'|'\n')+;
diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.tokens b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.tokens
index 422c759..d6fdea9 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.tokens
+++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.tokens
@@ -4,13 +4,13 @@
'->'=131
'.'=132
':'=130
-';'=117
+';'=113
'='=119
'@'=125
'UNDEFINED'=97
'['=128
']'=129
-'`include'=113
+'`include'=114
'accesswidth'=81
'activehigh'=60
'activelow'=61
@@ -78,7 +78,7 @@
'overflow'=44
'posedge'=108
'precedence'=85
-'property'=114
+'property'=115
'r'=102
'rclr'=26
'ref'=19
@@ -118,9 +118,9 @@
'woset'=28
'wr'=101
'xored'=42
-'{'=115
+'{'=116
'|'=122
-'}'=116
+'}'=117
RULE_ESCAPE_JSP=10
RULE_ESCAPE_ORDL=11
RULE_ID=5
diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLLexer.java b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLLexer.java
index c7a06da..8f4ab6e 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLLexer.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLLexer.java
@@ -2282,11 +2282,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__113;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:112:8: ( '`include' )
- // InternalRDL.g:112:10: '`include'
+ // InternalRDL.g:112:8: ( ';' )
+ // InternalRDL.g:112:10: ';'
{
- match("`include");
-
+ match(';');
}
@@ -2303,10 +2302,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__114;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:113:8: ( 'property' )
- // InternalRDL.g:113:10: 'property'
+ // InternalRDL.g:113:8: ( '`include' )
+ // InternalRDL.g:113:10: '`include'
{
- match("property");
+ match("`include");
}
@@ -2324,10 +2323,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__115;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:114:8: ( '{' )
- // InternalRDL.g:114:10: '{'
+ // InternalRDL.g:114:8: ( 'property' )
+ // InternalRDL.g:114:10: 'property'
{
- match('{');
+ match("property");
+
}
@@ -2344,10 +2344,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__116;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:115:8: ( '}' )
- // InternalRDL.g:115:10: '}'
+ // InternalRDL.g:115:8: ( '{' )
+ // InternalRDL.g:115:10: '{'
{
- match('}');
+ match('{');
}
@@ -2364,10 +2364,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__117;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:116:8: ( ';' )
- // InternalRDL.g:116:10: ';'
+ // InternalRDL.g:116:8: ( '}' )
+ // InternalRDL.g:116:10: '}'
{
- match(';');
+ match('}');
}
@@ -2733,10 +2733,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7642:9: ( ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalRDL.g:7642:11: ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalRDL.g:7882:9: ( ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalRDL.g:7882:11: ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalRDL.g:7642:11: ( '\\\\' )?
+ // InternalRDL.g:7882:11: ( '\\\\' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -2745,7 +2745,7 @@ public class InternalRDLLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // InternalRDL.g:7642:11: '\\\\'
+ // InternalRDL.g:7882:11: '\\\\'
{
match('\\');
@@ -2763,7 +2763,7 @@ public class InternalRDLLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalRDL.g:7642:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalRDL.g:7882:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -2812,10 +2812,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7644:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalRDL.g:7644:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalRDL.g:7884:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalRDL.g:7884:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalRDL.g:7644:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalRDL.g:7884:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt3=0;
loop3:
do {
@@ -2869,12 +2869,12 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7646:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalRDL.g:7646:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalRDL.g:7886:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalRDL.g:7886:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalRDL.g:7646:24: ( options {greedy=false; } : . )*
+ // InternalRDL.g:7886:24: ( options {greedy=false; } : . )*
loop4:
do {
int alt4=2;
@@ -2899,7 +2899,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt4) {
case 1 :
- // InternalRDL.g:7646:52: .
+ // InternalRDL.g:7886:52: .
{
matchAny();
@@ -2929,12 +2929,12 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7648:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalRDL.g:7648:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalRDL.g:7888:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalRDL.g:7888:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalRDL.g:7648:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // InternalRDL.g:7888:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop5:
do {
int alt5=2;
@@ -2947,7 +2947,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt5) {
case 1 :
- // InternalRDL.g:7648:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalRDL.g:7888:24: ~ ( ( '\\n' | '\\r' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -2967,7 +2967,7 @@ public class InternalRDLLexer extends Lexer {
}
} while (true);
- // InternalRDL.g:7648:40: ( ( '\\r' )? '\\n' )?
+ // InternalRDL.g:7888:40: ( ( '\\r' )? '\\n' )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -2976,9 +2976,9 @@ public class InternalRDLLexer extends Lexer {
}
switch (alt7) {
case 1 :
- // InternalRDL.g:7648:41: ( '\\r' )? '\\n'
+ // InternalRDL.g:7888:41: ( '\\r' )? '\\n'
{
- // InternalRDL.g:7648:41: ( '\\r' )?
+ // InternalRDL.g:7888:41: ( '\\r' )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -2987,7 +2987,7 @@ public class InternalRDLLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // InternalRDL.g:7648:41: '\\r'
+ // InternalRDL.g:7888:41: '\\r'
{
match('\r');
@@ -3019,12 +3019,12 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ESCAPE_JSP;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7650:17: ( '<%' ( options {greedy=false; } : . )* '%>' )
- // InternalRDL.g:7650:19: '<%' ( options {greedy=false; } : . )* '%>'
+ // InternalRDL.g:7890:17: ( '<%' ( options {greedy=false; } : . )* '%>' )
+ // InternalRDL.g:7890:19: '<%' ( options {greedy=false; } : . )* '%>'
{
match("<%");
- // InternalRDL.g:7650:24: ( options {greedy=false; } : . )*
+ // InternalRDL.g:7890:24: ( options {greedy=false; } : . )*
loop8:
do {
int alt8=2;
@@ -3049,7 +3049,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt8) {
case 1 :
- // InternalRDL.g:7650:52: .
+ // InternalRDL.g:7890:52: .
{
matchAny();
@@ -3079,11 +3079,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ESCAPE_ORDL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7652:18: ( '(' ( options {greedy=false; } : . )* ')' )
- // InternalRDL.g:7652:20: '(' ( options {greedy=false; } : . )* ')'
+ // InternalRDL.g:7892:18: ( '(' ( options {greedy=false; } : . )* ')' )
+ // InternalRDL.g:7892:20: '(' ( options {greedy=false; } : . )* ')'
{
match('(');
- // InternalRDL.g:7652:24: ( options {greedy=false; } : . )*
+ // InternalRDL.g:7892:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@@ -3099,7 +3099,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt9) {
case 1 :
- // InternalRDL.g:7652:52: .
+ // InternalRDL.g:7892:52: .
{
matchAny();
@@ -3128,17 +3128,17 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_NUM;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7654:10: ( ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) )
- // InternalRDL.g:7654:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
+ // InternalRDL.g:7894:10: ( ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) )
+ // InternalRDL.g:7894:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
{
- // InternalRDL.g:7654:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
+ // InternalRDL.g:7894:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
int alt20=6;
alt20 = dfa20.predict(input);
switch (alt20) {
case 1 :
- // InternalRDL.g:7654:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+
+ // InternalRDL.g:7894:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+
{
- // InternalRDL.g:7654:13: ( '0' .. '9' )+
+ // InternalRDL.g:7894:13: ( '0' .. '9' )+
int cnt10=0;
loop10:
do {
@@ -3152,7 +3152,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt10) {
case 1 :
- // InternalRDL.g:7654:14: '0' .. '9'
+ // InternalRDL.g:7894:14: '0' .. '9'
{
matchRange('0','9');
@@ -3170,7 +3170,7 @@ public class InternalRDLLexer extends Lexer {
match("'b");
- // InternalRDL.g:7654:31: ( '0' | '1' | '_' )+
+ // InternalRDL.g:7894:31: ( '0' | '1' | '_' )+
int cnt11=0;
loop11:
do {
@@ -3212,9 +3212,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 2 :
- // InternalRDL.g:7654:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+
+ // InternalRDL.g:7894:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+
{
- // InternalRDL.g:7654:46: ( '0' .. '9' )+
+ // InternalRDL.g:7894:46: ( '0' .. '9' )+
int cnt12=0;
loop12:
do {
@@ -3228,7 +3228,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt12) {
case 1 :
- // InternalRDL.g:7654:47: '0' .. '9'
+ // InternalRDL.g:7894:47: '0' .. '9'
{
matchRange('0','9');
@@ -3246,7 +3246,7 @@ public class InternalRDLLexer extends Lexer {
match("'o");
- // InternalRDL.g:7654:64: ( '0' .. '7' | '_' )+
+ // InternalRDL.g:7894:64: ( '0' .. '7' | '_' )+
int cnt13=0;
loop13:
do {
@@ -3288,9 +3288,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 3 :
- // InternalRDL.g:7654:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
+ // InternalRDL.g:7894:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
{
- // InternalRDL.g:7654:80: ( '0' .. '9' )+
+ // InternalRDL.g:7894:80: ( '0' .. '9' )+
int cnt14=0;
loop14:
do {
@@ -3304,7 +3304,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt14) {
case 1 :
- // InternalRDL.g:7654:81: '0' .. '9'
+ // InternalRDL.g:7894:81: '0' .. '9'
{
matchRange('0','9');
@@ -3322,7 +3322,7 @@ public class InternalRDLLexer extends Lexer {
match("'h");
- // InternalRDL.g:7654:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
+ // InternalRDL.g:7894:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
int cnt15=0;
loop15:
do {
@@ -3364,9 +3364,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 4 :
- // InternalRDL.g:7654:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+
+ // InternalRDL.g:7894:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+
{
- // InternalRDL.g:7654:132: ( '0' .. '9' )+
+ // InternalRDL.g:7894:132: ( '0' .. '9' )+
int cnt16=0;
loop16:
do {
@@ -3380,7 +3380,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt16) {
case 1 :
- // InternalRDL.g:7654:133: '0' .. '9'
+ // InternalRDL.g:7894:133: '0' .. '9'
{
matchRange('0','9');
@@ -3398,7 +3398,7 @@ public class InternalRDLLexer extends Lexer {
match("'d");
- // InternalRDL.g:7654:150: ( '0' .. '9' | '_' )+
+ // InternalRDL.g:7894:150: ( '0' .. '9' | '_' )+
int cnt17=0;
loop17:
do {
@@ -3440,11 +3440,11 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 5 :
- // InternalRDL.g:7654:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalRDL.g:7894:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
match("0x");
- // InternalRDL.g:7654:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalRDL.g:7894:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt18=0;
loop18:
do {
@@ -3486,9 +3486,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 6 :
- // InternalRDL.g:7654:201: ( '0' .. '9' )+
+ // InternalRDL.g:7894:201: ( '0' .. '9' )+
{
- // InternalRDL.g:7654:201: ( '0' .. '9' )+
+ // InternalRDL.g:7894:201: ( '0' .. '9' )+
int cnt19=0;
loop19:
do {
@@ -3502,7 +3502,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt19) {
case 1 :
- // InternalRDL.g:7654:202: '0' .. '9'
+ // InternalRDL.g:7894:202: '0' .. '9'
{
matchRange('0','9');
@@ -3540,11 +3540,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_STR;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:7656:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // InternalRDL.g:7656:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalRDL.g:7896:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalRDL.g:7896:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalRDL.g:7656:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ // InternalRDL.g:7896:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
loop21:
do {
int alt21=3;
@@ -3560,7 +3560,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt21) {
case 1 :
- // InternalRDL.g:7656:17: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // InternalRDL.g:7896:17: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
@@ -3576,7 +3576,7 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 2 :
- // InternalRDL.g:7656:62: ~ ( ( '\\\\' | '\"' ) )
+ // InternalRDL.g:7896:62: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -4593,7 +4593,7 @@ public class InternalRDLLexer extends Lexer {
this.transition = DFA20_transition;
}
public String getDescription() {
- return "7654:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )";
+ return "7894:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )";
}
}
static final String DFA22_eotS =
@@ -4605,11 +4605,11 @@ public class InternalRDLLexer extends Lexer {
static final String DFA22_maxS =
"\1\175\1\171\1\165\1\162\1\163\1\172\1\165\1\157\1\172\1\167\1\156\1\166\1\157\1\160\1\170\2\163\1\156\1\171\1\162\1\116\21\uffff\1\57\4\uffff\1\162\1\156\1\172\1\141\1\156\1\164\1\155\1\172\1\170\1\156\1\164\1\147\1\151\1\144\1\154\1\142\1\144\1\171\1\164\1\163\1\166\1\154\1\172\1\uffff\1\145\2\154\1\163\1\156\1\163\2\172\1\uffff\1\172\1\154\1\164\2\145\1\162\2\165\1\157\1\162\1\165\2\164\1\142\1\166\1\142\1\163\1\144\1\162\1\165\1\160\1\157\1\163\1\104\2\uffff\1\151\1\143\1\156\1\147\1\145\1\157\1\143\1\uffff\1\162\1\143\1\165\1\142\1\145\1\uffff\1\164\1\145\1\163\1\154\1\150\1\145\1\144\1\162\1\172\1\147\1\151\1\145\1\156\1\151\1\145\2\172\1\145\1\164\1\144\1\162\1\uffff\1\154\1\163\1\154\1\143\1\162\1\141\1\164\1\154\1\145\1\172\2\uffff\1\145\1\154\1\156\1\141\1\uffff\1\164\2\162\1\144\1\162\1\145\1\156\1\160\1\151\1\143\1\145\1\157\1\142\1\155\1\145\1\164\1\60\1\145\1\60\1\153\4\145\1\143\1\160\1\145\1\105\1\156\1\153\1\141\1\154\1\172\1\144\1\143\1\145\1\172\1\162\1\145\2\172\1\144\1\164\2\145\1\156\1\147\1\155\1\uffff\1\156\1\163\1\164\1\144\1\143\1\166\1\163\2\151\1\154\2\uffff\1\164\1\172\1\163\1\172\1\144\1\145\1\141\2\172\1\165\1\164\1\162\1\164\1\uffff\1\164\1\162\1\141\1\163\2\172\1\162\2\172\1\146\1\144\1\164\1\157\1\146\1\153\1\170\1\144\1\154\1\172\1\162\1\154\1\172\1\154\2\172\1\162\1\163\2\172\2\145\1\144\1\106\1\147\1\171\1\154\1\145\1\172\1\uffff\2\172\1\144\1\uffff\1\141\1\162\2\uffff\1\147\1\151\1\141\2\144\1\145\1\141\1\163\1\155\1\172\1\145\2\172\1\145\1\163\1\154\1\144\1\151\1\172\1\uffff\1\145\1\uffff\2\172\1\154\1\uffff\1\151\2\141\1\150\1\uffff\1\154\1\157\1\145\4\172\1\142\1\153\1\141\1\156\2\uffff\1\156\1\151\1\141\2\uffff\1\154\1\172\1\145\1\143\1\156\1\137\1\172\1\164\2\145\1\uffff\1\156\1\145\1\uffff\1\172\2\uffff\1\146\1\150\2\uffff\1\144\1\162\1\147\1\111\3\172\1\160\3\uffff\1\172\1\164\1\172\1\145\1\143\1\156\1\147\1\151\1\172\1\160\1\163\1\145\1\uffff\1\162\2\uffff\1\154\1\167\1\145\1\164\1\147\1\151\1\uffff\1\164\1\162\1\151\2\uffff\1\151\1\144\1\154\1\164\1\162\1\164\1\155\1\163\4\uffff\1\154\1\172\1\163\2\141\1\144\1\154\1\157\1\uffff\1\162\1\164\1\145\1\162\1\uffff\1\142\2\172\1\141\1\145\1\uffff\1\154\1\157\1\145\1\164\1\145\1\116\1\uffff\1\151\1\uffff\1\151\1\uffff\1\165\1\170\1\uffff\1\145\1\uffff\1\172\1\153\1\172\1\145\1\141\1\uffff\1\172\1\151\1\156\1\172\1\151\1\157\1\151\1\172\1\150\1\156\1\147\1\172\1\145\1\144\1\147\1\164\2\165\1\145\1\172\1\160\1\164\1\145\1\uffff\1\153\1\142\1\154\1\164\1\165\1\167\2\172\1\156\1\145\1\165\2\uffff\1\154\1\156\1\157\1\154\1\156\1\171\1\172\1\105\1\164\1\144\1\154\1\164\1\172\1\uffff\1\171\1\uffff\1\172\1\156\1\uffff\1\156\1\164\1\uffff\1\147\1\167\1\144\1\uffff\2\172\1\156\1\172\1\uffff\1\163\1\164\1\156\1\150\1\145\1\162\1\163\1\uffff\1\141\3\172\1\154\1\172\1\150\1\145\1\172\2\uffff\1\164\2\163\1\172\1\144\1\167\1\144\1\143\1\172\1\uffff\1\104\1\172\1\164\1\163\1\142\1\uffff\1\172\1\uffff\1\172\1\147\1\172\1\150\1\172\1\164\2\uffff\1\141\1\uffff\1\145\1\150\3\172\1\141\1\150\1\162\3\uffff\1\145\1\uffff\2\172\1\uffff\1\172\1\145\1\172\1\uffff\1\151\2\172\1\145\1\uffff\1\172\1\uffff\1\150\1\145\1\165\2\uffff\1\172\1\uffff\1\172\1\uffff\1\150\1\154\1\164\1\172\3\uffff\1\164\1\157\1\145\1\172\3\uffff\1\164\1\uffff\1\141\2\uffff\1\172\1\uffff\2\172\1\163\2\uffff\3\172\1\uffff\1\145\1\154\1\172\1\uffff\1\172\1\156\3\uffff\1\172\3\uffff\1\172\1\144\2\uffff\1\172\2\uffff\1\172\2\uffff";
static final String DFA22_acceptS =
- "\25\uffff\1\146\1\150\1\151\1\152\1\154\1\157\1\161\1\162\1\163\1\164\1\165\1\166\1\167\1\170\1\171\1\174\1\175\1\uffff\1\u0080\1\u0081\1\u0082\1\u0083\27\uffff\1\133\10\uffff\1\134\30\uffff\1\176\1\177\7\uffff\1\107\5\uffff\1\135\25\uffff\1\131\12\uffff\1\22\1\132\4\uffff\1\110\60\uffff\1\12\12\uffff\1\5\1\10\15\uffff\1\23\46\uffff\1\24\3\uffff\1\55\2\uffff\1\13\1\125\23\uffff\1\16\1\uffff\1\17\3\uffff\1\14\4\uffff\1\66\13\uffff\1\124\1\34\3\uffff\1\65\1\36\12\uffff\1\172\2\uffff\1\54\1\uffff\1\53\1\116\2\uffff\1\127\1\153\10\uffff\1\25\1\30\1\31\14\uffff\1\160\1\uffff\1\35\1\56\6\uffff\1\44\3\uffff\1\7\1\130\10\uffff\1\20\1\21\1\26\1\27\10\uffff\1\37\4\uffff\1\115\5\uffff\1\144\6\uffff\1\1\1\uffff\1\32\1\uffff\1\11\2\uffff\1\52\1\uffff\1\2\5\uffff\1\51\27\uffff\1\121\13\uffff\1\113\1\117\15\uffff\1\142\1\uffff\1\3\2\uffff\1\4\2\uffff\1\15\3\uffff\1\6\4\uffff\1\47\7\uffff\1\155\11\uffff\1\40\1\136\11\uffff\1\141\5\uffff\1\73\1\uffff\1\143\6\uffff\1\103\1\137\1\uffff\1\50\10\uffff\1\100\1\120\1\122\1\uffff\1\101\2\uffff\1\41\3\uffff\1\173\4\uffff\1\147\1\uffff\1\33\3\uffff\1\145\1\46\1\uffff\1\102\1\uffff\1\62\4\uffff\1\140\1\70\1\72\4\uffff\1\67\1\71\1\156\1\uffff\1\43\1\uffff\1\64\1\75\1\uffff\1\126\3\uffff\1\111\1\61\3\uffff\1\104\3\uffff\1\123\2\uffff\1\112\1\105\1\63\1\uffff\1\106\1\114\1\60\2\uffff\1\77\1\57\1\uffff\1\42\1\74\1\uffff\1\45\1\76";
+ "\25\uffff\1\146\1\147\1\151\1\152\1\154\1\157\1\161\1\162\1\163\1\164\1\165\1\166\1\167\1\170\1\171\1\174\1\175\1\uffff\1\u0080\1\u0081\1\u0082\1\u0083\27\uffff\1\133\10\uffff\1\134\30\uffff\1\176\1\177\7\uffff\1\107\5\uffff\1\135\25\uffff\1\131\12\uffff\1\22\1\132\4\uffff\1\110\60\uffff\1\12\12\uffff\1\5\1\10\15\uffff\1\23\46\uffff\1\24\3\uffff\1\55\2\uffff\1\13\1\125\23\uffff\1\16\1\uffff\1\17\3\uffff\1\14\4\uffff\1\66\13\uffff\1\124\1\34\3\uffff\1\65\1\36\12\uffff\1\172\2\uffff\1\54\1\uffff\1\53\1\116\2\uffff\1\127\1\153\10\uffff\1\25\1\30\1\31\14\uffff\1\160\1\uffff\1\35\1\56\6\uffff\1\44\3\uffff\1\7\1\130\10\uffff\1\20\1\21\1\26\1\27\10\uffff\1\37\4\uffff\1\115\5\uffff\1\144\6\uffff\1\1\1\uffff\1\32\1\uffff\1\11\2\uffff\1\52\1\uffff\1\2\5\uffff\1\51\27\uffff\1\121\13\uffff\1\113\1\117\15\uffff\1\142\1\uffff\1\3\2\uffff\1\4\2\uffff\1\15\3\uffff\1\6\4\uffff\1\47\7\uffff\1\155\11\uffff\1\40\1\136\11\uffff\1\141\5\uffff\1\73\1\uffff\1\143\6\uffff\1\103\1\137\1\uffff\1\50\10\uffff\1\100\1\120\1\122\1\uffff\1\101\2\uffff\1\41\3\uffff\1\173\4\uffff\1\150\1\uffff\1\33\3\uffff\1\145\1\46\1\uffff\1\102\1\uffff\1\62\4\uffff\1\140\1\70\1\72\4\uffff\1\67\1\71\1\156\1\uffff\1\43\1\uffff\1\64\1\75\1\uffff\1\126\3\uffff\1\111\1\61\3\uffff\1\104\3\uffff\1\123\2\uffff\1\112\1\105\1\63\1\uffff\1\106\1\114\1\60\2\uffff\1\77\1\57\1\uffff\1\42\1\74\1\uffff\1\45\1\76";
static final String DFA22_specialS =
"\u0284\uffff}>";
static final String[] DFA22_transitionS = {
- "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\52\2\uffff\1\36\2\uffff\1\50\2\uffff\1\35\1\33\1\42\1\43\1\46\12\51\1\41\1\30\1\47\1\31\2\uffff\1\34\24\44\1\24\5\44\1\37\1\44\1\40\1\uffff\1\44\1\25\1\4\1\3\1\15\1\7\1\16\1\6\1\44\1\11\1\12\2\44\1\17\1\20\1\2\1\13\1\23\1\44\1\5\1\1\1\22\1\21\1\44\1\10\1\14\2\44\1\26\1\32\1\27",
+ "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\52\2\uffff\1\36\2\uffff\1\50\2\uffff\1\35\1\33\1\42\1\43\1\46\12\51\1\41\1\25\1\47\1\31\2\uffff\1\34\24\44\1\24\5\44\1\37\1\44\1\40\1\uffff\1\44\1\26\1\4\1\3\1\15\1\7\1\16\1\6\1\44\1\11\1\12\2\44\1\17\1\20\1\2\1\13\1\23\1\44\1\5\1\1\1\22\1\21\1\44\1\10\1\14\2\44\1\27\1\32\1\30",
"\1\60\6\uffff\1\56\1\54\12\uffff\1\53\2\uffff\1\55\1\uffff\1\57",
"\1\62\3\uffff\1\63\11\uffff\1\64\5\uffff\1\61",
"\1\66\5\uffff\1\65\2\uffff\1\67",
diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLParser.java b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLParser.java
index 93c1789..f05ee42 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLParser.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLParser.java
@@ -18,11 +18,12 @@ import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-
+import java.util.Map;
+import java.util.HashMap;
@SuppressWarnings("all")
public class InternalRDLParser extends AbstractInternalContentAssistParser {
public static final String[] tokenNames = new String[] {
- "", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL", "'string'", "'number'", "'boolean'", "'addrmap'", "'reg'", "'regfile'", "'field'", "'ref'", "'signal'", "'all'", "'name'", "'desc'", "'arbiter'", "'rset'", "'rclr'", "'woclr'", "'woset'", "'we'", "'wel'", "'swwe'", "'swwel'", "'hwset'", "'hwclr'", "'swmod'", "'swacc'", "'sticky'", "'stickybit'", "'intr'", "'anded'", "'ored'", "'xored'", "'counter'", "'overflow'", "'sharedextbus'", "'errextbus'", "'reset'", "'littleendian'", "'bigendian'", "'rsvdset'", "'rsvdsetX'", "'bridge'", "'shared'", "'msb0'", "'lsb0'", "'sync'", "'async'", "'cpuif_reset'", "'field_reset'", "'activehigh'", "'activelow'", "'singlepulse'", "'underflow'", "'incr'", "'decr'", "'incrwidth'", "'decrwidth'", "'incrvalue'", "'decrvalue'", "'saturate'", "'decrsaturate'", "'threshold'", "'decrthreshold'", "'dontcompare'", "'donttest'", "'internal'", "'alignment'", "'regwidth'", "'fieldwidth'", "'signalwidth'", "'accesswidth'", "'sw'", "'hw'", "'addressing'", "'precedence'", "'encode'", "'resetsignal'", "'clock'", "'mask'", "'enable'", "'hwenable'", "'hwmask'", "'haltmask'", "'haltenable'", "'halt'", "'next'", "'UNDEFINED'", "'true'", "'false'", "'rw'", "'wr'", "'r'", "'w'", "'na'", "'compact'", "'regalign'", "'fullalign'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'", "'`include'", "'property'", "'{'", "'}'", "';'", "'type'", "'='", "'default'", "'component'", "'|'", "'alias'", "','", "'@'", "'+='", "'%='", "'['", "']'", "':'", "'->'", "'.'", "'enum'", "'external'"
+ "", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL", "'string'", "'number'", "'boolean'", "'addrmap'", "'reg'", "'regfile'", "'field'", "'ref'", "'signal'", "'all'", "'name'", "'desc'", "'arbiter'", "'rset'", "'rclr'", "'woclr'", "'woset'", "'we'", "'wel'", "'swwe'", "'swwel'", "'hwset'", "'hwclr'", "'swmod'", "'swacc'", "'sticky'", "'stickybit'", "'intr'", "'anded'", "'ored'", "'xored'", "'counter'", "'overflow'", "'sharedextbus'", "'errextbus'", "'reset'", "'littleendian'", "'bigendian'", "'rsvdset'", "'rsvdsetX'", "'bridge'", "'shared'", "'msb0'", "'lsb0'", "'sync'", "'async'", "'cpuif_reset'", "'field_reset'", "'activehigh'", "'activelow'", "'singlepulse'", "'underflow'", "'incr'", "'decr'", "'incrwidth'", "'decrwidth'", "'incrvalue'", "'decrvalue'", "'saturate'", "'decrsaturate'", "'threshold'", "'decrthreshold'", "'dontcompare'", "'donttest'", "'internal'", "'alignment'", "'regwidth'", "'fieldwidth'", "'signalwidth'", "'accesswidth'", "'sw'", "'hw'", "'addressing'", "'precedence'", "'encode'", "'resetsignal'", "'clock'", "'mask'", "'enable'", "'hwenable'", "'hwmask'", "'haltmask'", "'haltenable'", "'halt'", "'next'", "'UNDEFINED'", "'true'", "'false'", "'rw'", "'wr'", "'r'", "'w'", "'na'", "'compact'", "'regalign'", "'fullalign'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'", "';'", "'`include'", "'property'", "'{'", "'}'", "'type'", "'='", "'default'", "'component'", "'|'", "'alias'", "','", "'@'", "'+='", "'%='", "'['", "']'", "':'", "'->'", "'.'", "'enum'", "'external'"
};
public static final int T__50=50;
public static final int T__59=59;
@@ -193,20 +194,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleRoot"
- // InternalRDL.g:53:1: entryRuleRoot : ruleRoot EOF ;
+ // InternalRDL.g:54:1: entryRuleRoot : ruleRoot EOF ;
public final void entryRuleRoot() throws RecognitionException {
try {
- // InternalRDL.g:54:1: ( ruleRoot EOF )
- // InternalRDL.g:55:1: ruleRoot EOF
+ // InternalRDL.g:55:1: ( ruleRoot EOF )
+ // InternalRDL.g:56:1: ruleRoot EOF
{
- before(grammarAccess.getRootRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootRule());
+ }
pushFollow(FOLLOW_1);
ruleRoot();
state._fsp--;
-
- after(grammarAccess.getRootRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -223,39 +228,41 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleRoot"
- // InternalRDL.g:62:1: ruleRoot : ( ( rule__Root__Alternatives )* ) ;
+ // InternalRDL.g:63:1: ruleRoot : ( ( rule__Root__Alternatives )* ) ;
public final void ruleRoot() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:66:2: ( ( ( rule__Root__Alternatives )* ) )
- // InternalRDL.g:67:2: ( ( rule__Root__Alternatives )* )
+ // InternalRDL.g:67:2: ( ( ( rule__Root__Alternatives )* ) )
+ // InternalRDL.g:68:2: ( ( rule__Root__Alternatives )* )
{
- // InternalRDL.g:67:2: ( ( rule__Root__Alternatives )* )
- // InternalRDL.g:68:3: ( rule__Root__Alternatives )*
- {
- before(grammarAccess.getRootAccess().getAlternatives());
+ // InternalRDL.g:68:2: ( ( rule__Root__Alternatives )* )
// InternalRDL.g:69:3: ( rule__Root__Alternatives )*
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getAlternatives());
+ }
+ // InternalRDL.g:70:3: ( rule__Root__Alternatives )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==RULE_ID||(LA1_0>=15 && LA1_0<=18)||LA1_0==20||(LA1_0>=22 && LA1_0<=97)||(LA1_0>=108 && LA1_0<=114)||LA1_0==120||LA1_0==123||(LA1_0>=133 && LA1_0<=134)) ) {
+ if ( (LA1_0==RULE_ID||(LA1_0>=15 && LA1_0<=18)||LA1_0==20||(LA1_0>=22 && LA1_0<=97)||(LA1_0>=108 && LA1_0<=112)||(LA1_0>=114 && LA1_0<=115)||LA1_0==120||LA1_0==123||(LA1_0>=133 && LA1_0<=134)) ) {
alt1=1;
}
switch (alt1) {
case 1 :
- // InternalRDL.g:69:4: rule__Root__Alternatives
+ // InternalRDL.g:70:4: rule__Root__Alternatives
{
pushFollow(FOLLOW_3);
rule__Root__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
@@ -265,7 +272,9 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
} while (true);
- after(grammarAccess.getRootAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getAlternatives());
+ }
}
@@ -288,20 +297,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleInclude"
- // InternalRDL.g:78:1: entryRuleInclude : ruleInclude EOF ;
+ // InternalRDL.g:79:1: entryRuleInclude : ruleInclude EOF ;
public final void entryRuleInclude() throws RecognitionException {
try {
- // InternalRDL.g:79:1: ( ruleInclude EOF )
- // InternalRDL.g:80:1: ruleInclude EOF
+ // InternalRDL.g:80:1: ( ruleInclude EOF )
+ // InternalRDL.g:81:1: ruleInclude EOF
{
- before(grammarAccess.getIncludeRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getIncludeRule());
+ }
pushFollow(FOLLOW_1);
ruleInclude();
state._fsp--;
-
- after(grammarAccess.getIncludeRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getIncludeRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -318,31 +331,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleInclude"
- // InternalRDL.g:87:1: ruleInclude : ( ( rule__Include__Group__0 ) ) ;
+ // InternalRDL.g:88:1: ruleInclude : ( ( rule__Include__Group__0 ) ) ;
public final void ruleInclude() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:91:2: ( ( ( rule__Include__Group__0 ) ) )
- // InternalRDL.g:92:2: ( ( rule__Include__Group__0 ) )
+ // InternalRDL.g:92:2: ( ( ( rule__Include__Group__0 ) ) )
+ // InternalRDL.g:93:2: ( ( rule__Include__Group__0 ) )
{
- // InternalRDL.g:92:2: ( ( rule__Include__Group__0 ) )
- // InternalRDL.g:93:3: ( rule__Include__Group__0 )
- {
- before(grammarAccess.getIncludeAccess().getGroup());
+ // InternalRDL.g:93:2: ( ( rule__Include__Group__0 ) )
// InternalRDL.g:94:3: ( rule__Include__Group__0 )
- // InternalRDL.g:94:4: rule__Include__Group__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getIncludeAccess().getGroup());
+ }
+ // InternalRDL.g:95:3: ( rule__Include__Group__0 )
+ // InternalRDL.g:95:4: rule__Include__Group__0
{
pushFollow(FOLLOW_2);
rule__Include__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getIncludeAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getIncludeAccess().getGroup());
+ }
}
@@ -365,20 +382,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePropertyDefinition"
- // InternalRDL.g:103:1: entryRulePropertyDefinition : rulePropertyDefinition EOF ;
+ // InternalRDL.g:104:1: entryRulePropertyDefinition : rulePropertyDefinition EOF ;
public final void entryRulePropertyDefinition() throws RecognitionException {
try {
- // InternalRDL.g:104:1: ( rulePropertyDefinition EOF )
- // InternalRDL.g:105:1: rulePropertyDefinition EOF
+ // InternalRDL.g:105:1: ( rulePropertyDefinition EOF )
+ // InternalRDL.g:106:1: rulePropertyDefinition EOF
{
- before(grammarAccess.getPropertyDefinitionRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionRule());
+ }
pushFollow(FOLLOW_1);
rulePropertyDefinition();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -395,31 +416,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyDefinition"
- // InternalRDL.g:112:1: rulePropertyDefinition : ( ( rule__PropertyDefinition__Group__0 ) ) ;
+ // InternalRDL.g:113:1: rulePropertyDefinition : ( ( rule__PropertyDefinition__Group__0 ) ) ;
public final void rulePropertyDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:116:2: ( ( ( rule__PropertyDefinition__Group__0 ) ) )
- // InternalRDL.g:117:2: ( ( rule__PropertyDefinition__Group__0 ) )
+ // InternalRDL.g:117:2: ( ( ( rule__PropertyDefinition__Group__0 ) ) )
+ // InternalRDL.g:118:2: ( ( rule__PropertyDefinition__Group__0 ) )
{
- // InternalRDL.g:117:2: ( ( rule__PropertyDefinition__Group__0 ) )
- // InternalRDL.g:118:3: ( rule__PropertyDefinition__Group__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup());
+ // InternalRDL.g:118:2: ( ( rule__PropertyDefinition__Group__0 ) )
// InternalRDL.g:119:3: ( rule__PropertyDefinition__Group__0 )
- // InternalRDL.g:119:4: rule__PropertyDefinition__Group__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup());
+ }
+ // InternalRDL.g:120:3: ( rule__PropertyDefinition__Group__0 )
+ // InternalRDL.g:120:4: rule__PropertyDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup());
+ }
}
@@ -442,20 +467,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePropertyDefault"
- // InternalRDL.g:128:1: entryRulePropertyDefault : rulePropertyDefault EOF ;
+ // InternalRDL.g:129:1: entryRulePropertyDefault : rulePropertyDefault EOF ;
public final void entryRulePropertyDefault() throws RecognitionException {
try {
- // InternalRDL.g:129:1: ( rulePropertyDefault EOF )
- // InternalRDL.g:130:1: rulePropertyDefault EOF
+ // InternalRDL.g:130:1: ( rulePropertyDefault EOF )
+ // InternalRDL.g:131:1: rulePropertyDefault EOF
{
- before(grammarAccess.getPropertyDefaultRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultRule());
+ }
pushFollow(FOLLOW_1);
rulePropertyDefault();
state._fsp--;
-
- after(grammarAccess.getPropertyDefaultRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -472,31 +501,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyDefault"
- // InternalRDL.g:137:1: rulePropertyDefault : ( ( rule__PropertyDefault__Group__0 ) ) ;
+ // InternalRDL.g:138:1: rulePropertyDefault : ( ( rule__PropertyDefault__Group__0 ) ) ;
public final void rulePropertyDefault() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:141:2: ( ( ( rule__PropertyDefault__Group__0 ) ) )
- // InternalRDL.g:142:2: ( ( rule__PropertyDefault__Group__0 ) )
+ // InternalRDL.g:142:2: ( ( ( rule__PropertyDefault__Group__0 ) ) )
+ // InternalRDL.g:143:2: ( ( rule__PropertyDefault__Group__0 ) )
{
- // InternalRDL.g:142:2: ( ( rule__PropertyDefault__Group__0 ) )
- // InternalRDL.g:143:3: ( rule__PropertyDefault__Group__0 )
- {
- before(grammarAccess.getPropertyDefaultAccess().getGroup());
+ // InternalRDL.g:143:2: ( ( rule__PropertyDefault__Group__0 ) )
// InternalRDL.g:144:3: ( rule__PropertyDefault__Group__0 )
- // InternalRDL.g:144:4: rule__PropertyDefault__Group__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getGroup());
+ }
+ // InternalRDL.g:145:3: ( rule__PropertyDefault__Group__0 )
+ // InternalRDL.g:145:4: rule__PropertyDefault__Group__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefaultAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getGroup());
+ }
}
@@ -519,20 +552,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePropertyUsage"
- // InternalRDL.g:153:1: entryRulePropertyUsage : rulePropertyUsage EOF ;
+ // InternalRDL.g:154:1: entryRulePropertyUsage : rulePropertyUsage EOF ;
public final void entryRulePropertyUsage() throws RecognitionException {
try {
- // InternalRDL.g:154:1: ( rulePropertyUsage EOF )
- // InternalRDL.g:155:1: rulePropertyUsage EOF
+ // InternalRDL.g:155:1: ( rulePropertyUsage EOF )
+ // InternalRDL.g:156:1: rulePropertyUsage EOF
{
- before(grammarAccess.getPropertyUsageRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageRule());
+ }
pushFollow(FOLLOW_1);
rulePropertyUsage();
state._fsp--;
-
- after(grammarAccess.getPropertyUsageRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -549,31 +586,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyUsage"
- // InternalRDL.g:162:1: rulePropertyUsage : ( ( rule__PropertyUsage__Group__0 ) ) ;
+ // InternalRDL.g:163:1: rulePropertyUsage : ( ( rule__PropertyUsage__Group__0 ) ) ;
public final void rulePropertyUsage() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:166:2: ( ( ( rule__PropertyUsage__Group__0 ) ) )
- // InternalRDL.g:167:2: ( ( rule__PropertyUsage__Group__0 ) )
+ // InternalRDL.g:167:2: ( ( ( rule__PropertyUsage__Group__0 ) ) )
+ // InternalRDL.g:168:2: ( ( rule__PropertyUsage__Group__0 ) )
{
- // InternalRDL.g:167:2: ( ( rule__PropertyUsage__Group__0 ) )
- // InternalRDL.g:168:3: ( rule__PropertyUsage__Group__0 )
- {
- before(grammarAccess.getPropertyUsageAccess().getGroup());
+ // InternalRDL.g:168:2: ( ( rule__PropertyUsage__Group__0 ) )
// InternalRDL.g:169:3: ( rule__PropertyUsage__Group__0 )
- // InternalRDL.g:169:4: rule__PropertyUsage__Group__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getGroup());
+ }
+ // InternalRDL.g:170:3: ( rule__PropertyUsage__Group__0 )
+ // InternalRDL.g:170:4: rule__PropertyUsage__Group__0
{
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyUsageAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getGroup());
+ }
}
@@ -596,20 +637,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleComponentDefinition"
- // InternalRDL.g:178:1: entryRuleComponentDefinition : ruleComponentDefinition EOF ;
+ // InternalRDL.g:179:1: entryRuleComponentDefinition : ruleComponentDefinition EOF ;
public final void entryRuleComponentDefinition() throws RecognitionException {
try {
- // InternalRDL.g:179:1: ( ruleComponentDefinition EOF )
- // InternalRDL.g:180:1: ruleComponentDefinition EOF
+ // InternalRDL.g:180:1: ( ruleComponentDefinition EOF )
+ // InternalRDL.g:181:1: ruleComponentDefinition EOF
{
- before(grammarAccess.getComponentDefinitionRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionRule());
+ }
pushFollow(FOLLOW_1);
ruleComponentDefinition();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -626,31 +671,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleComponentDefinition"
- // InternalRDL.g:187:1: ruleComponentDefinition : ( ( rule__ComponentDefinition__Group__0 ) ) ;
+ // InternalRDL.g:188:1: ruleComponentDefinition : ( ( rule__ComponentDefinition__Group__0 ) ) ;
public final void ruleComponentDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:191:2: ( ( ( rule__ComponentDefinition__Group__0 ) ) )
- // InternalRDL.g:192:2: ( ( rule__ComponentDefinition__Group__0 ) )
+ // InternalRDL.g:192:2: ( ( ( rule__ComponentDefinition__Group__0 ) ) )
+ // InternalRDL.g:193:2: ( ( rule__ComponentDefinition__Group__0 ) )
{
- // InternalRDL.g:192:2: ( ( rule__ComponentDefinition__Group__0 ) )
- // InternalRDL.g:193:3: ( rule__ComponentDefinition__Group__0 )
- {
- before(grammarAccess.getComponentDefinitionAccess().getGroup());
+ // InternalRDL.g:193:2: ( ( rule__ComponentDefinition__Group__0 ) )
// InternalRDL.g:194:3: ( rule__ComponentDefinition__Group__0 )
- // InternalRDL.g:194:4: rule__ComponentDefinition__Group__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup());
+ }
+ // InternalRDL.g:195:3: ( rule__ComponentDefinition__Group__0 )
+ // InternalRDL.g:195:4: rule__ComponentDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__ComponentDefinition__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getGroup());
+ }
}
@@ -672,21 +721,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "ruleComponentDefinition"
- // $ANTLR start "entryRuleNamedInstantiation"
- // InternalRDL.g:203:1: entryRuleNamedInstantiation : ruleNamedInstantiation EOF ;
- public final void entryRuleNamedInstantiation() throws RecognitionException {
+ // $ANTLR start "entryRuleInstantiation"
+ // InternalRDL.g:204:1: entryRuleInstantiation : ruleInstantiation EOF ;
+ public final void entryRuleInstantiation() throws RecognitionException {
try {
- // InternalRDL.g:204:1: ( ruleNamedInstantiation EOF )
- // InternalRDL.g:205:1: ruleNamedInstantiation EOF
+ // InternalRDL.g:205:1: ( ruleInstantiation EOF )
+ // InternalRDL.g:206:1: ruleInstantiation EOF
{
- before(grammarAccess.getNamedInstantiationRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationRule());
+ }
pushFollow(FOLLOW_1);
- ruleNamedInstantiation();
+ ruleInstantiation();
state._fsp--;
-
- after(grammarAccess.getNamedInstantiationRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -699,35 +752,39 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "entryRuleNamedInstantiation"
+ // $ANTLR end "entryRuleInstantiation"
- // $ANTLR start "ruleNamedInstantiation"
- // InternalRDL.g:212:1: ruleNamedInstantiation : ( ( rule__NamedInstantiation__Group__0 ) ) ;
- public final void ruleNamedInstantiation() throws RecognitionException {
+ // $ANTLR start "ruleInstantiation"
+ // InternalRDL.g:213:1: ruleInstantiation : ( ( rule__Instantiation__Group__0 ) ) ;
+ public final void ruleInstantiation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:216:2: ( ( ( rule__NamedInstantiation__Group__0 ) ) )
- // InternalRDL.g:217:2: ( ( rule__NamedInstantiation__Group__0 ) )
+ // InternalRDL.g:217:2: ( ( ( rule__Instantiation__Group__0 ) ) )
+ // InternalRDL.g:218:2: ( ( rule__Instantiation__Group__0 ) )
{
- // InternalRDL.g:217:2: ( ( rule__NamedInstantiation__Group__0 ) )
- // InternalRDL.g:218:3: ( rule__NamedInstantiation__Group__0 )
+ // InternalRDL.g:218:2: ( ( rule__Instantiation__Group__0 ) )
+ // InternalRDL.g:219:3: ( rule__Instantiation__Group__0 )
{
- before(grammarAccess.getNamedInstantiationAccess().getGroup());
- // InternalRDL.g:219:3: ( rule__NamedInstantiation__Group__0 )
- // InternalRDL.g:219:4: rule__NamedInstantiation__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getGroup());
+ }
+ // InternalRDL.g:220:3: ( rule__Instantiation__Group__0 )
+ // InternalRDL.g:220:4: rule__Instantiation__Group__0
{
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__0();
+ rule__Instantiation__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getNamedInstantiationAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getGroup());
+ }
}
@@ -746,101 +803,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "ruleNamedInstantiation"
-
-
- // $ANTLR start "entryRuleImmediateInstantiation"
- // InternalRDL.g:228:1: entryRuleImmediateInstantiation : ruleImmediateInstantiation EOF ;
- public final void entryRuleImmediateInstantiation() throws RecognitionException {
- try {
- // InternalRDL.g:229:1: ( ruleImmediateInstantiation EOF )
- // InternalRDL.g:230:1: ruleImmediateInstantiation EOF
- {
- before(grammarAccess.getImmediateInstantiationRule());
- pushFollow(FOLLOW_1);
- ruleImmediateInstantiation();
-
- state._fsp--;
-
- after(grammarAccess.getImmediateInstantiationRule());
- match(input,EOF,FOLLOW_2);
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
- }
- return ;
- }
- // $ANTLR end "entryRuleImmediateInstantiation"
-
-
- // $ANTLR start "ruleImmediateInstantiation"
- // InternalRDL.g:237:1: ruleImmediateInstantiation : ( ( rule__ImmediateInstantiation__Group__0 ) ) ;
- public final void ruleImmediateInstantiation() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:241:2: ( ( ( rule__ImmediateInstantiation__Group__0 ) ) )
- // InternalRDL.g:242:2: ( ( rule__ImmediateInstantiation__Group__0 ) )
- {
- // InternalRDL.g:242:2: ( ( rule__ImmediateInstantiation__Group__0 ) )
- // InternalRDL.g:243:3: ( rule__ImmediateInstantiation__Group__0 )
- {
- before(grammarAccess.getImmediateInstantiationAccess().getGroup());
- // InternalRDL.g:244:3: ( rule__ImmediateInstantiation__Group__0 )
- // InternalRDL.g:244:4: rule__ImmediateInstantiation__Group__0
- {
- pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__Group__0();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getImmediateInstantiationAccess().getGroup());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "ruleImmediateInstantiation"
+ // $ANTLR end "ruleInstantiation"
// $ANTLR start "entryRuleComponentInstance"
- // InternalRDL.g:253:1: entryRuleComponentInstance : ruleComponentInstance EOF ;
+ // InternalRDL.g:229:1: entryRuleComponentInstance : ruleComponentInstance EOF ;
public final void entryRuleComponentInstance() throws RecognitionException {
try {
- // InternalRDL.g:254:1: ( ruleComponentInstance EOF )
- // InternalRDL.g:255:1: ruleComponentInstance EOF
+ // InternalRDL.g:230:1: ( ruleComponentInstance EOF )
+ // InternalRDL.g:231:1: ruleComponentInstance EOF
{
- before(grammarAccess.getComponentInstanceRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceRule());
+ }
pushFollow(FOLLOW_1);
ruleComponentInstance();
state._fsp--;
-
- after(grammarAccess.getComponentInstanceRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -857,31 +841,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleComponentInstance"
- // InternalRDL.g:262:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ;
+ // InternalRDL.g:238:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ;
public final void ruleComponentInstance() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:266:2: ( ( ( rule__ComponentInstance__Group__0 ) ) )
- // InternalRDL.g:267:2: ( ( rule__ComponentInstance__Group__0 ) )
+ // InternalRDL.g:242:2: ( ( ( rule__ComponentInstance__Group__0 ) ) )
+ // InternalRDL.g:243:2: ( ( rule__ComponentInstance__Group__0 ) )
{
- // InternalRDL.g:267:2: ( ( rule__ComponentInstance__Group__0 ) )
- // InternalRDL.g:268:3: ( rule__ComponentInstance__Group__0 )
+ // InternalRDL.g:243:2: ( ( rule__ComponentInstance__Group__0 ) )
+ // InternalRDL.g:244:3: ( rule__ComponentInstance__Group__0 )
{
- before(grammarAccess.getComponentInstanceAccess().getGroup());
- // InternalRDL.g:269:3: ( rule__ComponentInstance__Group__0 )
- // InternalRDL.g:269:4: rule__ComponentInstance__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getGroup());
+ }
+ // InternalRDL.g:245:3: ( rule__ComponentInstance__Group__0 )
+ // InternalRDL.g:245:4: rule__ComponentInstance__Group__0
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentInstanceAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getGroup());
+ }
}
@@ -904,20 +892,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleRange"
- // InternalRDL.g:278:1: entryRuleRange : ruleRange EOF ;
+ // InternalRDL.g:254:1: entryRuleRange : ruleRange EOF ;
public final void entryRuleRange() throws RecognitionException {
try {
- // InternalRDL.g:279:1: ( ruleRange EOF )
- // InternalRDL.g:280:1: ruleRange EOF
+ // InternalRDL.g:255:1: ( ruleRange EOF )
+ // InternalRDL.g:256:1: ruleRange EOF
{
- before(grammarAccess.getRangeRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeRule());
+ }
pushFollow(FOLLOW_1);
ruleRange();
state._fsp--;
-
- after(grammarAccess.getRangeRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -934,31 +926,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleRange"
- // InternalRDL.g:287:1: ruleRange : ( ( rule__Range__Group__0 ) ) ;
+ // InternalRDL.g:263:1: ruleRange : ( ( rule__Range__Group__0 ) ) ;
public final void ruleRange() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:291:2: ( ( ( rule__Range__Group__0 ) ) )
- // InternalRDL.g:292:2: ( ( rule__Range__Group__0 ) )
+ // InternalRDL.g:267:2: ( ( ( rule__Range__Group__0 ) ) )
+ // InternalRDL.g:268:2: ( ( rule__Range__Group__0 ) )
{
- // InternalRDL.g:292:2: ( ( rule__Range__Group__0 ) )
- // InternalRDL.g:293:3: ( rule__Range__Group__0 )
+ // InternalRDL.g:268:2: ( ( rule__Range__Group__0 ) )
+ // InternalRDL.g:269:3: ( rule__Range__Group__0 )
{
- before(grammarAccess.getRangeAccess().getGroup());
- // InternalRDL.g:294:3: ( rule__Range__Group__0 )
- // InternalRDL.g:294:4: rule__Range__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getGroup());
+ }
+ // InternalRDL.g:270:3: ( rule__Range__Group__0 )
+ // InternalRDL.g:270:4: rule__Range__Group__0
{
pushFollow(FOLLOW_2);
rule__Range__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRangeAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getGroup());
+ }
}
@@ -981,20 +977,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePropertyAssignment"
- // InternalRDL.g:303:1: entryRulePropertyAssignment : rulePropertyAssignment EOF ;
+ // InternalRDL.g:279:1: entryRulePropertyAssignment : rulePropertyAssignment EOF ;
public final void entryRulePropertyAssignment() throws RecognitionException {
try {
- // InternalRDL.g:304:1: ( rulePropertyAssignment EOF )
- // InternalRDL.g:305:1: rulePropertyAssignment EOF
+ // InternalRDL.g:280:1: ( rulePropertyAssignment EOF )
+ // InternalRDL.g:281:1: rulePropertyAssignment EOF
{
- before(grammarAccess.getPropertyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
rulePropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1011,31 +1011,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyAssignment"
- // InternalRDL.g:312:1: rulePropertyAssignment : ( ( rule__PropertyAssignment__Alternatives ) ) ;
+ // InternalRDL.g:288:1: rulePropertyAssignment : ( ( rule__PropertyAssignment__Alternatives ) ) ;
public final void rulePropertyAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:316:2: ( ( ( rule__PropertyAssignment__Alternatives ) ) )
- // InternalRDL.g:317:2: ( ( rule__PropertyAssignment__Alternatives ) )
+ // InternalRDL.g:292:2: ( ( ( rule__PropertyAssignment__Alternatives ) ) )
+ // InternalRDL.g:293:2: ( ( rule__PropertyAssignment__Alternatives ) )
{
- // InternalRDL.g:317:2: ( ( rule__PropertyAssignment__Alternatives ) )
- // InternalRDL.g:318:3: ( rule__PropertyAssignment__Alternatives )
+ // InternalRDL.g:293:2: ( ( rule__PropertyAssignment__Alternatives ) )
+ // InternalRDL.g:294:3: ( rule__PropertyAssignment__Alternatives )
{
- before(grammarAccess.getPropertyAssignmentAccess().getAlternatives());
- // InternalRDL.g:319:3: ( rule__PropertyAssignment__Alternatives )
- // InternalRDL.g:319:4: rule__PropertyAssignment__Alternatives
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentAccess().getAlternatives());
+ }
+ // InternalRDL.g:295:3: ( rule__PropertyAssignment__Alternatives )
+ // InternalRDL.g:295:4: rule__PropertyAssignment__Alternatives
{
pushFollow(FOLLOW_2);
rule__PropertyAssignment__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentAccess().getAlternatives());
+ }
}
@@ -1058,20 +1062,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleDefaultProperyAssignment"
- // InternalRDL.g:328:1: entryRuleDefaultProperyAssignment : ruleDefaultProperyAssignment EOF ;
+ // InternalRDL.g:304:1: entryRuleDefaultProperyAssignment : ruleDefaultProperyAssignment EOF ;
public final void entryRuleDefaultProperyAssignment() throws RecognitionException {
try {
- // InternalRDL.g:329:1: ( ruleDefaultProperyAssignment EOF )
- // InternalRDL.g:330:1: ruleDefaultProperyAssignment EOF
+ // InternalRDL.g:305:1: ( ruleDefaultProperyAssignment EOF )
+ // InternalRDL.g:306:1: ruleDefaultProperyAssignment EOF
{
- before(grammarAccess.getDefaultProperyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getDefaultProperyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
ruleDefaultProperyAssignment();
state._fsp--;
-
- after(grammarAccess.getDefaultProperyAssignmentRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getDefaultProperyAssignmentRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1088,31 +1096,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleDefaultProperyAssignment"
- // InternalRDL.g:337:1: ruleDefaultProperyAssignment : ( ( rule__DefaultProperyAssignment__Group__0 ) ) ;
+ // InternalRDL.g:313:1: ruleDefaultProperyAssignment : ( ( rule__DefaultProperyAssignment__Group__0 ) ) ;
public final void ruleDefaultProperyAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:341:2: ( ( ( rule__DefaultProperyAssignment__Group__0 ) ) )
- // InternalRDL.g:342:2: ( ( rule__DefaultProperyAssignment__Group__0 ) )
+ // InternalRDL.g:317:2: ( ( ( rule__DefaultProperyAssignment__Group__0 ) ) )
+ // InternalRDL.g:318:2: ( ( rule__DefaultProperyAssignment__Group__0 ) )
{
- // InternalRDL.g:342:2: ( ( rule__DefaultProperyAssignment__Group__0 ) )
- // InternalRDL.g:343:3: ( rule__DefaultProperyAssignment__Group__0 )
+ // InternalRDL.g:318:2: ( ( rule__DefaultProperyAssignment__Group__0 ) )
+ // InternalRDL.g:319:3: ( rule__DefaultProperyAssignment__Group__0 )
{
- before(grammarAccess.getDefaultProperyAssignmentAccess().getGroup());
- // InternalRDL.g:344:3: ( rule__DefaultProperyAssignment__Group__0 )
- // InternalRDL.g:344:4: rule__DefaultProperyAssignment__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getDefaultProperyAssignmentAccess().getGroup());
+ }
+ // InternalRDL.g:320:3: ( rule__DefaultProperyAssignment__Group__0 )
+ // InternalRDL.g:320:4: rule__DefaultProperyAssignment__Group__0
{
pushFollow(FOLLOW_2);
rule__DefaultProperyAssignment__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getDefaultProperyAssignmentAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getDefaultProperyAssignmentAccess().getGroup());
+ }
}
@@ -1135,20 +1147,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleExplicitPropertyAssignment"
- // InternalRDL.g:353:1: entryRuleExplicitPropertyAssignment : ruleExplicitPropertyAssignment EOF ;
+ // InternalRDL.g:329:1: entryRuleExplicitPropertyAssignment : ruleExplicitPropertyAssignment EOF ;
public final void entryRuleExplicitPropertyAssignment() throws RecognitionException {
try {
- // InternalRDL.g:354:1: ( ruleExplicitPropertyAssignment EOF )
- // InternalRDL.g:355:1: ruleExplicitPropertyAssignment EOF
+ // InternalRDL.g:330:1: ( ruleExplicitPropertyAssignment EOF )
+ // InternalRDL.g:331:1: ruleExplicitPropertyAssignment EOF
{
- before(grammarAccess.getExplicitPropertyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
ruleExplicitPropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getExplicitPropertyAssignmentRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1165,31 +1181,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleExplicitPropertyAssignment"
- // InternalRDL.g:362:1: ruleExplicitPropertyAssignment : ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) ;
+ // InternalRDL.g:338:1: ruleExplicitPropertyAssignment : ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) ;
public final void ruleExplicitPropertyAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:366:2: ( ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) )
- // InternalRDL.g:367:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) )
+ // InternalRDL.g:342:2: ( ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) )
+ // InternalRDL.g:343:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) )
{
- // InternalRDL.g:367:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) )
- // InternalRDL.g:368:3: ( rule__ExplicitPropertyAssignment__Alternatives )
+ // InternalRDL.g:343:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) )
+ // InternalRDL.g:344:3: ( rule__ExplicitPropertyAssignment__Alternatives )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives());
- // InternalRDL.g:369:3: ( rule__ExplicitPropertyAssignment__Alternatives )
- // InternalRDL.g:369:4: rule__ExplicitPropertyAssignment__Alternatives
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives());
+ }
+ // InternalRDL.g:345:3: ( rule__ExplicitPropertyAssignment__Alternatives )
+ // InternalRDL.g:345:4: rule__ExplicitPropertyAssignment__Alternatives
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives());
+ }
}
@@ -1212,20 +1232,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePostPropertyAssignment"
- // InternalRDL.g:378:1: entryRulePostPropertyAssignment : rulePostPropertyAssignment EOF ;
+ // InternalRDL.g:354:1: entryRulePostPropertyAssignment : rulePostPropertyAssignment EOF ;
public final void entryRulePostPropertyAssignment() throws RecognitionException {
try {
- // InternalRDL.g:379:1: ( rulePostPropertyAssignment EOF )
- // InternalRDL.g:380:1: rulePostPropertyAssignment EOF
+ // InternalRDL.g:355:1: ( rulePostPropertyAssignment EOF )
+ // InternalRDL.g:356:1: rulePostPropertyAssignment EOF
{
- before(grammarAccess.getPostPropertyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
rulePostPropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getPostPropertyAssignmentRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1242,31 +1266,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePostPropertyAssignment"
- // InternalRDL.g:387:1: rulePostPropertyAssignment : ( ( rule__PostPropertyAssignment__Group__0 ) ) ;
+ // InternalRDL.g:363:1: rulePostPropertyAssignment : ( ( rule__PostPropertyAssignment__Group__0 ) ) ;
public final void rulePostPropertyAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:391:2: ( ( ( rule__PostPropertyAssignment__Group__0 ) ) )
- // InternalRDL.g:392:2: ( ( rule__PostPropertyAssignment__Group__0 ) )
+ // InternalRDL.g:367:2: ( ( ( rule__PostPropertyAssignment__Group__0 ) ) )
+ // InternalRDL.g:368:2: ( ( rule__PostPropertyAssignment__Group__0 ) )
{
- // InternalRDL.g:392:2: ( ( rule__PostPropertyAssignment__Group__0 ) )
- // InternalRDL.g:393:3: ( rule__PostPropertyAssignment__Group__0 )
+ // InternalRDL.g:368:2: ( ( rule__PostPropertyAssignment__Group__0 ) )
+ // InternalRDL.g:369:3: ( rule__PostPropertyAssignment__Group__0 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getGroup());
- // InternalRDL.g:394:3: ( rule__PostPropertyAssignment__Group__0 )
- // InternalRDL.g:394:4: rule__PostPropertyAssignment__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getGroup());
+ }
+ // InternalRDL.g:370:3: ( rule__PostPropertyAssignment__Group__0 )
+ // InternalRDL.g:370:4: rule__PostPropertyAssignment__Group__0
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getGroup());
+ }
}
@@ -1289,20 +1317,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleInstancePropertyRef"
- // InternalRDL.g:403:1: entryRuleInstancePropertyRef : ruleInstancePropertyRef EOF ;
+ // InternalRDL.g:379:1: entryRuleInstancePropertyRef : ruleInstancePropertyRef EOF ;
public final void entryRuleInstancePropertyRef() throws RecognitionException {
try {
- // InternalRDL.g:404:1: ( ruleInstancePropertyRef EOF )
- // InternalRDL.g:405:1: ruleInstancePropertyRef EOF
+ // InternalRDL.g:380:1: ( ruleInstancePropertyRef EOF )
+ // InternalRDL.g:381:1: ruleInstancePropertyRef EOF
{
- before(grammarAccess.getInstancePropertyRefRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefRule());
+ }
pushFollow(FOLLOW_1);
ruleInstancePropertyRef();
state._fsp--;
-
- after(grammarAccess.getInstancePropertyRefRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1319,31 +1351,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleInstancePropertyRef"
- // InternalRDL.g:412:1: ruleInstancePropertyRef : ( ( rule__InstancePropertyRef__Group__0 ) ) ;
+ // InternalRDL.g:388:1: ruleInstancePropertyRef : ( ( rule__InstancePropertyRef__Group__0 ) ) ;
public final void ruleInstancePropertyRef() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:416:2: ( ( ( rule__InstancePropertyRef__Group__0 ) ) )
- // InternalRDL.g:417:2: ( ( rule__InstancePropertyRef__Group__0 ) )
+ // InternalRDL.g:392:2: ( ( ( rule__InstancePropertyRef__Group__0 ) ) )
+ // InternalRDL.g:393:2: ( ( rule__InstancePropertyRef__Group__0 ) )
{
- // InternalRDL.g:417:2: ( ( rule__InstancePropertyRef__Group__0 ) )
- // InternalRDL.g:418:3: ( rule__InstancePropertyRef__Group__0 )
+ // InternalRDL.g:393:2: ( ( rule__InstancePropertyRef__Group__0 ) )
+ // InternalRDL.g:394:3: ( rule__InstancePropertyRef__Group__0 )
{
- before(grammarAccess.getInstancePropertyRefAccess().getGroup());
- // InternalRDL.g:419:3: ( rule__InstancePropertyRef__Group__0 )
- // InternalRDL.g:419:4: rule__InstancePropertyRef__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getGroup());
+ }
+ // InternalRDL.g:395:3: ( rule__InstancePropertyRef__Group__0 )
+ // InternalRDL.g:395:4: rule__InstancePropertyRef__Group__0
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstancePropertyRefAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getGroup());
+ }
}
@@ -1366,20 +1402,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleInstanceRef"
- // InternalRDL.g:428:1: entryRuleInstanceRef : ruleInstanceRef EOF ;
+ // InternalRDL.g:404:1: entryRuleInstanceRef : ruleInstanceRef EOF ;
public final void entryRuleInstanceRef() throws RecognitionException {
try {
- // InternalRDL.g:429:1: ( ruleInstanceRef EOF )
- // InternalRDL.g:430:1: ruleInstanceRef EOF
+ // InternalRDL.g:405:1: ( ruleInstanceRef EOF )
+ // InternalRDL.g:406:1: ruleInstanceRef EOF
{
- before(grammarAccess.getInstanceRefRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefRule());
+ }
pushFollow(FOLLOW_1);
ruleInstanceRef();
state._fsp--;
-
- after(grammarAccess.getInstanceRefRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1396,31 +1436,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleInstanceRef"
- // InternalRDL.g:437:1: ruleInstanceRef : ( ( rule__InstanceRef__Group__0 ) ) ;
+ // InternalRDL.g:413:1: ruleInstanceRef : ( ( rule__InstanceRef__Group__0 ) ) ;
public final void ruleInstanceRef() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:441:2: ( ( ( rule__InstanceRef__Group__0 ) ) )
- // InternalRDL.g:442:2: ( ( rule__InstanceRef__Group__0 ) )
+ // InternalRDL.g:417:2: ( ( ( rule__InstanceRef__Group__0 ) ) )
+ // InternalRDL.g:418:2: ( ( rule__InstanceRef__Group__0 ) )
{
- // InternalRDL.g:442:2: ( ( rule__InstanceRef__Group__0 ) )
- // InternalRDL.g:443:3: ( rule__InstanceRef__Group__0 )
+ // InternalRDL.g:418:2: ( ( rule__InstanceRef__Group__0 ) )
+ // InternalRDL.g:419:3: ( rule__InstanceRef__Group__0 )
{
- before(grammarAccess.getInstanceRefAccess().getGroup());
- // InternalRDL.g:444:3: ( rule__InstanceRef__Group__0 )
- // InternalRDL.g:444:4: rule__InstanceRef__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getGroup());
+ }
+ // InternalRDL.g:420:3: ( rule__InstanceRef__Group__0 )
+ // InternalRDL.g:420:4: rule__InstanceRef__Group__0
{
pushFollow(FOLLOW_2);
rule__InstanceRef__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstanceRefAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getGroup());
+ }
}
@@ -1443,20 +1487,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleHierInstanceRef"
- // InternalRDL.g:453:1: entryRuleHierInstanceRef : ruleHierInstanceRef EOF ;
+ // InternalRDL.g:429:1: entryRuleHierInstanceRef : ruleHierInstanceRef EOF ;
public final void entryRuleHierInstanceRef() throws RecognitionException {
try {
- // InternalRDL.g:454:1: ( ruleHierInstanceRef EOF )
- // InternalRDL.g:455:1: ruleHierInstanceRef EOF
+ // InternalRDL.g:430:1: ( ruleHierInstanceRef EOF )
+ // InternalRDL.g:431:1: ruleHierInstanceRef EOF
{
- before(grammarAccess.getHierInstanceRefRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefRule());
+ }
pushFollow(FOLLOW_1);
ruleHierInstanceRef();
state._fsp--;
-
- after(grammarAccess.getHierInstanceRefRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1473,31 +1521,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleHierInstanceRef"
- // InternalRDL.g:462:1: ruleHierInstanceRef : ( ( rule__HierInstanceRef__Group__0 ) ) ;
+ // InternalRDL.g:438:1: ruleHierInstanceRef : ( ( rule__HierInstanceRef__Group__0 ) ) ;
public final void ruleHierInstanceRef() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:466:2: ( ( ( rule__HierInstanceRef__Group__0 ) ) )
- // InternalRDL.g:467:2: ( ( rule__HierInstanceRef__Group__0 ) )
+ // InternalRDL.g:442:2: ( ( ( rule__HierInstanceRef__Group__0 ) ) )
+ // InternalRDL.g:443:2: ( ( rule__HierInstanceRef__Group__0 ) )
{
- // InternalRDL.g:467:2: ( ( rule__HierInstanceRef__Group__0 ) )
- // InternalRDL.g:468:3: ( rule__HierInstanceRef__Group__0 )
+ // InternalRDL.g:443:2: ( ( rule__HierInstanceRef__Group__0 ) )
+ // InternalRDL.g:444:3: ( rule__HierInstanceRef__Group__0 )
{
- before(grammarAccess.getHierInstanceRefAccess().getGroup());
- // InternalRDL.g:469:3: ( rule__HierInstanceRef__Group__0 )
- // InternalRDL.g:469:4: rule__HierInstanceRef__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getGroup());
+ }
+ // InternalRDL.g:445:3: ( rule__HierInstanceRef__Group__0 )
+ // InternalRDL.g:445:4: rule__HierInstanceRef__Group__0
{
pushFollow(FOLLOW_2);
rule__HierInstanceRef__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getHierInstanceRefAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getGroup());
+ }
}
@@ -1520,20 +1572,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePropertyAssignmentRhs"
- // InternalRDL.g:478:1: entryRulePropertyAssignmentRhs : rulePropertyAssignmentRhs EOF ;
+ // InternalRDL.g:454:1: entryRulePropertyAssignmentRhs : rulePropertyAssignmentRhs EOF ;
public final void entryRulePropertyAssignmentRhs() throws RecognitionException {
try {
- // InternalRDL.g:479:1: ( rulePropertyAssignmentRhs EOF )
- // InternalRDL.g:480:1: rulePropertyAssignmentRhs EOF
+ // InternalRDL.g:455:1: ( rulePropertyAssignmentRhs EOF )
+ // InternalRDL.g:456:1: rulePropertyAssignmentRhs EOF
{
- before(grammarAccess.getPropertyAssignmentRhsRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsRule());
+ }
pushFollow(FOLLOW_1);
rulePropertyAssignmentRhs();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentRhsRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1550,31 +1606,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyAssignmentRhs"
- // InternalRDL.g:487:1: rulePropertyAssignmentRhs : ( ( rule__PropertyAssignmentRhs__Alternatives ) ) ;
+ // InternalRDL.g:463:1: rulePropertyAssignmentRhs : ( ( rule__PropertyAssignmentRhs__Alternatives ) ) ;
public final void rulePropertyAssignmentRhs() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:491:2: ( ( ( rule__PropertyAssignmentRhs__Alternatives ) ) )
- // InternalRDL.g:492:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) )
+ // InternalRDL.g:467:2: ( ( ( rule__PropertyAssignmentRhs__Alternatives ) ) )
+ // InternalRDL.g:468:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) )
{
- // InternalRDL.g:492:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) )
- // InternalRDL.g:493:3: ( rule__PropertyAssignmentRhs__Alternatives )
+ // InternalRDL.g:468:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) )
+ // InternalRDL.g:469:3: ( rule__PropertyAssignmentRhs__Alternatives )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives());
- // InternalRDL.g:494:3: ( rule__PropertyAssignmentRhs__Alternatives )
- // InternalRDL.g:494:4: rule__PropertyAssignmentRhs__Alternatives
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives());
+ }
+ // InternalRDL.g:470:3: ( rule__PropertyAssignmentRhs__Alternatives )
+ // InternalRDL.g:470:4: rule__PropertyAssignmentRhs__Alternatives
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives());
+ }
}
@@ -1597,20 +1657,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleConcat"
- // InternalRDL.g:503:1: entryRuleConcat : ruleConcat EOF ;
+ // InternalRDL.g:479:1: entryRuleConcat : ruleConcat EOF ;
public final void entryRuleConcat() throws RecognitionException {
try {
- // InternalRDL.g:504:1: ( ruleConcat EOF )
- // InternalRDL.g:505:1: ruleConcat EOF
+ // InternalRDL.g:480:1: ( ruleConcat EOF )
+ // InternalRDL.g:481:1: ruleConcat EOF
{
- before(grammarAccess.getConcatRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatRule());
+ }
pushFollow(FOLLOW_1);
ruleConcat();
state._fsp--;
-
- after(grammarAccess.getConcatRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1627,31 +1691,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleConcat"
- // InternalRDL.g:512:1: ruleConcat : ( ( rule__Concat__Group__0 ) ) ;
+ // InternalRDL.g:488:1: ruleConcat : ( ( rule__Concat__Group__0 ) ) ;
public final void ruleConcat() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:516:2: ( ( ( rule__Concat__Group__0 ) ) )
- // InternalRDL.g:517:2: ( ( rule__Concat__Group__0 ) )
+ // InternalRDL.g:492:2: ( ( ( rule__Concat__Group__0 ) ) )
+ // InternalRDL.g:493:2: ( ( rule__Concat__Group__0 ) )
{
- // InternalRDL.g:517:2: ( ( rule__Concat__Group__0 ) )
- // InternalRDL.g:518:3: ( rule__Concat__Group__0 )
+ // InternalRDL.g:493:2: ( ( rule__Concat__Group__0 ) )
+ // InternalRDL.g:494:3: ( rule__Concat__Group__0 )
{
- before(grammarAccess.getConcatAccess().getGroup());
- // InternalRDL.g:519:3: ( rule__Concat__Group__0 )
- // InternalRDL.g:519:4: rule__Concat__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getGroup());
+ }
+ // InternalRDL.g:495:3: ( rule__Concat__Group__0 )
+ // InternalRDL.g:495:4: rule__Concat__Group__0
{
pushFollow(FOLLOW_2);
rule__Concat__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getConcatAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getGroup());
+ }
}
@@ -1674,20 +1742,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleConcatElem"
- // InternalRDL.g:528:1: entryRuleConcatElem : ruleConcatElem EOF ;
+ // InternalRDL.g:504:1: entryRuleConcatElem : ruleConcatElem EOF ;
public final void entryRuleConcatElem() throws RecognitionException {
try {
- // InternalRDL.g:529:1: ( ruleConcatElem EOF )
- // InternalRDL.g:530:1: ruleConcatElem EOF
+ // InternalRDL.g:505:1: ( ruleConcatElem EOF )
+ // InternalRDL.g:506:1: ruleConcatElem EOF
{
- before(grammarAccess.getConcatElemRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatElemRule());
+ }
pushFollow(FOLLOW_1);
ruleConcatElem();
state._fsp--;
-
- after(grammarAccess.getConcatElemRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatElemRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1704,31 +1776,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleConcatElem"
- // InternalRDL.g:537:1: ruleConcatElem : ( ( rule__ConcatElem__Alternatives ) ) ;
+ // InternalRDL.g:513:1: ruleConcatElem : ( ( rule__ConcatElem__Alternatives ) ) ;
public final void ruleConcatElem() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:541:2: ( ( ( rule__ConcatElem__Alternatives ) ) )
- // InternalRDL.g:542:2: ( ( rule__ConcatElem__Alternatives ) )
+ // InternalRDL.g:517:2: ( ( ( rule__ConcatElem__Alternatives ) ) )
+ // InternalRDL.g:518:2: ( ( rule__ConcatElem__Alternatives ) )
{
- // InternalRDL.g:542:2: ( ( rule__ConcatElem__Alternatives ) )
- // InternalRDL.g:543:3: ( rule__ConcatElem__Alternatives )
+ // InternalRDL.g:518:2: ( ( rule__ConcatElem__Alternatives ) )
+ // InternalRDL.g:519:3: ( rule__ConcatElem__Alternatives )
{
- before(grammarAccess.getConcatElemAccess().getAlternatives());
- // InternalRDL.g:544:3: ( rule__ConcatElem__Alternatives )
- // InternalRDL.g:544:4: rule__ConcatElem__Alternatives
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatElemAccess().getAlternatives());
+ }
+ // InternalRDL.g:520:3: ( rule__ConcatElem__Alternatives )
+ // InternalRDL.g:520:4: rule__ConcatElem__Alternatives
{
pushFollow(FOLLOW_2);
rule__ConcatElem__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getConcatElemAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatElemAccess().getAlternatives());
+ }
}
@@ -1751,20 +1827,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRulePropertyRvalueConstant"
- // InternalRDL.g:553:1: entryRulePropertyRvalueConstant : rulePropertyRvalueConstant EOF ;
+ // InternalRDL.g:529:1: entryRulePropertyRvalueConstant : rulePropertyRvalueConstant EOF ;
public final void entryRulePropertyRvalueConstant() throws RecognitionException {
try {
- // InternalRDL.g:554:1: ( rulePropertyRvalueConstant EOF )
- // InternalRDL.g:555:1: rulePropertyRvalueConstant EOF
+ // InternalRDL.g:530:1: ( rulePropertyRvalueConstant EOF )
+ // InternalRDL.g:531:1: rulePropertyRvalueConstant EOF
{
- before(grammarAccess.getPropertyRvalueConstantRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantRule());
+ }
pushFollow(FOLLOW_1);
rulePropertyRvalueConstant();
state._fsp--;
-
- after(grammarAccess.getPropertyRvalueConstantRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1781,31 +1861,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyRvalueConstant"
- // InternalRDL.g:562:1: rulePropertyRvalueConstant : ( ( rule__PropertyRvalueConstant__Alternatives ) ) ;
+ // InternalRDL.g:538:1: rulePropertyRvalueConstant : ( ( rule__PropertyRvalueConstant__Alternatives ) ) ;
public final void rulePropertyRvalueConstant() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:566:2: ( ( ( rule__PropertyRvalueConstant__Alternatives ) ) )
- // InternalRDL.g:567:2: ( ( rule__PropertyRvalueConstant__Alternatives ) )
+ // InternalRDL.g:542:2: ( ( ( rule__PropertyRvalueConstant__Alternatives ) ) )
+ // InternalRDL.g:543:2: ( ( rule__PropertyRvalueConstant__Alternatives ) )
{
- // InternalRDL.g:567:2: ( ( rule__PropertyRvalueConstant__Alternatives ) )
- // InternalRDL.g:568:3: ( rule__PropertyRvalueConstant__Alternatives )
+ // InternalRDL.g:543:2: ( ( rule__PropertyRvalueConstant__Alternatives ) )
+ // InternalRDL.g:544:3: ( rule__PropertyRvalueConstant__Alternatives )
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives());
- // InternalRDL.g:569:3: ( rule__PropertyRvalueConstant__Alternatives )
- // InternalRDL.g:569:4: rule__PropertyRvalueConstant__Alternatives
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives());
+ }
+ // InternalRDL.g:545:3: ( rule__PropertyRvalueConstant__Alternatives )
+ // InternalRDL.g:545:4: rule__PropertyRvalueConstant__Alternatives
{
pushFollow(FOLLOW_2);
rule__PropertyRvalueConstant__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives());
+ }
}
@@ -1828,20 +1912,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleEnumDefinition"
- // InternalRDL.g:578:1: entryRuleEnumDefinition : ruleEnumDefinition EOF ;
+ // InternalRDL.g:554:1: entryRuleEnumDefinition : ruleEnumDefinition EOF ;
public final void entryRuleEnumDefinition() throws RecognitionException {
try {
- // InternalRDL.g:579:1: ( ruleEnumDefinition EOF )
- // InternalRDL.g:580:1: ruleEnumDefinition EOF
+ // InternalRDL.g:555:1: ( ruleEnumDefinition EOF )
+ // InternalRDL.g:556:1: ruleEnumDefinition EOF
{
- before(grammarAccess.getEnumDefinitionRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionRule());
+ }
pushFollow(FOLLOW_1);
ruleEnumDefinition();
state._fsp--;
-
- after(grammarAccess.getEnumDefinitionRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1858,31 +1946,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleEnumDefinition"
- // InternalRDL.g:587:1: ruleEnumDefinition : ( ( rule__EnumDefinition__Group__0 ) ) ;
+ // InternalRDL.g:563:1: ruleEnumDefinition : ( ( rule__EnumDefinition__Group__0 ) ) ;
public final void ruleEnumDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:591:2: ( ( ( rule__EnumDefinition__Group__0 ) ) )
- // InternalRDL.g:592:2: ( ( rule__EnumDefinition__Group__0 ) )
+ // InternalRDL.g:567:2: ( ( ( rule__EnumDefinition__Group__0 ) ) )
+ // InternalRDL.g:568:2: ( ( rule__EnumDefinition__Group__0 ) )
{
- // InternalRDL.g:592:2: ( ( rule__EnumDefinition__Group__0 ) )
- // InternalRDL.g:593:3: ( rule__EnumDefinition__Group__0 )
+ // InternalRDL.g:568:2: ( ( rule__EnumDefinition__Group__0 ) )
+ // InternalRDL.g:569:3: ( rule__EnumDefinition__Group__0 )
{
- before(grammarAccess.getEnumDefinitionAccess().getGroup());
- // InternalRDL.g:594:3: ( rule__EnumDefinition__Group__0 )
- // InternalRDL.g:594:4: rule__EnumDefinition__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionAccess().getGroup());
+ }
+ // InternalRDL.g:570:3: ( rule__EnumDefinition__Group__0 )
+ // InternalRDL.g:570:4: rule__EnumDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__EnumDefinition__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumDefinitionAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionAccess().getGroup());
+ }
}
@@ -1905,20 +1997,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleEnumBody"
- // InternalRDL.g:603:1: entryRuleEnumBody : ruleEnumBody EOF ;
+ // InternalRDL.g:579:1: entryRuleEnumBody : ruleEnumBody EOF ;
public final void entryRuleEnumBody() throws RecognitionException {
try {
- // InternalRDL.g:604:1: ( ruleEnumBody EOF )
- // InternalRDL.g:605:1: ruleEnumBody EOF
+ // InternalRDL.g:580:1: ( ruleEnumBody EOF )
+ // InternalRDL.g:581:1: ruleEnumBody EOF
{
- before(grammarAccess.getEnumBodyRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyRule());
+ }
pushFollow(FOLLOW_1);
ruleEnumBody();
state._fsp--;
-
- after(grammarAccess.getEnumBodyRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -1935,31 +2031,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleEnumBody"
- // InternalRDL.g:612:1: ruleEnumBody : ( ( rule__EnumBody__Group__0 ) ) ;
+ // InternalRDL.g:588:1: ruleEnumBody : ( ( rule__EnumBody__Group__0 ) ) ;
public final void ruleEnumBody() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:616:2: ( ( ( rule__EnumBody__Group__0 ) ) )
- // InternalRDL.g:617:2: ( ( rule__EnumBody__Group__0 ) )
+ // InternalRDL.g:592:2: ( ( ( rule__EnumBody__Group__0 ) ) )
+ // InternalRDL.g:593:2: ( ( rule__EnumBody__Group__0 ) )
{
- // InternalRDL.g:617:2: ( ( rule__EnumBody__Group__0 ) )
- // InternalRDL.g:618:3: ( rule__EnumBody__Group__0 )
+ // InternalRDL.g:593:2: ( ( rule__EnumBody__Group__0 ) )
+ // InternalRDL.g:594:3: ( rule__EnumBody__Group__0 )
{
- before(grammarAccess.getEnumBodyAccess().getGroup());
- // InternalRDL.g:619:3: ( rule__EnumBody__Group__0 )
- // InternalRDL.g:619:4: rule__EnumBody__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyAccess().getGroup());
+ }
+ // InternalRDL.g:595:3: ( rule__EnumBody__Group__0 )
+ // InternalRDL.g:595:4: rule__EnumBody__Group__0
{
pushFollow(FOLLOW_2);
rule__EnumBody__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumBodyAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyAccess().getGroup());
+ }
}
@@ -1982,20 +2082,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleEnumEntry"
- // InternalRDL.g:628:1: entryRuleEnumEntry : ruleEnumEntry EOF ;
+ // InternalRDL.g:604:1: entryRuleEnumEntry : ruleEnumEntry EOF ;
public final void entryRuleEnumEntry() throws RecognitionException {
try {
- // InternalRDL.g:629:1: ( ruleEnumEntry EOF )
- // InternalRDL.g:630:1: ruleEnumEntry EOF
+ // InternalRDL.g:605:1: ( ruleEnumEntry EOF )
+ // InternalRDL.g:606:1: ruleEnumEntry EOF
{
- before(grammarAccess.getEnumEntryRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryRule());
+ }
pushFollow(FOLLOW_1);
ruleEnumEntry();
state._fsp--;
-
- after(grammarAccess.getEnumEntryRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -2012,31 +2116,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleEnumEntry"
- // InternalRDL.g:637:1: ruleEnumEntry : ( ( rule__EnumEntry__Group__0 ) ) ;
+ // InternalRDL.g:613:1: ruleEnumEntry : ( ( rule__EnumEntry__Group__0 ) ) ;
public final void ruleEnumEntry() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:641:2: ( ( ( rule__EnumEntry__Group__0 ) ) )
- // InternalRDL.g:642:2: ( ( rule__EnumEntry__Group__0 ) )
+ // InternalRDL.g:617:2: ( ( ( rule__EnumEntry__Group__0 ) ) )
+ // InternalRDL.g:618:2: ( ( rule__EnumEntry__Group__0 ) )
{
- // InternalRDL.g:642:2: ( ( rule__EnumEntry__Group__0 ) )
- // InternalRDL.g:643:3: ( rule__EnumEntry__Group__0 )
+ // InternalRDL.g:618:2: ( ( rule__EnumEntry__Group__0 ) )
+ // InternalRDL.g:619:3: ( rule__EnumEntry__Group__0 )
{
- before(grammarAccess.getEnumEntryAccess().getGroup());
- // InternalRDL.g:644:3: ( rule__EnumEntry__Group__0 )
- // InternalRDL.g:644:4: rule__EnumEntry__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getGroup());
+ }
+ // InternalRDL.g:620:3: ( rule__EnumEntry__Group__0 )
+ // InternalRDL.g:620:4: rule__EnumEntry__Group__0
{
pushFollow(FOLLOW_2);
rule__EnumEntry__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumEntryAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getGroup());
+ }
}
@@ -2059,20 +2167,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "entryRuleEnumProperty"
- // InternalRDL.g:653:1: entryRuleEnumProperty : ruleEnumProperty EOF ;
+ // InternalRDL.g:629:1: entryRuleEnumProperty : ruleEnumProperty EOF ;
public final void entryRuleEnumProperty() throws RecognitionException {
try {
- // InternalRDL.g:654:1: ( ruleEnumProperty EOF )
- // InternalRDL.g:655:1: ruleEnumProperty EOF
+ // InternalRDL.g:630:1: ( ruleEnumProperty EOF )
+ // InternalRDL.g:631:1: ruleEnumProperty EOF
{
- before(grammarAccess.getEnumPropertyRule());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyRule());
+ }
pushFollow(FOLLOW_1);
ruleEnumProperty();
state._fsp--;
-
- after(grammarAccess.getEnumPropertyRule());
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
}
@@ -2089,31 +2201,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleEnumProperty"
- // InternalRDL.g:662:1: ruleEnumProperty : ( ( rule__EnumProperty__Group__0 ) ) ;
+ // InternalRDL.g:638:1: ruleEnumProperty : ( ( rule__EnumProperty__Group__0 ) ) ;
public final void ruleEnumProperty() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:666:2: ( ( ( rule__EnumProperty__Group__0 ) ) )
- // InternalRDL.g:667:2: ( ( rule__EnumProperty__Group__0 ) )
+ // InternalRDL.g:642:2: ( ( ( rule__EnumProperty__Group__0 ) ) )
+ // InternalRDL.g:643:2: ( ( rule__EnumProperty__Group__0 ) )
{
- // InternalRDL.g:667:2: ( ( rule__EnumProperty__Group__0 ) )
- // InternalRDL.g:668:3: ( rule__EnumProperty__Group__0 )
+ // InternalRDL.g:643:2: ( ( rule__EnumProperty__Group__0 ) )
+ // InternalRDL.g:644:3: ( rule__EnumProperty__Group__0 )
{
- before(grammarAccess.getEnumPropertyAccess().getGroup());
- // InternalRDL.g:669:3: ( rule__EnumProperty__Group__0 )
- // InternalRDL.g:669:4: rule__EnumProperty__Group__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getGroup());
+ }
+ // InternalRDL.g:645:3: ( rule__EnumProperty__Group__0 )
+ // InternalRDL.g:645:4: rule__EnumProperty__Group__0
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Group__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getGroup());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getGroup());
+ }
}
@@ -2135,32 +2251,121 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "ruleEnumProperty"
+ // $ANTLR start "entryRuleEnumInstanceType"
+ // InternalRDL.g:654:1: entryRuleEnumInstanceType : ruleEnumInstanceType EOF ;
+ public final void entryRuleEnumInstanceType() throws RecognitionException {
+ try {
+ // InternalRDL.g:655:1: ( ruleEnumInstanceType EOF )
+ // InternalRDL.g:656:1: ruleEnumInstanceType EOF
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeRule());
+ }
+ pushFollow(FOLLOW_1);
+ ruleEnumInstanceType();
+
+ state._fsp--;
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeRule());
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+ }
+ return ;
+ }
+ // $ANTLR end "entryRuleEnumInstanceType"
+
+
+ // $ANTLR start "ruleEnumInstanceType"
+ // InternalRDL.g:663:1: ruleEnumInstanceType : ( ( rule__EnumInstanceType__Alternatives ) ) ;
+ public final void ruleEnumInstanceType() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:667:2: ( ( ( rule__EnumInstanceType__Alternatives ) ) )
+ // InternalRDL.g:668:2: ( ( rule__EnumInstanceType__Alternatives ) )
+ {
+ // InternalRDL.g:668:2: ( ( rule__EnumInstanceType__Alternatives ) )
+ // InternalRDL.g:669:3: ( rule__EnumInstanceType__Alternatives )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getAlternatives());
+ }
+ // InternalRDL.g:670:3: ( rule__EnumInstanceType__Alternatives )
+ // InternalRDL.g:670:4: rule__EnumInstanceType__Alternatives
+ {
+ pushFollow(FOLLOW_2);
+ rule__EnumInstanceType__Alternatives();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getAlternatives());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "ruleEnumInstanceType"
+
+
// $ANTLR start "rulePropertyTypeName"
- // InternalRDL.g:678:1: rulePropertyTypeName : ( ( rule__PropertyTypeName__Alternatives ) ) ;
+ // InternalRDL.g:679:1: rulePropertyTypeName : ( ( rule__PropertyTypeName__Alternatives ) ) ;
public final void rulePropertyTypeName() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:682:1: ( ( ( rule__PropertyTypeName__Alternatives ) ) )
- // InternalRDL.g:683:2: ( ( rule__PropertyTypeName__Alternatives ) )
+ // InternalRDL.g:683:1: ( ( ( rule__PropertyTypeName__Alternatives ) ) )
+ // InternalRDL.g:684:2: ( ( rule__PropertyTypeName__Alternatives ) )
{
- // InternalRDL.g:683:2: ( ( rule__PropertyTypeName__Alternatives ) )
- // InternalRDL.g:684:3: ( rule__PropertyTypeName__Alternatives )
- {
- before(grammarAccess.getPropertyTypeNameAccess().getAlternatives());
+ // InternalRDL.g:684:2: ( ( rule__PropertyTypeName__Alternatives ) )
// InternalRDL.g:685:3: ( rule__PropertyTypeName__Alternatives )
- // InternalRDL.g:685:4: rule__PropertyTypeName__Alternatives
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getAlternatives());
+ }
+ // InternalRDL.g:686:3: ( rule__PropertyTypeName__Alternatives )
+ // InternalRDL.g:686:4: rule__PropertyTypeName__Alternatives
{
pushFollow(FOLLOW_2);
rule__PropertyTypeName__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getAlternatives());
+ }
}
@@ -2183,31 +2388,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyComponent"
- // InternalRDL.g:694:1: rulePropertyComponent : ( ( rule__PropertyComponent__Alternatives ) ) ;
+ // InternalRDL.g:695:1: rulePropertyComponent : ( ( rule__PropertyComponent__Alternatives ) ) ;
public final void rulePropertyComponent() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:698:1: ( ( ( rule__PropertyComponent__Alternatives ) ) )
- // InternalRDL.g:699:2: ( ( rule__PropertyComponent__Alternatives ) )
+ // InternalRDL.g:699:1: ( ( ( rule__PropertyComponent__Alternatives ) ) )
+ // InternalRDL.g:700:2: ( ( rule__PropertyComponent__Alternatives ) )
{
- // InternalRDL.g:699:2: ( ( rule__PropertyComponent__Alternatives ) )
- // InternalRDL.g:700:3: ( rule__PropertyComponent__Alternatives )
- {
- before(grammarAccess.getPropertyComponentAccess().getAlternatives());
+ // InternalRDL.g:700:2: ( ( rule__PropertyComponent__Alternatives ) )
// InternalRDL.g:701:3: ( rule__PropertyComponent__Alternatives )
- // InternalRDL.g:701:4: rule__PropertyComponent__Alternatives
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getAlternatives());
+ }
+ // InternalRDL.g:702:3: ( rule__PropertyComponent__Alternatives )
+ // InternalRDL.g:702:4: rule__PropertyComponent__Alternatives
{
pushFollow(FOLLOW_2);
rule__PropertyComponent__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getAlternatives());
+ }
}
@@ -2230,31 +2439,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleComponentDefinitionType"
- // InternalRDL.g:710:1: ruleComponentDefinitionType : ( ( rule__ComponentDefinitionType__Alternatives ) ) ;
+ // InternalRDL.g:711:1: ruleComponentDefinitionType : ( ( rule__ComponentDefinitionType__Alternatives ) ) ;
public final void ruleComponentDefinitionType() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:714:1: ( ( ( rule__ComponentDefinitionType__Alternatives ) ) )
- // InternalRDL.g:715:2: ( ( rule__ComponentDefinitionType__Alternatives ) )
+ // InternalRDL.g:715:1: ( ( ( rule__ComponentDefinitionType__Alternatives ) ) )
+ // InternalRDL.g:716:2: ( ( rule__ComponentDefinitionType__Alternatives ) )
{
- // InternalRDL.g:715:2: ( ( rule__ComponentDefinitionType__Alternatives ) )
- // InternalRDL.g:716:3: ( rule__ComponentDefinitionType__Alternatives )
- {
- before(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives());
+ // InternalRDL.g:716:2: ( ( rule__ComponentDefinitionType__Alternatives ) )
// InternalRDL.g:717:3: ( rule__ComponentDefinitionType__Alternatives )
- // InternalRDL.g:717:4: rule__ComponentDefinitionType__Alternatives
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives());
+ }
+ // InternalRDL.g:718:3: ( rule__ComponentDefinitionType__Alternatives )
+ // InternalRDL.g:718:4: rule__ComponentDefinitionType__Alternatives
{
pushFollow(FOLLOW_2);
rule__ComponentDefinitionType__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives());
+ }
}
@@ -2277,31 +2490,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleProperty"
- // InternalRDL.g:726:1: ruleProperty : ( ( rule__Property__Alternatives ) ) ;
+ // InternalRDL.g:727:1: ruleProperty : ( ( rule__Property__Alternatives ) ) ;
public final void ruleProperty() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:730:1: ( ( ( rule__Property__Alternatives ) ) )
- // InternalRDL.g:731:2: ( ( rule__Property__Alternatives ) )
+ // InternalRDL.g:731:1: ( ( ( rule__Property__Alternatives ) ) )
+ // InternalRDL.g:732:2: ( ( rule__Property__Alternatives ) )
{
- // InternalRDL.g:731:2: ( ( rule__Property__Alternatives ) )
- // InternalRDL.g:732:3: ( rule__Property__Alternatives )
- {
- before(grammarAccess.getPropertyAccess().getAlternatives());
+ // InternalRDL.g:732:2: ( ( rule__Property__Alternatives ) )
// InternalRDL.g:733:3: ( rule__Property__Alternatives )
- // InternalRDL.g:733:4: rule__Property__Alternatives
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getAlternatives());
+ }
+ // InternalRDL.g:734:3: ( rule__Property__Alternatives )
+ // InternalRDL.g:734:4: rule__Property__Alternatives
{
pushFollow(FOLLOW_2);
rule__Property__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getAlternatives());
+ }
}
@@ -2324,31 +2541,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "ruleRValueConstant"
- // InternalRDL.g:742:1: ruleRValueConstant : ( ( rule__RValueConstant__Alternatives ) ) ;
+ // InternalRDL.g:743:1: ruleRValueConstant : ( ( rule__RValueConstant__Alternatives ) ) ;
public final void ruleRValueConstant() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:746:1: ( ( ( rule__RValueConstant__Alternatives ) ) )
- // InternalRDL.g:747:2: ( ( rule__RValueConstant__Alternatives ) )
+ // InternalRDL.g:747:1: ( ( ( rule__RValueConstant__Alternatives ) ) )
+ // InternalRDL.g:748:2: ( ( rule__RValueConstant__Alternatives ) )
{
- // InternalRDL.g:747:2: ( ( rule__RValueConstant__Alternatives ) )
- // InternalRDL.g:748:3: ( rule__RValueConstant__Alternatives )
- {
- before(grammarAccess.getRValueConstantAccess().getAlternatives());
+ // InternalRDL.g:748:2: ( ( rule__RValueConstant__Alternatives ) )
// InternalRDL.g:749:3: ( rule__RValueConstant__Alternatives )
- // InternalRDL.g:749:4: rule__RValueConstant__Alternatives
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getAlternatives());
+ }
+ // InternalRDL.g:750:3: ( rule__RValueConstant__Alternatives )
+ // InternalRDL.g:750:4: rule__RValueConstant__Alternatives
{
pushFollow(FOLLOW_2);
rule__RValueConstant__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getAlternatives());
+ }
}
@@ -2371,31 +2592,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rulePropertyModifier"
- // InternalRDL.g:758:1: rulePropertyModifier : ( ( rule__PropertyModifier__Alternatives ) ) ;
+ // InternalRDL.g:759:1: rulePropertyModifier : ( ( rule__PropertyModifier__Alternatives ) ) ;
public final void rulePropertyModifier() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:762:1: ( ( ( rule__PropertyModifier__Alternatives ) ) )
- // InternalRDL.g:763:2: ( ( rule__PropertyModifier__Alternatives ) )
+ // InternalRDL.g:763:1: ( ( ( rule__PropertyModifier__Alternatives ) ) )
+ // InternalRDL.g:764:2: ( ( rule__PropertyModifier__Alternatives ) )
{
- // InternalRDL.g:763:2: ( ( rule__PropertyModifier__Alternatives ) )
- // InternalRDL.g:764:3: ( rule__PropertyModifier__Alternatives )
- {
- before(grammarAccess.getPropertyModifierAccess().getAlternatives());
+ // InternalRDL.g:764:2: ( ( rule__PropertyModifier__Alternatives ) )
// InternalRDL.g:765:3: ( rule__PropertyModifier__Alternatives )
- // InternalRDL.g:765:4: rule__PropertyModifier__Alternatives
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getAlternatives());
+ }
+ // InternalRDL.g:766:3: ( rule__PropertyModifier__Alternatives )
+ // InternalRDL.g:766:4: rule__PropertyModifier__Alternatives
{
pushFollow(FOLLOW_2);
rule__PropertyModifier__Alternatives();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getAlternatives());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getAlternatives());
+ }
}
@@ -2418,193 +2643,39 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Root__Alternatives"
- // InternalRDL.g:773:1: rule__Root__Alternatives : ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__ComponentDefinitionsAssignment_1 ) ) | ( ( rule__Root__EnumDefinitionsAssignment_2 ) ) | ( ( rule__Root__NamedInstantiationsAssignment_3 ) ) | ( ( rule__Root__PropertyAssignmentsAssignment_4 ) ) | ( ( rule__Root__PropertyDefinitionsAssignment_5 ) ) );
+ // InternalRDL.g:774:1: rule__Root__Alternatives : ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__Group_1__0 ) ) | ( ( rule__Root__Group_2__0 ) ) | ( ( rule__Root__Group_3__0 ) ) | ( ( rule__Root__Group_4__0 ) ) | ( ( rule__Root__Group_5__0 ) ) );
public final void rule__Root__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:777:1: ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__ComponentDefinitionsAssignment_1 ) ) | ( ( rule__Root__EnumDefinitionsAssignment_2 ) ) | ( ( rule__Root__NamedInstantiationsAssignment_3 ) ) | ( ( rule__Root__PropertyAssignmentsAssignment_4 ) ) | ( ( rule__Root__PropertyDefinitionsAssignment_5 ) ) )
+ // InternalRDL.g:778:1: ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__Group_1__0 ) ) | ( ( rule__Root__Group_2__0 ) ) | ( ( rule__Root__Group_3__0 ) ) | ( ( rule__Root__Group_4__0 ) ) | ( ( rule__Root__Group_5__0 ) ) )
int alt2=6;
- switch ( input.LA(1) ) {
- case 113:
- {
- alt2=1;
- }
- break;
- case 15:
- case 16:
- case 17:
- case 18:
- case 20:
- {
- alt2=2;
- }
- break;
- case 133:
- {
- alt2=3;
- }
- break;
- case 123:
- case 134:
- {
- alt2=4;
- }
- break;
- case 76:
- {
- int LA2_5 = input.LA(2);
-
- if ( (LA2_5==117||LA2_5==119) ) {
- alt2=5;
- }
- else if ( (LA2_5==RULE_ID||LA2_5==123) ) {
- alt2=4;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 2, 5, input);
-
- throw nvae;
- }
- }
- break;
- case RULE_ID:
- {
- int LA2_6 = input.LA(2);
-
- if ( (LA2_6==117||LA2_6==119||(LA2_6>=131 && LA2_6<=132)) ) {
- alt2=5;
- }
- else if ( (LA2_6==RULE_ID) ) {
- alt2=4;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 2, 6, input);
-
- throw nvae;
- }
- }
- break;
- case 22:
- case 23:
- case 24:
- case 25:
- case 26:
- case 27:
- case 28:
- case 29:
- case 30:
- case 31:
- case 32:
- case 33:
- case 34:
- case 35:
- case 36:
- case 37:
- case 38:
- case 39:
- case 40:
- case 41:
- case 42:
- case 43:
- case 44:
- case 45:
- case 46:
- case 47:
- case 48:
- case 49:
- case 50:
- case 51:
- case 52:
- case 53:
- case 54:
- case 55:
- case 56:
- case 57:
- case 58:
- case 59:
- case 60:
- case 61:
- case 62:
- case 63:
- case 64:
- case 65:
- case 66:
- case 67:
- case 68:
- case 69:
- case 70:
- case 71:
- case 72:
- case 73:
- case 74:
- case 75:
- case 77:
- case 78:
- case 79:
- case 80:
- case 81:
- case 82:
- case 83:
- case 84:
- case 85:
- case 86:
- case 87:
- case 88:
- case 89:
- case 90:
- case 91:
- case 92:
- case 93:
- case 94:
- case 95:
- case 96:
- case 97:
- case 108:
- case 109:
- case 110:
- case 111:
- case 112:
- case 120:
- {
- alt2=5;
- }
- break;
- case 114:
- {
- alt2=6;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 2, 0, input);
-
- throw nvae;
- }
-
+ alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
- // InternalRDL.g:778:2: ( ( rule__Root__IncludesAssignment_0 ) )
+ // InternalRDL.g:779:2: ( ( rule__Root__IncludesAssignment_0 ) )
{
- // InternalRDL.g:778:2: ( ( rule__Root__IncludesAssignment_0 ) )
- // InternalRDL.g:779:3: ( rule__Root__IncludesAssignment_0 )
- {
- before(grammarAccess.getRootAccess().getIncludesAssignment_0());
+ // InternalRDL.g:779:2: ( ( rule__Root__IncludesAssignment_0 ) )
// InternalRDL.g:780:3: ( rule__Root__IncludesAssignment_0 )
- // InternalRDL.g:780:4: rule__Root__IncludesAssignment_0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getIncludesAssignment_0());
+ }
+ // InternalRDL.g:781:3: ( rule__Root__IncludesAssignment_0 )
+ // InternalRDL.g:781:4: rule__Root__IncludesAssignment_0
{
pushFollow(FOLLOW_2);
rule__Root__IncludesAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRootAccess().getIncludesAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getIncludesAssignment_0());
+ }
}
@@ -2612,24 +2683,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:784:2: ( ( rule__Root__ComponentDefinitionsAssignment_1 ) )
+ // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) )
{
- // InternalRDL.g:784:2: ( ( rule__Root__ComponentDefinitionsAssignment_1 ) )
- // InternalRDL.g:785:3: ( rule__Root__ComponentDefinitionsAssignment_1 )
+ // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) )
+ // InternalRDL.g:786:3: ( rule__Root__Group_1__0 )
{
- before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1());
- // InternalRDL.g:786:3: ( rule__Root__ComponentDefinitionsAssignment_1 )
- // InternalRDL.g:786:4: rule__Root__ComponentDefinitionsAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_1());
+ }
+ // InternalRDL.g:787:3: ( rule__Root__Group_1__0 )
+ // InternalRDL.g:787:4: rule__Root__Group_1__0
{
pushFollow(FOLLOW_2);
- rule__Root__ComponentDefinitionsAssignment_1();
+ rule__Root__Group_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getGroup_1());
+ }
}
@@ -2637,24 +2712,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:790:2: ( ( rule__Root__EnumDefinitionsAssignment_2 ) )
+ // InternalRDL.g:791:2: ( ( rule__Root__Group_2__0 ) )
{
- // InternalRDL.g:790:2: ( ( rule__Root__EnumDefinitionsAssignment_2 ) )
- // InternalRDL.g:791:3: ( rule__Root__EnumDefinitionsAssignment_2 )
+ // InternalRDL.g:791:2: ( ( rule__Root__Group_2__0 ) )
+ // InternalRDL.g:792:3: ( rule__Root__Group_2__0 )
{
- before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2());
- // InternalRDL.g:792:3: ( rule__Root__EnumDefinitionsAssignment_2 )
- // InternalRDL.g:792:4: rule__Root__EnumDefinitionsAssignment_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_2());
+ }
+ // InternalRDL.g:793:3: ( rule__Root__Group_2__0 )
+ // InternalRDL.g:793:4: rule__Root__Group_2__0
{
pushFollow(FOLLOW_2);
- rule__Root__EnumDefinitionsAssignment_2();
+ rule__Root__Group_2__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getGroup_2());
+ }
}
@@ -2662,24 +2741,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:796:2: ( ( rule__Root__NamedInstantiationsAssignment_3 ) )
+ // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) )
{
- // InternalRDL.g:796:2: ( ( rule__Root__NamedInstantiationsAssignment_3 ) )
- // InternalRDL.g:797:3: ( rule__Root__NamedInstantiationsAssignment_3 )
+ // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) )
+ // InternalRDL.g:798:3: ( rule__Root__Group_3__0 )
{
- before(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3());
- // InternalRDL.g:798:3: ( rule__Root__NamedInstantiationsAssignment_3 )
- // InternalRDL.g:798:4: rule__Root__NamedInstantiationsAssignment_3
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_3());
+ }
+ // InternalRDL.g:799:3: ( rule__Root__Group_3__0 )
+ // InternalRDL.g:799:4: rule__Root__Group_3__0
{
pushFollow(FOLLOW_2);
- rule__Root__NamedInstantiationsAssignment_3();
+ rule__Root__Group_3__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getGroup_3());
+ }
}
@@ -2687,24 +2770,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:802:2: ( ( rule__Root__PropertyAssignmentsAssignment_4 ) )
+ // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) )
{
- // InternalRDL.g:802:2: ( ( rule__Root__PropertyAssignmentsAssignment_4 ) )
- // InternalRDL.g:803:3: ( rule__Root__PropertyAssignmentsAssignment_4 )
+ // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) )
+ // InternalRDL.g:804:3: ( rule__Root__Group_4__0 )
{
- before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4());
- // InternalRDL.g:804:3: ( rule__Root__PropertyAssignmentsAssignment_4 )
- // InternalRDL.g:804:4: rule__Root__PropertyAssignmentsAssignment_4
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_4());
+ }
+ // InternalRDL.g:805:3: ( rule__Root__Group_4__0 )
+ // InternalRDL.g:805:4: rule__Root__Group_4__0
{
pushFollow(FOLLOW_2);
- rule__Root__PropertyAssignmentsAssignment_4();
+ rule__Root__Group_4__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getGroup_4());
+ }
}
@@ -2712,24 +2799,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 6 :
- // InternalRDL.g:808:2: ( ( rule__Root__PropertyDefinitionsAssignment_5 ) )
+ // InternalRDL.g:809:2: ( ( rule__Root__Group_5__0 ) )
{
- // InternalRDL.g:808:2: ( ( rule__Root__PropertyDefinitionsAssignment_5 ) )
- // InternalRDL.g:809:3: ( rule__Root__PropertyDefinitionsAssignment_5 )
+ // InternalRDL.g:809:2: ( ( rule__Root__Group_5__0 ) )
+ // InternalRDL.g:810:3: ( rule__Root__Group_5__0 )
{
- before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5());
- // InternalRDL.g:810:3: ( rule__Root__PropertyDefinitionsAssignment_5 )
- // InternalRDL.g:810:4: rule__Root__PropertyDefinitionsAssignment_5
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_5());
+ }
+ // InternalRDL.g:811:3: ( rule__Root__Group_5__0 )
+ // InternalRDL.g:811:4: rule__Root__Group_5__0
{
pushFollow(FOLLOW_2);
- rule__Root__PropertyDefinitionsAssignment_5();
+ rule__Root__Group_5__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getGroup_5());
+ }
}
@@ -2754,13 +2845,13 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Alternatives_3"
- // InternalRDL.g:818:1: rule__PropertyDefinition__Alternatives_3 : ( ( ( rule__PropertyDefinition__Group_3_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2__0 ) ) );
+ // InternalRDL.g:819:1: rule__PropertyDefinition__Alternatives_3 : ( ( ( rule__PropertyDefinition__Group_3_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2__0 ) ) );
public final void rule__PropertyDefinition__Alternatives_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:822:1: ( ( ( rule__PropertyDefinition__Group_3_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2__0 ) ) )
+ // InternalRDL.g:823:1: ( ( ( rule__PropertyDefinition__Group_3_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2__0 ) ) )
int alt3=3;
switch ( input.LA(1) ) {
case 118:
@@ -2779,6 +2870,7 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
@@ -2787,24 +2879,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
switch (alt3) {
case 1 :
- // InternalRDL.g:823:2: ( ( rule__PropertyDefinition__Group_3_0__0 ) )
+ // InternalRDL.g:824:2: ( ( rule__PropertyDefinition__Group_3_0__0 ) )
{
- // InternalRDL.g:823:2: ( ( rule__PropertyDefinition__Group_3_0__0 ) )
- // InternalRDL.g:824:3: ( rule__PropertyDefinition__Group_3_0__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0());
+ // InternalRDL.g:824:2: ( ( rule__PropertyDefinition__Group_3_0__0 ) )
// InternalRDL.g:825:3: ( rule__PropertyDefinition__Group_3_0__0 )
- // InternalRDL.g:825:4: rule__PropertyDefinition__Group_3_0__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0());
+ }
+ // InternalRDL.g:826:3: ( rule__PropertyDefinition__Group_3_0__0 )
+ // InternalRDL.g:826:4: rule__PropertyDefinition__Group_3_0__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0());
+ }
}
@@ -2812,24 +2908,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:829:2: ( ( rule__PropertyDefinition__Group_3_1__0 ) )
+ // InternalRDL.g:830:2: ( ( rule__PropertyDefinition__Group_3_1__0 ) )
{
- // InternalRDL.g:829:2: ( ( rule__PropertyDefinition__Group_3_1__0 ) )
- // InternalRDL.g:830:3: ( rule__PropertyDefinition__Group_3_1__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1());
+ // InternalRDL.g:830:2: ( ( rule__PropertyDefinition__Group_3_1__0 ) )
// InternalRDL.g:831:3: ( rule__PropertyDefinition__Group_3_1__0 )
- // InternalRDL.g:831:4: rule__PropertyDefinition__Group_3_1__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1());
+ }
+ // InternalRDL.g:832:3: ( rule__PropertyDefinition__Group_3_1__0 )
+ // InternalRDL.g:832:4: rule__PropertyDefinition__Group_3_1__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1());
+ }
}
@@ -2837,24 +2937,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:835:2: ( ( rule__PropertyDefinition__Group_3_2__0 ) )
+ // InternalRDL.g:836:2: ( ( rule__PropertyDefinition__Group_3_2__0 ) )
{
- // InternalRDL.g:835:2: ( ( rule__PropertyDefinition__Group_3_2__0 ) )
- // InternalRDL.g:836:3: ( rule__PropertyDefinition__Group_3_2__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2());
+ // InternalRDL.g:836:2: ( ( rule__PropertyDefinition__Group_3_2__0 ) )
// InternalRDL.g:837:3: ( rule__PropertyDefinition__Group_3_2__0 )
- // InternalRDL.g:837:4: rule__PropertyDefinition__Group_3_2__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2());
+ }
+ // InternalRDL.g:838:3: ( rule__PropertyDefinition__Group_3_2__0 )
+ // InternalRDL.g:838:4: rule__PropertyDefinition__Group_3_2__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2());
+ }
}
@@ -2879,13 +2983,13 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Alternatives_3_0_4"
- // InternalRDL.g:845:1: rule__PropertyDefinition__Alternatives_3_0_4 : ( ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) );
+ // InternalRDL.g:846:1: rule__PropertyDefinition__Alternatives_3_0_4 : ( ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) );
public final void rule__PropertyDefinition__Alternatives_3_0_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:849:1: ( ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) )
+ // InternalRDL.g:850:1: ( ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) )
int alt4=2;
int LA4_0 = input.LA(1);
@@ -2896,6 +3000,7 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
alt4=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 4, 0, input);
@@ -2903,24 +3008,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
switch (alt4) {
case 1 :
- // InternalRDL.g:850:2: ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) )
+ // InternalRDL.g:851:2: ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) )
{
- // InternalRDL.g:850:2: ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) )
- // InternalRDL.g:851:3: ( rule__PropertyDefinition__Group_3_0_4_0__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0());
+ // InternalRDL.g:851:2: ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) )
// InternalRDL.g:852:3: ( rule__PropertyDefinition__Group_3_0_4_0__0 )
- // InternalRDL.g:852:4: rule__PropertyDefinition__Group_3_0_4_0__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0());
+ }
+ // InternalRDL.g:853:3: ( rule__PropertyDefinition__Group_3_0_4_0__0 )
+ // InternalRDL.g:853:4: rule__PropertyDefinition__Group_3_0_4_0__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0_4_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0());
+ }
}
@@ -2928,24 +3037,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:856:2: ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) )
+ // InternalRDL.g:857:2: ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) )
{
- // InternalRDL.g:856:2: ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) )
- // InternalRDL.g:857:3: ( rule__PropertyDefinition__Group_3_0_4_1__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1());
+ // InternalRDL.g:857:2: ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) )
// InternalRDL.g:858:3: ( rule__PropertyDefinition__Group_3_0_4_1__0 )
- // InternalRDL.g:858:4: rule__PropertyDefinition__Group_3_0_4_1__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1());
+ }
+ // InternalRDL.g:859:3: ( rule__PropertyDefinition__Group_3_0_4_1__0 )
+ // InternalRDL.g:859:4: rule__PropertyDefinition__Group_3_0_4_1__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0_4_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1());
+ }
}
@@ -2970,13 +3083,13 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Alternatives_3_1_1"
- // InternalRDL.g:866:1: rule__PropertyDefinition__Alternatives_3_1_1 : ( ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) );
+ // InternalRDL.g:867:1: rule__PropertyDefinition__Alternatives_3_1_1 : ( ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) );
public final void rule__PropertyDefinition__Alternatives_3_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:870:1: ( ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) )
+ // InternalRDL.g:871:1: ( ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) )
int alt5=2;
int LA5_0 = input.LA(1);
@@ -2987,6 +3100,7 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
alt5=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 5, 0, input);
@@ -2994,24 +3108,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
switch (alt5) {
case 1 :
- // InternalRDL.g:871:2: ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) )
+ // InternalRDL.g:872:2: ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) )
{
- // InternalRDL.g:871:2: ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) )
- // InternalRDL.g:872:3: ( rule__PropertyDefinition__Group_3_1_1_0__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0());
+ // InternalRDL.g:872:2: ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) )
// InternalRDL.g:873:3: ( rule__PropertyDefinition__Group_3_1_1_0__0 )
- // InternalRDL.g:873:4: rule__PropertyDefinition__Group_3_1_1_0__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0());
+ }
+ // InternalRDL.g:874:3: ( rule__PropertyDefinition__Group_3_1_1_0__0 )
+ // InternalRDL.g:874:4: rule__PropertyDefinition__Group_3_1_1_0__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0());
+ }
}
@@ -3019,24 +3137,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:877:2: ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) )
+ // InternalRDL.g:878:2: ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) )
{
- // InternalRDL.g:877:2: ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) )
- // InternalRDL.g:878:3: ( rule__PropertyDefinition__Group_3_1_1_1__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1());
+ // InternalRDL.g:878:2: ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) )
// InternalRDL.g:879:3: ( rule__PropertyDefinition__Group_3_1_1_1__0 )
- // InternalRDL.g:879:4: rule__PropertyDefinition__Group_3_1_1_1__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1());
+ }
+ // InternalRDL.g:880:3: ( rule__PropertyDefinition__Group_3_1_1_1__0 )
+ // InternalRDL.g:880:4: rule__PropertyDefinition__Group_3_1_1_1__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1());
+ }
}
@@ -3061,13 +3183,13 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Alternatives_3_2_1"
- // InternalRDL.g:887:1: rule__PropertyDefinition__Alternatives_3_2_1 : ( ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) );
+ // InternalRDL.g:888:1: rule__PropertyDefinition__Alternatives_3_2_1 : ( ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) );
public final void rule__PropertyDefinition__Alternatives_3_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:891:1: ( ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) )
+ // InternalRDL.g:892:1: ( ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -3078,6 +3200,7 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
alt6=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 6, 0, input);
@@ -3085,24 +3208,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
switch (alt6) {
case 1 :
- // InternalRDL.g:892:2: ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) )
+ // InternalRDL.g:893:2: ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) )
{
- // InternalRDL.g:892:2: ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) )
- // InternalRDL.g:893:3: ( rule__PropertyDefinition__Group_3_2_1_0__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0());
+ // InternalRDL.g:893:2: ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) )
// InternalRDL.g:894:3: ( rule__PropertyDefinition__Group_3_2_1_0__0 )
- // InternalRDL.g:894:4: rule__PropertyDefinition__Group_3_2_1_0__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0());
+ }
+ // InternalRDL.g:895:3: ( rule__PropertyDefinition__Group_3_2_1_0__0 )
+ // InternalRDL.g:895:4: rule__PropertyDefinition__Group_3_2_1_0__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0());
+ }
}
@@ -3110,24 +3237,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:898:2: ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) )
+ // InternalRDL.g:899:2: ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) )
{
- // InternalRDL.g:898:2: ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) )
- // InternalRDL.g:899:3: ( rule__PropertyDefinition__Group_3_2_1_1__0 )
- {
- before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1());
+ // InternalRDL.g:899:2: ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) )
// InternalRDL.g:900:3: ( rule__PropertyDefinition__Group_3_2_1_1__0 )
- // InternalRDL.g:900:4: rule__PropertyDefinition__Group_3_2_1_1__0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1());
+ }
+ // InternalRDL.g:901:3: ( rule__PropertyDefinition__Group_3_2_1_1__0 )
+ // InternalRDL.g:901:4: rule__PropertyDefinition__Group_3_2_1_1__0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1());
+ }
}
@@ -3152,13 +3283,13 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Alternatives_2"
- // InternalRDL.g:908:1: rule__PropertyDefault__Alternatives_2 : ( ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) | ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) );
+ // InternalRDL.g:909:1: rule__PropertyDefault__Alternatives_2 : ( ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) | ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) );
public final void rule__PropertyDefault__Alternatives_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:912:1: ( ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) | ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) )
+ // InternalRDL.g:913:1: ( ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) | ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) )
int alt7=4;
switch ( input.LA(1) ) {
case RULE_STR:
@@ -3182,6 +3313,7 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 7, 0, input);
@@ -3190,24 +3322,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
switch (alt7) {
case 1 :
- // InternalRDL.g:913:2: ( ( rule__PropertyDefault__StringAssignment_2_0 ) )
+ // InternalRDL.g:914:2: ( ( rule__PropertyDefault__StringAssignment_2_0 ) )
{
- // InternalRDL.g:913:2: ( ( rule__PropertyDefault__StringAssignment_2_0 ) )
- // InternalRDL.g:914:3: ( rule__PropertyDefault__StringAssignment_2_0 )
- {
- before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0());
+ // InternalRDL.g:914:2: ( ( rule__PropertyDefault__StringAssignment_2_0 ) )
// InternalRDL.g:915:3: ( rule__PropertyDefault__StringAssignment_2_0 )
- // InternalRDL.g:915:4: rule__PropertyDefault__StringAssignment_2_0
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0());
+ }
+ // InternalRDL.g:916:3: ( rule__PropertyDefault__StringAssignment_2_0 )
+ // InternalRDL.g:916:4: rule__PropertyDefault__StringAssignment_2_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__StringAssignment_2_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0());
+ }
}
@@ -3215,24 +3351,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:919:2: ( ( rule__PropertyDefault__ValueAssignment_2_1 ) )
+ // InternalRDL.g:920:2: ( ( rule__PropertyDefault__ValueAssignment_2_1 ) )
{
- // InternalRDL.g:919:2: ( ( rule__PropertyDefault__ValueAssignment_2_1 ) )
- // InternalRDL.g:920:3: ( rule__PropertyDefault__ValueAssignment_2_1 )
- {
- before(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1());
+ // InternalRDL.g:920:2: ( ( rule__PropertyDefault__ValueAssignment_2_1 ) )
// InternalRDL.g:921:3: ( rule__PropertyDefault__ValueAssignment_2_1 )
- // InternalRDL.g:921:4: rule__PropertyDefault__ValueAssignment_2_1
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1());
+ }
+ // InternalRDL.g:922:3: ( rule__PropertyDefault__ValueAssignment_2_1 )
+ // InternalRDL.g:922:4: rule__PropertyDefault__ValueAssignment_2_1
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__ValueAssignment_2_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1());
+ }
}
@@ -3240,24 +3380,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:925:2: ( ( rule__PropertyDefault__StringAssignment_2_2 ) )
+ // InternalRDL.g:926:2: ( ( rule__PropertyDefault__StringAssignment_2_2 ) )
{
- // InternalRDL.g:925:2: ( ( rule__PropertyDefault__StringAssignment_2_2 ) )
- // InternalRDL.g:926:3: ( rule__PropertyDefault__StringAssignment_2_2 )
- {
- before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2());
+ // InternalRDL.g:926:2: ( ( rule__PropertyDefault__StringAssignment_2_2 ) )
// InternalRDL.g:927:3: ( rule__PropertyDefault__StringAssignment_2_2 )
- // InternalRDL.g:927:4: rule__PropertyDefault__StringAssignment_2_2
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2());
+ }
+ // InternalRDL.g:928:3: ( rule__PropertyDefault__StringAssignment_2_2 )
+ // InternalRDL.g:928:4: rule__PropertyDefault__StringAssignment_2_2
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__StringAssignment_2_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2());
+ }
}
@@ -3265,24 +3409,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:931:2: ( ( rule__PropertyDefault__StringAssignment_2_3 ) )
+ // InternalRDL.g:932:2: ( ( rule__PropertyDefault__StringAssignment_2_3 ) )
{
- // InternalRDL.g:931:2: ( ( rule__PropertyDefault__StringAssignment_2_3 ) )
- // InternalRDL.g:932:3: ( rule__PropertyDefault__StringAssignment_2_3 )
- {
- before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3());
+ // InternalRDL.g:932:2: ( ( rule__PropertyDefault__StringAssignment_2_3 ) )
// InternalRDL.g:933:3: ( rule__PropertyDefault__StringAssignment_2_3 )
- // InternalRDL.g:933:4: rule__PropertyDefault__StringAssignment_2_3
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3());
+ }
+ // InternalRDL.g:934:3: ( rule__PropertyDefault__StringAssignment_2_3 )
+ // InternalRDL.g:934:4: rule__PropertyDefault__StringAssignment_2_3
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__StringAssignment_2_3();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3());
+ }
}
@@ -3307,183 +3455,39 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Alternatives_3"
- // InternalRDL.g:941:1: rule__ComponentDefinition__Alternatives_3 : ( ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 ) ) | ( ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) ) | ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) ) | ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) ) );
+ // InternalRDL.g:942:1: rule__ComponentDefinition__Alternatives_3 : ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | ( ( rule__ComponentDefinition__Group_3_2__0 ) ) | ( ( rule__ComponentDefinition__Group_3_3__0 ) ) );
public final void rule__ComponentDefinition__Alternatives_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:945:1: ( ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 ) ) | ( ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) ) | ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) ) | ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) ) )
+ // InternalRDL.g:946:1: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | ( ( rule__ComponentDefinition__Group_3_2__0 ) ) | ( ( rule__ComponentDefinition__Group_3_3__0 ) ) )
int alt8=4;
- switch ( input.LA(1) ) {
- case 15:
- case 16:
- case 17:
- case 18:
- case 20:
- {
- alt8=1;
- }
- break;
- case 123:
- case 134:
- {
- alt8=2;
- }
- break;
- case 76:
- {
- int LA8_3 = input.LA(2);
-
- if ( (LA8_3==RULE_ID||LA8_3==123) ) {
- alt8=2;
- }
- else if ( (LA8_3==117||LA8_3==119) ) {
- alt8=3;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 8, 3, input);
-
- throw nvae;
- }
- }
- break;
- case RULE_ID:
- {
- int LA8_4 = input.LA(2);
-
- if ( (LA8_4==117||LA8_4==119||(LA8_4>=131 && LA8_4<=132)) ) {
- alt8=3;
- }
- else if ( (LA8_4==RULE_ID) ) {
- alt8=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 8, 4, input);
-
- throw nvae;
- }
- }
- break;
- case 22:
- case 23:
- case 24:
- case 25:
- case 26:
- case 27:
- case 28:
- case 29:
- case 30:
- case 31:
- case 32:
- case 33:
- case 34:
- case 35:
- case 36:
- case 37:
- case 38:
- case 39:
- case 40:
- case 41:
- case 42:
- case 43:
- case 44:
- case 45:
- case 46:
- case 47:
- case 48:
- case 49:
- case 50:
- case 51:
- case 52:
- case 53:
- case 54:
- case 55:
- case 56:
- case 57:
- case 58:
- case 59:
- case 60:
- case 61:
- case 62:
- case 63:
- case 64:
- case 65:
- case 66:
- case 67:
- case 68:
- case 69:
- case 70:
- case 71:
- case 72:
- case 73:
- case 74:
- case 75:
- case 77:
- case 78:
- case 79:
- case 80:
- case 81:
- case 82:
- case 83:
- case 84:
- case 85:
- case 86:
- case 87:
- case 88:
- case 89:
- case 90:
- case 91:
- case 92:
- case 93:
- case 94:
- case 95:
- case 96:
- case 97:
- case 108:
- case 109:
- case 110:
- case 111:
- case 112:
- case 120:
- {
- alt8=3;
- }
- break;
- case 133:
- {
- alt8=4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 8, 0, input);
-
- throw nvae;
- }
-
+ alt8 = dfa8.predict(input);
switch (alt8) {
case 1 :
- // InternalRDL.g:946:2: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 ) )
+ // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) )
{
- // InternalRDL.g:946:2: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 ) )
- // InternalRDL.g:947:3: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 )
+ // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) )
+ // InternalRDL.g:948:3: ( rule__ComponentDefinition__Group_3_0__0 )
{
- before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0());
- // InternalRDL.g:948:3: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 )
- // InternalRDL.g:948:4: rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0());
+ }
+ // InternalRDL.g:949:3: ( rule__ComponentDefinition__Group_3_0__0 )
+ // InternalRDL.g:949:4: rule__ComponentDefinition__Group_3_0__0
{
pushFollow(FOLLOW_2);
- rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0();
+ rule__ComponentDefinition__Group_3_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0());
+ }
}
@@ -3491,24 +3495,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:952:2: ( ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) )
+ // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) )
{
- // InternalRDL.g:952:2: ( ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) )
- // InternalRDL.g:953:3: ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 )
+ // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) )
+ // InternalRDL.g:954:3: ( rule__ComponentDefinition__Group_3_1__0 )
{
- before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1());
- // InternalRDL.g:954:3: ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 )
- // InternalRDL.g:954:4: rule__ComponentDefinition__NamedInstantiationsAssignment_3_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1());
+ }
+ // InternalRDL.g:955:3: ( rule__ComponentDefinition__Group_3_1__0 )
+ // InternalRDL.g:955:4: rule__ComponentDefinition__Group_3_1__0
{
pushFollow(FOLLOW_2);
- rule__ComponentDefinition__NamedInstantiationsAssignment_3_1();
+ rule__ComponentDefinition__Group_3_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1());
+ }
}
@@ -3516,24 +3524,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:958:2: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) )
+ // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) )
{
- // InternalRDL.g:958:2: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) )
- // InternalRDL.g:959:3: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 )
+ // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) )
+ // InternalRDL.g:960:3: ( rule__ComponentDefinition__Group_3_2__0 )
{
- before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2());
- // InternalRDL.g:960:3: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 )
- // InternalRDL.g:960:4: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_2());
+ }
+ // InternalRDL.g:961:3: ( rule__ComponentDefinition__Group_3_2__0 )
+ // InternalRDL.g:961:4: rule__ComponentDefinition__Group_3_2__0
{
pushFollow(FOLLOW_2);
- rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2();
+ rule__ComponentDefinition__Group_3_2__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getGroup_3_2());
+ }
}
@@ -3541,24 +3553,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:964:2: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) )
+ // InternalRDL.g:965:2: ( ( rule__ComponentDefinition__Group_3_3__0 ) )
{
- // InternalRDL.g:964:2: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) )
- // InternalRDL.g:965:3: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 )
+ // InternalRDL.g:965:2: ( ( rule__ComponentDefinition__Group_3_3__0 ) )
+ // InternalRDL.g:966:3: ( rule__ComponentDefinition__Group_3_3__0 )
{
- before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3());
- // InternalRDL.g:966:3: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 )
- // InternalRDL.g:966:4: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_3());
+ }
+ // InternalRDL.g:967:3: ( rule__ComponentDefinition__Group_3_3__0 )
+ // InternalRDL.g:967:4: rule__ComponentDefinition__Group_3_3__0
{
pushFollow(FOLLOW_2);
- rule__ComponentDefinition__EnumDefinitionsAssignment_3_3();
+ rule__ComponentDefinition__Group_3_3__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getGroup_3_3());
+ }
}
@@ -3582,34 +3598,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__ComponentDefinition__Alternatives_3"
- // $ANTLR start "rule__Range__Alternatives_1"
- // InternalRDL.g:974:1: rule__Range__Alternatives_1 : ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) );
- public final void rule__Range__Alternatives_1() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Alternatives_0"
+ // InternalRDL.g:975:1: rule__Instantiation__Alternatives_0 : ( ( ( rule__Instantiation__Group_0_0__0 ) ) | ( ( rule__Instantiation__Group_0_1__0 ) ) );
+ public final void rule__Instantiation__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:978:1: ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) )
+ // InternalRDL.g:979:1: ( ( ( rule__Instantiation__Group_0_0__0 ) ) | ( ( rule__Instantiation__Group_0_1__0 ) ) )
int alt9=2;
int LA9_0 = input.LA(1);
- if ( (LA9_0==RULE_NUM) ) {
- int LA9_1 = input.LA(2);
-
- if ( (LA9_1==129) ) {
- alt9=2;
- }
- else if ( (LA9_1==130) ) {
- alt9=1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 9, 1, input);
-
- throw nvae;
- }
+ if ( (LA9_0==RULE_ID||LA9_0==76||LA9_0==123||LA9_0==134) ) {
+ alt9=1;
+ }
+ else if ( ((LA9_0>=15 && LA9_0<=18)||LA9_0==20) ) {
+ alt9=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 9, 0, input);
@@ -3617,24 +3624,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
switch (alt9) {
case 1 :
- // InternalRDL.g:979:2: ( ( rule__Range__Group_1_0__0 ) )
+ // InternalRDL.g:980:2: ( ( rule__Instantiation__Group_0_0__0 ) )
{
- // InternalRDL.g:979:2: ( ( rule__Range__Group_1_0__0 ) )
- // InternalRDL.g:980:3: ( rule__Range__Group_1_0__0 )
+ // InternalRDL.g:980:2: ( ( rule__Instantiation__Group_0_0__0 ) )
+ // InternalRDL.g:981:3: ( rule__Instantiation__Group_0_0__0 )
{
- before(grammarAccess.getRangeAccess().getGroup_1_0());
- // InternalRDL.g:981:3: ( rule__Range__Group_1_0__0 )
- // InternalRDL.g:981:4: rule__Range__Group_1_0__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getGroup_0_0());
+ }
+ // InternalRDL.g:982:3: ( rule__Instantiation__Group_0_0__0 )
+ // InternalRDL.g:982:4: rule__Instantiation__Group_0_0__0
{
pushFollow(FOLLOW_2);
- rule__Range__Group_1_0__0();
+ rule__Instantiation__Group_0_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRangeAccess().getGroup_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getGroup_0_0());
+ }
}
@@ -3642,24 +3653,139 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:985:2: ( ( rule__Range__SizeAssignment_1_1 ) )
+ // InternalRDL.g:986:2: ( ( rule__Instantiation__Group_0_1__0 ) )
{
- // InternalRDL.g:985:2: ( ( rule__Range__SizeAssignment_1_1 ) )
- // InternalRDL.g:986:3: ( rule__Range__SizeAssignment_1_1 )
+ // InternalRDL.g:986:2: ( ( rule__Instantiation__Group_0_1__0 ) )
+ // InternalRDL.g:987:3: ( rule__Instantiation__Group_0_1__0 )
{
- before(grammarAccess.getRangeAccess().getSizeAssignment_1_1());
- // InternalRDL.g:987:3: ( rule__Range__SizeAssignment_1_1 )
- // InternalRDL.g:987:4: rule__Range__SizeAssignment_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getGroup_0_1());
+ }
+ // InternalRDL.g:988:3: ( rule__Instantiation__Group_0_1__0 )
+ // InternalRDL.g:988:4: rule__Instantiation__Group_0_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Group_0_1__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getGroup_0_1());
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Alternatives_0"
+
+
+ // $ANTLR start "rule__Range__Alternatives_1"
+ // InternalRDL.g:996:1: rule__Range__Alternatives_1 : ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) );
+ public final void rule__Range__Alternatives_1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:1000:1: ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) )
+ int alt10=2;
+ int LA10_0 = input.LA(1);
+
+ if ( (LA10_0==RULE_NUM) ) {
+ int LA10_1 = input.LA(2);
+
+ if ( (LA10_1==130) ) {
+ alt10=1;
+ }
+ else if ( (LA10_1==129) ) {
+ alt10=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return ;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 10, 1, input);
+
+ throw nvae;
+ }
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return ;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 10, 0, input);
+
+ throw nvae;
+ }
+ switch (alt10) {
+ case 1 :
+ // InternalRDL.g:1001:2: ( ( rule__Range__Group_1_0__0 ) )
+ {
+ // InternalRDL.g:1001:2: ( ( rule__Range__Group_1_0__0 ) )
+ // InternalRDL.g:1002:3: ( rule__Range__Group_1_0__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getGroup_1_0());
+ }
+ // InternalRDL.g:1003:3: ( rule__Range__Group_1_0__0 )
+ // InternalRDL.g:1003:4: rule__Range__Group_1_0__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Range__Group_1_0__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getGroup_1_0());
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRDL.g:1007:2: ( ( rule__Range__SizeAssignment_1_1 ) )
+ {
+ // InternalRDL.g:1007:2: ( ( rule__Range__SizeAssignment_1_1 ) )
+ // InternalRDL.g:1008:3: ( rule__Range__SizeAssignment_1_1 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getSizeAssignment_1_1());
+ }
+ // InternalRDL.g:1009:3: ( rule__Range__SizeAssignment_1_1 )
+ // InternalRDL.g:1009:4: rule__Range__SizeAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__Range__SizeAssignment_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRangeAccess().getSizeAssignment_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getSizeAssignment_1_1());
+ }
}
@@ -3684,18 +3810,18 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignment__Alternatives"
- // InternalRDL.g:995:1: rule__PropertyAssignment__Alternatives : ( ( ruleDefaultProperyAssignment ) | ( ruleExplicitPropertyAssignment ) | ( rulePostPropertyAssignment ) );
+ // InternalRDL.g:1017:1: rule__PropertyAssignment__Alternatives : ( ( ruleDefaultProperyAssignment ) | ( ruleExplicitPropertyAssignment ) | ( rulePostPropertyAssignment ) );
public final void rule__PropertyAssignment__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:999:1: ( ( ruleDefaultProperyAssignment ) | ( ruleExplicitPropertyAssignment ) | ( rulePostPropertyAssignment ) )
- int alt10=3;
+ // InternalRDL.g:1021:1: ( ( ruleDefaultProperyAssignment ) | ( ruleExplicitPropertyAssignment ) | ( rulePostPropertyAssignment ) )
+ int alt11=3;
switch ( input.LA(1) ) {
case 120:
{
- alt10=1;
+ alt11=1;
}
break;
case 22:
@@ -3780,35 +3906,40 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
case 111:
case 112:
{
- alt10=2;
+ alt11=2;
}
break;
case RULE_ID:
{
- alt10=3;
+ alt11=3;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 10, 0, input);
+ new NoViableAltException("", 11, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt11) {
case 1 :
- // InternalRDL.g:1000:2: ( ruleDefaultProperyAssignment )
+ // InternalRDL.g:1022:2: ( ruleDefaultProperyAssignment )
{
- // InternalRDL.g:1000:2: ( ruleDefaultProperyAssignment )
- // InternalRDL.g:1001:3: ruleDefaultProperyAssignment
+ // InternalRDL.g:1022:2: ( ruleDefaultProperyAssignment )
+ // InternalRDL.g:1023:3: ruleDefaultProperyAssignment
{
- before(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
+ }
pushFollow(FOLLOW_2);
ruleDefaultProperyAssignment();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
+ }
}
@@ -3816,18 +3947,22 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1006:2: ( ruleExplicitPropertyAssignment )
+ // InternalRDL.g:1028:2: ( ruleExplicitPropertyAssignment )
{
- // InternalRDL.g:1006:2: ( ruleExplicitPropertyAssignment )
- // InternalRDL.g:1007:3: ruleExplicitPropertyAssignment
+ // InternalRDL.g:1028:2: ( ruleExplicitPropertyAssignment )
+ // InternalRDL.g:1029:3: ruleExplicitPropertyAssignment
{
- before(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ }
pushFollow(FOLLOW_2);
ruleExplicitPropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ }
}
@@ -3835,18 +3970,22 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1012:2: ( rulePostPropertyAssignment )
+ // InternalRDL.g:1034:2: ( rulePostPropertyAssignment )
{
- // InternalRDL.g:1012:2: ( rulePostPropertyAssignment )
- // InternalRDL.g:1013:3: rulePostPropertyAssignment
+ // InternalRDL.g:1034:2: ( rulePostPropertyAssignment )
+ // InternalRDL.g:1035:3: rulePostPropertyAssignment
{
- before(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
+ }
pushFollow(FOLLOW_2);
rulePostPropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
+ }
}
@@ -3871,48 +4010,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Alternatives"
- // InternalRDL.g:1022:1: rule__ExplicitPropertyAssignment__Alternatives : ( ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) | ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) );
+ // InternalRDL.g:1044:1: rule__ExplicitPropertyAssignment__Alternatives : ( ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) | ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) );
public final void rule__ExplicitPropertyAssignment__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1026:1: ( ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) | ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) )
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // InternalRDL.g:1048:1: ( ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) | ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) )
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA11_0==97||(LA11_0>=108 && LA11_0<=112)) ) {
- alt11=1;
+ if ( (LA12_0==97||(LA12_0>=108 && LA12_0<=112)) ) {
+ alt12=1;
}
- else if ( ((LA11_0>=22 && LA11_0<=96)) ) {
- alt11=2;
+ else if ( ((LA12_0>=22 && LA12_0<=96)) ) {
+ alt12=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 11, 0, input);
+ new NoViableAltException("", 12, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt12) {
case 1 :
- // InternalRDL.g:1027:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) )
+ // InternalRDL.g:1049:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) )
{
- // InternalRDL.g:1027:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) )
- // InternalRDL.g:1028:3: ( rule__ExplicitPropertyAssignment__Group_0__0 )
+ // InternalRDL.g:1049:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) )
+ // InternalRDL.g:1050:3: ( rule__ExplicitPropertyAssignment__Group_0__0 )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0());
- // InternalRDL.g:1029:3: ( rule__ExplicitPropertyAssignment__Group_0__0 )
- // InternalRDL.g:1029:4: rule__ExplicitPropertyAssignment__Group_0__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0());
+ }
+ // InternalRDL.g:1051:3: ( rule__ExplicitPropertyAssignment__Group_0__0 )
+ // InternalRDL.g:1051:4: rule__ExplicitPropertyAssignment__Group_0__0
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0());
+ }
}
@@ -3920,24 +4064,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1033:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) )
+ // InternalRDL.g:1055:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) )
{
- // InternalRDL.g:1033:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) )
- // InternalRDL.g:1034:3: ( rule__ExplicitPropertyAssignment__Group_1__0 )
+ // InternalRDL.g:1055:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) )
+ // InternalRDL.g:1056:3: ( rule__ExplicitPropertyAssignment__Group_1__0 )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1());
- // InternalRDL.g:1035:3: ( rule__ExplicitPropertyAssignment__Group_1__0 )
- // InternalRDL.g:1035:4: rule__ExplicitPropertyAssignment__Group_1__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1());
+ }
+ // InternalRDL.g:1057:3: ( rule__ExplicitPropertyAssignment__Group_1__0 )
+ // InternalRDL.g:1057:4: rule__ExplicitPropertyAssignment__Group_1__0
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1());
+ }
}
@@ -3962,58 +4110,64 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Alternatives_0"
- // InternalRDL.g:1043:1: rule__PostPropertyAssignment__Alternatives_0 : ( ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) );
+ // InternalRDL.g:1065:1: rule__PostPropertyAssignment__Alternatives_0 : ( ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) );
public final void rule__PostPropertyAssignment__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1047:1: ( ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) )
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalRDL.g:1069:1: ( ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) )
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA12_0==RULE_ID) ) {
- int LA12_1 = input.LA(2);
+ if ( (LA13_0==RULE_ID) ) {
+ int LA13_1 = input.LA(2);
- if ( (LA12_1==117||LA12_1==119) ) {
- alt12=2;
+ if ( (LA13_1==EOF||LA13_1==113||LA13_1==119) ) {
+ alt13=2;
}
- else if ( ((LA12_1>=131 && LA12_1<=132)) ) {
- alt12=1;
+ else if ( ((LA13_1>=131 && LA13_1<=132)) ) {
+ alt13=1;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 12, 1, input);
+ new NoViableAltException("", 13, 1, input);
throw nvae;
}
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
+ new NoViableAltException("", 13, 0, input);
throw nvae;
}
- switch (alt12) {
+ switch (alt13) {
case 1 :
- // InternalRDL.g:1048:2: ( ( rule__PostPropertyAssignment__Group_0_0__0 ) )
+ // InternalRDL.g:1070:2: ( ( rule__PostPropertyAssignment__Group_0_0__0 ) )
{
- // InternalRDL.g:1048:2: ( ( rule__PostPropertyAssignment__Group_0_0__0 ) )
- // InternalRDL.g:1049:3: ( rule__PostPropertyAssignment__Group_0_0__0 )
+ // InternalRDL.g:1070:2: ( ( rule__PostPropertyAssignment__Group_0_0__0 ) )
+ // InternalRDL.g:1071:3: ( rule__PostPropertyAssignment__Group_0_0__0 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0());
- // InternalRDL.g:1050:3: ( rule__PostPropertyAssignment__Group_0_0__0 )
- // InternalRDL.g:1050:4: rule__PostPropertyAssignment__Group_0_0__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0());
+ }
+ // InternalRDL.g:1072:3: ( rule__PostPropertyAssignment__Group_0_0__0 )
+ // InternalRDL.g:1072:4: rule__PostPropertyAssignment__Group_0_0__0
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_0_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0());
+ }
}
@@ -4021,24 +4175,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1054:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) )
+ // InternalRDL.g:1076:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) )
{
- // InternalRDL.g:1054:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) )
- // InternalRDL.g:1055:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_1 )
+ // InternalRDL.g:1076:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) )
+ // InternalRDL.g:1077:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_1 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1());
- // InternalRDL.g:1056:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_1 )
- // InternalRDL.g:1056:4: rule__PostPropertyAssignment__PropertyAssignment_0_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1());
+ }
+ // InternalRDL.g:1078:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_1 )
+ // InternalRDL.g:1078:4: rule__PostPropertyAssignment__PropertyAssignment_0_1
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__PropertyAssignment_0_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1());
+ }
}
@@ -4063,48 +4221,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Alternatives_0_0_2"
- // InternalRDL.g:1064:1: rule__PostPropertyAssignment__Alternatives_0_0_2 : ( ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) );
+ // InternalRDL.g:1086:1: rule__PostPropertyAssignment__Alternatives_0_0_2 : ( ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) );
public final void rule__PostPropertyAssignment__Alternatives_0_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1068:1: ( ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) )
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // InternalRDL.g:1090:1: ( ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) )
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( ((LA13_0>=22 && LA13_0<=96)) ) {
- alt13=1;
+ if ( ((LA14_0>=22 && LA14_0<=96)) ) {
+ alt14=1;
}
- else if ( (LA13_0==RULE_ID) ) {
- alt13=2;
+ else if ( (LA14_0==RULE_ID) ) {
+ alt14=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
+ new NoViableAltException("", 14, 0, input);
throw nvae;
}
- switch (alt13) {
+ switch (alt14) {
case 1 :
- // InternalRDL.g:1069:2: ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) )
+ // InternalRDL.g:1091:2: ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) )
{
- // InternalRDL.g:1069:2: ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) )
- // InternalRDL.g:1070:3: ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 )
+ // InternalRDL.g:1091:2: ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) )
+ // InternalRDL.g:1092:3: ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0());
- // InternalRDL.g:1071:3: ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 )
- // InternalRDL.g:1071:4: rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0());
+ }
+ // InternalRDL.g:1093:3: ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 )
+ // InternalRDL.g:1093:4: rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0());
+ }
}
@@ -4112,24 +4275,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1075:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) )
+ // InternalRDL.g:1097:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) )
{
- // InternalRDL.g:1075:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) )
- // InternalRDL.g:1076:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 )
+ // InternalRDL.g:1097:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) )
+ // InternalRDL.g:1098:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1());
- // InternalRDL.g:1077:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 )
- // InternalRDL.g:1077:4: rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1());
+ }
+ // InternalRDL.g:1099:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 )
+ // InternalRDL.g:1099:4: rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1());
+ }
}
@@ -4154,48 +4321,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Alternatives_1_1"
- // InternalRDL.g:1085:1: rule__InstancePropertyRef__Alternatives_1_1 : ( ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) | ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) );
+ // InternalRDL.g:1107:1: rule__InstancePropertyRef__Alternatives_1_1 : ( ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) | ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) );
public final void rule__InstancePropertyRef__Alternatives_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1089:1: ( ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) | ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) )
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // InternalRDL.g:1111:1: ( ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) | ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) )
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( ((LA14_0>=22 && LA14_0<=96)) ) {
- alt14=1;
+ if ( ((LA15_0>=22 && LA15_0<=96)) ) {
+ alt15=1;
}
- else if ( (LA14_0==RULE_ID) ) {
- alt14=2;
+ else if ( (LA15_0==RULE_ID) ) {
+ alt15=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 14, 0, input);
+ new NoViableAltException("", 15, 0, input);
throw nvae;
}
- switch (alt14) {
+ switch (alt15) {
case 1 :
- // InternalRDL.g:1090:2: ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) )
+ // InternalRDL.g:1112:2: ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) )
{
- // InternalRDL.g:1090:2: ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) )
- // InternalRDL.g:1091:3: ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 )
+ // InternalRDL.g:1112:2: ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) )
+ // InternalRDL.g:1113:3: ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 )
{
- before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0());
- // InternalRDL.g:1092:3: ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 )
- // InternalRDL.g:1092:4: rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0());
+ }
+ // InternalRDL.g:1114:3: ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 )
+ // InternalRDL.g:1114:4: rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0());
+ }
}
@@ -4203,24 +4375,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1096:2: ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) )
+ // InternalRDL.g:1118:2: ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) )
{
- // InternalRDL.g:1096:2: ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) )
- // InternalRDL.g:1097:3: ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 )
+ // InternalRDL.g:1118:2: ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) )
+ // InternalRDL.g:1119:3: ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 )
{
- before(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1());
- // InternalRDL.g:1098:3: ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 )
- // InternalRDL.g:1098:4: rule__InstancePropertyRef__PropertyAssignment_1_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1());
+ }
+ // InternalRDL.g:1120:3: ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 )
+ // InternalRDL.g:1120:4: rule__InstancePropertyRef__PropertyAssignment_1_1_1
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__PropertyAssignment_1_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1());
+ }
}
@@ -4245,14 +4421,14 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Alternatives"
- // InternalRDL.g:1106:1: rule__PropertyAssignmentRhs__Alternatives : ( ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) | ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) | ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) | ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) );
+ // InternalRDL.g:1128:1: rule__PropertyAssignmentRhs__Alternatives : ( ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) | ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) | ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) | ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) );
public final void rule__PropertyAssignmentRhs__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1110:1: ( ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) | ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) | ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) | ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) )
- int alt15=4;
+ // InternalRDL.g:1132:1: ( ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) | ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) | ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) | ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) )
+ int alt16=4;
switch ( input.LA(1) ) {
case RULE_STR:
case RULE_NUM:
@@ -4270,59 +4446,65 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
case 106:
case 107:
{
- alt15=1;
+ alt16=1;
}
break;
case RULE_ID:
{
- int LA15_2 = input.LA(2);
+ int LA16_2 = input.LA(2);
- if ( (LA15_2==133) ) {
- alt15=3;
+ if ( (LA16_2==EOF||LA16_2==113||(LA16_2>=131 && LA16_2<=132)) ) {
+ alt16=2;
}
- else if ( (LA15_2==EOF||LA15_2==117||(LA15_2>=131 && LA15_2<=132)) ) {
- alt15=2;
+ else if ( (LA16_2==133) ) {
+ alt16=3;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 15, 2, input);
+ new NoViableAltException("", 16, 2, input);
throw nvae;
}
}
break;
- case 115:
+ case 116:
{
- alt15=4;
+ alt16=4;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
+ new NoViableAltException("", 16, 0, input);
throw nvae;
}
- switch (alt15) {
+ switch (alt16) {
case 1 :
- // InternalRDL.g:1111:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) )
+ // InternalRDL.g:1133:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) )
{
- // InternalRDL.g:1111:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) )
- // InternalRDL.g:1112:3: ( rule__PropertyAssignmentRhs__ValueAssignment_0 )
+ // InternalRDL.g:1133:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) )
+ // InternalRDL.g:1134:3: ( rule__PropertyAssignmentRhs__ValueAssignment_0 )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0());
- // InternalRDL.g:1113:3: ( rule__PropertyAssignmentRhs__ValueAssignment_0 )
- // InternalRDL.g:1113:4: rule__PropertyAssignmentRhs__ValueAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0());
+ }
+ // InternalRDL.g:1135:3: ( rule__PropertyAssignmentRhs__ValueAssignment_0 )
+ // InternalRDL.g:1135:4: rule__PropertyAssignmentRhs__ValueAssignment_0
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__ValueAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0());
+ }
}
@@ -4330,24 +4512,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1117:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) )
+ // InternalRDL.g:1139:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) )
{
- // InternalRDL.g:1117:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) )
- // InternalRDL.g:1118:3: ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 )
+ // InternalRDL.g:1139:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) )
+ // InternalRDL.g:1140:3: ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1());
- // InternalRDL.g:1119:3: ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 )
- // InternalRDL.g:1119:4: rule__PropertyAssignmentRhs__InstPropRefAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1());
+ }
+ // InternalRDL.g:1141:3: ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 )
+ // InternalRDL.g:1141:4: rule__PropertyAssignmentRhs__InstPropRefAssignment_1
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__InstPropRefAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1());
+ }
}
@@ -4355,24 +4541,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1123:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) )
+ // InternalRDL.g:1145:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) )
{
- // InternalRDL.g:1123:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) )
- // InternalRDL.g:1124:3: ( rule__PropertyAssignmentRhs__Group_2__0 )
+ // InternalRDL.g:1145:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) )
+ // InternalRDL.g:1146:3: ( rule__PropertyAssignmentRhs__Group_2__0 )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2());
- // InternalRDL.g:1125:3: ( rule__PropertyAssignmentRhs__Group_2__0 )
- // InternalRDL.g:1125:4: rule__PropertyAssignmentRhs__Group_2__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2());
+ }
+ // InternalRDL.g:1147:3: ( rule__PropertyAssignmentRhs__Group_2__0 )
+ // InternalRDL.g:1147:4: rule__PropertyAssignmentRhs__Group_2__0
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__Group_2__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2());
+ }
}
@@ -4380,24 +4570,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1129:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) )
+ // InternalRDL.g:1151:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) )
{
- // InternalRDL.g:1129:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) )
- // InternalRDL.g:1130:3: ( rule__PropertyAssignmentRhs__ElementsAssignment_3 )
+ // InternalRDL.g:1151:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) )
+ // InternalRDL.g:1152:3: ( rule__PropertyAssignmentRhs__ElementsAssignment_3 )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3());
- // InternalRDL.g:1131:3: ( rule__PropertyAssignmentRhs__ElementsAssignment_3 )
- // InternalRDL.g:1131:4: rule__PropertyAssignmentRhs__ElementsAssignment_3
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3());
+ }
+ // InternalRDL.g:1153:3: ( rule__PropertyAssignmentRhs__ElementsAssignment_3 )
+ // InternalRDL.g:1153:4: rule__PropertyAssignmentRhs__ElementsAssignment_3
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__ElementsAssignment_3();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3());
+ }
}
@@ -4422,48 +4616,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ConcatElem__Alternatives"
- // InternalRDL.g:1139:1: rule__ConcatElem__Alternatives : ( ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) | ( ( rule__ConcatElem__ValueAssignment_1 ) ) );
+ // InternalRDL.g:1161:1: rule__ConcatElem__Alternatives : ( ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) | ( ( rule__ConcatElem__ValueAssignment_1 ) ) );
public final void rule__ConcatElem__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1143:1: ( ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) | ( ( rule__ConcatElem__ValueAssignment_1 ) ) )
- int alt16=2;
- int LA16_0 = input.LA(1);
+ // InternalRDL.g:1165:1: ( ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) | ( ( rule__ConcatElem__ValueAssignment_1 ) ) )
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA16_0==RULE_ID) ) {
- alt16=1;
+ if ( (LA17_0==RULE_ID) ) {
+ alt17=1;
}
- else if ( (LA16_0==RULE_NUM) ) {
- alt16=2;
+ else if ( (LA17_0==RULE_NUM) ) {
+ alt17=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ new NoViableAltException("", 17, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt17) {
case 1 :
- // InternalRDL.g:1144:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) )
+ // InternalRDL.g:1166:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) )
{
- // InternalRDL.g:1144:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) )
- // InternalRDL.g:1145:3: ( rule__ConcatElem__InstPropRefAssignment_0 )
+ // InternalRDL.g:1166:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) )
+ // InternalRDL.g:1167:3: ( rule__ConcatElem__InstPropRefAssignment_0 )
{
- before(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0());
- // InternalRDL.g:1146:3: ( rule__ConcatElem__InstPropRefAssignment_0 )
- // InternalRDL.g:1146:4: rule__ConcatElem__InstPropRefAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0());
+ }
+ // InternalRDL.g:1168:3: ( rule__ConcatElem__InstPropRefAssignment_0 )
+ // InternalRDL.g:1168:4: rule__ConcatElem__InstPropRefAssignment_0
{
pushFollow(FOLLOW_2);
rule__ConcatElem__InstPropRefAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0());
+ }
}
@@ -4471,24 +4670,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1150:2: ( ( rule__ConcatElem__ValueAssignment_1 ) )
+ // InternalRDL.g:1172:2: ( ( rule__ConcatElem__ValueAssignment_1 ) )
{
- // InternalRDL.g:1150:2: ( ( rule__ConcatElem__ValueAssignment_1 ) )
- // InternalRDL.g:1151:3: ( rule__ConcatElem__ValueAssignment_1 )
+ // InternalRDL.g:1172:2: ( ( rule__ConcatElem__ValueAssignment_1 ) )
+ // InternalRDL.g:1173:3: ( rule__ConcatElem__ValueAssignment_1 )
{
- before(grammarAccess.getConcatElemAccess().getValueAssignment_1());
- // InternalRDL.g:1152:3: ( rule__ConcatElem__ValueAssignment_1 )
- // InternalRDL.g:1152:4: rule__ConcatElem__ValueAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatElemAccess().getValueAssignment_1());
+ }
+ // InternalRDL.g:1174:3: ( rule__ConcatElem__ValueAssignment_1 )
+ // InternalRDL.g:1174:4: rule__ConcatElem__ValueAssignment_1
{
pushFollow(FOLLOW_2);
rule__ConcatElem__ValueAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getConcatElemAccess().getValueAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatElemAccess().getValueAssignment_1());
+ }
}
@@ -4513,14 +4716,14 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyRvalueConstant__Alternatives"
- // InternalRDL.g:1160:1: rule__PropertyRvalueConstant__Alternatives : ( ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) | ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) | ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) );
+ // InternalRDL.g:1182:1: rule__PropertyRvalueConstant__Alternatives : ( ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) | ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) | ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) );
public final void rule__PropertyRvalueConstant__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1164:1: ( ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) | ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) | ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) )
- int alt17=3;
+ // InternalRDL.g:1186:1: ( ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) | ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) | ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) )
+ int alt18=3;
switch ( input.LA(1) ) {
case 82:
case 83:
@@ -4536,46 +4739,51 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
case 106:
case 107:
{
- alt17=1;
+ alt18=1;
}
break;
case RULE_NUM:
{
- alt17=2;
+ alt18=2;
}
break;
case RULE_STR:
{
- alt17=3;
+ alt18=3;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 17, 0, input);
+ new NoViableAltException("", 18, 0, input);
throw nvae;
}
- switch (alt17) {
+ switch (alt18) {
case 1 :
- // InternalRDL.g:1165:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) )
+ // InternalRDL.g:1187:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) )
{
- // InternalRDL.g:1165:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) )
- // InternalRDL.g:1166:3: ( rule__PropertyRvalueConstant__ValAssignment_0 )
+ // InternalRDL.g:1187:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) )
+ // InternalRDL.g:1188:3: ( rule__PropertyRvalueConstant__ValAssignment_0 )
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0());
- // InternalRDL.g:1167:3: ( rule__PropertyRvalueConstant__ValAssignment_0 )
- // InternalRDL.g:1167:4: rule__PropertyRvalueConstant__ValAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0());
+ }
+ // InternalRDL.g:1189:3: ( rule__PropertyRvalueConstant__ValAssignment_0 )
+ // InternalRDL.g:1189:4: rule__PropertyRvalueConstant__ValAssignment_0
{
pushFollow(FOLLOW_2);
rule__PropertyRvalueConstant__ValAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0());
+ }
}
@@ -4583,24 +4791,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1171:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) )
+ // InternalRDL.g:1193:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) )
{
- // InternalRDL.g:1171:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) )
- // InternalRDL.g:1172:3: ( rule__PropertyRvalueConstant__NumAssignment_1 )
+ // InternalRDL.g:1193:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) )
+ // InternalRDL.g:1194:3: ( rule__PropertyRvalueConstant__NumAssignment_1 )
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1());
- // InternalRDL.g:1173:3: ( rule__PropertyRvalueConstant__NumAssignment_1 )
- // InternalRDL.g:1173:4: rule__PropertyRvalueConstant__NumAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1());
+ }
+ // InternalRDL.g:1195:3: ( rule__PropertyRvalueConstant__NumAssignment_1 )
+ // InternalRDL.g:1195:4: rule__PropertyRvalueConstant__NumAssignment_1
{
pushFollow(FOLLOW_2);
rule__PropertyRvalueConstant__NumAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1());
+ }
}
@@ -4608,24 +4820,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1177:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) )
+ // InternalRDL.g:1199:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) )
{
- // InternalRDL.g:1177:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) )
- // InternalRDL.g:1178:3: ( rule__PropertyRvalueConstant__StrAssignment_2 )
+ // InternalRDL.g:1199:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) )
+ // InternalRDL.g:1200:3: ( rule__PropertyRvalueConstant__StrAssignment_2 )
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2());
- // InternalRDL.g:1179:3: ( rule__PropertyRvalueConstant__StrAssignment_2 )
- // InternalRDL.g:1179:4: rule__PropertyRvalueConstant__StrAssignment_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2());
+ }
+ // InternalRDL.g:1201:3: ( rule__PropertyRvalueConstant__StrAssignment_2 )
+ // InternalRDL.g:1201:4: rule__PropertyRvalueConstant__StrAssignment_2
{
pushFollow(FOLLOW_2);
rule__PropertyRvalueConstant__StrAssignment_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2());
+ }
}
@@ -4650,48 +4866,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Alternatives_0"
- // InternalRDL.g:1187:1: rule__EnumProperty__Alternatives_0 : ( ( ( rule__EnumProperty__Group_0_0__0 ) ) | ( ( rule__EnumProperty__Group_0_1__0 ) ) );
+ // InternalRDL.g:1209:1: rule__EnumProperty__Alternatives_0 : ( ( ( rule__EnumProperty__Group_0_0__0 ) ) | ( ( rule__EnumProperty__Group_0_1__0 ) ) );
public final void rule__EnumProperty__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1191:1: ( ( ( rule__EnumProperty__Group_0_0__0 ) ) | ( ( rule__EnumProperty__Group_0_1__0 ) ) )
- int alt18=2;
- int LA18_0 = input.LA(1);
+ // InternalRDL.g:1213:1: ( ( ( rule__EnumProperty__Group_0_0__0 ) ) | ( ( rule__EnumProperty__Group_0_1__0 ) ) )
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- if ( (LA18_0==22) ) {
- alt18=1;
+ if ( (LA19_0==22) ) {
+ alt19=1;
}
- else if ( (LA18_0==23) ) {
- alt18=2;
+ else if ( (LA19_0==23) ) {
+ alt19=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 18, 0, input);
+ new NoViableAltException("", 19, 0, input);
throw nvae;
}
- switch (alt18) {
+ switch (alt19) {
case 1 :
- // InternalRDL.g:1192:2: ( ( rule__EnumProperty__Group_0_0__0 ) )
+ // InternalRDL.g:1214:2: ( ( rule__EnumProperty__Group_0_0__0 ) )
{
- // InternalRDL.g:1192:2: ( ( rule__EnumProperty__Group_0_0__0 ) )
- // InternalRDL.g:1193:3: ( rule__EnumProperty__Group_0_0__0 )
+ // InternalRDL.g:1214:2: ( ( rule__EnumProperty__Group_0_0__0 ) )
+ // InternalRDL.g:1215:3: ( rule__EnumProperty__Group_0_0__0 )
{
- before(grammarAccess.getEnumPropertyAccess().getGroup_0_0());
- // InternalRDL.g:1194:3: ( rule__EnumProperty__Group_0_0__0 )
- // InternalRDL.g:1194:4: rule__EnumProperty__Group_0_0__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getGroup_0_0());
+ }
+ // InternalRDL.g:1216:3: ( rule__EnumProperty__Group_0_0__0 )
+ // InternalRDL.g:1216:4: rule__EnumProperty__Group_0_0__0
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_0__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getGroup_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getGroup_0_0());
+ }
}
@@ -4699,24 +4920,28 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1198:2: ( ( rule__EnumProperty__Group_0_1__0 ) )
+ // InternalRDL.g:1220:2: ( ( rule__EnumProperty__Group_0_1__0 ) )
{
- // InternalRDL.g:1198:2: ( ( rule__EnumProperty__Group_0_1__0 ) )
- // InternalRDL.g:1199:3: ( rule__EnumProperty__Group_0_1__0 )
+ // InternalRDL.g:1220:2: ( ( rule__EnumProperty__Group_0_1__0 ) )
+ // InternalRDL.g:1221:3: ( rule__EnumProperty__Group_0_1__0 )
{
- before(grammarAccess.getEnumPropertyAccess().getGroup_0_1());
- // InternalRDL.g:1200:3: ( rule__EnumProperty__Group_0_1__0 )
- // InternalRDL.g:1200:4: rule__EnumProperty__Group_0_1__0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getGroup_0_1());
+ }
+ // InternalRDL.g:1222:3: ( rule__EnumProperty__Group_0_1__0 )
+ // InternalRDL.g:1222:4: rule__EnumProperty__Group_0_1__0
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getGroup_0_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getGroup_0_1());
+ }
}
@@ -4740,79 +4965,54 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__EnumProperty__Alternatives_0"
- // $ANTLR start "rule__PropertyTypeName__Alternatives"
- // InternalRDL.g:1208:1: rule__PropertyTypeName__Alternatives : ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) );
- public final void rule__PropertyTypeName__Alternatives() throws RecognitionException {
+ // $ANTLR start "rule__EnumInstanceType__Alternatives"
+ // InternalRDL.g:1230:1: rule__EnumInstanceType__Alternatives : ( ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) ) | ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) ) );
+ public final void rule__EnumInstanceType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1212:1: ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) )
- int alt19=8;
- switch ( input.LA(1) ) {
- case 12:
- {
- alt19=1;
- }
- break;
- case 13:
- {
- alt19=2;
- }
- break;
- case 14:
- {
- alt19=3;
- }
- break;
- case 15:
- {
- alt19=4;
- }
- break;
- case 16:
- {
- alt19=5;
- }
- break;
- case 17:
- {
- alt19=6;
- }
- break;
- case 18:
- {
- alt19=7;
- }
- break;
- case 19:
- {
- alt19=8;
- }
- break;
- default:
+ // InternalRDL.g:1234:1: ( ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) ) | ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) ) )
+ int alt20=2;
+ int LA20_0 = input.LA(1);
+
+ if ( (LA20_0==134) ) {
+ alt20=1;
+ }
+ else if ( (LA20_0==76) ) {
+ alt20=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
+ new NoViableAltException("", 20, 0, input);
throw nvae;
}
-
- switch (alt19) {
+ switch (alt20) {
case 1 :
- // InternalRDL.g:1213:2: ( ( 'string' ) )
+ // InternalRDL.g:1235:2: ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) )
{
- // InternalRDL.g:1213:2: ( ( 'string' ) )
- // InternalRDL.g:1214:3: ( 'string' )
+ // InternalRDL.g:1235:2: ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) )
+ // InternalRDL.g:1236:3: ( rule__EnumInstanceType__EXTERNALAssignment_0 )
{
- before(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0());
- // InternalRDL.g:1215:3: ( 'string' )
- // InternalRDL.g:1215:4: 'string'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0());
+ }
+ // InternalRDL.g:1237:3: ( rule__EnumInstanceType__EXTERNALAssignment_0 )
+ // InternalRDL.g:1237:4: rule__EnumInstanceType__EXTERNALAssignment_0
{
- match(input,12,FOLLOW_2);
+ pushFollow(FOLLOW_2);
+ rule__EnumInstanceType__EXTERNALAssignment_0();
+
+ state._fsp--;
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0());
+ }
}
@@ -4820,20 +5020,154 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1219:2: ( ( 'number' ) )
+ // InternalRDL.g:1241:2: ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) )
{
- // InternalRDL.g:1219:2: ( ( 'number' ) )
- // InternalRDL.g:1220:3: ( 'number' )
+ // InternalRDL.g:1241:2: ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) )
+ // InternalRDL.g:1242:3: ( rule__EnumInstanceType__INTERNALAssignment_1 )
{
- before(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1());
- // InternalRDL.g:1221:3: ( 'number' )
- // InternalRDL.g:1221:4: 'number'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1());
+ }
+ // InternalRDL.g:1243:3: ( rule__EnumInstanceType__INTERNALAssignment_1 )
+ // InternalRDL.g:1243:4: rule__EnumInstanceType__INTERNALAssignment_1
{
- match(input,13,FOLLOW_2);
+ pushFollow(FOLLOW_2);
+ rule__EnumInstanceType__INTERNALAssignment_1();
+
+ state._fsp--;
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1());
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__EnumInstanceType__Alternatives"
+
+
+ // $ANTLR start "rule__PropertyTypeName__Alternatives"
+ // InternalRDL.g:1251:1: rule__PropertyTypeName__Alternatives : ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) );
+ public final void rule__PropertyTypeName__Alternatives() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:1255:1: ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) )
+ int alt21=8;
+ switch ( input.LA(1) ) {
+ case 12:
+ {
+ alt21=1;
+ }
+ break;
+ case 13:
+ {
+ alt21=2;
+ }
+ break;
+ case 14:
+ {
+ alt21=3;
+ }
+ break;
+ case 15:
+ {
+ alt21=4;
+ }
+ break;
+ case 16:
+ {
+ alt21=5;
+ }
+ break;
+ case 17:
+ {
+ alt21=6;
+ }
+ break;
+ case 18:
+ {
+ alt21=7;
+ }
+ break;
+ case 19:
+ {
+ alt21=8;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return ;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 21, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt21) {
+ case 1 :
+ // InternalRDL.g:1256:2: ( ( 'string' ) )
+ {
+ // InternalRDL.g:1256:2: ( ( 'string' ) )
+ // InternalRDL.g:1257:3: ( 'string' )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0());
+ }
+ // InternalRDL.g:1258:3: ( 'string' )
+ // InternalRDL.g:1258:4: 'string'
+ {
+ match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0());
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRDL.g:1262:2: ( ( 'number' ) )
+ {
+ // InternalRDL.g:1262:2: ( ( 'number' ) )
+ // InternalRDL.g:1263:3: ( 'number' )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1());
+ }
+ // InternalRDL.g:1264:3: ( 'number' )
+ // InternalRDL.g:1264:4: 'number'
+ {
+ match(input,13,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1());
+ }
}
@@ -4841,20 +5175,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1225:2: ( ( 'boolean' ) )
+ // InternalRDL.g:1268:2: ( ( 'boolean' ) )
{
- // InternalRDL.g:1225:2: ( ( 'boolean' ) )
- // InternalRDL.g:1226:3: ( 'boolean' )
+ // InternalRDL.g:1268:2: ( ( 'boolean' ) )
+ // InternalRDL.g:1269:3: ( 'boolean' )
{
- before(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2());
- // InternalRDL.g:1227:3: ( 'boolean' )
- // InternalRDL.g:1227:4: 'boolean'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2());
+ }
+ // InternalRDL.g:1270:3: ( 'boolean' )
+ // InternalRDL.g:1270:4: 'boolean'
{
- match(input,14,FOLLOW_2);
+ match(input,14,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2());
+ }
}
@@ -4862,20 +5200,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1231:2: ( ( 'addrmap' ) )
+ // InternalRDL.g:1274:2: ( ( 'addrmap' ) )
{
- // InternalRDL.g:1231:2: ( ( 'addrmap' ) )
- // InternalRDL.g:1232:3: ( 'addrmap' )
+ // InternalRDL.g:1274:2: ( ( 'addrmap' ) )
+ // InternalRDL.g:1275:3: ( 'addrmap' )
{
- before(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3());
- // InternalRDL.g:1233:3: ( 'addrmap' )
- // InternalRDL.g:1233:4: 'addrmap'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3());
+ }
+ // InternalRDL.g:1276:3: ( 'addrmap' )
+ // InternalRDL.g:1276:4: 'addrmap'
{
- match(input,15,FOLLOW_2);
+ match(input,15,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3());
+ }
}
@@ -4883,20 +5225,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:1237:2: ( ( 'reg' ) )
+ // InternalRDL.g:1280:2: ( ( 'reg' ) )
{
- // InternalRDL.g:1237:2: ( ( 'reg' ) )
- // InternalRDL.g:1238:3: ( 'reg' )
+ // InternalRDL.g:1280:2: ( ( 'reg' ) )
+ // InternalRDL.g:1281:3: ( 'reg' )
{
- before(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4());
- // InternalRDL.g:1239:3: ( 'reg' )
- // InternalRDL.g:1239:4: 'reg'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4());
+ }
+ // InternalRDL.g:1282:3: ( 'reg' )
+ // InternalRDL.g:1282:4: 'reg'
{
- match(input,16,FOLLOW_2);
+ match(input,16,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4());
+ }
}
@@ -4904,20 +5250,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 6 :
- // InternalRDL.g:1243:2: ( ( 'regfile' ) )
+ // InternalRDL.g:1286:2: ( ( 'regfile' ) )
{
- // InternalRDL.g:1243:2: ( ( 'regfile' ) )
- // InternalRDL.g:1244:3: ( 'regfile' )
+ // InternalRDL.g:1286:2: ( ( 'regfile' ) )
+ // InternalRDL.g:1287:3: ( 'regfile' )
{
- before(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5());
- // InternalRDL.g:1245:3: ( 'regfile' )
- // InternalRDL.g:1245:4: 'regfile'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5());
+ }
+ // InternalRDL.g:1288:3: ( 'regfile' )
+ // InternalRDL.g:1288:4: 'regfile'
{
- match(input,17,FOLLOW_2);
+ match(input,17,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5());
+ }
}
@@ -4925,20 +5275,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 7 :
- // InternalRDL.g:1249:2: ( ( 'field' ) )
+ // InternalRDL.g:1292:2: ( ( 'field' ) )
{
- // InternalRDL.g:1249:2: ( ( 'field' ) )
- // InternalRDL.g:1250:3: ( 'field' )
+ // InternalRDL.g:1292:2: ( ( 'field' ) )
+ // InternalRDL.g:1293:3: ( 'field' )
{
- before(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6());
- // InternalRDL.g:1251:3: ( 'field' )
- // InternalRDL.g:1251:4: 'field'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6());
+ }
+ // InternalRDL.g:1294:3: ( 'field' )
+ // InternalRDL.g:1294:4: 'field'
{
- match(input,18,FOLLOW_2);
+ match(input,18,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6());
+ }
}
@@ -4946,20 +5300,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 8 :
- // InternalRDL.g:1255:2: ( ( 'ref' ) )
+ // InternalRDL.g:1298:2: ( ( 'ref' ) )
{
- // InternalRDL.g:1255:2: ( ( 'ref' ) )
- // InternalRDL.g:1256:3: ( 'ref' )
+ // InternalRDL.g:1298:2: ( ( 'ref' ) )
+ // InternalRDL.g:1299:3: ( 'ref' )
{
- before(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7());
- // InternalRDL.g:1257:3: ( 'ref' )
- // InternalRDL.g:1257:4: 'ref'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7());
+ }
+ // InternalRDL.g:1300:3: ( 'ref' )
+ // InternalRDL.g:1300:4: 'ref'
{
- match(input,19,FOLLOW_2);
+ match(input,19,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7());
+ }
}
@@ -4984,68 +5342,73 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyComponent__Alternatives"
- // InternalRDL.g:1265:1: rule__PropertyComponent__Alternatives : ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'all' ) ) );
+ // InternalRDL.g:1308:1: rule__PropertyComponent__Alternatives : ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'all' ) ) );
public final void rule__PropertyComponent__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1269:1: ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'all' ) ) )
- int alt20=6;
+ // InternalRDL.g:1312:1: ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'all' ) ) )
+ int alt22=6;
switch ( input.LA(1) ) {
case 20:
{
- alt20=1;
+ alt22=1;
}
break;
case 15:
{
- alt20=2;
+ alt22=2;
}
break;
case 16:
{
- alt20=3;
+ alt22=3;
}
break;
case 17:
{
- alt20=4;
+ alt22=4;
}
break;
case 18:
{
- alt20=5;
+ alt22=5;
}
break;
case 21:
{
- alt20=6;
+ alt22=6;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
+ new NoViableAltException("", 22, 0, input);
throw nvae;
}
- switch (alt20) {
+ switch (alt22) {
case 1 :
- // InternalRDL.g:1270:2: ( ( 'signal' ) )
+ // InternalRDL.g:1313:2: ( ( 'signal' ) )
{
- // InternalRDL.g:1270:2: ( ( 'signal' ) )
- // InternalRDL.g:1271:3: ( 'signal' )
+ // InternalRDL.g:1313:2: ( ( 'signal' ) )
+ // InternalRDL.g:1314:3: ( 'signal' )
{
- before(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0());
- // InternalRDL.g:1272:3: ( 'signal' )
- // InternalRDL.g:1272:4: 'signal'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0());
+ }
+ // InternalRDL.g:1315:3: ( 'signal' )
+ // InternalRDL.g:1315:4: 'signal'
{
- match(input,20,FOLLOW_2);
+ match(input,20,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0());
+ }
}
@@ -5053,20 +5416,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1276:2: ( ( 'addrmap' ) )
+ // InternalRDL.g:1319:2: ( ( 'addrmap' ) )
{
- // InternalRDL.g:1276:2: ( ( 'addrmap' ) )
- // InternalRDL.g:1277:3: ( 'addrmap' )
+ // InternalRDL.g:1319:2: ( ( 'addrmap' ) )
+ // InternalRDL.g:1320:3: ( 'addrmap' )
{
- before(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1());
- // InternalRDL.g:1278:3: ( 'addrmap' )
- // InternalRDL.g:1278:4: 'addrmap'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1());
+ }
+ // InternalRDL.g:1321:3: ( 'addrmap' )
+ // InternalRDL.g:1321:4: 'addrmap'
{
- match(input,15,FOLLOW_2);
+ match(input,15,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1());
+ }
}
@@ -5074,20 +5441,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1282:2: ( ( 'reg' ) )
+ // InternalRDL.g:1325:2: ( ( 'reg' ) )
{
- // InternalRDL.g:1282:2: ( ( 'reg' ) )
- // InternalRDL.g:1283:3: ( 'reg' )
+ // InternalRDL.g:1325:2: ( ( 'reg' ) )
+ // InternalRDL.g:1326:3: ( 'reg' )
{
- before(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2());
- // InternalRDL.g:1284:3: ( 'reg' )
- // InternalRDL.g:1284:4: 'reg'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2());
+ }
+ // InternalRDL.g:1327:3: ( 'reg' )
+ // InternalRDL.g:1327:4: 'reg'
{
- match(input,16,FOLLOW_2);
+ match(input,16,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2());
+ }
}
@@ -5095,20 +5466,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1288:2: ( ( 'regfile' ) )
+ // InternalRDL.g:1331:2: ( ( 'regfile' ) )
{
- // InternalRDL.g:1288:2: ( ( 'regfile' ) )
- // InternalRDL.g:1289:3: ( 'regfile' )
+ // InternalRDL.g:1331:2: ( ( 'regfile' ) )
+ // InternalRDL.g:1332:3: ( 'regfile' )
{
- before(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3());
- // InternalRDL.g:1290:3: ( 'regfile' )
- // InternalRDL.g:1290:4: 'regfile'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3());
+ }
+ // InternalRDL.g:1333:3: ( 'regfile' )
+ // InternalRDL.g:1333:4: 'regfile'
{
- match(input,17,FOLLOW_2);
+ match(input,17,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3());
+ }
}
@@ -5116,20 +5491,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:1294:2: ( ( 'field' ) )
+ // InternalRDL.g:1337:2: ( ( 'field' ) )
{
- // InternalRDL.g:1294:2: ( ( 'field' ) )
- // InternalRDL.g:1295:3: ( 'field' )
+ // InternalRDL.g:1337:2: ( ( 'field' ) )
+ // InternalRDL.g:1338:3: ( 'field' )
{
- before(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4());
- // InternalRDL.g:1296:3: ( 'field' )
- // InternalRDL.g:1296:4: 'field'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4());
+ }
+ // InternalRDL.g:1339:3: ( 'field' )
+ // InternalRDL.g:1339:4: 'field'
{
- match(input,18,FOLLOW_2);
+ match(input,18,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4());
+ }
}
@@ -5137,20 +5516,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 6 :
- // InternalRDL.g:1300:2: ( ( 'all' ) )
+ // InternalRDL.g:1343:2: ( ( 'all' ) )
{
- // InternalRDL.g:1300:2: ( ( 'all' ) )
- // InternalRDL.g:1301:3: ( 'all' )
+ // InternalRDL.g:1343:2: ( ( 'all' ) )
+ // InternalRDL.g:1344:3: ( 'all' )
{
- before(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5());
- // InternalRDL.g:1302:3: ( 'all' )
- // InternalRDL.g:1302:4: 'all'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5());
+ }
+ // InternalRDL.g:1345:3: ( 'all' )
+ // InternalRDL.g:1345:4: 'all'
{
- match(input,21,FOLLOW_2);
+ match(input,21,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5());
+ }
}
@@ -5175,63 +5558,68 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinitionType__Alternatives"
- // InternalRDL.g:1310:1: rule__ComponentDefinitionType__Alternatives : ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'regfile' ) ) | ( ( 'reg' ) ) | ( ( 'field' ) ) );
+ // InternalRDL.g:1353:1: rule__ComponentDefinitionType__Alternatives : ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'regfile' ) ) | ( ( 'reg' ) ) | ( ( 'field' ) ) );
public final void rule__ComponentDefinitionType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1314:1: ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'regfile' ) ) | ( ( 'reg' ) ) | ( ( 'field' ) ) )
- int alt21=5;
+ // InternalRDL.g:1357:1: ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'regfile' ) ) | ( ( 'reg' ) ) | ( ( 'field' ) ) )
+ int alt23=5;
switch ( input.LA(1) ) {
case 20:
{
- alt21=1;
+ alt23=1;
}
break;
case 15:
{
- alt21=2;
+ alt23=2;
}
break;
case 17:
{
- alt21=3;
+ alt23=3;
}
break;
case 16:
{
- alt21=4;
+ alt23=4;
}
break;
case 18:
{
- alt21=5;
+ alt23=5;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 23, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt23) {
case 1 :
- // InternalRDL.g:1315:2: ( ( 'signal' ) )
+ // InternalRDL.g:1358:2: ( ( 'signal' ) )
{
- // InternalRDL.g:1315:2: ( ( 'signal' ) )
- // InternalRDL.g:1316:3: ( 'signal' )
+ // InternalRDL.g:1358:2: ( ( 'signal' ) )
+ // InternalRDL.g:1359:3: ( 'signal' )
{
- before(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0());
- // InternalRDL.g:1317:3: ( 'signal' )
- // InternalRDL.g:1317:4: 'signal'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0());
+ }
+ // InternalRDL.g:1360:3: ( 'signal' )
+ // InternalRDL.g:1360:4: 'signal'
{
- match(input,20,FOLLOW_2);
+ match(input,20,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0());
+ }
}
@@ -5239,20 +5627,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1321:2: ( ( 'addrmap' ) )
+ // InternalRDL.g:1364:2: ( ( 'addrmap' ) )
{
- // InternalRDL.g:1321:2: ( ( 'addrmap' ) )
- // InternalRDL.g:1322:3: ( 'addrmap' )
+ // InternalRDL.g:1364:2: ( ( 'addrmap' ) )
+ // InternalRDL.g:1365:3: ( 'addrmap' )
{
- before(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1());
- // InternalRDL.g:1323:3: ( 'addrmap' )
- // InternalRDL.g:1323:4: 'addrmap'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1());
+ }
+ // InternalRDL.g:1366:3: ( 'addrmap' )
+ // InternalRDL.g:1366:4: 'addrmap'
{
- match(input,15,FOLLOW_2);
+ match(input,15,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1());
+ }
}
@@ -5260,20 +5652,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1327:2: ( ( 'regfile' ) )
+ // InternalRDL.g:1370:2: ( ( 'regfile' ) )
{
- // InternalRDL.g:1327:2: ( ( 'regfile' ) )
- // InternalRDL.g:1328:3: ( 'regfile' )
+ // InternalRDL.g:1370:2: ( ( 'regfile' ) )
+ // InternalRDL.g:1371:3: ( 'regfile' )
{
- before(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2());
- // InternalRDL.g:1329:3: ( 'regfile' )
- // InternalRDL.g:1329:4: 'regfile'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2());
+ }
+ // InternalRDL.g:1372:3: ( 'regfile' )
+ // InternalRDL.g:1372:4: 'regfile'
{
- match(input,17,FOLLOW_2);
+ match(input,17,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2());
+ }
}
@@ -5281,20 +5677,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1333:2: ( ( 'reg' ) )
+ // InternalRDL.g:1376:2: ( ( 'reg' ) )
{
- // InternalRDL.g:1333:2: ( ( 'reg' ) )
- // InternalRDL.g:1334:3: ( 'reg' )
+ // InternalRDL.g:1376:2: ( ( 'reg' ) )
+ // InternalRDL.g:1377:3: ( 'reg' )
{
- before(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3());
- // InternalRDL.g:1335:3: ( 'reg' )
- // InternalRDL.g:1335:4: 'reg'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3());
+ }
+ // InternalRDL.g:1378:3: ( 'reg' )
+ // InternalRDL.g:1378:4: 'reg'
{
- match(input,16,FOLLOW_2);
+ match(input,16,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3());
+ }
}
@@ -5302,20 +5702,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:1339:2: ( ( 'field' ) )
+ // InternalRDL.g:1382:2: ( ( 'field' ) )
{
- // InternalRDL.g:1339:2: ( ( 'field' ) )
- // InternalRDL.g:1340:3: ( 'field' )
+ // InternalRDL.g:1382:2: ( ( 'field' ) )
+ // InternalRDL.g:1383:3: ( 'field' )
{
- before(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4());
- // InternalRDL.g:1341:3: ( 'field' )
- // InternalRDL.g:1341:4: 'field'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4());
+ }
+ // InternalRDL.g:1384:3: ( 'field' )
+ // InternalRDL.g:1384:4: 'field'
{
- match(input,18,FOLLOW_2);
+ match(input,18,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4());
+ }
}
@@ -5340,413 +5744,418 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Property__Alternatives"
- // InternalRDL.g:1349:1: rule__Property__Alternatives : ( ( ( 'name' ) ) | ( ( 'desc' ) ) | ( ( 'arbiter' ) ) | ( ( 'rset' ) ) | ( ( 'rclr' ) ) | ( ( 'woclr' ) ) | ( ( 'woset' ) ) | ( ( 'we' ) ) | ( ( 'wel' ) ) | ( ( 'swwe' ) ) | ( ( 'swwel' ) ) | ( ( 'hwset' ) ) | ( ( 'hwclr' ) ) | ( ( 'swmod' ) ) | ( ( 'swacc' ) ) | ( ( 'sticky' ) ) | ( ( 'stickybit' ) ) | ( ( 'intr' ) ) | ( ( 'anded' ) ) | ( ( 'ored' ) ) | ( ( 'xored' ) ) | ( ( 'counter' ) ) | ( ( 'overflow' ) ) | ( ( 'sharedextbus' ) ) | ( ( 'errextbus' ) ) | ( ( 'reset' ) ) | ( ( 'littleendian' ) ) | ( ( 'bigendian' ) ) | ( ( 'rsvdset' ) ) | ( ( 'rsvdsetX' ) ) | ( ( 'bridge' ) ) | ( ( 'shared' ) ) | ( ( 'msb0' ) ) | ( ( 'lsb0' ) ) | ( ( 'sync' ) ) | ( ( 'async' ) ) | ( ( 'cpuif_reset' ) ) | ( ( 'field_reset' ) ) | ( ( 'activehigh' ) ) | ( ( 'activelow' ) ) | ( ( 'singlepulse' ) ) | ( ( 'underflow' ) ) | ( ( 'incr' ) ) | ( ( 'decr' ) ) | ( ( 'incrwidth' ) ) | ( ( 'decrwidth' ) ) | ( ( 'incrvalue' ) ) | ( ( 'decrvalue' ) ) | ( ( 'saturate' ) ) | ( ( 'decrsaturate' ) ) | ( ( 'threshold' ) ) | ( ( 'decrthreshold' ) ) | ( ( 'dontcompare' ) ) | ( ( 'donttest' ) ) | ( ( 'internal' ) ) | ( ( 'alignment' ) ) | ( ( 'regwidth' ) ) | ( ( 'fieldwidth' ) ) | ( ( 'signalwidth' ) ) | ( ( 'accesswidth' ) ) | ( ( 'sw' ) ) | ( ( 'hw' ) ) | ( ( 'addressing' ) ) | ( ( 'precedence' ) ) | ( ( 'encode' ) ) | ( ( 'resetsignal' ) ) | ( ( 'clock' ) ) | ( ( 'mask' ) ) | ( ( 'enable' ) ) | ( ( 'hwenable' ) ) | ( ( 'hwmask' ) ) | ( ( 'haltmask' ) ) | ( ( 'haltenable' ) ) | ( ( 'halt' ) ) | ( ( 'next' ) ) );
+ // InternalRDL.g:1392:1: rule__Property__Alternatives : ( ( ( 'name' ) ) | ( ( 'desc' ) ) | ( ( 'arbiter' ) ) | ( ( 'rset' ) ) | ( ( 'rclr' ) ) | ( ( 'woclr' ) ) | ( ( 'woset' ) ) | ( ( 'we' ) ) | ( ( 'wel' ) ) | ( ( 'swwe' ) ) | ( ( 'swwel' ) ) | ( ( 'hwset' ) ) | ( ( 'hwclr' ) ) | ( ( 'swmod' ) ) | ( ( 'swacc' ) ) | ( ( 'sticky' ) ) | ( ( 'stickybit' ) ) | ( ( 'intr' ) ) | ( ( 'anded' ) ) | ( ( 'ored' ) ) | ( ( 'xored' ) ) | ( ( 'counter' ) ) | ( ( 'overflow' ) ) | ( ( 'sharedextbus' ) ) | ( ( 'errextbus' ) ) | ( ( 'reset' ) ) | ( ( 'littleendian' ) ) | ( ( 'bigendian' ) ) | ( ( 'rsvdset' ) ) | ( ( 'rsvdsetX' ) ) | ( ( 'bridge' ) ) | ( ( 'shared' ) ) | ( ( 'msb0' ) ) | ( ( 'lsb0' ) ) | ( ( 'sync' ) ) | ( ( 'async' ) ) | ( ( 'cpuif_reset' ) ) | ( ( 'field_reset' ) ) | ( ( 'activehigh' ) ) | ( ( 'activelow' ) ) | ( ( 'singlepulse' ) ) | ( ( 'underflow' ) ) | ( ( 'incr' ) ) | ( ( 'decr' ) ) | ( ( 'incrwidth' ) ) | ( ( 'decrwidth' ) ) | ( ( 'incrvalue' ) ) | ( ( 'decrvalue' ) ) | ( ( 'saturate' ) ) | ( ( 'decrsaturate' ) ) | ( ( 'threshold' ) ) | ( ( 'decrthreshold' ) ) | ( ( 'dontcompare' ) ) | ( ( 'donttest' ) ) | ( ( 'internal' ) ) | ( ( 'alignment' ) ) | ( ( 'regwidth' ) ) | ( ( 'fieldwidth' ) ) | ( ( 'signalwidth' ) ) | ( ( 'accesswidth' ) ) | ( ( 'sw' ) ) | ( ( 'hw' ) ) | ( ( 'addressing' ) ) | ( ( 'precedence' ) ) | ( ( 'encode' ) ) | ( ( 'resetsignal' ) ) | ( ( 'clock' ) ) | ( ( 'mask' ) ) | ( ( 'enable' ) ) | ( ( 'hwenable' ) ) | ( ( 'hwmask' ) ) | ( ( 'haltmask' ) ) | ( ( 'haltenable' ) ) | ( ( 'halt' ) ) | ( ( 'next' ) ) );
public final void rule__Property__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1353:1: ( ( ( 'name' ) ) | ( ( 'desc' ) ) | ( ( 'arbiter' ) ) | ( ( 'rset' ) ) | ( ( 'rclr' ) ) | ( ( 'woclr' ) ) | ( ( 'woset' ) ) | ( ( 'we' ) ) | ( ( 'wel' ) ) | ( ( 'swwe' ) ) | ( ( 'swwel' ) ) | ( ( 'hwset' ) ) | ( ( 'hwclr' ) ) | ( ( 'swmod' ) ) | ( ( 'swacc' ) ) | ( ( 'sticky' ) ) | ( ( 'stickybit' ) ) | ( ( 'intr' ) ) | ( ( 'anded' ) ) | ( ( 'ored' ) ) | ( ( 'xored' ) ) | ( ( 'counter' ) ) | ( ( 'overflow' ) ) | ( ( 'sharedextbus' ) ) | ( ( 'errextbus' ) ) | ( ( 'reset' ) ) | ( ( 'littleendian' ) ) | ( ( 'bigendian' ) ) | ( ( 'rsvdset' ) ) | ( ( 'rsvdsetX' ) ) | ( ( 'bridge' ) ) | ( ( 'shared' ) ) | ( ( 'msb0' ) ) | ( ( 'lsb0' ) ) | ( ( 'sync' ) ) | ( ( 'async' ) ) | ( ( 'cpuif_reset' ) ) | ( ( 'field_reset' ) ) | ( ( 'activehigh' ) ) | ( ( 'activelow' ) ) | ( ( 'singlepulse' ) ) | ( ( 'underflow' ) ) | ( ( 'incr' ) ) | ( ( 'decr' ) ) | ( ( 'incrwidth' ) ) | ( ( 'decrwidth' ) ) | ( ( 'incrvalue' ) ) | ( ( 'decrvalue' ) ) | ( ( 'saturate' ) ) | ( ( 'decrsaturate' ) ) | ( ( 'threshold' ) ) | ( ( 'decrthreshold' ) ) | ( ( 'dontcompare' ) ) | ( ( 'donttest' ) ) | ( ( 'internal' ) ) | ( ( 'alignment' ) ) | ( ( 'regwidth' ) ) | ( ( 'fieldwidth' ) ) | ( ( 'signalwidth' ) ) | ( ( 'accesswidth' ) ) | ( ( 'sw' ) ) | ( ( 'hw' ) ) | ( ( 'addressing' ) ) | ( ( 'precedence' ) ) | ( ( 'encode' ) ) | ( ( 'resetsignal' ) ) | ( ( 'clock' ) ) | ( ( 'mask' ) ) | ( ( 'enable' ) ) | ( ( 'hwenable' ) ) | ( ( 'hwmask' ) ) | ( ( 'haltmask' ) ) | ( ( 'haltenable' ) ) | ( ( 'halt' ) ) | ( ( 'next' ) ) )
- int alt22=75;
+ // InternalRDL.g:1396:1: ( ( ( 'name' ) ) | ( ( 'desc' ) ) | ( ( 'arbiter' ) ) | ( ( 'rset' ) ) | ( ( 'rclr' ) ) | ( ( 'woclr' ) ) | ( ( 'woset' ) ) | ( ( 'we' ) ) | ( ( 'wel' ) ) | ( ( 'swwe' ) ) | ( ( 'swwel' ) ) | ( ( 'hwset' ) ) | ( ( 'hwclr' ) ) | ( ( 'swmod' ) ) | ( ( 'swacc' ) ) | ( ( 'sticky' ) ) | ( ( 'stickybit' ) ) | ( ( 'intr' ) ) | ( ( 'anded' ) ) | ( ( 'ored' ) ) | ( ( 'xored' ) ) | ( ( 'counter' ) ) | ( ( 'overflow' ) ) | ( ( 'sharedextbus' ) ) | ( ( 'errextbus' ) ) | ( ( 'reset' ) ) | ( ( 'littleendian' ) ) | ( ( 'bigendian' ) ) | ( ( 'rsvdset' ) ) | ( ( 'rsvdsetX' ) ) | ( ( 'bridge' ) ) | ( ( 'shared' ) ) | ( ( 'msb0' ) ) | ( ( 'lsb0' ) ) | ( ( 'sync' ) ) | ( ( 'async' ) ) | ( ( 'cpuif_reset' ) ) | ( ( 'field_reset' ) ) | ( ( 'activehigh' ) ) | ( ( 'activelow' ) ) | ( ( 'singlepulse' ) ) | ( ( 'underflow' ) ) | ( ( 'incr' ) ) | ( ( 'decr' ) ) | ( ( 'incrwidth' ) ) | ( ( 'decrwidth' ) ) | ( ( 'incrvalue' ) ) | ( ( 'decrvalue' ) ) | ( ( 'saturate' ) ) | ( ( 'decrsaturate' ) ) | ( ( 'threshold' ) ) | ( ( 'decrthreshold' ) ) | ( ( 'dontcompare' ) ) | ( ( 'donttest' ) ) | ( ( 'internal' ) ) | ( ( 'alignment' ) ) | ( ( 'regwidth' ) ) | ( ( 'fieldwidth' ) ) | ( ( 'signalwidth' ) ) | ( ( 'accesswidth' ) ) | ( ( 'sw' ) ) | ( ( 'hw' ) ) | ( ( 'addressing' ) ) | ( ( 'precedence' ) ) | ( ( 'encode' ) ) | ( ( 'resetsignal' ) ) | ( ( 'clock' ) ) | ( ( 'mask' ) ) | ( ( 'enable' ) ) | ( ( 'hwenable' ) ) | ( ( 'hwmask' ) ) | ( ( 'haltmask' ) ) | ( ( 'haltenable' ) ) | ( ( 'halt' ) ) | ( ( 'next' ) ) )
+ int alt24=75;
switch ( input.LA(1) ) {
case 22:
{
- alt22=1;
+ alt24=1;
}
break;
case 23:
{
- alt22=2;
+ alt24=2;
}
break;
case 24:
{
- alt22=3;
+ alt24=3;
}
break;
case 25:
{
- alt22=4;
+ alt24=4;
}
break;
case 26:
{
- alt22=5;
+ alt24=5;
}
break;
case 27:
{
- alt22=6;
+ alt24=6;
}
break;
case 28:
{
- alt22=7;
+ alt24=7;
}
break;
case 29:
{
- alt22=8;
+ alt24=8;
}
break;
case 30:
{
- alt22=9;
+ alt24=9;
}
break;
case 31:
{
- alt22=10;
+ alt24=10;
}
break;
case 32:
{
- alt22=11;
+ alt24=11;
}
break;
case 33:
{
- alt22=12;
+ alt24=12;
}
break;
case 34:
{
- alt22=13;
+ alt24=13;
}
break;
case 35:
{
- alt22=14;
+ alt24=14;
}
break;
case 36:
{
- alt22=15;
+ alt24=15;
}
break;
case 37:
{
- alt22=16;
+ alt24=16;
}
break;
case 38:
{
- alt22=17;
+ alt24=17;
}
break;
case 39:
{
- alt22=18;
+ alt24=18;
}
break;
case 40:
{
- alt22=19;
+ alt24=19;
}
break;
case 41:
{
- alt22=20;
+ alt24=20;
}
break;
case 42:
{
- alt22=21;
+ alt24=21;
}
break;
case 43:
{
- alt22=22;
+ alt24=22;
}
break;
case 44:
{
- alt22=23;
+ alt24=23;
}
break;
case 45:
{
- alt22=24;
+ alt24=24;
}
break;
case 46:
{
- alt22=25;
+ alt24=25;
}
break;
case 47:
{
- alt22=26;
+ alt24=26;
}
break;
case 48:
{
- alt22=27;
+ alt24=27;
}
break;
case 49:
{
- alt22=28;
+ alt24=28;
}
break;
case 50:
{
- alt22=29;
+ alt24=29;
}
break;
case 51:
{
- alt22=30;
+ alt24=30;
}
break;
case 52:
{
- alt22=31;
+ alt24=31;
}
break;
case 53:
{
- alt22=32;
+ alt24=32;
}
break;
case 54:
{
- alt22=33;
+ alt24=33;
}
break;
case 55:
{
- alt22=34;
+ alt24=34;
}
break;
case 56:
{
- alt22=35;
+ alt24=35;
}
break;
case 57:
{
- alt22=36;
+ alt24=36;
}
break;
case 58:
{
- alt22=37;
+ alt24=37;
}
break;
case 59:
{
- alt22=38;
+ alt24=38;
}
break;
case 60:
{
- alt22=39;
+ alt24=39;
}
break;
case 61:
{
- alt22=40;
+ alt24=40;
}
break;
case 62:
{
- alt22=41;
+ alt24=41;
}
break;
case 63:
{
- alt22=42;
+ alt24=42;
}
break;
case 64:
{
- alt22=43;
+ alt24=43;
}
break;
case 65:
{
- alt22=44;
+ alt24=44;
}
break;
case 66:
{
- alt22=45;
+ alt24=45;
}
break;
case 67:
{
- alt22=46;
+ alt24=46;
}
break;
case 68:
{
- alt22=47;
+ alt24=47;
}
break;
case 69:
{
- alt22=48;
+ alt24=48;
}
break;
case 70:
{
- alt22=49;
+ alt24=49;
}
break;
case 71:
{
- alt22=50;
+ alt24=50;
}
break;
case 72:
{
- alt22=51;
+ alt24=51;
}
break;
case 73:
{
- alt22=52;
+ alt24=52;
}
break;
case 74:
{
- alt22=53;
+ alt24=53;
}
break;
case 75:
{
- alt22=54;
+ alt24=54;
}
break;
case 76:
{
- alt22=55;
+ alt24=55;
}
break;
case 77:
{
- alt22=56;
+ alt24=56;
}
break;
case 78:
{
- alt22=57;
+ alt24=57;
}
break;
case 79:
{
- alt22=58;
+ alt24=58;
}
break;
case 80:
{
- alt22=59;
+ alt24=59;
}
break;
case 81:
{
- alt22=60;
+ alt24=60;
}
break;
case 82:
{
- alt22=61;
+ alt24=61;
}
break;
case 83:
{
- alt22=62;
+ alt24=62;
}
break;
case 84:
{
- alt22=63;
+ alt24=63;
}
break;
case 85:
{
- alt22=64;
+ alt24=64;
}
break;
case 86:
{
- alt22=65;
+ alt24=65;
}
break;
case 87:
{
- alt22=66;
+ alt24=66;
}
break;
case 88:
{
- alt22=67;
+ alt24=67;
}
break;
case 89:
{
- alt22=68;
+ alt24=68;
}
break;
case 90:
{
- alt22=69;
+ alt24=69;
}
break;
case 91:
{
- alt22=70;
+ alt24=70;
}
break;
case 92:
{
- alt22=71;
+ alt24=71;
}
break;
case 93:
{
- alt22=72;
+ alt24=72;
}
break;
case 94:
{
- alt22=73;
+ alt24=73;
}
break;
case 95:
{
- alt22=74;
+ alt24=74;
}
break;
case 96:
{
- alt22=75;
+ alt24=75;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
+ new NoViableAltException("", 24, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt24) {
case 1 :
- // InternalRDL.g:1354:2: ( ( 'name' ) )
+ // InternalRDL.g:1397:2: ( ( 'name' ) )
{
- // InternalRDL.g:1354:2: ( ( 'name' ) )
- // InternalRDL.g:1355:3: ( 'name' )
+ // InternalRDL.g:1397:2: ( ( 'name' ) )
+ // InternalRDL.g:1398:3: ( 'name' )
{
- before(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0());
- // InternalRDL.g:1356:3: ( 'name' )
- // InternalRDL.g:1356:4: 'name'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0());
+ }
+ // InternalRDL.g:1399:3: ( 'name' )
+ // InternalRDL.g:1399:4: 'name'
{
- match(input,22,FOLLOW_2);
+ match(input,22,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0());
+ }
}
@@ -5754,20 +6163,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1360:2: ( ( 'desc' ) )
+ // InternalRDL.g:1403:2: ( ( 'desc' ) )
{
- // InternalRDL.g:1360:2: ( ( 'desc' ) )
- // InternalRDL.g:1361:3: ( 'desc' )
+ // InternalRDL.g:1403:2: ( ( 'desc' ) )
+ // InternalRDL.g:1404:3: ( 'desc' )
{
- before(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1());
- // InternalRDL.g:1362:3: ( 'desc' )
- // InternalRDL.g:1362:4: 'desc'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1());
+ }
+ // InternalRDL.g:1405:3: ( 'desc' )
+ // InternalRDL.g:1405:4: 'desc'
{
- match(input,23,FOLLOW_2);
+ match(input,23,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1());
+ }
}
@@ -5775,20 +6188,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1366:2: ( ( 'arbiter' ) )
+ // InternalRDL.g:1409:2: ( ( 'arbiter' ) )
{
- // InternalRDL.g:1366:2: ( ( 'arbiter' ) )
- // InternalRDL.g:1367:3: ( 'arbiter' )
+ // InternalRDL.g:1409:2: ( ( 'arbiter' ) )
+ // InternalRDL.g:1410:3: ( 'arbiter' )
{
- before(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2());
- // InternalRDL.g:1368:3: ( 'arbiter' )
- // InternalRDL.g:1368:4: 'arbiter'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2());
+ }
+ // InternalRDL.g:1411:3: ( 'arbiter' )
+ // InternalRDL.g:1411:4: 'arbiter'
{
- match(input,24,FOLLOW_2);
+ match(input,24,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2());
+ }
}
@@ -5796,20 +6213,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1372:2: ( ( 'rset' ) )
+ // InternalRDL.g:1415:2: ( ( 'rset' ) )
{
- // InternalRDL.g:1372:2: ( ( 'rset' ) )
- // InternalRDL.g:1373:3: ( 'rset' )
+ // InternalRDL.g:1415:2: ( ( 'rset' ) )
+ // InternalRDL.g:1416:3: ( 'rset' )
{
- before(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3());
- // InternalRDL.g:1374:3: ( 'rset' )
- // InternalRDL.g:1374:4: 'rset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3());
+ }
+ // InternalRDL.g:1417:3: ( 'rset' )
+ // InternalRDL.g:1417:4: 'rset'
{
- match(input,25,FOLLOW_2);
+ match(input,25,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3());
+ }
}
@@ -5817,20 +6238,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:1378:2: ( ( 'rclr' ) )
+ // InternalRDL.g:1421:2: ( ( 'rclr' ) )
{
- // InternalRDL.g:1378:2: ( ( 'rclr' ) )
- // InternalRDL.g:1379:3: ( 'rclr' )
+ // InternalRDL.g:1421:2: ( ( 'rclr' ) )
+ // InternalRDL.g:1422:3: ( 'rclr' )
{
- before(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4());
- // InternalRDL.g:1380:3: ( 'rclr' )
- // InternalRDL.g:1380:4: 'rclr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4());
+ }
+ // InternalRDL.g:1423:3: ( 'rclr' )
+ // InternalRDL.g:1423:4: 'rclr'
{
- match(input,26,FOLLOW_2);
+ match(input,26,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4());
+ }
}
@@ -5838,20 +6263,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 6 :
- // InternalRDL.g:1384:2: ( ( 'woclr' ) )
+ // InternalRDL.g:1427:2: ( ( 'woclr' ) )
{
- // InternalRDL.g:1384:2: ( ( 'woclr' ) )
- // InternalRDL.g:1385:3: ( 'woclr' )
+ // InternalRDL.g:1427:2: ( ( 'woclr' ) )
+ // InternalRDL.g:1428:3: ( 'woclr' )
{
- before(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5());
- // InternalRDL.g:1386:3: ( 'woclr' )
- // InternalRDL.g:1386:4: 'woclr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5());
+ }
+ // InternalRDL.g:1429:3: ( 'woclr' )
+ // InternalRDL.g:1429:4: 'woclr'
{
- match(input,27,FOLLOW_2);
+ match(input,27,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5());
+ }
}
@@ -5859,20 +6288,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 7 :
- // InternalRDL.g:1390:2: ( ( 'woset' ) )
+ // InternalRDL.g:1433:2: ( ( 'woset' ) )
{
- // InternalRDL.g:1390:2: ( ( 'woset' ) )
- // InternalRDL.g:1391:3: ( 'woset' )
+ // InternalRDL.g:1433:2: ( ( 'woset' ) )
+ // InternalRDL.g:1434:3: ( 'woset' )
{
- before(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6());
- // InternalRDL.g:1392:3: ( 'woset' )
- // InternalRDL.g:1392:4: 'woset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6());
+ }
+ // InternalRDL.g:1435:3: ( 'woset' )
+ // InternalRDL.g:1435:4: 'woset'
{
- match(input,28,FOLLOW_2);
+ match(input,28,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6());
+ }
}
@@ -5880,20 +6313,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 8 :
- // InternalRDL.g:1396:2: ( ( 'we' ) )
+ // InternalRDL.g:1439:2: ( ( 'we' ) )
{
- // InternalRDL.g:1396:2: ( ( 'we' ) )
- // InternalRDL.g:1397:3: ( 'we' )
+ // InternalRDL.g:1439:2: ( ( 'we' ) )
+ // InternalRDL.g:1440:3: ( 'we' )
{
- before(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7());
- // InternalRDL.g:1398:3: ( 'we' )
- // InternalRDL.g:1398:4: 'we'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7());
+ }
+ // InternalRDL.g:1441:3: ( 'we' )
+ // InternalRDL.g:1441:4: 'we'
{
- match(input,29,FOLLOW_2);
+ match(input,29,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7());
+ }
}
@@ -5901,20 +6338,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 9 :
- // InternalRDL.g:1402:2: ( ( 'wel' ) )
+ // InternalRDL.g:1445:2: ( ( 'wel' ) )
{
- // InternalRDL.g:1402:2: ( ( 'wel' ) )
- // InternalRDL.g:1403:3: ( 'wel' )
+ // InternalRDL.g:1445:2: ( ( 'wel' ) )
+ // InternalRDL.g:1446:3: ( 'wel' )
{
- before(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8());
- // InternalRDL.g:1404:3: ( 'wel' )
- // InternalRDL.g:1404:4: 'wel'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8());
+ }
+ // InternalRDL.g:1447:3: ( 'wel' )
+ // InternalRDL.g:1447:4: 'wel'
{
- match(input,30,FOLLOW_2);
+ match(input,30,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8());
+ }
}
@@ -5922,20 +6363,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 10 :
- // InternalRDL.g:1408:2: ( ( 'swwe' ) )
+ // InternalRDL.g:1451:2: ( ( 'swwe' ) )
{
- // InternalRDL.g:1408:2: ( ( 'swwe' ) )
- // InternalRDL.g:1409:3: ( 'swwe' )
+ // InternalRDL.g:1451:2: ( ( 'swwe' ) )
+ // InternalRDL.g:1452:3: ( 'swwe' )
{
- before(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9());
- // InternalRDL.g:1410:3: ( 'swwe' )
- // InternalRDL.g:1410:4: 'swwe'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9());
+ }
+ // InternalRDL.g:1453:3: ( 'swwe' )
+ // InternalRDL.g:1453:4: 'swwe'
{
- match(input,31,FOLLOW_2);
+ match(input,31,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9());
+ }
}
@@ -5943,20 +6388,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 11 :
- // InternalRDL.g:1414:2: ( ( 'swwel' ) )
+ // InternalRDL.g:1457:2: ( ( 'swwel' ) )
{
- // InternalRDL.g:1414:2: ( ( 'swwel' ) )
- // InternalRDL.g:1415:3: ( 'swwel' )
+ // InternalRDL.g:1457:2: ( ( 'swwel' ) )
+ // InternalRDL.g:1458:3: ( 'swwel' )
{
- before(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10());
- // InternalRDL.g:1416:3: ( 'swwel' )
- // InternalRDL.g:1416:4: 'swwel'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10());
+ }
+ // InternalRDL.g:1459:3: ( 'swwel' )
+ // InternalRDL.g:1459:4: 'swwel'
{
- match(input,32,FOLLOW_2);
+ match(input,32,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10());
+ }
}
@@ -5964,20 +6413,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 12 :
- // InternalRDL.g:1420:2: ( ( 'hwset' ) )
+ // InternalRDL.g:1463:2: ( ( 'hwset' ) )
{
- // InternalRDL.g:1420:2: ( ( 'hwset' ) )
- // InternalRDL.g:1421:3: ( 'hwset' )
+ // InternalRDL.g:1463:2: ( ( 'hwset' ) )
+ // InternalRDL.g:1464:3: ( 'hwset' )
{
- before(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11());
- // InternalRDL.g:1422:3: ( 'hwset' )
- // InternalRDL.g:1422:4: 'hwset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11());
+ }
+ // InternalRDL.g:1465:3: ( 'hwset' )
+ // InternalRDL.g:1465:4: 'hwset'
{
- match(input,33,FOLLOW_2);
+ match(input,33,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11());
+ }
}
@@ -5985,20 +6438,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 13 :
- // InternalRDL.g:1426:2: ( ( 'hwclr' ) )
+ // InternalRDL.g:1469:2: ( ( 'hwclr' ) )
{
- // InternalRDL.g:1426:2: ( ( 'hwclr' ) )
- // InternalRDL.g:1427:3: ( 'hwclr' )
+ // InternalRDL.g:1469:2: ( ( 'hwclr' ) )
+ // InternalRDL.g:1470:3: ( 'hwclr' )
{
- before(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12());
- // InternalRDL.g:1428:3: ( 'hwclr' )
- // InternalRDL.g:1428:4: 'hwclr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12());
+ }
+ // InternalRDL.g:1471:3: ( 'hwclr' )
+ // InternalRDL.g:1471:4: 'hwclr'
{
- match(input,34,FOLLOW_2);
+ match(input,34,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12());
+ }
}
@@ -6006,20 +6463,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 14 :
- // InternalRDL.g:1432:2: ( ( 'swmod' ) )
+ // InternalRDL.g:1475:2: ( ( 'swmod' ) )
{
- // InternalRDL.g:1432:2: ( ( 'swmod' ) )
- // InternalRDL.g:1433:3: ( 'swmod' )
+ // InternalRDL.g:1475:2: ( ( 'swmod' ) )
+ // InternalRDL.g:1476:3: ( 'swmod' )
{
- before(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13());
- // InternalRDL.g:1434:3: ( 'swmod' )
- // InternalRDL.g:1434:4: 'swmod'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13());
+ }
+ // InternalRDL.g:1477:3: ( 'swmod' )
+ // InternalRDL.g:1477:4: 'swmod'
{
- match(input,35,FOLLOW_2);
+ match(input,35,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13());
+ }
}
@@ -6027,20 +6488,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 15 :
- // InternalRDL.g:1438:2: ( ( 'swacc' ) )
+ // InternalRDL.g:1481:2: ( ( 'swacc' ) )
{
- // InternalRDL.g:1438:2: ( ( 'swacc' ) )
- // InternalRDL.g:1439:3: ( 'swacc' )
+ // InternalRDL.g:1481:2: ( ( 'swacc' ) )
+ // InternalRDL.g:1482:3: ( 'swacc' )
{
- before(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14());
- // InternalRDL.g:1440:3: ( 'swacc' )
- // InternalRDL.g:1440:4: 'swacc'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14());
+ }
+ // InternalRDL.g:1483:3: ( 'swacc' )
+ // InternalRDL.g:1483:4: 'swacc'
{
- match(input,36,FOLLOW_2);
+ match(input,36,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14());
+ }
}
@@ -6048,20 +6513,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 16 :
- // InternalRDL.g:1444:2: ( ( 'sticky' ) )
+ // InternalRDL.g:1487:2: ( ( 'sticky' ) )
{
- // InternalRDL.g:1444:2: ( ( 'sticky' ) )
- // InternalRDL.g:1445:3: ( 'sticky' )
+ // InternalRDL.g:1487:2: ( ( 'sticky' ) )
+ // InternalRDL.g:1488:3: ( 'sticky' )
{
- before(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15());
- // InternalRDL.g:1446:3: ( 'sticky' )
- // InternalRDL.g:1446:4: 'sticky'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15());
+ }
+ // InternalRDL.g:1489:3: ( 'sticky' )
+ // InternalRDL.g:1489:4: 'sticky'
{
- match(input,37,FOLLOW_2);
+ match(input,37,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15());
+ }
}
@@ -6069,20 +6538,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 17 :
- // InternalRDL.g:1450:2: ( ( 'stickybit' ) )
+ // InternalRDL.g:1493:2: ( ( 'stickybit' ) )
{
- // InternalRDL.g:1450:2: ( ( 'stickybit' ) )
- // InternalRDL.g:1451:3: ( 'stickybit' )
+ // InternalRDL.g:1493:2: ( ( 'stickybit' ) )
+ // InternalRDL.g:1494:3: ( 'stickybit' )
{
- before(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16());
- // InternalRDL.g:1452:3: ( 'stickybit' )
- // InternalRDL.g:1452:4: 'stickybit'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16());
+ }
+ // InternalRDL.g:1495:3: ( 'stickybit' )
+ // InternalRDL.g:1495:4: 'stickybit'
{
- match(input,38,FOLLOW_2);
+ match(input,38,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16());
+ }
}
@@ -6090,20 +6563,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 18 :
- // InternalRDL.g:1456:2: ( ( 'intr' ) )
+ // InternalRDL.g:1499:2: ( ( 'intr' ) )
{
- // InternalRDL.g:1456:2: ( ( 'intr' ) )
- // InternalRDL.g:1457:3: ( 'intr' )
+ // InternalRDL.g:1499:2: ( ( 'intr' ) )
+ // InternalRDL.g:1500:3: ( 'intr' )
{
- before(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17());
- // InternalRDL.g:1458:3: ( 'intr' )
- // InternalRDL.g:1458:4: 'intr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17());
+ }
+ // InternalRDL.g:1501:3: ( 'intr' )
+ // InternalRDL.g:1501:4: 'intr'
{
- match(input,39,FOLLOW_2);
+ match(input,39,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17());
+ }
}
@@ -6111,20 +6588,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 19 :
- // InternalRDL.g:1462:2: ( ( 'anded' ) )
+ // InternalRDL.g:1505:2: ( ( 'anded' ) )
{
- // InternalRDL.g:1462:2: ( ( 'anded' ) )
- // InternalRDL.g:1463:3: ( 'anded' )
+ // InternalRDL.g:1505:2: ( ( 'anded' ) )
+ // InternalRDL.g:1506:3: ( 'anded' )
{
- before(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18());
- // InternalRDL.g:1464:3: ( 'anded' )
- // InternalRDL.g:1464:4: 'anded'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18());
+ }
+ // InternalRDL.g:1507:3: ( 'anded' )
+ // InternalRDL.g:1507:4: 'anded'
{
- match(input,40,FOLLOW_2);
+ match(input,40,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18());
+ }
}
@@ -6132,20 +6613,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 20 :
- // InternalRDL.g:1468:2: ( ( 'ored' ) )
+ // InternalRDL.g:1511:2: ( ( 'ored' ) )
{
- // InternalRDL.g:1468:2: ( ( 'ored' ) )
- // InternalRDL.g:1469:3: ( 'ored' )
+ // InternalRDL.g:1511:2: ( ( 'ored' ) )
+ // InternalRDL.g:1512:3: ( 'ored' )
{
- before(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19());
- // InternalRDL.g:1470:3: ( 'ored' )
- // InternalRDL.g:1470:4: 'ored'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19());
+ }
+ // InternalRDL.g:1513:3: ( 'ored' )
+ // InternalRDL.g:1513:4: 'ored'
{
- match(input,41,FOLLOW_2);
+ match(input,41,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19());
+ }
}
@@ -6153,20 +6638,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 21 :
- // InternalRDL.g:1474:2: ( ( 'xored' ) )
+ // InternalRDL.g:1517:2: ( ( 'xored' ) )
{
- // InternalRDL.g:1474:2: ( ( 'xored' ) )
- // InternalRDL.g:1475:3: ( 'xored' )
+ // InternalRDL.g:1517:2: ( ( 'xored' ) )
+ // InternalRDL.g:1518:3: ( 'xored' )
{
- before(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20());
- // InternalRDL.g:1476:3: ( 'xored' )
- // InternalRDL.g:1476:4: 'xored'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20());
+ }
+ // InternalRDL.g:1519:3: ( 'xored' )
+ // InternalRDL.g:1519:4: 'xored'
{
- match(input,42,FOLLOW_2);
+ match(input,42,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20());
+ }
}
@@ -6174,20 +6663,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 22 :
- // InternalRDL.g:1480:2: ( ( 'counter' ) )
+ // InternalRDL.g:1523:2: ( ( 'counter' ) )
{
- // InternalRDL.g:1480:2: ( ( 'counter' ) )
- // InternalRDL.g:1481:3: ( 'counter' )
+ // InternalRDL.g:1523:2: ( ( 'counter' ) )
+ // InternalRDL.g:1524:3: ( 'counter' )
{
- before(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21());
- // InternalRDL.g:1482:3: ( 'counter' )
- // InternalRDL.g:1482:4: 'counter'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21());
+ }
+ // InternalRDL.g:1525:3: ( 'counter' )
+ // InternalRDL.g:1525:4: 'counter'
{
- match(input,43,FOLLOW_2);
+ match(input,43,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21());
+ }
}
@@ -6195,20 +6688,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 23 :
- // InternalRDL.g:1486:2: ( ( 'overflow' ) )
+ // InternalRDL.g:1529:2: ( ( 'overflow' ) )
{
- // InternalRDL.g:1486:2: ( ( 'overflow' ) )
- // InternalRDL.g:1487:3: ( 'overflow' )
+ // InternalRDL.g:1529:2: ( ( 'overflow' ) )
+ // InternalRDL.g:1530:3: ( 'overflow' )
{
- before(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22());
- // InternalRDL.g:1488:3: ( 'overflow' )
- // InternalRDL.g:1488:4: 'overflow'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22());
+ }
+ // InternalRDL.g:1531:3: ( 'overflow' )
+ // InternalRDL.g:1531:4: 'overflow'
{
- match(input,44,FOLLOW_2);
+ match(input,44,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22());
+ }
}
@@ -6216,20 +6713,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 24 :
- // InternalRDL.g:1492:2: ( ( 'sharedextbus' ) )
+ // InternalRDL.g:1535:2: ( ( 'sharedextbus' ) )
{
- // InternalRDL.g:1492:2: ( ( 'sharedextbus' ) )
- // InternalRDL.g:1493:3: ( 'sharedextbus' )
+ // InternalRDL.g:1535:2: ( ( 'sharedextbus' ) )
+ // InternalRDL.g:1536:3: ( 'sharedextbus' )
{
- before(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23());
- // InternalRDL.g:1494:3: ( 'sharedextbus' )
- // InternalRDL.g:1494:4: 'sharedextbus'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23());
+ }
+ // InternalRDL.g:1537:3: ( 'sharedextbus' )
+ // InternalRDL.g:1537:4: 'sharedextbus'
{
- match(input,45,FOLLOW_2);
+ match(input,45,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23());
+ }
}
@@ -6237,20 +6738,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 25 :
- // InternalRDL.g:1498:2: ( ( 'errextbus' ) )
+ // InternalRDL.g:1541:2: ( ( 'errextbus' ) )
{
- // InternalRDL.g:1498:2: ( ( 'errextbus' ) )
- // InternalRDL.g:1499:3: ( 'errextbus' )
+ // InternalRDL.g:1541:2: ( ( 'errextbus' ) )
+ // InternalRDL.g:1542:3: ( 'errextbus' )
{
- before(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24());
- // InternalRDL.g:1500:3: ( 'errextbus' )
- // InternalRDL.g:1500:4: 'errextbus'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24());
+ }
+ // InternalRDL.g:1543:3: ( 'errextbus' )
+ // InternalRDL.g:1543:4: 'errextbus'
{
- match(input,46,FOLLOW_2);
+ match(input,46,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24());
+ }
}
@@ -6258,20 +6763,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 26 :
- // InternalRDL.g:1504:2: ( ( 'reset' ) )
+ // InternalRDL.g:1547:2: ( ( 'reset' ) )
{
- // InternalRDL.g:1504:2: ( ( 'reset' ) )
- // InternalRDL.g:1505:3: ( 'reset' )
+ // InternalRDL.g:1547:2: ( ( 'reset' ) )
+ // InternalRDL.g:1548:3: ( 'reset' )
{
- before(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25());
- // InternalRDL.g:1506:3: ( 'reset' )
- // InternalRDL.g:1506:4: 'reset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25());
+ }
+ // InternalRDL.g:1549:3: ( 'reset' )
+ // InternalRDL.g:1549:4: 'reset'
{
- match(input,47,FOLLOW_2);
+ match(input,47,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25());
+ }
}
@@ -6279,20 +6788,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 27 :
- // InternalRDL.g:1510:2: ( ( 'littleendian' ) )
+ // InternalRDL.g:1553:2: ( ( 'littleendian' ) )
{
- // InternalRDL.g:1510:2: ( ( 'littleendian' ) )
- // InternalRDL.g:1511:3: ( 'littleendian' )
+ // InternalRDL.g:1553:2: ( ( 'littleendian' ) )
+ // InternalRDL.g:1554:3: ( 'littleendian' )
{
- before(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26());
- // InternalRDL.g:1512:3: ( 'littleendian' )
- // InternalRDL.g:1512:4: 'littleendian'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26());
+ }
+ // InternalRDL.g:1555:3: ( 'littleendian' )
+ // InternalRDL.g:1555:4: 'littleendian'
{
- match(input,48,FOLLOW_2);
+ match(input,48,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26());
+ }
}
@@ -6300,20 +6813,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 28 :
- // InternalRDL.g:1516:2: ( ( 'bigendian' ) )
+ // InternalRDL.g:1559:2: ( ( 'bigendian' ) )
{
- // InternalRDL.g:1516:2: ( ( 'bigendian' ) )
- // InternalRDL.g:1517:3: ( 'bigendian' )
+ // InternalRDL.g:1559:2: ( ( 'bigendian' ) )
+ // InternalRDL.g:1560:3: ( 'bigendian' )
{
- before(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27());
- // InternalRDL.g:1518:3: ( 'bigendian' )
- // InternalRDL.g:1518:4: 'bigendian'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27());
+ }
+ // InternalRDL.g:1561:3: ( 'bigendian' )
+ // InternalRDL.g:1561:4: 'bigendian'
{
- match(input,49,FOLLOW_2);
+ match(input,49,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27());
+ }
}
@@ -6321,20 +6838,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 29 :
- // InternalRDL.g:1522:2: ( ( 'rsvdset' ) )
+ // InternalRDL.g:1565:2: ( ( 'rsvdset' ) )
{
- // InternalRDL.g:1522:2: ( ( 'rsvdset' ) )
- // InternalRDL.g:1523:3: ( 'rsvdset' )
+ // InternalRDL.g:1565:2: ( ( 'rsvdset' ) )
+ // InternalRDL.g:1566:3: ( 'rsvdset' )
{
- before(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28());
- // InternalRDL.g:1524:3: ( 'rsvdset' )
- // InternalRDL.g:1524:4: 'rsvdset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28());
+ }
+ // InternalRDL.g:1567:3: ( 'rsvdset' )
+ // InternalRDL.g:1567:4: 'rsvdset'
{
- match(input,50,FOLLOW_2);
+ match(input,50,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28());
+ }
}
@@ -6342,20 +6863,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 30 :
- // InternalRDL.g:1528:2: ( ( 'rsvdsetX' ) )
+ // InternalRDL.g:1571:2: ( ( 'rsvdsetX' ) )
{
- // InternalRDL.g:1528:2: ( ( 'rsvdsetX' ) )
- // InternalRDL.g:1529:3: ( 'rsvdsetX' )
+ // InternalRDL.g:1571:2: ( ( 'rsvdsetX' ) )
+ // InternalRDL.g:1572:3: ( 'rsvdsetX' )
{
- before(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29());
- // InternalRDL.g:1530:3: ( 'rsvdsetX' )
- // InternalRDL.g:1530:4: 'rsvdsetX'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29());
+ }
+ // InternalRDL.g:1573:3: ( 'rsvdsetX' )
+ // InternalRDL.g:1573:4: 'rsvdsetX'
{
- match(input,51,FOLLOW_2);
+ match(input,51,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29());
+ }
}
@@ -6363,20 +6888,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 31 :
- // InternalRDL.g:1534:2: ( ( 'bridge' ) )
+ // InternalRDL.g:1577:2: ( ( 'bridge' ) )
{
- // InternalRDL.g:1534:2: ( ( 'bridge' ) )
- // InternalRDL.g:1535:3: ( 'bridge' )
+ // InternalRDL.g:1577:2: ( ( 'bridge' ) )
+ // InternalRDL.g:1578:3: ( 'bridge' )
{
- before(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30());
- // InternalRDL.g:1536:3: ( 'bridge' )
- // InternalRDL.g:1536:4: 'bridge'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30());
+ }
+ // InternalRDL.g:1579:3: ( 'bridge' )
+ // InternalRDL.g:1579:4: 'bridge'
{
- match(input,52,FOLLOW_2);
+ match(input,52,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30());
+ }
}
@@ -6384,20 +6913,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 32 :
- // InternalRDL.g:1540:2: ( ( 'shared' ) )
+ // InternalRDL.g:1583:2: ( ( 'shared' ) )
{
- // InternalRDL.g:1540:2: ( ( 'shared' ) )
- // InternalRDL.g:1541:3: ( 'shared' )
+ // InternalRDL.g:1583:2: ( ( 'shared' ) )
+ // InternalRDL.g:1584:3: ( 'shared' )
{
- before(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31());
- // InternalRDL.g:1542:3: ( 'shared' )
- // InternalRDL.g:1542:4: 'shared'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31());
+ }
+ // InternalRDL.g:1585:3: ( 'shared' )
+ // InternalRDL.g:1585:4: 'shared'
{
- match(input,53,FOLLOW_2);
+ match(input,53,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31());
+ }
}
@@ -6405,20 +6938,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 33 :
- // InternalRDL.g:1546:2: ( ( 'msb0' ) )
+ // InternalRDL.g:1589:2: ( ( 'msb0' ) )
{
- // InternalRDL.g:1546:2: ( ( 'msb0' ) )
- // InternalRDL.g:1547:3: ( 'msb0' )
+ // InternalRDL.g:1589:2: ( ( 'msb0' ) )
+ // InternalRDL.g:1590:3: ( 'msb0' )
{
- before(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32());
- // InternalRDL.g:1548:3: ( 'msb0' )
- // InternalRDL.g:1548:4: 'msb0'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32());
+ }
+ // InternalRDL.g:1591:3: ( 'msb0' )
+ // InternalRDL.g:1591:4: 'msb0'
{
- match(input,54,FOLLOW_2);
+ match(input,54,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32());
+ }
}
@@ -6426,20 +6963,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 34 :
- // InternalRDL.g:1552:2: ( ( 'lsb0' ) )
+ // InternalRDL.g:1595:2: ( ( 'lsb0' ) )
{
- // InternalRDL.g:1552:2: ( ( 'lsb0' ) )
- // InternalRDL.g:1553:3: ( 'lsb0' )
+ // InternalRDL.g:1595:2: ( ( 'lsb0' ) )
+ // InternalRDL.g:1596:3: ( 'lsb0' )
{
- before(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33());
- // InternalRDL.g:1554:3: ( 'lsb0' )
- // InternalRDL.g:1554:4: 'lsb0'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33());
+ }
+ // InternalRDL.g:1597:3: ( 'lsb0' )
+ // InternalRDL.g:1597:4: 'lsb0'
{
- match(input,55,FOLLOW_2);
+ match(input,55,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33());
+ }
}
@@ -6447,20 +6988,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 35 :
- // InternalRDL.g:1558:2: ( ( 'sync' ) )
+ // InternalRDL.g:1601:2: ( ( 'sync' ) )
{
- // InternalRDL.g:1558:2: ( ( 'sync' ) )
- // InternalRDL.g:1559:3: ( 'sync' )
+ // InternalRDL.g:1601:2: ( ( 'sync' ) )
+ // InternalRDL.g:1602:3: ( 'sync' )
{
- before(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34());
- // InternalRDL.g:1560:3: ( 'sync' )
- // InternalRDL.g:1560:4: 'sync'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34());
+ }
+ // InternalRDL.g:1603:3: ( 'sync' )
+ // InternalRDL.g:1603:4: 'sync'
{
- match(input,56,FOLLOW_2);
+ match(input,56,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34());
+ }
}
@@ -6468,20 +7013,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 36 :
- // InternalRDL.g:1564:2: ( ( 'async' ) )
+ // InternalRDL.g:1607:2: ( ( 'async' ) )
{
- // InternalRDL.g:1564:2: ( ( 'async' ) )
- // InternalRDL.g:1565:3: ( 'async' )
+ // InternalRDL.g:1607:2: ( ( 'async' ) )
+ // InternalRDL.g:1608:3: ( 'async' )
{
- before(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35());
- // InternalRDL.g:1566:3: ( 'async' )
- // InternalRDL.g:1566:4: 'async'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35());
+ }
+ // InternalRDL.g:1609:3: ( 'async' )
+ // InternalRDL.g:1609:4: 'async'
{
- match(input,57,FOLLOW_2);
+ match(input,57,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35());
+ }
}
@@ -6489,20 +7038,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 37 :
- // InternalRDL.g:1570:2: ( ( 'cpuif_reset' ) )
+ // InternalRDL.g:1613:2: ( ( 'cpuif_reset' ) )
{
- // InternalRDL.g:1570:2: ( ( 'cpuif_reset' ) )
- // InternalRDL.g:1571:3: ( 'cpuif_reset' )
+ // InternalRDL.g:1613:2: ( ( 'cpuif_reset' ) )
+ // InternalRDL.g:1614:3: ( 'cpuif_reset' )
{
- before(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36());
- // InternalRDL.g:1572:3: ( 'cpuif_reset' )
- // InternalRDL.g:1572:4: 'cpuif_reset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36());
+ }
+ // InternalRDL.g:1615:3: ( 'cpuif_reset' )
+ // InternalRDL.g:1615:4: 'cpuif_reset'
{
- match(input,58,FOLLOW_2);
+ match(input,58,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36());
+ }
}
@@ -6510,20 +7063,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 38 :
- // InternalRDL.g:1576:2: ( ( 'field_reset' ) )
+ // InternalRDL.g:1619:2: ( ( 'field_reset' ) )
{
- // InternalRDL.g:1576:2: ( ( 'field_reset' ) )
- // InternalRDL.g:1577:3: ( 'field_reset' )
+ // InternalRDL.g:1619:2: ( ( 'field_reset' ) )
+ // InternalRDL.g:1620:3: ( 'field_reset' )
{
- before(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37());
- // InternalRDL.g:1578:3: ( 'field_reset' )
- // InternalRDL.g:1578:4: 'field_reset'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37());
+ }
+ // InternalRDL.g:1621:3: ( 'field_reset' )
+ // InternalRDL.g:1621:4: 'field_reset'
{
- match(input,59,FOLLOW_2);
+ match(input,59,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37());
+ }
}
@@ -6531,20 +7088,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 39 :
- // InternalRDL.g:1582:2: ( ( 'activehigh' ) )
+ // InternalRDL.g:1625:2: ( ( 'activehigh' ) )
{
- // InternalRDL.g:1582:2: ( ( 'activehigh' ) )
- // InternalRDL.g:1583:3: ( 'activehigh' )
+ // InternalRDL.g:1625:2: ( ( 'activehigh' ) )
+ // InternalRDL.g:1626:3: ( 'activehigh' )
{
- before(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38());
- // InternalRDL.g:1584:3: ( 'activehigh' )
- // InternalRDL.g:1584:4: 'activehigh'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38());
+ }
+ // InternalRDL.g:1627:3: ( 'activehigh' )
+ // InternalRDL.g:1627:4: 'activehigh'
{
- match(input,60,FOLLOW_2);
+ match(input,60,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38());
+ }
}
@@ -6552,20 +7113,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 40 :
- // InternalRDL.g:1588:2: ( ( 'activelow' ) )
+ // InternalRDL.g:1631:2: ( ( 'activelow' ) )
{
- // InternalRDL.g:1588:2: ( ( 'activelow' ) )
- // InternalRDL.g:1589:3: ( 'activelow' )
+ // InternalRDL.g:1631:2: ( ( 'activelow' ) )
+ // InternalRDL.g:1632:3: ( 'activelow' )
{
- before(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39());
- // InternalRDL.g:1590:3: ( 'activelow' )
- // InternalRDL.g:1590:4: 'activelow'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39());
+ }
+ // InternalRDL.g:1633:3: ( 'activelow' )
+ // InternalRDL.g:1633:4: 'activelow'
{
- match(input,61,FOLLOW_2);
+ match(input,61,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39());
+ }
}
@@ -6573,20 +7138,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 41 :
- // InternalRDL.g:1594:2: ( ( 'singlepulse' ) )
+ // InternalRDL.g:1637:2: ( ( 'singlepulse' ) )
{
- // InternalRDL.g:1594:2: ( ( 'singlepulse' ) )
- // InternalRDL.g:1595:3: ( 'singlepulse' )
+ // InternalRDL.g:1637:2: ( ( 'singlepulse' ) )
+ // InternalRDL.g:1638:3: ( 'singlepulse' )
{
- before(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40());
- // InternalRDL.g:1596:3: ( 'singlepulse' )
- // InternalRDL.g:1596:4: 'singlepulse'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40());
+ }
+ // InternalRDL.g:1639:3: ( 'singlepulse' )
+ // InternalRDL.g:1639:4: 'singlepulse'
{
- match(input,62,FOLLOW_2);
+ match(input,62,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40());
+ }
}
@@ -6594,20 +7163,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 42 :
- // InternalRDL.g:1600:2: ( ( 'underflow' ) )
+ // InternalRDL.g:1643:2: ( ( 'underflow' ) )
{
- // InternalRDL.g:1600:2: ( ( 'underflow' ) )
- // InternalRDL.g:1601:3: ( 'underflow' )
+ // InternalRDL.g:1643:2: ( ( 'underflow' ) )
+ // InternalRDL.g:1644:3: ( 'underflow' )
{
- before(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41());
- // InternalRDL.g:1602:3: ( 'underflow' )
- // InternalRDL.g:1602:4: 'underflow'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41());
+ }
+ // InternalRDL.g:1645:3: ( 'underflow' )
+ // InternalRDL.g:1645:4: 'underflow'
{
- match(input,63,FOLLOW_2);
+ match(input,63,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41());
+ }
}
@@ -6615,20 +7188,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 43 :
- // InternalRDL.g:1606:2: ( ( 'incr' ) )
+ // InternalRDL.g:1649:2: ( ( 'incr' ) )
{
- // InternalRDL.g:1606:2: ( ( 'incr' ) )
- // InternalRDL.g:1607:3: ( 'incr' )
+ // InternalRDL.g:1649:2: ( ( 'incr' ) )
+ // InternalRDL.g:1650:3: ( 'incr' )
{
- before(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42());
- // InternalRDL.g:1608:3: ( 'incr' )
- // InternalRDL.g:1608:4: 'incr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42());
+ }
+ // InternalRDL.g:1651:3: ( 'incr' )
+ // InternalRDL.g:1651:4: 'incr'
{
- match(input,64,FOLLOW_2);
+ match(input,64,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42());
+ }
}
@@ -6636,20 +7213,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 44 :
- // InternalRDL.g:1612:2: ( ( 'decr' ) )
+ // InternalRDL.g:1655:2: ( ( 'decr' ) )
{
- // InternalRDL.g:1612:2: ( ( 'decr' ) )
- // InternalRDL.g:1613:3: ( 'decr' )
+ // InternalRDL.g:1655:2: ( ( 'decr' ) )
+ // InternalRDL.g:1656:3: ( 'decr' )
{
- before(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43());
- // InternalRDL.g:1614:3: ( 'decr' )
- // InternalRDL.g:1614:4: 'decr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43());
+ }
+ // InternalRDL.g:1657:3: ( 'decr' )
+ // InternalRDL.g:1657:4: 'decr'
{
- match(input,65,FOLLOW_2);
+ match(input,65,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43());
+ }
}
@@ -6657,20 +7238,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 45 :
- // InternalRDL.g:1618:2: ( ( 'incrwidth' ) )
+ // InternalRDL.g:1661:2: ( ( 'incrwidth' ) )
{
- // InternalRDL.g:1618:2: ( ( 'incrwidth' ) )
- // InternalRDL.g:1619:3: ( 'incrwidth' )
+ // InternalRDL.g:1661:2: ( ( 'incrwidth' ) )
+ // InternalRDL.g:1662:3: ( 'incrwidth' )
{
- before(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44());
- // InternalRDL.g:1620:3: ( 'incrwidth' )
- // InternalRDL.g:1620:4: 'incrwidth'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44());
+ }
+ // InternalRDL.g:1663:3: ( 'incrwidth' )
+ // InternalRDL.g:1663:4: 'incrwidth'
{
- match(input,66,FOLLOW_2);
+ match(input,66,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44());
+ }
}
@@ -6678,20 +7263,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 46 :
- // InternalRDL.g:1624:2: ( ( 'decrwidth' ) )
+ // InternalRDL.g:1667:2: ( ( 'decrwidth' ) )
{
- // InternalRDL.g:1624:2: ( ( 'decrwidth' ) )
- // InternalRDL.g:1625:3: ( 'decrwidth' )
+ // InternalRDL.g:1667:2: ( ( 'decrwidth' ) )
+ // InternalRDL.g:1668:3: ( 'decrwidth' )
{
- before(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45());
- // InternalRDL.g:1626:3: ( 'decrwidth' )
- // InternalRDL.g:1626:4: 'decrwidth'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45());
+ }
+ // InternalRDL.g:1669:3: ( 'decrwidth' )
+ // InternalRDL.g:1669:4: 'decrwidth'
{
- match(input,67,FOLLOW_2);
+ match(input,67,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45());
+ }
}
@@ -6699,20 +7288,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 47 :
- // InternalRDL.g:1630:2: ( ( 'incrvalue' ) )
+ // InternalRDL.g:1673:2: ( ( 'incrvalue' ) )
{
- // InternalRDL.g:1630:2: ( ( 'incrvalue' ) )
- // InternalRDL.g:1631:3: ( 'incrvalue' )
+ // InternalRDL.g:1673:2: ( ( 'incrvalue' ) )
+ // InternalRDL.g:1674:3: ( 'incrvalue' )
{
- before(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46());
- // InternalRDL.g:1632:3: ( 'incrvalue' )
- // InternalRDL.g:1632:4: 'incrvalue'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46());
+ }
+ // InternalRDL.g:1675:3: ( 'incrvalue' )
+ // InternalRDL.g:1675:4: 'incrvalue'
{
- match(input,68,FOLLOW_2);
+ match(input,68,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46());
+ }
}
@@ -6720,20 +7313,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 48 :
- // InternalRDL.g:1636:2: ( ( 'decrvalue' ) )
+ // InternalRDL.g:1679:2: ( ( 'decrvalue' ) )
{
- // InternalRDL.g:1636:2: ( ( 'decrvalue' ) )
- // InternalRDL.g:1637:3: ( 'decrvalue' )
+ // InternalRDL.g:1679:2: ( ( 'decrvalue' ) )
+ // InternalRDL.g:1680:3: ( 'decrvalue' )
{
- before(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47());
- // InternalRDL.g:1638:3: ( 'decrvalue' )
- // InternalRDL.g:1638:4: 'decrvalue'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47());
+ }
+ // InternalRDL.g:1681:3: ( 'decrvalue' )
+ // InternalRDL.g:1681:4: 'decrvalue'
{
- match(input,69,FOLLOW_2);
+ match(input,69,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47());
+ }
}
@@ -6741,20 +7338,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 49 :
- // InternalRDL.g:1642:2: ( ( 'saturate' ) )
+ // InternalRDL.g:1685:2: ( ( 'saturate' ) )
{
- // InternalRDL.g:1642:2: ( ( 'saturate' ) )
- // InternalRDL.g:1643:3: ( 'saturate' )
+ // InternalRDL.g:1685:2: ( ( 'saturate' ) )
+ // InternalRDL.g:1686:3: ( 'saturate' )
{
- before(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48());
- // InternalRDL.g:1644:3: ( 'saturate' )
- // InternalRDL.g:1644:4: 'saturate'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48());
+ }
+ // InternalRDL.g:1687:3: ( 'saturate' )
+ // InternalRDL.g:1687:4: 'saturate'
{
- match(input,70,FOLLOW_2);
+ match(input,70,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48());
+ }
}
@@ -6762,20 +7363,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 50 :
- // InternalRDL.g:1648:2: ( ( 'decrsaturate' ) )
+ // InternalRDL.g:1691:2: ( ( 'decrsaturate' ) )
{
- // InternalRDL.g:1648:2: ( ( 'decrsaturate' ) )
- // InternalRDL.g:1649:3: ( 'decrsaturate' )
+ // InternalRDL.g:1691:2: ( ( 'decrsaturate' ) )
+ // InternalRDL.g:1692:3: ( 'decrsaturate' )
{
- before(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49());
- // InternalRDL.g:1650:3: ( 'decrsaturate' )
- // InternalRDL.g:1650:4: 'decrsaturate'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49());
+ }
+ // InternalRDL.g:1693:3: ( 'decrsaturate' )
+ // InternalRDL.g:1693:4: 'decrsaturate'
{
- match(input,71,FOLLOW_2);
+ match(input,71,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49());
+ }
}
@@ -6783,20 +7388,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 51 :
- // InternalRDL.g:1654:2: ( ( 'threshold' ) )
+ // InternalRDL.g:1697:2: ( ( 'threshold' ) )
{
- // InternalRDL.g:1654:2: ( ( 'threshold' ) )
- // InternalRDL.g:1655:3: ( 'threshold' )
+ // InternalRDL.g:1697:2: ( ( 'threshold' ) )
+ // InternalRDL.g:1698:3: ( 'threshold' )
{
- before(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50());
- // InternalRDL.g:1656:3: ( 'threshold' )
- // InternalRDL.g:1656:4: 'threshold'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50());
+ }
+ // InternalRDL.g:1699:3: ( 'threshold' )
+ // InternalRDL.g:1699:4: 'threshold'
{
- match(input,72,FOLLOW_2);
+ match(input,72,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50());
+ }
}
@@ -6804,20 +7413,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 52 :
- // InternalRDL.g:1660:2: ( ( 'decrthreshold' ) )
+ // InternalRDL.g:1703:2: ( ( 'decrthreshold' ) )
{
- // InternalRDL.g:1660:2: ( ( 'decrthreshold' ) )
- // InternalRDL.g:1661:3: ( 'decrthreshold' )
+ // InternalRDL.g:1703:2: ( ( 'decrthreshold' ) )
+ // InternalRDL.g:1704:3: ( 'decrthreshold' )
{
- before(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51());
- // InternalRDL.g:1662:3: ( 'decrthreshold' )
- // InternalRDL.g:1662:4: 'decrthreshold'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51());
+ }
+ // InternalRDL.g:1705:3: ( 'decrthreshold' )
+ // InternalRDL.g:1705:4: 'decrthreshold'
{
- match(input,73,FOLLOW_2);
+ match(input,73,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51());
+ }
}
@@ -6825,20 +7438,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 53 :
- // InternalRDL.g:1666:2: ( ( 'dontcompare' ) )
+ // InternalRDL.g:1709:2: ( ( 'dontcompare' ) )
{
- // InternalRDL.g:1666:2: ( ( 'dontcompare' ) )
- // InternalRDL.g:1667:3: ( 'dontcompare' )
+ // InternalRDL.g:1709:2: ( ( 'dontcompare' ) )
+ // InternalRDL.g:1710:3: ( 'dontcompare' )
{
- before(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52());
- // InternalRDL.g:1668:3: ( 'dontcompare' )
- // InternalRDL.g:1668:4: 'dontcompare'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52());
+ }
+ // InternalRDL.g:1711:3: ( 'dontcompare' )
+ // InternalRDL.g:1711:4: 'dontcompare'
{
- match(input,74,FOLLOW_2);
+ match(input,74,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52());
+ }
}
@@ -6846,20 +7463,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 54 :
- // InternalRDL.g:1672:2: ( ( 'donttest' ) )
+ // InternalRDL.g:1715:2: ( ( 'donttest' ) )
{
- // InternalRDL.g:1672:2: ( ( 'donttest' ) )
- // InternalRDL.g:1673:3: ( 'donttest' )
+ // InternalRDL.g:1715:2: ( ( 'donttest' ) )
+ // InternalRDL.g:1716:3: ( 'donttest' )
{
- before(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53());
- // InternalRDL.g:1674:3: ( 'donttest' )
- // InternalRDL.g:1674:4: 'donttest'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53());
+ }
+ // InternalRDL.g:1717:3: ( 'donttest' )
+ // InternalRDL.g:1717:4: 'donttest'
{
- match(input,75,FOLLOW_2);
+ match(input,75,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53());
+ }
}
@@ -6867,20 +7488,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 55 :
- // InternalRDL.g:1678:2: ( ( 'internal' ) )
+ // InternalRDL.g:1721:2: ( ( 'internal' ) )
{
- // InternalRDL.g:1678:2: ( ( 'internal' ) )
- // InternalRDL.g:1679:3: ( 'internal' )
+ // InternalRDL.g:1721:2: ( ( 'internal' ) )
+ // InternalRDL.g:1722:3: ( 'internal' )
{
- before(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54());
- // InternalRDL.g:1680:3: ( 'internal' )
- // InternalRDL.g:1680:4: 'internal'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54());
+ }
+ // InternalRDL.g:1723:3: ( 'internal' )
+ // InternalRDL.g:1723:4: 'internal'
{
- match(input,76,FOLLOW_2);
+ match(input,76,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54());
+ }
}
@@ -6888,20 +7513,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 56 :
- // InternalRDL.g:1684:2: ( ( 'alignment' ) )
+ // InternalRDL.g:1727:2: ( ( 'alignment' ) )
{
- // InternalRDL.g:1684:2: ( ( 'alignment' ) )
- // InternalRDL.g:1685:3: ( 'alignment' )
+ // InternalRDL.g:1727:2: ( ( 'alignment' ) )
+ // InternalRDL.g:1728:3: ( 'alignment' )
{
- before(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55());
- // InternalRDL.g:1686:3: ( 'alignment' )
- // InternalRDL.g:1686:4: 'alignment'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55());
+ }
+ // InternalRDL.g:1729:3: ( 'alignment' )
+ // InternalRDL.g:1729:4: 'alignment'
{
- match(input,77,FOLLOW_2);
+ match(input,77,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55());
+ }
}
@@ -6909,20 +7538,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 57 :
- // InternalRDL.g:1690:2: ( ( 'regwidth' ) )
+ // InternalRDL.g:1733:2: ( ( 'regwidth' ) )
{
- // InternalRDL.g:1690:2: ( ( 'regwidth' ) )
- // InternalRDL.g:1691:3: ( 'regwidth' )
+ // InternalRDL.g:1733:2: ( ( 'regwidth' ) )
+ // InternalRDL.g:1734:3: ( 'regwidth' )
{
- before(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56());
- // InternalRDL.g:1692:3: ( 'regwidth' )
- // InternalRDL.g:1692:4: 'regwidth'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56());
+ }
+ // InternalRDL.g:1735:3: ( 'regwidth' )
+ // InternalRDL.g:1735:4: 'regwidth'
{
- match(input,78,FOLLOW_2);
+ match(input,78,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56());
+ }
}
@@ -6930,20 +7563,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 58 :
- // InternalRDL.g:1696:2: ( ( 'fieldwidth' ) )
+ // InternalRDL.g:1739:2: ( ( 'fieldwidth' ) )
{
- // InternalRDL.g:1696:2: ( ( 'fieldwidth' ) )
- // InternalRDL.g:1697:3: ( 'fieldwidth' )
+ // InternalRDL.g:1739:2: ( ( 'fieldwidth' ) )
+ // InternalRDL.g:1740:3: ( 'fieldwidth' )
{
- before(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57());
- // InternalRDL.g:1698:3: ( 'fieldwidth' )
- // InternalRDL.g:1698:4: 'fieldwidth'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57());
+ }
+ // InternalRDL.g:1741:3: ( 'fieldwidth' )
+ // InternalRDL.g:1741:4: 'fieldwidth'
{
- match(input,79,FOLLOW_2);
+ match(input,79,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57());
+ }
}
@@ -6951,20 +7588,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 59 :
- // InternalRDL.g:1702:2: ( ( 'signalwidth' ) )
+ // InternalRDL.g:1745:2: ( ( 'signalwidth' ) )
{
- // InternalRDL.g:1702:2: ( ( 'signalwidth' ) )
- // InternalRDL.g:1703:3: ( 'signalwidth' )
+ // InternalRDL.g:1745:2: ( ( 'signalwidth' ) )
+ // InternalRDL.g:1746:3: ( 'signalwidth' )
{
- before(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58());
- // InternalRDL.g:1704:3: ( 'signalwidth' )
- // InternalRDL.g:1704:4: 'signalwidth'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58());
+ }
+ // InternalRDL.g:1747:3: ( 'signalwidth' )
+ // InternalRDL.g:1747:4: 'signalwidth'
{
- match(input,80,FOLLOW_2);
+ match(input,80,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58());
+ }
}
@@ -6972,20 +7613,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 60 :
- // InternalRDL.g:1708:2: ( ( 'accesswidth' ) )
+ // InternalRDL.g:1751:2: ( ( 'accesswidth' ) )
{
- // InternalRDL.g:1708:2: ( ( 'accesswidth' ) )
- // InternalRDL.g:1709:3: ( 'accesswidth' )
+ // InternalRDL.g:1751:2: ( ( 'accesswidth' ) )
+ // InternalRDL.g:1752:3: ( 'accesswidth' )
{
- before(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59());
- // InternalRDL.g:1710:3: ( 'accesswidth' )
- // InternalRDL.g:1710:4: 'accesswidth'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59());
+ }
+ // InternalRDL.g:1753:3: ( 'accesswidth' )
+ // InternalRDL.g:1753:4: 'accesswidth'
{
- match(input,81,FOLLOW_2);
+ match(input,81,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59());
+ }
}
@@ -6993,20 +7638,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 61 :
- // InternalRDL.g:1714:2: ( ( 'sw' ) )
+ // InternalRDL.g:1757:2: ( ( 'sw' ) )
{
- // InternalRDL.g:1714:2: ( ( 'sw' ) )
- // InternalRDL.g:1715:3: ( 'sw' )
+ // InternalRDL.g:1757:2: ( ( 'sw' ) )
+ // InternalRDL.g:1758:3: ( 'sw' )
{
- before(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60());
- // InternalRDL.g:1716:3: ( 'sw' )
- // InternalRDL.g:1716:4: 'sw'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60());
+ }
+ // InternalRDL.g:1759:3: ( 'sw' )
+ // InternalRDL.g:1759:4: 'sw'
{
- match(input,82,FOLLOW_2);
+ match(input,82,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60());
+ }
}
@@ -7014,20 +7663,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 62 :
- // InternalRDL.g:1720:2: ( ( 'hw' ) )
+ // InternalRDL.g:1763:2: ( ( 'hw' ) )
{
- // InternalRDL.g:1720:2: ( ( 'hw' ) )
- // InternalRDL.g:1721:3: ( 'hw' )
+ // InternalRDL.g:1763:2: ( ( 'hw' ) )
+ // InternalRDL.g:1764:3: ( 'hw' )
{
- before(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61());
- // InternalRDL.g:1722:3: ( 'hw' )
- // InternalRDL.g:1722:4: 'hw'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61());
+ }
+ // InternalRDL.g:1765:3: ( 'hw' )
+ // InternalRDL.g:1765:4: 'hw'
{
- match(input,83,FOLLOW_2);
+ match(input,83,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61());
+ }
}
@@ -7035,20 +7688,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 63 :
- // InternalRDL.g:1726:2: ( ( 'addressing' ) )
+ // InternalRDL.g:1769:2: ( ( 'addressing' ) )
{
- // InternalRDL.g:1726:2: ( ( 'addressing' ) )
- // InternalRDL.g:1727:3: ( 'addressing' )
+ // InternalRDL.g:1769:2: ( ( 'addressing' ) )
+ // InternalRDL.g:1770:3: ( 'addressing' )
{
- before(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62());
- // InternalRDL.g:1728:3: ( 'addressing' )
- // InternalRDL.g:1728:4: 'addressing'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62());
+ }
+ // InternalRDL.g:1771:3: ( 'addressing' )
+ // InternalRDL.g:1771:4: 'addressing'
{
- match(input,84,FOLLOW_2);
+ match(input,84,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62());
+ }
}
@@ -7056,20 +7713,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 64 :
- // InternalRDL.g:1732:2: ( ( 'precedence' ) )
+ // InternalRDL.g:1775:2: ( ( 'precedence' ) )
{
- // InternalRDL.g:1732:2: ( ( 'precedence' ) )
- // InternalRDL.g:1733:3: ( 'precedence' )
+ // InternalRDL.g:1775:2: ( ( 'precedence' ) )
+ // InternalRDL.g:1776:3: ( 'precedence' )
{
- before(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63());
- // InternalRDL.g:1734:3: ( 'precedence' )
- // InternalRDL.g:1734:4: 'precedence'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63());
+ }
+ // InternalRDL.g:1777:3: ( 'precedence' )
+ // InternalRDL.g:1777:4: 'precedence'
{
- match(input,85,FOLLOW_2);
+ match(input,85,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63());
+ }
}
@@ -7077,20 +7738,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 65 :
- // InternalRDL.g:1738:2: ( ( 'encode' ) )
+ // InternalRDL.g:1781:2: ( ( 'encode' ) )
{
- // InternalRDL.g:1738:2: ( ( 'encode' ) )
- // InternalRDL.g:1739:3: ( 'encode' )
+ // InternalRDL.g:1781:2: ( ( 'encode' ) )
+ // InternalRDL.g:1782:3: ( 'encode' )
{
- before(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64());
- // InternalRDL.g:1740:3: ( 'encode' )
- // InternalRDL.g:1740:4: 'encode'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64());
+ }
+ // InternalRDL.g:1783:3: ( 'encode' )
+ // InternalRDL.g:1783:4: 'encode'
{
- match(input,86,FOLLOW_2);
+ match(input,86,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64());
+ }
}
@@ -7098,20 +7763,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 66 :
- // InternalRDL.g:1744:2: ( ( 'resetsignal' ) )
+ // InternalRDL.g:1787:2: ( ( 'resetsignal' ) )
{
- // InternalRDL.g:1744:2: ( ( 'resetsignal' ) )
- // InternalRDL.g:1745:3: ( 'resetsignal' )
+ // InternalRDL.g:1787:2: ( ( 'resetsignal' ) )
+ // InternalRDL.g:1788:3: ( 'resetsignal' )
{
- before(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65());
- // InternalRDL.g:1746:3: ( 'resetsignal' )
- // InternalRDL.g:1746:4: 'resetsignal'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65());
+ }
+ // InternalRDL.g:1789:3: ( 'resetsignal' )
+ // InternalRDL.g:1789:4: 'resetsignal'
{
- match(input,87,FOLLOW_2);
+ match(input,87,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65());
+ }
}
@@ -7119,20 +7788,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 67 :
- // InternalRDL.g:1750:2: ( ( 'clock' ) )
+ // InternalRDL.g:1793:2: ( ( 'clock' ) )
{
- // InternalRDL.g:1750:2: ( ( 'clock' ) )
- // InternalRDL.g:1751:3: ( 'clock' )
+ // InternalRDL.g:1793:2: ( ( 'clock' ) )
+ // InternalRDL.g:1794:3: ( 'clock' )
{
- before(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66());
- // InternalRDL.g:1752:3: ( 'clock' )
- // InternalRDL.g:1752:4: 'clock'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66());
+ }
+ // InternalRDL.g:1795:3: ( 'clock' )
+ // InternalRDL.g:1795:4: 'clock'
{
- match(input,88,FOLLOW_2);
+ match(input,88,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66());
+ }
}
@@ -7140,20 +7813,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 68 :
- // InternalRDL.g:1756:2: ( ( 'mask' ) )
+ // InternalRDL.g:1799:2: ( ( 'mask' ) )
{
- // InternalRDL.g:1756:2: ( ( 'mask' ) )
- // InternalRDL.g:1757:3: ( 'mask' )
+ // InternalRDL.g:1799:2: ( ( 'mask' ) )
+ // InternalRDL.g:1800:3: ( 'mask' )
{
- before(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67());
- // InternalRDL.g:1758:3: ( 'mask' )
- // InternalRDL.g:1758:4: 'mask'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67());
+ }
+ // InternalRDL.g:1801:3: ( 'mask' )
+ // InternalRDL.g:1801:4: 'mask'
{
- match(input,89,FOLLOW_2);
+ match(input,89,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67());
+ }
}
@@ -7161,20 +7838,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 69 :
- // InternalRDL.g:1762:2: ( ( 'enable' ) )
+ // InternalRDL.g:1805:2: ( ( 'enable' ) )
{
- // InternalRDL.g:1762:2: ( ( 'enable' ) )
- // InternalRDL.g:1763:3: ( 'enable' )
+ // InternalRDL.g:1805:2: ( ( 'enable' ) )
+ // InternalRDL.g:1806:3: ( 'enable' )
{
- before(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68());
- // InternalRDL.g:1764:3: ( 'enable' )
- // InternalRDL.g:1764:4: 'enable'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68());
+ }
+ // InternalRDL.g:1807:3: ( 'enable' )
+ // InternalRDL.g:1807:4: 'enable'
{
- match(input,90,FOLLOW_2);
+ match(input,90,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68());
+ }
}
@@ -7182,20 +7863,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 70 :
- // InternalRDL.g:1768:2: ( ( 'hwenable' ) )
+ // InternalRDL.g:1811:2: ( ( 'hwenable' ) )
{
- // InternalRDL.g:1768:2: ( ( 'hwenable' ) )
- // InternalRDL.g:1769:3: ( 'hwenable' )
+ // InternalRDL.g:1811:2: ( ( 'hwenable' ) )
+ // InternalRDL.g:1812:3: ( 'hwenable' )
{
- before(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69());
- // InternalRDL.g:1770:3: ( 'hwenable' )
- // InternalRDL.g:1770:4: 'hwenable'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69());
+ }
+ // InternalRDL.g:1813:3: ( 'hwenable' )
+ // InternalRDL.g:1813:4: 'hwenable'
{
- match(input,91,FOLLOW_2);
+ match(input,91,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69());
+ }
}
@@ -7203,20 +7888,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 71 :
- // InternalRDL.g:1774:2: ( ( 'hwmask' ) )
+ // InternalRDL.g:1817:2: ( ( 'hwmask' ) )
{
- // InternalRDL.g:1774:2: ( ( 'hwmask' ) )
- // InternalRDL.g:1775:3: ( 'hwmask' )
+ // InternalRDL.g:1817:2: ( ( 'hwmask' ) )
+ // InternalRDL.g:1818:3: ( 'hwmask' )
{
- before(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70());
- // InternalRDL.g:1776:3: ( 'hwmask' )
- // InternalRDL.g:1776:4: 'hwmask'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70());
+ }
+ // InternalRDL.g:1819:3: ( 'hwmask' )
+ // InternalRDL.g:1819:4: 'hwmask'
{
- match(input,92,FOLLOW_2);
+ match(input,92,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70());
+ }
}
@@ -7224,20 +7913,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 72 :
- // InternalRDL.g:1780:2: ( ( 'haltmask' ) )
+ // InternalRDL.g:1823:2: ( ( 'haltmask' ) )
{
- // InternalRDL.g:1780:2: ( ( 'haltmask' ) )
- // InternalRDL.g:1781:3: ( 'haltmask' )
+ // InternalRDL.g:1823:2: ( ( 'haltmask' ) )
+ // InternalRDL.g:1824:3: ( 'haltmask' )
{
- before(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71());
- // InternalRDL.g:1782:3: ( 'haltmask' )
- // InternalRDL.g:1782:4: 'haltmask'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71());
+ }
+ // InternalRDL.g:1825:3: ( 'haltmask' )
+ // InternalRDL.g:1825:4: 'haltmask'
{
- match(input,93,FOLLOW_2);
+ match(input,93,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71());
+ }
}
@@ -7245,20 +7938,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 73 :
- // InternalRDL.g:1786:2: ( ( 'haltenable' ) )
+ // InternalRDL.g:1829:2: ( ( 'haltenable' ) )
{
- // InternalRDL.g:1786:2: ( ( 'haltenable' ) )
- // InternalRDL.g:1787:3: ( 'haltenable' )
+ // InternalRDL.g:1829:2: ( ( 'haltenable' ) )
+ // InternalRDL.g:1830:3: ( 'haltenable' )
{
- before(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72());
- // InternalRDL.g:1788:3: ( 'haltenable' )
- // InternalRDL.g:1788:4: 'haltenable'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72());
+ }
+ // InternalRDL.g:1831:3: ( 'haltenable' )
+ // InternalRDL.g:1831:4: 'haltenable'
{
- match(input,94,FOLLOW_2);
+ match(input,94,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72());
+ }
}
@@ -7266,20 +7963,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 74 :
- // InternalRDL.g:1792:2: ( ( 'halt' ) )
+ // InternalRDL.g:1835:2: ( ( 'halt' ) )
{
- // InternalRDL.g:1792:2: ( ( 'halt' ) )
- // InternalRDL.g:1793:3: ( 'halt' )
+ // InternalRDL.g:1835:2: ( ( 'halt' ) )
+ // InternalRDL.g:1836:3: ( 'halt' )
{
- before(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73());
- // InternalRDL.g:1794:3: ( 'halt' )
- // InternalRDL.g:1794:4: 'halt'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73());
+ }
+ // InternalRDL.g:1837:3: ( 'halt' )
+ // InternalRDL.g:1837:4: 'halt'
{
- match(input,95,FOLLOW_2);
+ match(input,95,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73());
+ }
}
@@ -7287,20 +7988,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 75 :
- // InternalRDL.g:1798:2: ( ( 'next' ) )
+ // InternalRDL.g:1841:2: ( ( 'next' ) )
{
- // InternalRDL.g:1798:2: ( ( 'next' ) )
- // InternalRDL.g:1799:3: ( 'next' )
+ // InternalRDL.g:1841:2: ( ( 'next' ) )
+ // InternalRDL.g:1842:3: ( 'next' )
{
- before(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74());
- // InternalRDL.g:1800:3: ( 'next' )
- // InternalRDL.g:1800:4: 'next'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74());
+ }
+ // InternalRDL.g:1843:3: ( 'next' )
+ // InternalRDL.g:1843:4: 'next'
{
- match(input,96,FOLLOW_2);
+ match(input,96,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74());
+ }
}
@@ -7325,103 +8030,108 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__RValueConstant__Alternatives"
- // InternalRDL.g:1808:1: rule__RValueConstant__Alternatives : ( ( ( 'UNDEFINED' ) ) | ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'rw' ) ) | ( ( 'wr' ) ) | ( ( 'r' ) ) | ( ( 'w' ) ) | ( ( 'na' ) ) | ( ( 'compact' ) ) | ( ( 'regalign' ) ) | ( ( 'fullalign' ) ) | ( ( 'hw' ) ) | ( ( 'sw' ) ) );
+ // InternalRDL.g:1851:1: rule__RValueConstant__Alternatives : ( ( ( 'UNDEFINED' ) ) | ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'rw' ) ) | ( ( 'wr' ) ) | ( ( 'r' ) ) | ( ( 'w' ) ) | ( ( 'na' ) ) | ( ( 'compact' ) ) | ( ( 'regalign' ) ) | ( ( 'fullalign' ) ) | ( ( 'hw' ) ) | ( ( 'sw' ) ) );
public final void rule__RValueConstant__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1812:1: ( ( ( 'UNDEFINED' ) ) | ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'rw' ) ) | ( ( 'wr' ) ) | ( ( 'r' ) ) | ( ( 'w' ) ) | ( ( 'na' ) ) | ( ( 'compact' ) ) | ( ( 'regalign' ) ) | ( ( 'fullalign' ) ) | ( ( 'hw' ) ) | ( ( 'sw' ) ) )
- int alt23=13;
+ // InternalRDL.g:1855:1: ( ( ( 'UNDEFINED' ) ) | ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'rw' ) ) | ( ( 'wr' ) ) | ( ( 'r' ) ) | ( ( 'w' ) ) | ( ( 'na' ) ) | ( ( 'compact' ) ) | ( ( 'regalign' ) ) | ( ( 'fullalign' ) ) | ( ( 'hw' ) ) | ( ( 'sw' ) ) )
+ int alt25=13;
switch ( input.LA(1) ) {
case 97:
{
- alt23=1;
+ alt25=1;
}
break;
case 98:
{
- alt23=2;
+ alt25=2;
}
break;
case 99:
{
- alt23=3;
+ alt25=3;
}
break;
case 100:
{
- alt23=4;
+ alt25=4;
}
break;
case 101:
{
- alt23=5;
+ alt25=5;
}
break;
case 102:
{
- alt23=6;
+ alt25=6;
}
break;
case 103:
{
- alt23=7;
+ alt25=7;
}
break;
case 104:
{
- alt23=8;
+ alt25=8;
}
break;
case 105:
{
- alt23=9;
+ alt25=9;
}
break;
case 106:
{
- alt23=10;
+ alt25=10;
}
break;
case 107:
{
- alt23=11;
+ alt25=11;
}
break;
case 83:
{
- alt23=12;
+ alt25=12;
}
break;
case 82:
{
- alt23=13;
+ alt25=13;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 23, 0, input);
+ new NoViableAltException("", 25, 0, input);
throw nvae;
}
- switch (alt23) {
+ switch (alt25) {
case 1 :
- // InternalRDL.g:1813:2: ( ( 'UNDEFINED' ) )
+ // InternalRDL.g:1856:2: ( ( 'UNDEFINED' ) )
{
- // InternalRDL.g:1813:2: ( ( 'UNDEFINED' ) )
- // InternalRDL.g:1814:3: ( 'UNDEFINED' )
+ // InternalRDL.g:1856:2: ( ( 'UNDEFINED' ) )
+ // InternalRDL.g:1857:3: ( 'UNDEFINED' )
{
- before(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0());
- // InternalRDL.g:1815:3: ( 'UNDEFINED' )
- // InternalRDL.g:1815:4: 'UNDEFINED'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+ }
+ // InternalRDL.g:1858:3: ( 'UNDEFINED' )
+ // InternalRDL.g:1858:4: 'UNDEFINED'
{
- match(input,97,FOLLOW_2);
+ match(input,97,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+ }
}
@@ -7429,20 +8139,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1819:2: ( ( 'true' ) )
+ // InternalRDL.g:1862:2: ( ( 'true' ) )
{
- // InternalRDL.g:1819:2: ( ( 'true' ) )
- // InternalRDL.g:1820:3: ( 'true' )
+ // InternalRDL.g:1862:2: ( ( 'true' ) )
+ // InternalRDL.g:1863:3: ( 'true' )
{
- before(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1());
- // InternalRDL.g:1821:3: ( 'true' )
- // InternalRDL.g:1821:4: 'true'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1());
+ }
+ // InternalRDL.g:1864:3: ( 'true' )
+ // InternalRDL.g:1864:4: 'true'
{
- match(input,98,FOLLOW_2);
+ match(input,98,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1());
+ }
}
@@ -7450,20 +8164,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1825:2: ( ( 'false' ) )
+ // InternalRDL.g:1868:2: ( ( 'false' ) )
{
- // InternalRDL.g:1825:2: ( ( 'false' ) )
- // InternalRDL.g:1826:3: ( 'false' )
+ // InternalRDL.g:1868:2: ( ( 'false' ) )
+ // InternalRDL.g:1869:3: ( 'false' )
{
- before(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2());
- // InternalRDL.g:1827:3: ( 'false' )
- // InternalRDL.g:1827:4: 'false'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2());
+ }
+ // InternalRDL.g:1870:3: ( 'false' )
+ // InternalRDL.g:1870:4: 'false'
{
- match(input,99,FOLLOW_2);
+ match(input,99,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2());
+ }
}
@@ -7471,20 +8189,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1831:2: ( ( 'rw' ) )
+ // InternalRDL.g:1874:2: ( ( 'rw' ) )
{
- // InternalRDL.g:1831:2: ( ( 'rw' ) )
- // InternalRDL.g:1832:3: ( 'rw' )
+ // InternalRDL.g:1874:2: ( ( 'rw' ) )
+ // InternalRDL.g:1875:3: ( 'rw' )
{
- before(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3());
- // InternalRDL.g:1833:3: ( 'rw' )
- // InternalRDL.g:1833:4: 'rw'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3());
+ }
+ // InternalRDL.g:1876:3: ( 'rw' )
+ // InternalRDL.g:1876:4: 'rw'
{
- match(input,100,FOLLOW_2);
+ match(input,100,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3());
+ }
}
@@ -7492,20 +8214,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:1837:2: ( ( 'wr' ) )
+ // InternalRDL.g:1880:2: ( ( 'wr' ) )
{
- // InternalRDL.g:1837:2: ( ( 'wr' ) )
- // InternalRDL.g:1838:3: ( 'wr' )
+ // InternalRDL.g:1880:2: ( ( 'wr' ) )
+ // InternalRDL.g:1881:3: ( 'wr' )
{
- before(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4());
- // InternalRDL.g:1839:3: ( 'wr' )
- // InternalRDL.g:1839:4: 'wr'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4());
+ }
+ // InternalRDL.g:1882:3: ( 'wr' )
+ // InternalRDL.g:1882:4: 'wr'
{
- match(input,101,FOLLOW_2);
+ match(input,101,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4());
+ }
}
@@ -7513,20 +8239,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 6 :
- // InternalRDL.g:1843:2: ( ( 'r' ) )
+ // InternalRDL.g:1886:2: ( ( 'r' ) )
{
- // InternalRDL.g:1843:2: ( ( 'r' ) )
- // InternalRDL.g:1844:3: ( 'r' )
+ // InternalRDL.g:1886:2: ( ( 'r' ) )
+ // InternalRDL.g:1887:3: ( 'r' )
{
- before(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5());
- // InternalRDL.g:1845:3: ( 'r' )
- // InternalRDL.g:1845:4: 'r'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5());
+ }
+ // InternalRDL.g:1888:3: ( 'r' )
+ // InternalRDL.g:1888:4: 'r'
{
- match(input,102,FOLLOW_2);
+ match(input,102,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5());
+ }
}
@@ -7534,20 +8264,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 7 :
- // InternalRDL.g:1849:2: ( ( 'w' ) )
+ // InternalRDL.g:1892:2: ( ( 'w' ) )
{
- // InternalRDL.g:1849:2: ( ( 'w' ) )
- // InternalRDL.g:1850:3: ( 'w' )
+ // InternalRDL.g:1892:2: ( ( 'w' ) )
+ // InternalRDL.g:1893:3: ( 'w' )
{
- before(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6());
- // InternalRDL.g:1851:3: ( 'w' )
- // InternalRDL.g:1851:4: 'w'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6());
+ }
+ // InternalRDL.g:1894:3: ( 'w' )
+ // InternalRDL.g:1894:4: 'w'
{
- match(input,103,FOLLOW_2);
+ match(input,103,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6());
+ }
}
@@ -7555,20 +8289,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 8 :
- // InternalRDL.g:1855:2: ( ( 'na' ) )
+ // InternalRDL.g:1898:2: ( ( 'na' ) )
{
- // InternalRDL.g:1855:2: ( ( 'na' ) )
- // InternalRDL.g:1856:3: ( 'na' )
+ // InternalRDL.g:1898:2: ( ( 'na' ) )
+ // InternalRDL.g:1899:3: ( 'na' )
{
- before(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7());
- // InternalRDL.g:1857:3: ( 'na' )
- // InternalRDL.g:1857:4: 'na'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7());
+ }
+ // InternalRDL.g:1900:3: ( 'na' )
+ // InternalRDL.g:1900:4: 'na'
{
- match(input,104,FOLLOW_2);
+ match(input,104,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7());
+ }
}
@@ -7576,20 +8314,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 9 :
- // InternalRDL.g:1861:2: ( ( 'compact' ) )
+ // InternalRDL.g:1904:2: ( ( 'compact' ) )
{
- // InternalRDL.g:1861:2: ( ( 'compact' ) )
- // InternalRDL.g:1862:3: ( 'compact' )
+ // InternalRDL.g:1904:2: ( ( 'compact' ) )
+ // InternalRDL.g:1905:3: ( 'compact' )
{
- before(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8());
- // InternalRDL.g:1863:3: ( 'compact' )
- // InternalRDL.g:1863:4: 'compact'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8());
+ }
+ // InternalRDL.g:1906:3: ( 'compact' )
+ // InternalRDL.g:1906:4: 'compact'
{
- match(input,105,FOLLOW_2);
+ match(input,105,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8());
+ }
}
@@ -7597,20 +8339,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 10 :
- // InternalRDL.g:1867:2: ( ( 'regalign' ) )
+ // InternalRDL.g:1910:2: ( ( 'regalign' ) )
{
- // InternalRDL.g:1867:2: ( ( 'regalign' ) )
- // InternalRDL.g:1868:3: ( 'regalign' )
+ // InternalRDL.g:1910:2: ( ( 'regalign' ) )
+ // InternalRDL.g:1911:3: ( 'regalign' )
{
- before(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9());
- // InternalRDL.g:1869:3: ( 'regalign' )
- // InternalRDL.g:1869:4: 'regalign'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9());
+ }
+ // InternalRDL.g:1912:3: ( 'regalign' )
+ // InternalRDL.g:1912:4: 'regalign'
{
- match(input,106,FOLLOW_2);
+ match(input,106,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9());
+ }
}
@@ -7618,20 +8364,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 11 :
- // InternalRDL.g:1873:2: ( ( 'fullalign' ) )
+ // InternalRDL.g:1916:2: ( ( 'fullalign' ) )
{
- // InternalRDL.g:1873:2: ( ( 'fullalign' ) )
- // InternalRDL.g:1874:3: ( 'fullalign' )
+ // InternalRDL.g:1916:2: ( ( 'fullalign' ) )
+ // InternalRDL.g:1917:3: ( 'fullalign' )
{
- before(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10());
- // InternalRDL.g:1875:3: ( 'fullalign' )
- // InternalRDL.g:1875:4: 'fullalign'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10());
+ }
+ // InternalRDL.g:1918:3: ( 'fullalign' )
+ // InternalRDL.g:1918:4: 'fullalign'
{
- match(input,107,FOLLOW_2);
+ match(input,107,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10());
+ }
}
@@ -7639,20 +8389,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 12 :
- // InternalRDL.g:1879:2: ( ( 'hw' ) )
+ // InternalRDL.g:1922:2: ( ( 'hw' ) )
{
- // InternalRDL.g:1879:2: ( ( 'hw' ) )
- // InternalRDL.g:1880:3: ( 'hw' )
+ // InternalRDL.g:1922:2: ( ( 'hw' ) )
+ // InternalRDL.g:1923:3: ( 'hw' )
{
- before(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11());
- // InternalRDL.g:1881:3: ( 'hw' )
- // InternalRDL.g:1881:4: 'hw'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11());
+ }
+ // InternalRDL.g:1924:3: ( 'hw' )
+ // InternalRDL.g:1924:4: 'hw'
{
- match(input,83,FOLLOW_2);
+ match(input,83,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11());
+ }
}
@@ -7660,20 +8414,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 13 :
- // InternalRDL.g:1885:2: ( ( 'sw' ) )
+ // InternalRDL.g:1928:2: ( ( 'sw' ) )
{
- // InternalRDL.g:1885:2: ( ( 'sw' ) )
- // InternalRDL.g:1886:3: ( 'sw' )
+ // InternalRDL.g:1928:2: ( ( 'sw' ) )
+ // InternalRDL.g:1929:3: ( 'sw' )
{
- before(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12());
- // InternalRDL.g:1887:3: ( 'sw' )
- // InternalRDL.g:1887:4: 'sw'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12());
+ }
+ // InternalRDL.g:1930:3: ( 'sw' )
+ // InternalRDL.g:1930:4: 'sw'
{
- match(input,82,FOLLOW_2);
+ match(input,82,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12());
+ }
}
@@ -7698,68 +8456,73 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyModifier__Alternatives"
- // InternalRDL.g:1895:1: rule__PropertyModifier__Alternatives : ( ( ( 'UNDEFINED' ) ) | ( ( 'posedge' ) ) | ( ( 'negedge' ) ) | ( ( 'bothedge' ) ) | ( ( 'level' ) ) | ( ( 'nonsticky' ) ) );
+ // InternalRDL.g:1938:1: rule__PropertyModifier__Alternatives : ( ( ( 'UNDEFINED' ) ) | ( ( 'posedge' ) ) | ( ( 'negedge' ) ) | ( ( 'bothedge' ) ) | ( ( 'level' ) ) | ( ( 'nonsticky' ) ) );
public final void rule__PropertyModifier__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1899:1: ( ( ( 'UNDEFINED' ) ) | ( ( 'posedge' ) ) | ( ( 'negedge' ) ) | ( ( 'bothedge' ) ) | ( ( 'level' ) ) | ( ( 'nonsticky' ) ) )
- int alt24=6;
+ // InternalRDL.g:1942:1: ( ( ( 'UNDEFINED' ) ) | ( ( 'posedge' ) ) | ( ( 'negedge' ) ) | ( ( 'bothedge' ) ) | ( ( 'level' ) ) | ( ( 'nonsticky' ) ) )
+ int alt26=6;
switch ( input.LA(1) ) {
case 97:
{
- alt24=1;
+ alt26=1;
}
break;
case 108:
{
- alt24=2;
+ alt26=2;
}
break;
case 109:
{
- alt24=3;
+ alt26=3;
}
break;
case 110:
{
- alt24=4;
+ alt26=4;
}
break;
case 111:
{
- alt24=5;
+ alt26=5;
}
break;
case 112:
{
- alt24=6;
+ alt26=6;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 24, 0, input);
+ new NoViableAltException("", 26, 0, input);
throw nvae;
}
- switch (alt24) {
+ switch (alt26) {
case 1 :
- // InternalRDL.g:1900:2: ( ( 'UNDEFINED' ) )
+ // InternalRDL.g:1943:2: ( ( 'UNDEFINED' ) )
{
- // InternalRDL.g:1900:2: ( ( 'UNDEFINED' ) )
- // InternalRDL.g:1901:3: ( 'UNDEFINED' )
+ // InternalRDL.g:1943:2: ( ( 'UNDEFINED' ) )
+ // InternalRDL.g:1944:3: ( 'UNDEFINED' )
{
- before(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0());
- // InternalRDL.g:1902:3: ( 'UNDEFINED' )
- // InternalRDL.g:1902:4: 'UNDEFINED'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+ }
+ // InternalRDL.g:1945:3: ( 'UNDEFINED' )
+ // InternalRDL.g:1945:4: 'UNDEFINED'
{
- match(input,97,FOLLOW_2);
+ match(input,97,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+ }
}
@@ -7767,20 +8530,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 2 :
- // InternalRDL.g:1906:2: ( ( 'posedge' ) )
+ // InternalRDL.g:1949:2: ( ( 'posedge' ) )
{
- // InternalRDL.g:1906:2: ( ( 'posedge' ) )
- // InternalRDL.g:1907:3: ( 'posedge' )
+ // InternalRDL.g:1949:2: ( ( 'posedge' ) )
+ // InternalRDL.g:1950:3: ( 'posedge' )
{
- before(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1());
- // InternalRDL.g:1908:3: ( 'posedge' )
- // InternalRDL.g:1908:4: 'posedge'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1());
+ }
+ // InternalRDL.g:1951:3: ( 'posedge' )
+ // InternalRDL.g:1951:4: 'posedge'
{
- match(input,108,FOLLOW_2);
+ match(input,108,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1());
+ }
}
@@ -7788,20 +8555,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 3 :
- // InternalRDL.g:1912:2: ( ( 'negedge' ) )
+ // InternalRDL.g:1955:2: ( ( 'negedge' ) )
{
- // InternalRDL.g:1912:2: ( ( 'negedge' ) )
- // InternalRDL.g:1913:3: ( 'negedge' )
+ // InternalRDL.g:1955:2: ( ( 'negedge' ) )
+ // InternalRDL.g:1956:3: ( 'negedge' )
{
- before(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2());
- // InternalRDL.g:1914:3: ( 'negedge' )
- // InternalRDL.g:1914:4: 'negedge'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2());
+ }
+ // InternalRDL.g:1957:3: ( 'negedge' )
+ // InternalRDL.g:1957:4: 'negedge'
{
- match(input,109,FOLLOW_2);
+ match(input,109,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2());
+ }
}
@@ -7809,20 +8580,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 4 :
- // InternalRDL.g:1918:2: ( ( 'bothedge' ) )
+ // InternalRDL.g:1961:2: ( ( 'bothedge' ) )
{
- // InternalRDL.g:1918:2: ( ( 'bothedge' ) )
- // InternalRDL.g:1919:3: ( 'bothedge' )
+ // InternalRDL.g:1961:2: ( ( 'bothedge' ) )
+ // InternalRDL.g:1962:3: ( 'bothedge' )
{
- before(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3());
- // InternalRDL.g:1920:3: ( 'bothedge' )
- // InternalRDL.g:1920:4: 'bothedge'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3());
+ }
+ // InternalRDL.g:1963:3: ( 'bothedge' )
+ // InternalRDL.g:1963:4: 'bothedge'
{
- match(input,110,FOLLOW_2);
+ match(input,110,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3());
+ }
}
@@ -7830,20 +8605,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 5 :
- // InternalRDL.g:1924:2: ( ( 'level' ) )
+ // InternalRDL.g:1967:2: ( ( 'level' ) )
{
- // InternalRDL.g:1924:2: ( ( 'level' ) )
- // InternalRDL.g:1925:3: ( 'level' )
+ // InternalRDL.g:1967:2: ( ( 'level' ) )
+ // InternalRDL.g:1968:3: ( 'level' )
{
- before(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4());
- // InternalRDL.g:1926:3: ( 'level' )
- // InternalRDL.g:1926:4: 'level'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4());
+ }
+ // InternalRDL.g:1969:3: ( 'level' )
+ // InternalRDL.g:1969:4: 'level'
{
- match(input,111,FOLLOW_2);
+ match(input,111,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4());
+ }
}
@@ -7851,20 +8630,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
break;
case 6 :
- // InternalRDL.g:1930:2: ( ( 'nonsticky' ) )
+ // InternalRDL.g:1973:2: ( ( 'nonsticky' ) )
{
- // InternalRDL.g:1930:2: ( ( 'nonsticky' ) )
- // InternalRDL.g:1931:3: ( 'nonsticky' )
+ // InternalRDL.g:1973:2: ( ( 'nonsticky' ) )
+ // InternalRDL.g:1974:3: ( 'nonsticky' )
{
- before(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5());
- // InternalRDL.g:1932:3: ( 'nonsticky' )
- // InternalRDL.g:1932:4: 'nonsticky'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5());
+ }
+ // InternalRDL.g:1975:3: ( 'nonsticky' )
+ // InternalRDL.g:1975:4: 'nonsticky'
{
- match(input,112,FOLLOW_2);
+ match(input,112,FOLLOW_2); if (state.failed) return ;
}
- after(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5());
+ }
}
@@ -7888,26 +8671,841 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__PropertyModifier__Alternatives"
+ // $ANTLR start "rule__Root__Group_1__0"
+ // InternalRDL.g:1983:1: rule__Root__Group_1__0 : rule__Root__Group_1__0__Impl rule__Root__Group_1__1 ;
+ public final void rule__Root__Group_1__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:1987:1: ( rule__Root__Group_1__0__Impl rule__Root__Group_1__1 )
+ // InternalRDL.g:1988:2: rule__Root__Group_1__0__Impl rule__Root__Group_1__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__Root__Group_1__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_1__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_1__0"
+
+
+ // $ANTLR start "rule__Root__Group_1__0__Impl"
+ // InternalRDL.g:1995:1: rule__Root__Group_1__0__Impl : ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) ) ;
+ public final void rule__Root__Group_1__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:1999:1: ( ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) ) )
+ // InternalRDL.g:2000:1: ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) )
+ {
+ // InternalRDL.g:2000:1: ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) )
+ // InternalRDL.g:2001:2: ( rule__Root__ComponentDefinitionsAssignment_1_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0());
+ }
+ // InternalRDL.g:2002:2: ( rule__Root__ComponentDefinitionsAssignment_1_0 )
+ // InternalRDL.g:2002:3: rule__Root__ComponentDefinitionsAssignment_1_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__ComponentDefinitionsAssignment_1_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_1__0__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_1__1"
+ // InternalRDL.g:2010:1: rule__Root__Group_1__1 : rule__Root__Group_1__1__Impl ;
+ public final void rule__Root__Group_1__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2014:1: ( rule__Root__Group_1__1__Impl )
+ // InternalRDL.g:2015:2: rule__Root__Group_1__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_1__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_1__1"
+
+
+ // $ANTLR start "rule__Root__Group_1__1__Impl"
+ // InternalRDL.g:2021:1: rule__Root__Group_1__1__Impl : ( ';' ) ;
+ public final void rule__Root__Group_1__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2025:1: ( ( ';' ) )
+ // InternalRDL.g:2026:1: ( ';' )
+ {
+ // InternalRDL.g:2026:1: ( ';' )
+ // InternalRDL.g:2027:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getSemicolonKeyword_1_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getSemicolonKeyword_1_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_1__1__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_2__0"
+ // InternalRDL.g:2037:1: rule__Root__Group_2__0 : rule__Root__Group_2__0__Impl rule__Root__Group_2__1 ;
+ public final void rule__Root__Group_2__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2041:1: ( rule__Root__Group_2__0__Impl rule__Root__Group_2__1 )
+ // InternalRDL.g:2042:2: rule__Root__Group_2__0__Impl rule__Root__Group_2__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__Root__Group_2__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_2__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_2__0"
+
+
+ // $ANTLR start "rule__Root__Group_2__0__Impl"
+ // InternalRDL.g:2049:1: rule__Root__Group_2__0__Impl : ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) ) ;
+ public final void rule__Root__Group_2__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2053:1: ( ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) ) )
+ // InternalRDL.g:2054:1: ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) )
+ {
+ // InternalRDL.g:2054:1: ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) )
+ // InternalRDL.g:2055:2: ( rule__Root__EnumDefinitionsAssignment_2_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0());
+ }
+ // InternalRDL.g:2056:2: ( rule__Root__EnumDefinitionsAssignment_2_0 )
+ // InternalRDL.g:2056:3: rule__Root__EnumDefinitionsAssignment_2_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__EnumDefinitionsAssignment_2_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_2__0__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_2__1"
+ // InternalRDL.g:2064:1: rule__Root__Group_2__1 : rule__Root__Group_2__1__Impl ;
+ public final void rule__Root__Group_2__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2068:1: ( rule__Root__Group_2__1__Impl )
+ // InternalRDL.g:2069:2: rule__Root__Group_2__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_2__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_2__1"
+
+
+ // $ANTLR start "rule__Root__Group_2__1__Impl"
+ // InternalRDL.g:2075:1: rule__Root__Group_2__1__Impl : ( ';' ) ;
+ public final void rule__Root__Group_2__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2079:1: ( ( ';' ) )
+ // InternalRDL.g:2080:1: ( ';' )
+ {
+ // InternalRDL.g:2080:1: ( ';' )
+ // InternalRDL.g:2081:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getSemicolonKeyword_2_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getSemicolonKeyword_2_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_2__1__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_3__0"
+ // InternalRDL.g:2091:1: rule__Root__Group_3__0 : rule__Root__Group_3__0__Impl rule__Root__Group_3__1 ;
+ public final void rule__Root__Group_3__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2095:1: ( rule__Root__Group_3__0__Impl rule__Root__Group_3__1 )
+ // InternalRDL.g:2096:2: rule__Root__Group_3__0__Impl rule__Root__Group_3__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__Root__Group_3__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_3__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_3__0"
+
+
+ // $ANTLR start "rule__Root__Group_3__0__Impl"
+ // InternalRDL.g:2103:1: rule__Root__Group_3__0__Impl : ( ( rule__Root__InstantiationsAssignment_3_0 ) ) ;
+ public final void rule__Root__Group_3__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2107:1: ( ( ( rule__Root__InstantiationsAssignment_3_0 ) ) )
+ // InternalRDL.g:2108:1: ( ( rule__Root__InstantiationsAssignment_3_0 ) )
+ {
+ // InternalRDL.g:2108:1: ( ( rule__Root__InstantiationsAssignment_3_0 ) )
+ // InternalRDL.g:2109:2: ( rule__Root__InstantiationsAssignment_3_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0());
+ }
+ // InternalRDL.g:2110:2: ( rule__Root__InstantiationsAssignment_3_0 )
+ // InternalRDL.g:2110:3: rule__Root__InstantiationsAssignment_3_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__InstantiationsAssignment_3_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_3__0__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_3__1"
+ // InternalRDL.g:2118:1: rule__Root__Group_3__1 : rule__Root__Group_3__1__Impl ;
+ public final void rule__Root__Group_3__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2122:1: ( rule__Root__Group_3__1__Impl )
+ // InternalRDL.g:2123:2: rule__Root__Group_3__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_3__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_3__1"
+
+
+ // $ANTLR start "rule__Root__Group_3__1__Impl"
+ // InternalRDL.g:2129:1: rule__Root__Group_3__1__Impl : ( ';' ) ;
+ public final void rule__Root__Group_3__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2133:1: ( ( ';' ) )
+ // InternalRDL.g:2134:1: ( ';' )
+ {
+ // InternalRDL.g:2134:1: ( ';' )
+ // InternalRDL.g:2135:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getSemicolonKeyword_3_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getSemicolonKeyword_3_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_3__1__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_4__0"
+ // InternalRDL.g:2145:1: rule__Root__Group_4__0 : rule__Root__Group_4__0__Impl rule__Root__Group_4__1 ;
+ public final void rule__Root__Group_4__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2149:1: ( rule__Root__Group_4__0__Impl rule__Root__Group_4__1 )
+ // InternalRDL.g:2150:2: rule__Root__Group_4__0__Impl rule__Root__Group_4__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__Root__Group_4__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_4__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_4__0"
+
+
+ // $ANTLR start "rule__Root__Group_4__0__Impl"
+ // InternalRDL.g:2157:1: rule__Root__Group_4__0__Impl : ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) ) ;
+ public final void rule__Root__Group_4__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2161:1: ( ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) ) )
+ // InternalRDL.g:2162:1: ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) )
+ {
+ // InternalRDL.g:2162:1: ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) )
+ // InternalRDL.g:2163:2: ( rule__Root__PropertyAssignmentsAssignment_4_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0());
+ }
+ // InternalRDL.g:2164:2: ( rule__Root__PropertyAssignmentsAssignment_4_0 )
+ // InternalRDL.g:2164:3: rule__Root__PropertyAssignmentsAssignment_4_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__PropertyAssignmentsAssignment_4_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_4__0__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_4__1"
+ // InternalRDL.g:2172:1: rule__Root__Group_4__1 : rule__Root__Group_4__1__Impl ;
+ public final void rule__Root__Group_4__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2176:1: ( rule__Root__Group_4__1__Impl )
+ // InternalRDL.g:2177:2: rule__Root__Group_4__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_4__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_4__1"
+
+
+ // $ANTLR start "rule__Root__Group_4__1__Impl"
+ // InternalRDL.g:2183:1: rule__Root__Group_4__1__Impl : ( ';' ) ;
+ public final void rule__Root__Group_4__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2187:1: ( ( ';' ) )
+ // InternalRDL.g:2188:1: ( ';' )
+ {
+ // InternalRDL.g:2188:1: ( ';' )
+ // InternalRDL.g:2189:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getSemicolonKeyword_4_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getSemicolonKeyword_4_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_4__1__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_5__0"
+ // InternalRDL.g:2199:1: rule__Root__Group_5__0 : rule__Root__Group_5__0__Impl rule__Root__Group_5__1 ;
+ public final void rule__Root__Group_5__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2203:1: ( rule__Root__Group_5__0__Impl rule__Root__Group_5__1 )
+ // InternalRDL.g:2204:2: rule__Root__Group_5__0__Impl rule__Root__Group_5__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__Root__Group_5__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_5__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_5__0"
+
+
+ // $ANTLR start "rule__Root__Group_5__0__Impl"
+ // InternalRDL.g:2211:1: rule__Root__Group_5__0__Impl : ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) ) ;
+ public final void rule__Root__Group_5__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2215:1: ( ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) ) )
+ // InternalRDL.g:2216:1: ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) )
+ {
+ // InternalRDL.g:2216:1: ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) )
+ // InternalRDL.g:2217:2: ( rule__Root__PropertyDefinitionsAssignment_5_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0());
+ }
+ // InternalRDL.g:2218:2: ( rule__Root__PropertyDefinitionsAssignment_5_0 )
+ // InternalRDL.g:2218:3: rule__Root__PropertyDefinitionsAssignment_5_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__PropertyDefinitionsAssignment_5_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_5__0__Impl"
+
+
+ // $ANTLR start "rule__Root__Group_5__1"
+ // InternalRDL.g:2226:1: rule__Root__Group_5__1 : rule__Root__Group_5__1__Impl ;
+ public final void rule__Root__Group_5__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2230:1: ( rule__Root__Group_5__1__Impl )
+ // InternalRDL.g:2231:2: rule__Root__Group_5__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_5__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_5__1"
+
+
+ // $ANTLR start "rule__Root__Group_5__1__Impl"
+ // InternalRDL.g:2237:1: rule__Root__Group_5__1__Impl : ( ';' ) ;
+ public final void rule__Root__Group_5__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:2241:1: ( ( ';' ) )
+ // InternalRDL.g:2242:1: ( ';' )
+ {
+ // InternalRDL.g:2242:1: ( ';' )
+ // InternalRDL.g:2243:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getSemicolonKeyword_5_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getSemicolonKeyword_5_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Root__Group_5__1__Impl"
+
+
// $ANTLR start "rule__Include__Group__0"
- // InternalRDL.g:1940:1: rule__Include__Group__0 : rule__Include__Group__0__Impl rule__Include__Group__1 ;
+ // InternalRDL.g:2253:1: rule__Include__Group__0 : rule__Include__Group__0__Impl rule__Include__Group__1 ;
public final void rule__Include__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1944:1: ( rule__Include__Group__0__Impl rule__Include__Group__1 )
- // InternalRDL.g:1945:2: rule__Include__Group__0__Impl rule__Include__Group__1
+ // InternalRDL.g:2257:1: ( rule__Include__Group__0__Impl rule__Include__Group__1 )
+ // InternalRDL.g:2258:2: rule__Include__Group__0__Impl rule__Include__Group__1
{
- pushFollow(FOLLOW_4);
+ pushFollow(FOLLOW_5);
rule__Include__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Include__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -7927,21 +9525,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Include__Group__0__Impl"
- // InternalRDL.g:1952:1: rule__Include__Group__0__Impl : ( '`include' ) ;
+ // InternalRDL.g:2265:1: rule__Include__Group__0__Impl : ( '`include' ) ;
public final void rule__Include__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1956:1: ( ( '`include' ) )
- // InternalRDL.g:1957:1: ( '`include' )
+ // InternalRDL.g:2269:1: ( ( '`include' ) )
+ // InternalRDL.g:2270:1: ( '`include' )
{
- // InternalRDL.g:1957:1: ( '`include' )
- // InternalRDL.g:1958:2: '`include'
+ // InternalRDL.g:2270:1: ( '`include' )
+ // InternalRDL.g:2271:2: '`include'
{
- before(grammarAccess.getIncludeAccess().getIncludeKeyword_0());
- match(input,113,FOLLOW_2);
- after(grammarAccess.getIncludeAccess().getIncludeKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getIncludeAccess().getIncludeKeyword_0());
+ }
+ match(input,114,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getIncludeAccess().getIncludeKeyword_0());
+ }
}
@@ -7964,20 +9566,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Include__Group__1"
- // InternalRDL.g:1967:1: rule__Include__Group__1 : rule__Include__Group__1__Impl ;
+ // InternalRDL.g:2280:1: rule__Include__Group__1 : rule__Include__Group__1__Impl ;
public final void rule__Include__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1971:1: ( rule__Include__Group__1__Impl )
- // InternalRDL.g:1972:2: rule__Include__Group__1__Impl
+ // InternalRDL.g:2284:1: ( rule__Include__Group__1__Impl )
+ // InternalRDL.g:2285:2: rule__Include__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__Include__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -7997,31 +9599,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Include__Group__1__Impl"
- // InternalRDL.g:1978:1: rule__Include__Group__1__Impl : ( ( rule__Include__ImportURIAssignment_1 ) ) ;
+ // InternalRDL.g:2291:1: rule__Include__Group__1__Impl : ( ( rule__Include__ImportURIAssignment_1 ) ) ;
public final void rule__Include__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1982:1: ( ( ( rule__Include__ImportURIAssignment_1 ) ) )
- // InternalRDL.g:1983:1: ( ( rule__Include__ImportURIAssignment_1 ) )
+ // InternalRDL.g:2295:1: ( ( ( rule__Include__ImportURIAssignment_1 ) ) )
+ // InternalRDL.g:2296:1: ( ( rule__Include__ImportURIAssignment_1 ) )
{
- // InternalRDL.g:1983:1: ( ( rule__Include__ImportURIAssignment_1 ) )
- // InternalRDL.g:1984:2: ( rule__Include__ImportURIAssignment_1 )
+ // InternalRDL.g:2296:1: ( ( rule__Include__ImportURIAssignment_1 ) )
+ // InternalRDL.g:2297:2: ( rule__Include__ImportURIAssignment_1 )
{
- before(grammarAccess.getIncludeAccess().getImportURIAssignment_1());
- // InternalRDL.g:1985:2: ( rule__Include__ImportURIAssignment_1 )
- // InternalRDL.g:1985:3: rule__Include__ImportURIAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getIncludeAccess().getImportURIAssignment_1());
+ }
+ // InternalRDL.g:2298:2: ( rule__Include__ImportURIAssignment_1 )
+ // InternalRDL.g:2298:3: rule__Include__ImportURIAssignment_1
{
pushFollow(FOLLOW_2);
rule__Include__ImportURIAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getIncludeAccess().getImportURIAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getIncludeAccess().getImportURIAssignment_1());
+ }
}
@@ -8044,25 +9650,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__0"
- // InternalRDL.g:1994:1: rule__PropertyDefinition__Group__0 : rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 ;
+ // InternalRDL.g:2307:1: rule__PropertyDefinition__Group__0 : rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 ;
public final void rule__PropertyDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:1998:1: ( rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 )
- // InternalRDL.g:1999:2: rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1
+ // InternalRDL.g:2311:1: ( rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 )
+ // InternalRDL.g:2312:2: rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1
{
- pushFollow(FOLLOW_5);
+ pushFollow(FOLLOW_6);
rule__PropertyDefinition__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8082,21 +9688,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__0__Impl"
- // InternalRDL.g:2006:1: rule__PropertyDefinition__Group__0__Impl : ( 'property' ) ;
+ // InternalRDL.g:2319:1: rule__PropertyDefinition__Group__0__Impl : ( 'property' ) ;
public final void rule__PropertyDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2010:1: ( ( 'property' ) )
- // InternalRDL.g:2011:1: ( 'property' )
+ // InternalRDL.g:2323:1: ( ( 'property' ) )
+ // InternalRDL.g:2324:1: ( 'property' )
{
- // InternalRDL.g:2011:1: ( 'property' )
- // InternalRDL.g:2012:2: 'property'
+ // InternalRDL.g:2324:1: ( 'property' )
+ // InternalRDL.g:2325:2: 'property'
{
- before(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0());
- match(input,114,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0());
+ }
+ match(input,115,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0());
+ }
}
@@ -8119,25 +9729,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__1"
- // InternalRDL.g:2021:1: rule__PropertyDefinition__Group__1 : rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 ;
+ // InternalRDL.g:2334:1: rule__PropertyDefinition__Group__1 : rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 ;
public final void rule__PropertyDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2025:1: ( rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 )
- // InternalRDL.g:2026:2: rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2
+ // InternalRDL.g:2338:1: ( rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 )
+ // InternalRDL.g:2339:2: rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2
{
- pushFollow(FOLLOW_6);
+ pushFollow(FOLLOW_7);
rule__PropertyDefinition__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8157,31 +9767,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__1__Impl"
- // InternalRDL.g:2033:1: rule__PropertyDefinition__Group__1__Impl : ( ( rule__PropertyDefinition__NameAssignment_1 ) ) ;
+ // InternalRDL.g:2346:1: rule__PropertyDefinition__Group__1__Impl : ( ( rule__PropertyDefinition__NameAssignment_1 ) ) ;
public final void rule__PropertyDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2037:1: ( ( ( rule__PropertyDefinition__NameAssignment_1 ) ) )
- // InternalRDL.g:2038:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) )
+ // InternalRDL.g:2350:1: ( ( ( rule__PropertyDefinition__NameAssignment_1 ) ) )
+ // InternalRDL.g:2351:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) )
{
- // InternalRDL.g:2038:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) )
- // InternalRDL.g:2039:2: ( rule__PropertyDefinition__NameAssignment_1 )
+ // InternalRDL.g:2351:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) )
+ // InternalRDL.g:2352:2: ( rule__PropertyDefinition__NameAssignment_1 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1());
- // InternalRDL.g:2040:2: ( rule__PropertyDefinition__NameAssignment_1 )
- // InternalRDL.g:2040:3: rule__PropertyDefinition__NameAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1());
+ }
+ // InternalRDL.g:2353:2: ( rule__PropertyDefinition__NameAssignment_1 )
+ // InternalRDL.g:2353:3: rule__PropertyDefinition__NameAssignment_1
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__NameAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1());
+ }
}
@@ -8204,25 +9818,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__2"
- // InternalRDL.g:2048:1: rule__PropertyDefinition__Group__2 : rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 ;
+ // InternalRDL.g:2361:1: rule__PropertyDefinition__Group__2 : rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 ;
public final void rule__PropertyDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2052:1: ( rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 )
- // InternalRDL.g:2053:2: rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3
+ // InternalRDL.g:2365:1: ( rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 )
+ // InternalRDL.g:2366:2: rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3
{
- pushFollow(FOLLOW_7);
+ pushFollow(FOLLOW_8);
rule__PropertyDefinition__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8242,21 +9856,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__2__Impl"
- // InternalRDL.g:2060:1: rule__PropertyDefinition__Group__2__Impl : ( '{' ) ;
+ // InternalRDL.g:2373:1: rule__PropertyDefinition__Group__2__Impl : ( '{' ) ;
public final void rule__PropertyDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2064:1: ( ( '{' ) )
- // InternalRDL.g:2065:1: ( '{' )
+ // InternalRDL.g:2377:1: ( ( '{' ) )
+ // InternalRDL.g:2378:1: ( '{' )
{
- // InternalRDL.g:2065:1: ( '{' )
- // InternalRDL.g:2066:2: '{'
+ // InternalRDL.g:2378:1: ( '{' )
+ // InternalRDL.g:2379:2: '{'
{
- before(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2());
- match(input,115,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2());
+ }
+ match(input,116,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2());
+ }
}
@@ -8279,25 +9897,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__3"
- // InternalRDL.g:2075:1: rule__PropertyDefinition__Group__3 : rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 ;
+ // InternalRDL.g:2388:1: rule__PropertyDefinition__Group__3 : rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 ;
public final void rule__PropertyDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2079:1: ( rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 )
- // InternalRDL.g:2080:2: rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4
+ // InternalRDL.g:2392:1: ( rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 )
+ // InternalRDL.g:2393:2: rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4
{
- pushFollow(FOLLOW_8);
+ pushFollow(FOLLOW_9);
rule__PropertyDefinition__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8317,31 +9935,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__3__Impl"
- // InternalRDL.g:2087:1: rule__PropertyDefinition__Group__3__Impl : ( ( rule__PropertyDefinition__Alternatives_3 ) ) ;
+ // InternalRDL.g:2400:1: rule__PropertyDefinition__Group__3__Impl : ( ( rule__PropertyDefinition__Alternatives_3 ) ) ;
public final void rule__PropertyDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2091:1: ( ( ( rule__PropertyDefinition__Alternatives_3 ) ) )
- // InternalRDL.g:2092:1: ( ( rule__PropertyDefinition__Alternatives_3 ) )
+ // InternalRDL.g:2404:1: ( ( ( rule__PropertyDefinition__Alternatives_3 ) ) )
+ // InternalRDL.g:2405:1: ( ( rule__PropertyDefinition__Alternatives_3 ) )
{
- // InternalRDL.g:2092:1: ( ( rule__PropertyDefinition__Alternatives_3 ) )
- // InternalRDL.g:2093:2: ( rule__PropertyDefinition__Alternatives_3 )
+ // InternalRDL.g:2405:1: ( ( rule__PropertyDefinition__Alternatives_3 ) )
+ // InternalRDL.g:2406:2: ( rule__PropertyDefinition__Alternatives_3 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3());
- // InternalRDL.g:2094:2: ( rule__PropertyDefinition__Alternatives_3 )
- // InternalRDL.g:2094:3: rule__PropertyDefinition__Alternatives_3
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3());
+ }
+ // InternalRDL.g:2407:2: ( rule__PropertyDefinition__Alternatives_3 )
+ // InternalRDL.g:2407:3: rule__PropertyDefinition__Alternatives_3
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Alternatives_3();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3());
+ }
}
@@ -8364,25 +9986,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__4"
- // InternalRDL.g:2102:1: rule__PropertyDefinition__Group__4 : rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 ;
+ // InternalRDL.g:2415:1: rule__PropertyDefinition__Group__4 : rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 ;
public final void rule__PropertyDefinition__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2106:1: ( rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 )
- // InternalRDL.g:2107:2: rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5
+ // InternalRDL.g:2419:1: ( rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 )
+ // InternalRDL.g:2420:2: rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefinition__Group__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__5();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8402,21 +10024,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__4__Impl"
- // InternalRDL.g:2114:1: rule__PropertyDefinition__Group__4__Impl : ( '}' ) ;
+ // InternalRDL.g:2427:1: rule__PropertyDefinition__Group__4__Impl : ( '}' ) ;
public final void rule__PropertyDefinition__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2118:1: ( ( '}' ) )
- // InternalRDL.g:2119:1: ( '}' )
+ // InternalRDL.g:2431:1: ( ( '}' ) )
+ // InternalRDL.g:2432:1: ( '}' )
{
- // InternalRDL.g:2119:1: ( '}' )
- // InternalRDL.g:2120:2: '}'
+ // InternalRDL.g:2432:1: ( '}' )
+ // InternalRDL.g:2433:2: '}'
{
- before(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4());
- match(input,116,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4());
+ }
+ match(input,117,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4());
+ }
}
@@ -8439,20 +10065,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__5"
- // InternalRDL.g:2129:1: rule__PropertyDefinition__Group__5 : rule__PropertyDefinition__Group__5__Impl ;
+ // InternalRDL.g:2442:1: rule__PropertyDefinition__Group__5 : rule__PropertyDefinition__Group__5__Impl ;
public final void rule__PropertyDefinition__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2133:1: ( rule__PropertyDefinition__Group__5__Impl )
- // InternalRDL.g:2134:2: rule__PropertyDefinition__Group__5__Impl
+ // InternalRDL.g:2446:1: ( rule__PropertyDefinition__Group__5__Impl )
+ // InternalRDL.g:2447:2: rule__PropertyDefinition__Group__5__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group__5__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8472,21 +10098,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group__5__Impl"
- // InternalRDL.g:2140:1: rule__PropertyDefinition__Group__5__Impl : ( ';' ) ;
+ // InternalRDL.g:2453:1: rule__PropertyDefinition__Group__5__Impl : ( ';' ) ;
public final void rule__PropertyDefinition__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2144:1: ( ( ';' ) )
- // InternalRDL.g:2145:1: ( ';' )
+ // InternalRDL.g:2457:1: ( ( ';' ) )
+ // InternalRDL.g:2458:1: ( ';' )
{
- // InternalRDL.g:2145:1: ( ';' )
- // InternalRDL.g:2146:2: ';'
+ // InternalRDL.g:2458:1: ( ';' )
+ // InternalRDL.g:2459:2: ';'
{
- before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5());
+ }
}
@@ -8509,25 +10139,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__0"
- // InternalRDL.g:2156:1: rule__PropertyDefinition__Group_3_0__0 : rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 ;
+ // InternalRDL.g:2469:1: rule__PropertyDefinition__Group_3_0__0 : rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 ;
public final void rule__PropertyDefinition__Group_3_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2160:1: ( rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 )
- // InternalRDL.g:2161:2: rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1
+ // InternalRDL.g:2473:1: ( rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 )
+ // InternalRDL.g:2474:2: rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1
{
pushFollow(FOLLOW_10);
rule__PropertyDefinition__Group_3_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8547,21 +10177,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__0__Impl"
- // InternalRDL.g:2168:1: rule__PropertyDefinition__Group_3_0__0__Impl : ( 'type' ) ;
+ // InternalRDL.g:2481:1: rule__PropertyDefinition__Group_3_0__0__Impl : ( 'type' ) ;
public final void rule__PropertyDefinition__Group_3_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2172:1: ( ( 'type' ) )
- // InternalRDL.g:2173:1: ( 'type' )
+ // InternalRDL.g:2485:1: ( ( 'type' ) )
+ // InternalRDL.g:2486:1: ( 'type' )
{
- // InternalRDL.g:2173:1: ( 'type' )
- // InternalRDL.g:2174:2: 'type'
+ // InternalRDL.g:2486:1: ( 'type' )
+ // InternalRDL.g:2487:2: 'type'
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0());
- match(input,118,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0());
+ }
+ match(input,118,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0());
+ }
}
@@ -8584,25 +10218,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__1"
- // InternalRDL.g:2183:1: rule__PropertyDefinition__Group_3_0__1 : rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 ;
+ // InternalRDL.g:2496:1: rule__PropertyDefinition__Group_3_0__1 : rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 ;
public final void rule__PropertyDefinition__Group_3_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2187:1: ( rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 )
- // InternalRDL.g:2188:2: rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2
+ // InternalRDL.g:2500:1: ( rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 )
+ // InternalRDL.g:2501:2: rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2
{
pushFollow(FOLLOW_11);
rule__PropertyDefinition__Group_3_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8622,21 +10256,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__1__Impl"
- // InternalRDL.g:2195:1: rule__PropertyDefinition__Group_3_0__1__Impl : ( '=' ) ;
+ // InternalRDL.g:2508:1: rule__PropertyDefinition__Group_3_0__1__Impl : ( '=' ) ;
public final void rule__PropertyDefinition__Group_3_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2199:1: ( ( '=' ) )
- // InternalRDL.g:2200:1: ( '=' )
+ // InternalRDL.g:2512:1: ( ( '=' ) )
+ // InternalRDL.g:2513:1: ( '=' )
{
- // InternalRDL.g:2200:1: ( '=' )
- // InternalRDL.g:2201:2: '='
+ // InternalRDL.g:2513:1: ( '=' )
+ // InternalRDL.g:2514:2: '='
{
- before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1());
+ }
}
@@ -8659,25 +10297,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__2"
- // InternalRDL.g:2210:1: rule__PropertyDefinition__Group_3_0__2 : rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 ;
+ // InternalRDL.g:2523:1: rule__PropertyDefinition__Group_3_0__2 : rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 ;
public final void rule__PropertyDefinition__Group_3_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2214:1: ( rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 )
- // InternalRDL.g:2215:2: rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3
+ // InternalRDL.g:2527:1: ( rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 )
+ // InternalRDL.g:2528:2: rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefinition__Group_3_0__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8697,31 +10335,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__2__Impl"
- // InternalRDL.g:2222:1: rule__PropertyDefinition__Group_3_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) ;
+ // InternalRDL.g:2535:1: rule__PropertyDefinition__Group_3_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) ;
public final void rule__PropertyDefinition__Group_3_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2226:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) )
- // InternalRDL.g:2227:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) )
+ // InternalRDL.g:2539:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) )
+ // InternalRDL.g:2540:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) )
{
- // InternalRDL.g:2227:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) )
- // InternalRDL.g:2228:2: ( rule__PropertyDefinition__TypeAssignment_3_0_2 )
+ // InternalRDL.g:2540:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) )
+ // InternalRDL.g:2541:2: ( rule__PropertyDefinition__TypeAssignment_3_0_2 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2());
- // InternalRDL.g:2229:2: ( rule__PropertyDefinition__TypeAssignment_3_0_2 )
- // InternalRDL.g:2229:3: rule__PropertyDefinition__TypeAssignment_3_0_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2());
+ }
+ // InternalRDL.g:2542:2: ( rule__PropertyDefinition__TypeAssignment_3_0_2 )
+ // InternalRDL.g:2542:3: rule__PropertyDefinition__TypeAssignment_3_0_2
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__TypeAssignment_3_0_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2());
+ }
}
@@ -8744,25 +10386,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__3"
- // InternalRDL.g:2237:1: rule__PropertyDefinition__Group_3_0__3 : rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 ;
+ // InternalRDL.g:2550:1: rule__PropertyDefinition__Group_3_0__3 : rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 ;
public final void rule__PropertyDefinition__Group_3_0__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2241:1: ( rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 )
- // InternalRDL.g:2242:2: rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4
+ // InternalRDL.g:2554:1: ( rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 )
+ // InternalRDL.g:2555:2: rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4
{
- pushFollow(FOLLOW_7);
+ pushFollow(FOLLOW_8);
rule__PropertyDefinition__Group_3_0__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8782,21 +10424,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__3__Impl"
- // InternalRDL.g:2249:1: rule__PropertyDefinition__Group_3_0__3__Impl : ( ';' ) ;
+ // InternalRDL.g:2562:1: rule__PropertyDefinition__Group_3_0__3__Impl : ( ';' ) ;
public final void rule__PropertyDefinition__Group_3_0__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2253:1: ( ( ';' ) )
- // InternalRDL.g:2254:1: ( ';' )
+ // InternalRDL.g:2566:1: ( ( ';' ) )
+ // InternalRDL.g:2567:1: ( ';' )
{
- // InternalRDL.g:2254:1: ( ';' )
- // InternalRDL.g:2255:2: ';'
+ // InternalRDL.g:2567:1: ( ';' )
+ // InternalRDL.g:2568:2: ';'
{
- before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3());
+ }
}
@@ -8819,20 +10465,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__4"
- // InternalRDL.g:2264:1: rule__PropertyDefinition__Group_3_0__4 : rule__PropertyDefinition__Group_3_0__4__Impl ;
+ // InternalRDL.g:2577:1: rule__PropertyDefinition__Group_3_0__4 : rule__PropertyDefinition__Group_3_0__4__Impl ;
public final void rule__PropertyDefinition__Group_3_0__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2268:1: ( rule__PropertyDefinition__Group_3_0__4__Impl )
- // InternalRDL.g:2269:2: rule__PropertyDefinition__Group_3_0__4__Impl
+ // InternalRDL.g:2581:1: ( rule__PropertyDefinition__Group_3_0__4__Impl )
+ // InternalRDL.g:2582:2: rule__PropertyDefinition__Group_3_0__4__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8852,31 +10498,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0__4__Impl"
- // InternalRDL.g:2275:1: rule__PropertyDefinition__Group_3_0__4__Impl : ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) ;
+ // InternalRDL.g:2588:1: rule__PropertyDefinition__Group_3_0__4__Impl : ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) ;
public final void rule__PropertyDefinition__Group_3_0__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2279:1: ( ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) )
- // InternalRDL.g:2280:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) )
+ // InternalRDL.g:2592:1: ( ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) )
+ // InternalRDL.g:2593:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) )
{
- // InternalRDL.g:2280:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) )
- // InternalRDL.g:2281:2: ( rule__PropertyDefinition__Alternatives_3_0_4 )
+ // InternalRDL.g:2593:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) )
+ // InternalRDL.g:2594:2: ( rule__PropertyDefinition__Alternatives_3_0_4 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4());
- // InternalRDL.g:2282:2: ( rule__PropertyDefinition__Alternatives_3_0_4 )
- // InternalRDL.g:2282:3: rule__PropertyDefinition__Alternatives_3_0_4
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4());
+ }
+ // InternalRDL.g:2595:2: ( rule__PropertyDefinition__Alternatives_3_0_4 )
+ // InternalRDL.g:2595:3: rule__PropertyDefinition__Alternatives_3_0_4
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Alternatives_3_0_4();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4());
+ }
}
@@ -8899,25 +10549,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_0__0"
- // InternalRDL.g:2291:1: rule__PropertyDefinition__Group_3_0_4_0__0 : rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 ;
+ // InternalRDL.g:2604:1: rule__PropertyDefinition__Group_3_0_4_0__0 : rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 ;
public final void rule__PropertyDefinition__Group_3_0_4_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2295:1: ( rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 )
- // InternalRDL.g:2296:2: rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1
+ // InternalRDL.g:2608:1: ( rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 )
+ // InternalRDL.g:2609:2: rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1
{
- pushFollow(FOLLOW_7);
+ pushFollow(FOLLOW_8);
rule__PropertyDefinition__Group_3_0_4_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0_4_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -8937,31 +10587,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_0__0__Impl"
- // InternalRDL.g:2303:1: rule__PropertyDefinition__Group_3_0_4_0__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) ;
+ // InternalRDL.g:2616:1: rule__PropertyDefinition__Group_3_0_4_0__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) ;
public final void rule__PropertyDefinition__Group_3_0_4_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2307:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) )
- // InternalRDL.g:2308:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) )
+ // InternalRDL.g:2620:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) )
+ // InternalRDL.g:2621:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) )
{
- // InternalRDL.g:2308:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) )
- // InternalRDL.g:2309:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 )
+ // InternalRDL.g:2621:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) )
+ // InternalRDL.g:2622:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0());
- // InternalRDL.g:2310:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 )
- // InternalRDL.g:2310:3: rule__PropertyDefinition__UsageAssignment_3_0_4_0_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0());
+ }
+ // InternalRDL.g:2623:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 )
+ // InternalRDL.g:2623:3: rule__PropertyDefinition__UsageAssignment_3_0_4_0_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__UsageAssignment_3_0_4_0_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0());
+ }
}
@@ -8984,20 +10638,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_0__1"
- // InternalRDL.g:2318:1: rule__PropertyDefinition__Group_3_0_4_0__1 : rule__PropertyDefinition__Group_3_0_4_0__1__Impl ;
+ // InternalRDL.g:2631:1: rule__PropertyDefinition__Group_3_0_4_0__1 : rule__PropertyDefinition__Group_3_0_4_0__1__Impl ;
public final void rule__PropertyDefinition__Group_3_0_4_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2322:1: ( rule__PropertyDefinition__Group_3_0_4_0__1__Impl )
- // InternalRDL.g:2323:2: rule__PropertyDefinition__Group_3_0_4_0__1__Impl
+ // InternalRDL.g:2635:1: ( rule__PropertyDefinition__Group_3_0_4_0__1__Impl )
+ // InternalRDL.g:2636:2: rule__PropertyDefinition__Group_3_0_4_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0_4_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9017,42 +10671,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_0__1__Impl"
- // InternalRDL.g:2329:1: rule__PropertyDefinition__Group_3_0_4_0__1__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) ;
+ // InternalRDL.g:2642:1: rule__PropertyDefinition__Group_3_0_4_0__1__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) ;
public final void rule__PropertyDefinition__Group_3_0_4_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2333:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) )
- // InternalRDL.g:2334:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? )
+ // InternalRDL.g:2646:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) )
+ // InternalRDL.g:2647:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? )
{
- // InternalRDL.g:2334:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? )
- // InternalRDL.g:2335:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )?
+ // InternalRDL.g:2647:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? )
+ // InternalRDL.g:2648:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )?
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1());
- // InternalRDL.g:2336:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )?
- int alt25=2;
- int LA25_0 = input.LA(1);
-
- if ( (LA25_0==120) ) {
- alt25=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1());
}
- switch (alt25) {
+ // InternalRDL.g:2649:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )?
+ int alt27=2;
+ int LA27_0 = input.LA(1);
+
+ if ( (LA27_0==120) ) {
+ alt27=1;
+ }
+ switch (alt27) {
case 1 :
- // InternalRDL.g:2336:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1
+ // InternalRDL.g:2649:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1());
+ }
}
@@ -9075,25 +10733,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_1__0"
- // InternalRDL.g:2345:1: rule__PropertyDefinition__Group_3_0_4_1__0 : rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 ;
+ // InternalRDL.g:2658:1: rule__PropertyDefinition__Group_3_0_4_1__0 : rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 ;
public final void rule__PropertyDefinition__Group_3_0_4_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2349:1: ( rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 )
- // InternalRDL.g:2350:2: rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1
+ // InternalRDL.g:2662:1: ( rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 )
+ // InternalRDL.g:2663:2: rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1
{
pushFollow(FOLLOW_12);
rule__PropertyDefinition__Group_3_0_4_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0_4_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9113,31 +10771,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_1__0__Impl"
- // InternalRDL.g:2357:1: rule__PropertyDefinition__Group_3_0_4_1__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) ;
+ // InternalRDL.g:2670:1: rule__PropertyDefinition__Group_3_0_4_1__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) ;
public final void rule__PropertyDefinition__Group_3_0_4_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2361:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) )
- // InternalRDL.g:2362:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) )
+ // InternalRDL.g:2674:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) )
+ // InternalRDL.g:2675:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) )
{
- // InternalRDL.g:2362:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) )
- // InternalRDL.g:2363:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 )
+ // InternalRDL.g:2675:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) )
+ // InternalRDL.g:2676:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0());
- // InternalRDL.g:2364:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 )
- // InternalRDL.g:2364:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0());
+ }
+ // InternalRDL.g:2677:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 )
+ // InternalRDL.g:2677:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0());
+ }
}
@@ -9160,20 +10822,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_1__1"
- // InternalRDL.g:2372:1: rule__PropertyDefinition__Group_3_0_4_1__1 : rule__PropertyDefinition__Group_3_0_4_1__1__Impl ;
+ // InternalRDL.g:2685:1: rule__PropertyDefinition__Group_3_0_4_1__1 : rule__PropertyDefinition__Group_3_0_4_1__1__Impl ;
public final void rule__PropertyDefinition__Group_3_0_4_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2376:1: ( rule__PropertyDefinition__Group_3_0_4_1__1__Impl )
- // InternalRDL.g:2377:2: rule__PropertyDefinition__Group_3_0_4_1__1__Impl
+ // InternalRDL.g:2689:1: ( rule__PropertyDefinition__Group_3_0_4_1__1__Impl )
+ // InternalRDL.g:2690:2: rule__PropertyDefinition__Group_3_0_4_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_0_4_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9193,31 +10855,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_0_4_1__1__Impl"
- // InternalRDL.g:2383:1: rule__PropertyDefinition__Group_3_0_4_1__1__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) ;
+ // InternalRDL.g:2696:1: rule__PropertyDefinition__Group_3_0_4_1__1__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) ;
public final void rule__PropertyDefinition__Group_3_0_4_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2387:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) )
- // InternalRDL.g:2388:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) )
+ // InternalRDL.g:2700:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) )
+ // InternalRDL.g:2701:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) )
{
- // InternalRDL.g:2388:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) )
- // InternalRDL.g:2389:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 )
+ // InternalRDL.g:2701:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) )
+ // InternalRDL.g:2702:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1());
- // InternalRDL.g:2390:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 )
- // InternalRDL.g:2390:3: rule__PropertyDefinition__UsageAssignment_3_0_4_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1());
+ }
+ // InternalRDL.g:2703:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 )
+ // InternalRDL.g:2703:3: rule__PropertyDefinition__UsageAssignment_3_0_4_1_1
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__UsageAssignment_3_0_4_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1());
+ }
}
@@ -9240,25 +10906,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1__0"
- // InternalRDL.g:2399:1: rule__PropertyDefinition__Group_3_1__0 : rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 ;
+ // InternalRDL.g:2712:1: rule__PropertyDefinition__Group_3_1__0 : rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 ;
public final void rule__PropertyDefinition__Group_3_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2403:1: ( rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 )
- // InternalRDL.g:2404:2: rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1
+ // InternalRDL.g:2716:1: ( rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 )
+ // InternalRDL.g:2717:2: rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1
{
- pushFollow(FOLLOW_7);
+ pushFollow(FOLLOW_8);
rule__PropertyDefinition__Group_3_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9278,31 +10944,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1__0__Impl"
- // InternalRDL.g:2411:1: rule__PropertyDefinition__Group_3_1__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) ;
+ // InternalRDL.g:2724:1: rule__PropertyDefinition__Group_3_1__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) ;
public final void rule__PropertyDefinition__Group_3_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2415:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) )
- // InternalRDL.g:2416:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) )
+ // InternalRDL.g:2728:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) )
+ // InternalRDL.g:2729:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) )
{
- // InternalRDL.g:2416:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) )
- // InternalRDL.g:2417:2: ( rule__PropertyDefinition__UsageAssignment_3_1_0 )
+ // InternalRDL.g:2729:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) )
+ // InternalRDL.g:2730:2: ( rule__PropertyDefinition__UsageAssignment_3_1_0 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0());
- // InternalRDL.g:2418:2: ( rule__PropertyDefinition__UsageAssignment_3_1_0 )
- // InternalRDL.g:2418:3: rule__PropertyDefinition__UsageAssignment_3_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0());
+ }
+ // InternalRDL.g:2731:2: ( rule__PropertyDefinition__UsageAssignment_3_1_0 )
+ // InternalRDL.g:2731:3: rule__PropertyDefinition__UsageAssignment_3_1_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__UsageAssignment_3_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0());
+ }
}
@@ -9325,20 +10995,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1__1"
- // InternalRDL.g:2426:1: rule__PropertyDefinition__Group_3_1__1 : rule__PropertyDefinition__Group_3_1__1__Impl ;
+ // InternalRDL.g:2739:1: rule__PropertyDefinition__Group_3_1__1 : rule__PropertyDefinition__Group_3_1__1__Impl ;
public final void rule__PropertyDefinition__Group_3_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2430:1: ( rule__PropertyDefinition__Group_3_1__1__Impl )
- // InternalRDL.g:2431:2: rule__PropertyDefinition__Group_3_1__1__Impl
+ // InternalRDL.g:2743:1: ( rule__PropertyDefinition__Group_3_1__1__Impl )
+ // InternalRDL.g:2744:2: rule__PropertyDefinition__Group_3_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9358,31 +11028,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1__1__Impl"
- // InternalRDL.g:2437:1: rule__PropertyDefinition__Group_3_1__1__Impl : ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) ;
+ // InternalRDL.g:2750:1: rule__PropertyDefinition__Group_3_1__1__Impl : ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) ;
public final void rule__PropertyDefinition__Group_3_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2441:1: ( ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) )
- // InternalRDL.g:2442:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) )
+ // InternalRDL.g:2754:1: ( ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) )
+ // InternalRDL.g:2755:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) )
{
- // InternalRDL.g:2442:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) )
- // InternalRDL.g:2443:2: ( rule__PropertyDefinition__Alternatives_3_1_1 )
+ // InternalRDL.g:2755:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) )
+ // InternalRDL.g:2756:2: ( rule__PropertyDefinition__Alternatives_3_1_1 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1());
- // InternalRDL.g:2444:2: ( rule__PropertyDefinition__Alternatives_3_1_1 )
- // InternalRDL.g:2444:3: rule__PropertyDefinition__Alternatives_3_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1());
+ }
+ // InternalRDL.g:2757:2: ( rule__PropertyDefinition__Alternatives_3_1_1 )
+ // InternalRDL.g:2757:3: rule__PropertyDefinition__Alternatives_3_1_1
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Alternatives_3_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1());
+ }
}
@@ -9405,25 +11079,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__0"
- // InternalRDL.g:2453:1: rule__PropertyDefinition__Group_3_1_1_0__0 : rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 ;
+ // InternalRDL.g:2766:1: rule__PropertyDefinition__Group_3_1_1_0__0 : rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 ;
public final void rule__PropertyDefinition__Group_3_1_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2457:1: ( rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 )
- // InternalRDL.g:2458:2: rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1
+ // InternalRDL.g:2770:1: ( rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 )
+ // InternalRDL.g:2771:2: rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1
{
pushFollow(FOLLOW_10);
rule__PropertyDefinition__Group_3_1_1_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9443,21 +11117,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__0__Impl"
- // InternalRDL.g:2465:1: rule__PropertyDefinition__Group_3_1_1_0__0__Impl : ( 'type' ) ;
+ // InternalRDL.g:2778:1: rule__PropertyDefinition__Group_3_1_1_0__0__Impl : ( 'type' ) ;
public final void rule__PropertyDefinition__Group_3_1_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2469:1: ( ( 'type' ) )
- // InternalRDL.g:2470:1: ( 'type' )
+ // InternalRDL.g:2782:1: ( ( 'type' ) )
+ // InternalRDL.g:2783:1: ( 'type' )
{
- // InternalRDL.g:2470:1: ( 'type' )
- // InternalRDL.g:2471:2: 'type'
+ // InternalRDL.g:2783:1: ( 'type' )
+ // InternalRDL.g:2784:2: 'type'
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0());
- match(input,118,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0());
+ }
+ match(input,118,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0());
+ }
}
@@ -9480,25 +11158,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__1"
- // InternalRDL.g:2480:1: rule__PropertyDefinition__Group_3_1_1_0__1 : rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 ;
+ // InternalRDL.g:2793:1: rule__PropertyDefinition__Group_3_1_1_0__1 : rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 ;
public final void rule__PropertyDefinition__Group_3_1_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2484:1: ( rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 )
- // InternalRDL.g:2485:2: rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2
+ // InternalRDL.g:2797:1: ( rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 )
+ // InternalRDL.g:2798:2: rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2
{
pushFollow(FOLLOW_11);
rule__PropertyDefinition__Group_3_1_1_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9518,21 +11196,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__1__Impl"
- // InternalRDL.g:2492:1: rule__PropertyDefinition__Group_3_1_1_0__1__Impl : ( '=' ) ;
+ // InternalRDL.g:2805:1: rule__PropertyDefinition__Group_3_1_1_0__1__Impl : ( '=' ) ;
public final void rule__PropertyDefinition__Group_3_1_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2496:1: ( ( '=' ) )
- // InternalRDL.g:2497:1: ( '=' )
+ // InternalRDL.g:2809:1: ( ( '=' ) )
+ // InternalRDL.g:2810:1: ( '=' )
{
- // InternalRDL.g:2497:1: ( '=' )
- // InternalRDL.g:2498:2: '='
+ // InternalRDL.g:2810:1: ( '=' )
+ // InternalRDL.g:2811:2: '='
{
- before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1());
+ }
}
@@ -9555,25 +11237,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__2"
- // InternalRDL.g:2507:1: rule__PropertyDefinition__Group_3_1_1_0__2 : rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 ;
+ // InternalRDL.g:2820:1: rule__PropertyDefinition__Group_3_1_1_0__2 : rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 ;
public final void rule__PropertyDefinition__Group_3_1_1_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2511:1: ( rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 )
- // InternalRDL.g:2512:2: rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3
+ // InternalRDL.g:2824:1: ( rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 )
+ // InternalRDL.g:2825:2: rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefinition__Group_3_1_1_0__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_0__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9593,31 +11275,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__2__Impl"
- // InternalRDL.g:2519:1: rule__PropertyDefinition__Group_3_1_1_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) ;
+ // InternalRDL.g:2832:1: rule__PropertyDefinition__Group_3_1_1_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) ;
public final void rule__PropertyDefinition__Group_3_1_1_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2523:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) )
- // InternalRDL.g:2524:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) )
+ // InternalRDL.g:2836:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) )
+ // InternalRDL.g:2837:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) )
{
- // InternalRDL.g:2524:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) )
- // InternalRDL.g:2525:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 )
+ // InternalRDL.g:2837:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) )
+ // InternalRDL.g:2838:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2());
- // InternalRDL.g:2526:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 )
- // InternalRDL.g:2526:3: rule__PropertyDefinition__TypeAssignment_3_1_1_0_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2());
+ }
+ // InternalRDL.g:2839:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 )
+ // InternalRDL.g:2839:3: rule__PropertyDefinition__TypeAssignment_3_1_1_0_2
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__TypeAssignment_3_1_1_0_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2());
+ }
}
@@ -9640,25 +11326,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__3"
- // InternalRDL.g:2534:1: rule__PropertyDefinition__Group_3_1_1_0__3 : rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 ;
+ // InternalRDL.g:2847:1: rule__PropertyDefinition__Group_3_1_1_0__3 : rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 ;
public final void rule__PropertyDefinition__Group_3_1_1_0__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2538:1: ( rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 )
- // InternalRDL.g:2539:2: rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4
+ // InternalRDL.g:2851:1: ( rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 )
+ // InternalRDL.g:2852:2: rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4
{
- pushFollow(FOLLOW_7);
+ pushFollow(FOLLOW_8);
rule__PropertyDefinition__Group_3_1_1_0__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_0__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9678,21 +11364,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__3__Impl"
- // InternalRDL.g:2546:1: rule__PropertyDefinition__Group_3_1_1_0__3__Impl : ( ';' ) ;
+ // InternalRDL.g:2859:1: rule__PropertyDefinition__Group_3_1_1_0__3__Impl : ( ';' ) ;
public final void rule__PropertyDefinition__Group_3_1_1_0__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2550:1: ( ( ';' ) )
- // InternalRDL.g:2551:1: ( ';' )
+ // InternalRDL.g:2863:1: ( ( ';' ) )
+ // InternalRDL.g:2864:1: ( ';' )
{
- // InternalRDL.g:2551:1: ( ';' )
- // InternalRDL.g:2552:2: ';'
+ // InternalRDL.g:2864:1: ( ';' )
+ // InternalRDL.g:2865:2: ';'
{
- before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3());
+ }
}
@@ -9715,20 +11405,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__4"
- // InternalRDL.g:2561:1: rule__PropertyDefinition__Group_3_1_1_0__4 : rule__PropertyDefinition__Group_3_1_1_0__4__Impl ;
+ // InternalRDL.g:2874:1: rule__PropertyDefinition__Group_3_1_1_0__4 : rule__PropertyDefinition__Group_3_1_1_0__4__Impl ;
public final void rule__PropertyDefinition__Group_3_1_1_0__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2565:1: ( rule__PropertyDefinition__Group_3_1_1_0__4__Impl )
- // InternalRDL.g:2566:2: rule__PropertyDefinition__Group_3_1_1_0__4__Impl
+ // InternalRDL.g:2878:1: ( rule__PropertyDefinition__Group_3_1_1_0__4__Impl )
+ // InternalRDL.g:2879:2: rule__PropertyDefinition__Group_3_1_1_0__4__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_0__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9748,42 +11438,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__4__Impl"
- // InternalRDL.g:2572:1: rule__PropertyDefinition__Group_3_1_1_0__4__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) ;
+ // InternalRDL.g:2885:1: rule__PropertyDefinition__Group_3_1_1_0__4__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) ;
public final void rule__PropertyDefinition__Group_3_1_1_0__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2576:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) )
- // InternalRDL.g:2577:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? )
+ // InternalRDL.g:2889:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) )
+ // InternalRDL.g:2890:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? )
{
- // InternalRDL.g:2577:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? )
- // InternalRDL.g:2578:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )?
+ // InternalRDL.g:2890:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? )
+ // InternalRDL.g:2891:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )?
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4());
- // InternalRDL.g:2579:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )?
- int alt26=2;
- int LA26_0 = input.LA(1);
-
- if ( (LA26_0==120) ) {
- alt26=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4());
}
- switch (alt26) {
+ // InternalRDL.g:2892:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )?
+ int alt28=2;
+ int LA28_0 = input.LA(1);
+
+ if ( (LA28_0==120) ) {
+ alt28=1;
+ }
+ switch (alt28) {
case 1 :
- // InternalRDL.g:2579:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4
+ // InternalRDL.g:2892:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4());
+ }
}
@@ -9806,25 +11500,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__0"
- // InternalRDL.g:2588:1: rule__PropertyDefinition__Group_3_1_1_1__0 : rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 ;
+ // InternalRDL.g:2901:1: rule__PropertyDefinition__Group_3_1_1_1__0 : rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 ;
public final void rule__PropertyDefinition__Group_3_1_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2592:1: ( rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 )
- // InternalRDL.g:2593:2: rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1
+ // InternalRDL.g:2905:1: ( rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 )
+ // InternalRDL.g:2906:2: rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1
{
pushFollow(FOLLOW_13);
rule__PropertyDefinition__Group_3_1_1_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9844,31 +11538,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__0__Impl"
- // InternalRDL.g:2600:1: rule__PropertyDefinition__Group_3_1_1_1__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) ;
+ // InternalRDL.g:2913:1: rule__PropertyDefinition__Group_3_1_1_1__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) ;
public final void rule__PropertyDefinition__Group_3_1_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2604:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) )
- // InternalRDL.g:2605:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) )
+ // InternalRDL.g:2917:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) )
+ // InternalRDL.g:2918:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) )
{
- // InternalRDL.g:2605:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) )
- // InternalRDL.g:2606:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 )
+ // InternalRDL.g:2918:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) )
+ // InternalRDL.g:2919:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0());
- // InternalRDL.g:2607:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 )
- // InternalRDL.g:2607:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0());
+ }
+ // InternalRDL.g:2920:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 )
+ // InternalRDL.g:2920:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0());
+ }
}
@@ -9891,25 +11589,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__1"
- // InternalRDL.g:2615:1: rule__PropertyDefinition__Group_3_1_1_1__1 : rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 ;
+ // InternalRDL.g:2928:1: rule__PropertyDefinition__Group_3_1_1_1__1 : rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 ;
public final void rule__PropertyDefinition__Group_3_1_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2619:1: ( rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 )
- // InternalRDL.g:2620:2: rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2
+ // InternalRDL.g:2932:1: ( rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 )
+ // InternalRDL.g:2933:2: rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2
{
pushFollow(FOLLOW_10);
rule__PropertyDefinition__Group_3_1_1_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_1__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -9929,21 +11627,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__1__Impl"
- // InternalRDL.g:2627:1: rule__PropertyDefinition__Group_3_1_1_1__1__Impl : ( 'type' ) ;
+ // InternalRDL.g:2940:1: rule__PropertyDefinition__Group_3_1_1_1__1__Impl : ( 'type' ) ;
public final void rule__PropertyDefinition__Group_3_1_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2631:1: ( ( 'type' ) )
- // InternalRDL.g:2632:1: ( 'type' )
+ // InternalRDL.g:2944:1: ( ( 'type' ) )
+ // InternalRDL.g:2945:1: ( 'type' )
{
- // InternalRDL.g:2632:1: ( 'type' )
- // InternalRDL.g:2633:2: 'type'
+ // InternalRDL.g:2945:1: ( 'type' )
+ // InternalRDL.g:2946:2: 'type'
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1());
- match(input,118,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1());
+ }
+ match(input,118,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1());
+ }
}
@@ -9966,25 +11668,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__2"
- // InternalRDL.g:2642:1: rule__PropertyDefinition__Group_3_1_1_1__2 : rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 ;
+ // InternalRDL.g:2955:1: rule__PropertyDefinition__Group_3_1_1_1__2 : rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 ;
public final void rule__PropertyDefinition__Group_3_1_1_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2646:1: ( rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 )
- // InternalRDL.g:2647:2: rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3
+ // InternalRDL.g:2959:1: ( rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 )
+ // InternalRDL.g:2960:2: rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3
{
pushFollow(FOLLOW_11);
rule__PropertyDefinition__Group_3_1_1_1__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_1__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10004,21 +11706,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__2__Impl"
- // InternalRDL.g:2654:1: rule__PropertyDefinition__Group_3_1_1_1__2__Impl : ( '=' ) ;
+ // InternalRDL.g:2967:1: rule__PropertyDefinition__Group_3_1_1_1__2__Impl : ( '=' ) ;
public final void rule__PropertyDefinition__Group_3_1_1_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2658:1: ( ( '=' ) )
- // InternalRDL.g:2659:1: ( '=' )
+ // InternalRDL.g:2971:1: ( ( '=' ) )
+ // InternalRDL.g:2972:1: ( '=' )
{
- // InternalRDL.g:2659:1: ( '=' )
- // InternalRDL.g:2660:2: '='
+ // InternalRDL.g:2972:1: ( '=' )
+ // InternalRDL.g:2973:2: '='
{
- before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2());
+ }
}
@@ -10041,25 +11747,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__3"
- // InternalRDL.g:2669:1: rule__PropertyDefinition__Group_3_1_1_1__3 : rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 ;
+ // InternalRDL.g:2982:1: rule__PropertyDefinition__Group_3_1_1_1__3 : rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 ;
public final void rule__PropertyDefinition__Group_3_1_1_1__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2673:1: ( rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 )
- // InternalRDL.g:2674:2: rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4
+ // InternalRDL.g:2986:1: ( rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 )
+ // InternalRDL.g:2987:2: rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefinition__Group_3_1_1_1__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_1__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10079,31 +11785,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__3__Impl"
- // InternalRDL.g:2681:1: rule__PropertyDefinition__Group_3_1_1_1__3__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) ;
+ // InternalRDL.g:2994:1: rule__PropertyDefinition__Group_3_1_1_1__3__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) ;
public final void rule__PropertyDefinition__Group_3_1_1_1__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2685:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) )
- // InternalRDL.g:2686:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) )
+ // InternalRDL.g:2998:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) )
+ // InternalRDL.g:2999:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) )
{
- // InternalRDL.g:2686:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) )
- // InternalRDL.g:2687:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 )
+ // InternalRDL.g:2999:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) )
+ // InternalRDL.g:3000:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3());
- // InternalRDL.g:2688:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 )
- // InternalRDL.g:2688:3: rule__PropertyDefinition__TypeAssignment_3_1_1_1_3
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3());
+ }
+ // InternalRDL.g:3001:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 )
+ // InternalRDL.g:3001:3: rule__PropertyDefinition__TypeAssignment_3_1_1_1_3
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__TypeAssignment_3_1_1_1_3();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3());
+ }
}
@@ -10126,20 +11836,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__4"
- // InternalRDL.g:2696:1: rule__PropertyDefinition__Group_3_1_1_1__4 : rule__PropertyDefinition__Group_3_1_1_1__4__Impl ;
+ // InternalRDL.g:3009:1: rule__PropertyDefinition__Group_3_1_1_1__4 : rule__PropertyDefinition__Group_3_1_1_1__4__Impl ;
public final void rule__PropertyDefinition__Group_3_1_1_1__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2700:1: ( rule__PropertyDefinition__Group_3_1_1_1__4__Impl )
- // InternalRDL.g:2701:2: rule__PropertyDefinition__Group_3_1_1_1__4__Impl
+ // InternalRDL.g:3013:1: ( rule__PropertyDefinition__Group_3_1_1_1__4__Impl )
+ // InternalRDL.g:3014:2: rule__PropertyDefinition__Group_3_1_1_1__4__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_1_1_1__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10159,21 +11869,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__4__Impl"
- // InternalRDL.g:2707:1: rule__PropertyDefinition__Group_3_1_1_1__4__Impl : ( ';' ) ;
+ // InternalRDL.g:3020:1: rule__PropertyDefinition__Group_3_1_1_1__4__Impl : ( ';' ) ;
public final void rule__PropertyDefinition__Group_3_1_1_1__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2711:1: ( ( ';' ) )
- // InternalRDL.g:2712:1: ( ';' )
+ // InternalRDL.g:3024:1: ( ( ';' ) )
+ // InternalRDL.g:3025:1: ( ';' )
{
- // InternalRDL.g:2712:1: ( ';' )
- // InternalRDL.g:2713:2: ';'
+ // InternalRDL.g:3025:1: ( ';' )
+ // InternalRDL.g:3026:2: ';'
{
- before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4());
+ }
}
@@ -10196,25 +11910,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2__0"
- // InternalRDL.g:2723:1: rule__PropertyDefinition__Group_3_2__0 : rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 ;
+ // InternalRDL.g:3036:1: rule__PropertyDefinition__Group_3_2__0 : rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 ;
public final void rule__PropertyDefinition__Group_3_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2727:1: ( rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 )
- // InternalRDL.g:2728:2: rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1
+ // InternalRDL.g:3040:1: ( rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 )
+ // InternalRDL.g:3041:2: rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1
{
pushFollow(FOLLOW_14);
rule__PropertyDefinition__Group_3_2__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10234,31 +11948,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2__0__Impl"
- // InternalRDL.g:2735:1: rule__PropertyDefinition__Group_3_2__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) ;
+ // InternalRDL.g:3048:1: rule__PropertyDefinition__Group_3_2__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) ;
public final void rule__PropertyDefinition__Group_3_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2739:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) )
- // InternalRDL.g:2740:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) )
+ // InternalRDL.g:3052:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) )
+ // InternalRDL.g:3053:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) )
{
- // InternalRDL.g:2740:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) )
- // InternalRDL.g:2741:2: ( rule__PropertyDefinition__DefaultAssignment_3_2_0 )
+ // InternalRDL.g:3053:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) )
+ // InternalRDL.g:3054:2: ( rule__PropertyDefinition__DefaultAssignment_3_2_0 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0());
- // InternalRDL.g:2742:2: ( rule__PropertyDefinition__DefaultAssignment_3_2_0 )
- // InternalRDL.g:2742:3: rule__PropertyDefinition__DefaultAssignment_3_2_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0());
+ }
+ // InternalRDL.g:3055:2: ( rule__PropertyDefinition__DefaultAssignment_3_2_0 )
+ // InternalRDL.g:3055:3: rule__PropertyDefinition__DefaultAssignment_3_2_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__DefaultAssignment_3_2_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0());
+ }
}
@@ -10281,20 +11999,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2__1"
- // InternalRDL.g:2750:1: rule__PropertyDefinition__Group_3_2__1 : rule__PropertyDefinition__Group_3_2__1__Impl ;
+ // InternalRDL.g:3063:1: rule__PropertyDefinition__Group_3_2__1 : rule__PropertyDefinition__Group_3_2__1__Impl ;
public final void rule__PropertyDefinition__Group_3_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2754:1: ( rule__PropertyDefinition__Group_3_2__1__Impl )
- // InternalRDL.g:2755:2: rule__PropertyDefinition__Group_3_2__1__Impl
+ // InternalRDL.g:3067:1: ( rule__PropertyDefinition__Group_3_2__1__Impl )
+ // InternalRDL.g:3068:2: rule__PropertyDefinition__Group_3_2__1__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10314,31 +12032,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2__1__Impl"
- // InternalRDL.g:2761:1: rule__PropertyDefinition__Group_3_2__1__Impl : ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) ;
+ // InternalRDL.g:3074:1: rule__PropertyDefinition__Group_3_2__1__Impl : ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) ;
public final void rule__PropertyDefinition__Group_3_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2765:1: ( ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) )
- // InternalRDL.g:2766:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) )
+ // InternalRDL.g:3078:1: ( ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) )
+ // InternalRDL.g:3079:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) )
{
- // InternalRDL.g:2766:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) )
- // InternalRDL.g:2767:2: ( rule__PropertyDefinition__Alternatives_3_2_1 )
+ // InternalRDL.g:3079:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) )
+ // InternalRDL.g:3080:2: ( rule__PropertyDefinition__Alternatives_3_2_1 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1());
- // InternalRDL.g:2768:2: ( rule__PropertyDefinition__Alternatives_3_2_1 )
- // InternalRDL.g:2768:3: rule__PropertyDefinition__Alternatives_3_2_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1());
+ }
+ // InternalRDL.g:3081:2: ( rule__PropertyDefinition__Alternatives_3_2_1 )
+ // InternalRDL.g:3081:3: rule__PropertyDefinition__Alternatives_3_2_1
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Alternatives_3_2_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1());
+ }
}
@@ -10361,25 +12083,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__0"
- // InternalRDL.g:2777:1: rule__PropertyDefinition__Group_3_2_1_0__0 : rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 ;
+ // InternalRDL.g:3090:1: rule__PropertyDefinition__Group_3_2_1_0__0 : rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 ;
public final void rule__PropertyDefinition__Group_3_2_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2781:1: ( rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 )
- // InternalRDL.g:2782:2: rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1
+ // InternalRDL.g:3094:1: ( rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 )
+ // InternalRDL.g:3095:2: rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1
{
pushFollow(FOLLOW_10);
rule__PropertyDefinition__Group_3_2_1_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10399,21 +12121,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__0__Impl"
- // InternalRDL.g:2789:1: rule__PropertyDefinition__Group_3_2_1_0__0__Impl : ( 'type' ) ;
+ // InternalRDL.g:3102:1: rule__PropertyDefinition__Group_3_2_1_0__0__Impl : ( 'type' ) ;
public final void rule__PropertyDefinition__Group_3_2_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2793:1: ( ( 'type' ) )
- // InternalRDL.g:2794:1: ( 'type' )
+ // InternalRDL.g:3106:1: ( ( 'type' ) )
+ // InternalRDL.g:3107:1: ( 'type' )
{
- // InternalRDL.g:2794:1: ( 'type' )
- // InternalRDL.g:2795:2: 'type'
+ // InternalRDL.g:3107:1: ( 'type' )
+ // InternalRDL.g:3108:2: 'type'
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0());
- match(input,118,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0());
+ }
+ match(input,118,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0());
+ }
}
@@ -10436,25 +12162,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__1"
- // InternalRDL.g:2804:1: rule__PropertyDefinition__Group_3_2_1_0__1 : rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 ;
+ // InternalRDL.g:3117:1: rule__PropertyDefinition__Group_3_2_1_0__1 : rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 ;
public final void rule__PropertyDefinition__Group_3_2_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2808:1: ( rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 )
- // InternalRDL.g:2809:2: rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2
+ // InternalRDL.g:3121:1: ( rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 )
+ // InternalRDL.g:3122:2: rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2
{
pushFollow(FOLLOW_11);
rule__PropertyDefinition__Group_3_2_1_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10474,21 +12200,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__1__Impl"
- // InternalRDL.g:2816:1: rule__PropertyDefinition__Group_3_2_1_0__1__Impl : ( '=' ) ;
+ // InternalRDL.g:3129:1: rule__PropertyDefinition__Group_3_2_1_0__1__Impl : ( '=' ) ;
public final void rule__PropertyDefinition__Group_3_2_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2820:1: ( ( '=' ) )
- // InternalRDL.g:2821:1: ( '=' )
+ // InternalRDL.g:3133:1: ( ( '=' ) )
+ // InternalRDL.g:3134:1: ( '=' )
{
- // InternalRDL.g:2821:1: ( '=' )
- // InternalRDL.g:2822:2: '='
+ // InternalRDL.g:3134:1: ( '=' )
+ // InternalRDL.g:3135:2: '='
{
- before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1());
+ }
}
@@ -10511,25 +12241,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__2"
- // InternalRDL.g:2831:1: rule__PropertyDefinition__Group_3_2_1_0__2 : rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 ;
+ // InternalRDL.g:3144:1: rule__PropertyDefinition__Group_3_2_1_0__2 : rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 ;
public final void rule__PropertyDefinition__Group_3_2_1_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2835:1: ( rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 )
- // InternalRDL.g:2836:2: rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3
+ // InternalRDL.g:3148:1: ( rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 )
+ // InternalRDL.g:3149:2: rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefinition__Group_3_2_1_0__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_0__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10549,31 +12279,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__2__Impl"
- // InternalRDL.g:2843:1: rule__PropertyDefinition__Group_3_2_1_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) ;
+ // InternalRDL.g:3156:1: rule__PropertyDefinition__Group_3_2_1_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) ;
public final void rule__PropertyDefinition__Group_3_2_1_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2847:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) )
- // InternalRDL.g:2848:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) )
+ // InternalRDL.g:3160:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) )
+ // InternalRDL.g:3161:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) )
{
- // InternalRDL.g:2848:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) )
- // InternalRDL.g:2849:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 )
+ // InternalRDL.g:3161:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) )
+ // InternalRDL.g:3162:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2());
- // InternalRDL.g:2850:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 )
- // InternalRDL.g:2850:3: rule__PropertyDefinition__TypeAssignment_3_2_1_0_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2());
+ }
+ // InternalRDL.g:3163:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 )
+ // InternalRDL.g:3163:3: rule__PropertyDefinition__TypeAssignment_3_2_1_0_2
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__TypeAssignment_3_2_1_0_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2());
+ }
}
@@ -10596,25 +12330,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__3"
- // InternalRDL.g:2858:1: rule__PropertyDefinition__Group_3_2_1_0__3 : rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 ;
+ // InternalRDL.g:3171:1: rule__PropertyDefinition__Group_3_2_1_0__3 : rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 ;
public final void rule__PropertyDefinition__Group_3_2_1_0__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2862:1: ( rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 )
- // InternalRDL.g:2863:2: rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4
+ // InternalRDL.g:3175:1: ( rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 )
+ // InternalRDL.g:3176:2: rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4
{
pushFollow(FOLLOW_12);
rule__PropertyDefinition__Group_3_2_1_0__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_0__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10634,21 +12368,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__3__Impl"
- // InternalRDL.g:2870:1: rule__PropertyDefinition__Group_3_2_1_0__3__Impl : ( ';' ) ;
+ // InternalRDL.g:3183:1: rule__PropertyDefinition__Group_3_2_1_0__3__Impl : ( ';' ) ;
public final void rule__PropertyDefinition__Group_3_2_1_0__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2874:1: ( ( ';' ) )
- // InternalRDL.g:2875:1: ( ';' )
+ // InternalRDL.g:3187:1: ( ( ';' ) )
+ // InternalRDL.g:3188:1: ( ';' )
{
- // InternalRDL.g:2875:1: ( ';' )
- // InternalRDL.g:2876:2: ';'
+ // InternalRDL.g:3188:1: ( ';' )
+ // InternalRDL.g:3189:2: ';'
{
- before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3());
+ }
}
@@ -10671,20 +12409,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__4"
- // InternalRDL.g:2885:1: rule__PropertyDefinition__Group_3_2_1_0__4 : rule__PropertyDefinition__Group_3_2_1_0__4__Impl ;
+ // InternalRDL.g:3198:1: rule__PropertyDefinition__Group_3_2_1_0__4 : rule__PropertyDefinition__Group_3_2_1_0__4__Impl ;
public final void rule__PropertyDefinition__Group_3_2_1_0__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2889:1: ( rule__PropertyDefinition__Group_3_2_1_0__4__Impl )
- // InternalRDL.g:2890:2: rule__PropertyDefinition__Group_3_2_1_0__4__Impl
+ // InternalRDL.g:3202:1: ( rule__PropertyDefinition__Group_3_2_1_0__4__Impl )
+ // InternalRDL.g:3203:2: rule__PropertyDefinition__Group_3_2_1_0__4__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_0__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10704,31 +12442,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__4__Impl"
- // InternalRDL.g:2896:1: rule__PropertyDefinition__Group_3_2_1_0__4__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) ;
+ // InternalRDL.g:3209:1: rule__PropertyDefinition__Group_3_2_1_0__4__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) ;
public final void rule__PropertyDefinition__Group_3_2_1_0__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2900:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) )
- // InternalRDL.g:2901:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) )
+ // InternalRDL.g:3213:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) )
+ // InternalRDL.g:3214:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) )
{
- // InternalRDL.g:2901:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) )
- // InternalRDL.g:2902:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 )
+ // InternalRDL.g:3214:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) )
+ // InternalRDL.g:3215:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4());
- // InternalRDL.g:2903:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 )
- // InternalRDL.g:2903:3: rule__PropertyDefinition__UsageAssignment_3_2_1_0_4
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4());
+ }
+ // InternalRDL.g:3216:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 )
+ // InternalRDL.g:3216:3: rule__PropertyDefinition__UsageAssignment_3_2_1_0_4
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__UsageAssignment_3_2_1_0_4();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4());
+ }
}
@@ -10751,25 +12493,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__0"
- // InternalRDL.g:2912:1: rule__PropertyDefinition__Group_3_2_1_1__0 : rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 ;
+ // InternalRDL.g:3225:1: rule__PropertyDefinition__Group_3_2_1_1__0 : rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 ;
public final void rule__PropertyDefinition__Group_3_2_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2916:1: ( rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 )
- // InternalRDL.g:2917:2: rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1
+ // InternalRDL.g:3229:1: ( rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 )
+ // InternalRDL.g:3230:2: rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1
{
pushFollow(FOLLOW_13);
rule__PropertyDefinition__Group_3_2_1_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10789,31 +12531,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__0__Impl"
- // InternalRDL.g:2924:1: rule__PropertyDefinition__Group_3_2_1_1__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) ;
+ // InternalRDL.g:3237:1: rule__PropertyDefinition__Group_3_2_1_1__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) ;
public final void rule__PropertyDefinition__Group_3_2_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2928:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) )
- // InternalRDL.g:2929:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) )
+ // InternalRDL.g:3241:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) )
+ // InternalRDL.g:3242:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) )
{
- // InternalRDL.g:2929:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) )
- // InternalRDL.g:2930:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 )
+ // InternalRDL.g:3242:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) )
+ // InternalRDL.g:3243:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0());
- // InternalRDL.g:2931:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 )
- // InternalRDL.g:2931:3: rule__PropertyDefinition__UsageAssignment_3_2_1_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0());
+ }
+ // InternalRDL.g:3244:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 )
+ // InternalRDL.g:3244:3: rule__PropertyDefinition__UsageAssignment_3_2_1_1_0
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__UsageAssignment_3_2_1_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0());
+ }
}
@@ -10836,25 +12582,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__1"
- // InternalRDL.g:2939:1: rule__PropertyDefinition__Group_3_2_1_1__1 : rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 ;
+ // InternalRDL.g:3252:1: rule__PropertyDefinition__Group_3_2_1_1__1 : rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 ;
public final void rule__PropertyDefinition__Group_3_2_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2943:1: ( rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 )
- // InternalRDL.g:2944:2: rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2
+ // InternalRDL.g:3256:1: ( rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 )
+ // InternalRDL.g:3257:2: rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2
{
pushFollow(FOLLOW_10);
rule__PropertyDefinition__Group_3_2_1_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_1__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10874,21 +12620,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__1__Impl"
- // InternalRDL.g:2951:1: rule__PropertyDefinition__Group_3_2_1_1__1__Impl : ( 'type' ) ;
+ // InternalRDL.g:3264:1: rule__PropertyDefinition__Group_3_2_1_1__1__Impl : ( 'type' ) ;
public final void rule__PropertyDefinition__Group_3_2_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2955:1: ( ( 'type' ) )
- // InternalRDL.g:2956:1: ( 'type' )
+ // InternalRDL.g:3268:1: ( ( 'type' ) )
+ // InternalRDL.g:3269:1: ( 'type' )
{
- // InternalRDL.g:2956:1: ( 'type' )
- // InternalRDL.g:2957:2: 'type'
+ // InternalRDL.g:3269:1: ( 'type' )
+ // InternalRDL.g:3270:2: 'type'
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1());
- match(input,118,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1());
+ }
+ match(input,118,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1());
+ }
}
@@ -10911,25 +12661,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__2"
- // InternalRDL.g:2966:1: rule__PropertyDefinition__Group_3_2_1_1__2 : rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 ;
+ // InternalRDL.g:3279:1: rule__PropertyDefinition__Group_3_2_1_1__2 : rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 ;
public final void rule__PropertyDefinition__Group_3_2_1_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2970:1: ( rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 )
- // InternalRDL.g:2971:2: rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3
+ // InternalRDL.g:3283:1: ( rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 )
+ // InternalRDL.g:3284:2: rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3
{
pushFollow(FOLLOW_11);
rule__PropertyDefinition__Group_3_2_1_1__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_1__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -10949,21 +12699,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__2__Impl"
- // InternalRDL.g:2978:1: rule__PropertyDefinition__Group_3_2_1_1__2__Impl : ( '=' ) ;
+ // InternalRDL.g:3291:1: rule__PropertyDefinition__Group_3_2_1_1__2__Impl : ( '=' ) ;
public final void rule__PropertyDefinition__Group_3_2_1_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2982:1: ( ( '=' ) )
- // InternalRDL.g:2983:1: ( '=' )
+ // InternalRDL.g:3295:1: ( ( '=' ) )
+ // InternalRDL.g:3296:1: ( '=' )
{
- // InternalRDL.g:2983:1: ( '=' )
- // InternalRDL.g:2984:2: '='
+ // InternalRDL.g:3296:1: ( '=' )
+ // InternalRDL.g:3297:2: '='
{
- before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2());
+ }
}
@@ -10986,25 +12740,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__3"
- // InternalRDL.g:2993:1: rule__PropertyDefinition__Group_3_2_1_1__3 : rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 ;
+ // InternalRDL.g:3306:1: rule__PropertyDefinition__Group_3_2_1_1__3 : rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 ;
public final void rule__PropertyDefinition__Group_3_2_1_1__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:2997:1: ( rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 )
- // InternalRDL.g:2998:2: rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4
+ // InternalRDL.g:3310:1: ( rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 )
+ // InternalRDL.g:3311:2: rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefinition__Group_3_2_1_1__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_1__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11024,31 +12778,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__3__Impl"
- // InternalRDL.g:3005:1: rule__PropertyDefinition__Group_3_2_1_1__3__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) ;
+ // InternalRDL.g:3318:1: rule__PropertyDefinition__Group_3_2_1_1__3__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) ;
public final void rule__PropertyDefinition__Group_3_2_1_1__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3009:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) )
- // InternalRDL.g:3010:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) )
+ // InternalRDL.g:3322:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) )
+ // InternalRDL.g:3323:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) )
{
- // InternalRDL.g:3010:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) )
- // InternalRDL.g:3011:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 )
+ // InternalRDL.g:3323:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) )
+ // InternalRDL.g:3324:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 )
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3());
- // InternalRDL.g:3012:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 )
- // InternalRDL.g:3012:3: rule__PropertyDefinition__TypeAssignment_3_2_1_1_3
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3());
+ }
+ // InternalRDL.g:3325:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 )
+ // InternalRDL.g:3325:3: rule__PropertyDefinition__TypeAssignment_3_2_1_1_3
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__TypeAssignment_3_2_1_1_3();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3());
+ }
}
@@ -11071,20 +12829,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__4"
- // InternalRDL.g:3020:1: rule__PropertyDefinition__Group_3_2_1_1__4 : rule__PropertyDefinition__Group_3_2_1_1__4__Impl ;
+ // InternalRDL.g:3333:1: rule__PropertyDefinition__Group_3_2_1_1__4 : rule__PropertyDefinition__Group_3_2_1_1__4__Impl ;
public final void rule__PropertyDefinition__Group_3_2_1_1__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3024:1: ( rule__PropertyDefinition__Group_3_2_1_1__4__Impl )
- // InternalRDL.g:3025:2: rule__PropertyDefinition__Group_3_2_1_1__4__Impl
+ // InternalRDL.g:3337:1: ( rule__PropertyDefinition__Group_3_2_1_1__4__Impl )
+ // InternalRDL.g:3338:2: rule__PropertyDefinition__Group_3_2_1_1__4__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefinition__Group_3_2_1_1__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11104,21 +12862,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__4__Impl"
- // InternalRDL.g:3031:1: rule__PropertyDefinition__Group_3_2_1_1__4__Impl : ( ';' ) ;
+ // InternalRDL.g:3344:1: rule__PropertyDefinition__Group_3_2_1_1__4__Impl : ( ';' ) ;
public final void rule__PropertyDefinition__Group_3_2_1_1__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3035:1: ( ( ';' ) )
- // InternalRDL.g:3036:1: ( ';' )
+ // InternalRDL.g:3348:1: ( ( ';' ) )
+ // InternalRDL.g:3349:1: ( ';' )
{
- // InternalRDL.g:3036:1: ( ';' )
- // InternalRDL.g:3037:2: ';'
+ // InternalRDL.g:3349:1: ( ';' )
+ // InternalRDL.g:3350:2: ';'
{
- before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4());
+ }
}
@@ -11141,25 +12903,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__0"
- // InternalRDL.g:3047:1: rule__PropertyDefault__Group__0 : rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 ;
+ // InternalRDL.g:3360:1: rule__PropertyDefault__Group__0 : rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 ;
public final void rule__PropertyDefault__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3051:1: ( rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 )
- // InternalRDL.g:3052:2: rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1
+ // InternalRDL.g:3364:1: ( rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 )
+ // InternalRDL.g:3365:2: rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1
{
pushFollow(FOLLOW_10);
rule__PropertyDefault__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefault__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11179,21 +12941,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__0__Impl"
- // InternalRDL.g:3059:1: rule__PropertyDefault__Group__0__Impl : ( 'default' ) ;
+ // InternalRDL.g:3372:1: rule__PropertyDefault__Group__0__Impl : ( 'default' ) ;
public final void rule__PropertyDefault__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3063:1: ( ( 'default' ) )
- // InternalRDL.g:3064:1: ( 'default' )
+ // InternalRDL.g:3376:1: ( ( 'default' ) )
+ // InternalRDL.g:3377:1: ( 'default' )
{
- // InternalRDL.g:3064:1: ( 'default' )
- // InternalRDL.g:3065:2: 'default'
+ // InternalRDL.g:3377:1: ( 'default' )
+ // InternalRDL.g:3378:2: 'default'
{
- before(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0());
- match(input,120,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0());
+ }
+ match(input,120,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0());
+ }
}
@@ -11216,25 +12982,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__1"
- // InternalRDL.g:3074:1: rule__PropertyDefault__Group__1 : rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 ;
+ // InternalRDL.g:3387:1: rule__PropertyDefault__Group__1 : rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 ;
public final void rule__PropertyDefault__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3078:1: ( rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 )
- // InternalRDL.g:3079:2: rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2
+ // InternalRDL.g:3391:1: ( rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 )
+ // InternalRDL.g:3392:2: rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2
{
pushFollow(FOLLOW_15);
rule__PropertyDefault__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefault__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11254,21 +13020,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__1__Impl"
- // InternalRDL.g:3086:1: rule__PropertyDefault__Group__1__Impl : ( '=' ) ;
+ // InternalRDL.g:3399:1: rule__PropertyDefault__Group__1__Impl : ( '=' ) ;
public final void rule__PropertyDefault__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3090:1: ( ( '=' ) )
- // InternalRDL.g:3091:1: ( '=' )
+ // InternalRDL.g:3403:1: ( ( '=' ) )
+ // InternalRDL.g:3404:1: ( '=' )
{
- // InternalRDL.g:3091:1: ( '=' )
- // InternalRDL.g:3092:2: '='
+ // InternalRDL.g:3404:1: ( '=' )
+ // InternalRDL.g:3405:2: '='
{
- before(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1());
+ }
}
@@ -11291,25 +13061,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__2"
- // InternalRDL.g:3101:1: rule__PropertyDefault__Group__2 : rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 ;
+ // InternalRDL.g:3414:1: rule__PropertyDefault__Group__2 : rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 ;
public final void rule__PropertyDefault__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3105:1: ( rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 )
- // InternalRDL.g:3106:2: rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3
+ // InternalRDL.g:3418:1: ( rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 )
+ // InternalRDL.g:3419:2: rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__PropertyDefault__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyDefault__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11329,31 +13099,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__2__Impl"
- // InternalRDL.g:3113:1: rule__PropertyDefault__Group__2__Impl : ( ( rule__PropertyDefault__Alternatives_2 ) ) ;
+ // InternalRDL.g:3426:1: rule__PropertyDefault__Group__2__Impl : ( ( rule__PropertyDefault__Alternatives_2 ) ) ;
public final void rule__PropertyDefault__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3117:1: ( ( ( rule__PropertyDefault__Alternatives_2 ) ) )
- // InternalRDL.g:3118:1: ( ( rule__PropertyDefault__Alternatives_2 ) )
+ // InternalRDL.g:3430:1: ( ( ( rule__PropertyDefault__Alternatives_2 ) ) )
+ // InternalRDL.g:3431:1: ( ( rule__PropertyDefault__Alternatives_2 ) )
{
- // InternalRDL.g:3118:1: ( ( rule__PropertyDefault__Alternatives_2 ) )
- // InternalRDL.g:3119:2: ( rule__PropertyDefault__Alternatives_2 )
+ // InternalRDL.g:3431:1: ( ( rule__PropertyDefault__Alternatives_2 ) )
+ // InternalRDL.g:3432:2: ( rule__PropertyDefault__Alternatives_2 )
{
- before(grammarAccess.getPropertyDefaultAccess().getAlternatives_2());
- // InternalRDL.g:3120:2: ( rule__PropertyDefault__Alternatives_2 )
- // InternalRDL.g:3120:3: rule__PropertyDefault__Alternatives_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getAlternatives_2());
+ }
+ // InternalRDL.g:3433:2: ( rule__PropertyDefault__Alternatives_2 )
+ // InternalRDL.g:3433:3: rule__PropertyDefault__Alternatives_2
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__Alternatives_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyDefaultAccess().getAlternatives_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getAlternatives_2());
+ }
}
@@ -11376,20 +13150,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__3"
- // InternalRDL.g:3128:1: rule__PropertyDefault__Group__3 : rule__PropertyDefault__Group__3__Impl ;
+ // InternalRDL.g:3441:1: rule__PropertyDefault__Group__3 : rule__PropertyDefault__Group__3__Impl ;
public final void rule__PropertyDefault__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3132:1: ( rule__PropertyDefault__Group__3__Impl )
- // InternalRDL.g:3133:2: rule__PropertyDefault__Group__3__Impl
+ // InternalRDL.g:3445:1: ( rule__PropertyDefault__Group__3__Impl )
+ // InternalRDL.g:3446:2: rule__PropertyDefault__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyDefault__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11409,21 +13183,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__Group__3__Impl"
- // InternalRDL.g:3139:1: rule__PropertyDefault__Group__3__Impl : ( ';' ) ;
+ // InternalRDL.g:3452:1: rule__PropertyDefault__Group__3__Impl : ( ';' ) ;
public final void rule__PropertyDefault__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3143:1: ( ( ';' ) )
- // InternalRDL.g:3144:1: ( ';' )
+ // InternalRDL.g:3456:1: ( ( ';' ) )
+ // InternalRDL.g:3457:1: ( ';' )
{
- // InternalRDL.g:3144:1: ( ';' )
- // InternalRDL.g:3145:2: ';'
+ // InternalRDL.g:3457:1: ( ';' )
+ // InternalRDL.g:3458:2: ';'
{
- before(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3());
+ }
}
@@ -11446,25 +13224,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__0"
- // InternalRDL.g:3155:1: rule__PropertyUsage__Group__0 : rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 ;
+ // InternalRDL.g:3468:1: rule__PropertyUsage__Group__0 : rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 ;
public final void rule__PropertyUsage__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3159:1: ( rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 )
- // InternalRDL.g:3160:2: rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1
+ // InternalRDL.g:3472:1: ( rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 )
+ // InternalRDL.g:3473:2: rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1
{
pushFollow(FOLLOW_10);
rule__PropertyUsage__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11484,21 +13262,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__0__Impl"
- // InternalRDL.g:3167:1: rule__PropertyUsage__Group__0__Impl : ( 'component' ) ;
+ // InternalRDL.g:3480:1: rule__PropertyUsage__Group__0__Impl : ( 'component' ) ;
public final void rule__PropertyUsage__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3171:1: ( ( 'component' ) )
- // InternalRDL.g:3172:1: ( 'component' )
+ // InternalRDL.g:3484:1: ( ( 'component' ) )
+ // InternalRDL.g:3485:1: ( 'component' )
{
- // InternalRDL.g:3172:1: ( 'component' )
- // InternalRDL.g:3173:2: 'component'
+ // InternalRDL.g:3485:1: ( 'component' )
+ // InternalRDL.g:3486:2: 'component'
{
- before(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0());
- match(input,121,FOLLOW_2);
- after(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0());
+ }
+ match(input,121,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0());
+ }
}
@@ -11521,25 +13303,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__1"
- // InternalRDL.g:3182:1: rule__PropertyUsage__Group__1 : rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 ;
+ // InternalRDL.g:3495:1: rule__PropertyUsage__Group__1 : rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 ;
public final void rule__PropertyUsage__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3186:1: ( rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 )
- // InternalRDL.g:3187:2: rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2
+ // InternalRDL.g:3499:1: ( rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 )
+ // InternalRDL.g:3500:2: rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2
{
pushFollow(FOLLOW_16);
rule__PropertyUsage__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11559,21 +13341,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__1__Impl"
- // InternalRDL.g:3194:1: rule__PropertyUsage__Group__1__Impl : ( '=' ) ;
+ // InternalRDL.g:3507:1: rule__PropertyUsage__Group__1__Impl : ( '=' ) ;
public final void rule__PropertyUsage__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3198:1: ( ( '=' ) )
- // InternalRDL.g:3199:1: ( '=' )
+ // InternalRDL.g:3511:1: ( ( '=' ) )
+ // InternalRDL.g:3512:1: ( '=' )
{
- // InternalRDL.g:3199:1: ( '=' )
- // InternalRDL.g:3200:2: '='
+ // InternalRDL.g:3512:1: ( '=' )
+ // InternalRDL.g:3513:2: '='
{
- before(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1());
+ }
}
@@ -11596,25 +13382,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__2"
- // InternalRDL.g:3209:1: rule__PropertyUsage__Group__2 : rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 ;
+ // InternalRDL.g:3522:1: rule__PropertyUsage__Group__2 : rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 ;
public final void rule__PropertyUsage__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3213:1: ( rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 )
- // InternalRDL.g:3214:2: rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3
+ // InternalRDL.g:3526:1: ( rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 )
+ // InternalRDL.g:3527:2: rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3
{
pushFollow(FOLLOW_17);
rule__PropertyUsage__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11634,31 +13420,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__2__Impl"
- // InternalRDL.g:3221:1: rule__PropertyUsage__Group__2__Impl : ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) ;
+ // InternalRDL.g:3534:1: rule__PropertyUsage__Group__2__Impl : ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) ;
public final void rule__PropertyUsage__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3225:1: ( ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) )
- // InternalRDL.g:3226:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) )
+ // InternalRDL.g:3538:1: ( ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) )
+ // InternalRDL.g:3539:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) )
{
- // InternalRDL.g:3226:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) )
- // InternalRDL.g:3227:2: ( rule__PropertyUsage__ComponentsAssignment_2 )
+ // InternalRDL.g:3539:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) )
+ // InternalRDL.g:3540:2: ( rule__PropertyUsage__ComponentsAssignment_2 )
{
- before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2());
- // InternalRDL.g:3228:2: ( rule__PropertyUsage__ComponentsAssignment_2 )
- // InternalRDL.g:3228:3: rule__PropertyUsage__ComponentsAssignment_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2());
+ }
+ // InternalRDL.g:3541:2: ( rule__PropertyUsage__ComponentsAssignment_2 )
+ // InternalRDL.g:3541:3: rule__PropertyUsage__ComponentsAssignment_2
{
pushFollow(FOLLOW_2);
rule__PropertyUsage__ComponentsAssignment_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2());
+ }
}
@@ -11681,25 +13471,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__3"
- // InternalRDL.g:3236:1: rule__PropertyUsage__Group__3 : rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 ;
+ // InternalRDL.g:3549:1: rule__PropertyUsage__Group__3 : rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 ;
public final void rule__PropertyUsage__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3240:1: ( rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 )
- // InternalRDL.g:3241:2: rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4
+ // InternalRDL.g:3553:1: ( rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 )
+ // InternalRDL.g:3554:2: rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4
{
pushFollow(FOLLOW_17);
rule__PropertyUsage__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11719,49 +13509,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__3__Impl"
- // InternalRDL.g:3248:1: rule__PropertyUsage__Group__3__Impl : ( ( rule__PropertyUsage__Group_3__0 )* ) ;
+ // InternalRDL.g:3561:1: rule__PropertyUsage__Group__3__Impl : ( ( rule__PropertyUsage__Group_3__0 )* ) ;
public final void rule__PropertyUsage__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3252:1: ( ( ( rule__PropertyUsage__Group_3__0 )* ) )
- // InternalRDL.g:3253:1: ( ( rule__PropertyUsage__Group_3__0 )* )
+ // InternalRDL.g:3565:1: ( ( ( rule__PropertyUsage__Group_3__0 )* ) )
+ // InternalRDL.g:3566:1: ( ( rule__PropertyUsage__Group_3__0 )* )
{
- // InternalRDL.g:3253:1: ( ( rule__PropertyUsage__Group_3__0 )* )
- // InternalRDL.g:3254:2: ( rule__PropertyUsage__Group_3__0 )*
+ // InternalRDL.g:3566:1: ( ( rule__PropertyUsage__Group_3__0 )* )
+ // InternalRDL.g:3567:2: ( rule__PropertyUsage__Group_3__0 )*
{
- before(grammarAccess.getPropertyUsageAccess().getGroup_3());
- // InternalRDL.g:3255:2: ( rule__PropertyUsage__Group_3__0 )*
- loop27:
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getGroup_3());
+ }
+ // InternalRDL.g:3568:2: ( rule__PropertyUsage__Group_3__0 )*
+ loop29:
do {
- int alt27=2;
- int LA27_0 = input.LA(1);
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA27_0==122) ) {
- alt27=1;
+ if ( (LA29_0==122) ) {
+ alt29=1;
}
- switch (alt27) {
+ switch (alt29) {
case 1 :
- // InternalRDL.g:3255:3: rule__PropertyUsage__Group_3__0
+ // InternalRDL.g:3568:3: rule__PropertyUsage__Group_3__0
{
pushFollow(FOLLOW_18);
rule__PropertyUsage__Group_3__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
default :
- break loop27;
+ break loop29;
}
} while (true);
- after(grammarAccess.getPropertyUsageAccess().getGroup_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getGroup_3());
+ }
}
@@ -11784,20 +13578,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__4"
- // InternalRDL.g:3263:1: rule__PropertyUsage__Group__4 : rule__PropertyUsage__Group__4__Impl ;
+ // InternalRDL.g:3576:1: rule__PropertyUsage__Group__4 : rule__PropertyUsage__Group__4__Impl ;
public final void rule__PropertyUsage__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3267:1: ( rule__PropertyUsage__Group__4__Impl )
- // InternalRDL.g:3268:2: rule__PropertyUsage__Group__4__Impl
+ // InternalRDL.g:3580:1: ( rule__PropertyUsage__Group__4__Impl )
+ // InternalRDL.g:3581:2: rule__PropertyUsage__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11817,21 +13611,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group__4__Impl"
- // InternalRDL.g:3274:1: rule__PropertyUsage__Group__4__Impl : ( ';' ) ;
+ // InternalRDL.g:3587:1: rule__PropertyUsage__Group__4__Impl : ( ';' ) ;
public final void rule__PropertyUsage__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3278:1: ( ( ';' ) )
- // InternalRDL.g:3279:1: ( ';' )
+ // InternalRDL.g:3591:1: ( ( ';' ) )
+ // InternalRDL.g:3592:1: ( ';' )
{
- // InternalRDL.g:3279:1: ( ';' )
- // InternalRDL.g:3280:2: ';'
+ // InternalRDL.g:3592:1: ( ';' )
+ // InternalRDL.g:3593:2: ';'
{
- before(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4());
+ }
}
@@ -11854,25 +13652,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group_3__0"
- // InternalRDL.g:3290:1: rule__PropertyUsage__Group_3__0 : rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 ;
+ // InternalRDL.g:3603:1: rule__PropertyUsage__Group_3__0 : rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 ;
public final void rule__PropertyUsage__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3294:1: ( rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 )
- // InternalRDL.g:3295:2: rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1
+ // InternalRDL.g:3607:1: ( rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 )
+ // InternalRDL.g:3608:2: rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1
{
pushFollow(FOLLOW_16);
rule__PropertyUsage__Group_3__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group_3__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11892,21 +13690,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group_3__0__Impl"
- // InternalRDL.g:3302:1: rule__PropertyUsage__Group_3__0__Impl : ( '|' ) ;
+ // InternalRDL.g:3615:1: rule__PropertyUsage__Group_3__0__Impl : ( '|' ) ;
public final void rule__PropertyUsage__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3306:1: ( ( '|' ) )
- // InternalRDL.g:3307:1: ( '|' )
+ // InternalRDL.g:3619:1: ( ( '|' ) )
+ // InternalRDL.g:3620:1: ( '|' )
{
- // InternalRDL.g:3307:1: ( '|' )
- // InternalRDL.g:3308:2: '|'
+ // InternalRDL.g:3620:1: ( '|' )
+ // InternalRDL.g:3621:2: '|'
{
- before(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0());
- match(input,122,FOLLOW_2);
- after(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0());
+ }
+ match(input,122,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0());
+ }
}
@@ -11929,20 +13731,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group_3__1"
- // InternalRDL.g:3317:1: rule__PropertyUsage__Group_3__1 : rule__PropertyUsage__Group_3__1__Impl ;
+ // InternalRDL.g:3630:1: rule__PropertyUsage__Group_3__1 : rule__PropertyUsage__Group_3__1__Impl ;
public final void rule__PropertyUsage__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3321:1: ( rule__PropertyUsage__Group_3__1__Impl )
- // InternalRDL.g:3322:2: rule__PropertyUsage__Group_3__1__Impl
+ // InternalRDL.g:3634:1: ( rule__PropertyUsage__Group_3__1__Impl )
+ // InternalRDL.g:3635:2: rule__PropertyUsage__Group_3__1__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyUsage__Group_3__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -11962,31 +13764,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__Group_3__1__Impl"
- // InternalRDL.g:3328:1: rule__PropertyUsage__Group_3__1__Impl : ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) ;
+ // InternalRDL.g:3641:1: rule__PropertyUsage__Group_3__1__Impl : ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) ;
public final void rule__PropertyUsage__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3332:1: ( ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) )
- // InternalRDL.g:3333:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) )
+ // InternalRDL.g:3645:1: ( ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) )
+ // InternalRDL.g:3646:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) )
{
- // InternalRDL.g:3333:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) )
- // InternalRDL.g:3334:2: ( rule__PropertyUsage__ComponentsAssignment_3_1 )
+ // InternalRDL.g:3646:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) )
+ // InternalRDL.g:3647:2: ( rule__PropertyUsage__ComponentsAssignment_3_1 )
{
- before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1());
- // InternalRDL.g:3335:2: ( rule__PropertyUsage__ComponentsAssignment_3_1 )
- // InternalRDL.g:3335:3: rule__PropertyUsage__ComponentsAssignment_3_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1());
+ }
+ // InternalRDL.g:3648:2: ( rule__PropertyUsage__ComponentsAssignment_3_1 )
+ // InternalRDL.g:3648:3: rule__PropertyUsage__ComponentsAssignment_3_1
{
pushFollow(FOLLOW_2);
rule__PropertyUsage__ComponentsAssignment_3_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1());
+ }
}
@@ -12009,25 +13815,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__0"
- // InternalRDL.g:3344:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ;
+ // InternalRDL.g:3657:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ;
public final void rule__ComponentDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3348:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 )
- // InternalRDL.g:3349:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1
+ // InternalRDL.g:3661:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 )
+ // InternalRDL.g:3662:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1
{
pushFollow(FOLLOW_19);
rule__ComponentDefinition__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentDefinition__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12047,31 +13853,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__0__Impl"
- // InternalRDL.g:3356:1: rule__ComponentDefinition__Group__0__Impl : ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) ;
+ // InternalRDL.g:3669:1: rule__ComponentDefinition__Group__0__Impl : ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) ;
public final void rule__ComponentDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3360:1: ( ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) )
- // InternalRDL.g:3361:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) )
+ // InternalRDL.g:3673:1: ( ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) )
+ // InternalRDL.g:3674:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) )
{
- // InternalRDL.g:3361:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) )
- // InternalRDL.g:3362:2: ( rule__ComponentDefinition__TypeAssignment_0 )
+ // InternalRDL.g:3674:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) )
+ // InternalRDL.g:3675:2: ( rule__ComponentDefinition__TypeAssignment_0 )
{
- before(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0());
- // InternalRDL.g:3363:2: ( rule__ComponentDefinition__TypeAssignment_0 )
- // InternalRDL.g:3363:3: rule__ComponentDefinition__TypeAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0());
+ }
+ // InternalRDL.g:3676:2: ( rule__ComponentDefinition__TypeAssignment_0 )
+ // InternalRDL.g:3676:3: rule__ComponentDefinition__TypeAssignment_0
{
pushFollow(FOLLOW_2);
rule__ComponentDefinition__TypeAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0());
+ }
}
@@ -12094,25 +13904,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__1"
- // InternalRDL.g:3371:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ;
+ // InternalRDL.g:3684:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ;
public final void rule__ComponentDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3375:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 )
- // InternalRDL.g:3376:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2
+ // InternalRDL.g:3688:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 )
+ // InternalRDL.g:3689:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2
{
pushFollow(FOLLOW_19);
rule__ComponentDefinition__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentDefinition__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12132,42 +13942,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__1__Impl"
- // InternalRDL.g:3383:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 )? ) ;
+ // InternalRDL.g:3696:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 )? ) ;
public final void rule__ComponentDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3387:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 )? ) )
- // InternalRDL.g:3388:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? )
+ // InternalRDL.g:3700:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 )? ) )
+ // InternalRDL.g:3701:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? )
{
- // InternalRDL.g:3388:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? )
- // InternalRDL.g:3389:2: ( rule__ComponentDefinition__NameAssignment_1 )?
+ // InternalRDL.g:3701:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? )
+ // InternalRDL.g:3702:2: ( rule__ComponentDefinition__NameAssignment_1 )?
{
- before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1());
- // InternalRDL.g:3390:2: ( rule__ComponentDefinition__NameAssignment_1 )?
- int alt28=2;
- int LA28_0 = input.LA(1);
-
- if ( (LA28_0==RULE_ID) ) {
- alt28=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1());
}
- switch (alt28) {
+ // InternalRDL.g:3703:2: ( rule__ComponentDefinition__NameAssignment_1 )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
+
+ if ( (LA30_0==RULE_ID) ) {
+ alt30=1;
+ }
+ switch (alt30) {
case 1 :
- // InternalRDL.g:3390:3: rule__ComponentDefinition__NameAssignment_1
+ // InternalRDL.g:3703:3: rule__ComponentDefinition__NameAssignment_1
{
pushFollow(FOLLOW_2);
rule__ComponentDefinition__NameAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1());
+ }
}
@@ -12190,25 +14004,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__2"
- // InternalRDL.g:3398:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ;
+ // InternalRDL.g:3711:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ;
public final void rule__ComponentDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3402:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 )
- // InternalRDL.g:3403:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3
+ // InternalRDL.g:3715:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 )
+ // InternalRDL.g:3716:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3
{
pushFollow(FOLLOW_20);
rule__ComponentDefinition__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentDefinition__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12228,21 +14042,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__2__Impl"
- // InternalRDL.g:3410:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ;
+ // InternalRDL.g:3723:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ;
public final void rule__ComponentDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3414:1: ( ( '{' ) )
- // InternalRDL.g:3415:1: ( '{' )
+ // InternalRDL.g:3727:1: ( ( '{' ) )
+ // InternalRDL.g:3728:1: ( '{' )
{
- // InternalRDL.g:3415:1: ( '{' )
- // InternalRDL.g:3416:2: '{'
+ // InternalRDL.g:3728:1: ( '{' )
+ // InternalRDL.g:3729:2: '{'
{
- before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
- match(input,115,FOLLOW_2);
- after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
+ }
+ match(input,116,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
+ }
}
@@ -12265,25 +14083,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__3"
- // InternalRDL.g:3425:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ;
+ // InternalRDL.g:3738:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ;
public final void rule__ComponentDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3429:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 )
- // InternalRDL.g:3430:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4
+ // InternalRDL.g:3742:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 )
+ // InternalRDL.g:3743:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4
{
pushFollow(FOLLOW_20);
rule__ComponentDefinition__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentDefinition__Group__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12303,49 +14121,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__3__Impl"
- // InternalRDL.g:3437:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__Alternatives_3 )* ) ;
+ // InternalRDL.g:3750:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__Alternatives_3 )* ) ;
public final void rule__ComponentDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3441:1: ( ( ( rule__ComponentDefinition__Alternatives_3 )* ) )
- // InternalRDL.g:3442:1: ( ( rule__ComponentDefinition__Alternatives_3 )* )
+ // InternalRDL.g:3754:1: ( ( ( rule__ComponentDefinition__Alternatives_3 )* ) )
+ // InternalRDL.g:3755:1: ( ( rule__ComponentDefinition__Alternatives_3 )* )
{
- // InternalRDL.g:3442:1: ( ( rule__ComponentDefinition__Alternatives_3 )* )
- // InternalRDL.g:3443:2: ( rule__ComponentDefinition__Alternatives_3 )*
+ // InternalRDL.g:3755:1: ( ( rule__ComponentDefinition__Alternatives_3 )* )
+ // InternalRDL.g:3756:2: ( rule__ComponentDefinition__Alternatives_3 )*
{
- before(grammarAccess.getComponentDefinitionAccess().getAlternatives_3());
- // InternalRDL.g:3444:2: ( rule__ComponentDefinition__Alternatives_3 )*
- loop29:
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getAlternatives_3());
+ }
+ // InternalRDL.g:3757:2: ( rule__ComponentDefinition__Alternatives_3 )*
+ loop31:
do {
- int alt29=2;
- int LA29_0 = input.LA(1);
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA29_0==RULE_ID||(LA29_0>=15 && LA29_0<=18)||LA29_0==20||(LA29_0>=22 && LA29_0<=97)||(LA29_0>=108 && LA29_0<=112)||LA29_0==120||LA29_0==123||(LA29_0>=133 && LA29_0<=134)) ) {
- alt29=1;
+ if ( (LA31_0==RULE_ID||(LA31_0>=15 && LA31_0<=18)||LA31_0==20||(LA31_0>=22 && LA31_0<=97)||(LA31_0>=108 && LA31_0<=112)||LA31_0==120||LA31_0==123||(LA31_0>=133 && LA31_0<=134)) ) {
+ alt31=1;
}
- switch (alt29) {
+ switch (alt31) {
case 1 :
- // InternalRDL.g:3444:3: rule__ComponentDefinition__Alternatives_3
+ // InternalRDL.g:3757:3: rule__ComponentDefinition__Alternatives_3
{
pushFollow(FOLLOW_21);
rule__ComponentDefinition__Alternatives_3();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
default :
- break loop29;
+ break loop31;
}
} while (true);
- after(grammarAccess.getComponentDefinitionAccess().getAlternatives_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getAlternatives_3());
+ }
}
@@ -12368,25 +14190,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__4"
- // InternalRDL.g:3452:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ;
+ // InternalRDL.g:3765:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl ;
public final void rule__ComponentDefinition__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3456:1: ( rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 )
- // InternalRDL.g:3457:2: rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5
+ // InternalRDL.g:3769:1: ( rule__ComponentDefinition__Group__4__Impl )
+ // InternalRDL.g:3770:2: rule__ComponentDefinition__Group__4__Impl
{
- pushFollow(FOLLOW_22);
+ pushFollow(FOLLOW_2);
rule__ComponentDefinition__Group__4__Impl();
state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__ComponentDefinition__Group__5();
-
- state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12406,21 +14223,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__Group__4__Impl"
- // InternalRDL.g:3464:1: rule__ComponentDefinition__Group__4__Impl : ( '}' ) ;
+ // InternalRDL.g:3776:1: rule__ComponentDefinition__Group__4__Impl : ( '}' ) ;
public final void rule__ComponentDefinition__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3468:1: ( ( '}' ) )
- // InternalRDL.g:3469:1: ( '}' )
+ // InternalRDL.g:3780:1: ( ( '}' ) )
+ // InternalRDL.g:3781:1: ( '}' )
{
- // InternalRDL.g:3469:1: ( '}' )
- // InternalRDL.g:3470:2: '}'
+ // InternalRDL.g:3781:1: ( '}' )
+ // InternalRDL.g:3782:2: '}'
{
- before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
- match(input,116,FOLLOW_2);
- after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
+ }
+ match(input,117,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
+ }
}
@@ -12442,26 +14263,767 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__ComponentDefinition__Group__4__Impl"
- // $ANTLR start "rule__ComponentDefinition__Group__5"
- // InternalRDL.g:3479:1: rule__ComponentDefinition__Group__5 : rule__ComponentDefinition__Group__5__Impl rule__ComponentDefinition__Group__6 ;
- public final void rule__ComponentDefinition__Group__5() throws RecognitionException {
+ // $ANTLR start "rule__ComponentDefinition__Group_3_0__0"
+ // InternalRDL.g:3792:1: rule__ComponentDefinition__Group_3_0__0 : rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ;
+ public final void rule__ComponentDefinition__Group_3_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3483:1: ( rule__ComponentDefinition__Group__5__Impl rule__ComponentDefinition__Group__6 )
- // InternalRDL.g:3484:2: rule__ComponentDefinition__Group__5__Impl rule__ComponentDefinition__Group__6
+ // InternalRDL.g:3796:1: ( rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 )
+ // InternalRDL.g:3797:2: rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__ComponentDefinition__Group_3_0__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_0__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_0__0"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_0__0__Impl"
+ // InternalRDL.g:3804:1: rule__ComponentDefinition__Group_3_0__0__Impl : ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) ) ;
+ public final void rule__ComponentDefinition__Group_3_0__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3808:1: ( ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) ) )
+ // InternalRDL.g:3809:1: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) )
+ {
+ // InternalRDL.g:3809:1: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) )
+ // InternalRDL.g:3810:2: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0());
+ }
+ // InternalRDL.g:3811:2: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 )
+ // InternalRDL.g:3811:3: rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_0__0__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_0__1"
+ // InternalRDL.g:3819:1: rule__ComponentDefinition__Group_3_0__1 : rule__ComponentDefinition__Group_3_0__1__Impl ;
+ public final void rule__ComponentDefinition__Group_3_0__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3823:1: ( rule__ComponentDefinition__Group_3_0__1__Impl )
+ // InternalRDL.g:3824:2: rule__ComponentDefinition__Group_3_0__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_0__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_0__1"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_0__1__Impl"
+ // InternalRDL.g:3830:1: rule__ComponentDefinition__Group_3_0__1__Impl : ( ';' ) ;
+ public final void rule__ComponentDefinition__Group_3_0__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3834:1: ( ( ';' ) )
+ // InternalRDL.g:3835:1: ( ';' )
+ {
+ // InternalRDL.g:3835:1: ( ';' )
+ // InternalRDL.g:3836:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_0__1__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_1__0"
+ // InternalRDL.g:3846:1: rule__ComponentDefinition__Group_3_1__0 : rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ;
+ public final void rule__ComponentDefinition__Group_3_1__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3850:1: ( rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 )
+ // InternalRDL.g:3851:2: rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__ComponentDefinition__Group_3_1__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_1__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_1__0"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_1__0__Impl"
+ // InternalRDL.g:3858:1: rule__ComponentDefinition__Group_3_1__0__Impl : ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) ) ;
+ public final void rule__ComponentDefinition__Group_3_1__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3862:1: ( ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) ) )
+ // InternalRDL.g:3863:1: ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) )
+ {
+ // InternalRDL.g:3863:1: ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) )
+ // InternalRDL.g:3864:2: ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0());
+ }
+ // InternalRDL.g:3865:2: ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 )
+ // InternalRDL.g:3865:3: rule__ComponentDefinition__InstantiationsAssignment_3_1_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__InstantiationsAssignment_3_1_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_1__0__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_1__1"
+ // InternalRDL.g:3873:1: rule__ComponentDefinition__Group_3_1__1 : rule__ComponentDefinition__Group_3_1__1__Impl ;
+ public final void rule__ComponentDefinition__Group_3_1__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3877:1: ( rule__ComponentDefinition__Group_3_1__1__Impl )
+ // InternalRDL.g:3878:2: rule__ComponentDefinition__Group_3_1__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_1__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_1__1"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_1__1__Impl"
+ // InternalRDL.g:3884:1: rule__ComponentDefinition__Group_3_1__1__Impl : ( ';' ) ;
+ public final void rule__ComponentDefinition__Group_3_1__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3888:1: ( ( ';' ) )
+ // InternalRDL.g:3889:1: ( ';' )
+ {
+ // InternalRDL.g:3889:1: ( ';' )
+ // InternalRDL.g:3890:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_1__1__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_2__0"
+ // InternalRDL.g:3900:1: rule__ComponentDefinition__Group_3_2__0 : rule__ComponentDefinition__Group_3_2__0__Impl rule__ComponentDefinition__Group_3_2__1 ;
+ public final void rule__ComponentDefinition__Group_3_2__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3904:1: ( rule__ComponentDefinition__Group_3_2__0__Impl rule__ComponentDefinition__Group_3_2__1 )
+ // InternalRDL.g:3905:2: rule__ComponentDefinition__Group_3_2__0__Impl rule__ComponentDefinition__Group_3_2__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__ComponentDefinition__Group_3_2__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_2__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_2__0"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_2__0__Impl"
+ // InternalRDL.g:3912:1: rule__ComponentDefinition__Group_3_2__0__Impl : ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) ) ;
+ public final void rule__ComponentDefinition__Group_3_2__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3916:1: ( ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) ) )
+ // InternalRDL.g:3917:1: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) )
+ {
+ // InternalRDL.g:3917:1: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) )
+ // InternalRDL.g:3918:2: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0());
+ }
+ // InternalRDL.g:3919:2: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 )
+ // InternalRDL.g:3919:3: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_2__0__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_2__1"
+ // InternalRDL.g:3927:1: rule__ComponentDefinition__Group_3_2__1 : rule__ComponentDefinition__Group_3_2__1__Impl ;
+ public final void rule__ComponentDefinition__Group_3_2__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3931:1: ( rule__ComponentDefinition__Group_3_2__1__Impl )
+ // InternalRDL.g:3932:2: rule__ComponentDefinition__Group_3_2__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_2__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_2__1"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_2__1__Impl"
+ // InternalRDL.g:3938:1: rule__ComponentDefinition__Group_3_2__1__Impl : ( ';' ) ;
+ public final void rule__ComponentDefinition__Group_3_2__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3942:1: ( ( ';' ) )
+ // InternalRDL.g:3943:1: ( ';' )
+ {
+ // InternalRDL.g:3943:1: ( ';' )
+ // InternalRDL.g:3944:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_2__1__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_3__0"
+ // InternalRDL.g:3954:1: rule__ComponentDefinition__Group_3_3__0 : rule__ComponentDefinition__Group_3_3__0__Impl rule__ComponentDefinition__Group_3_3__1 ;
+ public final void rule__ComponentDefinition__Group_3_3__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3958:1: ( rule__ComponentDefinition__Group_3_3__0__Impl rule__ComponentDefinition__Group_3_3__1 )
+ // InternalRDL.g:3959:2: rule__ComponentDefinition__Group_3_3__0__Impl rule__ComponentDefinition__Group_3_3__1
+ {
+ pushFollow(FOLLOW_4);
+ rule__ComponentDefinition__Group_3_3__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_3__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_3__0"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_3__0__Impl"
+ // InternalRDL.g:3966:1: rule__ComponentDefinition__Group_3_3__0__Impl : ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) ) ;
+ public final void rule__ComponentDefinition__Group_3_3__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3970:1: ( ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) ) )
+ // InternalRDL.g:3971:1: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) )
+ {
+ // InternalRDL.g:3971:1: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) )
+ // InternalRDL.g:3972:2: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0());
+ }
+ // InternalRDL.g:3973:2: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 )
+ // InternalRDL.g:3973:3: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_3__0__Impl"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_3__1"
+ // InternalRDL.g:3981:1: rule__ComponentDefinition__Group_3_3__1 : rule__ComponentDefinition__Group_3_3__1__Impl ;
+ public final void rule__ComponentDefinition__Group_3_3__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3985:1: ( rule__ComponentDefinition__Group_3_3__1__Impl )
+ // InternalRDL.g:3986:2: rule__ComponentDefinition__Group_3_3__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_3__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_3__1"
+
+
+ // $ANTLR start "rule__ComponentDefinition__Group_3_3__1__Impl"
+ // InternalRDL.g:3992:1: rule__ComponentDefinition__Group_3_3__1__Impl : ( ';' ) ;
+ public final void rule__ComponentDefinition__Group_3_3__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:3996:1: ( ( ';' ) )
+ // InternalRDL.g:3997:1: ( ';' )
+ {
+ // InternalRDL.g:3997:1: ( ';' )
+ // InternalRDL.g:3998:2: ';'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__ComponentDefinition__Group_3_3__1__Impl"
+
+
+ // $ANTLR start "rule__Instantiation__Group__0"
+ // InternalRDL.g:4008:1: rule__Instantiation__Group__0 : rule__Instantiation__Group__0__Impl rule__Instantiation__Group__1 ;
+ public final void rule__Instantiation__Group__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4012:1: ( rule__Instantiation__Group__0__Impl rule__Instantiation__Group__1 )
+ // InternalRDL.g:4013:2: rule__Instantiation__Group__0__Impl rule__Instantiation__Group__1
+ {
+ pushFollow(FOLLOW_6);
+ rule__Instantiation__Group__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Group__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group__0"
+
+
+ // $ANTLR start "rule__Instantiation__Group__0__Impl"
+ // InternalRDL.g:4020:1: rule__Instantiation__Group__0__Impl : ( ( rule__Instantiation__Alternatives_0 ) ) ;
+ public final void rule__Instantiation__Group__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4024:1: ( ( ( rule__Instantiation__Alternatives_0 ) ) )
+ // InternalRDL.g:4025:1: ( ( rule__Instantiation__Alternatives_0 ) )
+ {
+ // InternalRDL.g:4025:1: ( ( rule__Instantiation__Alternatives_0 ) )
+ // InternalRDL.g:4026:2: ( rule__Instantiation__Alternatives_0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getAlternatives_0());
+ }
+ // InternalRDL.g:4027:2: ( rule__Instantiation__Alternatives_0 )
+ // InternalRDL.g:4027:3: rule__Instantiation__Alternatives_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Alternatives_0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getAlternatives_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group__0__Impl"
+
+
+ // $ANTLR start "rule__Instantiation__Group__1"
+ // InternalRDL.g:4035:1: rule__Instantiation__Group__1 : rule__Instantiation__Group__1__Impl rule__Instantiation__Group__2 ;
+ public final void rule__Instantiation__Group__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4039:1: ( rule__Instantiation__Group__1__Impl rule__Instantiation__Group__2 )
+ // InternalRDL.g:4040:2: rule__Instantiation__Group__1__Impl rule__Instantiation__Group__2
{
pushFollow(FOLLOW_22);
- rule__ComponentDefinition__Group__5__Impl();
+ rule__Instantiation__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
- rule__ComponentDefinition__Group__6();
+ rule__Instantiation__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12477,116 +15039,39 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__Group__5"
+ // $ANTLR end "rule__Instantiation__Group__1"
- // $ANTLR start "rule__ComponentDefinition__Group__5__Impl"
- // InternalRDL.g:3491:1: rule__ComponentDefinition__Group__5__Impl : ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? ) ;
- public final void rule__ComponentDefinition__Group__5__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group__1__Impl"
+ // InternalRDL.g:4047:1: rule__Instantiation__Group__1__Impl : ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) ) ;
+ public final void rule__Instantiation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3495:1: ( ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? ) )
- // InternalRDL.g:3496:1: ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? )
+ // InternalRDL.g:4051:1: ( ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) ) )
+ // InternalRDL.g:4052:1: ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) )
{
- // InternalRDL.g:3496:1: ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? )
- // InternalRDL.g:3497:2: ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )?
+ // InternalRDL.g:4052:1: ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) )
+ // InternalRDL.g:4053:2: ( rule__Instantiation__ComponentInstancesAssignment_1 )
{
- before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5());
- // InternalRDL.g:3498:2: ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )?
- int alt30=2;
- int LA30_0 = input.LA(1);
-
- if ( (LA30_0==RULE_ID||LA30_0==134) ) {
- alt30=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1());
}
- switch (alt30) {
- case 1 :
- // InternalRDL.g:3498:3: rule__ComponentDefinition__ImmediateInstantiationAssignment_5
- {
- pushFollow(FOLLOW_2);
- rule__ComponentDefinition__ImmediateInstantiationAssignment_5();
-
- state._fsp--;
-
-
- }
- break;
-
- }
-
- after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ComponentDefinition__Group__5__Impl"
-
-
- // $ANTLR start "rule__ComponentDefinition__Group__6"
- // InternalRDL.g:3506:1: rule__ComponentDefinition__Group__6 : rule__ComponentDefinition__Group__6__Impl ;
- public final void rule__ComponentDefinition__Group__6() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3510:1: ( rule__ComponentDefinition__Group__6__Impl )
- // InternalRDL.g:3511:2: rule__ComponentDefinition__Group__6__Impl
+ // InternalRDL.g:4054:2: ( rule__Instantiation__ComponentInstancesAssignment_1 )
+ // InternalRDL.g:4054:3: rule__Instantiation__ComponentInstancesAssignment_1
{
pushFollow(FOLLOW_2);
- rule__ComponentDefinition__Group__6__Impl();
+ rule__Instantiation__ComponentInstancesAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ComponentDefinition__Group__6"
-
-
- // $ANTLR start "rule__ComponentDefinition__Group__6__Impl"
- // InternalRDL.g:3517:1: rule__ComponentDefinition__Group__6__Impl : ( ';' ) ;
- public final void rule__ComponentDefinition__Group__6__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3521:1: ( ( ';' ) )
- // InternalRDL.g:3522:1: ( ';' )
- {
- // InternalRDL.g:3522:1: ( ';' )
- // InternalRDL.g:3523:2: ';'
- {
- before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1());
+ }
}
@@ -12605,29 +15090,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__Group__6__Impl"
+ // $ANTLR end "rule__Instantiation__Group__1__Impl"
- // $ANTLR start "rule__NamedInstantiation__Group__0"
- // InternalRDL.g:3533:1: rule__NamedInstantiation__Group__0 : rule__NamedInstantiation__Group__0__Impl rule__NamedInstantiation__Group__1 ;
- public final void rule__NamedInstantiation__Group__0() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group__2"
+ // InternalRDL.g:4062:1: rule__Instantiation__Group__2 : rule__Instantiation__Group__2__Impl ;
+ public final void rule__Instantiation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3537:1: ( rule__NamedInstantiation__Group__0__Impl rule__NamedInstantiation__Group__1 )
- // InternalRDL.g:3538:2: rule__NamedInstantiation__Group__0__Impl rule__NamedInstantiation__Group__1
+ // InternalRDL.g:4066:1: ( rule__Instantiation__Group__2__Impl )
+ // InternalRDL.g:4067:2: rule__Instantiation__Group__2__Impl
{
- pushFollow(FOLLOW_23);
- rule__NamedInstantiation__Group__0__Impl();
-
- state._fsp--;
-
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__1();
+ rule__Instantiation__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12643,47 +15123,58 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__0"
+ // $ANTLR end "rule__Instantiation__Group__2"
- // $ANTLR start "rule__NamedInstantiation__Group__0__Impl"
- // InternalRDL.g:3545:1: rule__NamedInstantiation__Group__0__Impl : ( ( rule__NamedInstantiation__ExternalAssignment_0 )? ) ;
- public final void rule__NamedInstantiation__Group__0__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group__2__Impl"
+ // InternalRDL.g:4073:1: rule__Instantiation__Group__2__Impl : ( ( rule__Instantiation__Group_2__0 )* ) ;
+ public final void rule__Instantiation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3549:1: ( ( ( rule__NamedInstantiation__ExternalAssignment_0 )? ) )
- // InternalRDL.g:3550:1: ( ( rule__NamedInstantiation__ExternalAssignment_0 )? )
+ // InternalRDL.g:4077:1: ( ( ( rule__Instantiation__Group_2__0 )* ) )
+ // InternalRDL.g:4078:1: ( ( rule__Instantiation__Group_2__0 )* )
{
- // InternalRDL.g:3550:1: ( ( rule__NamedInstantiation__ExternalAssignment_0 )? )
- // InternalRDL.g:3551:2: ( rule__NamedInstantiation__ExternalAssignment_0 )?
+ // InternalRDL.g:4078:1: ( ( rule__Instantiation__Group_2__0 )* )
+ // InternalRDL.g:4079:2: ( rule__Instantiation__Group_2__0 )*
{
- before(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0());
- // InternalRDL.g:3552:2: ( rule__NamedInstantiation__ExternalAssignment_0 )?
- int alt31=2;
- int LA31_0 = input.LA(1);
-
- if ( (LA31_0==134) ) {
- alt31=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getGroup_2());
}
- switch (alt31) {
- case 1 :
- // InternalRDL.g:3552:3: rule__NamedInstantiation__ExternalAssignment_0
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__ExternalAssignment_0();
+ // InternalRDL.g:4080:2: ( rule__Instantiation__Group_2__0 )*
+ loop32:
+ do {
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- state._fsp--;
+ if ( (LA32_0==124) ) {
+ alt32=1;
+ }
- }
- break;
+ switch (alt32) {
+ case 1 :
+ // InternalRDL.g:4080:3: rule__Instantiation__Group_2__0
+ {
+ pushFollow(FOLLOW_23);
+ rule__Instantiation__Group_2__0();
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+ break;
+
+ default :
+ break loop32;
+ }
+ } while (true);
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getGroup_2());
}
- after(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0());
-
}
@@ -12701,29 +15192,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__0__Impl"
+ // $ANTLR end "rule__Instantiation__Group__2__Impl"
- // $ANTLR start "rule__NamedInstantiation__Group__1"
- // InternalRDL.g:3560:1: rule__NamedInstantiation__Group__1 : rule__NamedInstantiation__Group__1__Impl rule__NamedInstantiation__Group__2 ;
- public final void rule__NamedInstantiation__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_0__0"
+ // InternalRDL.g:4089:1: rule__Instantiation__Group_0_0__0 : rule__Instantiation__Group_0_0__0__Impl rule__Instantiation__Group_0_0__1 ;
+ public final void rule__Instantiation__Group_0_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3564:1: ( rule__NamedInstantiation__Group__1__Impl rule__NamedInstantiation__Group__2 )
- // InternalRDL.g:3565:2: rule__NamedInstantiation__Group__1__Impl rule__NamedInstantiation__Group__2
+ // InternalRDL.g:4093:1: ( rule__Instantiation__Group_0_0__0__Impl rule__Instantiation__Group_0_0__1 )
+ // InternalRDL.g:4094:2: rule__Instantiation__Group_0_0__0__Impl rule__Instantiation__Group_0_0__1
{
- pushFollow(FOLLOW_23);
- rule__NamedInstantiation__Group__1__Impl();
+ pushFollow(FOLLOW_24);
+ rule__Instantiation__Group_0_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__2();
+ rule__Instantiation__Group_0_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12739,142 +15230,50 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__1"
+ // $ANTLR end "rule__Instantiation__Group_0_0__0"
- // $ANTLR start "rule__NamedInstantiation__Group__1__Impl"
- // InternalRDL.g:3572:1: rule__NamedInstantiation__Group__1__Impl : ( ( rule__NamedInstantiation__InternalAssignment_1 )? ) ;
- public final void rule__NamedInstantiation__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_0__0__Impl"
+ // InternalRDL.g:4101:1: rule__Instantiation__Group_0_0__0__Impl : ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? ) ;
+ public final void rule__Instantiation__Group_0_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3576:1: ( ( ( rule__NamedInstantiation__InternalAssignment_1 )? ) )
- // InternalRDL.g:3577:1: ( ( rule__NamedInstantiation__InternalAssignment_1 )? )
+ // InternalRDL.g:4105:1: ( ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? ) )
+ // InternalRDL.g:4106:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? )
{
- // InternalRDL.g:3577:1: ( ( rule__NamedInstantiation__InternalAssignment_1 )? )
- // InternalRDL.g:3578:2: ( rule__NamedInstantiation__InternalAssignment_1 )?
+ // InternalRDL.g:4106:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? )
+ // InternalRDL.g:4107:2: ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )?
{
- before(grammarAccess.getNamedInstantiationAccess().getInternalAssignment_1());
- // InternalRDL.g:3579:2: ( rule__NamedInstantiation__InternalAssignment_1 )?
- int alt32=2;
- int LA32_0 = input.LA(1);
-
- if ( (LA32_0==76) ) {
- alt32=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0());
}
- switch (alt32) {
- case 1 :
- // InternalRDL.g:3579:3: rule__NamedInstantiation__InternalAssignment_1
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__InternalAssignment_1();
-
- state._fsp--;
-
-
- }
- break;
-
- }
-
- after(grammarAccess.getNamedInstantiationAccess().getInternalAssignment_1());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group__1__Impl"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group__2"
- // InternalRDL.g:3587:1: rule__NamedInstantiation__Group__2 : rule__NamedInstantiation__Group__2__Impl rule__NamedInstantiation__Group__3 ;
- public final void rule__NamedInstantiation__Group__2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3591:1: ( rule__NamedInstantiation__Group__2__Impl rule__NamedInstantiation__Group__3 )
- // InternalRDL.g:3592:2: rule__NamedInstantiation__Group__2__Impl rule__NamedInstantiation__Group__3
- {
- pushFollow(FOLLOW_23);
- rule__NamedInstantiation__Group__2__Impl();
-
- state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__3();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group__2"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group__2__Impl"
- // InternalRDL.g:3599:1: rule__NamedInstantiation__Group__2__Impl : ( ( rule__NamedInstantiation__Group_2__0 )? ) ;
- public final void rule__NamedInstantiation__Group__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3603:1: ( ( ( rule__NamedInstantiation__Group_2__0 )? ) )
- // InternalRDL.g:3604:1: ( ( rule__NamedInstantiation__Group_2__0 )? )
- {
- // InternalRDL.g:3604:1: ( ( rule__NamedInstantiation__Group_2__0 )? )
- // InternalRDL.g:3605:2: ( rule__NamedInstantiation__Group_2__0 )?
- {
- before(grammarAccess.getNamedInstantiationAccess().getGroup_2());
- // InternalRDL.g:3606:2: ( rule__NamedInstantiation__Group_2__0 )?
+ // InternalRDL.g:4108:2: ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )?
int alt33=2;
int LA33_0 = input.LA(1);
- if ( (LA33_0==123) ) {
+ if ( (LA33_0==76||LA33_0==134) ) {
alt33=1;
}
switch (alt33) {
case 1 :
- // InternalRDL.g:3606:3: rule__NamedInstantiation__Group_2__0
+ // InternalRDL.g:4108:3: rule__Instantiation__InstanceTypeAssignment_0_0_0
{
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group_2__0();
+ rule__Instantiation__InstanceTypeAssignment_0_0_0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getNamedInstantiationAccess().getGroup_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0());
+ }
}
@@ -12893,29 +15292,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__2__Impl"
+ // $ANTLR end "rule__Instantiation__Group_0_0__0__Impl"
- // $ANTLR start "rule__NamedInstantiation__Group__3"
- // InternalRDL.g:3614:1: rule__NamedInstantiation__Group__3 : rule__NamedInstantiation__Group__3__Impl rule__NamedInstantiation__Group__4 ;
- public final void rule__NamedInstantiation__Group__3() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_0__1"
+ // InternalRDL.g:4116:1: rule__Instantiation__Group_0_0__1 : rule__Instantiation__Group_0_0__1__Impl rule__Instantiation__Group_0_0__2 ;
+ public final void rule__Instantiation__Group_0_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3618:1: ( rule__NamedInstantiation__Group__3__Impl rule__NamedInstantiation__Group__4 )
- // InternalRDL.g:3619:2: rule__NamedInstantiation__Group__3__Impl rule__NamedInstantiation__Group__4
+ // InternalRDL.g:4120:1: ( rule__Instantiation__Group_0_0__1__Impl rule__Instantiation__Group_0_0__2 )
+ // InternalRDL.g:4121:2: rule__Instantiation__Group_0_0__1__Impl rule__Instantiation__Group_0_0__2
{
pushFollow(FOLLOW_24);
- rule__NamedInstantiation__Group__3__Impl();
+ rule__Instantiation__Group_0_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__4();
+ rule__Instantiation__Group_0_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -12931,35 +15330,50 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__3"
+ // $ANTLR end "rule__Instantiation__Group_0_0__1"
- // $ANTLR start "rule__NamedInstantiation__Group__3__Impl"
- // InternalRDL.g:3626:1: rule__NamedInstantiation__Group__3__Impl : ( ( rule__NamedInstantiation__ComponentAssignment_3 ) ) ;
- public final void rule__NamedInstantiation__Group__3__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_0__1__Impl"
+ // InternalRDL.g:4128:1: rule__Instantiation__Group_0_0__1__Impl : ( ( rule__Instantiation__Group_0_0_1__0 )? ) ;
+ public final void rule__Instantiation__Group_0_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3630:1: ( ( ( rule__NamedInstantiation__ComponentAssignment_3 ) ) )
- // InternalRDL.g:3631:1: ( ( rule__NamedInstantiation__ComponentAssignment_3 ) )
+ // InternalRDL.g:4132:1: ( ( ( rule__Instantiation__Group_0_0_1__0 )? ) )
+ // InternalRDL.g:4133:1: ( ( rule__Instantiation__Group_0_0_1__0 )? )
{
- // InternalRDL.g:3631:1: ( ( rule__NamedInstantiation__ComponentAssignment_3 ) )
- // InternalRDL.g:3632:2: ( rule__NamedInstantiation__ComponentAssignment_3 )
+ // InternalRDL.g:4133:1: ( ( rule__Instantiation__Group_0_0_1__0 )? )
+ // InternalRDL.g:4134:2: ( rule__Instantiation__Group_0_0_1__0 )?
{
- before(grammarAccess.getNamedInstantiationAccess().getComponentAssignment_3());
- // InternalRDL.g:3633:2: ( rule__NamedInstantiation__ComponentAssignment_3 )
- // InternalRDL.g:3633:3: rule__NamedInstantiation__ComponentAssignment_3
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__ComponentAssignment_3();
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getGroup_0_0_1());
+ }
+ // InternalRDL.g:4135:2: ( rule__Instantiation__Group_0_0_1__0 )?
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- state._fsp--;
+ if ( (LA34_0==123) ) {
+ alt34=1;
+ }
+ switch (alt34) {
+ case 1 :
+ // InternalRDL.g:4135:3: rule__Instantiation__Group_0_0_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Group_0_0_1__0();
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+ break;
}
- after(grammarAccess.getNamedInstantiationAccess().getComponentAssignment_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getGroup_0_0_1());
+ }
}
@@ -12978,29 +15392,276 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__3__Impl"
+ // $ANTLR end "rule__Instantiation__Group_0_0__1__Impl"
- // $ANTLR start "rule__NamedInstantiation__Group__4"
- // InternalRDL.g:3641:1: rule__NamedInstantiation__Group__4 : rule__NamedInstantiation__Group__4__Impl rule__NamedInstantiation__Group__5 ;
- public final void rule__NamedInstantiation__Group__4() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_0__2"
+ // InternalRDL.g:4143:1: rule__Instantiation__Group_0_0__2 : rule__Instantiation__Group_0_0__2__Impl ;
+ public final void rule__Instantiation__Group_0_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3645:1: ( rule__NamedInstantiation__Group__4__Impl rule__NamedInstantiation__Group__5 )
- // InternalRDL.g:3646:2: rule__NamedInstantiation__Group__4__Impl rule__NamedInstantiation__Group__5
+ // InternalRDL.g:4147:1: ( rule__Instantiation__Group_0_0__2__Impl )
+ // InternalRDL.g:4148:2: rule__Instantiation__Group_0_0__2__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Group_0_0__2__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_0_0__2"
+
+
+ // $ANTLR start "rule__Instantiation__Group_0_0__2__Impl"
+ // InternalRDL.g:4154:1: rule__Instantiation__Group_0_0__2__Impl : ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) ) ;
+ public final void rule__Instantiation__Group_0_0__2__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4158:1: ( ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) ) )
+ // InternalRDL.g:4159:1: ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) )
+ {
+ // InternalRDL.g:4159:1: ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) )
+ // InternalRDL.g:4160:2: ( rule__Instantiation__ComponentRefAssignment_0_0_2 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2());
+ }
+ // InternalRDL.g:4161:2: ( rule__Instantiation__ComponentRefAssignment_0_0_2 )
+ // InternalRDL.g:4161:3: rule__Instantiation__ComponentRefAssignment_0_0_2
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__ComponentRefAssignment_0_0_2();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_0_0__2__Impl"
+
+
+ // $ANTLR start "rule__Instantiation__Group_0_0_1__0"
+ // InternalRDL.g:4170:1: rule__Instantiation__Group_0_0_1__0 : rule__Instantiation__Group_0_0_1__0__Impl rule__Instantiation__Group_0_0_1__1 ;
+ public final void rule__Instantiation__Group_0_0_1__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4174:1: ( rule__Instantiation__Group_0_0_1__0__Impl rule__Instantiation__Group_0_0_1__1 )
+ // InternalRDL.g:4175:2: rule__Instantiation__Group_0_0_1__0__Impl rule__Instantiation__Group_0_0_1__1
+ {
+ pushFollow(FOLLOW_6);
+ rule__Instantiation__Group_0_0_1__0__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Group_0_0_1__1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_0_0_1__0"
+
+
+ // $ANTLR start "rule__Instantiation__Group_0_0_1__0__Impl"
+ // InternalRDL.g:4182:1: rule__Instantiation__Group_0_0_1__0__Impl : ( 'alias' ) ;
+ public final void rule__Instantiation__Group_0_0_1__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4186:1: ( ( 'alias' ) )
+ // InternalRDL.g:4187:1: ( 'alias' )
+ {
+ // InternalRDL.g:4187:1: ( 'alias' )
+ // InternalRDL.g:4188:2: 'alias'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0());
+ }
+ match(input,123,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_0_0_1__0__Impl"
+
+
+ // $ANTLR start "rule__Instantiation__Group_0_0_1__1"
+ // InternalRDL.g:4197:1: rule__Instantiation__Group_0_0_1__1 : rule__Instantiation__Group_0_0_1__1__Impl ;
+ public final void rule__Instantiation__Group_0_0_1__1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4201:1: ( rule__Instantiation__Group_0_0_1__1__Impl )
+ // InternalRDL.g:4202:2: rule__Instantiation__Group_0_0_1__1__Impl
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__Group_0_0_1__1__Impl();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_0_0_1__1"
+
+
+ // $ANTLR start "rule__Instantiation__Group_0_0_1__1__Impl"
+ // InternalRDL.g:4208:1: rule__Instantiation__Group_0_0_1__1__Impl : ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) ) ;
+ public final void rule__Instantiation__Group_0_0_1__1__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4212:1: ( ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) ) )
+ // InternalRDL.g:4213:1: ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) )
+ {
+ // InternalRDL.g:4213:1: ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) )
+ // InternalRDL.g:4214:2: ( rule__Instantiation__AliasAssignment_0_0_1_1 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1());
+ }
+ // InternalRDL.g:4215:2: ( rule__Instantiation__AliasAssignment_0_0_1_1 )
+ // InternalRDL.g:4215:3: rule__Instantiation__AliasAssignment_0_0_1_1
+ {
+ pushFollow(FOLLOW_2);
+ rule__Instantiation__AliasAssignment_0_0_1_1();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_0_0_1__1__Impl"
+
+
+ // $ANTLR start "rule__Instantiation__Group_0_1__0"
+ // InternalRDL.g:4224:1: rule__Instantiation__Group_0_1__0 : rule__Instantiation__Group_0_1__0__Impl rule__Instantiation__Group_0_1__1 ;
+ public final void rule__Instantiation__Group_0_1__0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4228:1: ( rule__Instantiation__Group_0_1__0__Impl rule__Instantiation__Group_0_1__1 )
+ // InternalRDL.g:4229:2: rule__Instantiation__Group_0_1__0__Impl rule__Instantiation__Group_0_1__1
{
pushFollow(FOLLOW_25);
- rule__NamedInstantiation__Group__4__Impl();
+ rule__Instantiation__Group_0_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__5();
+ rule__Instantiation__Group_0_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -13016,35 +15677,39 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__4"
+ // $ANTLR end "rule__Instantiation__Group_0_1__0"
- // $ANTLR start "rule__NamedInstantiation__Group__4__Impl"
- // InternalRDL.g:3653:1: rule__NamedInstantiation__Group__4__Impl : ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) ) ;
- public final void rule__NamedInstantiation__Group__4__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_1__0__Impl"
+ // InternalRDL.g:4236:1: rule__Instantiation__Group_0_1__0__Impl : ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) ) ;
+ public final void rule__Instantiation__Group_0_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3657:1: ( ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) ) )
- // InternalRDL.g:3658:1: ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) )
+ // InternalRDL.g:4240:1: ( ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) ) )
+ // InternalRDL.g:4241:1: ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) )
{
- // InternalRDL.g:3658:1: ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) )
- // InternalRDL.g:3659:2: ( rule__NamedInstantiation__ComponentInstancesAssignment_4 )
+ // InternalRDL.g:4241:1: ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) )
+ // InternalRDL.g:4242:2: ( rule__Instantiation__ComponentAssignment_0_1_0 )
{
- before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4());
- // InternalRDL.g:3660:2: ( rule__NamedInstantiation__ComponentInstancesAssignment_4 )
- // InternalRDL.g:3660:3: rule__NamedInstantiation__ComponentInstancesAssignment_4
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0());
+ }
+ // InternalRDL.g:4243:2: ( rule__Instantiation__ComponentAssignment_0_1_0 )
+ // InternalRDL.g:4243:3: rule__Instantiation__ComponentAssignment_0_1_0
{
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__ComponentInstancesAssignment_4();
+ rule__Instantiation__ComponentAssignment_0_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0());
+ }
}
@@ -13063,127 +15728,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__4__Impl"
+ // $ANTLR end "rule__Instantiation__Group_0_1__0__Impl"
- // $ANTLR start "rule__NamedInstantiation__Group__5"
- // InternalRDL.g:3668:1: rule__NamedInstantiation__Group__5 : rule__NamedInstantiation__Group__5__Impl rule__NamedInstantiation__Group__6 ;
- public final void rule__NamedInstantiation__Group__5() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_1__1"
+ // InternalRDL.g:4251:1: rule__Instantiation__Group_0_1__1 : rule__Instantiation__Group_0_1__1__Impl ;
+ public final void rule__Instantiation__Group_0_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3672:1: ( rule__NamedInstantiation__Group__5__Impl rule__NamedInstantiation__Group__6 )
- // InternalRDL.g:3673:2: rule__NamedInstantiation__Group__5__Impl rule__NamedInstantiation__Group__6
- {
- pushFollow(FOLLOW_25);
- rule__NamedInstantiation__Group__5__Impl();
-
- state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__6();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group__5"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group__5__Impl"
- // InternalRDL.g:3680:1: rule__NamedInstantiation__Group__5__Impl : ( ( rule__NamedInstantiation__Group_5__0 )* ) ;
- public final void rule__NamedInstantiation__Group__5__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3684:1: ( ( ( rule__NamedInstantiation__Group_5__0 )* ) )
- // InternalRDL.g:3685:1: ( ( rule__NamedInstantiation__Group_5__0 )* )
- {
- // InternalRDL.g:3685:1: ( ( rule__NamedInstantiation__Group_5__0 )* )
- // InternalRDL.g:3686:2: ( rule__NamedInstantiation__Group_5__0 )*
- {
- before(grammarAccess.getNamedInstantiationAccess().getGroup_5());
- // InternalRDL.g:3687:2: ( rule__NamedInstantiation__Group_5__0 )*
- loop34:
- do {
- int alt34=2;
- int LA34_0 = input.LA(1);
-
- if ( (LA34_0==124) ) {
- alt34=1;
- }
-
-
- switch (alt34) {
- case 1 :
- // InternalRDL.g:3687:3: rule__NamedInstantiation__Group_5__0
- {
- pushFollow(FOLLOW_26);
- rule__NamedInstantiation__Group_5__0();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop34;
- }
- } while (true);
-
- after(grammarAccess.getNamedInstantiationAccess().getGroup_5());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group__5__Impl"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group__6"
- // InternalRDL.g:3695:1: rule__NamedInstantiation__Group__6 : rule__NamedInstantiation__Group__6__Impl ;
- public final void rule__NamedInstantiation__Group__6() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3699:1: ( rule__NamedInstantiation__Group__6__Impl )
- // InternalRDL.g:3700:2: rule__NamedInstantiation__Group__6__Impl
+ // InternalRDL.g:4255:1: ( rule__Instantiation__Group_0_1__1__Impl )
+ // InternalRDL.g:4256:2: rule__Instantiation__Group_0_1__1__Impl
{
pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group__6__Impl();
+ rule__Instantiation__Group_0_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -13199,431 +15761,50 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__Group__6"
+ // $ANTLR end "rule__Instantiation__Group_0_1__1"
- // $ANTLR start "rule__NamedInstantiation__Group__6__Impl"
- // InternalRDL.g:3706:1: rule__NamedInstantiation__Group__6__Impl : ( ';' ) ;
- public final void rule__NamedInstantiation__Group__6__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_0_1__1__Impl"
+ // InternalRDL.g:4262:1: rule__Instantiation__Group_0_1__1__Impl : ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? ) ;
+ public final void rule__Instantiation__Group_0_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3710:1: ( ( ';' ) )
- // InternalRDL.g:3711:1: ( ';' )
+ // InternalRDL.g:4266:1: ( ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? ) )
+ // InternalRDL.g:4267:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? )
{
- // InternalRDL.g:3711:1: ( ';' )
- // InternalRDL.g:3712:2: ';'
+ // InternalRDL.g:4267:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? )
+ // InternalRDL.g:4268:2: ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )?
{
- before(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6());
-
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1());
}
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group__6__Impl"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_2__0"
- // InternalRDL.g:3722:1: rule__NamedInstantiation__Group_2__0 : rule__NamedInstantiation__Group_2__0__Impl rule__NamedInstantiation__Group_2__1 ;
- public final void rule__NamedInstantiation__Group_2__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3726:1: ( rule__NamedInstantiation__Group_2__0__Impl rule__NamedInstantiation__Group_2__1 )
- // InternalRDL.g:3727:2: rule__NamedInstantiation__Group_2__0__Impl rule__NamedInstantiation__Group_2__1
- {
- pushFollow(FOLLOW_5);
- rule__NamedInstantiation__Group_2__0__Impl();
-
- state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group_2__1();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_2__0"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_2__0__Impl"
- // InternalRDL.g:3734:1: rule__NamedInstantiation__Group_2__0__Impl : ( 'alias' ) ;
- public final void rule__NamedInstantiation__Group_2__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3738:1: ( ( 'alias' ) )
- // InternalRDL.g:3739:1: ( 'alias' )
- {
- // InternalRDL.g:3739:1: ( 'alias' )
- // InternalRDL.g:3740:2: 'alias'
- {
- before(grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0());
- match(input,123,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_2__0__Impl"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_2__1"
- // InternalRDL.g:3749:1: rule__NamedInstantiation__Group_2__1 : rule__NamedInstantiation__Group_2__1__Impl ;
- public final void rule__NamedInstantiation__Group_2__1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3753:1: ( rule__NamedInstantiation__Group_2__1__Impl )
- // InternalRDL.g:3754:2: rule__NamedInstantiation__Group_2__1__Impl
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group_2__1__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_2__1"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_2__1__Impl"
- // InternalRDL.g:3760:1: rule__NamedInstantiation__Group_2__1__Impl : ( ( rule__NamedInstantiation__AliasAssignment_2_1 ) ) ;
- public final void rule__NamedInstantiation__Group_2__1__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3764:1: ( ( ( rule__NamedInstantiation__AliasAssignment_2_1 ) ) )
- // InternalRDL.g:3765:1: ( ( rule__NamedInstantiation__AliasAssignment_2_1 ) )
- {
- // InternalRDL.g:3765:1: ( ( rule__NamedInstantiation__AliasAssignment_2_1 ) )
- // InternalRDL.g:3766:2: ( rule__NamedInstantiation__AliasAssignment_2_1 )
- {
- before(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1());
- // InternalRDL.g:3767:2: ( rule__NamedInstantiation__AliasAssignment_2_1 )
- // InternalRDL.g:3767:3: rule__NamedInstantiation__AliasAssignment_2_1
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__AliasAssignment_2_1();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_2__1__Impl"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_5__0"
- // InternalRDL.g:3776:1: rule__NamedInstantiation__Group_5__0 : rule__NamedInstantiation__Group_5__0__Impl rule__NamedInstantiation__Group_5__1 ;
- public final void rule__NamedInstantiation__Group_5__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3780:1: ( rule__NamedInstantiation__Group_5__0__Impl rule__NamedInstantiation__Group_5__1 )
- // InternalRDL.g:3781:2: rule__NamedInstantiation__Group_5__0__Impl rule__NamedInstantiation__Group_5__1
- {
- pushFollow(FOLLOW_24);
- rule__NamedInstantiation__Group_5__0__Impl();
-
- state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group_5__1();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_5__0"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_5__0__Impl"
- // InternalRDL.g:3788:1: rule__NamedInstantiation__Group_5__0__Impl : ( ',' ) ;
- public final void rule__NamedInstantiation__Group_5__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3792:1: ( ( ',' ) )
- // InternalRDL.g:3793:1: ( ',' )
- {
- // InternalRDL.g:3793:1: ( ',' )
- // InternalRDL.g:3794:2: ','
- {
- before(grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0());
- match(input,124,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_5__0__Impl"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_5__1"
- // InternalRDL.g:3803:1: rule__NamedInstantiation__Group_5__1 : rule__NamedInstantiation__Group_5__1__Impl ;
- public final void rule__NamedInstantiation__Group_5__1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3807:1: ( rule__NamedInstantiation__Group_5__1__Impl )
- // InternalRDL.g:3808:2: rule__NamedInstantiation__Group_5__1__Impl
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__Group_5__1__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_5__1"
-
-
- // $ANTLR start "rule__NamedInstantiation__Group_5__1__Impl"
- // InternalRDL.g:3814:1: rule__NamedInstantiation__Group_5__1__Impl : ( ( rule__NamedInstantiation__ComponentInstancesAssignment_5_1 ) ) ;
- public final void rule__NamedInstantiation__Group_5__1__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3818:1: ( ( ( rule__NamedInstantiation__ComponentInstancesAssignment_5_1 ) ) )
- // InternalRDL.g:3819:1: ( ( rule__NamedInstantiation__ComponentInstancesAssignment_5_1 ) )
- {
- // InternalRDL.g:3819:1: ( ( rule__NamedInstantiation__ComponentInstancesAssignment_5_1 ) )
- // InternalRDL.g:3820:2: ( rule__NamedInstantiation__ComponentInstancesAssignment_5_1 )
- {
- before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_5_1());
- // InternalRDL.g:3821:2: ( rule__NamedInstantiation__ComponentInstancesAssignment_5_1 )
- // InternalRDL.g:3821:3: rule__NamedInstantiation__ComponentInstancesAssignment_5_1
- {
- pushFollow(FOLLOW_2);
- rule__NamedInstantiation__ComponentInstancesAssignment_5_1();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_5_1());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__NamedInstantiation__Group_5__1__Impl"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group__0"
- // InternalRDL.g:3830:1: rule__ImmediateInstantiation__Group__0 : rule__ImmediateInstantiation__Group__0__Impl rule__ImmediateInstantiation__Group__1 ;
- public final void rule__ImmediateInstantiation__Group__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3834:1: ( rule__ImmediateInstantiation__Group__0__Impl rule__ImmediateInstantiation__Group__1 )
- // InternalRDL.g:3835:2: rule__ImmediateInstantiation__Group__0__Impl rule__ImmediateInstantiation__Group__1
- {
- pushFollow(FOLLOW_24);
- rule__ImmediateInstantiation__Group__0__Impl();
-
- state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__Group__1();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__Group__0"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group__0__Impl"
- // InternalRDL.g:3842:1: rule__ImmediateInstantiation__Group__0__Impl : ( ( rule__ImmediateInstantiation__ExternalAssignment_0 )? ) ;
- public final void rule__ImmediateInstantiation__Group__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3846:1: ( ( ( rule__ImmediateInstantiation__ExternalAssignment_0 )? ) )
- // InternalRDL.g:3847:1: ( ( rule__ImmediateInstantiation__ExternalAssignment_0 )? )
- {
- // InternalRDL.g:3847:1: ( ( rule__ImmediateInstantiation__ExternalAssignment_0 )? )
- // InternalRDL.g:3848:2: ( rule__ImmediateInstantiation__ExternalAssignment_0 )?
- {
- before(grammarAccess.getImmediateInstantiationAccess().getExternalAssignment_0());
- // InternalRDL.g:3849:2: ( rule__ImmediateInstantiation__ExternalAssignment_0 )?
+ // InternalRDL.g:4269:2: ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )?
int alt35=2;
int LA35_0 = input.LA(1);
- if ( (LA35_0==134) ) {
+ if ( (LA35_0==76||LA35_0==134) ) {
alt35=1;
}
switch (alt35) {
case 1 :
- // InternalRDL.g:3849:3: rule__ImmediateInstantiation__ExternalAssignment_0
+ // InternalRDL.g:4269:3: rule__Instantiation__InstanceTypeAssignment_0_1_1
{
pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__ExternalAssignment_0();
+ rule__Instantiation__InstanceTypeAssignment_0_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getImmediateInstantiationAccess().getExternalAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1());
+ }
}
@@ -13642,28 +15823,69 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ImmediateInstantiation__Group__0__Impl"
+ // $ANTLR end "rule__Instantiation__Group_0_1__1__Impl"
- // $ANTLR start "rule__ImmediateInstantiation__Group__1"
- // InternalRDL.g:3857:1: rule__ImmediateInstantiation__Group__1 : rule__ImmediateInstantiation__Group__1__Impl rule__ImmediateInstantiation__Group__2 ;
- public final void rule__ImmediateInstantiation__Group__1() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_2__0"
+ // InternalRDL.g:4278:1: rule__Instantiation__Group_2__0 : rule__Instantiation__Group_2__0__Impl rule__Instantiation__Group_2__1 ;
+ public final void rule__Instantiation__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3861:1: ( rule__ImmediateInstantiation__Group__1__Impl rule__ImmediateInstantiation__Group__2 )
- // InternalRDL.g:3862:2: rule__ImmediateInstantiation__Group__1__Impl rule__ImmediateInstantiation__Group__2
+ // InternalRDL.g:4282:1: ( rule__Instantiation__Group_2__0__Impl rule__Instantiation__Group_2__1 )
+ // InternalRDL.g:4283:2: rule__Instantiation__Group_2__0__Impl rule__Instantiation__Group_2__1
{
- pushFollow(FOLLOW_27);
- rule__ImmediateInstantiation__Group__1__Impl();
+ pushFollow(FOLLOW_6);
+ rule__Instantiation__Group_2__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__Group__2();
+ rule__Instantiation__Group_2__1();
state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__Instantiation__Group_2__0"
+
+
+ // $ANTLR start "rule__Instantiation__Group_2__0__Impl"
+ // InternalRDL.g:4290:1: rule__Instantiation__Group_2__0__Impl : ( ',' ) ;
+ public final void rule__Instantiation__Group_2__0__Impl() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:4294:1: ( ( ',' ) )
+ // InternalRDL.g:4295:1: ( ',' )
+ {
+ // InternalRDL.g:4295:1: ( ',' )
+ // InternalRDL.g:4296:2: ','
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0());
+ }
+ match(input,124,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0());
+ }
+
+ }
}
@@ -13680,38 +15902,24 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ImmediateInstantiation__Group__1"
+ // $ANTLR end "rule__Instantiation__Group_2__0__Impl"
- // $ANTLR start "rule__ImmediateInstantiation__Group__1__Impl"
- // InternalRDL.g:3869:1: rule__ImmediateInstantiation__Group__1__Impl : ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_1 ) ) ;
- public final void rule__ImmediateInstantiation__Group__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_2__1"
+ // InternalRDL.g:4305:1: rule__Instantiation__Group_2__1 : rule__Instantiation__Group_2__1__Impl ;
+ public final void rule__Instantiation__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3873:1: ( ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_1 ) ) )
- // InternalRDL.g:3874:1: ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_1 ) )
- {
- // InternalRDL.g:3874:1: ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_1 ) )
- // InternalRDL.g:3875:2: ( rule__ImmediateInstantiation__ComponentInstancesAssignment_1 )
- {
- before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_1());
- // InternalRDL.g:3876:2: ( rule__ImmediateInstantiation__ComponentInstancesAssignment_1 )
- // InternalRDL.g:3876:3: rule__ImmediateInstantiation__ComponentInstancesAssignment_1
+ // InternalRDL.g:4309:1: ( rule__Instantiation__Group_2__1__Impl )
+ // InternalRDL.g:4310:2: rule__Instantiation__Group_2__1__Impl
{
pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__ComponentInstancesAssignment_1();
+ rule__Instantiation__Group_2__1__Impl();
state._fsp--;
-
-
- }
-
- after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_1());
-
- }
-
+ if (state.failed) return ;
}
@@ -13727,86 +15935,39 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ImmediateInstantiation__Group__1__Impl"
+ // $ANTLR end "rule__Instantiation__Group_2__1"
- // $ANTLR start "rule__ImmediateInstantiation__Group__2"
- // InternalRDL.g:3884:1: rule__ImmediateInstantiation__Group__2 : rule__ImmediateInstantiation__Group__2__Impl ;
- public final void rule__ImmediateInstantiation__Group__2() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__Group_2__1__Impl"
+ // InternalRDL.g:4316:1: rule__Instantiation__Group_2__1__Impl : ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) ) ;
+ public final void rule__Instantiation__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3888:1: ( rule__ImmediateInstantiation__Group__2__Impl )
- // InternalRDL.g:3889:2: rule__ImmediateInstantiation__Group__2__Impl
+ // InternalRDL.g:4320:1: ( ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) ) )
+ // InternalRDL.g:4321:1: ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) )
+ {
+ // InternalRDL.g:4321:1: ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) )
+ // InternalRDL.g:4322:2: ( rule__Instantiation__ComponentInstancesAssignment_2_1 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1());
+ }
+ // InternalRDL.g:4323:2: ( rule__Instantiation__ComponentInstancesAssignment_2_1 )
+ // InternalRDL.g:4323:3: rule__Instantiation__ComponentInstancesAssignment_2_1
{
pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__Group__2__Impl();
+ rule__Instantiation__ComponentInstancesAssignment_2_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__Group__2"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group__2__Impl"
- // InternalRDL.g:3895:1: rule__ImmediateInstantiation__Group__2__Impl : ( ( rule__ImmediateInstantiation__Group_2__0 )* ) ;
- public final void rule__ImmediateInstantiation__Group__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3899:1: ( ( ( rule__ImmediateInstantiation__Group_2__0 )* ) )
- // InternalRDL.g:3900:1: ( ( rule__ImmediateInstantiation__Group_2__0 )* )
- {
- // InternalRDL.g:3900:1: ( ( rule__ImmediateInstantiation__Group_2__0 )* )
- // InternalRDL.g:3901:2: ( rule__ImmediateInstantiation__Group_2__0 )*
- {
- before(grammarAccess.getImmediateInstantiationAccess().getGroup_2());
- // InternalRDL.g:3902:2: ( rule__ImmediateInstantiation__Group_2__0 )*
- loop36:
- do {
- int alt36=2;
- int LA36_0 = input.LA(1);
-
- if ( (LA36_0==124) ) {
- alt36=1;
- }
-
-
- switch (alt36) {
- case 1 :
- // InternalRDL.g:3902:3: rule__ImmediateInstantiation__Group_2__0
- {
- pushFollow(FOLLOW_26);
- rule__ImmediateInstantiation__Group_2__0();
-
- state._fsp--;
-
-
- }
- break;
-
- default :
- break loop36;
- }
- } while (true);
-
- after(grammarAccess.getImmediateInstantiationAccess().getGroup_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1());
+ }
}
@@ -13825,184 +15986,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ImmediateInstantiation__Group__2__Impl"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group_2__0"
- // InternalRDL.g:3911:1: rule__ImmediateInstantiation__Group_2__0 : rule__ImmediateInstantiation__Group_2__0__Impl rule__ImmediateInstantiation__Group_2__1 ;
- public final void rule__ImmediateInstantiation__Group_2__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3915:1: ( rule__ImmediateInstantiation__Group_2__0__Impl rule__ImmediateInstantiation__Group_2__1 )
- // InternalRDL.g:3916:2: rule__ImmediateInstantiation__Group_2__0__Impl rule__ImmediateInstantiation__Group_2__1
- {
- pushFollow(FOLLOW_24);
- rule__ImmediateInstantiation__Group_2__0__Impl();
-
- state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__Group_2__1();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__Group_2__0"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group_2__0__Impl"
- // InternalRDL.g:3923:1: rule__ImmediateInstantiation__Group_2__0__Impl : ( ',' ) ;
- public final void rule__ImmediateInstantiation__Group_2__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3927:1: ( ( ',' ) )
- // InternalRDL.g:3928:1: ( ',' )
- {
- // InternalRDL.g:3928:1: ( ',' )
- // InternalRDL.g:3929:2: ','
- {
- before(grammarAccess.getImmediateInstantiationAccess().getCommaKeyword_2_0());
- match(input,124,FOLLOW_2);
- after(grammarAccess.getImmediateInstantiationAccess().getCommaKeyword_2_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__Group_2__0__Impl"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group_2__1"
- // InternalRDL.g:3938:1: rule__ImmediateInstantiation__Group_2__1 : rule__ImmediateInstantiation__Group_2__1__Impl ;
- public final void rule__ImmediateInstantiation__Group_2__1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3942:1: ( rule__ImmediateInstantiation__Group_2__1__Impl )
- // InternalRDL.g:3943:2: rule__ImmediateInstantiation__Group_2__1__Impl
- {
- pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__Group_2__1__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__Group_2__1"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__Group_2__1__Impl"
- // InternalRDL.g:3949:1: rule__ImmediateInstantiation__Group_2__1__Impl : ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 ) ) ;
- public final void rule__ImmediateInstantiation__Group_2__1__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:3953:1: ( ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 ) ) )
- // InternalRDL.g:3954:1: ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 ) )
- {
- // InternalRDL.g:3954:1: ( ( rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 ) )
- // InternalRDL.g:3955:2: ( rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 )
- {
- before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_2_1());
- // InternalRDL.g:3956:2: ( rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 )
- // InternalRDL.g:3956:3: rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1
- {
- pushFollow(FOLLOW_2);
- rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1();
-
- state._fsp--;
-
-
- }
-
- after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_2_1());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__Group_2__1__Impl"
+ // $ANTLR end "rule__Instantiation__Group_2__1__Impl"
// $ANTLR start "rule__ComponentInstance__Group__0"
- // InternalRDL.g:3965:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ;
+ // InternalRDL.g:4332:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ;
public final void rule__ComponentInstance__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3969:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 )
- // InternalRDL.g:3970:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1
+ // InternalRDL.g:4336:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 )
+ // InternalRDL.g:4337:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1
{
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_26);
rule__ComponentInstance__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14022,31 +16028,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__0__Impl"
- // InternalRDL.g:3977:1: rule__ComponentInstance__Group__0__Impl : ( ( rule__ComponentInstance__NameAssignment_0 ) ) ;
+ // InternalRDL.g:4344:1: rule__ComponentInstance__Group__0__Impl : ( ( rule__ComponentInstance__NameAssignment_0 ) ) ;
public final void rule__ComponentInstance__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3981:1: ( ( ( rule__ComponentInstance__NameAssignment_0 ) ) )
- // InternalRDL.g:3982:1: ( ( rule__ComponentInstance__NameAssignment_0 ) )
+ // InternalRDL.g:4348:1: ( ( ( rule__ComponentInstance__NameAssignment_0 ) ) )
+ // InternalRDL.g:4349:1: ( ( rule__ComponentInstance__NameAssignment_0 ) )
{
- // InternalRDL.g:3982:1: ( ( rule__ComponentInstance__NameAssignment_0 ) )
- // InternalRDL.g:3983:2: ( rule__ComponentInstance__NameAssignment_0 )
+ // InternalRDL.g:4349:1: ( ( rule__ComponentInstance__NameAssignment_0 ) )
+ // InternalRDL.g:4350:2: ( rule__ComponentInstance__NameAssignment_0 )
{
- before(grammarAccess.getComponentInstanceAccess().getNameAssignment_0());
- // InternalRDL.g:3984:2: ( rule__ComponentInstance__NameAssignment_0 )
- // InternalRDL.g:3984:3: rule__ComponentInstance__NameAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getNameAssignment_0());
+ }
+ // InternalRDL.g:4351:2: ( rule__ComponentInstance__NameAssignment_0 )
+ // InternalRDL.g:4351:3: rule__ComponentInstance__NameAssignment_0
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__NameAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentInstanceAccess().getNameAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getNameAssignment_0());
+ }
}
@@ -14069,25 +16079,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__1"
- // InternalRDL.g:3992:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ;
+ // InternalRDL.g:4359:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ;
public final void rule__ComponentInstance__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:3996:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 )
- // InternalRDL.g:3997:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2
+ // InternalRDL.g:4363:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 )
+ // InternalRDL.g:4364:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2
{
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_26);
rule__ComponentInstance__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14107,42 +16117,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__1__Impl"
- // InternalRDL.g:4004:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__RangeAssignment_1 )? ) ;
+ // InternalRDL.g:4371:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__RangeAssignment_1 )? ) ;
public final void rule__ComponentInstance__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4008:1: ( ( ( rule__ComponentInstance__RangeAssignment_1 )? ) )
- // InternalRDL.g:4009:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? )
+ // InternalRDL.g:4375:1: ( ( ( rule__ComponentInstance__RangeAssignment_1 )? ) )
+ // InternalRDL.g:4376:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? )
{
- // InternalRDL.g:4009:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? )
- // InternalRDL.g:4010:2: ( rule__ComponentInstance__RangeAssignment_1 )?
+ // InternalRDL.g:4376:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? )
+ // InternalRDL.g:4377:2: ( rule__ComponentInstance__RangeAssignment_1 )?
{
- before(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1());
- // InternalRDL.g:4011:2: ( rule__ComponentInstance__RangeAssignment_1 )?
- int alt37=2;
- int LA37_0 = input.LA(1);
-
- if ( (LA37_0==128) ) {
- alt37=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1());
}
- switch (alt37) {
+ // InternalRDL.g:4378:2: ( rule__ComponentInstance__RangeAssignment_1 )?
+ int alt36=2;
+ int LA36_0 = input.LA(1);
+
+ if ( (LA36_0==128) ) {
+ alt36=1;
+ }
+ switch (alt36) {
case 1 :
- // InternalRDL.g:4011:3: rule__ComponentInstance__RangeAssignment_1
+ // InternalRDL.g:4378:3: rule__ComponentInstance__RangeAssignment_1
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__RangeAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1());
+ }
}
@@ -14165,25 +16179,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__2"
- // InternalRDL.g:4019:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 ;
+ // InternalRDL.g:4386:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 ;
public final void rule__ComponentInstance__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4023:1: ( rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 )
- // InternalRDL.g:4024:2: rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3
+ // InternalRDL.g:4390:1: ( rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 )
+ // InternalRDL.g:4391:2: rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3
{
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_26);
rule__ComponentInstance__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14203,42 +16217,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__2__Impl"
- // InternalRDL.g:4031:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__Group_2__0 )? ) ;
+ // InternalRDL.g:4398:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__Group_2__0 )? ) ;
public final void rule__ComponentInstance__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4035:1: ( ( ( rule__ComponentInstance__Group_2__0 )? ) )
- // InternalRDL.g:4036:1: ( ( rule__ComponentInstance__Group_2__0 )? )
+ // InternalRDL.g:4402:1: ( ( ( rule__ComponentInstance__Group_2__0 )? ) )
+ // InternalRDL.g:4403:1: ( ( rule__ComponentInstance__Group_2__0 )? )
{
- // InternalRDL.g:4036:1: ( ( rule__ComponentInstance__Group_2__0 )? )
- // InternalRDL.g:4037:2: ( rule__ComponentInstance__Group_2__0 )?
+ // InternalRDL.g:4403:1: ( ( rule__ComponentInstance__Group_2__0 )? )
+ // InternalRDL.g:4404:2: ( rule__ComponentInstance__Group_2__0 )?
{
- before(grammarAccess.getComponentInstanceAccess().getGroup_2());
- // InternalRDL.g:4038:2: ( rule__ComponentInstance__Group_2__0 )?
- int alt38=2;
- int LA38_0 = input.LA(1);
-
- if ( (LA38_0==119) ) {
- alt38=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getGroup_2());
}
- switch (alt38) {
+ // InternalRDL.g:4405:2: ( rule__ComponentInstance__Group_2__0 )?
+ int alt37=2;
+ int LA37_0 = input.LA(1);
+
+ if ( (LA37_0==119) ) {
+ alt37=1;
+ }
+ switch (alt37) {
case 1 :
- // InternalRDL.g:4038:3: rule__ComponentInstance__Group_2__0
+ // InternalRDL.g:4405:3: rule__ComponentInstance__Group_2__0
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_2__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getComponentInstanceAccess().getGroup_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getGroup_2());
+ }
}
@@ -14261,25 +16279,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__3"
- // InternalRDL.g:4046:1: rule__ComponentInstance__Group__3 : rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 ;
+ // InternalRDL.g:4413:1: rule__ComponentInstance__Group__3 : rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 ;
public final void rule__ComponentInstance__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4050:1: ( rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 )
- // InternalRDL.g:4051:2: rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4
+ // InternalRDL.g:4417:1: ( rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 )
+ // InternalRDL.g:4418:2: rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4
{
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_26);
rule__ComponentInstance__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14299,42 +16317,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__3__Impl"
- // InternalRDL.g:4058:1: rule__ComponentInstance__Group__3__Impl : ( ( rule__ComponentInstance__Group_3__0 )? ) ;
+ // InternalRDL.g:4425:1: rule__ComponentInstance__Group__3__Impl : ( ( rule__ComponentInstance__Group_3__0 )? ) ;
public final void rule__ComponentInstance__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4062:1: ( ( ( rule__ComponentInstance__Group_3__0 )? ) )
- // InternalRDL.g:4063:1: ( ( rule__ComponentInstance__Group_3__0 )? )
+ // InternalRDL.g:4429:1: ( ( ( rule__ComponentInstance__Group_3__0 )? ) )
+ // InternalRDL.g:4430:1: ( ( rule__ComponentInstance__Group_3__0 )? )
{
- // InternalRDL.g:4063:1: ( ( rule__ComponentInstance__Group_3__0 )? )
- // InternalRDL.g:4064:2: ( rule__ComponentInstance__Group_3__0 )?
+ // InternalRDL.g:4430:1: ( ( rule__ComponentInstance__Group_3__0 )? )
+ // InternalRDL.g:4431:2: ( rule__ComponentInstance__Group_3__0 )?
{
- before(grammarAccess.getComponentInstanceAccess().getGroup_3());
- // InternalRDL.g:4065:2: ( rule__ComponentInstance__Group_3__0 )?
- int alt39=2;
- int LA39_0 = input.LA(1);
-
- if ( (LA39_0==125) ) {
- alt39=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getGroup_3());
}
- switch (alt39) {
+ // InternalRDL.g:4432:2: ( rule__ComponentInstance__Group_3__0 )?
+ int alt38=2;
+ int LA38_0 = input.LA(1);
+
+ if ( (LA38_0==125) ) {
+ alt38=1;
+ }
+ switch (alt38) {
case 1 :
- // InternalRDL.g:4065:3: rule__ComponentInstance__Group_3__0
+ // InternalRDL.g:4432:3: rule__ComponentInstance__Group_3__0
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_3__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getComponentInstanceAccess().getGroup_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getGroup_3());
+ }
}
@@ -14357,25 +16379,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__4"
- // InternalRDL.g:4073:1: rule__ComponentInstance__Group__4 : rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 ;
+ // InternalRDL.g:4440:1: rule__ComponentInstance__Group__4 : rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 ;
public final void rule__ComponentInstance__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4077:1: ( rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 )
- // InternalRDL.g:4078:2: rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5
+ // InternalRDL.g:4444:1: ( rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 )
+ // InternalRDL.g:4445:2: rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5
{
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_26);
rule__ComponentInstance__Group__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__5();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14395,42 +16417,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__4__Impl"
- // InternalRDL.g:4085:1: rule__ComponentInstance__Group__4__Impl : ( ( rule__ComponentInstance__Group_4__0 )? ) ;
+ // InternalRDL.g:4452:1: rule__ComponentInstance__Group__4__Impl : ( ( rule__ComponentInstance__Group_4__0 )? ) ;
public final void rule__ComponentInstance__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4089:1: ( ( ( rule__ComponentInstance__Group_4__0 )? ) )
- // InternalRDL.g:4090:1: ( ( rule__ComponentInstance__Group_4__0 )? )
+ // InternalRDL.g:4456:1: ( ( ( rule__ComponentInstance__Group_4__0 )? ) )
+ // InternalRDL.g:4457:1: ( ( rule__ComponentInstance__Group_4__0 )? )
{
- // InternalRDL.g:4090:1: ( ( rule__ComponentInstance__Group_4__0 )? )
- // InternalRDL.g:4091:2: ( rule__ComponentInstance__Group_4__0 )?
+ // InternalRDL.g:4457:1: ( ( rule__ComponentInstance__Group_4__0 )? )
+ // InternalRDL.g:4458:2: ( rule__ComponentInstance__Group_4__0 )?
{
- before(grammarAccess.getComponentInstanceAccess().getGroup_4());
- // InternalRDL.g:4092:2: ( rule__ComponentInstance__Group_4__0 )?
- int alt40=2;
- int LA40_0 = input.LA(1);
-
- if ( (LA40_0==126) ) {
- alt40=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getGroup_4());
}
- switch (alt40) {
+ // InternalRDL.g:4459:2: ( rule__ComponentInstance__Group_4__0 )?
+ int alt39=2;
+ int LA39_0 = input.LA(1);
+
+ if ( (LA39_0==126) ) {
+ alt39=1;
+ }
+ switch (alt39) {
case 1 :
- // InternalRDL.g:4092:3: rule__ComponentInstance__Group_4__0
+ // InternalRDL.g:4459:3: rule__ComponentInstance__Group_4__0
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_4__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getComponentInstanceAccess().getGroup_4());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getGroup_4());
+ }
}
@@ -14453,20 +16479,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__5"
- // InternalRDL.g:4100:1: rule__ComponentInstance__Group__5 : rule__ComponentInstance__Group__5__Impl ;
+ // InternalRDL.g:4467:1: rule__ComponentInstance__Group__5 : rule__ComponentInstance__Group__5__Impl ;
public final void rule__ComponentInstance__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4104:1: ( rule__ComponentInstance__Group__5__Impl )
- // InternalRDL.g:4105:2: rule__ComponentInstance__Group__5__Impl
+ // InternalRDL.g:4471:1: ( rule__ComponentInstance__Group__5__Impl )
+ // InternalRDL.g:4472:2: rule__ComponentInstance__Group__5__Impl
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group__5__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14486,42 +16512,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group__5__Impl"
- // InternalRDL.g:4111:1: rule__ComponentInstance__Group__5__Impl : ( ( rule__ComponentInstance__Group_5__0 )? ) ;
+ // InternalRDL.g:4478:1: rule__ComponentInstance__Group__5__Impl : ( ( rule__ComponentInstance__Group_5__0 )? ) ;
public final void rule__ComponentInstance__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4115:1: ( ( ( rule__ComponentInstance__Group_5__0 )? ) )
- // InternalRDL.g:4116:1: ( ( rule__ComponentInstance__Group_5__0 )? )
+ // InternalRDL.g:4482:1: ( ( ( rule__ComponentInstance__Group_5__0 )? ) )
+ // InternalRDL.g:4483:1: ( ( rule__ComponentInstance__Group_5__0 )? )
{
- // InternalRDL.g:4116:1: ( ( rule__ComponentInstance__Group_5__0 )? )
- // InternalRDL.g:4117:2: ( rule__ComponentInstance__Group_5__0 )?
+ // InternalRDL.g:4483:1: ( ( rule__ComponentInstance__Group_5__0 )? )
+ // InternalRDL.g:4484:2: ( rule__ComponentInstance__Group_5__0 )?
{
- before(grammarAccess.getComponentInstanceAccess().getGroup_5());
- // InternalRDL.g:4118:2: ( rule__ComponentInstance__Group_5__0 )?
- int alt41=2;
- int LA41_0 = input.LA(1);
-
- if ( (LA41_0==127) ) {
- alt41=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getGroup_5());
}
- switch (alt41) {
+ // InternalRDL.g:4485:2: ( rule__ComponentInstance__Group_5__0 )?
+ int alt40=2;
+ int LA40_0 = input.LA(1);
+
+ if ( (LA40_0==127) ) {
+ alt40=1;
+ }
+ switch (alt40) {
case 1 :
- // InternalRDL.g:4118:3: rule__ComponentInstance__Group_5__0
+ // InternalRDL.g:4485:3: rule__ComponentInstance__Group_5__0
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_5__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getComponentInstanceAccess().getGroup_5());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getGroup_5());
+ }
}
@@ -14544,25 +16574,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_2__0"
- // InternalRDL.g:4127:1: rule__ComponentInstance__Group_2__0 : rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 ;
+ // InternalRDL.g:4494:1: rule__ComponentInstance__Group_2__0 : rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 ;
public final void rule__ComponentInstance__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4131:1: ( rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 )
- // InternalRDL.g:4132:2: rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1
+ // InternalRDL.g:4498:1: ( rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 )
+ // InternalRDL.g:4499:2: rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__ComponentInstance__Group_2__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_2__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14582,21 +16612,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_2__0__Impl"
- // InternalRDL.g:4139:1: rule__ComponentInstance__Group_2__0__Impl : ( '=' ) ;
+ // InternalRDL.g:4506:1: rule__ComponentInstance__Group_2__0__Impl : ( '=' ) ;
public final void rule__ComponentInstance__Group_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4143:1: ( ( '=' ) )
- // InternalRDL.g:4144:1: ( '=' )
+ // InternalRDL.g:4510:1: ( ( '=' ) )
+ // InternalRDL.g:4511:1: ( '=' )
{
- // InternalRDL.g:4144:1: ( '=' )
- // InternalRDL.g:4145:2: '='
+ // InternalRDL.g:4511:1: ( '=' )
+ // InternalRDL.g:4512:2: '='
{
- before(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0());
+ }
}
@@ -14619,20 +16653,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_2__1"
- // InternalRDL.g:4154:1: rule__ComponentInstance__Group_2__1 : rule__ComponentInstance__Group_2__1__Impl ;
+ // InternalRDL.g:4521:1: rule__ComponentInstance__Group_2__1 : rule__ComponentInstance__Group_2__1__Impl ;
public final void rule__ComponentInstance__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4158:1: ( rule__ComponentInstance__Group_2__1__Impl )
- // InternalRDL.g:4159:2: rule__ComponentInstance__Group_2__1__Impl
+ // InternalRDL.g:4525:1: ( rule__ComponentInstance__Group_2__1__Impl )
+ // InternalRDL.g:4526:2: rule__ComponentInstance__Group_2__1__Impl
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_2__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14652,31 +16686,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_2__1__Impl"
- // InternalRDL.g:4165:1: rule__ComponentInstance__Group_2__1__Impl : ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) ;
+ // InternalRDL.g:4532:1: rule__ComponentInstance__Group_2__1__Impl : ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) ;
public final void rule__ComponentInstance__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4169:1: ( ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) )
- // InternalRDL.g:4170:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) )
+ // InternalRDL.g:4536:1: ( ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) )
+ // InternalRDL.g:4537:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) )
{
- // InternalRDL.g:4170:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) )
- // InternalRDL.g:4171:2: ( rule__ComponentInstance__ResetAssignment_2_1 )
+ // InternalRDL.g:4537:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) )
+ // InternalRDL.g:4538:2: ( rule__ComponentInstance__ResetAssignment_2_1 )
{
- before(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1());
- // InternalRDL.g:4172:2: ( rule__ComponentInstance__ResetAssignment_2_1 )
- // InternalRDL.g:4172:3: rule__ComponentInstance__ResetAssignment_2_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1());
+ }
+ // InternalRDL.g:4539:2: ( rule__ComponentInstance__ResetAssignment_2_1 )
+ // InternalRDL.g:4539:3: rule__ComponentInstance__ResetAssignment_2_1
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__ResetAssignment_2_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1());
+ }
}
@@ -14699,25 +16737,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_3__0"
- // InternalRDL.g:4181:1: rule__ComponentInstance__Group_3__0 : rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 ;
+ // InternalRDL.g:4548:1: rule__ComponentInstance__Group_3__0 : rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 ;
public final void rule__ComponentInstance__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4185:1: ( rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 )
- // InternalRDL.g:4186:2: rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1
+ // InternalRDL.g:4552:1: ( rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 )
+ // InternalRDL.g:4553:2: rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__ComponentInstance__Group_3__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_3__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14737,21 +16775,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_3__0__Impl"
- // InternalRDL.g:4193:1: rule__ComponentInstance__Group_3__0__Impl : ( '@' ) ;
+ // InternalRDL.g:4560:1: rule__ComponentInstance__Group_3__0__Impl : ( '@' ) ;
public final void rule__ComponentInstance__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4197:1: ( ( '@' ) )
- // InternalRDL.g:4198:1: ( '@' )
+ // InternalRDL.g:4564:1: ( ( '@' ) )
+ // InternalRDL.g:4565:1: ( '@' )
{
- // InternalRDL.g:4198:1: ( '@' )
- // InternalRDL.g:4199:2: '@'
+ // InternalRDL.g:4565:1: ( '@' )
+ // InternalRDL.g:4566:2: '@'
{
- before(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0());
- match(input,125,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0());
+ }
+ match(input,125,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0());
+ }
}
@@ -14774,20 +16816,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_3__1"
- // InternalRDL.g:4208:1: rule__ComponentInstance__Group_3__1 : rule__ComponentInstance__Group_3__1__Impl ;
+ // InternalRDL.g:4575:1: rule__ComponentInstance__Group_3__1 : rule__ComponentInstance__Group_3__1__Impl ;
public final void rule__ComponentInstance__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4212:1: ( rule__ComponentInstance__Group_3__1__Impl )
- // InternalRDL.g:4213:2: rule__ComponentInstance__Group_3__1__Impl
+ // InternalRDL.g:4579:1: ( rule__ComponentInstance__Group_3__1__Impl )
+ // InternalRDL.g:4580:2: rule__ComponentInstance__Group_3__1__Impl
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_3__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14807,31 +16849,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_3__1__Impl"
- // InternalRDL.g:4219:1: rule__ComponentInstance__Group_3__1__Impl : ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) ;
+ // InternalRDL.g:4586:1: rule__ComponentInstance__Group_3__1__Impl : ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) ;
public final void rule__ComponentInstance__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4223:1: ( ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) )
- // InternalRDL.g:4224:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) )
+ // InternalRDL.g:4590:1: ( ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) )
+ // InternalRDL.g:4591:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) )
{
- // InternalRDL.g:4224:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) )
- // InternalRDL.g:4225:2: ( rule__ComponentInstance__AddressAssignment_3_1 )
+ // InternalRDL.g:4591:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) )
+ // InternalRDL.g:4592:2: ( rule__ComponentInstance__AddressAssignment_3_1 )
{
- before(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1());
- // InternalRDL.g:4226:2: ( rule__ComponentInstance__AddressAssignment_3_1 )
- // InternalRDL.g:4226:3: rule__ComponentInstance__AddressAssignment_3_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1());
+ }
+ // InternalRDL.g:4593:2: ( rule__ComponentInstance__AddressAssignment_3_1 )
+ // InternalRDL.g:4593:3: rule__ComponentInstance__AddressAssignment_3_1
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__AddressAssignment_3_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1());
+ }
}
@@ -14854,25 +16900,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_4__0"
- // InternalRDL.g:4235:1: rule__ComponentInstance__Group_4__0 : rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 ;
+ // InternalRDL.g:4602:1: rule__ComponentInstance__Group_4__0 : rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 ;
public final void rule__ComponentInstance__Group_4__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4239:1: ( rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 )
- // InternalRDL.g:4240:2: rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1
+ // InternalRDL.g:4606:1: ( rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 )
+ // InternalRDL.g:4607:2: rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__ComponentInstance__Group_4__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_4__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14892,21 +16938,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_4__0__Impl"
- // InternalRDL.g:4247:1: rule__ComponentInstance__Group_4__0__Impl : ( '+=' ) ;
+ // InternalRDL.g:4614:1: rule__ComponentInstance__Group_4__0__Impl : ( '+=' ) ;
public final void rule__ComponentInstance__Group_4__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4251:1: ( ( '+=' ) )
- // InternalRDL.g:4252:1: ( '+=' )
+ // InternalRDL.g:4618:1: ( ( '+=' ) )
+ // InternalRDL.g:4619:1: ( '+=' )
{
- // InternalRDL.g:4252:1: ( '+=' )
- // InternalRDL.g:4253:2: '+='
+ // InternalRDL.g:4619:1: ( '+=' )
+ // InternalRDL.g:4620:2: '+='
{
- before(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0());
- match(input,126,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0());
+ }
+ match(input,126,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0());
+ }
}
@@ -14929,20 +16979,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_4__1"
- // InternalRDL.g:4262:1: rule__ComponentInstance__Group_4__1 : rule__ComponentInstance__Group_4__1__Impl ;
+ // InternalRDL.g:4629:1: rule__ComponentInstance__Group_4__1 : rule__ComponentInstance__Group_4__1__Impl ;
public final void rule__ComponentInstance__Group_4__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4266:1: ( rule__ComponentInstance__Group_4__1__Impl )
- // InternalRDL.g:4267:2: rule__ComponentInstance__Group_4__1__Impl
+ // InternalRDL.g:4633:1: ( rule__ComponentInstance__Group_4__1__Impl )
+ // InternalRDL.g:4634:2: rule__ComponentInstance__Group_4__1__Impl
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_4__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -14962,31 +17012,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_4__1__Impl"
- // InternalRDL.g:4273:1: rule__ComponentInstance__Group_4__1__Impl : ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) ;
+ // InternalRDL.g:4640:1: rule__ComponentInstance__Group_4__1__Impl : ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) ;
public final void rule__ComponentInstance__Group_4__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4277:1: ( ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) )
- // InternalRDL.g:4278:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) )
+ // InternalRDL.g:4644:1: ( ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) )
+ // InternalRDL.g:4645:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) )
{
- // InternalRDL.g:4278:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) )
- // InternalRDL.g:4279:2: ( rule__ComponentInstance__AddrIncAssignment_4_1 )
+ // InternalRDL.g:4645:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) )
+ // InternalRDL.g:4646:2: ( rule__ComponentInstance__AddrIncAssignment_4_1 )
{
- before(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1());
- // InternalRDL.g:4280:2: ( rule__ComponentInstance__AddrIncAssignment_4_1 )
- // InternalRDL.g:4280:3: rule__ComponentInstance__AddrIncAssignment_4_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1());
+ }
+ // InternalRDL.g:4647:2: ( rule__ComponentInstance__AddrIncAssignment_4_1 )
+ // InternalRDL.g:4647:3: rule__ComponentInstance__AddrIncAssignment_4_1
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__AddrIncAssignment_4_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1());
+ }
}
@@ -15009,25 +17063,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_5__0"
- // InternalRDL.g:4289:1: rule__ComponentInstance__Group_5__0 : rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 ;
+ // InternalRDL.g:4656:1: rule__ComponentInstance__Group_5__0 : rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 ;
public final void rule__ComponentInstance__Group_5__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4293:1: ( rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 )
- // InternalRDL.g:4294:2: rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1
+ // InternalRDL.g:4660:1: ( rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 )
+ // InternalRDL.g:4661:2: rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__ComponentInstance__Group_5__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_5__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15047,21 +17101,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_5__0__Impl"
- // InternalRDL.g:4301:1: rule__ComponentInstance__Group_5__0__Impl : ( '%=' ) ;
+ // InternalRDL.g:4668:1: rule__ComponentInstance__Group_5__0__Impl : ( '%=' ) ;
public final void rule__ComponentInstance__Group_5__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4305:1: ( ( '%=' ) )
- // InternalRDL.g:4306:1: ( '%=' )
+ // InternalRDL.g:4672:1: ( ( '%=' ) )
+ // InternalRDL.g:4673:1: ( '%=' )
{
- // InternalRDL.g:4306:1: ( '%=' )
- // InternalRDL.g:4307:2: '%='
+ // InternalRDL.g:4673:1: ( '%=' )
+ // InternalRDL.g:4674:2: '%='
{
- before(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0());
- match(input,127,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0());
+ }
+ match(input,127,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0());
+ }
}
@@ -15084,20 +17142,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_5__1"
- // InternalRDL.g:4316:1: rule__ComponentInstance__Group_5__1 : rule__ComponentInstance__Group_5__1__Impl ;
+ // InternalRDL.g:4683:1: rule__ComponentInstance__Group_5__1 : rule__ComponentInstance__Group_5__1__Impl ;
public final void rule__ComponentInstance__Group_5__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4320:1: ( rule__ComponentInstance__Group_5__1__Impl )
- // InternalRDL.g:4321:2: rule__ComponentInstance__Group_5__1__Impl
+ // InternalRDL.g:4687:1: ( rule__ComponentInstance__Group_5__1__Impl )
+ // InternalRDL.g:4688:2: rule__ComponentInstance__Group_5__1__Impl
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__Group_5__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15117,31 +17175,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__Group_5__1__Impl"
- // InternalRDL.g:4327:1: rule__ComponentInstance__Group_5__1__Impl : ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) ;
+ // InternalRDL.g:4694:1: rule__ComponentInstance__Group_5__1__Impl : ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) ;
public final void rule__ComponentInstance__Group_5__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4331:1: ( ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) )
- // InternalRDL.g:4332:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) )
+ // InternalRDL.g:4698:1: ( ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) )
+ // InternalRDL.g:4699:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) )
{
- // InternalRDL.g:4332:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) )
- // InternalRDL.g:4333:2: ( rule__ComponentInstance__AddrModAssignment_5_1 )
+ // InternalRDL.g:4699:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) )
+ // InternalRDL.g:4700:2: ( rule__ComponentInstance__AddrModAssignment_5_1 )
{
- before(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1());
- // InternalRDL.g:4334:2: ( rule__ComponentInstance__AddrModAssignment_5_1 )
- // InternalRDL.g:4334:3: rule__ComponentInstance__AddrModAssignment_5_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1());
+ }
+ // InternalRDL.g:4701:2: ( rule__ComponentInstance__AddrModAssignment_5_1 )
+ // InternalRDL.g:4701:3: rule__ComponentInstance__AddrModAssignment_5_1
{
pushFollow(FOLLOW_2);
rule__ComponentInstance__AddrModAssignment_5_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1());
+ }
}
@@ -15164,25 +17226,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group__0"
- // InternalRDL.g:4343:1: rule__Range__Group__0 : rule__Range__Group__0__Impl rule__Range__Group__1 ;
+ // InternalRDL.g:4710:1: rule__Range__Group__0 : rule__Range__Group__0__Impl rule__Range__Group__1 ;
public final void rule__Range__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4347:1: ( rule__Range__Group__0__Impl rule__Range__Group__1 )
- // InternalRDL.g:4348:2: rule__Range__Group__0__Impl rule__Range__Group__1
+ // InternalRDL.g:4714:1: ( rule__Range__Group__0__Impl rule__Range__Group__1 )
+ // InternalRDL.g:4715:2: rule__Range__Group__0__Impl rule__Range__Group__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__Range__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Range__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15202,21 +17264,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group__0__Impl"
- // InternalRDL.g:4355:1: rule__Range__Group__0__Impl : ( '[' ) ;
+ // InternalRDL.g:4722:1: rule__Range__Group__0__Impl : ( '[' ) ;
public final void rule__Range__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4359:1: ( ( '[' ) )
- // InternalRDL.g:4360:1: ( '[' )
+ // InternalRDL.g:4726:1: ( ( '[' ) )
+ // InternalRDL.g:4727:1: ( '[' )
{
- // InternalRDL.g:4360:1: ( '[' )
- // InternalRDL.g:4361:2: '['
+ // InternalRDL.g:4727:1: ( '[' )
+ // InternalRDL.g:4728:2: '['
{
- before(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0());
- match(input,128,FOLLOW_2);
- after(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0());
+ }
+ match(input,128,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0());
+ }
}
@@ -15239,25 +17305,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group__1"
- // InternalRDL.g:4370:1: rule__Range__Group__1 : rule__Range__Group__1__Impl rule__Range__Group__2 ;
+ // InternalRDL.g:4737:1: rule__Range__Group__1 : rule__Range__Group__1__Impl rule__Range__Group__2 ;
public final void rule__Range__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4374:1: ( rule__Range__Group__1__Impl rule__Range__Group__2 )
- // InternalRDL.g:4375:2: rule__Range__Group__1__Impl rule__Range__Group__2
+ // InternalRDL.g:4741:1: ( rule__Range__Group__1__Impl rule__Range__Group__2 )
+ // InternalRDL.g:4742:2: rule__Range__Group__1__Impl rule__Range__Group__2
{
- pushFollow(FOLLOW_30);
+ pushFollow(FOLLOW_28);
rule__Range__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Range__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15277,31 +17343,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group__1__Impl"
- // InternalRDL.g:4382:1: rule__Range__Group__1__Impl : ( ( rule__Range__Alternatives_1 ) ) ;
+ // InternalRDL.g:4749:1: rule__Range__Group__1__Impl : ( ( rule__Range__Alternatives_1 ) ) ;
public final void rule__Range__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4386:1: ( ( ( rule__Range__Alternatives_1 ) ) )
- // InternalRDL.g:4387:1: ( ( rule__Range__Alternatives_1 ) )
+ // InternalRDL.g:4753:1: ( ( ( rule__Range__Alternatives_1 ) ) )
+ // InternalRDL.g:4754:1: ( ( rule__Range__Alternatives_1 ) )
{
- // InternalRDL.g:4387:1: ( ( rule__Range__Alternatives_1 ) )
- // InternalRDL.g:4388:2: ( rule__Range__Alternatives_1 )
+ // InternalRDL.g:4754:1: ( ( rule__Range__Alternatives_1 ) )
+ // InternalRDL.g:4755:2: ( rule__Range__Alternatives_1 )
{
- before(grammarAccess.getRangeAccess().getAlternatives_1());
- // InternalRDL.g:4389:2: ( rule__Range__Alternatives_1 )
- // InternalRDL.g:4389:3: rule__Range__Alternatives_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getAlternatives_1());
+ }
+ // InternalRDL.g:4756:2: ( rule__Range__Alternatives_1 )
+ // InternalRDL.g:4756:3: rule__Range__Alternatives_1
{
pushFollow(FOLLOW_2);
rule__Range__Alternatives_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRangeAccess().getAlternatives_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getAlternatives_1());
+ }
}
@@ -15324,20 +17394,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group__2"
- // InternalRDL.g:4397:1: rule__Range__Group__2 : rule__Range__Group__2__Impl ;
+ // InternalRDL.g:4764:1: rule__Range__Group__2 : rule__Range__Group__2__Impl ;
public final void rule__Range__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4401:1: ( rule__Range__Group__2__Impl )
- // InternalRDL.g:4402:2: rule__Range__Group__2__Impl
+ // InternalRDL.g:4768:1: ( rule__Range__Group__2__Impl )
+ // InternalRDL.g:4769:2: rule__Range__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__Range__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15357,21 +17427,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group__2__Impl"
- // InternalRDL.g:4408:1: rule__Range__Group__2__Impl : ( ']' ) ;
+ // InternalRDL.g:4775:1: rule__Range__Group__2__Impl : ( ']' ) ;
public final void rule__Range__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4412:1: ( ( ']' ) )
- // InternalRDL.g:4413:1: ( ']' )
+ // InternalRDL.g:4779:1: ( ( ']' ) )
+ // InternalRDL.g:4780:1: ( ']' )
{
- // InternalRDL.g:4413:1: ( ']' )
- // InternalRDL.g:4414:2: ']'
+ // InternalRDL.g:4780:1: ( ']' )
+ // InternalRDL.g:4781:2: ']'
{
- before(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2());
- match(input,129,FOLLOW_2);
- after(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2());
+ }
+ match(input,129,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2());
+ }
}
@@ -15394,25 +17468,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group_1_0__0"
- // InternalRDL.g:4424:1: rule__Range__Group_1_0__0 : rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 ;
+ // InternalRDL.g:4791:1: rule__Range__Group_1_0__0 : rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 ;
public final void rule__Range__Group_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4428:1: ( rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 )
- // InternalRDL.g:4429:2: rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1
+ // InternalRDL.g:4795:1: ( rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 )
+ // InternalRDL.g:4796:2: rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1
{
- pushFollow(FOLLOW_31);
+ pushFollow(FOLLOW_29);
rule__Range__Group_1_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Range__Group_1_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15432,31 +17506,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group_1_0__0__Impl"
- // InternalRDL.g:4436:1: rule__Range__Group_1_0__0__Impl : ( ( rule__Range__StartAssignment_1_0_0 ) ) ;
+ // InternalRDL.g:4803:1: rule__Range__Group_1_0__0__Impl : ( ( rule__Range__LeftAssignment_1_0_0 ) ) ;
public final void rule__Range__Group_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4440:1: ( ( ( rule__Range__StartAssignment_1_0_0 ) ) )
- // InternalRDL.g:4441:1: ( ( rule__Range__StartAssignment_1_0_0 ) )
+ // InternalRDL.g:4807:1: ( ( ( rule__Range__LeftAssignment_1_0_0 ) ) )
+ // InternalRDL.g:4808:1: ( ( rule__Range__LeftAssignment_1_0_0 ) )
{
- // InternalRDL.g:4441:1: ( ( rule__Range__StartAssignment_1_0_0 ) )
- // InternalRDL.g:4442:2: ( rule__Range__StartAssignment_1_0_0 )
+ // InternalRDL.g:4808:1: ( ( rule__Range__LeftAssignment_1_0_0 ) )
+ // InternalRDL.g:4809:2: ( rule__Range__LeftAssignment_1_0_0 )
{
- before(grammarAccess.getRangeAccess().getStartAssignment_1_0_0());
- // InternalRDL.g:4443:2: ( rule__Range__StartAssignment_1_0_0 )
- // InternalRDL.g:4443:3: rule__Range__StartAssignment_1_0_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0());
+ }
+ // InternalRDL.g:4810:2: ( rule__Range__LeftAssignment_1_0_0 )
+ // InternalRDL.g:4810:3: rule__Range__LeftAssignment_1_0_0
{
pushFollow(FOLLOW_2);
- rule__Range__StartAssignment_1_0_0();
+ rule__Range__LeftAssignment_1_0_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRangeAccess().getStartAssignment_1_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0());
+ }
}
@@ -15479,25 +17557,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group_1_0__1"
- // InternalRDL.g:4451:1: rule__Range__Group_1_0__1 : rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 ;
+ // InternalRDL.g:4818:1: rule__Range__Group_1_0__1 : rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 ;
public final void rule__Range__Group_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4455:1: ( rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 )
- // InternalRDL.g:4456:2: rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2
+ // InternalRDL.g:4822:1: ( rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 )
+ // InternalRDL.g:4823:2: rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__Range__Group_1_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Range__Group_1_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15517,21 +17595,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group_1_0__1__Impl"
- // InternalRDL.g:4463:1: rule__Range__Group_1_0__1__Impl : ( ':' ) ;
+ // InternalRDL.g:4830:1: rule__Range__Group_1_0__1__Impl : ( ':' ) ;
public final void rule__Range__Group_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4467:1: ( ( ':' ) )
- // InternalRDL.g:4468:1: ( ':' )
+ // InternalRDL.g:4834:1: ( ( ':' ) )
+ // InternalRDL.g:4835:1: ( ':' )
{
- // InternalRDL.g:4468:1: ( ':' )
- // InternalRDL.g:4469:2: ':'
+ // InternalRDL.g:4835:1: ( ':' )
+ // InternalRDL.g:4836:2: ':'
{
- before(grammarAccess.getRangeAccess().getColonKeyword_1_0_1());
- match(input,130,FOLLOW_2);
- after(grammarAccess.getRangeAccess().getColonKeyword_1_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getColonKeyword_1_0_1());
+ }
+ match(input,130,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getColonKeyword_1_0_1());
+ }
}
@@ -15554,20 +17636,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group_1_0__2"
- // InternalRDL.g:4478:1: rule__Range__Group_1_0__2 : rule__Range__Group_1_0__2__Impl ;
+ // InternalRDL.g:4845:1: rule__Range__Group_1_0__2 : rule__Range__Group_1_0__2__Impl ;
public final void rule__Range__Group_1_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4482:1: ( rule__Range__Group_1_0__2__Impl )
- // InternalRDL.g:4483:2: rule__Range__Group_1_0__2__Impl
+ // InternalRDL.g:4849:1: ( rule__Range__Group_1_0__2__Impl )
+ // InternalRDL.g:4850:2: rule__Range__Group_1_0__2__Impl
{
pushFollow(FOLLOW_2);
rule__Range__Group_1_0__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15587,31 +17669,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Range__Group_1_0__2__Impl"
- // InternalRDL.g:4489:1: rule__Range__Group_1_0__2__Impl : ( ( rule__Range__EndAssignment_1_0_2 ) ) ;
+ // InternalRDL.g:4856:1: rule__Range__Group_1_0__2__Impl : ( ( rule__Range__RightAssignment_1_0_2 ) ) ;
public final void rule__Range__Group_1_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4493:1: ( ( ( rule__Range__EndAssignment_1_0_2 ) ) )
- // InternalRDL.g:4494:1: ( ( rule__Range__EndAssignment_1_0_2 ) )
+ // InternalRDL.g:4860:1: ( ( ( rule__Range__RightAssignment_1_0_2 ) ) )
+ // InternalRDL.g:4861:1: ( ( rule__Range__RightAssignment_1_0_2 ) )
{
- // InternalRDL.g:4494:1: ( ( rule__Range__EndAssignment_1_0_2 ) )
- // InternalRDL.g:4495:2: ( rule__Range__EndAssignment_1_0_2 )
+ // InternalRDL.g:4861:1: ( ( rule__Range__RightAssignment_1_0_2 ) )
+ // InternalRDL.g:4862:2: ( rule__Range__RightAssignment_1_0_2 )
{
- before(grammarAccess.getRangeAccess().getEndAssignment_1_0_2());
- // InternalRDL.g:4496:2: ( rule__Range__EndAssignment_1_0_2 )
- // InternalRDL.g:4496:3: rule__Range__EndAssignment_1_0_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getRightAssignment_1_0_2());
+ }
+ // InternalRDL.g:4863:2: ( rule__Range__RightAssignment_1_0_2 )
+ // InternalRDL.g:4863:3: rule__Range__RightAssignment_1_0_2
{
pushFollow(FOLLOW_2);
- rule__Range__EndAssignment_1_0_2();
+ rule__Range__RightAssignment_1_0_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getRangeAccess().getEndAssignment_1_0_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getRightAssignment_1_0_2());
+ }
}
@@ -15634,25 +17720,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DefaultProperyAssignment__Group__0"
- // InternalRDL.g:4505:1: rule__DefaultProperyAssignment__Group__0 : rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 ;
+ // InternalRDL.g:4872:1: rule__DefaultProperyAssignment__Group__0 : rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 ;
public final void rule__DefaultProperyAssignment__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4509:1: ( rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 )
- // InternalRDL.g:4510:2: rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1
+ // InternalRDL.g:4876:1: ( rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 )
+ // InternalRDL.g:4877:2: rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1
{
- pushFollow(FOLLOW_32);
+ pushFollow(FOLLOW_30);
rule__DefaultProperyAssignment__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__DefaultProperyAssignment__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15672,21 +17758,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DefaultProperyAssignment__Group__0__Impl"
- // InternalRDL.g:4517:1: rule__DefaultProperyAssignment__Group__0__Impl : ( 'default' ) ;
+ // InternalRDL.g:4884:1: rule__DefaultProperyAssignment__Group__0__Impl : ( 'default' ) ;
public final void rule__DefaultProperyAssignment__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4521:1: ( ( 'default' ) )
- // InternalRDL.g:4522:1: ( 'default' )
+ // InternalRDL.g:4888:1: ( ( 'default' ) )
+ // InternalRDL.g:4889:1: ( 'default' )
{
- // InternalRDL.g:4522:1: ( 'default' )
- // InternalRDL.g:4523:2: 'default'
+ // InternalRDL.g:4889:1: ( 'default' )
+ // InternalRDL.g:4890:2: 'default'
{
- before(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
- match(input,120,FOLLOW_2);
- after(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
+ }
+ match(input,120,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
+ }
}
@@ -15709,20 +17799,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DefaultProperyAssignment__Group__1"
- // InternalRDL.g:4532:1: rule__DefaultProperyAssignment__Group__1 : rule__DefaultProperyAssignment__Group__1__Impl ;
+ // InternalRDL.g:4899:1: rule__DefaultProperyAssignment__Group__1 : rule__DefaultProperyAssignment__Group__1__Impl ;
public final void rule__DefaultProperyAssignment__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4536:1: ( rule__DefaultProperyAssignment__Group__1__Impl )
- // InternalRDL.g:4537:2: rule__DefaultProperyAssignment__Group__1__Impl
+ // InternalRDL.g:4903:1: ( rule__DefaultProperyAssignment__Group__1__Impl )
+ // InternalRDL.g:4904:2: rule__DefaultProperyAssignment__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__DefaultProperyAssignment__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15742,25 +17832,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__DefaultProperyAssignment__Group__1__Impl"
- // InternalRDL.g:4543:1: rule__DefaultProperyAssignment__Group__1__Impl : ( ruleExplicitPropertyAssignment ) ;
+ // InternalRDL.g:4910:1: rule__DefaultProperyAssignment__Group__1__Impl : ( ruleExplicitPropertyAssignment ) ;
public final void rule__DefaultProperyAssignment__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4547:1: ( ( ruleExplicitPropertyAssignment ) )
- // InternalRDL.g:4548:1: ( ruleExplicitPropertyAssignment )
+ // InternalRDL.g:4914:1: ( ( ruleExplicitPropertyAssignment ) )
+ // InternalRDL.g:4915:1: ( ruleExplicitPropertyAssignment )
{
- // InternalRDL.g:4548:1: ( ruleExplicitPropertyAssignment )
- // InternalRDL.g:4549:2: ruleExplicitPropertyAssignment
+ // InternalRDL.g:4915:1: ( ruleExplicitPropertyAssignment )
+ // InternalRDL.g:4916:2: ruleExplicitPropertyAssignment
{
- before(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ }
pushFollow(FOLLOW_2);
ruleExplicitPropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+ }
}
@@ -15783,25 +17877,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__0"
- // InternalRDL.g:4559:1: rule__ExplicitPropertyAssignment__Group_0__0 : rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 ;
+ // InternalRDL.g:4926:1: rule__ExplicitPropertyAssignment__Group_0__0 : rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 ;
public final void rule__ExplicitPropertyAssignment__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4563:1: ( rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 )
- // InternalRDL.g:4564:2: rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1
+ // InternalRDL.g:4930:1: ( rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 )
+ // InternalRDL.g:4931:2: rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1
{
- pushFollow(FOLLOW_32);
+ pushFollow(FOLLOW_30);
rule__ExplicitPropertyAssignment__Group_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15821,31 +17915,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__0__Impl"
- // InternalRDL.g:4571:1: rule__ExplicitPropertyAssignment__Group_0__0__Impl : ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) ;
+ // InternalRDL.g:4938:1: rule__ExplicitPropertyAssignment__Group_0__0__Impl : ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) ;
public final void rule__ExplicitPropertyAssignment__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4575:1: ( ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) )
- // InternalRDL.g:4576:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) )
+ // InternalRDL.g:4942:1: ( ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) )
+ // InternalRDL.g:4943:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) )
{
- // InternalRDL.g:4576:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) )
- // InternalRDL.g:4577:2: ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 )
+ // InternalRDL.g:4943:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) )
+ // InternalRDL.g:4944:2: ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0());
- // InternalRDL.g:4578:2: ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 )
- // InternalRDL.g:4578:3: rule__ExplicitPropertyAssignment__ModifierAssignment_0_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0());
+ }
+ // InternalRDL.g:4945:2: ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 )
+ // InternalRDL.g:4945:3: rule__ExplicitPropertyAssignment__ModifierAssignment_0_0
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__ModifierAssignment_0_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0());
+ }
}
@@ -15868,25 +17966,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__1"
- // InternalRDL.g:4586:1: rule__ExplicitPropertyAssignment__Group_0__1 : rule__ExplicitPropertyAssignment__Group_0__1__Impl rule__ExplicitPropertyAssignment__Group_0__2 ;
+ // InternalRDL.g:4953:1: rule__ExplicitPropertyAssignment__Group_0__1 : rule__ExplicitPropertyAssignment__Group_0__1__Impl ;
public final void rule__ExplicitPropertyAssignment__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4590:1: ( rule__ExplicitPropertyAssignment__Group_0__1__Impl rule__ExplicitPropertyAssignment__Group_0__2 )
- // InternalRDL.g:4591:2: rule__ExplicitPropertyAssignment__Group_0__1__Impl rule__ExplicitPropertyAssignment__Group_0__2
+ // InternalRDL.g:4957:1: ( rule__ExplicitPropertyAssignment__Group_0__1__Impl )
+ // InternalRDL.g:4958:2: rule__ExplicitPropertyAssignment__Group_0__1__Impl
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_0__1__Impl();
state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__ExplicitPropertyAssignment__Group_0__2();
-
- state._fsp--;
-
+ if (state.failed) return ;
}
@@ -15906,31 +17999,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__1__Impl"
- // InternalRDL.g:4598:1: rule__ExplicitPropertyAssignment__Group_0__1__Impl : ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) ;
+ // InternalRDL.g:4964:1: rule__ExplicitPropertyAssignment__Group_0__1__Impl : ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) ;
public final void rule__ExplicitPropertyAssignment__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4602:1: ( ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) )
- // InternalRDL.g:4603:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) )
+ // InternalRDL.g:4968:1: ( ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) )
+ // InternalRDL.g:4969:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) )
{
- // InternalRDL.g:4603:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) )
- // InternalRDL.g:4604:2: ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 )
+ // InternalRDL.g:4969:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) )
+ // InternalRDL.g:4970:2: ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1());
- // InternalRDL.g:4605:2: ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 )
- // InternalRDL.g:4605:3: rule__ExplicitPropertyAssignment__NameAssignment_0_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1());
+ }
+ // InternalRDL.g:4971:2: ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 )
+ // InternalRDL.g:4971:3: rule__ExplicitPropertyAssignment__NameAssignment_0_1
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__NameAssignment_0_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1());
+ }
}
@@ -15952,96 +18049,26 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__ExplicitPropertyAssignment__Group_0__1__Impl"
- // $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__2"
- // InternalRDL.g:4613:1: rule__ExplicitPropertyAssignment__Group_0__2 : rule__ExplicitPropertyAssignment__Group_0__2__Impl ;
- public final void rule__ExplicitPropertyAssignment__Group_0__2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:4617:1: ( rule__ExplicitPropertyAssignment__Group_0__2__Impl )
- // InternalRDL.g:4618:2: rule__ExplicitPropertyAssignment__Group_0__2__Impl
- {
- pushFollow(FOLLOW_2);
- rule__ExplicitPropertyAssignment__Group_0__2__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ExplicitPropertyAssignment__Group_0__2"
-
-
- // $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__2__Impl"
- // InternalRDL.g:4624:1: rule__ExplicitPropertyAssignment__Group_0__2__Impl : ( ';' ) ;
- public final void rule__ExplicitPropertyAssignment__Group_0__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:4628:1: ( ( ';' ) )
- // InternalRDL.g:4629:1: ( ';' )
- {
- // InternalRDL.g:4629:1: ( ';' )
- // InternalRDL.g:4630:2: ';'
- {
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ExplicitPropertyAssignment__Group_0__2__Impl"
-
-
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__0"
- // InternalRDL.g:4640:1: rule__ExplicitPropertyAssignment__Group_1__0 : rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 ;
+ // InternalRDL.g:4980:1: rule__ExplicitPropertyAssignment__Group_1__0 : rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 ;
public final void rule__ExplicitPropertyAssignment__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4644:1: ( rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 )
- // InternalRDL.g:4645:2: rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1
+ // InternalRDL.g:4984:1: ( rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 )
+ // InternalRDL.g:4985:2: rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1
{
- pushFollow(FOLLOW_33);
+ pushFollow(FOLLOW_10);
rule__ExplicitPropertyAssignment__Group_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16061,31 +18088,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__0__Impl"
- // InternalRDL.g:4652:1: rule__ExplicitPropertyAssignment__Group_1__0__Impl : ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) ;
+ // InternalRDL.g:4992:1: rule__ExplicitPropertyAssignment__Group_1__0__Impl : ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) ;
public final void rule__ExplicitPropertyAssignment__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4656:1: ( ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) )
- // InternalRDL.g:4657:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) )
+ // InternalRDL.g:4996:1: ( ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) )
+ // InternalRDL.g:4997:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) )
{
- // InternalRDL.g:4657:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) )
- // InternalRDL.g:4658:2: ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 )
+ // InternalRDL.g:4997:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) )
+ // InternalRDL.g:4998:2: ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0());
- // InternalRDL.g:4659:2: ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 )
- // InternalRDL.g:4659:3: rule__ExplicitPropertyAssignment__NameAssignment_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0());
+ }
+ // InternalRDL.g:4999:2: ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 )
+ // InternalRDL.g:4999:3: rule__ExplicitPropertyAssignment__NameAssignment_1_0
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__NameAssignment_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0());
+ }
}
@@ -16108,25 +18139,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__1"
- // InternalRDL.g:4667:1: rule__ExplicitPropertyAssignment__Group_1__1 : rule__ExplicitPropertyAssignment__Group_1__1__Impl rule__ExplicitPropertyAssignment__Group_1__2 ;
+ // InternalRDL.g:5007:1: rule__ExplicitPropertyAssignment__Group_1__1 : rule__ExplicitPropertyAssignment__Group_1__1__Impl ;
public final void rule__ExplicitPropertyAssignment__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4671:1: ( rule__ExplicitPropertyAssignment__Group_1__1__Impl rule__ExplicitPropertyAssignment__Group_1__2 )
- // InternalRDL.g:4672:2: rule__ExplicitPropertyAssignment__Group_1__1__Impl rule__ExplicitPropertyAssignment__Group_1__2
+ // InternalRDL.g:5011:1: ( rule__ExplicitPropertyAssignment__Group_1__1__Impl )
+ // InternalRDL.g:5012:2: rule__ExplicitPropertyAssignment__Group_1__1__Impl
{
- pushFollow(FOLLOW_33);
+ pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_1__1__Impl();
state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__ExplicitPropertyAssignment__Group_1__2();
-
- state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16146,42 +18172,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__1__Impl"
- // InternalRDL.g:4679:1: rule__ExplicitPropertyAssignment__Group_1__1__Impl : ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) ;
+ // InternalRDL.g:5018:1: rule__ExplicitPropertyAssignment__Group_1__1__Impl : ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) ;
public final void rule__ExplicitPropertyAssignment__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4683:1: ( ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) )
- // InternalRDL.g:4684:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? )
+ // InternalRDL.g:5022:1: ( ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) )
+ // InternalRDL.g:5023:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? )
{
- // InternalRDL.g:4684:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? )
- // InternalRDL.g:4685:2: ( rule__ExplicitPropertyAssignment__Group_1_1__0 )?
+ // InternalRDL.g:5023:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? )
+ // InternalRDL.g:5024:2: ( rule__ExplicitPropertyAssignment__Group_1_1__0 )?
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1());
- // InternalRDL.g:4686:2: ( rule__ExplicitPropertyAssignment__Group_1_1__0 )?
- int alt42=2;
- int LA42_0 = input.LA(1);
-
- if ( (LA42_0==119) ) {
- alt42=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1());
}
- switch (alt42) {
+ // InternalRDL.g:5025:2: ( rule__ExplicitPropertyAssignment__Group_1_1__0 )?
+ int alt41=2;
+ int LA41_0 = input.LA(1);
+
+ if ( (LA41_0==119) ) {
+ alt41=1;
+ }
+ switch (alt41) {
case 1 :
- // InternalRDL.g:4686:3: rule__ExplicitPropertyAssignment__Group_1_1__0
+ // InternalRDL.g:5025:3: rule__ExplicitPropertyAssignment__Group_1_1__0
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_1_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1());
+ }
}
@@ -16203,96 +18233,26 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__1__Impl"
- // $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__2"
- // InternalRDL.g:4694:1: rule__ExplicitPropertyAssignment__Group_1__2 : rule__ExplicitPropertyAssignment__Group_1__2__Impl ;
- public final void rule__ExplicitPropertyAssignment__Group_1__2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:4698:1: ( rule__ExplicitPropertyAssignment__Group_1__2__Impl )
- // InternalRDL.g:4699:2: rule__ExplicitPropertyAssignment__Group_1__2__Impl
- {
- pushFollow(FOLLOW_2);
- rule__ExplicitPropertyAssignment__Group_1__2__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__2"
-
-
- // $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__2__Impl"
- // InternalRDL.g:4705:1: rule__ExplicitPropertyAssignment__Group_1__2__Impl : ( ';' ) ;
- public final void rule__ExplicitPropertyAssignment__Group_1__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:4709:1: ( ( ';' ) )
- // InternalRDL.g:4710:1: ( ';' )
- {
- // InternalRDL.g:4710:1: ( ';' )
- // InternalRDL.g:4711:2: ';'
- {
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__2__Impl"
-
-
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1_1__0"
- // InternalRDL.g:4721:1: rule__ExplicitPropertyAssignment__Group_1_1__0 : rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 ;
+ // InternalRDL.g:5034:1: rule__ExplicitPropertyAssignment__Group_1_1__0 : rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 ;
public final void rule__ExplicitPropertyAssignment__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4725:1: ( rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 )
- // InternalRDL.g:4726:2: rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1
+ // InternalRDL.g:5038:1: ( rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 )
+ // InternalRDL.g:5039:2: rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1
{
- pushFollow(FOLLOW_34);
+ pushFollow(FOLLOW_31);
rule__ExplicitPropertyAssignment__Group_1_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_1_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16312,21 +18272,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1_1__0__Impl"
- // InternalRDL.g:4733:1: rule__ExplicitPropertyAssignment__Group_1_1__0__Impl : ( '=' ) ;
+ // InternalRDL.g:5046:1: rule__ExplicitPropertyAssignment__Group_1_1__0__Impl : ( '=' ) ;
public final void rule__ExplicitPropertyAssignment__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4737:1: ( ( '=' ) )
- // InternalRDL.g:4738:1: ( '=' )
+ // InternalRDL.g:5050:1: ( ( '=' ) )
+ // InternalRDL.g:5051:1: ( '=' )
{
- // InternalRDL.g:4738:1: ( '=' )
- // InternalRDL.g:4739:2: '='
+ // InternalRDL.g:5051:1: ( '=' )
+ // InternalRDL.g:5052:2: '='
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
+ }
}
@@ -16349,20 +18313,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1_1__1"
- // InternalRDL.g:4748:1: rule__ExplicitPropertyAssignment__Group_1_1__1 : rule__ExplicitPropertyAssignment__Group_1_1__1__Impl ;
+ // InternalRDL.g:5061:1: rule__ExplicitPropertyAssignment__Group_1_1__1 : rule__ExplicitPropertyAssignment__Group_1_1__1__Impl ;
public final void rule__ExplicitPropertyAssignment__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4752:1: ( rule__ExplicitPropertyAssignment__Group_1_1__1__Impl )
- // InternalRDL.g:4753:2: rule__ExplicitPropertyAssignment__Group_1_1__1__Impl
+ // InternalRDL.g:5065:1: ( rule__ExplicitPropertyAssignment__Group_1_1__1__Impl )
+ // InternalRDL.g:5066:2: rule__ExplicitPropertyAssignment__Group_1_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__Group_1_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16382,31 +18346,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__Group_1_1__1__Impl"
- // InternalRDL.g:4759:1: rule__ExplicitPropertyAssignment__Group_1_1__1__Impl : ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) ;
+ // InternalRDL.g:5072:1: rule__ExplicitPropertyAssignment__Group_1_1__1__Impl : ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) ;
public final void rule__ExplicitPropertyAssignment__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4763:1: ( ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) )
- // InternalRDL.g:4764:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) )
+ // InternalRDL.g:5076:1: ( ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) )
+ // InternalRDL.g:5077:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) )
{
- // InternalRDL.g:4764:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) )
- // InternalRDL.g:4765:2: ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 )
+ // InternalRDL.g:5077:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) )
+ // InternalRDL.g:5078:2: ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 )
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1());
- // InternalRDL.g:4766:2: ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 )
- // InternalRDL.g:4766:3: rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1());
+ }
+ // InternalRDL.g:5079:2: ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 )
+ // InternalRDL.g:5079:3: rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1
{
pushFollow(FOLLOW_2);
rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1());
+ }
}
@@ -16429,25 +18397,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group__0"
- // InternalRDL.g:4775:1: rule__PostPropertyAssignment__Group__0 : rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 ;
+ // InternalRDL.g:5088:1: rule__PostPropertyAssignment__Group__0 : rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 ;
public final void rule__PostPropertyAssignment__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4779:1: ( rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 )
- // InternalRDL.g:4780:2: rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1
+ // InternalRDL.g:5092:1: ( rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 )
+ // InternalRDL.g:5093:2: rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1
{
- pushFollow(FOLLOW_33);
+ pushFollow(FOLLOW_10);
rule__PostPropertyAssignment__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16467,31 +18435,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group__0__Impl"
- // InternalRDL.g:4787:1: rule__PostPropertyAssignment__Group__0__Impl : ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) ;
+ // InternalRDL.g:5100:1: rule__PostPropertyAssignment__Group__0__Impl : ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) ;
public final void rule__PostPropertyAssignment__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4791:1: ( ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) )
- // InternalRDL.g:4792:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) )
+ // InternalRDL.g:5104:1: ( ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) )
+ // InternalRDL.g:5105:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) )
{
- // InternalRDL.g:4792:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) )
- // InternalRDL.g:4793:2: ( rule__PostPropertyAssignment__Alternatives_0 )
+ // InternalRDL.g:5105:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) )
+ // InternalRDL.g:5106:2: ( rule__PostPropertyAssignment__Alternatives_0 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0());
- // InternalRDL.g:4794:2: ( rule__PostPropertyAssignment__Alternatives_0 )
- // InternalRDL.g:4794:3: rule__PostPropertyAssignment__Alternatives_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0());
+ }
+ // InternalRDL.g:5107:2: ( rule__PostPropertyAssignment__Alternatives_0 )
+ // InternalRDL.g:5107:3: rule__PostPropertyAssignment__Alternatives_0
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Alternatives_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0());
+ }
}
@@ -16514,25 +18486,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group__1"
- // InternalRDL.g:4802:1: rule__PostPropertyAssignment__Group__1 : rule__PostPropertyAssignment__Group__1__Impl rule__PostPropertyAssignment__Group__2 ;
+ // InternalRDL.g:5115:1: rule__PostPropertyAssignment__Group__1 : rule__PostPropertyAssignment__Group__1__Impl ;
public final void rule__PostPropertyAssignment__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4806:1: ( rule__PostPropertyAssignment__Group__1__Impl rule__PostPropertyAssignment__Group__2 )
- // InternalRDL.g:4807:2: rule__PostPropertyAssignment__Group__1__Impl rule__PostPropertyAssignment__Group__2
+ // InternalRDL.g:5119:1: ( rule__PostPropertyAssignment__Group__1__Impl )
+ // InternalRDL.g:5120:2: rule__PostPropertyAssignment__Group__1__Impl
{
- pushFollow(FOLLOW_33);
+ pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group__1__Impl();
state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__PostPropertyAssignment__Group__2();
-
- state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16552,42 +18519,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group__1__Impl"
- // InternalRDL.g:4814:1: rule__PostPropertyAssignment__Group__1__Impl : ( ( rule__PostPropertyAssignment__Group_1__0 )? ) ;
+ // InternalRDL.g:5126:1: rule__PostPropertyAssignment__Group__1__Impl : ( ( rule__PostPropertyAssignment__Group_1__0 )? ) ;
public final void rule__PostPropertyAssignment__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4818:1: ( ( ( rule__PostPropertyAssignment__Group_1__0 )? ) )
- // InternalRDL.g:4819:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? )
+ // InternalRDL.g:5130:1: ( ( ( rule__PostPropertyAssignment__Group_1__0 )? ) )
+ // InternalRDL.g:5131:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? )
{
- // InternalRDL.g:4819:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? )
- // InternalRDL.g:4820:2: ( rule__PostPropertyAssignment__Group_1__0 )?
+ // InternalRDL.g:5131:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? )
+ // InternalRDL.g:5132:2: ( rule__PostPropertyAssignment__Group_1__0 )?
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1());
- // InternalRDL.g:4821:2: ( rule__PostPropertyAssignment__Group_1__0 )?
- int alt43=2;
- int LA43_0 = input.LA(1);
-
- if ( (LA43_0==119) ) {
- alt43=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1());
}
- switch (alt43) {
+ // InternalRDL.g:5133:2: ( rule__PostPropertyAssignment__Group_1__0 )?
+ int alt42=2;
+ int LA42_0 = input.LA(1);
+
+ if ( (LA42_0==119) ) {
+ alt42=1;
+ }
+ switch (alt42) {
case 1 :
- // InternalRDL.g:4821:3: rule__PostPropertyAssignment__Group_1__0
+ // InternalRDL.g:5133:3: rule__PostPropertyAssignment__Group_1__0
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1());
+ }
}
@@ -16609,96 +18580,26 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__PostPropertyAssignment__Group__1__Impl"
- // $ANTLR start "rule__PostPropertyAssignment__Group__2"
- // InternalRDL.g:4829:1: rule__PostPropertyAssignment__Group__2 : rule__PostPropertyAssignment__Group__2__Impl ;
- public final void rule__PostPropertyAssignment__Group__2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:4833:1: ( rule__PostPropertyAssignment__Group__2__Impl )
- // InternalRDL.g:4834:2: rule__PostPropertyAssignment__Group__2__Impl
- {
- pushFollow(FOLLOW_2);
- rule__PostPropertyAssignment__Group__2__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__PostPropertyAssignment__Group__2"
-
-
- // $ANTLR start "rule__PostPropertyAssignment__Group__2__Impl"
- // InternalRDL.g:4840:1: rule__PostPropertyAssignment__Group__2__Impl : ( ';' ) ;
- public final void rule__PostPropertyAssignment__Group__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:4844:1: ( ( ';' ) )
- // InternalRDL.g:4845:1: ( ';' )
- {
- // InternalRDL.g:4845:1: ( ';' )
- // InternalRDL.g:4846:2: ';'
- {
- before(grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__PostPropertyAssignment__Group__2__Impl"
-
-
// $ANTLR start "rule__PostPropertyAssignment__Group_0_0__0"
- // InternalRDL.g:4856:1: rule__PostPropertyAssignment__Group_0_0__0 : rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 ;
+ // InternalRDL.g:5142:1: rule__PostPropertyAssignment__Group_0_0__0 : rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 ;
public final void rule__PostPropertyAssignment__Group_0_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4860:1: ( rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 )
- // InternalRDL.g:4861:2: rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1
+ // InternalRDL.g:5146:1: ( rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 )
+ // InternalRDL.g:5147:2: rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1
{
- pushFollow(FOLLOW_35);
+ pushFollow(FOLLOW_32);
rule__PostPropertyAssignment__Group_0_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_0_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16718,31 +18619,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_0_0__0__Impl"
- // InternalRDL.g:4868:1: rule__PostPropertyAssignment__Group_0_0__0__Impl : ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) ;
+ // InternalRDL.g:5154:1: rule__PostPropertyAssignment__Group_0_0__0__Impl : ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) ;
public final void rule__PostPropertyAssignment__Group_0_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4872:1: ( ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) )
- // InternalRDL.g:4873:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) )
+ // InternalRDL.g:5158:1: ( ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) )
+ // InternalRDL.g:5159:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) )
{
- // InternalRDL.g:4873:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) )
- // InternalRDL.g:4874:2: ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 )
+ // InternalRDL.g:5159:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) )
+ // InternalRDL.g:5160:2: ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0());
- // InternalRDL.g:4875:2: ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 )
- // InternalRDL.g:4875:3: rule__PostPropertyAssignment__InstanceAssignment_0_0_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0());
+ }
+ // InternalRDL.g:5161:2: ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 )
+ // InternalRDL.g:5161:3: rule__PostPropertyAssignment__InstanceAssignment_0_0_0
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__InstanceAssignment_0_0_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0());
+ }
}
@@ -16765,25 +18670,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_0_0__1"
- // InternalRDL.g:4883:1: rule__PostPropertyAssignment__Group_0_0__1 : rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 ;
+ // InternalRDL.g:5169:1: rule__PostPropertyAssignment__Group_0_0__1 : rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 ;
public final void rule__PostPropertyAssignment__Group_0_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4887:1: ( rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 )
- // InternalRDL.g:4888:2: rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2
+ // InternalRDL.g:5173:1: ( rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 )
+ // InternalRDL.g:5174:2: rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2
{
- pushFollow(FOLLOW_36);
+ pushFollow(FOLLOW_33);
rule__PostPropertyAssignment__Group_0_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_0_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16803,21 +18708,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_0_0__1__Impl"
- // InternalRDL.g:4895:1: rule__PostPropertyAssignment__Group_0_0__1__Impl : ( '->' ) ;
+ // InternalRDL.g:5181:1: rule__PostPropertyAssignment__Group_0_0__1__Impl : ( '->' ) ;
public final void rule__PostPropertyAssignment__Group_0_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4899:1: ( ( '->' ) )
- // InternalRDL.g:4900:1: ( '->' )
+ // InternalRDL.g:5185:1: ( ( '->' ) )
+ // InternalRDL.g:5186:1: ( '->' )
{
- // InternalRDL.g:4900:1: ( '->' )
- // InternalRDL.g:4901:2: '->'
+ // InternalRDL.g:5186:1: ( '->' )
+ // InternalRDL.g:5187:2: '->'
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1());
- match(input,131,FOLLOW_2);
- after(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1());
+ }
+ match(input,131,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1());
+ }
}
@@ -16840,20 +18749,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_0_0__2"
- // InternalRDL.g:4910:1: rule__PostPropertyAssignment__Group_0_0__2 : rule__PostPropertyAssignment__Group_0_0__2__Impl ;
+ // InternalRDL.g:5196:1: rule__PostPropertyAssignment__Group_0_0__2 : rule__PostPropertyAssignment__Group_0_0__2__Impl ;
public final void rule__PostPropertyAssignment__Group_0_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4914:1: ( rule__PostPropertyAssignment__Group_0_0__2__Impl )
- // InternalRDL.g:4915:2: rule__PostPropertyAssignment__Group_0_0__2__Impl
+ // InternalRDL.g:5200:1: ( rule__PostPropertyAssignment__Group_0_0__2__Impl )
+ // InternalRDL.g:5201:2: rule__PostPropertyAssignment__Group_0_0__2__Impl
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_0_0__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16873,31 +18782,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_0_0__2__Impl"
- // InternalRDL.g:4921:1: rule__PostPropertyAssignment__Group_0_0__2__Impl : ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) ;
+ // InternalRDL.g:5207:1: rule__PostPropertyAssignment__Group_0_0__2__Impl : ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) ;
public final void rule__PostPropertyAssignment__Group_0_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4925:1: ( ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) )
- // InternalRDL.g:4926:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) )
+ // InternalRDL.g:5211:1: ( ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) )
+ // InternalRDL.g:5212:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) )
{
- // InternalRDL.g:4926:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) )
- // InternalRDL.g:4927:2: ( rule__PostPropertyAssignment__Alternatives_0_0_2 )
+ // InternalRDL.g:5212:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) )
+ // InternalRDL.g:5213:2: ( rule__PostPropertyAssignment__Alternatives_0_0_2 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2());
- // InternalRDL.g:4928:2: ( rule__PostPropertyAssignment__Alternatives_0_0_2 )
- // InternalRDL.g:4928:3: rule__PostPropertyAssignment__Alternatives_0_0_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2());
+ }
+ // InternalRDL.g:5214:2: ( rule__PostPropertyAssignment__Alternatives_0_0_2 )
+ // InternalRDL.g:5214:3: rule__PostPropertyAssignment__Alternatives_0_0_2
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Alternatives_0_0_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2());
+ }
}
@@ -16920,25 +18833,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_1__0"
- // InternalRDL.g:4937:1: rule__PostPropertyAssignment__Group_1__0 : rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 ;
+ // InternalRDL.g:5223:1: rule__PostPropertyAssignment__Group_1__0 : rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 ;
public final void rule__PostPropertyAssignment__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4941:1: ( rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 )
- // InternalRDL.g:4942:2: rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1
+ // InternalRDL.g:5227:1: ( rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 )
+ // InternalRDL.g:5228:2: rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1
{
- pushFollow(FOLLOW_34);
+ pushFollow(FOLLOW_31);
rule__PostPropertyAssignment__Group_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -16958,21 +18871,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_1__0__Impl"
- // InternalRDL.g:4949:1: rule__PostPropertyAssignment__Group_1__0__Impl : ( '=' ) ;
+ // InternalRDL.g:5235:1: rule__PostPropertyAssignment__Group_1__0__Impl : ( '=' ) ;
public final void rule__PostPropertyAssignment__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4953:1: ( ( '=' ) )
- // InternalRDL.g:4954:1: ( '=' )
+ // InternalRDL.g:5239:1: ( ( '=' ) )
+ // InternalRDL.g:5240:1: ( '=' )
{
- // InternalRDL.g:4954:1: ( '=' )
- // InternalRDL.g:4955:2: '='
+ // InternalRDL.g:5240:1: ( '=' )
+ // InternalRDL.g:5241:2: '='
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0());
+ }
}
@@ -16995,20 +18912,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_1__1"
- // InternalRDL.g:4964:1: rule__PostPropertyAssignment__Group_1__1 : rule__PostPropertyAssignment__Group_1__1__Impl ;
+ // InternalRDL.g:5250:1: rule__PostPropertyAssignment__Group_1__1 : rule__PostPropertyAssignment__Group_1__1__Impl ;
public final void rule__PostPropertyAssignment__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4968:1: ( rule__PostPropertyAssignment__Group_1__1__Impl )
- // InternalRDL.g:4969:2: rule__PostPropertyAssignment__Group_1__1__Impl
+ // InternalRDL.g:5254:1: ( rule__PostPropertyAssignment__Group_1__1__Impl )
+ // InternalRDL.g:5255:2: rule__PostPropertyAssignment__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__Group_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17028,31 +18945,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__Group_1__1__Impl"
- // InternalRDL.g:4975:1: rule__PostPropertyAssignment__Group_1__1__Impl : ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) ;
+ // InternalRDL.g:5261:1: rule__PostPropertyAssignment__Group_1__1__Impl : ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) ;
public final void rule__PostPropertyAssignment__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4979:1: ( ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) )
- // InternalRDL.g:4980:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) )
+ // InternalRDL.g:5265:1: ( ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) )
+ // InternalRDL.g:5266:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) )
{
- // InternalRDL.g:4980:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) )
- // InternalRDL.g:4981:2: ( rule__PostPropertyAssignment__RhsAssignment_1_1 )
+ // InternalRDL.g:5266:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) )
+ // InternalRDL.g:5267:2: ( rule__PostPropertyAssignment__RhsAssignment_1_1 )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1());
- // InternalRDL.g:4982:2: ( rule__PostPropertyAssignment__RhsAssignment_1_1 )
- // InternalRDL.g:4982:3: rule__PostPropertyAssignment__RhsAssignment_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1());
+ }
+ // InternalRDL.g:5268:2: ( rule__PostPropertyAssignment__RhsAssignment_1_1 )
+ // InternalRDL.g:5268:3: rule__PostPropertyAssignment__RhsAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__PostPropertyAssignment__RhsAssignment_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1());
+ }
}
@@ -17075,25 +18996,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group__0"
- // InternalRDL.g:4991:1: rule__InstancePropertyRef__Group__0 : rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 ;
+ // InternalRDL.g:5277:1: rule__InstancePropertyRef__Group__0 : rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 ;
public final void rule__InstancePropertyRef__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:4995:1: ( rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 )
- // InternalRDL.g:4996:2: rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1
+ // InternalRDL.g:5281:1: ( rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 )
+ // InternalRDL.g:5282:2: rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1
{
- pushFollow(FOLLOW_35);
+ pushFollow(FOLLOW_32);
rule__InstancePropertyRef__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17113,31 +19034,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group__0__Impl"
- // InternalRDL.g:5003:1: rule__InstancePropertyRef__Group__0__Impl : ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) ;
+ // InternalRDL.g:5289:1: rule__InstancePropertyRef__Group__0__Impl : ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) ;
public final void rule__InstancePropertyRef__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5007:1: ( ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) )
- // InternalRDL.g:5008:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) )
+ // InternalRDL.g:5293:1: ( ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) )
+ // InternalRDL.g:5294:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) )
{
- // InternalRDL.g:5008:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) )
- // InternalRDL.g:5009:2: ( rule__InstancePropertyRef__InstanceAssignment_0 )
+ // InternalRDL.g:5294:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) )
+ // InternalRDL.g:5295:2: ( rule__InstancePropertyRef__InstanceAssignment_0 )
{
- before(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0());
- // InternalRDL.g:5010:2: ( rule__InstancePropertyRef__InstanceAssignment_0 )
- // InternalRDL.g:5010:3: rule__InstancePropertyRef__InstanceAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0());
+ }
+ // InternalRDL.g:5296:2: ( rule__InstancePropertyRef__InstanceAssignment_0 )
+ // InternalRDL.g:5296:3: rule__InstancePropertyRef__InstanceAssignment_0
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__InstanceAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0());
+ }
}
@@ -17160,20 +19085,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group__1"
- // InternalRDL.g:5018:1: rule__InstancePropertyRef__Group__1 : rule__InstancePropertyRef__Group__1__Impl ;
+ // InternalRDL.g:5304:1: rule__InstancePropertyRef__Group__1 : rule__InstancePropertyRef__Group__1__Impl ;
public final void rule__InstancePropertyRef__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5022:1: ( rule__InstancePropertyRef__Group__1__Impl )
- // InternalRDL.g:5023:2: rule__InstancePropertyRef__Group__1__Impl
+ // InternalRDL.g:5308:1: ( rule__InstancePropertyRef__Group__1__Impl )
+ // InternalRDL.g:5309:2: rule__InstancePropertyRef__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17193,42 +19118,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group__1__Impl"
- // InternalRDL.g:5029:1: rule__InstancePropertyRef__Group__1__Impl : ( ( rule__InstancePropertyRef__Group_1__0 )? ) ;
+ // InternalRDL.g:5315:1: rule__InstancePropertyRef__Group__1__Impl : ( ( rule__InstancePropertyRef__Group_1__0 )? ) ;
public final void rule__InstancePropertyRef__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5033:1: ( ( ( rule__InstancePropertyRef__Group_1__0 )? ) )
- // InternalRDL.g:5034:1: ( ( rule__InstancePropertyRef__Group_1__0 )? )
+ // InternalRDL.g:5319:1: ( ( ( rule__InstancePropertyRef__Group_1__0 )? ) )
+ // InternalRDL.g:5320:1: ( ( rule__InstancePropertyRef__Group_1__0 )? )
{
- // InternalRDL.g:5034:1: ( ( rule__InstancePropertyRef__Group_1__0 )? )
- // InternalRDL.g:5035:2: ( rule__InstancePropertyRef__Group_1__0 )?
+ // InternalRDL.g:5320:1: ( ( rule__InstancePropertyRef__Group_1__0 )? )
+ // InternalRDL.g:5321:2: ( rule__InstancePropertyRef__Group_1__0 )?
{
- before(grammarAccess.getInstancePropertyRefAccess().getGroup_1());
- // InternalRDL.g:5036:2: ( rule__InstancePropertyRef__Group_1__0 )?
- int alt44=2;
- int LA44_0 = input.LA(1);
-
- if ( (LA44_0==131) ) {
- alt44=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getGroup_1());
}
- switch (alt44) {
+ // InternalRDL.g:5322:2: ( rule__InstancePropertyRef__Group_1__0 )?
+ int alt43=2;
+ int LA43_0 = input.LA(1);
+
+ if ( (LA43_0==131) ) {
+ alt43=1;
+ }
+ switch (alt43) {
case 1 :
- // InternalRDL.g:5036:3: rule__InstancePropertyRef__Group_1__0
+ // InternalRDL.g:5322:3: rule__InstancePropertyRef__Group_1__0
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Group_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getInstancePropertyRefAccess().getGroup_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getGroup_1());
+ }
}
@@ -17251,25 +19180,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group_1__0"
- // InternalRDL.g:5045:1: rule__InstancePropertyRef__Group_1__0 : rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 ;
+ // InternalRDL.g:5331:1: rule__InstancePropertyRef__Group_1__0 : rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 ;
public final void rule__InstancePropertyRef__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5049:1: ( rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 )
- // InternalRDL.g:5050:2: rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1
+ // InternalRDL.g:5335:1: ( rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 )
+ // InternalRDL.g:5336:2: rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1
{
- pushFollow(FOLLOW_36);
+ pushFollow(FOLLOW_33);
rule__InstancePropertyRef__Group_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Group_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17289,21 +19218,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group_1__0__Impl"
- // InternalRDL.g:5057:1: rule__InstancePropertyRef__Group_1__0__Impl : ( '->' ) ;
+ // InternalRDL.g:5343:1: rule__InstancePropertyRef__Group_1__0__Impl : ( '->' ) ;
public final void rule__InstancePropertyRef__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5061:1: ( ( '->' ) )
- // InternalRDL.g:5062:1: ( '->' )
+ // InternalRDL.g:5347:1: ( ( '->' ) )
+ // InternalRDL.g:5348:1: ( '->' )
{
- // InternalRDL.g:5062:1: ( '->' )
- // InternalRDL.g:5063:2: '->'
+ // InternalRDL.g:5348:1: ( '->' )
+ // InternalRDL.g:5349:2: '->'
{
- before(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0());
- match(input,131,FOLLOW_2);
- after(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0());
+ }
+ match(input,131,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0());
+ }
}
@@ -17326,20 +19259,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group_1__1"
- // InternalRDL.g:5072:1: rule__InstancePropertyRef__Group_1__1 : rule__InstancePropertyRef__Group_1__1__Impl ;
+ // InternalRDL.g:5358:1: rule__InstancePropertyRef__Group_1__1 : rule__InstancePropertyRef__Group_1__1__Impl ;
public final void rule__InstancePropertyRef__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5076:1: ( rule__InstancePropertyRef__Group_1__1__Impl )
- // InternalRDL.g:5077:2: rule__InstancePropertyRef__Group_1__1__Impl
+ // InternalRDL.g:5362:1: ( rule__InstancePropertyRef__Group_1__1__Impl )
+ // InternalRDL.g:5363:2: rule__InstancePropertyRef__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Group_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17359,31 +19292,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__Group_1__1__Impl"
- // InternalRDL.g:5083:1: rule__InstancePropertyRef__Group_1__1__Impl : ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) ;
+ // InternalRDL.g:5369:1: rule__InstancePropertyRef__Group_1__1__Impl : ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) ;
public final void rule__InstancePropertyRef__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5087:1: ( ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) )
- // InternalRDL.g:5088:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) )
+ // InternalRDL.g:5373:1: ( ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) )
+ // InternalRDL.g:5374:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) )
{
- // InternalRDL.g:5088:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) )
- // InternalRDL.g:5089:2: ( rule__InstancePropertyRef__Alternatives_1_1 )
+ // InternalRDL.g:5374:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) )
+ // InternalRDL.g:5375:2: ( rule__InstancePropertyRef__Alternatives_1_1 )
{
- before(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1());
- // InternalRDL.g:5090:2: ( rule__InstancePropertyRef__Alternatives_1_1 )
- // InternalRDL.g:5090:3: rule__InstancePropertyRef__Alternatives_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1());
+ }
+ // InternalRDL.g:5376:2: ( rule__InstancePropertyRef__Alternatives_1_1 )
+ // InternalRDL.g:5376:3: rule__InstancePropertyRef__Alternatives_1_1
{
pushFollow(FOLLOW_2);
rule__InstancePropertyRef__Alternatives_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1());
+ }
}
@@ -17406,25 +19343,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group__0"
- // InternalRDL.g:5099:1: rule__InstanceRef__Group__0 : rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 ;
+ // InternalRDL.g:5385:1: rule__InstanceRef__Group__0 : rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 ;
public final void rule__InstanceRef__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5103:1: ( rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 )
- // InternalRDL.g:5104:2: rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1
+ // InternalRDL.g:5389:1: ( rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 )
+ // InternalRDL.g:5390:2: rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1
{
- pushFollow(FOLLOW_37);
+ pushFollow(FOLLOW_34);
rule__InstanceRef__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__InstanceRef__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17444,31 +19381,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group__0__Impl"
- // InternalRDL.g:5111:1: rule__InstanceRef__Group__0__Impl : ( ( rule__InstanceRef__InstanceAssignment_0 ) ) ;
+ // InternalRDL.g:5397:1: rule__InstanceRef__Group__0__Impl : ( ( rule__InstanceRef__InstanceAssignment_0 ) ) ;
public final void rule__InstanceRef__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5115:1: ( ( ( rule__InstanceRef__InstanceAssignment_0 ) ) )
- // InternalRDL.g:5116:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) )
+ // InternalRDL.g:5401:1: ( ( ( rule__InstanceRef__InstanceAssignment_0 ) ) )
+ // InternalRDL.g:5402:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) )
{
- // InternalRDL.g:5116:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) )
- // InternalRDL.g:5117:2: ( rule__InstanceRef__InstanceAssignment_0 )
+ // InternalRDL.g:5402:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) )
+ // InternalRDL.g:5403:2: ( rule__InstanceRef__InstanceAssignment_0 )
{
- before(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0());
- // InternalRDL.g:5118:2: ( rule__InstanceRef__InstanceAssignment_0 )
- // InternalRDL.g:5118:3: rule__InstanceRef__InstanceAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0());
+ }
+ // InternalRDL.g:5404:2: ( rule__InstanceRef__InstanceAssignment_0 )
+ // InternalRDL.g:5404:3: rule__InstanceRef__InstanceAssignment_0
{
pushFollow(FOLLOW_2);
rule__InstanceRef__InstanceAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0());
+ }
}
@@ -17491,20 +19432,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group__1"
- // InternalRDL.g:5126:1: rule__InstanceRef__Group__1 : rule__InstanceRef__Group__1__Impl ;
+ // InternalRDL.g:5412:1: rule__InstanceRef__Group__1 : rule__InstanceRef__Group__1__Impl ;
public final void rule__InstanceRef__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5130:1: ( rule__InstanceRef__Group__1__Impl )
- // InternalRDL.g:5131:2: rule__InstanceRef__Group__1__Impl
+ // InternalRDL.g:5416:1: ( rule__InstanceRef__Group__1__Impl )
+ // InternalRDL.g:5417:2: rule__InstanceRef__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__InstanceRef__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17524,42 +19465,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group__1__Impl"
- // InternalRDL.g:5137:1: rule__InstanceRef__Group__1__Impl : ( ( rule__InstanceRef__Group_1__0 )? ) ;
+ // InternalRDL.g:5423:1: rule__InstanceRef__Group__1__Impl : ( ( rule__InstanceRef__Group_1__0 )? ) ;
public final void rule__InstanceRef__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5141:1: ( ( ( rule__InstanceRef__Group_1__0 )? ) )
- // InternalRDL.g:5142:1: ( ( rule__InstanceRef__Group_1__0 )? )
+ // InternalRDL.g:5427:1: ( ( ( rule__InstanceRef__Group_1__0 )? ) )
+ // InternalRDL.g:5428:1: ( ( rule__InstanceRef__Group_1__0 )? )
{
- // InternalRDL.g:5142:1: ( ( rule__InstanceRef__Group_1__0 )? )
- // InternalRDL.g:5143:2: ( rule__InstanceRef__Group_1__0 )?
+ // InternalRDL.g:5428:1: ( ( rule__InstanceRef__Group_1__0 )? )
+ // InternalRDL.g:5429:2: ( rule__InstanceRef__Group_1__0 )?
{
- before(grammarAccess.getInstanceRefAccess().getGroup_1());
- // InternalRDL.g:5144:2: ( rule__InstanceRef__Group_1__0 )?
- int alt45=2;
- int LA45_0 = input.LA(1);
-
- if ( (LA45_0==132) ) {
- alt45=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getGroup_1());
}
- switch (alt45) {
+ // InternalRDL.g:5430:2: ( rule__InstanceRef__Group_1__0 )?
+ int alt44=2;
+ int LA44_0 = input.LA(1);
+
+ if ( (LA44_0==132) ) {
+ alt44=1;
+ }
+ switch (alt44) {
case 1 :
- // InternalRDL.g:5144:3: rule__InstanceRef__Group_1__0
+ // InternalRDL.g:5430:3: rule__InstanceRef__Group_1__0
{
pushFollow(FOLLOW_2);
rule__InstanceRef__Group_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getInstanceRefAccess().getGroup_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getGroup_1());
+ }
}
@@ -17582,25 +19527,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group_1__0"
- // InternalRDL.g:5153:1: rule__InstanceRef__Group_1__0 : rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 ;
+ // InternalRDL.g:5439:1: rule__InstanceRef__Group_1__0 : rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 ;
public final void rule__InstanceRef__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5157:1: ( rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 )
- // InternalRDL.g:5158:2: rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1
+ // InternalRDL.g:5443:1: ( rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 )
+ // InternalRDL.g:5444:2: rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1
{
- pushFollow(FOLLOW_5);
+ pushFollow(FOLLOW_6);
rule__InstanceRef__Group_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__InstanceRef__Group_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17620,21 +19565,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group_1__0__Impl"
- // InternalRDL.g:5165:1: rule__InstanceRef__Group_1__0__Impl : ( '.' ) ;
+ // InternalRDL.g:5451:1: rule__InstanceRef__Group_1__0__Impl : ( '.' ) ;
public final void rule__InstanceRef__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5169:1: ( ( '.' ) )
- // InternalRDL.g:5170:1: ( '.' )
+ // InternalRDL.g:5455:1: ( ( '.' ) )
+ // InternalRDL.g:5456:1: ( '.' )
{
- // InternalRDL.g:5170:1: ( '.' )
- // InternalRDL.g:5171:2: '.'
+ // InternalRDL.g:5456:1: ( '.' )
+ // InternalRDL.g:5457:2: '.'
{
- before(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0());
- match(input,132,FOLLOW_2);
- after(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0());
+ }
+ match(input,132,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0());
+ }
}
@@ -17657,20 +19606,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group_1__1"
- // InternalRDL.g:5180:1: rule__InstanceRef__Group_1__1 : rule__InstanceRef__Group_1__1__Impl ;
+ // InternalRDL.g:5466:1: rule__InstanceRef__Group_1__1 : rule__InstanceRef__Group_1__1__Impl ;
public final void rule__InstanceRef__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5184:1: ( rule__InstanceRef__Group_1__1__Impl )
- // InternalRDL.g:5185:2: rule__InstanceRef__Group_1__1__Impl
+ // InternalRDL.g:5470:1: ( rule__InstanceRef__Group_1__1__Impl )
+ // InternalRDL.g:5471:2: rule__InstanceRef__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__InstanceRef__Group_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17690,31 +19639,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__Group_1__1__Impl"
- // InternalRDL.g:5191:1: rule__InstanceRef__Group_1__1__Impl : ( ( rule__InstanceRef__TailAssignment_1_1 ) ) ;
+ // InternalRDL.g:5477:1: rule__InstanceRef__Group_1__1__Impl : ( ( rule__InstanceRef__TailAssignment_1_1 ) ) ;
public final void rule__InstanceRef__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5195:1: ( ( ( rule__InstanceRef__TailAssignment_1_1 ) ) )
- // InternalRDL.g:5196:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) )
+ // InternalRDL.g:5481:1: ( ( ( rule__InstanceRef__TailAssignment_1_1 ) ) )
+ // InternalRDL.g:5482:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) )
{
- // InternalRDL.g:5196:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) )
- // InternalRDL.g:5197:2: ( rule__InstanceRef__TailAssignment_1_1 )
+ // InternalRDL.g:5482:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) )
+ // InternalRDL.g:5483:2: ( rule__InstanceRef__TailAssignment_1_1 )
{
- before(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1());
- // InternalRDL.g:5198:2: ( rule__InstanceRef__TailAssignment_1_1 )
- // InternalRDL.g:5198:3: rule__InstanceRef__TailAssignment_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1());
+ }
+ // InternalRDL.g:5484:2: ( rule__InstanceRef__TailAssignment_1_1 )
+ // InternalRDL.g:5484:3: rule__InstanceRef__TailAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__InstanceRef__TailAssignment_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1());
+ }
}
@@ -17737,25 +19690,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group__0"
- // InternalRDL.g:5207:1: rule__HierInstanceRef__Group__0 : rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 ;
+ // InternalRDL.g:5493:1: rule__HierInstanceRef__Group__0 : rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 ;
public final void rule__HierInstanceRef__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5211:1: ( rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 )
- // InternalRDL.g:5212:2: rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1
+ // InternalRDL.g:5497:1: ( rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 )
+ // InternalRDL.g:5498:2: rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1
{
- pushFollow(FOLLOW_37);
+ pushFollow(FOLLOW_34);
rule__HierInstanceRef__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__HierInstanceRef__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17775,31 +19728,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group__0__Impl"
- // InternalRDL.g:5219:1: rule__HierInstanceRef__Group__0__Impl : ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) ;
+ // InternalRDL.g:5505:1: rule__HierInstanceRef__Group__0__Impl : ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) ;
public final void rule__HierInstanceRef__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5223:1: ( ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) )
- // InternalRDL.g:5224:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) )
+ // InternalRDL.g:5509:1: ( ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) )
+ // InternalRDL.g:5510:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) )
{
- // InternalRDL.g:5224:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) )
- // InternalRDL.g:5225:2: ( rule__HierInstanceRef__InstanceAssignment_0 )
+ // InternalRDL.g:5510:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) )
+ // InternalRDL.g:5511:2: ( rule__HierInstanceRef__InstanceAssignment_0 )
{
- before(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0());
- // InternalRDL.g:5226:2: ( rule__HierInstanceRef__InstanceAssignment_0 )
- // InternalRDL.g:5226:3: rule__HierInstanceRef__InstanceAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0());
+ }
+ // InternalRDL.g:5512:2: ( rule__HierInstanceRef__InstanceAssignment_0 )
+ // InternalRDL.g:5512:3: rule__HierInstanceRef__InstanceAssignment_0
{
pushFollow(FOLLOW_2);
rule__HierInstanceRef__InstanceAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0());
+ }
}
@@ -17822,20 +19779,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group__1"
- // InternalRDL.g:5234:1: rule__HierInstanceRef__Group__1 : rule__HierInstanceRef__Group__1__Impl ;
+ // InternalRDL.g:5520:1: rule__HierInstanceRef__Group__1 : rule__HierInstanceRef__Group__1__Impl ;
public final void rule__HierInstanceRef__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5238:1: ( rule__HierInstanceRef__Group__1__Impl )
- // InternalRDL.g:5239:2: rule__HierInstanceRef__Group__1__Impl
+ // InternalRDL.g:5524:1: ( rule__HierInstanceRef__Group__1__Impl )
+ // InternalRDL.g:5525:2: rule__HierInstanceRef__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__HierInstanceRef__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17855,42 +19812,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group__1__Impl"
- // InternalRDL.g:5245:1: rule__HierInstanceRef__Group__1__Impl : ( ( rule__HierInstanceRef__Group_1__0 )? ) ;
+ // InternalRDL.g:5531:1: rule__HierInstanceRef__Group__1__Impl : ( ( rule__HierInstanceRef__Group_1__0 )? ) ;
public final void rule__HierInstanceRef__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5249:1: ( ( ( rule__HierInstanceRef__Group_1__0 )? ) )
- // InternalRDL.g:5250:1: ( ( rule__HierInstanceRef__Group_1__0 )? )
+ // InternalRDL.g:5535:1: ( ( ( rule__HierInstanceRef__Group_1__0 )? ) )
+ // InternalRDL.g:5536:1: ( ( rule__HierInstanceRef__Group_1__0 )? )
{
- // InternalRDL.g:5250:1: ( ( rule__HierInstanceRef__Group_1__0 )? )
- // InternalRDL.g:5251:2: ( rule__HierInstanceRef__Group_1__0 )?
+ // InternalRDL.g:5536:1: ( ( rule__HierInstanceRef__Group_1__0 )? )
+ // InternalRDL.g:5537:2: ( rule__HierInstanceRef__Group_1__0 )?
{
- before(grammarAccess.getHierInstanceRefAccess().getGroup_1());
- // InternalRDL.g:5252:2: ( rule__HierInstanceRef__Group_1__0 )?
- int alt46=2;
- int LA46_0 = input.LA(1);
-
- if ( (LA46_0==132) ) {
- alt46=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getGroup_1());
}
- switch (alt46) {
+ // InternalRDL.g:5538:2: ( rule__HierInstanceRef__Group_1__0 )?
+ int alt45=2;
+ int LA45_0 = input.LA(1);
+
+ if ( (LA45_0==132) ) {
+ alt45=1;
+ }
+ switch (alt45) {
case 1 :
- // InternalRDL.g:5252:3: rule__HierInstanceRef__Group_1__0
+ // InternalRDL.g:5538:3: rule__HierInstanceRef__Group_1__0
{
pushFollow(FOLLOW_2);
rule__HierInstanceRef__Group_1__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getHierInstanceRefAccess().getGroup_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getGroup_1());
+ }
}
@@ -17913,25 +19874,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group_1__0"
- // InternalRDL.g:5261:1: rule__HierInstanceRef__Group_1__0 : rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 ;
+ // InternalRDL.g:5547:1: rule__HierInstanceRef__Group_1__0 : rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 ;
public final void rule__HierInstanceRef__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5265:1: ( rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 )
- // InternalRDL.g:5266:2: rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1
+ // InternalRDL.g:5551:1: ( rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 )
+ // InternalRDL.g:5552:2: rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1
{
- pushFollow(FOLLOW_5);
+ pushFollow(FOLLOW_6);
rule__HierInstanceRef__Group_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__HierInstanceRef__Group_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -17951,21 +19912,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group_1__0__Impl"
- // InternalRDL.g:5273:1: rule__HierInstanceRef__Group_1__0__Impl : ( '.' ) ;
+ // InternalRDL.g:5559:1: rule__HierInstanceRef__Group_1__0__Impl : ( '.' ) ;
public final void rule__HierInstanceRef__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5277:1: ( ( '.' ) )
- // InternalRDL.g:5278:1: ( '.' )
+ // InternalRDL.g:5563:1: ( ( '.' ) )
+ // InternalRDL.g:5564:1: ( '.' )
{
- // InternalRDL.g:5278:1: ( '.' )
- // InternalRDL.g:5279:2: '.'
+ // InternalRDL.g:5564:1: ( '.' )
+ // InternalRDL.g:5565:2: '.'
{
- before(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0());
- match(input,132,FOLLOW_2);
- after(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0());
+ }
+ match(input,132,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0());
+ }
}
@@ -17988,20 +19953,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group_1__1"
- // InternalRDL.g:5288:1: rule__HierInstanceRef__Group_1__1 : rule__HierInstanceRef__Group_1__1__Impl ;
+ // InternalRDL.g:5574:1: rule__HierInstanceRef__Group_1__1 : rule__HierInstanceRef__Group_1__1__Impl ;
public final void rule__HierInstanceRef__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5292:1: ( rule__HierInstanceRef__Group_1__1__Impl )
- // InternalRDL.g:5293:2: rule__HierInstanceRef__Group_1__1__Impl
+ // InternalRDL.g:5578:1: ( rule__HierInstanceRef__Group_1__1__Impl )
+ // InternalRDL.g:5579:2: rule__HierInstanceRef__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__HierInstanceRef__Group_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18021,31 +19986,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__Group_1__1__Impl"
- // InternalRDL.g:5299:1: rule__HierInstanceRef__Group_1__1__Impl : ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) ;
+ // InternalRDL.g:5585:1: rule__HierInstanceRef__Group_1__1__Impl : ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) ;
public final void rule__HierInstanceRef__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5303:1: ( ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) )
- // InternalRDL.g:5304:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) )
+ // InternalRDL.g:5589:1: ( ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) )
+ // InternalRDL.g:5590:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) )
{
- // InternalRDL.g:5304:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) )
- // InternalRDL.g:5305:2: ( rule__HierInstanceRef__TailAssignment_1_1 )
+ // InternalRDL.g:5590:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) )
+ // InternalRDL.g:5591:2: ( rule__HierInstanceRef__TailAssignment_1_1 )
{
- before(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1());
- // InternalRDL.g:5306:2: ( rule__HierInstanceRef__TailAssignment_1_1 )
- // InternalRDL.g:5306:3: rule__HierInstanceRef__TailAssignment_1_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1());
+ }
+ // InternalRDL.g:5592:2: ( rule__HierInstanceRef__TailAssignment_1_1 )
+ // InternalRDL.g:5592:3: rule__HierInstanceRef__TailAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__HierInstanceRef__TailAssignment_1_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1());
+ }
}
@@ -18068,25 +20037,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Group_2__0"
- // InternalRDL.g:5315:1: rule__PropertyAssignmentRhs__Group_2__0 : rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 ;
+ // InternalRDL.g:5601:1: rule__PropertyAssignmentRhs__Group_2__0 : rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 ;
public final void rule__PropertyAssignmentRhs__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5319:1: ( rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 )
- // InternalRDL.g:5320:2: rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1
+ // InternalRDL.g:5605:1: ( rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 )
+ // InternalRDL.g:5606:2: rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1
{
- pushFollow(FOLLOW_38);
+ pushFollow(FOLLOW_35);
rule__PropertyAssignmentRhs__Group_2__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__Group_2__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18106,31 +20075,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Group_2__0__Impl"
- // InternalRDL.g:5327:1: rule__PropertyAssignmentRhs__Group_2__0__Impl : ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) ;
+ // InternalRDL.g:5613:1: rule__PropertyAssignmentRhs__Group_2__0__Impl : ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) ;
public final void rule__PropertyAssignmentRhs__Group_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5331:1: ( ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) )
- // InternalRDL.g:5332:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) )
+ // InternalRDL.g:5617:1: ( ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) )
+ // InternalRDL.g:5618:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) )
{
- // InternalRDL.g:5332:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) )
- // InternalRDL.g:5333:2: ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 )
+ // InternalRDL.g:5618:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) )
+ // InternalRDL.g:5619:2: ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0());
- // InternalRDL.g:5334:2: ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 )
- // InternalRDL.g:5334:3: rule__PropertyAssignmentRhs__EnumRefAssignment_2_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0());
+ }
+ // InternalRDL.g:5620:2: ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 )
+ // InternalRDL.g:5620:3: rule__PropertyAssignmentRhs__EnumRefAssignment_2_0
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__EnumRefAssignment_2_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0());
+ }
}
@@ -18153,25 +20126,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Group_2__1"
- // InternalRDL.g:5342:1: rule__PropertyAssignmentRhs__Group_2__1 : rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 ;
+ // InternalRDL.g:5628:1: rule__PropertyAssignmentRhs__Group_2__1 : rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 ;
public final void rule__PropertyAssignmentRhs__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5346:1: ( rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 )
- // InternalRDL.g:5347:2: rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2
+ // InternalRDL.g:5632:1: ( rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 )
+ // InternalRDL.g:5633:2: rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2
{
- pushFollow(FOLLOW_6);
+ pushFollow(FOLLOW_7);
rule__PropertyAssignmentRhs__Group_2__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__Group_2__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18191,21 +20164,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Group_2__1__Impl"
- // InternalRDL.g:5354:1: rule__PropertyAssignmentRhs__Group_2__1__Impl : ( 'enum' ) ;
+ // InternalRDL.g:5640:1: rule__PropertyAssignmentRhs__Group_2__1__Impl : ( 'enum' ) ;
public final void rule__PropertyAssignmentRhs__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5358:1: ( ( 'enum' ) )
- // InternalRDL.g:5359:1: ( 'enum' )
+ // InternalRDL.g:5644:1: ( ( 'enum' ) )
+ // InternalRDL.g:5645:1: ( 'enum' )
{
- // InternalRDL.g:5359:1: ( 'enum' )
- // InternalRDL.g:5360:2: 'enum'
+ // InternalRDL.g:5645:1: ( 'enum' )
+ // InternalRDL.g:5646:2: 'enum'
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1());
- match(input,133,FOLLOW_2);
- after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1());
+ }
+ match(input,133,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1());
+ }
}
@@ -18228,20 +20205,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Group_2__2"
- // InternalRDL.g:5369:1: rule__PropertyAssignmentRhs__Group_2__2 : rule__PropertyAssignmentRhs__Group_2__2__Impl ;
+ // InternalRDL.g:5655:1: rule__PropertyAssignmentRhs__Group_2__2 : rule__PropertyAssignmentRhs__Group_2__2__Impl ;
public final void rule__PropertyAssignmentRhs__Group_2__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5373:1: ( rule__PropertyAssignmentRhs__Group_2__2__Impl )
- // InternalRDL.g:5374:2: rule__PropertyAssignmentRhs__Group_2__2__Impl
+ // InternalRDL.g:5659:1: ( rule__PropertyAssignmentRhs__Group_2__2__Impl )
+ // InternalRDL.g:5660:2: rule__PropertyAssignmentRhs__Group_2__2__Impl
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__Group_2__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18261,31 +20238,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__Group_2__2__Impl"
- // InternalRDL.g:5380:1: rule__PropertyAssignmentRhs__Group_2__2__Impl : ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) ;
+ // InternalRDL.g:5666:1: rule__PropertyAssignmentRhs__Group_2__2__Impl : ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) ;
public final void rule__PropertyAssignmentRhs__Group_2__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5384:1: ( ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) )
- // InternalRDL.g:5385:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) )
+ // InternalRDL.g:5670:1: ( ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) )
+ // InternalRDL.g:5671:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) )
{
- // InternalRDL.g:5385:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) )
- // InternalRDL.g:5386:2: ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 )
+ // InternalRDL.g:5671:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) )
+ // InternalRDL.g:5672:2: ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2());
- // InternalRDL.g:5387:2: ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 )
- // InternalRDL.g:5387:3: rule__PropertyAssignmentRhs__EnumsAssignment_2_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2());
+ }
+ // InternalRDL.g:5673:2: ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 )
+ // InternalRDL.g:5673:3: rule__PropertyAssignmentRhs__EnumsAssignment_2_2
{
pushFollow(FOLLOW_2);
rule__PropertyAssignmentRhs__EnumsAssignment_2_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2());
+ }
}
@@ -18308,25 +20289,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__0"
- // InternalRDL.g:5396:1: rule__Concat__Group__0 : rule__Concat__Group__0__Impl rule__Concat__Group__1 ;
+ // InternalRDL.g:5682:1: rule__Concat__Group__0 : rule__Concat__Group__0__Impl rule__Concat__Group__1 ;
public final void rule__Concat__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5400:1: ( rule__Concat__Group__0__Impl rule__Concat__Group__1 )
- // InternalRDL.g:5401:2: rule__Concat__Group__0__Impl rule__Concat__Group__1
+ // InternalRDL.g:5686:1: ( rule__Concat__Group__0__Impl rule__Concat__Group__1 )
+ // InternalRDL.g:5687:2: rule__Concat__Group__0__Impl rule__Concat__Group__1
{
- pushFollow(FOLLOW_39);
+ pushFollow(FOLLOW_36);
rule__Concat__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Concat__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18346,21 +20327,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__0__Impl"
- // InternalRDL.g:5408:1: rule__Concat__Group__0__Impl : ( '{' ) ;
+ // InternalRDL.g:5694:1: rule__Concat__Group__0__Impl : ( '{' ) ;
public final void rule__Concat__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5412:1: ( ( '{' ) )
- // InternalRDL.g:5413:1: ( '{' )
+ // InternalRDL.g:5698:1: ( ( '{' ) )
+ // InternalRDL.g:5699:1: ( '{' )
{
- // InternalRDL.g:5413:1: ( '{' )
- // InternalRDL.g:5414:2: '{'
+ // InternalRDL.g:5699:1: ( '{' )
+ // InternalRDL.g:5700:2: '{'
{
- before(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0());
- match(input,115,FOLLOW_2);
- after(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0());
+ }
+ match(input,116,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0());
+ }
}
@@ -18383,25 +20368,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__1"
- // InternalRDL.g:5423:1: rule__Concat__Group__1 : rule__Concat__Group__1__Impl rule__Concat__Group__2 ;
+ // InternalRDL.g:5709:1: rule__Concat__Group__1 : rule__Concat__Group__1__Impl rule__Concat__Group__2 ;
public final void rule__Concat__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5427:1: ( rule__Concat__Group__1__Impl rule__Concat__Group__2 )
- // InternalRDL.g:5428:2: rule__Concat__Group__1__Impl rule__Concat__Group__2
+ // InternalRDL.g:5713:1: ( rule__Concat__Group__1__Impl rule__Concat__Group__2 )
+ // InternalRDL.g:5714:2: rule__Concat__Group__1__Impl rule__Concat__Group__2
{
- pushFollow(FOLLOW_40);
+ pushFollow(FOLLOW_37);
rule__Concat__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Concat__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18421,31 +20406,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__1__Impl"
- // InternalRDL.g:5435:1: rule__Concat__Group__1__Impl : ( ( rule__Concat__ElementsAssignment_1 ) ) ;
+ // InternalRDL.g:5721:1: rule__Concat__Group__1__Impl : ( ( rule__Concat__ElementsAssignment_1 ) ) ;
public final void rule__Concat__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5439:1: ( ( ( rule__Concat__ElementsAssignment_1 ) ) )
- // InternalRDL.g:5440:1: ( ( rule__Concat__ElementsAssignment_1 ) )
+ // InternalRDL.g:5725:1: ( ( ( rule__Concat__ElementsAssignment_1 ) ) )
+ // InternalRDL.g:5726:1: ( ( rule__Concat__ElementsAssignment_1 ) )
{
- // InternalRDL.g:5440:1: ( ( rule__Concat__ElementsAssignment_1 ) )
- // InternalRDL.g:5441:2: ( rule__Concat__ElementsAssignment_1 )
+ // InternalRDL.g:5726:1: ( ( rule__Concat__ElementsAssignment_1 ) )
+ // InternalRDL.g:5727:2: ( rule__Concat__ElementsAssignment_1 )
{
- before(grammarAccess.getConcatAccess().getElementsAssignment_1());
- // InternalRDL.g:5442:2: ( rule__Concat__ElementsAssignment_1 )
- // InternalRDL.g:5442:3: rule__Concat__ElementsAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getElementsAssignment_1());
+ }
+ // InternalRDL.g:5728:2: ( rule__Concat__ElementsAssignment_1 )
+ // InternalRDL.g:5728:3: rule__Concat__ElementsAssignment_1
{
pushFollow(FOLLOW_2);
rule__Concat__ElementsAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getConcatAccess().getElementsAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getElementsAssignment_1());
+ }
}
@@ -18468,25 +20457,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__2"
- // InternalRDL.g:5450:1: rule__Concat__Group__2 : rule__Concat__Group__2__Impl rule__Concat__Group__3 ;
+ // InternalRDL.g:5736:1: rule__Concat__Group__2 : rule__Concat__Group__2__Impl rule__Concat__Group__3 ;
public final void rule__Concat__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5454:1: ( rule__Concat__Group__2__Impl rule__Concat__Group__3 )
- // InternalRDL.g:5455:2: rule__Concat__Group__2__Impl rule__Concat__Group__3
+ // InternalRDL.g:5740:1: ( rule__Concat__Group__2__Impl rule__Concat__Group__3 )
+ // InternalRDL.g:5741:2: rule__Concat__Group__2__Impl rule__Concat__Group__3
{
- pushFollow(FOLLOW_40);
+ pushFollow(FOLLOW_37);
rule__Concat__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Concat__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18506,49 +20495,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__2__Impl"
- // InternalRDL.g:5462:1: rule__Concat__Group__2__Impl : ( ( rule__Concat__Group_2__0 )* ) ;
+ // InternalRDL.g:5748:1: rule__Concat__Group__2__Impl : ( ( rule__Concat__Group_2__0 )* ) ;
public final void rule__Concat__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5466:1: ( ( ( rule__Concat__Group_2__0 )* ) )
- // InternalRDL.g:5467:1: ( ( rule__Concat__Group_2__0 )* )
+ // InternalRDL.g:5752:1: ( ( ( rule__Concat__Group_2__0 )* ) )
+ // InternalRDL.g:5753:1: ( ( rule__Concat__Group_2__0 )* )
{
- // InternalRDL.g:5467:1: ( ( rule__Concat__Group_2__0 )* )
- // InternalRDL.g:5468:2: ( rule__Concat__Group_2__0 )*
+ // InternalRDL.g:5753:1: ( ( rule__Concat__Group_2__0 )* )
+ // InternalRDL.g:5754:2: ( rule__Concat__Group_2__0 )*
{
- before(grammarAccess.getConcatAccess().getGroup_2());
- // InternalRDL.g:5469:2: ( rule__Concat__Group_2__0 )*
- loop47:
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getGroup_2());
+ }
+ // InternalRDL.g:5755:2: ( rule__Concat__Group_2__0 )*
+ loop46:
do {
- int alt47=2;
- int LA47_0 = input.LA(1);
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA47_0==124) ) {
- alt47=1;
+ if ( (LA46_0==124) ) {
+ alt46=1;
}
- switch (alt47) {
+ switch (alt46) {
case 1 :
- // InternalRDL.g:5469:3: rule__Concat__Group_2__0
+ // InternalRDL.g:5755:3: rule__Concat__Group_2__0
{
- pushFollow(FOLLOW_26);
+ pushFollow(FOLLOW_23);
rule__Concat__Group_2__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
default :
- break loop47;
+ break loop46;
}
} while (true);
- after(grammarAccess.getConcatAccess().getGroup_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getGroup_2());
+ }
}
@@ -18571,20 +20564,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__3"
- // InternalRDL.g:5477:1: rule__Concat__Group__3 : rule__Concat__Group__3__Impl ;
+ // InternalRDL.g:5763:1: rule__Concat__Group__3 : rule__Concat__Group__3__Impl ;
public final void rule__Concat__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5481:1: ( rule__Concat__Group__3__Impl )
- // InternalRDL.g:5482:2: rule__Concat__Group__3__Impl
+ // InternalRDL.g:5767:1: ( rule__Concat__Group__3__Impl )
+ // InternalRDL.g:5768:2: rule__Concat__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__Concat__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18604,21 +20597,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group__3__Impl"
- // InternalRDL.g:5488:1: rule__Concat__Group__3__Impl : ( '}' ) ;
+ // InternalRDL.g:5774:1: rule__Concat__Group__3__Impl : ( '}' ) ;
public final void rule__Concat__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5492:1: ( ( '}' ) )
- // InternalRDL.g:5493:1: ( '}' )
+ // InternalRDL.g:5778:1: ( ( '}' ) )
+ // InternalRDL.g:5779:1: ( '}' )
{
- // InternalRDL.g:5493:1: ( '}' )
- // InternalRDL.g:5494:2: '}'
+ // InternalRDL.g:5779:1: ( '}' )
+ // InternalRDL.g:5780:2: '}'
{
- before(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3());
- match(input,116,FOLLOW_2);
- after(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3());
+ }
+ match(input,117,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3());
+ }
}
@@ -18641,25 +20638,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group_2__0"
- // InternalRDL.g:5504:1: rule__Concat__Group_2__0 : rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 ;
+ // InternalRDL.g:5790:1: rule__Concat__Group_2__0 : rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 ;
public final void rule__Concat__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5508:1: ( rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 )
- // InternalRDL.g:5509:2: rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1
+ // InternalRDL.g:5794:1: ( rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 )
+ // InternalRDL.g:5795:2: rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1
{
- pushFollow(FOLLOW_39);
+ pushFollow(FOLLOW_36);
rule__Concat__Group_2__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__Concat__Group_2__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18679,21 +20676,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group_2__0__Impl"
- // InternalRDL.g:5516:1: rule__Concat__Group_2__0__Impl : ( ',' ) ;
+ // InternalRDL.g:5802:1: rule__Concat__Group_2__0__Impl : ( ',' ) ;
public final void rule__Concat__Group_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5520:1: ( ( ',' ) )
- // InternalRDL.g:5521:1: ( ',' )
+ // InternalRDL.g:5806:1: ( ( ',' ) )
+ // InternalRDL.g:5807:1: ( ',' )
{
- // InternalRDL.g:5521:1: ( ',' )
- // InternalRDL.g:5522:2: ','
+ // InternalRDL.g:5807:1: ( ',' )
+ // InternalRDL.g:5808:2: ','
{
- before(grammarAccess.getConcatAccess().getCommaKeyword_2_0());
- match(input,124,FOLLOW_2);
- after(grammarAccess.getConcatAccess().getCommaKeyword_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getCommaKeyword_2_0());
+ }
+ match(input,124,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getCommaKeyword_2_0());
+ }
}
@@ -18716,20 +20717,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group_2__1"
- // InternalRDL.g:5531:1: rule__Concat__Group_2__1 : rule__Concat__Group_2__1__Impl ;
+ // InternalRDL.g:5817:1: rule__Concat__Group_2__1 : rule__Concat__Group_2__1__Impl ;
public final void rule__Concat__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5535:1: ( rule__Concat__Group_2__1__Impl )
- // InternalRDL.g:5536:2: rule__Concat__Group_2__1__Impl
+ // InternalRDL.g:5821:1: ( rule__Concat__Group_2__1__Impl )
+ // InternalRDL.g:5822:2: rule__Concat__Group_2__1__Impl
{
pushFollow(FOLLOW_2);
rule__Concat__Group_2__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18749,31 +20750,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__Group_2__1__Impl"
- // InternalRDL.g:5542:1: rule__Concat__Group_2__1__Impl : ( ( rule__Concat__ElementsAssignment_2_1 ) ) ;
+ // InternalRDL.g:5828:1: rule__Concat__Group_2__1__Impl : ( ( rule__Concat__ElementsAssignment_2_1 ) ) ;
public final void rule__Concat__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5546:1: ( ( ( rule__Concat__ElementsAssignment_2_1 ) ) )
- // InternalRDL.g:5547:1: ( ( rule__Concat__ElementsAssignment_2_1 ) )
+ // InternalRDL.g:5832:1: ( ( ( rule__Concat__ElementsAssignment_2_1 ) ) )
+ // InternalRDL.g:5833:1: ( ( rule__Concat__ElementsAssignment_2_1 ) )
{
- // InternalRDL.g:5547:1: ( ( rule__Concat__ElementsAssignment_2_1 ) )
- // InternalRDL.g:5548:2: ( rule__Concat__ElementsAssignment_2_1 )
+ // InternalRDL.g:5833:1: ( ( rule__Concat__ElementsAssignment_2_1 ) )
+ // InternalRDL.g:5834:2: ( rule__Concat__ElementsAssignment_2_1 )
{
- before(grammarAccess.getConcatAccess().getElementsAssignment_2_1());
- // InternalRDL.g:5549:2: ( rule__Concat__ElementsAssignment_2_1 )
- // InternalRDL.g:5549:3: rule__Concat__ElementsAssignment_2_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getElementsAssignment_2_1());
+ }
+ // InternalRDL.g:5835:2: ( rule__Concat__ElementsAssignment_2_1 )
+ // InternalRDL.g:5835:3: rule__Concat__ElementsAssignment_2_1
{
pushFollow(FOLLOW_2);
rule__Concat__ElementsAssignment_2_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getConcatAccess().getElementsAssignment_2_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getElementsAssignment_2_1());
+ }
}
@@ -18796,25 +20801,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__Group__0"
- // InternalRDL.g:5558:1: rule__EnumDefinition__Group__0 : rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 ;
+ // InternalRDL.g:5844:1: rule__EnumDefinition__Group__0 : rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 ;
public final void rule__EnumDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5562:1: ( rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 )
- // InternalRDL.g:5563:2: rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1
+ // InternalRDL.g:5848:1: ( rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 )
+ // InternalRDL.g:5849:2: rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1
{
- pushFollow(FOLLOW_5);
+ pushFollow(FOLLOW_6);
rule__EnumDefinition__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumDefinition__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18834,21 +20839,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__Group__0__Impl"
- // InternalRDL.g:5570:1: rule__EnumDefinition__Group__0__Impl : ( 'enum' ) ;
+ // InternalRDL.g:5856:1: rule__EnumDefinition__Group__0__Impl : ( 'enum' ) ;
public final void rule__EnumDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5574:1: ( ( 'enum' ) )
- // InternalRDL.g:5575:1: ( 'enum' )
+ // InternalRDL.g:5860:1: ( ( 'enum' ) )
+ // InternalRDL.g:5861:1: ( 'enum' )
{
- // InternalRDL.g:5575:1: ( 'enum' )
- // InternalRDL.g:5576:2: 'enum'
+ // InternalRDL.g:5861:1: ( 'enum' )
+ // InternalRDL.g:5862:2: 'enum'
{
- before(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0());
- match(input,133,FOLLOW_2);
- after(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0());
+ }
+ match(input,133,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0());
+ }
}
@@ -18871,25 +20880,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__Group__1"
- // InternalRDL.g:5585:1: rule__EnumDefinition__Group__1 : rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 ;
+ // InternalRDL.g:5871:1: rule__EnumDefinition__Group__1 : rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 ;
public final void rule__EnumDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5589:1: ( rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 )
- // InternalRDL.g:5590:2: rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2
+ // InternalRDL.g:5875:1: ( rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 )
+ // InternalRDL.g:5876:2: rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2
{
- pushFollow(FOLLOW_6);
+ pushFollow(FOLLOW_7);
rule__EnumDefinition__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumDefinition__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18909,31 +20918,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__Group__1__Impl"
- // InternalRDL.g:5597:1: rule__EnumDefinition__Group__1__Impl : ( ( rule__EnumDefinition__NameAssignment_1 ) ) ;
+ // InternalRDL.g:5883:1: rule__EnumDefinition__Group__1__Impl : ( ( rule__EnumDefinition__NameAssignment_1 ) ) ;
public final void rule__EnumDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5601:1: ( ( ( rule__EnumDefinition__NameAssignment_1 ) ) )
- // InternalRDL.g:5602:1: ( ( rule__EnumDefinition__NameAssignment_1 ) )
+ // InternalRDL.g:5887:1: ( ( ( rule__EnumDefinition__NameAssignment_1 ) ) )
+ // InternalRDL.g:5888:1: ( ( rule__EnumDefinition__NameAssignment_1 ) )
{
- // InternalRDL.g:5602:1: ( ( rule__EnumDefinition__NameAssignment_1 ) )
- // InternalRDL.g:5603:2: ( rule__EnumDefinition__NameAssignment_1 )
+ // InternalRDL.g:5888:1: ( ( rule__EnumDefinition__NameAssignment_1 ) )
+ // InternalRDL.g:5889:2: ( rule__EnumDefinition__NameAssignment_1 )
{
- before(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1());
- // InternalRDL.g:5604:2: ( rule__EnumDefinition__NameAssignment_1 )
- // InternalRDL.g:5604:3: rule__EnumDefinition__NameAssignment_1
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1());
+ }
+ // InternalRDL.g:5890:2: ( rule__EnumDefinition__NameAssignment_1 )
+ // InternalRDL.g:5890:3: rule__EnumDefinition__NameAssignment_1
{
pushFollow(FOLLOW_2);
rule__EnumDefinition__NameAssignment_1();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1());
+ }
}
@@ -18956,25 +20969,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__Group__2"
- // InternalRDL.g:5612:1: rule__EnumDefinition__Group__2 : rule__EnumDefinition__Group__2__Impl rule__EnumDefinition__Group__3 ;
+ // InternalRDL.g:5898:1: rule__EnumDefinition__Group__2 : rule__EnumDefinition__Group__2__Impl ;
public final void rule__EnumDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5616:1: ( rule__EnumDefinition__Group__2__Impl rule__EnumDefinition__Group__3 )
- // InternalRDL.g:5617:2: rule__EnumDefinition__Group__2__Impl rule__EnumDefinition__Group__3
+ // InternalRDL.g:5902:1: ( rule__EnumDefinition__Group__2__Impl )
+ // InternalRDL.g:5903:2: rule__EnumDefinition__Group__2__Impl
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_2);
rule__EnumDefinition__Group__2__Impl();
state._fsp--;
-
- pushFollow(FOLLOW_2);
- rule__EnumDefinition__Group__3();
-
- state._fsp--;
-
+ if (state.failed) return ;
}
@@ -18994,31 +21002,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__Group__2__Impl"
- // InternalRDL.g:5624:1: rule__EnumDefinition__Group__2__Impl : ( ( rule__EnumDefinition__BodyAssignment_2 ) ) ;
+ // InternalRDL.g:5909:1: rule__EnumDefinition__Group__2__Impl : ( ( rule__EnumDefinition__BodyAssignment_2 ) ) ;
public final void rule__EnumDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5628:1: ( ( ( rule__EnumDefinition__BodyAssignment_2 ) ) )
- // InternalRDL.g:5629:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) )
+ // InternalRDL.g:5913:1: ( ( ( rule__EnumDefinition__BodyAssignment_2 ) ) )
+ // InternalRDL.g:5914:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) )
{
- // InternalRDL.g:5629:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) )
- // InternalRDL.g:5630:2: ( rule__EnumDefinition__BodyAssignment_2 )
+ // InternalRDL.g:5914:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) )
+ // InternalRDL.g:5915:2: ( rule__EnumDefinition__BodyAssignment_2 )
{
- before(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2());
- // InternalRDL.g:5631:2: ( rule__EnumDefinition__BodyAssignment_2 )
- // InternalRDL.g:5631:3: rule__EnumDefinition__BodyAssignment_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2());
+ }
+ // InternalRDL.g:5916:2: ( rule__EnumDefinition__BodyAssignment_2 )
+ // InternalRDL.g:5916:3: rule__EnumDefinition__BodyAssignment_2
{
pushFollow(FOLLOW_2);
rule__EnumDefinition__BodyAssignment_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2());
+ }
}
@@ -19040,96 +21052,26 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__EnumDefinition__Group__2__Impl"
- // $ANTLR start "rule__EnumDefinition__Group__3"
- // InternalRDL.g:5639:1: rule__EnumDefinition__Group__3 : rule__EnumDefinition__Group__3__Impl ;
- public final void rule__EnumDefinition__Group__3() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:5643:1: ( rule__EnumDefinition__Group__3__Impl )
- // InternalRDL.g:5644:2: rule__EnumDefinition__Group__3__Impl
- {
- pushFollow(FOLLOW_2);
- rule__EnumDefinition__Group__3__Impl();
-
- state._fsp--;
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__EnumDefinition__Group__3"
-
-
- // $ANTLR start "rule__EnumDefinition__Group__3__Impl"
- // InternalRDL.g:5650:1: rule__EnumDefinition__Group__3__Impl : ( ';' ) ;
- public final void rule__EnumDefinition__Group__3__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:5654:1: ( ( ';' ) )
- // InternalRDL.g:5655:1: ( ';' )
- {
- // InternalRDL.g:5655:1: ( ';' )
- // InternalRDL.g:5656:2: ';'
- {
- before(grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__EnumDefinition__Group__3__Impl"
-
-
// $ANTLR start "rule__EnumBody__Group__0"
- // InternalRDL.g:5666:1: rule__EnumBody__Group__0 : rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 ;
+ // InternalRDL.g:5925:1: rule__EnumBody__Group__0 : rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 ;
public final void rule__EnumBody__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5670:1: ( rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 )
- // InternalRDL.g:5671:2: rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1
+ // InternalRDL.g:5929:1: ( rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 )
+ // InternalRDL.g:5930:2: rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1
{
- pushFollow(FOLLOW_41);
+ pushFollow(FOLLOW_38);
rule__EnumBody__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumBody__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19149,21 +21091,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__0__Impl"
- // InternalRDL.g:5678:1: rule__EnumBody__Group__0__Impl : ( '{' ) ;
+ // InternalRDL.g:5937:1: rule__EnumBody__Group__0__Impl : ( '{' ) ;
public final void rule__EnumBody__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5682:1: ( ( '{' ) )
- // InternalRDL.g:5683:1: ( '{' )
+ // InternalRDL.g:5941:1: ( ( '{' ) )
+ // InternalRDL.g:5942:1: ( '{' )
{
- // InternalRDL.g:5683:1: ( '{' )
- // InternalRDL.g:5684:2: '{'
+ // InternalRDL.g:5942:1: ( '{' )
+ // InternalRDL.g:5943:2: '{'
{
- before(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
- match(input,115,FOLLOW_2);
- after(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
+ }
+ match(input,116,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
+ }
}
@@ -19186,25 +21132,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__1"
- // InternalRDL.g:5693:1: rule__EnumBody__Group__1 : rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 ;
+ // InternalRDL.g:5952:1: rule__EnumBody__Group__1 : rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 ;
public final void rule__EnumBody__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5697:1: ( rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 )
- // InternalRDL.g:5698:2: rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2
+ // InternalRDL.g:5956:1: ( rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 )
+ // InternalRDL.g:5957:2: rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2
{
- pushFollow(FOLLOW_41);
+ pushFollow(FOLLOW_38);
rule__EnumBody__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumBody__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19224,25 +21170,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__1__Impl"
- // InternalRDL.g:5705:1: rule__EnumBody__Group__1__Impl : ( () ) ;
+ // InternalRDL.g:5964:1: rule__EnumBody__Group__1__Impl : ( () ) ;
public final void rule__EnumBody__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5709:1: ( ( () ) )
- // InternalRDL.g:5710:1: ( () )
+ // InternalRDL.g:5968:1: ( ( () ) )
+ // InternalRDL.g:5969:1: ( () )
{
- // InternalRDL.g:5710:1: ( () )
- // InternalRDL.g:5711:2: ()
+ // InternalRDL.g:5969:1: ( () )
+ // InternalRDL.g:5970:2: ()
{
- before(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1());
- // InternalRDL.g:5712:2: ()
- // InternalRDL.g:5712:3:
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1());
+ }
+ // InternalRDL.g:5971:2: ()
+ // InternalRDL.g:5971:3:
{
}
- after(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1());
+ }
}
@@ -19261,25 +21211,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__2"
- // InternalRDL.g:5720:1: rule__EnumBody__Group__2 : rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 ;
+ // InternalRDL.g:5979:1: rule__EnumBody__Group__2 : rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 ;
public final void rule__EnumBody__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5724:1: ( rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 )
- // InternalRDL.g:5725:2: rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3
+ // InternalRDL.g:5983:1: ( rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 )
+ // InternalRDL.g:5984:2: rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3
{
- pushFollow(FOLLOW_41);
+ pushFollow(FOLLOW_38);
rule__EnumBody__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumBody__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19299,49 +21249,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__2__Impl"
- // InternalRDL.g:5732:1: rule__EnumBody__Group__2__Impl : ( ( rule__EnumBody__EntriesAssignment_2 )* ) ;
+ // InternalRDL.g:5991:1: rule__EnumBody__Group__2__Impl : ( ( rule__EnumBody__EntriesAssignment_2 )* ) ;
public final void rule__EnumBody__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5736:1: ( ( ( rule__EnumBody__EntriesAssignment_2 )* ) )
- // InternalRDL.g:5737:1: ( ( rule__EnumBody__EntriesAssignment_2 )* )
+ // InternalRDL.g:5995:1: ( ( ( rule__EnumBody__EntriesAssignment_2 )* ) )
+ // InternalRDL.g:5996:1: ( ( rule__EnumBody__EntriesAssignment_2 )* )
{
- // InternalRDL.g:5737:1: ( ( rule__EnumBody__EntriesAssignment_2 )* )
- // InternalRDL.g:5738:2: ( rule__EnumBody__EntriesAssignment_2 )*
+ // InternalRDL.g:5996:1: ( ( rule__EnumBody__EntriesAssignment_2 )* )
+ // InternalRDL.g:5997:2: ( rule__EnumBody__EntriesAssignment_2 )*
{
- before(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2());
- // InternalRDL.g:5739:2: ( rule__EnumBody__EntriesAssignment_2 )*
- loop48:
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2());
+ }
+ // InternalRDL.g:5998:2: ( rule__EnumBody__EntriesAssignment_2 )*
+ loop47:
do {
- int alt48=2;
- int LA48_0 = input.LA(1);
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA48_0==RULE_ID) ) {
- alt48=1;
+ if ( (LA47_0==RULE_ID) ) {
+ alt47=1;
}
- switch (alt48) {
+ switch (alt47) {
case 1 :
- // InternalRDL.g:5739:3: rule__EnumBody__EntriesAssignment_2
+ // InternalRDL.g:5998:3: rule__EnumBody__EntriesAssignment_2
{
- pushFollow(FOLLOW_42);
+ pushFollow(FOLLOW_39);
rule__EnumBody__EntriesAssignment_2();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
default :
- break loop48;
+ break loop47;
}
} while (true);
- after(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2());
+ }
}
@@ -19364,20 +21318,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__3"
- // InternalRDL.g:5747:1: rule__EnumBody__Group__3 : rule__EnumBody__Group__3__Impl ;
+ // InternalRDL.g:6006:1: rule__EnumBody__Group__3 : rule__EnumBody__Group__3__Impl ;
public final void rule__EnumBody__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5751:1: ( rule__EnumBody__Group__3__Impl )
- // InternalRDL.g:5752:2: rule__EnumBody__Group__3__Impl
+ // InternalRDL.g:6010:1: ( rule__EnumBody__Group__3__Impl )
+ // InternalRDL.g:6011:2: rule__EnumBody__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__EnumBody__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19397,21 +21351,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__Group__3__Impl"
- // InternalRDL.g:5758:1: rule__EnumBody__Group__3__Impl : ( '}' ) ;
+ // InternalRDL.g:6017:1: rule__EnumBody__Group__3__Impl : ( '}' ) ;
public final void rule__EnumBody__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5762:1: ( ( '}' ) )
- // InternalRDL.g:5763:1: ( '}' )
+ // InternalRDL.g:6021:1: ( ( '}' ) )
+ // InternalRDL.g:6022:1: ( '}' )
{
- // InternalRDL.g:5763:1: ( '}' )
- // InternalRDL.g:5764:2: '}'
+ // InternalRDL.g:6022:1: ( '}' )
+ // InternalRDL.g:6023:2: '}'
{
- before(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3());
- match(input,116,FOLLOW_2);
- after(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3());
+ }
+ match(input,117,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3());
+ }
}
@@ -19434,25 +21392,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__0"
- // InternalRDL.g:5774:1: rule__EnumEntry__Group__0 : rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 ;
+ // InternalRDL.g:6033:1: rule__EnumEntry__Group__0 : rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 ;
public final void rule__EnumEntry__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5778:1: ( rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 )
- // InternalRDL.g:5779:2: rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1
+ // InternalRDL.g:6037:1: ( rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 )
+ // InternalRDL.g:6038:2: rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1
{
pushFollow(FOLLOW_10);
rule__EnumEntry__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumEntry__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19472,31 +21430,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__0__Impl"
- // InternalRDL.g:5786:1: rule__EnumEntry__Group__0__Impl : ( ( rule__EnumEntry__NameAssignment_0 ) ) ;
+ // InternalRDL.g:6045:1: rule__EnumEntry__Group__0__Impl : ( ( rule__EnumEntry__NameAssignment_0 ) ) ;
public final void rule__EnumEntry__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5790:1: ( ( ( rule__EnumEntry__NameAssignment_0 ) ) )
- // InternalRDL.g:5791:1: ( ( rule__EnumEntry__NameAssignment_0 ) )
+ // InternalRDL.g:6049:1: ( ( ( rule__EnumEntry__NameAssignment_0 ) ) )
+ // InternalRDL.g:6050:1: ( ( rule__EnumEntry__NameAssignment_0 ) )
{
- // InternalRDL.g:5791:1: ( ( rule__EnumEntry__NameAssignment_0 ) )
- // InternalRDL.g:5792:2: ( rule__EnumEntry__NameAssignment_0 )
+ // InternalRDL.g:6050:1: ( ( rule__EnumEntry__NameAssignment_0 ) )
+ // InternalRDL.g:6051:2: ( rule__EnumEntry__NameAssignment_0 )
{
- before(grammarAccess.getEnumEntryAccess().getNameAssignment_0());
- // InternalRDL.g:5793:2: ( rule__EnumEntry__NameAssignment_0 )
- // InternalRDL.g:5793:3: rule__EnumEntry__NameAssignment_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getNameAssignment_0());
+ }
+ // InternalRDL.g:6052:2: ( rule__EnumEntry__NameAssignment_0 )
+ // InternalRDL.g:6052:3: rule__EnumEntry__NameAssignment_0
{
pushFollow(FOLLOW_2);
rule__EnumEntry__NameAssignment_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumEntryAccess().getNameAssignment_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getNameAssignment_0());
+ }
}
@@ -19519,25 +21481,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__1"
- // InternalRDL.g:5801:1: rule__EnumEntry__Group__1 : rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 ;
+ // InternalRDL.g:6060:1: rule__EnumEntry__Group__1 : rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 ;
public final void rule__EnumEntry__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5805:1: ( rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 )
- // InternalRDL.g:5806:2: rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2
+ // InternalRDL.g:6064:1: ( rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 )
+ // InternalRDL.g:6065:2: rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_27);
rule__EnumEntry__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumEntry__Group__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19557,21 +21519,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__1__Impl"
- // InternalRDL.g:5813:1: rule__EnumEntry__Group__1__Impl : ( '=' ) ;
+ // InternalRDL.g:6072:1: rule__EnumEntry__Group__1__Impl : ( '=' ) ;
public final void rule__EnumEntry__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5817:1: ( ( '=' ) )
- // InternalRDL.g:5818:1: ( '=' )
+ // InternalRDL.g:6076:1: ( ( '=' ) )
+ // InternalRDL.g:6077:1: ( '=' )
{
- // InternalRDL.g:5818:1: ( '=' )
- // InternalRDL.g:5819:2: '='
+ // InternalRDL.g:6077:1: ( '=' )
+ // InternalRDL.g:6078:2: '='
{
- before(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1());
+ }
}
@@ -19594,25 +21560,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__2"
- // InternalRDL.g:5828:1: rule__EnumEntry__Group__2 : rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 ;
+ // InternalRDL.g:6087:1: rule__EnumEntry__Group__2 : rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 ;
public final void rule__EnumEntry__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5832:1: ( rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 )
- // InternalRDL.g:5833:2: rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3
+ // InternalRDL.g:6091:1: ( rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 )
+ // InternalRDL.g:6092:2: rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_40);
rule__EnumEntry__Group__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumEntry__Group__3();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19632,31 +21598,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__2__Impl"
- // InternalRDL.g:5840:1: rule__EnumEntry__Group__2__Impl : ( ( rule__EnumEntry__IndexAssignment_2 ) ) ;
+ // InternalRDL.g:6099:1: rule__EnumEntry__Group__2__Impl : ( ( rule__EnumEntry__IndexAssignment_2 ) ) ;
public final void rule__EnumEntry__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5844:1: ( ( ( rule__EnumEntry__IndexAssignment_2 ) ) )
- // InternalRDL.g:5845:1: ( ( rule__EnumEntry__IndexAssignment_2 ) )
+ // InternalRDL.g:6103:1: ( ( ( rule__EnumEntry__IndexAssignment_2 ) ) )
+ // InternalRDL.g:6104:1: ( ( rule__EnumEntry__IndexAssignment_2 ) )
{
- // InternalRDL.g:5845:1: ( ( rule__EnumEntry__IndexAssignment_2 ) )
- // InternalRDL.g:5846:2: ( rule__EnumEntry__IndexAssignment_2 )
+ // InternalRDL.g:6104:1: ( ( rule__EnumEntry__IndexAssignment_2 ) )
+ // InternalRDL.g:6105:2: ( rule__EnumEntry__IndexAssignment_2 )
{
- before(grammarAccess.getEnumEntryAccess().getIndexAssignment_2());
- // InternalRDL.g:5847:2: ( rule__EnumEntry__IndexAssignment_2 )
- // InternalRDL.g:5847:3: rule__EnumEntry__IndexAssignment_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getIndexAssignment_2());
+ }
+ // InternalRDL.g:6106:2: ( rule__EnumEntry__IndexAssignment_2 )
+ // InternalRDL.g:6106:3: rule__EnumEntry__IndexAssignment_2
{
pushFollow(FOLLOW_2);
rule__EnumEntry__IndexAssignment_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumEntryAccess().getIndexAssignment_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getIndexAssignment_2());
+ }
}
@@ -19679,25 +21649,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__3"
- // InternalRDL.g:5855:1: rule__EnumEntry__Group__3 : rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 ;
+ // InternalRDL.g:6114:1: rule__EnumEntry__Group__3 : rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 ;
public final void rule__EnumEntry__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5859:1: ( rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 )
- // InternalRDL.g:5860:2: rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4
+ // InternalRDL.g:6118:1: ( rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 )
+ // InternalRDL.g:6119:2: rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_40);
rule__EnumEntry__Group__3__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumEntry__Group__4();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19717,42 +21687,46 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__3__Impl"
- // InternalRDL.g:5867:1: rule__EnumEntry__Group__3__Impl : ( ( rule__EnumEntry__Group_3__0 )? ) ;
+ // InternalRDL.g:6126:1: rule__EnumEntry__Group__3__Impl : ( ( rule__EnumEntry__Group_3__0 )? ) ;
public final void rule__EnumEntry__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5871:1: ( ( ( rule__EnumEntry__Group_3__0 )? ) )
- // InternalRDL.g:5872:1: ( ( rule__EnumEntry__Group_3__0 )? )
+ // InternalRDL.g:6130:1: ( ( ( rule__EnumEntry__Group_3__0 )? ) )
+ // InternalRDL.g:6131:1: ( ( rule__EnumEntry__Group_3__0 )? )
{
- // InternalRDL.g:5872:1: ( ( rule__EnumEntry__Group_3__0 )? )
- // InternalRDL.g:5873:2: ( rule__EnumEntry__Group_3__0 )?
+ // InternalRDL.g:6131:1: ( ( rule__EnumEntry__Group_3__0 )? )
+ // InternalRDL.g:6132:2: ( rule__EnumEntry__Group_3__0 )?
{
- before(grammarAccess.getEnumEntryAccess().getGroup_3());
- // InternalRDL.g:5874:2: ( rule__EnumEntry__Group_3__0 )?
- int alt49=2;
- int LA49_0 = input.LA(1);
-
- if ( (LA49_0==115) ) {
- alt49=1;
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getGroup_3());
}
- switch (alt49) {
+ // InternalRDL.g:6133:2: ( rule__EnumEntry__Group_3__0 )?
+ int alt48=2;
+ int LA48_0 = input.LA(1);
+
+ if ( (LA48_0==116) ) {
+ alt48=1;
+ }
+ switch (alt48) {
case 1 :
- // InternalRDL.g:5874:3: rule__EnumEntry__Group_3__0
+ // InternalRDL.g:6133:3: rule__EnumEntry__Group_3__0
{
pushFollow(FOLLOW_2);
rule__EnumEntry__Group_3__0();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
}
- after(grammarAccess.getEnumEntryAccess().getGroup_3());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getGroup_3());
+ }
}
@@ -19775,20 +21749,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__4"
- // InternalRDL.g:5882:1: rule__EnumEntry__Group__4 : rule__EnumEntry__Group__4__Impl ;
+ // InternalRDL.g:6141:1: rule__EnumEntry__Group__4 : rule__EnumEntry__Group__4__Impl ;
public final void rule__EnumEntry__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5886:1: ( rule__EnumEntry__Group__4__Impl )
- // InternalRDL.g:5887:2: rule__EnumEntry__Group__4__Impl
+ // InternalRDL.g:6145:1: ( rule__EnumEntry__Group__4__Impl )
+ // InternalRDL.g:6146:2: rule__EnumEntry__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__EnumEntry__Group__4__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19808,21 +21782,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group__4__Impl"
- // InternalRDL.g:5893:1: rule__EnumEntry__Group__4__Impl : ( ';' ) ;
+ // InternalRDL.g:6152:1: rule__EnumEntry__Group__4__Impl : ( ';' ) ;
public final void rule__EnumEntry__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5897:1: ( ( ';' ) )
- // InternalRDL.g:5898:1: ( ';' )
+ // InternalRDL.g:6156:1: ( ( ';' ) )
+ // InternalRDL.g:6157:1: ( ';' )
{
- // InternalRDL.g:5898:1: ( ';' )
- // InternalRDL.g:5899:2: ';'
+ // InternalRDL.g:6157:1: ( ';' )
+ // InternalRDL.g:6158:2: ';'
{
- before(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4());
+ }
}
@@ -19845,25 +21823,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group_3__0"
- // InternalRDL.g:5909:1: rule__EnumEntry__Group_3__0 : rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 ;
+ // InternalRDL.g:6168:1: rule__EnumEntry__Group_3__0 : rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 ;
public final void rule__EnumEntry__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5913:1: ( rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 )
- // InternalRDL.g:5914:2: rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1
+ // InternalRDL.g:6172:1: ( rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 )
+ // InternalRDL.g:6173:2: rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1
{
- pushFollow(FOLLOW_44);
+ pushFollow(FOLLOW_41);
rule__EnumEntry__Group_3__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumEntry__Group_3__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19883,21 +21861,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group_3__0__Impl"
- // InternalRDL.g:5921:1: rule__EnumEntry__Group_3__0__Impl : ( '{' ) ;
+ // InternalRDL.g:6180:1: rule__EnumEntry__Group_3__0__Impl : ( '{' ) ;
public final void rule__EnumEntry__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5925:1: ( ( '{' ) )
- // InternalRDL.g:5926:1: ( '{' )
+ // InternalRDL.g:6184:1: ( ( '{' ) )
+ // InternalRDL.g:6185:1: ( '{' )
{
- // InternalRDL.g:5926:1: ( '{' )
- // InternalRDL.g:5927:2: '{'
+ // InternalRDL.g:6185:1: ( '{' )
+ // InternalRDL.g:6186:2: '{'
{
- before(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0());
- match(input,115,FOLLOW_2);
- after(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0());
+ }
+ match(input,116,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0());
+ }
}
@@ -19920,25 +21902,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group_3__1"
- // InternalRDL.g:5936:1: rule__EnumEntry__Group_3__1 : rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 ;
+ // InternalRDL.g:6195:1: rule__EnumEntry__Group_3__1 : rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 ;
public final void rule__EnumEntry__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5940:1: ( rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 )
- // InternalRDL.g:5941:2: rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2
+ // InternalRDL.g:6199:1: ( rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 )
+ // InternalRDL.g:6200:2: rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2
{
- pushFollow(FOLLOW_44);
+ pushFollow(FOLLOW_41);
rule__EnumEntry__Group_3__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumEntry__Group_3__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -19958,49 +21940,53 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group_3__1__Impl"
- // InternalRDL.g:5948:1: rule__EnumEntry__Group_3__1__Impl : ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) ;
+ // InternalRDL.g:6207:1: rule__EnumEntry__Group_3__1__Impl : ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) ;
public final void rule__EnumEntry__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5952:1: ( ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) )
- // InternalRDL.g:5953:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* )
+ // InternalRDL.g:6211:1: ( ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) )
+ // InternalRDL.g:6212:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* )
{
- // InternalRDL.g:5953:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* )
- // InternalRDL.g:5954:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )*
+ // InternalRDL.g:6212:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* )
+ // InternalRDL.g:6213:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )*
{
- before(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1());
- // InternalRDL.g:5955:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )*
- loop50:
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1());
+ }
+ // InternalRDL.g:6214:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )*
+ loop49:
do {
- int alt50=2;
- int LA50_0 = input.LA(1);
+ int alt49=2;
+ int LA49_0 = input.LA(1);
- if ( ((LA50_0>=22 && LA50_0<=23)) ) {
- alt50=1;
+ if ( ((LA49_0>=22 && LA49_0<=23)) ) {
+ alt49=1;
}
- switch (alt50) {
+ switch (alt49) {
case 1 :
- // InternalRDL.g:5955:3: rule__EnumEntry__PropertiesAssignment_3_1
+ // InternalRDL.g:6214:3: rule__EnumEntry__PropertiesAssignment_3_1
{
- pushFollow(FOLLOW_45);
+ pushFollow(FOLLOW_42);
rule__EnumEntry__PropertiesAssignment_3_1();
state._fsp--;
-
+ if (state.failed) return ;
}
break;
default :
- break loop50;
+ break loop49;
}
} while (true);
- after(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1());
+ }
}
@@ -20023,20 +22009,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group_3__2"
- // InternalRDL.g:5963:1: rule__EnumEntry__Group_3__2 : rule__EnumEntry__Group_3__2__Impl ;
+ // InternalRDL.g:6222:1: rule__EnumEntry__Group_3__2 : rule__EnumEntry__Group_3__2__Impl ;
public final void rule__EnumEntry__Group_3__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5967:1: ( rule__EnumEntry__Group_3__2__Impl )
- // InternalRDL.g:5968:2: rule__EnumEntry__Group_3__2__Impl
+ // InternalRDL.g:6226:1: ( rule__EnumEntry__Group_3__2__Impl )
+ // InternalRDL.g:6227:2: rule__EnumEntry__Group_3__2__Impl
{
pushFollow(FOLLOW_2);
rule__EnumEntry__Group_3__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20056,21 +22042,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__Group_3__2__Impl"
- // InternalRDL.g:5974:1: rule__EnumEntry__Group_3__2__Impl : ( '}' ) ;
+ // InternalRDL.g:6233:1: rule__EnumEntry__Group_3__2__Impl : ( '}' ) ;
public final void rule__EnumEntry__Group_3__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5978:1: ( ( '}' ) )
- // InternalRDL.g:5979:1: ( '}' )
+ // InternalRDL.g:6237:1: ( ( '}' ) )
+ // InternalRDL.g:6238:1: ( '}' )
{
- // InternalRDL.g:5979:1: ( '}' )
- // InternalRDL.g:5980:2: '}'
+ // InternalRDL.g:6238:1: ( '}' )
+ // InternalRDL.g:6239:2: '}'
{
- before(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2());
- match(input,116,FOLLOW_2);
- after(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2());
+ }
+ match(input,117,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2());
+ }
}
@@ -20093,25 +22083,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group__0"
- // InternalRDL.g:5990:1: rule__EnumProperty__Group__0 : rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 ;
+ // InternalRDL.g:6249:1: rule__EnumProperty__Group__0 : rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 ;
public final void rule__EnumProperty__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:5994:1: ( rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 )
- // InternalRDL.g:5995:2: rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1
+ // InternalRDL.g:6253:1: ( rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 )
+ // InternalRDL.g:6254:2: rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1
{
- pushFollow(FOLLOW_9);
+ pushFollow(FOLLOW_4);
rule__EnumProperty__Group__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumProperty__Group__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20131,31 +22121,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group__0__Impl"
- // InternalRDL.g:6002:1: rule__EnumProperty__Group__0__Impl : ( ( rule__EnumProperty__Alternatives_0 ) ) ;
+ // InternalRDL.g:6261:1: rule__EnumProperty__Group__0__Impl : ( ( rule__EnumProperty__Alternatives_0 ) ) ;
public final void rule__EnumProperty__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6006:1: ( ( ( rule__EnumProperty__Alternatives_0 ) ) )
- // InternalRDL.g:6007:1: ( ( rule__EnumProperty__Alternatives_0 ) )
+ // InternalRDL.g:6265:1: ( ( ( rule__EnumProperty__Alternatives_0 ) ) )
+ // InternalRDL.g:6266:1: ( ( rule__EnumProperty__Alternatives_0 ) )
{
- // InternalRDL.g:6007:1: ( ( rule__EnumProperty__Alternatives_0 ) )
- // InternalRDL.g:6008:2: ( rule__EnumProperty__Alternatives_0 )
+ // InternalRDL.g:6266:1: ( ( rule__EnumProperty__Alternatives_0 ) )
+ // InternalRDL.g:6267:2: ( rule__EnumProperty__Alternatives_0 )
{
- before(grammarAccess.getEnumPropertyAccess().getAlternatives_0());
- // InternalRDL.g:6009:2: ( rule__EnumProperty__Alternatives_0 )
- // InternalRDL.g:6009:3: rule__EnumProperty__Alternatives_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getAlternatives_0());
+ }
+ // InternalRDL.g:6268:2: ( rule__EnumProperty__Alternatives_0 )
+ // InternalRDL.g:6268:3: rule__EnumProperty__Alternatives_0
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Alternatives_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getAlternatives_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getAlternatives_0());
+ }
}
@@ -20178,20 +22172,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group__1"
- // InternalRDL.g:6017:1: rule__EnumProperty__Group__1 : rule__EnumProperty__Group__1__Impl ;
+ // InternalRDL.g:6276:1: rule__EnumProperty__Group__1 : rule__EnumProperty__Group__1__Impl ;
public final void rule__EnumProperty__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6021:1: ( rule__EnumProperty__Group__1__Impl )
- // InternalRDL.g:6022:2: rule__EnumProperty__Group__1__Impl
+ // InternalRDL.g:6280:1: ( rule__EnumProperty__Group__1__Impl )
+ // InternalRDL.g:6281:2: rule__EnumProperty__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Group__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20211,21 +22205,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group__1__Impl"
- // InternalRDL.g:6028:1: rule__EnumProperty__Group__1__Impl : ( ';' ) ;
+ // InternalRDL.g:6287:1: rule__EnumProperty__Group__1__Impl : ( ';' ) ;
public final void rule__EnumProperty__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6032:1: ( ( ';' ) )
- // InternalRDL.g:6033:1: ( ';' )
+ // InternalRDL.g:6291:1: ( ( ';' ) )
+ // InternalRDL.g:6292:1: ( ';' )
{
- // InternalRDL.g:6033:1: ( ';' )
- // InternalRDL.g:6034:2: ';'
+ // InternalRDL.g:6292:1: ( ';' )
+ // InternalRDL.g:6293:2: ';'
{
- before(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1());
- match(input,117,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1());
+ }
+ match(input,113,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1());
+ }
}
@@ -20248,25 +22246,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_0__0"
- // InternalRDL.g:6044:1: rule__EnumProperty__Group_0_0__0 : rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 ;
+ // InternalRDL.g:6303:1: rule__EnumProperty__Group_0_0__0 : rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 ;
public final void rule__EnumProperty__Group_0_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6048:1: ( rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 )
- // InternalRDL.g:6049:2: rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1
+ // InternalRDL.g:6307:1: ( rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 )
+ // InternalRDL.g:6308:2: rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1
{
pushFollow(FOLLOW_10);
rule__EnumProperty__Group_0_0__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_0__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20286,31 +22284,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_0__0__Impl"
- // InternalRDL.g:6056:1: rule__EnumProperty__Group_0_0__0__Impl : ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) ;
+ // InternalRDL.g:6315:1: rule__EnumProperty__Group_0_0__0__Impl : ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) ;
public final void rule__EnumProperty__Group_0_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6060:1: ( ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) )
- // InternalRDL.g:6061:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) )
+ // InternalRDL.g:6319:1: ( ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) )
+ // InternalRDL.g:6320:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) )
{
- // InternalRDL.g:6061:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) )
- // InternalRDL.g:6062:2: ( rule__EnumProperty__NameAssignment_0_0_0 )
+ // InternalRDL.g:6320:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) )
+ // InternalRDL.g:6321:2: ( rule__EnumProperty__NameAssignment_0_0_0 )
{
- before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0());
- // InternalRDL.g:6063:2: ( rule__EnumProperty__NameAssignment_0_0_0 )
- // InternalRDL.g:6063:3: rule__EnumProperty__NameAssignment_0_0_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0());
+ }
+ // InternalRDL.g:6322:2: ( rule__EnumProperty__NameAssignment_0_0_0 )
+ // InternalRDL.g:6322:3: rule__EnumProperty__NameAssignment_0_0_0
{
pushFollow(FOLLOW_2);
rule__EnumProperty__NameAssignment_0_0_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0());
+ }
}
@@ -20333,25 +22335,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_0__1"
- // InternalRDL.g:6071:1: rule__EnumProperty__Group_0_0__1 : rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 ;
+ // InternalRDL.g:6330:1: rule__EnumProperty__Group_0_0__1 : rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 ;
public final void rule__EnumProperty__Group_0_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6075:1: ( rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 )
- // InternalRDL.g:6076:2: rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2
+ // InternalRDL.g:6334:1: ( rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 )
+ // InternalRDL.g:6335:2: rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2
{
- pushFollow(FOLLOW_4);
+ pushFollow(FOLLOW_5);
rule__EnumProperty__Group_0_0__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_0__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20371,21 +22373,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_0__1__Impl"
- // InternalRDL.g:6083:1: rule__EnumProperty__Group_0_0__1__Impl : ( '=' ) ;
+ // InternalRDL.g:6342:1: rule__EnumProperty__Group_0_0__1__Impl : ( '=' ) ;
public final void rule__EnumProperty__Group_0_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6087:1: ( ( '=' ) )
- // InternalRDL.g:6088:1: ( '=' )
+ // InternalRDL.g:6346:1: ( ( '=' ) )
+ // InternalRDL.g:6347:1: ( '=' )
{
- // InternalRDL.g:6088:1: ( '=' )
- // InternalRDL.g:6089:2: '='
+ // InternalRDL.g:6347:1: ( '=' )
+ // InternalRDL.g:6348:2: '='
{
- before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1());
+ }
}
@@ -20408,20 +22414,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_0__2"
- // InternalRDL.g:6098:1: rule__EnumProperty__Group_0_0__2 : rule__EnumProperty__Group_0_0__2__Impl ;
+ // InternalRDL.g:6357:1: rule__EnumProperty__Group_0_0__2 : rule__EnumProperty__Group_0_0__2__Impl ;
public final void rule__EnumProperty__Group_0_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6102:1: ( rule__EnumProperty__Group_0_0__2__Impl )
- // InternalRDL.g:6103:2: rule__EnumProperty__Group_0_0__2__Impl
+ // InternalRDL.g:6361:1: ( rule__EnumProperty__Group_0_0__2__Impl )
+ // InternalRDL.g:6362:2: rule__EnumProperty__Group_0_0__2__Impl
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_0__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20441,31 +22447,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_0__2__Impl"
- // InternalRDL.g:6109:1: rule__EnumProperty__Group_0_0__2__Impl : ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) ;
+ // InternalRDL.g:6368:1: rule__EnumProperty__Group_0_0__2__Impl : ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) ;
public final void rule__EnumProperty__Group_0_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6113:1: ( ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) )
- // InternalRDL.g:6114:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) )
+ // InternalRDL.g:6372:1: ( ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) )
+ // InternalRDL.g:6373:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) )
{
- // InternalRDL.g:6114:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) )
- // InternalRDL.g:6115:2: ( rule__EnumProperty__ValueAssignment_0_0_2 )
+ // InternalRDL.g:6373:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) )
+ // InternalRDL.g:6374:2: ( rule__EnumProperty__ValueAssignment_0_0_2 )
{
- before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2());
- // InternalRDL.g:6116:2: ( rule__EnumProperty__ValueAssignment_0_0_2 )
- // InternalRDL.g:6116:3: rule__EnumProperty__ValueAssignment_0_0_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2());
+ }
+ // InternalRDL.g:6375:2: ( rule__EnumProperty__ValueAssignment_0_0_2 )
+ // InternalRDL.g:6375:3: rule__EnumProperty__ValueAssignment_0_0_2
{
pushFollow(FOLLOW_2);
rule__EnumProperty__ValueAssignment_0_0_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2());
+ }
}
@@ -20488,25 +22498,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_1__0"
- // InternalRDL.g:6125:1: rule__EnumProperty__Group_0_1__0 : rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 ;
+ // InternalRDL.g:6384:1: rule__EnumProperty__Group_0_1__0 : rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 ;
public final void rule__EnumProperty__Group_0_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6129:1: ( rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 )
- // InternalRDL.g:6130:2: rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1
+ // InternalRDL.g:6388:1: ( rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 )
+ // InternalRDL.g:6389:2: rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1
{
pushFollow(FOLLOW_10);
rule__EnumProperty__Group_0_1__0__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_1__1();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20526,31 +22536,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_1__0__Impl"
- // InternalRDL.g:6137:1: rule__EnumProperty__Group_0_1__0__Impl : ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) ;
+ // InternalRDL.g:6396:1: rule__EnumProperty__Group_0_1__0__Impl : ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) ;
public final void rule__EnumProperty__Group_0_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6141:1: ( ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) )
- // InternalRDL.g:6142:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) )
+ // InternalRDL.g:6400:1: ( ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) )
+ // InternalRDL.g:6401:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) )
{
- // InternalRDL.g:6142:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) )
- // InternalRDL.g:6143:2: ( rule__EnumProperty__NameAssignment_0_1_0 )
+ // InternalRDL.g:6401:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) )
+ // InternalRDL.g:6402:2: ( rule__EnumProperty__NameAssignment_0_1_0 )
{
- before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0());
- // InternalRDL.g:6144:2: ( rule__EnumProperty__NameAssignment_0_1_0 )
- // InternalRDL.g:6144:3: rule__EnumProperty__NameAssignment_0_1_0
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0());
+ }
+ // InternalRDL.g:6403:2: ( rule__EnumProperty__NameAssignment_0_1_0 )
+ // InternalRDL.g:6403:3: rule__EnumProperty__NameAssignment_0_1_0
{
pushFollow(FOLLOW_2);
rule__EnumProperty__NameAssignment_0_1_0();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0());
+ }
}
@@ -20573,25 +22587,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_1__1"
- // InternalRDL.g:6152:1: rule__EnumProperty__Group_0_1__1 : rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 ;
+ // InternalRDL.g:6411:1: rule__EnumProperty__Group_0_1__1 : rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 ;
public final void rule__EnumProperty__Group_0_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6156:1: ( rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 )
- // InternalRDL.g:6157:2: rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2
+ // InternalRDL.g:6415:1: ( rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 )
+ // InternalRDL.g:6416:2: rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2
{
- pushFollow(FOLLOW_4);
+ pushFollow(FOLLOW_5);
rule__EnumProperty__Group_0_1__1__Impl();
state._fsp--;
-
+ if (state.failed) return ;
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_1__2();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20611,21 +22625,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_1__1__Impl"
- // InternalRDL.g:6164:1: rule__EnumProperty__Group_0_1__1__Impl : ( '=' ) ;
+ // InternalRDL.g:6423:1: rule__EnumProperty__Group_0_1__1__Impl : ( '=' ) ;
public final void rule__EnumProperty__Group_0_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6168:1: ( ( '=' ) )
- // InternalRDL.g:6169:1: ( '=' )
+ // InternalRDL.g:6427:1: ( ( '=' ) )
+ // InternalRDL.g:6428:1: ( '=' )
{
- // InternalRDL.g:6169:1: ( '=' )
- // InternalRDL.g:6170:2: '='
+ // InternalRDL.g:6428:1: ( '=' )
+ // InternalRDL.g:6429:2: '='
{
- before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1());
- match(input,119,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1());
+ }
+ match(input,119,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1());
+ }
}
@@ -20648,20 +22666,20 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_1__2"
- // InternalRDL.g:6179:1: rule__EnumProperty__Group_0_1__2 : rule__EnumProperty__Group_0_1__2__Impl ;
+ // InternalRDL.g:6438:1: rule__EnumProperty__Group_0_1__2 : rule__EnumProperty__Group_0_1__2__Impl ;
public final void rule__EnumProperty__Group_0_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6183:1: ( rule__EnumProperty__Group_0_1__2__Impl )
- // InternalRDL.g:6184:2: rule__EnumProperty__Group_0_1__2__Impl
+ // InternalRDL.g:6442:1: ( rule__EnumProperty__Group_0_1__2__Impl )
+ // InternalRDL.g:6443:2: rule__EnumProperty__Group_0_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__EnumProperty__Group_0_1__2__Impl();
state._fsp--;
-
+ if (state.failed) return ;
}
@@ -20681,31 +22699,35 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__Group_0_1__2__Impl"
- // InternalRDL.g:6190:1: rule__EnumProperty__Group_0_1__2__Impl : ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) ;
+ // InternalRDL.g:6449:1: rule__EnumProperty__Group_0_1__2__Impl : ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) ;
public final void rule__EnumProperty__Group_0_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6194:1: ( ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) )
- // InternalRDL.g:6195:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) )
+ // InternalRDL.g:6453:1: ( ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) )
+ // InternalRDL.g:6454:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) )
{
- // InternalRDL.g:6195:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) )
- // InternalRDL.g:6196:2: ( rule__EnumProperty__ValueAssignment_0_1_2 )
+ // InternalRDL.g:6454:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) )
+ // InternalRDL.g:6455:2: ( rule__EnumProperty__ValueAssignment_0_1_2 )
{
- before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2());
- // InternalRDL.g:6197:2: ( rule__EnumProperty__ValueAssignment_0_1_2 )
- // InternalRDL.g:6197:3: rule__EnumProperty__ValueAssignment_0_1_2
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2());
+ }
+ // InternalRDL.g:6456:2: ( rule__EnumProperty__ValueAssignment_0_1_2 )
+ // InternalRDL.g:6456:3: rule__EnumProperty__ValueAssignment_0_1_2
{
pushFollow(FOLLOW_2);
rule__EnumProperty__ValueAssignment_0_1_2();
state._fsp--;
-
+ if (state.failed) return ;
}
- after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2());
+ }
}
@@ -20728,25 +22750,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Root__IncludesAssignment_0"
- // InternalRDL.g:6206:1: rule__Root__IncludesAssignment_0 : ( ruleInclude ) ;
+ // InternalRDL.g:6465:1: rule__Root__IncludesAssignment_0 : ( ruleInclude ) ;
public final void rule__Root__IncludesAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6210:1: ( ( ruleInclude ) )
- // InternalRDL.g:6211:2: ( ruleInclude )
+ // InternalRDL.g:6469:1: ( ( ruleInclude ) )
+ // InternalRDL.g:6470:2: ( ruleInclude )
{
- // InternalRDL.g:6211:2: ( ruleInclude )
- // InternalRDL.g:6212:3: ruleInclude
+ // InternalRDL.g:6470:2: ( ruleInclude )
+ // InternalRDL.g:6471:3: ruleInclude
{
- before(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0());
+ }
pushFollow(FOLLOW_2);
ruleInclude();
state._fsp--;
-
- after(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0());
+ }
}
@@ -20768,26 +22794,30 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__Root__IncludesAssignment_0"
- // $ANTLR start "rule__Root__ComponentDefinitionsAssignment_1"
- // InternalRDL.g:6221:1: rule__Root__ComponentDefinitionsAssignment_1 : ( ruleComponentDefinition ) ;
- public final void rule__Root__ComponentDefinitionsAssignment_1() throws RecognitionException {
+ // $ANTLR start "rule__Root__ComponentDefinitionsAssignment_1_0"
+ // InternalRDL.g:6480:1: rule__Root__ComponentDefinitionsAssignment_1_0 : ( ruleComponentDefinition ) ;
+ public final void rule__Root__ComponentDefinitionsAssignment_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6225:1: ( ( ruleComponentDefinition ) )
- // InternalRDL.g:6226:2: ( ruleComponentDefinition )
+ // InternalRDL.g:6484:1: ( ( ruleComponentDefinition ) )
+ // InternalRDL.g:6485:2: ( ruleComponentDefinition )
{
- // InternalRDL.g:6226:2: ( ruleComponentDefinition )
- // InternalRDL.g:6227:3: ruleComponentDefinition
+ // InternalRDL.g:6485:2: ( ruleComponentDefinition )
+ // InternalRDL.g:6486:3: ruleComponentDefinition
{
- before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0());
+ }
pushFollow(FOLLOW_2);
ruleComponentDefinition();
state._fsp--;
-
- after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0());
+ }
}
@@ -20806,29 +22836,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Root__ComponentDefinitionsAssignment_1"
+ // $ANTLR end "rule__Root__ComponentDefinitionsAssignment_1_0"
- // $ANTLR start "rule__Root__EnumDefinitionsAssignment_2"
- // InternalRDL.g:6236:1: rule__Root__EnumDefinitionsAssignment_2 : ( ruleEnumDefinition ) ;
- public final void rule__Root__EnumDefinitionsAssignment_2() throws RecognitionException {
+ // $ANTLR start "rule__Root__EnumDefinitionsAssignment_2_0"
+ // InternalRDL.g:6495:1: rule__Root__EnumDefinitionsAssignment_2_0 : ( ruleEnumDefinition ) ;
+ public final void rule__Root__EnumDefinitionsAssignment_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6240:1: ( ( ruleEnumDefinition ) )
- // InternalRDL.g:6241:2: ( ruleEnumDefinition )
+ // InternalRDL.g:6499:1: ( ( ruleEnumDefinition ) )
+ // InternalRDL.g:6500:2: ( ruleEnumDefinition )
{
- // InternalRDL.g:6241:2: ( ruleEnumDefinition )
- // InternalRDL.g:6242:3: ruleEnumDefinition
+ // InternalRDL.g:6500:2: ( ruleEnumDefinition )
+ // InternalRDL.g:6501:3: ruleEnumDefinition
{
- before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0());
+ }
pushFollow(FOLLOW_2);
ruleEnumDefinition();
state._fsp--;
-
- after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0());
+ }
}
@@ -20847,29 +22881,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Root__EnumDefinitionsAssignment_2"
+ // $ANTLR end "rule__Root__EnumDefinitionsAssignment_2_0"
- // $ANTLR start "rule__Root__NamedInstantiationsAssignment_3"
- // InternalRDL.g:6251:1: rule__Root__NamedInstantiationsAssignment_3 : ( ruleNamedInstantiation ) ;
- public final void rule__Root__NamedInstantiationsAssignment_3() throws RecognitionException {
+ // $ANTLR start "rule__Root__InstantiationsAssignment_3_0"
+ // InternalRDL.g:6510:1: rule__Root__InstantiationsAssignment_3_0 : ( ruleInstantiation ) ;
+ public final void rule__Root__InstantiationsAssignment_3_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6255:1: ( ( ruleNamedInstantiation ) )
- // InternalRDL.g:6256:2: ( ruleNamedInstantiation )
+ // InternalRDL.g:6514:1: ( ( ruleInstantiation ) )
+ // InternalRDL.g:6515:2: ( ruleInstantiation )
{
- // InternalRDL.g:6256:2: ( ruleNamedInstantiation )
- // InternalRDL.g:6257:3: ruleNamedInstantiation
+ // InternalRDL.g:6515:2: ( ruleInstantiation )
+ // InternalRDL.g:6516:3: ruleInstantiation
{
- before(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0());
+ }
pushFollow(FOLLOW_2);
- ruleNamedInstantiation();
+ ruleInstantiation();
state._fsp--;
-
- after(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0());
+ }
}
@@ -20888,29 +22926,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Root__NamedInstantiationsAssignment_3"
+ // $ANTLR end "rule__Root__InstantiationsAssignment_3_0"
- // $ANTLR start "rule__Root__PropertyAssignmentsAssignment_4"
- // InternalRDL.g:6266:1: rule__Root__PropertyAssignmentsAssignment_4 : ( rulePropertyAssignment ) ;
- public final void rule__Root__PropertyAssignmentsAssignment_4() throws RecognitionException {
+ // $ANTLR start "rule__Root__PropertyAssignmentsAssignment_4_0"
+ // InternalRDL.g:6525:1: rule__Root__PropertyAssignmentsAssignment_4_0 : ( rulePropertyAssignment ) ;
+ public final void rule__Root__PropertyAssignmentsAssignment_4_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6270:1: ( ( rulePropertyAssignment ) )
- // InternalRDL.g:6271:2: ( rulePropertyAssignment )
+ // InternalRDL.g:6529:1: ( ( rulePropertyAssignment ) )
+ // InternalRDL.g:6530:2: ( rulePropertyAssignment )
{
- // InternalRDL.g:6271:2: ( rulePropertyAssignment )
- // InternalRDL.g:6272:3: rulePropertyAssignment
+ // InternalRDL.g:6530:2: ( rulePropertyAssignment )
+ // InternalRDL.g:6531:3: rulePropertyAssignment
{
- before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0());
+ }
}
@@ -20929,29 +22971,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Root__PropertyAssignmentsAssignment_4"
+ // $ANTLR end "rule__Root__PropertyAssignmentsAssignment_4_0"
- // $ANTLR start "rule__Root__PropertyDefinitionsAssignment_5"
- // InternalRDL.g:6281:1: rule__Root__PropertyDefinitionsAssignment_5 : ( rulePropertyDefinition ) ;
- public final void rule__Root__PropertyDefinitionsAssignment_5() throws RecognitionException {
+ // $ANTLR start "rule__Root__PropertyDefinitionsAssignment_5_0"
+ // InternalRDL.g:6540:1: rule__Root__PropertyDefinitionsAssignment_5_0 : ( rulePropertyDefinition ) ;
+ public final void rule__Root__PropertyDefinitionsAssignment_5_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6285:1: ( ( rulePropertyDefinition ) )
- // InternalRDL.g:6286:2: ( rulePropertyDefinition )
+ // InternalRDL.g:6544:1: ( ( rulePropertyDefinition ) )
+ // InternalRDL.g:6545:2: ( rulePropertyDefinition )
{
- // InternalRDL.g:6286:2: ( rulePropertyDefinition )
- // InternalRDL.g:6287:3: rulePropertyDefinition
+ // InternalRDL.g:6545:2: ( rulePropertyDefinition )
+ // InternalRDL.g:6546:3: rulePropertyDefinition
{
- before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyDefinition();
state._fsp--;
-
- after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0());
+ }
}
@@ -20970,25 +23016,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Root__PropertyDefinitionsAssignment_5"
+ // $ANTLR end "rule__Root__PropertyDefinitionsAssignment_5_0"
// $ANTLR start "rule__Include__ImportURIAssignment_1"
- // InternalRDL.g:6296:1: rule__Include__ImportURIAssignment_1 : ( RULE_STR ) ;
+ // InternalRDL.g:6555:1: rule__Include__ImportURIAssignment_1 : ( RULE_STR ) ;
public final void rule__Include__ImportURIAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6300:1: ( ( RULE_STR ) )
- // InternalRDL.g:6301:2: ( RULE_STR )
+ // InternalRDL.g:6559:1: ( ( RULE_STR ) )
+ // InternalRDL.g:6560:2: ( RULE_STR )
{
- // InternalRDL.g:6301:2: ( RULE_STR )
- // InternalRDL.g:6302:3: RULE_STR
+ // InternalRDL.g:6560:2: ( RULE_STR )
+ // InternalRDL.g:6561:3: RULE_STR
{
- before(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0());
- match(input,RULE_STR,FOLLOW_2);
- after(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0());
+ }
+ match(input,RULE_STR,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0());
+ }
}
@@ -21011,21 +23061,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__NameAssignment_1"
- // InternalRDL.g:6311:1: rule__PropertyDefinition__NameAssignment_1 : ( RULE_ID ) ;
+ // InternalRDL.g:6570:1: rule__PropertyDefinition__NameAssignment_1 : ( RULE_ID ) ;
public final void rule__PropertyDefinition__NameAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6315:1: ( ( RULE_ID ) )
- // InternalRDL.g:6316:2: ( RULE_ID )
+ // InternalRDL.g:6574:1: ( ( RULE_ID ) )
+ // InternalRDL.g:6575:2: ( RULE_ID )
{
- // InternalRDL.g:6316:2: ( RULE_ID )
- // InternalRDL.g:6317:3: RULE_ID
+ // InternalRDL.g:6575:2: ( RULE_ID )
+ // InternalRDL.g:6576:3: RULE_ID
{
- before(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ }
}
@@ -21048,25 +23102,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_0_2"
- // InternalRDL.g:6326:1: rule__PropertyDefinition__TypeAssignment_3_0_2 : ( rulePropertyTypeName ) ;
+ // InternalRDL.g:6585:1: rule__PropertyDefinition__TypeAssignment_3_0_2 : ( rulePropertyTypeName ) ;
public final void rule__PropertyDefinition__TypeAssignment_3_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6330:1: ( ( rulePropertyTypeName ) )
- // InternalRDL.g:6331:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6589:1: ( ( rulePropertyTypeName ) )
+ // InternalRDL.g:6590:2: ( rulePropertyTypeName )
{
- // InternalRDL.g:6331:2: ( rulePropertyTypeName )
- // InternalRDL.g:6332:3: rulePropertyTypeName
+ // InternalRDL.g:6590:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6591:3: rulePropertyTypeName
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyTypeName();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0());
+ }
}
@@ -21089,25 +23147,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_0_4_0_0"
- // InternalRDL.g:6341:1: rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 : ( rulePropertyUsage ) ;
+ // InternalRDL.g:6600:1: rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 : ( rulePropertyUsage ) ;
public final void rule__PropertyDefinition__UsageAssignment_3_0_4_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6345:1: ( ( rulePropertyUsage ) )
- // InternalRDL.g:6346:2: ( rulePropertyUsage )
+ // InternalRDL.g:6604:1: ( ( rulePropertyUsage ) )
+ // InternalRDL.g:6605:2: ( rulePropertyUsage )
{
- // InternalRDL.g:6346:2: ( rulePropertyUsage )
- // InternalRDL.g:6347:3: rulePropertyUsage
+ // InternalRDL.g:6605:2: ( rulePropertyUsage )
+ // InternalRDL.g:6606:3: rulePropertyUsage
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyUsage();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0());
+ }
}
@@ -21130,25 +23192,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1"
- // InternalRDL.g:6356:1: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 : ( rulePropertyDefault ) ;
+ // InternalRDL.g:6615:1: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 : ( rulePropertyDefault ) ;
public final void rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6360:1: ( ( rulePropertyDefault ) )
- // InternalRDL.g:6361:2: ( rulePropertyDefault )
+ // InternalRDL.g:6619:1: ( ( rulePropertyDefault ) )
+ // InternalRDL.g:6620:2: ( rulePropertyDefault )
{
- // InternalRDL.g:6361:2: ( rulePropertyDefault )
- // InternalRDL.g:6362:3: rulePropertyDefault
+ // InternalRDL.g:6620:2: ( rulePropertyDefault )
+ // InternalRDL.g:6621:3: rulePropertyDefault
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyDefault();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0());
+ }
}
@@ -21171,25 +23237,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0"
- // InternalRDL.g:6371:1: rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 : ( rulePropertyDefault ) ;
+ // InternalRDL.g:6630:1: rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 : ( rulePropertyDefault ) ;
public final void rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6375:1: ( ( rulePropertyDefault ) )
- // InternalRDL.g:6376:2: ( rulePropertyDefault )
+ // InternalRDL.g:6634:1: ( ( rulePropertyDefault ) )
+ // InternalRDL.g:6635:2: ( rulePropertyDefault )
{
- // InternalRDL.g:6376:2: ( rulePropertyDefault )
- // InternalRDL.g:6377:3: rulePropertyDefault
+ // InternalRDL.g:6635:2: ( rulePropertyDefault )
+ // InternalRDL.g:6636:3: rulePropertyDefault
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyDefault();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0());
+ }
}
@@ -21212,25 +23282,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_0_4_1_1"
- // InternalRDL.g:6386:1: rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 : ( rulePropertyUsage ) ;
+ // InternalRDL.g:6645:1: rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 : ( rulePropertyUsage ) ;
public final void rule__PropertyDefinition__UsageAssignment_3_0_4_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6390:1: ( ( rulePropertyUsage ) )
- // InternalRDL.g:6391:2: ( rulePropertyUsage )
+ // InternalRDL.g:6649:1: ( ( rulePropertyUsage ) )
+ // InternalRDL.g:6650:2: ( rulePropertyUsage )
{
- // InternalRDL.g:6391:2: ( rulePropertyUsage )
- // InternalRDL.g:6392:3: rulePropertyUsage
+ // InternalRDL.g:6650:2: ( rulePropertyUsage )
+ // InternalRDL.g:6651:3: rulePropertyUsage
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyUsage();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0());
+ }
}
@@ -21253,25 +23327,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_1_0"
- // InternalRDL.g:6401:1: rule__PropertyDefinition__UsageAssignment_3_1_0 : ( rulePropertyUsage ) ;
+ // InternalRDL.g:6660:1: rule__PropertyDefinition__UsageAssignment_3_1_0 : ( rulePropertyUsage ) ;
public final void rule__PropertyDefinition__UsageAssignment_3_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6405:1: ( ( rulePropertyUsage ) )
- // InternalRDL.g:6406:2: ( rulePropertyUsage )
+ // InternalRDL.g:6664:1: ( ( rulePropertyUsage ) )
+ // InternalRDL.g:6665:2: ( rulePropertyUsage )
{
- // InternalRDL.g:6406:2: ( rulePropertyUsage )
- // InternalRDL.g:6407:3: rulePropertyUsage
+ // InternalRDL.g:6665:2: ( rulePropertyUsage )
+ // InternalRDL.g:6666:3: rulePropertyUsage
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyUsage();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0());
+ }
}
@@ -21294,25 +23372,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_1_1_0_2"
- // InternalRDL.g:6416:1: rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 : ( rulePropertyTypeName ) ;
+ // InternalRDL.g:6675:1: rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 : ( rulePropertyTypeName ) ;
public final void rule__PropertyDefinition__TypeAssignment_3_1_1_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6420:1: ( ( rulePropertyTypeName ) )
- // InternalRDL.g:6421:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6679:1: ( ( rulePropertyTypeName ) )
+ // InternalRDL.g:6680:2: ( rulePropertyTypeName )
{
- // InternalRDL.g:6421:2: ( rulePropertyTypeName )
- // InternalRDL.g:6422:3: rulePropertyTypeName
+ // InternalRDL.g:6680:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6681:3: rulePropertyTypeName
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyTypeName();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0());
+ }
}
@@ -21335,25 +23417,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4"
- // InternalRDL.g:6431:1: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 : ( rulePropertyDefault ) ;
+ // InternalRDL.g:6690:1: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 : ( rulePropertyDefault ) ;
public final void rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6435:1: ( ( rulePropertyDefault ) )
- // InternalRDL.g:6436:2: ( rulePropertyDefault )
+ // InternalRDL.g:6694:1: ( ( rulePropertyDefault ) )
+ // InternalRDL.g:6695:2: ( rulePropertyDefault )
{
- // InternalRDL.g:6436:2: ( rulePropertyDefault )
- // InternalRDL.g:6437:3: rulePropertyDefault
+ // InternalRDL.g:6695:2: ( rulePropertyDefault )
+ // InternalRDL.g:6696:3: rulePropertyDefault
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyDefault();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0());
+ }
}
@@ -21376,25 +23462,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0"
- // InternalRDL.g:6446:1: rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 : ( rulePropertyDefault ) ;
+ // InternalRDL.g:6705:1: rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 : ( rulePropertyDefault ) ;
public final void rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6450:1: ( ( rulePropertyDefault ) )
- // InternalRDL.g:6451:2: ( rulePropertyDefault )
+ // InternalRDL.g:6709:1: ( ( rulePropertyDefault ) )
+ // InternalRDL.g:6710:2: ( rulePropertyDefault )
{
- // InternalRDL.g:6451:2: ( rulePropertyDefault )
- // InternalRDL.g:6452:3: rulePropertyDefault
+ // InternalRDL.g:6710:2: ( rulePropertyDefault )
+ // InternalRDL.g:6711:3: rulePropertyDefault
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyDefault();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0());
+ }
}
@@ -21417,25 +23507,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_1_1_1_3"
- // InternalRDL.g:6461:1: rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 : ( rulePropertyTypeName ) ;
+ // InternalRDL.g:6720:1: rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 : ( rulePropertyTypeName ) ;
public final void rule__PropertyDefinition__TypeAssignment_3_1_1_1_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6465:1: ( ( rulePropertyTypeName ) )
- // InternalRDL.g:6466:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6724:1: ( ( rulePropertyTypeName ) )
+ // InternalRDL.g:6725:2: ( rulePropertyTypeName )
{
- // InternalRDL.g:6466:2: ( rulePropertyTypeName )
- // InternalRDL.g:6467:3: rulePropertyTypeName
+ // InternalRDL.g:6725:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6726:3: rulePropertyTypeName
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyTypeName();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0());
+ }
}
@@ -21458,25 +23552,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_2_0"
- // InternalRDL.g:6476:1: rule__PropertyDefinition__DefaultAssignment_3_2_0 : ( rulePropertyDefault ) ;
+ // InternalRDL.g:6735:1: rule__PropertyDefinition__DefaultAssignment_3_2_0 : ( rulePropertyDefault ) ;
public final void rule__PropertyDefinition__DefaultAssignment_3_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6480:1: ( ( rulePropertyDefault ) )
- // InternalRDL.g:6481:2: ( rulePropertyDefault )
+ // InternalRDL.g:6739:1: ( ( rulePropertyDefault ) )
+ // InternalRDL.g:6740:2: ( rulePropertyDefault )
{
- // InternalRDL.g:6481:2: ( rulePropertyDefault )
- // InternalRDL.g:6482:3: rulePropertyDefault
+ // InternalRDL.g:6740:2: ( rulePropertyDefault )
+ // InternalRDL.g:6741:3: rulePropertyDefault
{
- before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyDefault();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0());
+ }
}
@@ -21499,25 +23597,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_2_1_0_2"
- // InternalRDL.g:6491:1: rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 : ( rulePropertyTypeName ) ;
+ // InternalRDL.g:6750:1: rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 : ( rulePropertyTypeName ) ;
public final void rule__PropertyDefinition__TypeAssignment_3_2_1_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6495:1: ( ( rulePropertyTypeName ) )
- // InternalRDL.g:6496:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6754:1: ( ( rulePropertyTypeName ) )
+ // InternalRDL.g:6755:2: ( rulePropertyTypeName )
{
- // InternalRDL.g:6496:2: ( rulePropertyTypeName )
- // InternalRDL.g:6497:3: rulePropertyTypeName
+ // InternalRDL.g:6755:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6756:3: rulePropertyTypeName
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyTypeName();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0());
+ }
}
@@ -21540,25 +23642,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_2_1_0_4"
- // InternalRDL.g:6506:1: rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 : ( rulePropertyUsage ) ;
+ // InternalRDL.g:6765:1: rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 : ( rulePropertyUsage ) ;
public final void rule__PropertyDefinition__UsageAssignment_3_2_1_0_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6510:1: ( ( rulePropertyUsage ) )
- // InternalRDL.g:6511:2: ( rulePropertyUsage )
+ // InternalRDL.g:6769:1: ( ( rulePropertyUsage ) )
+ // InternalRDL.g:6770:2: ( rulePropertyUsage )
{
- // InternalRDL.g:6511:2: ( rulePropertyUsage )
- // InternalRDL.g:6512:3: rulePropertyUsage
+ // InternalRDL.g:6770:2: ( rulePropertyUsage )
+ // InternalRDL.g:6771:3: rulePropertyUsage
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyUsage();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0());
+ }
}
@@ -21581,25 +23687,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_2_1_1_0"
- // InternalRDL.g:6521:1: rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 : ( rulePropertyUsage ) ;
+ // InternalRDL.g:6780:1: rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 : ( rulePropertyUsage ) ;
public final void rule__PropertyDefinition__UsageAssignment_3_2_1_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6525:1: ( ( rulePropertyUsage ) )
- // InternalRDL.g:6526:2: ( rulePropertyUsage )
+ // InternalRDL.g:6784:1: ( ( rulePropertyUsage ) )
+ // InternalRDL.g:6785:2: ( rulePropertyUsage )
{
- // InternalRDL.g:6526:2: ( rulePropertyUsage )
- // InternalRDL.g:6527:3: rulePropertyUsage
+ // InternalRDL.g:6785:2: ( rulePropertyUsage )
+ // InternalRDL.g:6786:3: rulePropertyUsage
{
- before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyUsage();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0());
+ }
}
@@ -21622,25 +23732,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_2_1_1_3"
- // InternalRDL.g:6536:1: rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 : ( rulePropertyTypeName ) ;
+ // InternalRDL.g:6795:1: rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 : ( rulePropertyTypeName ) ;
public final void rule__PropertyDefinition__TypeAssignment_3_2_1_1_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6540:1: ( ( rulePropertyTypeName ) )
- // InternalRDL.g:6541:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6799:1: ( ( rulePropertyTypeName ) )
+ // InternalRDL.g:6800:2: ( rulePropertyTypeName )
{
- // InternalRDL.g:6541:2: ( rulePropertyTypeName )
- // InternalRDL.g:6542:3: rulePropertyTypeName
+ // InternalRDL.g:6800:2: ( rulePropertyTypeName )
+ // InternalRDL.g:6801:3: rulePropertyTypeName
{
- before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyTypeName();
state._fsp--;
-
- after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0());
+ }
}
@@ -21663,21 +23777,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__StringAssignment_2_0"
- // InternalRDL.g:6551:1: rule__PropertyDefault__StringAssignment_2_0 : ( RULE_STR ) ;
+ // InternalRDL.g:6810:1: rule__PropertyDefault__StringAssignment_2_0 : ( RULE_STR ) ;
public final void rule__PropertyDefault__StringAssignment_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6555:1: ( ( RULE_STR ) )
- // InternalRDL.g:6556:2: ( RULE_STR )
+ // InternalRDL.g:6814:1: ( ( RULE_STR ) )
+ // InternalRDL.g:6815:2: ( RULE_STR )
{
- // InternalRDL.g:6556:2: ( RULE_STR )
- // InternalRDL.g:6557:3: RULE_STR
+ // InternalRDL.g:6815:2: ( RULE_STR )
+ // InternalRDL.g:6816:3: RULE_STR
{
- before(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0());
- match(input,RULE_STR,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0());
+ }
+ match(input,RULE_STR,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0());
+ }
}
@@ -21700,21 +23818,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__ValueAssignment_2_1"
- // InternalRDL.g:6566:1: rule__PropertyDefault__ValueAssignment_2_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:6825:1: rule__PropertyDefault__ValueAssignment_2_1 : ( RULE_NUM ) ;
public final void rule__PropertyDefault__ValueAssignment_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6570:1: ( ( RULE_NUM ) )
- // InternalRDL.g:6571:2: ( RULE_NUM )
+ // InternalRDL.g:6829:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:6830:2: ( RULE_NUM )
{
- // InternalRDL.g:6571:2: ( RULE_NUM )
- // InternalRDL.g:6572:3: RULE_NUM
+ // InternalRDL.g:6830:2: ( RULE_NUM )
+ // InternalRDL.g:6831:3: RULE_NUM
{
- before(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0());
+ }
}
@@ -21737,29 +23859,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__StringAssignment_2_2"
- // InternalRDL.g:6581:1: rule__PropertyDefault__StringAssignment_2_2 : ( ( 'true' ) ) ;
+ // InternalRDL.g:6840:1: rule__PropertyDefault__StringAssignment_2_2 : ( ( 'true' ) ) ;
public final void rule__PropertyDefault__StringAssignment_2_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6585:1: ( ( ( 'true' ) ) )
- // InternalRDL.g:6586:2: ( ( 'true' ) )
+ // InternalRDL.g:6844:1: ( ( ( 'true' ) ) )
+ // InternalRDL.g:6845:2: ( ( 'true' ) )
{
- // InternalRDL.g:6586:2: ( ( 'true' ) )
- // InternalRDL.g:6587:3: ( 'true' )
+ // InternalRDL.g:6845:2: ( ( 'true' ) )
+ // InternalRDL.g:6846:3: ( 'true' )
{
- before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
- // InternalRDL.g:6588:3: ( 'true' )
- // InternalRDL.g:6589:4: 'true'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+ }
+ // InternalRDL.g:6847:3: ( 'true' )
+ // InternalRDL.g:6848:4: 'true'
{
- before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
- match(input,98,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+ }
+ match(input,98,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+ }
}
- after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+ }
}
@@ -21782,29 +23912,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyDefault__StringAssignment_2_3"
- // InternalRDL.g:6600:1: rule__PropertyDefault__StringAssignment_2_3 : ( ( 'false' ) ) ;
+ // InternalRDL.g:6859:1: rule__PropertyDefault__StringAssignment_2_3 : ( ( 'false' ) ) ;
public final void rule__PropertyDefault__StringAssignment_2_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6604:1: ( ( ( 'false' ) ) )
- // InternalRDL.g:6605:2: ( ( 'false' ) )
+ // InternalRDL.g:6863:1: ( ( ( 'false' ) ) )
+ // InternalRDL.g:6864:2: ( ( 'false' ) )
{
- // InternalRDL.g:6605:2: ( ( 'false' ) )
- // InternalRDL.g:6606:3: ( 'false' )
+ // InternalRDL.g:6864:2: ( ( 'false' ) )
+ // InternalRDL.g:6865:3: ( 'false' )
{
- before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
- // InternalRDL.g:6607:3: ( 'false' )
- // InternalRDL.g:6608:4: 'false'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+ }
+ // InternalRDL.g:6866:3: ( 'false' )
+ // InternalRDL.g:6867:4: 'false'
{
- before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
- match(input,99,FOLLOW_2);
- after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+ }
+ match(input,99,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+ }
}
- after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+ }
}
@@ -21827,25 +23965,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__ComponentsAssignment_2"
- // InternalRDL.g:6619:1: rule__PropertyUsage__ComponentsAssignment_2 : ( rulePropertyComponent ) ;
+ // InternalRDL.g:6878:1: rule__PropertyUsage__ComponentsAssignment_2 : ( rulePropertyComponent ) ;
public final void rule__PropertyUsage__ComponentsAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6623:1: ( ( rulePropertyComponent ) )
- // InternalRDL.g:6624:2: ( rulePropertyComponent )
+ // InternalRDL.g:6882:1: ( ( rulePropertyComponent ) )
+ // InternalRDL.g:6883:2: ( rulePropertyComponent )
{
- // InternalRDL.g:6624:2: ( rulePropertyComponent )
- // InternalRDL.g:6625:3: rulePropertyComponent
+ // InternalRDL.g:6883:2: ( rulePropertyComponent )
+ // InternalRDL.g:6884:3: rulePropertyComponent
{
- before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyComponent();
state._fsp--;
-
- after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0());
+ }
}
@@ -21868,25 +24010,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyUsage__ComponentsAssignment_3_1"
- // InternalRDL.g:6634:1: rule__PropertyUsage__ComponentsAssignment_3_1 : ( rulePropertyComponent ) ;
+ // InternalRDL.g:6893:1: rule__PropertyUsage__ComponentsAssignment_3_1 : ( rulePropertyComponent ) ;
public final void rule__PropertyUsage__ComponentsAssignment_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6638:1: ( ( rulePropertyComponent ) )
- // InternalRDL.g:6639:2: ( rulePropertyComponent )
+ // InternalRDL.g:6897:1: ( ( rulePropertyComponent ) )
+ // InternalRDL.g:6898:2: ( rulePropertyComponent )
{
- // InternalRDL.g:6639:2: ( rulePropertyComponent )
- // InternalRDL.g:6640:3: rulePropertyComponent
+ // InternalRDL.g:6898:2: ( rulePropertyComponent )
+ // InternalRDL.g:6899:3: rulePropertyComponent
{
- before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyComponent();
state._fsp--;
-
- after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0());
+ }
}
@@ -21909,25 +24055,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__TypeAssignment_0"
- // InternalRDL.g:6649:1: rule__ComponentDefinition__TypeAssignment_0 : ( ruleComponentDefinitionType ) ;
+ // InternalRDL.g:6908:1: rule__ComponentDefinition__TypeAssignment_0 : ( ruleComponentDefinitionType ) ;
public final void rule__ComponentDefinition__TypeAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6653:1: ( ( ruleComponentDefinitionType ) )
- // InternalRDL.g:6654:2: ( ruleComponentDefinitionType )
+ // InternalRDL.g:6912:1: ( ( ruleComponentDefinitionType ) )
+ // InternalRDL.g:6913:2: ( ruleComponentDefinitionType )
{
- // InternalRDL.g:6654:2: ( ruleComponentDefinitionType )
- // InternalRDL.g:6655:3: ruleComponentDefinitionType
+ // InternalRDL.g:6913:2: ( ruleComponentDefinitionType )
+ // InternalRDL.g:6914:3: ruleComponentDefinitionType
{
- before(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0());
+ }
pushFollow(FOLLOW_2);
ruleComponentDefinitionType();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0());
+ }
}
@@ -21950,21 +24100,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentDefinition__NameAssignment_1"
- // InternalRDL.g:6664:1: rule__ComponentDefinition__NameAssignment_1 : ( RULE_ID ) ;
+ // InternalRDL.g:6923:1: rule__ComponentDefinition__NameAssignment_1 : ( RULE_ID ) ;
public final void rule__ComponentDefinition__NameAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6668:1: ( ( RULE_ID ) )
- // InternalRDL.g:6669:2: ( RULE_ID )
+ // InternalRDL.g:6927:1: ( ( RULE_ID ) )
+ // InternalRDL.g:6928:2: ( RULE_ID )
{
- // InternalRDL.g:6669:2: ( RULE_ID )
- // InternalRDL.g:6670:3: RULE_ID
+ // InternalRDL.g:6928:2: ( RULE_ID )
+ // InternalRDL.g:6929:3: RULE_ID
{
- before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ }
}
@@ -21986,26 +24140,30 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__ComponentDefinition__NameAssignment_1"
- // $ANTLR start "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0"
- // InternalRDL.g:6679:1: rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 : ( ruleComponentDefinition ) ;
- public final void rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0() throws RecognitionException {
+ // $ANTLR start "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0"
+ // InternalRDL.g:6938:1: rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 : ( ruleComponentDefinition ) ;
+ public final void rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6683:1: ( ( ruleComponentDefinition ) )
- // InternalRDL.g:6684:2: ( ruleComponentDefinition )
+ // InternalRDL.g:6942:1: ( ( ruleComponentDefinition ) )
+ // InternalRDL.g:6943:2: ( ruleComponentDefinition )
{
- // InternalRDL.g:6684:2: ( ruleComponentDefinition )
- // InternalRDL.g:6685:3: ruleComponentDefinition
+ // InternalRDL.g:6943:2: ( ruleComponentDefinition )
+ // InternalRDL.g:6944:3: ruleComponentDefinition
{
- before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0());
+ }
pushFollow(FOLLOW_2);
ruleComponentDefinition();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0());
+ }
}
@@ -22024,29 +24182,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0"
+ // $ANTLR end "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0"
- // $ANTLR start "rule__ComponentDefinition__NamedInstantiationsAssignment_3_1"
- // InternalRDL.g:6694:1: rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 : ( ruleNamedInstantiation ) ;
- public final void rule__ComponentDefinition__NamedInstantiationsAssignment_3_1() throws RecognitionException {
+ // $ANTLR start "rule__ComponentDefinition__InstantiationsAssignment_3_1_0"
+ // InternalRDL.g:6953:1: rule__ComponentDefinition__InstantiationsAssignment_3_1_0 : ( ruleInstantiation ) ;
+ public final void rule__ComponentDefinition__InstantiationsAssignment_3_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6698:1: ( ( ruleNamedInstantiation ) )
- // InternalRDL.g:6699:2: ( ruleNamedInstantiation )
+ // InternalRDL.g:6957:1: ( ( ruleInstantiation ) )
+ // InternalRDL.g:6958:2: ( ruleInstantiation )
{
- // InternalRDL.g:6699:2: ( ruleNamedInstantiation )
- // InternalRDL.g:6700:3: ruleNamedInstantiation
+ // InternalRDL.g:6958:2: ( ruleInstantiation )
+ // InternalRDL.g:6959:3: ruleInstantiation
{
- before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0());
+ }
pushFollow(FOLLOW_2);
- ruleNamedInstantiation();
+ ruleInstantiation();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0());
+ }
}
@@ -22065,29 +24227,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__NamedInstantiationsAssignment_3_1"
+ // $ANTLR end "rule__ComponentDefinition__InstantiationsAssignment_3_1_0"
- // $ANTLR start "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2"
- // InternalRDL.g:6709:1: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 : ( rulePropertyAssignment ) ;
- public final void rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2() throws RecognitionException {
+ // $ANTLR start "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0"
+ // InternalRDL.g:6968:1: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 : ( rulePropertyAssignment ) ;
+ public final void rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6713:1: ( ( rulePropertyAssignment ) )
- // InternalRDL.g:6714:2: ( rulePropertyAssignment )
+ // InternalRDL.g:6972:1: ( ( rulePropertyAssignment ) )
+ // InternalRDL.g:6973:2: ( rulePropertyAssignment )
{
- // InternalRDL.g:6714:2: ( rulePropertyAssignment )
- // InternalRDL.g:6715:3: rulePropertyAssignment
+ // InternalRDL.g:6973:2: ( rulePropertyAssignment )
+ // InternalRDL.g:6974:3: rulePropertyAssignment
{
- before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyAssignment();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0());
+ }
}
@@ -22106,29 +24272,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2"
+ // $ANTLR end "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0"
- // $ANTLR start "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3"
- // InternalRDL.g:6724:1: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 : ( ruleEnumDefinition ) ;
- public final void rule__ComponentDefinition__EnumDefinitionsAssignment_3_3() throws RecognitionException {
+ // $ANTLR start "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0"
+ // InternalRDL.g:6983:1: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 : ( ruleEnumDefinition ) ;
+ public final void rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6728:1: ( ( ruleEnumDefinition ) )
- // InternalRDL.g:6729:2: ( ruleEnumDefinition )
+ // InternalRDL.g:6987:1: ( ( ruleEnumDefinition ) )
+ // InternalRDL.g:6988:2: ( ruleEnumDefinition )
{
- // InternalRDL.g:6729:2: ( ruleEnumDefinition )
- // InternalRDL.g:6730:3: ruleEnumDefinition
+ // InternalRDL.g:6988:2: ( ruleEnumDefinition )
+ // InternalRDL.g:6989:3: ruleEnumDefinition
{
- before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0());
+ }
pushFollow(FOLLOW_2);
ruleEnumDefinition();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0());
+ }
}
@@ -22147,29 +24317,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3"
+ // $ANTLR end "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0"
- // $ANTLR start "rule__ComponentDefinition__ImmediateInstantiationAssignment_5"
- // InternalRDL.g:6739:1: rule__ComponentDefinition__ImmediateInstantiationAssignment_5 : ( ruleImmediateInstantiation ) ;
- public final void rule__ComponentDefinition__ImmediateInstantiationAssignment_5() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__InstanceTypeAssignment_0_0_0"
+ // InternalRDL.g:6998:1: rule__Instantiation__InstanceTypeAssignment_0_0_0 : ( ruleEnumInstanceType ) ;
+ public final void rule__Instantiation__InstanceTypeAssignment_0_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6743:1: ( ( ruleImmediateInstantiation ) )
- // InternalRDL.g:6744:2: ( ruleImmediateInstantiation )
+ // InternalRDL.g:7002:1: ( ( ruleEnumInstanceType ) )
+ // InternalRDL.g:7003:2: ( ruleEnumInstanceType )
{
- // InternalRDL.g:6744:2: ( ruleImmediateInstantiation )
- // InternalRDL.g:6745:3: ruleImmediateInstantiation
+ // InternalRDL.g:7003:2: ( ruleEnumInstanceType )
+ // InternalRDL.g:7004:3: ruleEnumInstanceType
{
- before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0());
+ }
pushFollow(FOLLOW_2);
- ruleImmediateInstantiation();
+ ruleEnumInstanceType();
state._fsp--;
-
- after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0());
+ }
}
@@ -22188,33 +24362,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__ComponentDefinition__ImmediateInstantiationAssignment_5"
+ // $ANTLR end "rule__Instantiation__InstanceTypeAssignment_0_0_0"
- // $ANTLR start "rule__NamedInstantiation__ExternalAssignment_0"
- // InternalRDL.g:6754:1: rule__NamedInstantiation__ExternalAssignment_0 : ( ( 'external' ) ) ;
- public final void rule__NamedInstantiation__ExternalAssignment_0() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__AliasAssignment_0_0_1_1"
+ // InternalRDL.g:7013:1: rule__Instantiation__AliasAssignment_0_0_1_1 : ( RULE_ID ) ;
+ public final void rule__Instantiation__AliasAssignment_0_0_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6758:1: ( ( ( 'external' ) ) )
- // InternalRDL.g:6759:2: ( ( 'external' ) )
+ // InternalRDL.g:7017:1: ( ( RULE_ID ) )
+ // InternalRDL.g:7018:2: ( RULE_ID )
{
- // InternalRDL.g:6759:2: ( ( 'external' ) )
- // InternalRDL.g:6760:3: ( 'external' )
+ // InternalRDL.g:7018:2: ( RULE_ID )
+ // InternalRDL.g:7019:3: RULE_ID
{
- before(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0());
- // InternalRDL.g:6761:3: ( 'external' )
- // InternalRDL.g:6762:4: 'external'
- {
- before(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0());
- match(input,134,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0());
-
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0());
}
-
- after(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0());
}
@@ -22233,33 +24403,41 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__ExternalAssignment_0"
+ // $ANTLR end "rule__Instantiation__AliasAssignment_0_0_1_1"
- // $ANTLR start "rule__NamedInstantiation__InternalAssignment_1"
- // InternalRDL.g:6773:1: rule__NamedInstantiation__InternalAssignment_1 : ( ( 'internal' ) ) ;
- public final void rule__NamedInstantiation__InternalAssignment_1() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__ComponentRefAssignment_0_0_2"
+ // InternalRDL.g:7028:1: rule__Instantiation__ComponentRefAssignment_0_0_2 : ( ( RULE_ID ) ) ;
+ public final void rule__Instantiation__ComponentRefAssignment_0_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6777:1: ( ( ( 'internal' ) ) )
- // InternalRDL.g:6778:2: ( ( 'internal' ) )
+ // InternalRDL.g:7032:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7033:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:6778:2: ( ( 'internal' ) )
- // InternalRDL.g:6779:3: ( 'internal' )
+ // InternalRDL.g:7033:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7034:3: ( RULE_ID )
{
- before(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0());
- // InternalRDL.g:6780:3: ( 'internal' )
- // InternalRDL.g:6781:4: 'internal'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0());
+ }
+ // InternalRDL.g:7035:3: ( RULE_ID )
+ // InternalRDL.g:7036:4: RULE_ID
{
- before(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0());
- match(input,76,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1());
+ }
}
- after(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0());
+ }
}
@@ -22278,25 +24456,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__InternalAssignment_1"
+ // $ANTLR end "rule__Instantiation__ComponentRefAssignment_0_0_2"
- // $ANTLR start "rule__NamedInstantiation__AliasAssignment_2_1"
- // InternalRDL.g:6792:1: rule__NamedInstantiation__AliasAssignment_2_1 : ( RULE_ID ) ;
- public final void rule__NamedInstantiation__AliasAssignment_2_1() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__ComponentAssignment_0_1_0"
+ // InternalRDL.g:7047:1: rule__Instantiation__ComponentAssignment_0_1_0 : ( ruleComponentDefinition ) ;
+ public final void rule__Instantiation__ComponentAssignment_0_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6796:1: ( ( RULE_ID ) )
- // InternalRDL.g:6797:2: ( RULE_ID )
+ // InternalRDL.g:7051:1: ( ( ruleComponentDefinition ) )
+ // InternalRDL.g:7052:2: ( ruleComponentDefinition )
{
- // InternalRDL.g:6797:2: ( RULE_ID )
- // InternalRDL.g:6798:3: RULE_ID
+ // InternalRDL.g:7052:2: ( ruleComponentDefinition )
+ // InternalRDL.g:7053:3: ruleComponentDefinition
{
- before(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0());
+ }
+ pushFollow(FOLLOW_2);
+ ruleComponentDefinition();
+
+ state._fsp--;
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0());
+ }
}
@@ -22315,33 +24501,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__AliasAssignment_2_1"
+ // $ANTLR end "rule__Instantiation__ComponentAssignment_0_1_0"
- // $ANTLR start "rule__NamedInstantiation__ComponentAssignment_3"
- // InternalRDL.g:6807:1: rule__NamedInstantiation__ComponentAssignment_3 : ( ( RULE_ID ) ) ;
- public final void rule__NamedInstantiation__ComponentAssignment_3() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__InstanceTypeAssignment_0_1_1"
+ // InternalRDL.g:7062:1: rule__Instantiation__InstanceTypeAssignment_0_1_1 : ( ruleEnumInstanceType ) ;
+ public final void rule__Instantiation__InstanceTypeAssignment_0_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6811:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:6812:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7066:1: ( ( ruleEnumInstanceType ) )
+ // InternalRDL.g:7067:2: ( ruleEnumInstanceType )
{
- // InternalRDL.g:6812:2: ( ( RULE_ID ) )
- // InternalRDL.g:6813:3: ( RULE_ID )
+ // InternalRDL.g:7067:2: ( ruleEnumInstanceType )
+ // InternalRDL.g:7068:3: ruleEnumInstanceType
{
- before(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0());
- // InternalRDL.g:6814:3: ( RULE_ID )
- // InternalRDL.g:6815:4: RULE_ID
- {
- before(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionIDTerminalRuleCall_3_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionIDTerminalRuleCall_3_0_1());
-
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0());
}
+ pushFollow(FOLLOW_2);
+ ruleEnumInstanceType();
- after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0());
+ state._fsp--;
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0());
+ }
}
@@ -22360,29 +24546,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__ComponentAssignment_3"
+ // $ANTLR end "rule__Instantiation__InstanceTypeAssignment_0_1_1"
- // $ANTLR start "rule__NamedInstantiation__ComponentInstancesAssignment_4"
- // InternalRDL.g:6826:1: rule__NamedInstantiation__ComponentInstancesAssignment_4 : ( ruleComponentInstance ) ;
- public final void rule__NamedInstantiation__ComponentInstancesAssignment_4() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__ComponentInstancesAssignment_1"
+ // InternalRDL.g:7077:1: rule__Instantiation__ComponentInstancesAssignment_1 : ( ruleComponentInstance ) ;
+ public final void rule__Instantiation__ComponentInstancesAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6830:1: ( ( ruleComponentInstance ) )
- // InternalRDL.g:6831:2: ( ruleComponentInstance )
+ // InternalRDL.g:7081:1: ( ( ruleComponentInstance ) )
+ // InternalRDL.g:7082:2: ( ruleComponentInstance )
{
- // InternalRDL.g:6831:2: ( ruleComponentInstance )
- // InternalRDL.g:6832:3: ruleComponentInstance
+ // InternalRDL.g:7082:2: ( ruleComponentInstance )
+ // InternalRDL.g:7083:3: ruleComponentInstance
{
- before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
+ }
pushFollow(FOLLOW_2);
ruleComponentInstance();
state._fsp--;
-
- after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
+ }
}
@@ -22401,29 +24591,33 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__ComponentInstancesAssignment_4"
+ // $ANTLR end "rule__Instantiation__ComponentInstancesAssignment_1"
- // $ANTLR start "rule__NamedInstantiation__ComponentInstancesAssignment_5_1"
- // InternalRDL.g:6841:1: rule__NamedInstantiation__ComponentInstancesAssignment_5_1 : ( ruleComponentInstance ) ;
- public final void rule__NamedInstantiation__ComponentInstancesAssignment_5_1() throws RecognitionException {
+ // $ANTLR start "rule__Instantiation__ComponentInstancesAssignment_2_1"
+ // InternalRDL.g:7092:1: rule__Instantiation__ComponentInstancesAssignment_2_1 : ( ruleComponentInstance ) ;
+ public final void rule__Instantiation__ComponentInstancesAssignment_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6845:1: ( ( ruleComponentInstance ) )
- // InternalRDL.g:6846:2: ( ruleComponentInstance )
+ // InternalRDL.g:7096:1: ( ( ruleComponentInstance ) )
+ // InternalRDL.g:7097:2: ( ruleComponentInstance )
{
- // InternalRDL.g:6846:2: ( ruleComponentInstance )
- // InternalRDL.g:6847:3: ruleComponentInstance
+ // InternalRDL.g:7097:2: ( ruleComponentInstance )
+ // InternalRDL.g:7098:3: ruleComponentInstance
{
- before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
+ }
pushFollow(FOLLOW_2);
ruleComponentInstance();
state._fsp--;
-
- after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
+ }
}
@@ -22442,152 +24636,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__NamedInstantiation__ComponentInstancesAssignment_5_1"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__ExternalAssignment_0"
- // InternalRDL.g:6856:1: rule__ImmediateInstantiation__ExternalAssignment_0 : ( ( 'external' ) ) ;
- public final void rule__ImmediateInstantiation__ExternalAssignment_0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:6860:1: ( ( ( 'external' ) ) )
- // InternalRDL.g:6861:2: ( ( 'external' ) )
- {
- // InternalRDL.g:6861:2: ( ( 'external' ) )
- // InternalRDL.g:6862:3: ( 'external' )
- {
- before(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0());
- // InternalRDL.g:6863:3: ( 'external' )
- // InternalRDL.g:6864:4: 'external'
- {
- before(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0());
- match(input,134,FOLLOW_2);
- after(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0());
-
- }
-
- after(grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__ExternalAssignment_0"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__ComponentInstancesAssignment_1"
- // InternalRDL.g:6875:1: rule__ImmediateInstantiation__ComponentInstancesAssignment_1 : ( ruleComponentInstance ) ;
- public final void rule__ImmediateInstantiation__ComponentInstancesAssignment_1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:6879:1: ( ( ruleComponentInstance ) )
- // InternalRDL.g:6880:2: ( ruleComponentInstance )
- {
- // InternalRDL.g:6880:2: ( ruleComponentInstance )
- // InternalRDL.g:6881:3: ruleComponentInstance
- {
- before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
- pushFollow(FOLLOW_2);
- ruleComponentInstance();
-
- state._fsp--;
-
- after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__ComponentInstancesAssignment_1"
-
-
- // $ANTLR start "rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1"
- // InternalRDL.g:6890:1: rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1 : ( ruleComponentInstance ) ;
- public final void rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalRDL.g:6894:1: ( ( ruleComponentInstance ) )
- // InternalRDL.g:6895:2: ( ruleComponentInstance )
- {
- // InternalRDL.g:6895:2: ( ruleComponentInstance )
- // InternalRDL.g:6896:3: ruleComponentInstance
- {
- before(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
- pushFollow(FOLLOW_2);
- ruleComponentInstance();
-
- state._fsp--;
-
- after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ImmediateInstantiation__ComponentInstancesAssignment_2_1"
+ // $ANTLR end "rule__Instantiation__ComponentInstancesAssignment_2_1"
// $ANTLR start "rule__ComponentInstance__NameAssignment_0"
- // InternalRDL.g:6905:1: rule__ComponentInstance__NameAssignment_0 : ( RULE_ID ) ;
+ // InternalRDL.g:7107:1: rule__ComponentInstance__NameAssignment_0 : ( RULE_ID ) ;
public final void rule__ComponentInstance__NameAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6909:1: ( ( RULE_ID ) )
- // InternalRDL.g:6910:2: ( RULE_ID )
+ // InternalRDL.g:7111:1: ( ( RULE_ID ) )
+ // InternalRDL.g:7112:2: ( RULE_ID )
{
- // InternalRDL.g:6910:2: ( RULE_ID )
- // InternalRDL.g:6911:3: RULE_ID
+ // InternalRDL.g:7112:2: ( RULE_ID )
+ // InternalRDL.g:7113:3: RULE_ID
{
- before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0());
+ }
}
@@ -22610,25 +24681,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__RangeAssignment_1"
- // InternalRDL.g:6920:1: rule__ComponentInstance__RangeAssignment_1 : ( ruleRange ) ;
+ // InternalRDL.g:7122:1: rule__ComponentInstance__RangeAssignment_1 : ( ruleRange ) ;
public final void rule__ComponentInstance__RangeAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6924:1: ( ( ruleRange ) )
- // InternalRDL.g:6925:2: ( ruleRange )
+ // InternalRDL.g:7126:1: ( ( ruleRange ) )
+ // InternalRDL.g:7127:2: ( ruleRange )
{
- // InternalRDL.g:6925:2: ( ruleRange )
- // InternalRDL.g:6926:3: ruleRange
+ // InternalRDL.g:7127:2: ( ruleRange )
+ // InternalRDL.g:7128:3: ruleRange
{
- before(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0());
+ }
pushFollow(FOLLOW_2);
ruleRange();
state._fsp--;
-
- after(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0());
+ }
}
@@ -22651,21 +24726,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__ResetAssignment_2_1"
- // InternalRDL.g:6935:1: rule__ComponentInstance__ResetAssignment_2_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7137:1: rule__ComponentInstance__ResetAssignment_2_1 : ( RULE_NUM ) ;
public final void rule__ComponentInstance__ResetAssignment_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6939:1: ( ( RULE_NUM ) )
- // InternalRDL.g:6940:2: ( RULE_NUM )
+ // InternalRDL.g:7141:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7142:2: ( RULE_NUM )
{
- // InternalRDL.g:6940:2: ( RULE_NUM )
- // InternalRDL.g:6941:3: RULE_NUM
+ // InternalRDL.g:7142:2: ( RULE_NUM )
+ // InternalRDL.g:7143:3: RULE_NUM
{
- before(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0());
+ }
}
@@ -22688,21 +24767,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__AddressAssignment_3_1"
- // InternalRDL.g:6950:1: rule__ComponentInstance__AddressAssignment_3_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7152:1: rule__ComponentInstance__AddressAssignment_3_1 : ( RULE_NUM ) ;
public final void rule__ComponentInstance__AddressAssignment_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6954:1: ( ( RULE_NUM ) )
- // InternalRDL.g:6955:2: ( RULE_NUM )
+ // InternalRDL.g:7156:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7157:2: ( RULE_NUM )
{
- // InternalRDL.g:6955:2: ( RULE_NUM )
- // InternalRDL.g:6956:3: RULE_NUM
+ // InternalRDL.g:7157:2: ( RULE_NUM )
+ // InternalRDL.g:7158:3: RULE_NUM
{
- before(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0());
+ }
}
@@ -22725,21 +24808,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__AddrIncAssignment_4_1"
- // InternalRDL.g:6965:1: rule__ComponentInstance__AddrIncAssignment_4_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7167:1: rule__ComponentInstance__AddrIncAssignment_4_1 : ( RULE_NUM ) ;
public final void rule__ComponentInstance__AddrIncAssignment_4_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6969:1: ( ( RULE_NUM ) )
- // InternalRDL.g:6970:2: ( RULE_NUM )
+ // InternalRDL.g:7171:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7172:2: ( RULE_NUM )
{
- // InternalRDL.g:6970:2: ( RULE_NUM )
- // InternalRDL.g:6971:3: RULE_NUM
+ // InternalRDL.g:7172:2: ( RULE_NUM )
+ // InternalRDL.g:7173:3: RULE_NUM
{
- before(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0());
+ }
}
@@ -22762,21 +24849,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ComponentInstance__AddrModAssignment_5_1"
- // InternalRDL.g:6980:1: rule__ComponentInstance__AddrModAssignment_5_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7182:1: rule__ComponentInstance__AddrModAssignment_5_1 : ( RULE_NUM ) ;
public final void rule__ComponentInstance__AddrModAssignment_5_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6984:1: ( ( RULE_NUM ) )
- // InternalRDL.g:6985:2: ( RULE_NUM )
+ // InternalRDL.g:7186:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7187:2: ( RULE_NUM )
{
- // InternalRDL.g:6985:2: ( RULE_NUM )
- // InternalRDL.g:6986:3: RULE_NUM
+ // InternalRDL.g:7187:2: ( RULE_NUM )
+ // InternalRDL.g:7188:3: RULE_NUM
{
- before(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0());
+ }
}
@@ -22798,22 +24889,26 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR end "rule__ComponentInstance__AddrModAssignment_5_1"
- // $ANTLR start "rule__Range__StartAssignment_1_0_0"
- // InternalRDL.g:6995:1: rule__Range__StartAssignment_1_0_0 : ( RULE_NUM ) ;
- public final void rule__Range__StartAssignment_1_0_0() throws RecognitionException {
+ // $ANTLR start "rule__Range__LeftAssignment_1_0_0"
+ // InternalRDL.g:7197:1: rule__Range__LeftAssignment_1_0_0 : ( RULE_NUM ) ;
+ public final void rule__Range__LeftAssignment_1_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:6999:1: ( ( RULE_NUM ) )
- // InternalRDL.g:7000:2: ( RULE_NUM )
+ // InternalRDL.g:7201:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7202:2: ( RULE_NUM )
{
- // InternalRDL.g:7000:2: ( RULE_NUM )
- // InternalRDL.g:7001:3: RULE_NUM
+ // InternalRDL.g:7202:2: ( RULE_NUM )
+ // InternalRDL.g:7203:3: RULE_NUM
{
- before(grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0());
+ }
}
@@ -22832,25 +24927,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Range__StartAssignment_1_0_0"
+ // $ANTLR end "rule__Range__LeftAssignment_1_0_0"
- // $ANTLR start "rule__Range__EndAssignment_1_0_2"
- // InternalRDL.g:7010:1: rule__Range__EndAssignment_1_0_2 : ( RULE_NUM ) ;
- public final void rule__Range__EndAssignment_1_0_2() throws RecognitionException {
+ // $ANTLR start "rule__Range__RightAssignment_1_0_2"
+ // InternalRDL.g:7212:1: rule__Range__RightAssignment_1_0_2 : ( RULE_NUM ) ;
+ public final void rule__Range__RightAssignment_1_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7014:1: ( ( RULE_NUM ) )
- // InternalRDL.g:7015:2: ( RULE_NUM )
+ // InternalRDL.g:7216:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7217:2: ( RULE_NUM )
{
- // InternalRDL.g:7015:2: ( RULE_NUM )
- // InternalRDL.g:7016:3: RULE_NUM
+ // InternalRDL.g:7217:2: ( RULE_NUM )
+ // InternalRDL.g:7218:3: RULE_NUM
{
- before(grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0());
+ }
}
@@ -22869,25 +24968,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
return ;
}
- // $ANTLR end "rule__Range__EndAssignment_1_0_2"
+ // $ANTLR end "rule__Range__RightAssignment_1_0_2"
// $ANTLR start "rule__Range__SizeAssignment_1_1"
- // InternalRDL.g:7025:1: rule__Range__SizeAssignment_1_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7227:1: rule__Range__SizeAssignment_1_1 : ( RULE_NUM ) ;
public final void rule__Range__SizeAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7029:1: ( ( RULE_NUM ) )
- // InternalRDL.g:7030:2: ( RULE_NUM )
+ // InternalRDL.g:7231:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7232:2: ( RULE_NUM )
{
- // InternalRDL.g:7030:2: ( RULE_NUM )
- // InternalRDL.g:7031:3: RULE_NUM
+ // InternalRDL.g:7232:2: ( RULE_NUM )
+ // InternalRDL.g:7233:3: RULE_NUM
{
- before(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0());
+ }
}
@@ -22910,25 +25013,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__ModifierAssignment_0_0"
- // InternalRDL.g:7040:1: rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 : ( rulePropertyModifier ) ;
+ // InternalRDL.g:7242:1: rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 : ( rulePropertyModifier ) ;
public final void rule__ExplicitPropertyAssignment__ModifierAssignment_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7044:1: ( ( rulePropertyModifier ) )
- // InternalRDL.g:7045:2: ( rulePropertyModifier )
+ // InternalRDL.g:7246:1: ( ( rulePropertyModifier ) )
+ // InternalRDL.g:7247:2: ( rulePropertyModifier )
{
- // InternalRDL.g:7045:2: ( rulePropertyModifier )
- // InternalRDL.g:7046:3: rulePropertyModifier
+ // InternalRDL.g:7247:2: ( rulePropertyModifier )
+ // InternalRDL.g:7248:3: rulePropertyModifier
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyModifier();
state._fsp--;
-
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0());
+ }
}
@@ -22951,25 +25058,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__NameAssignment_0_1"
- // InternalRDL.g:7055:1: rule__ExplicitPropertyAssignment__NameAssignment_0_1 : ( ruleProperty ) ;
+ // InternalRDL.g:7257:1: rule__ExplicitPropertyAssignment__NameAssignment_0_1 : ( ruleProperty ) ;
public final void rule__ExplicitPropertyAssignment__NameAssignment_0_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7059:1: ( ( ruleProperty ) )
- // InternalRDL.g:7060:2: ( ruleProperty )
+ // InternalRDL.g:7261:1: ( ( ruleProperty ) )
+ // InternalRDL.g:7262:2: ( ruleProperty )
{
- // InternalRDL.g:7060:2: ( ruleProperty )
- // InternalRDL.g:7061:3: ruleProperty
+ // InternalRDL.g:7262:2: ( ruleProperty )
+ // InternalRDL.g:7263:3: ruleProperty
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0());
+ }
pushFollow(FOLLOW_2);
ruleProperty();
state._fsp--;
-
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0());
+ }
}
@@ -22992,25 +25103,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__NameAssignment_1_0"
- // InternalRDL.g:7070:1: rule__ExplicitPropertyAssignment__NameAssignment_1_0 : ( ruleProperty ) ;
+ // InternalRDL.g:7272:1: rule__ExplicitPropertyAssignment__NameAssignment_1_0 : ( ruleProperty ) ;
public final void rule__ExplicitPropertyAssignment__NameAssignment_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7074:1: ( ( ruleProperty ) )
- // InternalRDL.g:7075:2: ( ruleProperty )
+ // InternalRDL.g:7276:1: ( ( ruleProperty ) )
+ // InternalRDL.g:7277:2: ( ruleProperty )
{
- // InternalRDL.g:7075:2: ( ruleProperty )
- // InternalRDL.g:7076:3: ruleProperty
+ // InternalRDL.g:7277:2: ( ruleProperty )
+ // InternalRDL.g:7278:3: ruleProperty
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
+ }
pushFollow(FOLLOW_2);
ruleProperty();
state._fsp--;
-
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
+ }
}
@@ -23033,25 +25148,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1"
- // InternalRDL.g:7085:1: rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 : ( rulePropertyAssignmentRhs ) ;
+ // InternalRDL.g:7287:1: rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 : ( rulePropertyAssignmentRhs ) ;
public final void rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7089:1: ( ( rulePropertyAssignmentRhs ) )
- // InternalRDL.g:7090:2: ( rulePropertyAssignmentRhs )
+ // InternalRDL.g:7291:1: ( ( rulePropertyAssignmentRhs ) )
+ // InternalRDL.g:7292:2: ( rulePropertyAssignmentRhs )
{
- // InternalRDL.g:7090:2: ( rulePropertyAssignmentRhs )
- // InternalRDL.g:7091:3: rulePropertyAssignmentRhs
+ // InternalRDL.g:7292:2: ( rulePropertyAssignmentRhs )
+ // InternalRDL.g:7293:3: rulePropertyAssignmentRhs
{
- before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyAssignmentRhs();
state._fsp--;
-
- after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
+ }
}
@@ -23074,25 +25193,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__InstanceAssignment_0_0_0"
- // InternalRDL.g:7100:1: rule__PostPropertyAssignment__InstanceAssignment_0_0_0 : ( ruleHierInstanceRef ) ;
+ // InternalRDL.g:7302:1: rule__PostPropertyAssignment__InstanceAssignment_0_0_0 : ( ruleHierInstanceRef ) ;
public final void rule__PostPropertyAssignment__InstanceAssignment_0_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7104:1: ( ( ruleHierInstanceRef ) )
- // InternalRDL.g:7105:2: ( ruleHierInstanceRef )
+ // InternalRDL.g:7306:1: ( ( ruleHierInstanceRef ) )
+ // InternalRDL.g:7307:2: ( ruleHierInstanceRef )
{
- // InternalRDL.g:7105:2: ( ruleHierInstanceRef )
- // InternalRDL.g:7106:3: ruleHierInstanceRef
+ // InternalRDL.g:7307:2: ( ruleHierInstanceRef )
+ // InternalRDL.g:7308:3: ruleHierInstanceRef
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0());
+ }
pushFollow(FOLLOW_2);
ruleHierInstanceRef();
state._fsp--;
-
- after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0());
+ }
}
@@ -23115,25 +25238,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0"
- // InternalRDL.g:7115:1: rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 : ( ruleProperty ) ;
+ // InternalRDL.g:7317:1: rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 : ( ruleProperty ) ;
public final void rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7119:1: ( ( ruleProperty ) )
- // InternalRDL.g:7120:2: ( ruleProperty )
+ // InternalRDL.g:7321:1: ( ( ruleProperty ) )
+ // InternalRDL.g:7322:2: ( ruleProperty )
{
- // InternalRDL.g:7120:2: ( ruleProperty )
- // InternalRDL.g:7121:3: ruleProperty
+ // InternalRDL.g:7322:2: ( ruleProperty )
+ // InternalRDL.g:7323:3: ruleProperty
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0());
+ }
pushFollow(FOLLOW_2);
ruleProperty();
state._fsp--;
-
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0());
+ }
}
@@ -23156,29 +25283,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1"
- // InternalRDL.g:7130:1: rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 : ( ( RULE_ID ) ) ;
+ // InternalRDL.g:7332:1: rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 : ( ( RULE_ID ) ) ;
public final void rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7134:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:7135:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7336:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7337:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:7135:2: ( ( RULE_ID ) )
- // InternalRDL.g:7136:3: ( RULE_ID )
+ // InternalRDL.g:7337:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7338:3: ( RULE_ID )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0());
- // InternalRDL.g:7137:3: ( RULE_ID )
- // InternalRDL.g:7138:4: RULE_ID
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0());
+ }
+ // InternalRDL.g:7339:3: ( RULE_ID )
+ // InternalRDL.g:7340:4: RULE_ID
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1());
+ }
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0());
+ }
}
@@ -23201,29 +25336,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__PropertyAssignment_0_1"
- // InternalRDL.g:7149:1: rule__PostPropertyAssignment__PropertyAssignment_0_1 : ( ( RULE_ID ) ) ;
+ // InternalRDL.g:7351:1: rule__PostPropertyAssignment__PropertyAssignment_0_1 : ( ( RULE_ID ) ) ;
public final void rule__PostPropertyAssignment__PropertyAssignment_0_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7153:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:7154:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7355:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7356:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:7154:2: ( ( RULE_ID ) )
- // InternalRDL.g:7155:3: ( RULE_ID )
+ // InternalRDL.g:7356:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7357:3: ( RULE_ID )
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0());
- // InternalRDL.g:7156:3: ( RULE_ID )
- // InternalRDL.g:7157:4: RULE_ID
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0());
+ }
+ // InternalRDL.g:7358:3: ( RULE_ID )
+ // InternalRDL.g:7359:4: RULE_ID
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1());
+ }
}
- after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0());
+ }
}
@@ -23246,25 +25389,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PostPropertyAssignment__RhsAssignment_1_1"
- // InternalRDL.g:7168:1: rule__PostPropertyAssignment__RhsAssignment_1_1 : ( rulePropertyAssignmentRhs ) ;
+ // InternalRDL.g:7370:1: rule__PostPropertyAssignment__RhsAssignment_1_1 : ( rulePropertyAssignmentRhs ) ;
public final void rule__PostPropertyAssignment__RhsAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7172:1: ( ( rulePropertyAssignmentRhs ) )
- // InternalRDL.g:7173:2: ( rulePropertyAssignmentRhs )
+ // InternalRDL.g:7374:1: ( ( rulePropertyAssignmentRhs ) )
+ // InternalRDL.g:7375:2: ( rulePropertyAssignmentRhs )
{
- // InternalRDL.g:7173:2: ( rulePropertyAssignmentRhs )
- // InternalRDL.g:7174:3: rulePropertyAssignmentRhs
+ // InternalRDL.g:7375:2: ( rulePropertyAssignmentRhs )
+ // InternalRDL.g:7376:3: rulePropertyAssignmentRhs
{
- before(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyAssignmentRhs();
state._fsp--;
-
- after(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0());
+ }
}
@@ -23287,25 +25434,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__InstanceAssignment_0"
- // InternalRDL.g:7183:1: rule__InstancePropertyRef__InstanceAssignment_0 : ( ruleInstanceRef ) ;
+ // InternalRDL.g:7385:1: rule__InstancePropertyRef__InstanceAssignment_0 : ( ruleInstanceRef ) ;
public final void rule__InstancePropertyRef__InstanceAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7187:1: ( ( ruleInstanceRef ) )
- // InternalRDL.g:7188:2: ( ruleInstanceRef )
+ // InternalRDL.g:7389:1: ( ( ruleInstanceRef ) )
+ // InternalRDL.g:7390:2: ( ruleInstanceRef )
{
- // InternalRDL.g:7188:2: ( ruleInstanceRef )
- // InternalRDL.g:7189:3: ruleInstanceRef
+ // InternalRDL.g:7390:2: ( ruleInstanceRef )
+ // InternalRDL.g:7391:3: ruleInstanceRef
{
- before(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0());
+ }
pushFollow(FOLLOW_2);
ruleInstanceRef();
state._fsp--;
-
- after(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0());
+ }
}
@@ -23328,25 +25479,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0"
- // InternalRDL.g:7198:1: rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 : ( ruleProperty ) ;
+ // InternalRDL.g:7400:1: rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 : ( ruleProperty ) ;
public final void rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7202:1: ( ( ruleProperty ) )
- // InternalRDL.g:7203:2: ( ruleProperty )
+ // InternalRDL.g:7404:1: ( ( ruleProperty ) )
+ // InternalRDL.g:7405:2: ( ruleProperty )
{
- // InternalRDL.g:7203:2: ( ruleProperty )
- // InternalRDL.g:7204:3: ruleProperty
+ // InternalRDL.g:7405:2: ( ruleProperty )
+ // InternalRDL.g:7406:3: ruleProperty
{
- before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0());
+ }
pushFollow(FOLLOW_2);
ruleProperty();
state._fsp--;
-
- after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0());
+ }
}
@@ -23369,29 +25524,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstancePropertyRef__PropertyAssignment_1_1_1"
- // InternalRDL.g:7213:1: rule__InstancePropertyRef__PropertyAssignment_1_1_1 : ( ( RULE_ID ) ) ;
+ // InternalRDL.g:7415:1: rule__InstancePropertyRef__PropertyAssignment_1_1_1 : ( ( RULE_ID ) ) ;
public final void rule__InstancePropertyRef__PropertyAssignment_1_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7217:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:7218:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7419:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7420:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:7218:2: ( ( RULE_ID ) )
- // InternalRDL.g:7219:3: ( RULE_ID )
+ // InternalRDL.g:7420:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7421:3: ( RULE_ID )
{
- before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0());
- // InternalRDL.g:7220:3: ( RULE_ID )
- // InternalRDL.g:7221:4: RULE_ID
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0());
+ }
+ // InternalRDL.g:7422:3: ( RULE_ID )
+ // InternalRDL.g:7423:4: RULE_ID
{
- before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1());
+ }
}
- after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0());
+ }
}
@@ -23414,29 +25577,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__InstanceAssignment_0"
- // InternalRDL.g:7232:1: rule__InstanceRef__InstanceAssignment_0 : ( ( RULE_ID ) ) ;
+ // InternalRDL.g:7434:1: rule__InstanceRef__InstanceAssignment_0 : ( ( RULE_ID ) ) ;
public final void rule__InstanceRef__InstanceAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7236:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:7237:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7438:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7439:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:7237:2: ( ( RULE_ID ) )
- // InternalRDL.g:7238:3: ( RULE_ID )
+ // InternalRDL.g:7439:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7440:3: ( RULE_ID )
{
- before(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0());
- // InternalRDL.g:7239:3: ( RULE_ID )
- // InternalRDL.g:7240:4: RULE_ID
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0());
+ }
+ // InternalRDL.g:7441:3: ( RULE_ID )
+ // InternalRDL.g:7442:4: RULE_ID
{
- before(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1());
+ }
}
- after(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0());
+ }
}
@@ -23459,25 +25630,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__InstanceRef__TailAssignment_1_1"
- // InternalRDL.g:7251:1: rule__InstanceRef__TailAssignment_1_1 : ( ruleHierInstanceRef ) ;
+ // InternalRDL.g:7453:1: rule__InstanceRef__TailAssignment_1_1 : ( ruleHierInstanceRef ) ;
public final void rule__InstanceRef__TailAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7255:1: ( ( ruleHierInstanceRef ) )
- // InternalRDL.g:7256:2: ( ruleHierInstanceRef )
+ // InternalRDL.g:7457:1: ( ( ruleHierInstanceRef ) )
+ // InternalRDL.g:7458:2: ( ruleHierInstanceRef )
{
- // InternalRDL.g:7256:2: ( ruleHierInstanceRef )
- // InternalRDL.g:7257:3: ruleHierInstanceRef
+ // InternalRDL.g:7458:2: ( ruleHierInstanceRef )
+ // InternalRDL.g:7459:3: ruleHierInstanceRef
{
- before(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ }
pushFollow(FOLLOW_2);
ruleHierInstanceRef();
state._fsp--;
-
- after(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ }
}
@@ -23500,29 +25675,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__InstanceAssignment_0"
- // InternalRDL.g:7266:1: rule__HierInstanceRef__InstanceAssignment_0 : ( ( RULE_ID ) ) ;
+ // InternalRDL.g:7468:1: rule__HierInstanceRef__InstanceAssignment_0 : ( ( RULE_ID ) ) ;
public final void rule__HierInstanceRef__InstanceAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7270:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:7271:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7472:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7473:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:7271:2: ( ( RULE_ID ) )
- // InternalRDL.g:7272:3: ( RULE_ID )
+ // InternalRDL.g:7473:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7474:3: ( RULE_ID )
{
- before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0());
- // InternalRDL.g:7273:3: ( RULE_ID )
- // InternalRDL.g:7274:4: RULE_ID
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0());
+ }
+ // InternalRDL.g:7475:3: ( RULE_ID )
+ // InternalRDL.g:7476:4: RULE_ID
{
- before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1());
+ }
}
- after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0());
+ }
}
@@ -23545,25 +25728,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__HierInstanceRef__TailAssignment_1_1"
- // InternalRDL.g:7285:1: rule__HierInstanceRef__TailAssignment_1_1 : ( ruleHierInstanceRef ) ;
+ // InternalRDL.g:7487:1: rule__HierInstanceRef__TailAssignment_1_1 : ( ruleHierInstanceRef ) ;
public final void rule__HierInstanceRef__TailAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7289:1: ( ( ruleHierInstanceRef ) )
- // InternalRDL.g:7290:2: ( ruleHierInstanceRef )
+ // InternalRDL.g:7491:1: ( ( ruleHierInstanceRef ) )
+ // InternalRDL.g:7492:2: ( ruleHierInstanceRef )
{
- // InternalRDL.g:7290:2: ( ruleHierInstanceRef )
- // InternalRDL.g:7291:3: ruleHierInstanceRef
+ // InternalRDL.g:7492:2: ( ruleHierInstanceRef )
+ // InternalRDL.g:7493:3: ruleHierInstanceRef
{
- before(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ }
pushFollow(FOLLOW_2);
ruleHierInstanceRef();
state._fsp--;
-
- after(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+ }
}
@@ -23586,25 +25773,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__ValueAssignment_0"
- // InternalRDL.g:7300:1: rule__PropertyAssignmentRhs__ValueAssignment_0 : ( rulePropertyRvalueConstant ) ;
+ // InternalRDL.g:7502:1: rule__PropertyAssignmentRhs__ValueAssignment_0 : ( rulePropertyRvalueConstant ) ;
public final void rule__PropertyAssignmentRhs__ValueAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7304:1: ( ( rulePropertyRvalueConstant ) )
- // InternalRDL.g:7305:2: ( rulePropertyRvalueConstant )
+ // InternalRDL.g:7506:1: ( ( rulePropertyRvalueConstant ) )
+ // InternalRDL.g:7507:2: ( rulePropertyRvalueConstant )
{
- // InternalRDL.g:7305:2: ( rulePropertyRvalueConstant )
- // InternalRDL.g:7306:3: rulePropertyRvalueConstant
+ // InternalRDL.g:7507:2: ( rulePropertyRvalueConstant )
+ // InternalRDL.g:7508:3: rulePropertyRvalueConstant
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0());
+ }
pushFollow(FOLLOW_2);
rulePropertyRvalueConstant();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0());
+ }
}
@@ -23627,25 +25818,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__InstPropRefAssignment_1"
- // InternalRDL.g:7315:1: rule__PropertyAssignmentRhs__InstPropRefAssignment_1 : ( ruleInstancePropertyRef ) ;
+ // InternalRDL.g:7517:1: rule__PropertyAssignmentRhs__InstPropRefAssignment_1 : ( ruleInstancePropertyRef ) ;
public final void rule__PropertyAssignmentRhs__InstPropRefAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7319:1: ( ( ruleInstancePropertyRef ) )
- // InternalRDL.g:7320:2: ( ruleInstancePropertyRef )
+ // InternalRDL.g:7521:1: ( ( ruleInstancePropertyRef ) )
+ // InternalRDL.g:7522:2: ( ruleInstancePropertyRef )
{
- // InternalRDL.g:7320:2: ( ruleInstancePropertyRef )
- // InternalRDL.g:7321:3: ruleInstancePropertyRef
+ // InternalRDL.g:7522:2: ( ruleInstancePropertyRef )
+ // InternalRDL.g:7523:3: ruleInstancePropertyRef
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0());
+ }
pushFollow(FOLLOW_2);
ruleInstancePropertyRef();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0());
+ }
}
@@ -23668,29 +25863,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__EnumRefAssignment_2_0"
- // InternalRDL.g:7330:1: rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 : ( ( RULE_ID ) ) ;
+ // InternalRDL.g:7532:1: rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 : ( ( RULE_ID ) ) ;
public final void rule__PropertyAssignmentRhs__EnumRefAssignment_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7334:1: ( ( ( RULE_ID ) ) )
- // InternalRDL.g:7335:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7536:1: ( ( ( RULE_ID ) ) )
+ // InternalRDL.g:7537:2: ( ( RULE_ID ) )
{
- // InternalRDL.g:7335:2: ( ( RULE_ID ) )
- // InternalRDL.g:7336:3: ( RULE_ID )
+ // InternalRDL.g:7537:2: ( ( RULE_ID ) )
+ // InternalRDL.g:7538:3: ( RULE_ID )
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0());
- // InternalRDL.g:7337:3: ( RULE_ID )
- // InternalRDL.g:7338:4: RULE_ID
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0());
+ }
+ // InternalRDL.g:7539:3: ( RULE_ID )
+ // InternalRDL.g:7540:4: RULE_ID
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1());
+ }
}
- after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0());
+ }
}
@@ -23713,25 +25916,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__EnumsAssignment_2_2"
- // InternalRDL.g:7349:1: rule__PropertyAssignmentRhs__EnumsAssignment_2_2 : ( ruleEnumBody ) ;
+ // InternalRDL.g:7551:1: rule__PropertyAssignmentRhs__EnumsAssignment_2_2 : ( ruleEnumBody ) ;
public final void rule__PropertyAssignmentRhs__EnumsAssignment_2_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7353:1: ( ( ruleEnumBody ) )
- // InternalRDL.g:7354:2: ( ruleEnumBody )
+ // InternalRDL.g:7555:1: ( ( ruleEnumBody ) )
+ // InternalRDL.g:7556:2: ( ruleEnumBody )
{
- // InternalRDL.g:7354:2: ( ruleEnumBody )
- // InternalRDL.g:7355:3: ruleEnumBody
+ // InternalRDL.g:7556:2: ( ruleEnumBody )
+ // InternalRDL.g:7557:3: ruleEnumBody
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0());
+ }
pushFollow(FOLLOW_2);
ruleEnumBody();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0());
+ }
}
@@ -23754,25 +25961,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyAssignmentRhs__ElementsAssignment_3"
- // InternalRDL.g:7364:1: rule__PropertyAssignmentRhs__ElementsAssignment_3 : ( ruleConcat ) ;
+ // InternalRDL.g:7566:1: rule__PropertyAssignmentRhs__ElementsAssignment_3 : ( ruleConcat ) ;
public final void rule__PropertyAssignmentRhs__ElementsAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7368:1: ( ( ruleConcat ) )
- // InternalRDL.g:7369:2: ( ruleConcat )
+ // InternalRDL.g:7570:1: ( ( ruleConcat ) )
+ // InternalRDL.g:7571:2: ( ruleConcat )
{
- // InternalRDL.g:7369:2: ( ruleConcat )
- // InternalRDL.g:7370:3: ruleConcat
+ // InternalRDL.g:7571:2: ( ruleConcat )
+ // InternalRDL.g:7572:3: ruleConcat
{
- before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0());
+ }
pushFollow(FOLLOW_2);
ruleConcat();
state._fsp--;
-
- after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0());
+ }
}
@@ -23795,25 +26006,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__ElementsAssignment_1"
- // InternalRDL.g:7379:1: rule__Concat__ElementsAssignment_1 : ( ruleConcatElem ) ;
+ // InternalRDL.g:7581:1: rule__Concat__ElementsAssignment_1 : ( ruleConcatElem ) ;
public final void rule__Concat__ElementsAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7383:1: ( ( ruleConcatElem ) )
- // InternalRDL.g:7384:2: ( ruleConcatElem )
+ // InternalRDL.g:7585:1: ( ( ruleConcatElem ) )
+ // InternalRDL.g:7586:2: ( ruleConcatElem )
{
- // InternalRDL.g:7384:2: ( ruleConcatElem )
- // InternalRDL.g:7385:3: ruleConcatElem
+ // InternalRDL.g:7586:2: ( ruleConcatElem )
+ // InternalRDL.g:7587:3: ruleConcatElem
{
- before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0());
+ }
pushFollow(FOLLOW_2);
ruleConcatElem();
state._fsp--;
-
- after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0());
+ }
}
@@ -23836,25 +26051,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__Concat__ElementsAssignment_2_1"
- // InternalRDL.g:7394:1: rule__Concat__ElementsAssignment_2_1 : ( ruleConcatElem ) ;
+ // InternalRDL.g:7596:1: rule__Concat__ElementsAssignment_2_1 : ( ruleConcatElem ) ;
public final void rule__Concat__ElementsAssignment_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7398:1: ( ( ruleConcatElem ) )
- // InternalRDL.g:7399:2: ( ruleConcatElem )
+ // InternalRDL.g:7600:1: ( ( ruleConcatElem ) )
+ // InternalRDL.g:7601:2: ( ruleConcatElem )
{
- // InternalRDL.g:7399:2: ( ruleConcatElem )
- // InternalRDL.g:7400:3: ruleConcatElem
+ // InternalRDL.g:7601:2: ( ruleConcatElem )
+ // InternalRDL.g:7602:3: ruleConcatElem
{
- before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0());
+ }
pushFollow(FOLLOW_2);
ruleConcatElem();
state._fsp--;
-
- after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0());
+ }
}
@@ -23877,25 +26096,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ConcatElem__InstPropRefAssignment_0"
- // InternalRDL.g:7409:1: rule__ConcatElem__InstPropRefAssignment_0 : ( ruleInstancePropertyRef ) ;
+ // InternalRDL.g:7611:1: rule__ConcatElem__InstPropRefAssignment_0 : ( ruleInstancePropertyRef ) ;
public final void rule__ConcatElem__InstPropRefAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7413:1: ( ( ruleInstancePropertyRef ) )
- // InternalRDL.g:7414:2: ( ruleInstancePropertyRef )
+ // InternalRDL.g:7615:1: ( ( ruleInstancePropertyRef ) )
+ // InternalRDL.g:7616:2: ( ruleInstancePropertyRef )
{
- // InternalRDL.g:7414:2: ( ruleInstancePropertyRef )
- // InternalRDL.g:7415:3: ruleInstancePropertyRef
+ // InternalRDL.g:7616:2: ( ruleInstancePropertyRef )
+ // InternalRDL.g:7617:3: ruleInstancePropertyRef
{
- before(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0());
+ }
pushFollow(FOLLOW_2);
ruleInstancePropertyRef();
state._fsp--;
-
- after(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0());
+ }
}
@@ -23918,21 +26141,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__ConcatElem__ValueAssignment_1"
- // InternalRDL.g:7424:1: rule__ConcatElem__ValueAssignment_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7626:1: rule__ConcatElem__ValueAssignment_1 : ( RULE_NUM ) ;
public final void rule__ConcatElem__ValueAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7428:1: ( ( RULE_NUM ) )
- // InternalRDL.g:7429:2: ( RULE_NUM )
+ // InternalRDL.g:7630:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7631:2: ( RULE_NUM )
{
- // InternalRDL.g:7429:2: ( RULE_NUM )
- // InternalRDL.g:7430:3: RULE_NUM
+ // InternalRDL.g:7631:2: ( RULE_NUM )
+ // InternalRDL.g:7632:3: RULE_NUM
{
- before(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0());
+ }
}
@@ -23955,25 +26182,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyRvalueConstant__ValAssignment_0"
- // InternalRDL.g:7439:1: rule__PropertyRvalueConstant__ValAssignment_0 : ( ruleRValueConstant ) ;
+ // InternalRDL.g:7641:1: rule__PropertyRvalueConstant__ValAssignment_0 : ( ruleRValueConstant ) ;
public final void rule__PropertyRvalueConstant__ValAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7443:1: ( ( ruleRValueConstant ) )
- // InternalRDL.g:7444:2: ( ruleRValueConstant )
+ // InternalRDL.g:7645:1: ( ( ruleRValueConstant ) )
+ // InternalRDL.g:7646:2: ( ruleRValueConstant )
{
- // InternalRDL.g:7444:2: ( ruleRValueConstant )
- // InternalRDL.g:7445:3: ruleRValueConstant
+ // InternalRDL.g:7646:2: ( ruleRValueConstant )
+ // InternalRDL.g:7647:3: ruleRValueConstant
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0());
+ }
pushFollow(FOLLOW_2);
ruleRValueConstant();
state._fsp--;
-
- after(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0());
+ }
}
@@ -23996,21 +26227,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyRvalueConstant__NumAssignment_1"
- // InternalRDL.g:7454:1: rule__PropertyRvalueConstant__NumAssignment_1 : ( RULE_NUM ) ;
+ // InternalRDL.g:7656:1: rule__PropertyRvalueConstant__NumAssignment_1 : ( RULE_NUM ) ;
public final void rule__PropertyRvalueConstant__NumAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7458:1: ( ( RULE_NUM ) )
- // InternalRDL.g:7459:2: ( RULE_NUM )
+ // InternalRDL.g:7660:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7661:2: ( RULE_NUM )
{
- // InternalRDL.g:7459:2: ( RULE_NUM )
- // InternalRDL.g:7460:3: RULE_NUM
+ // InternalRDL.g:7661:2: ( RULE_NUM )
+ // InternalRDL.g:7662:3: RULE_NUM
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0());
+ }
}
@@ -24033,21 +26268,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__PropertyRvalueConstant__StrAssignment_2"
- // InternalRDL.g:7469:1: rule__PropertyRvalueConstant__StrAssignment_2 : ( RULE_STR ) ;
+ // InternalRDL.g:7671:1: rule__PropertyRvalueConstant__StrAssignment_2 : ( RULE_STR ) ;
public final void rule__PropertyRvalueConstant__StrAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7473:1: ( ( RULE_STR ) )
- // InternalRDL.g:7474:2: ( RULE_STR )
+ // InternalRDL.g:7675:1: ( ( RULE_STR ) )
+ // InternalRDL.g:7676:2: ( RULE_STR )
{
- // InternalRDL.g:7474:2: ( RULE_STR )
- // InternalRDL.g:7475:3: RULE_STR
+ // InternalRDL.g:7676:2: ( RULE_STR )
+ // InternalRDL.g:7677:3: RULE_STR
{
- before(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0());
- match(input,RULE_STR,FOLLOW_2);
- after(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0());
+ }
+ match(input,RULE_STR,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0());
+ }
}
@@ -24070,21 +26309,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__NameAssignment_1"
- // InternalRDL.g:7484:1: rule__EnumDefinition__NameAssignment_1 : ( RULE_ID ) ;
+ // InternalRDL.g:7686:1: rule__EnumDefinition__NameAssignment_1 : ( RULE_ID ) ;
public final void rule__EnumDefinition__NameAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7488:1: ( ( RULE_ID ) )
- // InternalRDL.g:7489:2: ( RULE_ID )
+ // InternalRDL.g:7690:1: ( ( RULE_ID ) )
+ // InternalRDL.g:7691:2: ( RULE_ID )
{
- // InternalRDL.g:7489:2: ( RULE_ID )
- // InternalRDL.g:7490:3: RULE_ID
+ // InternalRDL.g:7691:2: ( RULE_ID )
+ // InternalRDL.g:7692:3: RULE_ID
{
- before(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+ }
}
@@ -24107,25 +26350,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumDefinition__BodyAssignment_2"
- // InternalRDL.g:7499:1: rule__EnumDefinition__BodyAssignment_2 : ( ruleEnumBody ) ;
+ // InternalRDL.g:7701:1: rule__EnumDefinition__BodyAssignment_2 : ( ruleEnumBody ) ;
public final void rule__EnumDefinition__BodyAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7503:1: ( ( ruleEnumBody ) )
- // InternalRDL.g:7504:2: ( ruleEnumBody )
+ // InternalRDL.g:7705:1: ( ( ruleEnumBody ) )
+ // InternalRDL.g:7706:2: ( ruleEnumBody )
{
- // InternalRDL.g:7504:2: ( ruleEnumBody )
- // InternalRDL.g:7505:3: ruleEnumBody
+ // InternalRDL.g:7706:2: ( ruleEnumBody )
+ // InternalRDL.g:7707:3: ruleEnumBody
{
- before(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0());
+ }
pushFollow(FOLLOW_2);
ruleEnumBody();
state._fsp--;
-
- after(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0());
+ }
}
@@ -24148,25 +26395,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumBody__EntriesAssignment_2"
- // InternalRDL.g:7514:1: rule__EnumBody__EntriesAssignment_2 : ( ruleEnumEntry ) ;
+ // InternalRDL.g:7716:1: rule__EnumBody__EntriesAssignment_2 : ( ruleEnumEntry ) ;
public final void rule__EnumBody__EntriesAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7518:1: ( ( ruleEnumEntry ) )
- // InternalRDL.g:7519:2: ( ruleEnumEntry )
+ // InternalRDL.g:7720:1: ( ( ruleEnumEntry ) )
+ // InternalRDL.g:7721:2: ( ruleEnumEntry )
{
- // InternalRDL.g:7519:2: ( ruleEnumEntry )
- // InternalRDL.g:7520:3: ruleEnumEntry
+ // InternalRDL.g:7721:2: ( ruleEnumEntry )
+ // InternalRDL.g:7722:3: ruleEnumEntry
{
- before(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0());
+ }
pushFollow(FOLLOW_2);
ruleEnumEntry();
state._fsp--;
-
- after(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0());
+ }
}
@@ -24189,21 +26440,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__NameAssignment_0"
- // InternalRDL.g:7529:1: rule__EnumEntry__NameAssignment_0 : ( RULE_ID ) ;
+ // InternalRDL.g:7731:1: rule__EnumEntry__NameAssignment_0 : ( RULE_ID ) ;
public final void rule__EnumEntry__NameAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7533:1: ( ( RULE_ID ) )
- // InternalRDL.g:7534:2: ( RULE_ID )
+ // InternalRDL.g:7735:1: ( ( RULE_ID ) )
+ // InternalRDL.g:7736:2: ( RULE_ID )
{
- // InternalRDL.g:7534:2: ( RULE_ID )
- // InternalRDL.g:7535:3: RULE_ID
+ // InternalRDL.g:7736:2: ( RULE_ID )
+ // InternalRDL.g:7737:3: RULE_ID
{
- before(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0());
- match(input,RULE_ID,FOLLOW_2);
- after(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0());
+ }
+ match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0());
+ }
}
@@ -24226,21 +26481,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__IndexAssignment_2"
- // InternalRDL.g:7544:1: rule__EnumEntry__IndexAssignment_2 : ( RULE_NUM ) ;
+ // InternalRDL.g:7746:1: rule__EnumEntry__IndexAssignment_2 : ( RULE_NUM ) ;
public final void rule__EnumEntry__IndexAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7548:1: ( ( RULE_NUM ) )
- // InternalRDL.g:7549:2: ( RULE_NUM )
+ // InternalRDL.g:7750:1: ( ( RULE_NUM ) )
+ // InternalRDL.g:7751:2: ( RULE_NUM )
{
- // InternalRDL.g:7549:2: ( RULE_NUM )
- // InternalRDL.g:7550:3: RULE_NUM
+ // InternalRDL.g:7751:2: ( RULE_NUM )
+ // InternalRDL.g:7752:3: RULE_NUM
{
- before(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0());
- match(input,RULE_NUM,FOLLOW_2);
- after(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0());
+ }
+ match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0());
+ }
}
@@ -24263,25 +26522,29 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumEntry__PropertiesAssignment_3_1"
- // InternalRDL.g:7559:1: rule__EnumEntry__PropertiesAssignment_3_1 : ( ruleEnumProperty ) ;
+ // InternalRDL.g:7761:1: rule__EnumEntry__PropertiesAssignment_3_1 : ( ruleEnumProperty ) ;
public final void rule__EnumEntry__PropertiesAssignment_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7563:1: ( ( ruleEnumProperty ) )
- // InternalRDL.g:7564:2: ( ruleEnumProperty )
+ // InternalRDL.g:7765:1: ( ( ruleEnumProperty ) )
+ // InternalRDL.g:7766:2: ( ruleEnumProperty )
{
- // InternalRDL.g:7564:2: ( ruleEnumProperty )
- // InternalRDL.g:7565:3: ruleEnumProperty
+ // InternalRDL.g:7766:2: ( ruleEnumProperty )
+ // InternalRDL.g:7767:3: ruleEnumProperty
{
- before(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0());
+ }
pushFollow(FOLLOW_2);
ruleEnumProperty();
state._fsp--;
-
- after(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0());
+ if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0());
+ }
}
@@ -24304,29 +26567,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__NameAssignment_0_0_0"
- // InternalRDL.g:7574:1: rule__EnumProperty__NameAssignment_0_0_0 : ( ( 'name' ) ) ;
+ // InternalRDL.g:7776:1: rule__EnumProperty__NameAssignment_0_0_0 : ( ( 'name' ) ) ;
public final void rule__EnumProperty__NameAssignment_0_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7578:1: ( ( ( 'name' ) ) )
- // InternalRDL.g:7579:2: ( ( 'name' ) )
+ // InternalRDL.g:7780:1: ( ( ( 'name' ) ) )
+ // InternalRDL.g:7781:2: ( ( 'name' ) )
{
- // InternalRDL.g:7579:2: ( ( 'name' ) )
- // InternalRDL.g:7580:3: ( 'name' )
+ // InternalRDL.g:7781:2: ( ( 'name' ) )
+ // InternalRDL.g:7782:3: ( 'name' )
{
- before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
- // InternalRDL.g:7581:3: ( 'name' )
- // InternalRDL.g:7582:4: 'name'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+ }
+ // InternalRDL.g:7783:3: ( 'name' )
+ // InternalRDL.g:7784:4: 'name'
{
- before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
- match(input,22,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+ }
+ match(input,22,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+ }
}
- after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+ }
}
@@ -24349,21 +26620,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__ValueAssignment_0_0_2"
- // InternalRDL.g:7593:1: rule__EnumProperty__ValueAssignment_0_0_2 : ( RULE_STR ) ;
+ // InternalRDL.g:7795:1: rule__EnumProperty__ValueAssignment_0_0_2 : ( RULE_STR ) ;
public final void rule__EnumProperty__ValueAssignment_0_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7597:1: ( ( RULE_STR ) )
- // InternalRDL.g:7598:2: ( RULE_STR )
+ // InternalRDL.g:7799:1: ( ( RULE_STR ) )
+ // InternalRDL.g:7800:2: ( RULE_STR )
{
- // InternalRDL.g:7598:2: ( RULE_STR )
- // InternalRDL.g:7599:3: RULE_STR
+ // InternalRDL.g:7800:2: ( RULE_STR )
+ // InternalRDL.g:7801:3: RULE_STR
{
- before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0());
- match(input,RULE_STR,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0());
+ }
+ match(input,RULE_STR,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0());
+ }
}
@@ -24386,29 +26661,37 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__NameAssignment_0_1_0"
- // InternalRDL.g:7608:1: rule__EnumProperty__NameAssignment_0_1_0 : ( ( 'desc' ) ) ;
+ // InternalRDL.g:7810:1: rule__EnumProperty__NameAssignment_0_1_0 : ( ( 'desc' ) ) ;
public final void rule__EnumProperty__NameAssignment_0_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7612:1: ( ( ( 'desc' ) ) )
- // InternalRDL.g:7613:2: ( ( 'desc' ) )
+ // InternalRDL.g:7814:1: ( ( ( 'desc' ) ) )
+ // InternalRDL.g:7815:2: ( ( 'desc' ) )
{
- // InternalRDL.g:7613:2: ( ( 'desc' ) )
- // InternalRDL.g:7614:3: ( 'desc' )
+ // InternalRDL.g:7815:2: ( ( 'desc' ) )
+ // InternalRDL.g:7816:3: ( 'desc' )
{
- before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
- // InternalRDL.g:7615:3: ( 'desc' )
- // InternalRDL.g:7616:4: 'desc'
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+ }
+ // InternalRDL.g:7817:3: ( 'desc' )
+ // InternalRDL.g:7818:4: 'desc'
{
- before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
- match(input,23,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+ }
+ match(input,23,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+ }
}
- after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+ }
}
@@ -24431,21 +26714,25 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
// $ANTLR start "rule__EnumProperty__ValueAssignment_0_1_2"
- // InternalRDL.g:7627:1: rule__EnumProperty__ValueAssignment_0_1_2 : ( RULE_STR ) ;
+ // InternalRDL.g:7829:1: rule__EnumProperty__ValueAssignment_0_1_2 : ( RULE_STR ) ;
public final void rule__EnumProperty__ValueAssignment_0_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalRDL.g:7631:1: ( ( RULE_STR ) )
- // InternalRDL.g:7632:2: ( RULE_STR )
+ // InternalRDL.g:7833:1: ( ( RULE_STR ) )
+ // InternalRDL.g:7834:2: ( RULE_STR )
{
- // InternalRDL.g:7632:2: ( RULE_STR )
- // InternalRDL.g:7633:3: RULE_STR
+ // InternalRDL.g:7834:2: ( RULE_STR )
+ // InternalRDL.g:7835:3: RULE_STR
{
- before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0());
- match(input,RULE_STR,FOLLOW_2);
- after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0());
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0());
+ }
+ match(input,RULE_STR,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0());
+ }
}
@@ -24466,19 +26753,876 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
}
// $ANTLR end "rule__EnumProperty__ValueAssignment_0_1_2"
+
+ // $ANTLR start "rule__EnumInstanceType__EXTERNALAssignment_0"
+ // InternalRDL.g:7844:1: rule__EnumInstanceType__EXTERNALAssignment_0 : ( ( 'external' ) ) ;
+ public final void rule__EnumInstanceType__EXTERNALAssignment_0() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:7848:1: ( ( ( 'external' ) ) )
+ // InternalRDL.g:7849:2: ( ( 'external' ) )
+ {
+ // InternalRDL.g:7849:2: ( ( 'external' ) )
+ // InternalRDL.g:7850:3: ( 'external' )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0());
+ }
+ // InternalRDL.g:7851:3: ( 'external' )
+ // InternalRDL.g:7852:4: 'external'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0());
+ }
+ match(input,134,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0());
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__EnumInstanceType__EXTERNALAssignment_0"
+
+
+ // $ANTLR start "rule__EnumInstanceType__INTERNALAssignment_1"
+ // InternalRDL.g:7863:1: rule__EnumInstanceType__INTERNALAssignment_1 : ( ( 'internal' ) ) ;
+ public final void rule__EnumInstanceType__INTERNALAssignment_1() throws RecognitionException {
+
+ int stackSize = keepStackSize();
+
+ try {
+ // InternalRDL.g:7867:1: ( ( ( 'internal' ) ) )
+ // InternalRDL.g:7868:2: ( ( 'internal' ) )
+ {
+ // InternalRDL.g:7868:2: ( ( 'internal' ) )
+ // InternalRDL.g:7869:3: ( 'internal' )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0());
+ }
+ // InternalRDL.g:7870:3: ( 'internal' )
+ // InternalRDL.g:7871:4: 'internal'
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0());
+ }
+ match(input,76,FOLLOW_2); if (state.failed) return ;
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0());
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+ after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0());
+ }
+
+ }
+
+
+ }
+
+ }
+ catch (RecognitionException re) {
+ reportError(re);
+ recover(input,re);
+ }
+ finally {
+
+ restoreStackSize(stackSize);
+
+ }
+ return ;
+ }
+ // $ANTLR end "rule__EnumInstanceType__INTERNALAssignment_1"
+
+ // $ANTLR start synpred3_InternalRDL
+ public final void synpred3_InternalRDL_fragment() throws RecognitionException {
+ // InternalRDL.g:785:2: ( ( ( rule__Root__Group_1__0 ) ) )
+ // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) )
+ {
+ // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) )
+ // InternalRDL.g:786:3: ( rule__Root__Group_1__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_1());
+ }
+ // InternalRDL.g:787:3: ( rule__Root__Group_1__0 )
+ // InternalRDL.g:787:4: rule__Root__Group_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_1__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred3_InternalRDL
+
+ // $ANTLR start synpred5_InternalRDL
+ public final void synpred5_InternalRDL_fragment() throws RecognitionException {
+ // InternalRDL.g:797:2: ( ( ( rule__Root__Group_3__0 ) ) )
+ // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) )
+ {
+ // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) )
+ // InternalRDL.g:798:3: ( rule__Root__Group_3__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_3());
+ }
+ // InternalRDL.g:799:3: ( rule__Root__Group_3__0 )
+ // InternalRDL.g:799:4: rule__Root__Group_3__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_3__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred5_InternalRDL
+
+ // $ANTLR start synpred6_InternalRDL
+ public final void synpred6_InternalRDL_fragment() throws RecognitionException {
+ // InternalRDL.g:803:2: ( ( ( rule__Root__Group_4__0 ) ) )
+ // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) )
+ {
+ // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) )
+ // InternalRDL.g:804:3: ( rule__Root__Group_4__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getRootAccess().getGroup_4());
+ }
+ // InternalRDL.g:805:3: ( rule__Root__Group_4__0 )
+ // InternalRDL.g:805:4: rule__Root__Group_4__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__Root__Group_4__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred6_InternalRDL
+
+ // $ANTLR start synpred15_InternalRDL
+ public final void synpred15_InternalRDL_fragment() throws RecognitionException {
+ // InternalRDL.g:947:2: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) )
+ // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) )
+ {
+ // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) )
+ // InternalRDL.g:948:3: ( rule__ComponentDefinition__Group_3_0__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0());
+ }
+ // InternalRDL.g:949:3: ( rule__ComponentDefinition__Group_3_0__0 )
+ // InternalRDL.g:949:4: rule__ComponentDefinition__Group_3_0__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_0__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred15_InternalRDL
+
+ // $ANTLR start synpred16_InternalRDL
+ public final void synpred16_InternalRDL_fragment() throws RecognitionException {
+ // InternalRDL.g:953:2: ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) )
+ // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) )
+ {
+ // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) )
+ // InternalRDL.g:954:3: ( rule__ComponentDefinition__Group_3_1__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1());
+ }
+ // InternalRDL.g:955:3: ( rule__ComponentDefinition__Group_3_1__0 )
+ // InternalRDL.g:955:4: rule__ComponentDefinition__Group_3_1__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_1__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred16_InternalRDL
+
+ // $ANTLR start synpred17_InternalRDL
+ public final void synpred17_InternalRDL_fragment() throws RecognitionException {
+ // InternalRDL.g:959:2: ( ( ( rule__ComponentDefinition__Group_3_2__0 ) ) )
+ // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) )
+ {
+ // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) )
+ // InternalRDL.g:960:3: ( rule__ComponentDefinition__Group_3_2__0 )
+ {
+ if ( state.backtracking==0 ) {
+ before(grammarAccess.getComponentDefinitionAccess().getGroup_3_2());
+ }
+ // InternalRDL.g:961:3: ( rule__ComponentDefinition__Group_3_2__0 )
+ // InternalRDL.g:961:4: rule__ComponentDefinition__Group_3_2__0
+ {
+ pushFollow(FOLLOW_2);
+ rule__ComponentDefinition__Group_3_2__0();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred17_InternalRDL
+
// Delegated rules
+ public final boolean synpred15_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred15_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred17_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred17_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred3_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred3_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred16_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred16_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred6_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred6_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred5_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred5_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+
+ protected DFA2 dfa2 = new DFA2(this);
+ protected DFA8 dfa8 = new DFA8(this);
+ static final String dfa_1s = "\137\uffff";
+ static final String dfa_2s = "\1\5\1\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_3s = "\1\u0086\1\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_4s = "\1\uffff\1\1\5\uffff\1\3\1\4\3\uffff\1\5\120\uffff\1\6\1\2";
+ static final String dfa_5s = "\2\uffff\1\0\1\1\1\2\1\3\1\4\2\uffff\1\5\1\uffff\1\6\123\uffff}>";
+ static final String[] dfa_6s = {
+ "\1\13\11\uffff\1\3\1\5\1\4\1\6\1\uffff\1\2\1\uffff\66\14\1\11\25\14\12\uffff\5\14\1\uffff\1\1\1\135\4\uffff\1\14\2\uffff\1\10\11\uffff\1\7\1\10",
+ "",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "",
+ "",
+ "\1\uffff",
+ "",
+ "\1\uffff",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ };
+
+ static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
+ static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
+ static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
+ static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
+ static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
+ static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
+
+ class DFA2 extends DFA {
+
+ public DFA2(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 2;
+ this.eot = dfa_1;
+ this.eof = dfa_1;
+ this.min = dfa_2;
+ this.max = dfa_3;
+ this.accept = dfa_4;
+ this.special = dfa_5;
+ this.transition = dfa_6;
+ }
+ public String getDescription() {
+ return "774:1: rule__Root__Alternatives : ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__Group_1__0 ) ) | ( ( rule__Root__Group_2__0 ) ) | ( ( rule__Root__Group_3__0 ) ) | ( ( rule__Root__Group_4__0 ) ) | ( ( rule__Root__Group_5__0 ) ) );";
+ }
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ TokenStream input = (TokenStream)_input;
+ int _s = s;
+ switch ( s ) {
+ case 0 :
+ int LA2_2 = input.LA(1);
+
+
+ int index2_2 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred3_InternalRDL()) ) {s = 94;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+
+ input.seek(index2_2);
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA2_3 = input.LA(1);
+
+
+ int index2_3 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred3_InternalRDL()) ) {s = 94;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+
+ input.seek(index2_3);
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA2_4 = input.LA(1);
+
+
+ int index2_4 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred3_InternalRDL()) ) {s = 94;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+
+ input.seek(index2_4);
+ if ( s>=0 ) return s;
+ break;
+ case 3 :
+ int LA2_5 = input.LA(1);
+
+
+ int index2_5 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred3_InternalRDL()) ) {s = 94;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+
+ input.seek(index2_5);
+ if ( s>=0 ) return s;
+ break;
+ case 4 :
+ int LA2_6 = input.LA(1);
+
+
+ int index2_6 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred3_InternalRDL()) ) {s = 94;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+
+ input.seek(index2_6);
+ if ( s>=0 ) return s;
+ break;
+ case 5 :
+ int LA2_9 = input.LA(1);
+
+
+ int index2_9 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+ else if ( (synpred6_InternalRDL()) ) {s = 12;}
+
+
+ input.seek(index2_9);
+ if ( s>=0 ) return s;
+ break;
+ case 6 :
+ int LA2_11 = input.LA(1);
+
+
+ int index2_11 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred5_InternalRDL()) ) {s = 8;}
+
+ else if ( (synpred6_InternalRDL()) ) {s = 12;}
+
+
+ input.seek(index2_11);
+ if ( s>=0 ) return s;
+ break;
+ }
+ if (state.backtracking>0) {state.failed=true; return -1;}
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 2, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+ static final String dfa_7s = "\135\uffff";
+ static final String dfa_8s = "\1\5\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_9s = "\1\u0086\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_10s = "\6\uffff\1\2\3\uffff\1\3\120\uffff\1\4\1\1";
+ static final String dfa_11s = "\1\uffff\1\0\1\1\1\2\1\3\1\4\1\uffff\1\5\1\uffff\1\6\123\uffff}>";
+ static final String[] dfa_12s = {
+ "\1\11\11\uffff\1\2\1\4\1\3\1\5\1\uffff\1\1\1\uffff\66\12\1\7\25\12\12\uffff\5\12\7\uffff\1\12\2\uffff\1\6\11\uffff\1\133\1\6",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "",
+ "\1\uffff",
+ "",
+ "\1\uffff",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ };
+
+ static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s);
+ static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s);
+ static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s);
+ static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s);
+ static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s);
+ static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s);
+
+ class DFA8 extends DFA {
+
+ public DFA8(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 8;
+ this.eot = dfa_7;
+ this.eof = dfa_7;
+ this.min = dfa_8;
+ this.max = dfa_9;
+ this.accept = dfa_10;
+ this.special = dfa_11;
+ this.transition = dfa_12;
+ }
+ public String getDescription() {
+ return "942:1: rule__ComponentDefinition__Alternatives_3 : ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | ( ( rule__ComponentDefinition__Group_3_2__0 ) ) | ( ( rule__ComponentDefinition__Group_3_3__0 ) ) );";
+ }
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ TokenStream input = (TokenStream)_input;
+ int _s = s;
+ switch ( s ) {
+ case 0 :
+ int LA8_1 = input.LA(1);
+
+
+ int index8_1 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred15_InternalRDL()) ) {s = 92;}
+
+ else if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+
+ input.seek(index8_1);
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA8_2 = input.LA(1);
+
+
+ int index8_2 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred15_InternalRDL()) ) {s = 92;}
+
+ else if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+
+ input.seek(index8_2);
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA8_3 = input.LA(1);
+
+
+ int index8_3 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred15_InternalRDL()) ) {s = 92;}
+
+ else if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+
+ input.seek(index8_3);
+ if ( s>=0 ) return s;
+ break;
+ case 3 :
+ int LA8_4 = input.LA(1);
+
+
+ int index8_4 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred15_InternalRDL()) ) {s = 92;}
+
+ else if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+
+ input.seek(index8_4);
+ if ( s>=0 ) return s;
+ break;
+ case 4 :
+ int LA8_5 = input.LA(1);
+
+
+ int index8_5 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred15_InternalRDL()) ) {s = 92;}
+
+ else if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+
+ input.seek(index8_5);
+ if ( s>=0 ) return s;
+ break;
+ case 5 :
+ int LA8_7 = input.LA(1);
+
+
+ int index8_7 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+ else if ( (synpred17_InternalRDL()) ) {s = 10;}
+
+
+ input.seek(index8_7);
+ if ( s>=0 ) return s;
+ break;
+ case 6 :
+ int LA8_9 = input.LA(1);
+
+
+ int index8_9 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred16_InternalRDL()) ) {s = 6;}
+
+ else if ( (synpred17_InternalRDL()) ) {s = 10;}
+
+
+ input.seek(index8_9);
+ if ( s>=0 ) return s;
+ break;
+ }
+ if (state.backtracking>0) {state.failed=true; return -1;}
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 8, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xFFFFFFFFFFD78022L,0x0907F003FFFFFFFFL,0x0000000000000060L});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000000L,0x0340000000000000L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xFFFFFFFFFFD78022L,0x090DF003FFFFFFFFL,0x0000000000000060L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0340000000000000L});
public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0020000000000000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000000L,0x0080000000000000L});
public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000000000FF000L});
@@ -24487,34 +27631,31 @@ public class InternalRDLParser extends AbstractInternalContentAssistParser {
public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000000000L,0x0240000000000000L});
public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000000050L,0x0000000C00000000L});
public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000378000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000000L,0x0420000000000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000000L,0x0402000000000000L});
public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000002L,0x0400000000000000L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000020L,0x0008000000000000L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0xFFFFFFFFFFD78020L,0x0911F003FFFFFFFFL,0x0000000000000060L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000020L,0x0010000000000000L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0xFFFFFFFFFFD78020L,0x0921F003FFFFFFFFL,0x0000000000000060L});
public static final BitSet FOLLOW_21 = new BitSet(new long[]{0xFFFFFFFFFFD78022L,0x0901F003FFFFFFFFL,0x0000000000000060L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000020L,0x0020000000000000L,0x0000000000000040L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000020L,0x0800000000001000L,0x0000000000000040L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000040L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000000000L,0x1020000000000000L});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000002L,0x1000000000000000L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000000L,0x1000000000000000L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0xE080000000000000L,0x0000000000000001L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0xFFFFFFFFFFC00000L,0x0001F003FFFFFFFFL});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000000L,0x00A0000000000000L});
- public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000070L,0x00080FFE000C0000L});
- public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000008L});
- public static final BitSet FOLLOW_36 = new BitSet(new long[]{0xFFFFFFFFFFC00020L,0x0001F003FFFFFFFFL});
- public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
- public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000020L});
- public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000060L});
- public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x1010000000000000L});
- public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000020L,0x0010000000000000L});
- public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000022L});
- public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0028000000000000L});
- public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000C00000L,0x0010000000000000L});
- public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000C00002L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000000L,0x1000000000000000L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000002L,0x1000000000000000L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000020L,0x0800000000001000L,0x0000000000000040L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L,0x0000000000000040L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000000L,0xE080000000000000L,0x0000000000000001L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0xFFFFFFFFFFC00000L,0x0001F003FFFFFFFFL});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000070L,0x00100FFE000C0000L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000008L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0xFFFFFFFFFFC00020L,0x0001F003FFFFFFFFL});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000020L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000060L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000000L,0x1020000000000000L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000020L,0x0020000000000000L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000022L});
+ public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x0012000000000000L});
+ public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000C00000L,0x0020000000000000L});
+ public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000C00002L});
}
\ No newline at end of file
diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.gitignore
new file mode 100644
index 0000000..0e12a66
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.gitignore
@@ -0,0 +1,2 @@
+/RDLIdeModule.java
+/RDLIdeSetup.java
diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.gitignore b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.gitignore
new file mode 100644
index 0000000..26828bb
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.gitignore
@@ -0,0 +1 @@
+/RDLParsingTest.java
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/contentassist/AbstractRDLProposalProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/contentassist/AbstractRDLProposalProvider.java
index 97b794f..6df15ab 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/contentassist/AbstractRDLProposalProvider.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/contentassist/AbstractRDLProposalProvider.java
@@ -28,7 +28,7 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void completeRoot_EnumDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeRoot_NamedInstantiations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeRoot_Instantiations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeRoot_PropertyAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -75,7 +75,7 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void completeComponentDefinition_ComponentDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeComponentDefinition_NamedInstantiations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeComponentDefinition_Instantiations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeComponentDefinition_PropertyAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -84,28 +84,19 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void completeComponentDefinition_EnumDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeComponentDefinition_ImmediateInstantiation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeInstantiation_InstanceType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedInstantiation_External(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeNamedInstantiation_Internal(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeNamedInstantiation_Alias(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeInstantiation_Alias(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedInstantiation_Component(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeInstantiation_ComponentRef(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
- public void completeNamedInstantiation_ComponentInstances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeInstantiation_Component(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeImmediateInstantiation_External(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeImmediateInstantiation_ComponentInstances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeInstantiation_ComponentInstances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeComponentInstance_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -126,10 +117,10 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void completeComponentInstance_AddrMod(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeRange_Start(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeRange_Left(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeRange_End(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void completeRange_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeRange_Size(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -234,6 +225,12 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void completeEnumProperty_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
+ public void completeEnumInstanceType_EXTERNAL(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void completeEnumInstanceType_INTERNAL(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
public void complete_Root(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
@@ -262,10 +259,7 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void complete_ComponentDefinitionType(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_NamedInstantiation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ImmediateInstantiation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_Instantiation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ComponentInstance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
@@ -334,6 +328,9 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
public void complete_EnumProperty(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
+ public void complete_EnumInstanceType(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectHoverProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectHoverProvider.xtend
index a157d80..fed8fe4 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectHoverProvider.xtend
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectHoverProvider.xtend
@@ -4,23 +4,19 @@ import org.eclipse.emf.ecore.EObject
import org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
import com.minres.rdl.rdl.ComponentDefinition
import com.minres.rdl.rdl.ComponentInstance
-import com.minres.rdl.rdl.ImmediateInstantiation
-import com.minres.rdl.rdl.NamedInstantiation
+import com.minres.rdl.rdl.Instantiation
class RDLEObjectHoverProvider extends DefaultEObjectHoverProvider {
- override protected String getFirstLine(EObject o) {
- switch(o){
- ComponentDefinition: return 'Component '+o.name+' of type '+o.type.literal
- ComponentInstance: {
- val parent = o.eContainer
- if (parent instanceof ImmediateInstantiation) {
- val compDef = parent.eContainer as ComponentDefinition
- return compDef.type.literal+' '+o.name
- } else if (parent instanceof NamedInstantiation) {
- return parent.component.type.literal+' '+o.name
- }
- }
- }
- return super.getFirstLine(o)
- }
+ override protected String getFirstLine(EObject o) {
+ switch(o){
+ ComponentDefinition: return 'Component '+o.name+' of type '+o.type.literal
+ ComponentInstance: {
+ val parent = o.eContainer
+ if (parent instanceof Instantiation) {
+ return (if(parent.componentRef !== null) parent.componentRef.type else parent.component.type).literal.toFirstUpper+' '+o.name
+ }
+ }
+ }
+ return super.getFirstLine(o)
+ }
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLLabelProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLLabelProvider.xtend
index 5203b22..1bbc1c2 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLLabelProvider.xtend
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLLabelProvider.xtend
@@ -8,7 +8,6 @@ import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider
import com.minres.rdl.rdl.ComponentDefinition
import com.minres.rdl.rdl.ExplicitPropertyAssignment
-import com.minres.rdl.rdl.ImmediateInstantiation
import com.minres.rdl.rdl.ComponentInstance
import com.minres.rdl.rdl.PropertyAssignment
import com.minres.rdl.rdl.PropertyAssignmentRhs
@@ -19,7 +18,6 @@ import com.minres.rdl.rdl.RValueConstant
import com.minres.rdl.rdl.PropertyModifier
import com.minres.rdl.rdl.ComponentDefinitionType
import com.minres.rdl.rdl.EnumDefinition
-import com.minres.rdl.rdl.NamedInstantiation
import com.minres.rdl.rdl.PostPropertyAssignment
import com.minres.rdl.rdl.InstanceRef
import com.minres.rdl.rdl.InstancePropertyRef
@@ -38,23 +36,8 @@ class RDLLabelProvider extends DefaultEObjectLabelProvider {
super(delegate);
}
- // Labels and icons can be computed like this:
-
-// def text(Greeting ele) {
-// 'A greeting to ' + ele.name
-// }
-//
-// def image(Greeting ele) {
-// 'Greeting.gif'
-// }
-
def text(ComponentDefinition e){
- if(e.immediateInstantiation!==null){
- if(e.name!==null)
- text(e.immediateInstantiation)+' ('+e.name+')'
- else
- text(e.immediateInstantiation)
- }else if(e.name!==null){
+ if(e.name!==null){
e.type.literal+' '+e.name
} else{
val pa = e.propertyAssignments.findFirst[PropertyAssignment pa |
@@ -91,14 +74,10 @@ class RDLLabelProvider extends DefaultEObjectLabelProvider {
e.instance.name
}
- def text( ImmediateInstantiation e){
- e.componentInstances.map[text(it)].join(", ")
- }
-
def text( ComponentInstance e){
var res = e.name
if(e.range !== null)
- res+='['+(if(e.range.size!==null) e.range.size.toString else e.range.start+':'+e.range.end)+']'
+ res+='['+(if(e.range.size!==null) e.range.size.toString else e.range.left+':'+e.range.right)+']'
if(e.address!==null)
res+=' @'+e.address
return res
@@ -140,10 +119,6 @@ class RDLLabelProvider extends DefaultEObjectLabelProvider {
return string
}
- def text(NamedInstantiation e){
- e.componentInstances.map[text(it)].join(", ")+' ('+e.component.name+')'
- }
-
def text(EnumEntry e){
if(e.index !== null)
e.name + '=' + e.index.toString
@@ -198,7 +173,7 @@ class RDLLabelProvider extends DefaultEObjectLabelProvider {
'P.png'
}
- def image(NamedInstantiation e){
+ def image(ComponentInstance e){
'I.png'
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.xtend
index 320c715..d23a5c1 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.xtend
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.xtend
@@ -8,13 +8,13 @@ import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode
import com.minres.rdl.rdl.ComponentDefinition
import org.eclipse.xtext.ui.editor.outline.IOutlineNode
-import com.minres.rdl.rdl.PropertyAssignment
-import com.minres.rdl.rdl.NamedInstantiation
import com.minres.rdl.rdl.ExplicitPropertyAssignment
import com.minres.rdl.rdl.PostPropertyAssignment
import com.minres.rdl.rdl.PropertyAssignmentRhs
import com.minres.rdl.rdl.EnumDefinition
import com.minres.rdl.rdl.EnumEntry
+import com.minres.rdl.rdl.Instantiation
+import com.minres.rdl.rdl.ComponentInstance
/**
* Customization of the default outline structure.
@@ -28,16 +28,22 @@ class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider {
domainModel.propertyDefinitions.forEach[createNode(parentNode, it)]
domainModel.componentDefinitions.forEach[createNode(parentNode, it)]
domainModel.propertyAssignments.forEach[createNode(parentNode, it)]
- domainModel.namedInstantiations.forEach[createNode(parentNode, it)]
+ domainModel.instantiations.forEach[Instantiation instantiation |
+ if(instantiation.component!==null) createNode(parentNode, instantiation.component)
+ instantiation.componentInstances.forEach[createNode(parentNode, it)]
+ ]
}
protected def _createChildren(IOutlineNode parentNode, ComponentDefinition compDef) {
compDef.enumDefinitions.forEach[createNode(parentNode, it)]
compDef.componentDefinitions.forEach[createNode(parentNode, it)]
compDef.propertyAssignments.forEach[createNode(parentNode, it)]
- compDef.namedInstantiations.forEach[createNode(parentNode, it)]
+ compDef.instantiations.forEach[Instantiation instantiation |
+ if(instantiation.component!==null) createNode(parentNode, instantiation.component)
+ instantiation.componentInstances.forEach[createNode(parentNode, it)]
+ ]
}
-
+
protected def _createChildren(IOutlineNode parentNode, EnumDefinition e) {
e.body.entries.forEach[createNode(parentNode, it)]
}
@@ -50,14 +56,18 @@ class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider {
return true;
}
- protected def boolean _isLeaf(NamedInstantiation feature) {
- return true;
+ protected def boolean _isLeaf(Instantiation feature) {
+ return feature.component===null && feature.componentInstances.size==0;
}
protected def boolean _isLeaf(PropertyAssignmentRhs feature) {
return true;
}
+ protected def boolean _isLeaf(ComponentInstance feature) {
+ return true;
+ }
+
protected def boolean _isLeaf(EnumEntry feature) {
return feature.properties.size==0;
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.gitignore
new file mode 100644
index 0000000..f7d98ae
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.gitignore
@@ -0,0 +1,3 @@
+/RDLEObjectDocumentationProvider.java
+/RDLEObjectHoverProvider.java
+/RDLUiModule.java
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectHoverProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectHoverProvider.java
index ddd071b..7de2cd6 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectHoverProvider.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectHoverProvider.java
@@ -1,11 +1,12 @@
package com.minres.rdl.ui;
import com.minres.rdl.rdl.ComponentDefinition;
+import com.minres.rdl.rdl.ComponentDefinitionType;
import com.minres.rdl.rdl.ComponentInstance;
-import com.minres.rdl.rdl.ImmediateInstantiation;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.Instantiation;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider;
+import org.eclipse.xtext.xbase.lib.StringExtensions;
@SuppressWarnings("all")
public class RDLEObjectHoverProvider extends DefaultEObjectHoverProvider {
@@ -24,20 +25,19 @@ public class RDLEObjectHoverProvider extends DefaultEObjectHoverProvider {
if (o instanceof ComponentInstance) {
_matched=true;
final EObject parent = ((ComponentInstance)o).eContainer();
- if ((parent instanceof ImmediateInstantiation)) {
- EObject _eContainer = ((ImmediateInstantiation)parent).eContainer();
- final ComponentDefinition compDef = ((ComponentDefinition) _eContainer);
- String _literal = compDef.getType().getLiteral();
- String _plus = (_literal + " ");
+ if ((parent instanceof Instantiation)) {
+ ComponentDefinitionType _xifexpression = null;
+ ComponentDefinition _componentRef = ((Instantiation)parent).getComponentRef();
+ boolean _tripleNotEquals = (_componentRef != null);
+ if (_tripleNotEquals) {
+ _xifexpression = ((Instantiation)parent).getComponentRef().getType();
+ } else {
+ _xifexpression = ((Instantiation)parent).getComponent().getType();
+ }
+ String _firstUpper = StringExtensions.toFirstUpper(_xifexpression.getLiteral());
+ String _plus = (_firstUpper + " ");
String _name = ((ComponentInstance)o).getName();
return (_plus + _name);
- } else {
- if ((parent instanceof NamedInstantiation)) {
- String _literal_1 = ((NamedInstantiation)parent).getComponent().getType().getLiteral();
- String _plus_1 = (_literal_1 + " ");
- String _name_1 = ((ComponentInstance)o).getName();
- return (_plus_1 + _name_1);
- }
}
}
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLUiModule.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLUiModule.java
index f4a8c89..38135bf 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLUiModule.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLUiModule.java
@@ -25,7 +25,7 @@ public class RDLUiModule extends AbstractRDLUiModule {
return RDLEObjectDocumentationProvider.class;
}
- public RDLUiModule(final AbstractUIPlugin arg0) {
- super(arg0);
+ public RDLUiModule(final AbstractUIPlugin plugin) {
+ super(plugin);
}
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.gitignore
new file mode 100644
index 0000000..d4943c7
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.gitignore
@@ -0,0 +1 @@
+/RDLProposalProvider.java
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.gitignore
new file mode 100644
index 0000000..3d374ab
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.gitignore
@@ -0,0 +1,2 @@
+/RDLDescriptionLabelProvider.java
+/RDLLabelProvider.java
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLLabelProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLLabelProvider.java
index 73b7d68..2d91ee7 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLLabelProvider.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLLabelProvider.java
@@ -13,10 +13,8 @@ import com.minres.rdl.rdl.EnumDefinition;
import com.minres.rdl.rdl.EnumEntry;
import com.minres.rdl.rdl.EnumProperty;
import com.minres.rdl.rdl.ExplicitPropertyAssignment;
-import com.minres.rdl.rdl.ImmediateInstantiation;
import com.minres.rdl.rdl.InstancePropertyRef;
import com.minres.rdl.rdl.InstanceRef;
-import com.minres.rdl.rdl.NamedInstantiation;
import com.minres.rdl.rdl.PostPropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignmentRhs;
@@ -46,46 +44,26 @@ public class RDLLabelProvider extends DefaultEObjectLabelProvider {
public String text(final ComponentDefinition e) {
String _xifexpression = null;
- ImmediateInstantiation _immediateInstantiation = e.getImmediateInstantiation();
- boolean _tripleNotEquals = (_immediateInstantiation != null);
+ String _name = e.getName();
+ boolean _tripleNotEquals = (_name != null);
if (_tripleNotEquals) {
- String _xifexpression_1 = null;
- String _name = e.getName();
- boolean _tripleNotEquals_1 = (_name != null);
- if (_tripleNotEquals_1) {
- String _text = this.text(e.getImmediateInstantiation());
- String _plus = (_text + " (");
- String _name_1 = e.getName();
- String _plus_1 = (_plus + _name_1);
- _xifexpression_1 = (_plus_1 + ")");
- } else {
- _xifexpression_1 = this.text(e.getImmediateInstantiation());
- }
- _xifexpression = _xifexpression_1;
+ String _literal = e.getType().getLiteral();
+ String _plus = (_literal + " ");
+ String _name_1 = e.getName();
+ _xifexpression = (_plus + _name_1);
} else {
- String _xifexpression_2 = null;
- String _name_2 = e.getName();
- boolean _tripleNotEquals_2 = (_name_2 != null);
- if (_tripleNotEquals_2) {
- String _literal = e.getType().getLiteral();
- String _plus_2 = (_literal + " ");
- String _name_3 = e.getName();
- _xifexpression_2 = (_plus_2 + _name_3);
- } else {
- String _xblockexpression = null;
- {
- final Function1 _function = (PropertyAssignment pa) -> {
- return Boolean.valueOf(((pa instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa).getName(), PropertyEnum.NAME)));
- };
- final PropertyAssignment pa = IterableExtensions.findFirst(e.getPropertyAssignments(), _function);
- String _literal_1 = e.getType().getLiteral();
- String _plus_3 = (_literal_1 + " ");
- Object _text_1 = this.text(((ExplicitPropertyAssignment) pa).getRhs());
- _xblockexpression = (_plus_3 + _text_1);
- }
- _xifexpression_2 = _xblockexpression;
+ String _xblockexpression = null;
+ {
+ final Function1 _function = (PropertyAssignment pa) -> {
+ return Boolean.valueOf(((pa instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa).getName(), PropertyEnum.NAME)));
+ };
+ final PropertyAssignment pa = IterableExtensions.findFirst(e.getPropertyAssignments(), _function);
+ String _literal_1 = e.getType().getLiteral();
+ String _plus_1 = (_literal_1 + " ");
+ Object _text = this.text(((ExplicitPropertyAssignment) pa).getRhs());
+ _xblockexpression = (_plus_1 + _text);
}
- _xifexpression = _xifexpression_2;
+ _xifexpression = _xblockexpression;
}
return _xifexpression;
}
@@ -154,13 +132,6 @@ public class RDLLabelProvider extends DefaultEObjectLabelProvider {
return _xifexpression;
}
- public String text(final ImmediateInstantiation e) {
- final Function1 _function = (ComponentInstance it) -> {
- return this.text(it);
- };
- return IterableExtensions.join(ListExtensions.map(e.getComponentInstances(), _function), ", ");
- }
-
public String text(final ComponentInstance e) {
String res = e.getName();
Range _range = e.getRange();
@@ -173,10 +144,10 @@ public class RDLLabelProvider extends DefaultEObjectLabelProvider {
if (_tripleNotEquals_1) {
_xifexpression = e.getRange().getSize().toString();
} else {
- Object _start = e.getRange().getStart();
- String _plus = (_start + ":");
- Object _end = e.getRange().getEnd();
- _xifexpression = (_plus + _end);
+ Object _left = e.getRange().getLeft();
+ String _plus = (_left + ":");
+ Object _right = e.getRange().getRight();
+ _xifexpression = (_plus + _right);
}
String _plus_1 = ("[" + _xifexpression);
String _plus_2 = (_plus_1 + "]");
@@ -283,17 +254,6 @@ public class RDLLabelProvider extends DefaultEObjectLabelProvider {
}
}
- public String text(final NamedInstantiation e) {
- final Function1 _function = (ComponentInstance it) -> {
- return this.text(it);
- };
- String _join = IterableExtensions.join(ListExtensions.map(e.getComponentInstances(), _function), ", ");
- String _plus = (_join + " (");
- String _name = e.getComponent().getName();
- String _plus_1 = (_plus + _name);
- return (_plus_1 + ")");
- }
-
public String text(final EnumEntry e) {
String _xifexpression = null;
Object _index = e.getIndex();
@@ -401,7 +361,7 @@ public class RDLLabelProvider extends DefaultEObjectLabelProvider {
return "P.png";
}
- public String image(final NamedInstantiation e) {
+ public String image(final ComponentInstance e) {
return "I.png";
}
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.gitignore
new file mode 100644
index 0000000..c18201d
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.gitignore
@@ -0,0 +1 @@
+/RDLOutlineTreeProvider.java
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.java
index 6c00bae..19fd69c 100644
--- a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.java
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.java
@@ -4,10 +4,11 @@
package com.minres.rdl.ui.outline;
import com.minres.rdl.rdl.ComponentDefinition;
+import com.minres.rdl.rdl.ComponentInstance;
import com.minres.rdl.rdl.EnumDefinition;
import com.minres.rdl.rdl.EnumEntry;
import com.minres.rdl.rdl.ExplicitPropertyAssignment;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.Instantiation;
import com.minres.rdl.rdl.PostPropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignmentRhs;
@@ -42,10 +43,18 @@ public class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider {
this.createNode(parentNode, it);
};
domainModel.getPropertyAssignments().forEach(_function_3);
- final Consumer _function_4 = (NamedInstantiation it) -> {
- this.createNode(parentNode, it);
+ final Consumer _function_4 = (Instantiation instantiation) -> {
+ ComponentDefinition _component = instantiation.getComponent();
+ boolean _tripleNotEquals = (_component != null);
+ if (_tripleNotEquals) {
+ this.createNode(parentNode, instantiation.getComponent());
+ }
+ final Consumer _function_5 = (ComponentInstance it) -> {
+ this.createNode(parentNode, it);
+ };
+ instantiation.getComponentInstances().forEach(_function_5);
};
- domainModel.getNamedInstantiations().forEach(_function_4);
+ domainModel.getInstantiations().forEach(_function_4);
}
protected void _createChildren(final IOutlineNode parentNode, final ComponentDefinition compDef) {
@@ -61,10 +70,18 @@ public class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider {
this.createNode(parentNode, it);
};
compDef.getPropertyAssignments().forEach(_function_2);
- final Consumer _function_3 = (NamedInstantiation it) -> {
- this.createNode(parentNode, it);
+ final Consumer _function_3 = (Instantiation instantiation) -> {
+ ComponentDefinition _component = instantiation.getComponent();
+ boolean _tripleNotEquals = (_component != null);
+ if (_tripleNotEquals) {
+ this.createNode(parentNode, instantiation.getComponent());
+ }
+ final Consumer _function_4 = (ComponentInstance it) -> {
+ this.createNode(parentNode, it);
+ };
+ instantiation.getComponentInstances().forEach(_function_4);
};
- compDef.getNamedInstantiations().forEach(_function_3);
+ compDef.getInstantiations().forEach(_function_3);
}
protected void _createChildren(final IOutlineNode parentNode, final EnumDefinition e) {
@@ -82,14 +99,18 @@ public class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider {
return true;
}
- protected boolean _isLeaf(final NamedInstantiation feature) {
- return true;
+ protected boolean _isLeaf(final Instantiation feature) {
+ return ((feature.getComponent() == null) && (feature.getComponentInstances().size() == 0));
}
protected boolean _isLeaf(final PropertyAssignmentRhs feature) {
return true;
}
+ protected boolean _isLeaf(final ComponentInstance feature) {
+ return true;
+ }
+
protected boolean _isLeaf(final EnumEntry feature) {
int _size = feature.getProperties().size();
return (_size == 0);
diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.gitignore
new file mode 100644
index 0000000..ad78a58
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.gitignore
@@ -0,0 +1 @@
+/RDLQuickfixProvider.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.ecore b/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.ecore
index 9bbde30..a291f47 100644
--- a/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.ecore
+++ b/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.ecore
@@ -8,8 +8,8 @@
eType="#//ComponentDefinition" containment="true"/>
-
+
-
+
-
@@ -72,16 +70,13 @@
-
-
-
+
+
-
-
-
-
-
+
+
@@ -94,8 +89,8 @@
-
-
+
+
@@ -272,4 +267,8 @@
+
+
+
+
diff --git a/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.genmodel b/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.genmodel
index b8d3d57..9370c9f 100644
--- a/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.genmodel
+++ b/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.genmodel
@@ -3,7 +3,7 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext 2.12.0" modelDirectory="/com.minres.rdl/src-gen"
modelPluginID="com.minres.rdl" forceOverwrite="true" modelName="RDL" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
- copyrightFields="false" runtimeVersion="2.12">
+ copyrightFields="false" runtimeVersion="2.13">
@@ -136,7 +136,7 @@
-
+
@@ -159,21 +159,16 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -183,8 +178,8 @@
-
-
+
+
@@ -246,5 +241,9 @@
+
+
+
+
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.g b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.g
index 5c23436..b7b55c5 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.g
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.g
@@ -5,6 +5,7 @@ grammar InternalRDL;
options {
superClass=AbstractInternalAntlrParser;
+ backtrack=true;
}
@lexer::header {
@@ -34,6 +35,11 @@ import com.minres.rdl.services.RDLGrammarAccess;
@parser::members {
+/*
+ This grammar contains a lot of empty actions to work around a bug in ANTLR.
+ Otherwise the ANTLR tool will create synpreds that cannot be compiled in some rare cases.
+*/
+
private RDLGrammarAccess grammarAccess;
public InternalRDLParser(TokenStream input, RDLGrammarAccess grammarAccess) {
@@ -99,102 +105,132 @@ ruleRoot returns [EObject current=null]
|
(
(
- {
- newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0());
- }
- lv_componentDefinitions_1_0=ruleComponentDefinition
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRootRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0());
}
- add(
- $current,
- "componentDefinitions",
- lv_componentDefinitions_1_0,
- "com.minres.rdl.RDL.ComponentDefinition");
- afterParserOrEnumRuleCall();
- }
+ lv_componentDefinitions_1_0=ruleComponentDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ $current,
+ "componentDefinitions",
+ lv_componentDefinitions_1_0,
+ "com.minres.rdl.RDL.ComponentDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_2=';'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getRootAccess().getSemicolonKeyword_1_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0());
- }
- lv_enumDefinitions_2_0=ruleEnumDefinition
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRootRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0());
}
- add(
- $current,
- "enumDefinitions",
- lv_enumDefinitions_2_0,
- "com.minres.rdl.RDL.EnumDefinition");
- afterParserOrEnumRuleCall();
- }
+ lv_enumDefinitions_3_0=ruleEnumDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ $current,
+ "enumDefinitions",
+ lv_enumDefinitions_3_0,
+ "com.minres.rdl.RDL.EnumDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_4=';'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getRootAccess().getSemicolonKeyword_2_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0());
- }
- lv_namedInstantiations_3_0=ruleNamedInstantiation
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRootRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0());
}
- add(
- $current,
- "namedInstantiations",
- lv_namedInstantiations_3_0,
- "com.minres.rdl.RDL.NamedInstantiation");
- afterParserOrEnumRuleCall();
- }
+ lv_instantiations_5_0=ruleInstantiation
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ $current,
+ "instantiations",
+ lv_instantiations_5_0,
+ "com.minres.rdl.RDL.Instantiation");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_6=';'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getRootAccess().getSemicolonKeyword_3_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0());
- }
- lv_propertyAssignments_4_0=rulePropertyAssignment
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRootRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0());
}
- add(
- $current,
- "propertyAssignments",
- lv_propertyAssignments_4_0,
- "com.minres.rdl.RDL.PropertyAssignment");
- afterParserOrEnumRuleCall();
- }
+ lv_propertyAssignments_7_0=rulePropertyAssignment
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ $current,
+ "propertyAssignments",
+ lv_propertyAssignments_7_0,
+ "com.minres.rdl.RDL.PropertyAssignment");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_8=';'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getRootAccess().getSemicolonKeyword_4_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0());
- }
- lv_propertyDefinitions_5_0=rulePropertyDefinition
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRootRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0());
}
- add(
- $current,
- "propertyDefinitions",
- lv_propertyDefinitions_5_0,
- "com.minres.rdl.RDL.PropertyDefinition");
- afterParserOrEnumRuleCall();
- }
+ lv_propertyDefinitions_9_0=rulePropertyDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ $current,
+ "propertyDefinitions",
+ lv_propertyDefinitions_9_0,
+ "com.minres.rdl.RDL.PropertyDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_10=';'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getRootAccess().getSemicolonKeyword_5_1());
+ }
)
)*
;
@@ -904,123 +940,124 @@ ruleComponentDefinition returns [EObject current=null]
(
(
(
- {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0());
- }
- lv_componentDefinitions_3_0=ruleComponentDefinition
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0());
}
- add(
- $current,
- "componentDefinitions",
- lv_componentDefinitions_3_0,
- "com.minres.rdl.RDL.ComponentDefinition");
- afterParserOrEnumRuleCall();
- }
+ lv_componentDefinitions_3_0=ruleComponentDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ $current,
+ "componentDefinitions",
+ lv_componentDefinitions_3_0,
+ "com.minres.rdl.RDL.ComponentDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_4=';'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0());
- }
- lv_namedInstantiations_4_0=ruleNamedInstantiation
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0());
}
- add(
- $current,
- "namedInstantiations",
- lv_namedInstantiations_4_0,
- "com.minres.rdl.RDL.NamedInstantiation");
- afterParserOrEnumRuleCall();
- }
+ lv_instantiations_5_0=ruleInstantiation
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ $current,
+ "instantiations",
+ lv_instantiations_5_0,
+ "com.minres.rdl.RDL.Instantiation");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_6=';'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0());
- }
- lv_propertyAssignments_5_0=rulePropertyAssignment
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0());
}
- add(
- $current,
- "propertyAssignments",
- lv_propertyAssignments_5_0,
- "com.minres.rdl.RDL.PropertyAssignment");
- afterParserOrEnumRuleCall();
- }
+ lv_propertyAssignments_7_0=rulePropertyAssignment
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ $current,
+ "propertyAssignments",
+ lv_propertyAssignments_7_0,
+ "com.minres.rdl.RDL.PropertyAssignment");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_8=';'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1());
+ }
)
|
(
(
- {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0());
- }
- lv_enumDefinitions_6_0=ruleEnumDefinition
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0());
}
- add(
- $current,
- "enumDefinitions",
- lv_enumDefinitions_6_0,
- "com.minres.rdl.RDL.EnumDefinition");
- afterParserOrEnumRuleCall();
- }
+ lv_enumDefinitions_9_0=ruleEnumDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ $current,
+ "enumDefinitions",
+ lv_enumDefinitions_9_0,
+ "com.minres.rdl.RDL.EnumDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
)
+ otherlv_10=';'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1());
+ }
)
)*
- otherlv_7='}'
+ otherlv_11='}'
{
- newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0());
- }
- lv_immediateInstantiation_8_0=ruleImmediateInstantiation
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- set(
- $current,
- "immediateInstantiation",
- lv_immediateInstantiation_8_0,
- "com.minres.rdl.RDL.ImmediateInstantiation");
- afterParserOrEnumRuleCall();
- }
- )
- )?
- otherlv_9=';'
- {
- newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6());
+ newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
}
)
;
-// Entry rule entryRuleNamedInstantiation
-entryRuleNamedInstantiation returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getNamedInstantiationRule()); }
- iv_ruleNamedInstantiation=ruleNamedInstantiation
- { $current=$iv_ruleNamedInstantiation.current; }
+// Entry rule entryRuleInstantiation
+entryRuleInstantiation returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getInstantiationRule()); }
+ iv_ruleInstantiation=ruleInstantiation
+ { $current=$iv_ruleInstantiation.current; }
EOF;
-// Rule NamedInstantiation
-ruleNamedInstantiation returns [EObject current=null]
+// Rule Instantiation
+ruleInstantiation returns [EObject current=null]
@init {
enterRule();
}
@@ -1029,189 +1066,147 @@ ruleNamedInstantiation returns [EObject current=null]
}:
(
(
- (
- lv_external_0_0='external'
- {
- newLeafNode(lv_external_0_0, grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
- setWithLastConsumed($current, "external", true, "external");
- }
- )
- )?
- (
- (
- lv_internal_1_0='internal'
- {
- newLeafNode(lv_internal_1_0, grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
- setWithLastConsumed($current, "internal", true, "internal");
- }
- )
- )?
- (
- otherlv_2='alias'
- {
- newLeafNode(otherlv_2, grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0());
- }
(
(
- lv_alias_3_0=RULE_ID
- {
- newLeafNode(lv_alias_3_0, grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNamedInstantiationRule());
+ (
+ {
+ newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0());
}
- setWithLastConsumed(
- $current,
- "alias",
- lv_alias_3_0,
- "com.minres.rdl.RDL.ID");
+ lv_instanceType_0_0=ruleEnumInstanceType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ set(
+ $current,
+ "instanceType",
+ lv_instanceType_0_0,
+ "com.minres.rdl.RDL.EnumInstanceType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ (
+ otherlv_1='alias'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0());
}
+ (
+ (
+ lv_alias_2_0=RULE_ID
+ {
+ newLeafNode(lv_alias_2_0, grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getInstantiationRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "alias",
+ lv_alias_2_0,
+ "com.minres.rdl.RDL.ID");
+ }
+ )
+ )
+ )?
+ (
+ (
+ {
+ /* */
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getInstantiationRule());
+ }
+ }
+ otherlv_3=RULE_ID
+ {
+ newLeafNode(otherlv_3, grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0());
+ }
+ )
)
)
- )?
- (
+ |
(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
- }
- otherlv_4=RULE_ID
- {
- newLeafNode(otherlv_4, grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0());
- }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0());
+ }
+ lv_component_4_0=ruleComponentDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ set(
+ $current,
+ "component",
+ lv_component_4_0,
+ "com.minres.rdl.RDL.ComponentDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0());
+ }
+ lv_instanceType_5_0=ruleEnumInstanceType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ set(
+ $current,
+ "instanceType",
+ lv_instanceType_5_0,
+ "com.minres.rdl.RDL.EnumInstanceType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
)
)
(
(
{
- newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0());
+ newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
}
- lv_componentInstances_5_0=ruleComponentInstance
+ lv_componentInstances_6_0=ruleComponentInstance
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNamedInstantiationRule());
+ $current = createModelElementForParent(grammarAccess.getInstantiationRule());
}
add(
$current,
"componentInstances",
- lv_componentInstances_5_0,
+ lv_componentInstances_6_0,
"com.minres.rdl.RDL.ComponentInstance");
afterParserOrEnumRuleCall();
}
)
)
(
- otherlv_6=','
+ otherlv_7=','
{
- newLeafNode(otherlv_6, grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0());
+ newLeafNode(otherlv_7, grammarAccess.getInstantiationAccess().getCommaKeyword_2_0());
}
(
(
{
- newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0());
+ newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
}
- lv_componentInstances_7_0=ruleComponentInstance
+ lv_componentInstances_8_0=ruleComponentInstance
{
if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNamedInstantiationRule());
+ $current = createModelElementForParent(grammarAccess.getInstantiationRule());
}
add(
$current,
"componentInstances",
- lv_componentInstances_7_0,
- "com.minres.rdl.RDL.ComponentInstance");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )*
- otherlv_8=';'
- {
- newLeafNode(otherlv_8, grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6());
- }
- )
-;
-
-// Entry rule entryRuleImmediateInstantiation
-entryRuleImmediateInstantiation returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getImmediateInstantiationRule()); }
- iv_ruleImmediateInstantiation=ruleImmediateInstantiation
- { $current=$iv_ruleImmediateInstantiation.current; }
- EOF;
-
-// Rule ImmediateInstantiation
-ruleImmediateInstantiation returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- lv_external_0_0='external'
- {
- newLeafNode(lv_external_0_0, grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getImmediateInstantiationRule());
- }
- setWithLastConsumed($current, "external", true, "external");
- }
- )
- )?
- (
- (
- {
- newCompositeNode(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
- }
- lv_componentInstances_1_0=ruleComponentInstance
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getImmediateInstantiationRule());
- }
- add(
- $current,
- "componentInstances",
- lv_componentInstances_1_0,
- "com.minres.rdl.RDL.ComponentInstance");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- otherlv_2=','
- {
- newLeafNode(otherlv_2, grammarAccess.getImmediateInstantiationAccess().getCommaKeyword_2_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
- }
- lv_componentInstances_3_0=ruleComponentInstance
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getImmediateInstantiationRule());
- }
- add(
- $current,
- "componentInstances",
- lv_componentInstances_3_0,
+ lv_componentInstances_8_0,
"com.minres.rdl.RDL.ComponentInstance");
afterParserOrEnumRuleCall();
}
@@ -1397,9 +1392,9 @@ ruleRange returns [EObject current=null]
(
(
(
- lv_start_1_0=RULE_NUM
+ lv_left_1_0=RULE_NUM
{
- newLeafNode(lv_start_1_0, grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0());
+ newLeafNode(lv_left_1_0, grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0());
}
{
if ($current==null) {
@@ -1407,8 +1402,8 @@ ruleRange returns [EObject current=null]
}
setWithLastConsumed(
$current,
- "start",
- lv_start_1_0,
+ "left",
+ lv_left_1_0,
"com.minres.rdl.RDL.NUM");
}
)
@@ -1419,9 +1414,9 @@ ruleRange returns [EObject current=null]
}
(
(
- lv_end_3_0=RULE_NUM
+ lv_right_3_0=RULE_NUM
{
- newLeafNode(lv_end_3_0, grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0());
+ newLeafNode(lv_right_3_0, grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0());
}
{
if ($current==null) {
@@ -1429,8 +1424,8 @@ ruleRange returns [EObject current=null]
}
setWithLastConsumed(
$current,
- "end",
- lv_end_3_0,
+ "right",
+ lv_right_3_0,
"com.minres.rdl.RDL.NUM");
}
)
@@ -1479,6 +1474,9 @@ rulePropertyAssignment returns [EObject current=null]
leaveRule();
}:
(
+ {
+ /* */
+ }
{
newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
}
@@ -1488,6 +1486,9 @@ rulePropertyAssignment returns [EObject current=null]
afterParserOrEnumRuleCall();
}
|
+ {
+ /* */
+ }
{
newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
}
@@ -1497,6 +1498,9 @@ rulePropertyAssignment returns [EObject current=null]
afterParserOrEnumRuleCall();
}
|
+ {
+ /* */
+ }
{
newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
}
@@ -1528,6 +1532,9 @@ ruleDefaultProperyAssignment returns [EObject current=null]
{
newLeafNode(otherlv_0, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
}
+ {
+ /* */
+ }
{
newCompositeNode(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
}
@@ -1594,10 +1601,6 @@ ruleExplicitPropertyAssignment returns [EObject current=null]
}
)
)
- otherlv_2=';'
- {
- newLeafNode(otherlv_2, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2());
- }
)
|
(
@@ -1606,7 +1609,7 @@ ruleExplicitPropertyAssignment returns [EObject current=null]
{
newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
}
- lv_name_3_0=ruleProperty
+ lv_name_2_0=ruleProperty
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
@@ -1614,23 +1617,23 @@ ruleExplicitPropertyAssignment returns [EObject current=null]
set(
$current,
"name",
- lv_name_3_0,
+ lv_name_2_0,
"com.minres.rdl.RDL.Property");
afterParserOrEnumRuleCall();
}
)
)
(
- otherlv_4='='
+ otherlv_3='='
{
- newLeafNode(otherlv_4, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
+ newLeafNode(otherlv_3, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
}
(
(
{
newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
}
- lv_rhs_5_0=rulePropertyAssignmentRhs
+ lv_rhs_4_0=rulePropertyAssignmentRhs
{
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
@@ -1638,17 +1641,13 @@ ruleExplicitPropertyAssignment returns [EObject current=null]
set(
$current,
"rhs",
- lv_rhs_5_0,
+ lv_rhs_4_0,
"com.minres.rdl.RDL.PropertyAssignmentRhs");
afterParserOrEnumRuleCall();
}
)
)
)?
- otherlv_6=';'
- {
- newLeafNode(otherlv_6, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2());
- }
)
)
;
@@ -1717,6 +1716,9 @@ rulePostPropertyAssignment returns [EObject current=null]
|
(
(
+ {
+ /* */
+ }
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPostPropertyAssignmentRule());
@@ -1733,6 +1735,9 @@ rulePostPropertyAssignment returns [EObject current=null]
|
(
(
+ {
+ /* */
+ }
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPostPropertyAssignmentRule());
@@ -1770,10 +1775,6 @@ rulePostPropertyAssignment returns [EObject current=null]
)
)
)?
- otherlv_7=';'
- {
- newLeafNode(otherlv_7, grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2());
- }
)
;
@@ -1840,6 +1841,9 @@ ruleInstancePropertyRef returns [EObject current=null]
|
(
(
+ {
+ /* */
+ }
{
if ($current==null) {
$current = createModelElement(grammarAccess.getInstancePropertyRefRule());
@@ -1874,6 +1878,9 @@ ruleInstanceRef returns [EObject current=null]
(
(
(
+ {
+ /* */
+ }
{
if ($current==null) {
$current = createModelElement(grammarAccess.getInstanceRefRule());
@@ -1931,6 +1938,9 @@ ruleHierInstanceRef returns [EObject current=null]
(
(
(
+ {
+ /* */
+ }
{
if ($current==null) {
$current = createModelElement(grammarAccess.getHierInstanceRefRule());
@@ -2029,6 +2039,9 @@ rulePropertyAssignmentRhs returns [EObject current=null]
(
(
(
+ {
+ /* */
+ }
{
if ($current==null) {
$current = createModelElement(grammarAccess.getPropertyAssignmentRhsRule());
@@ -2348,10 +2361,6 @@ ruleEnumDefinition returns [EObject current=null]
}
)
)
- otherlv_3=';'
- {
- newLeafNode(otherlv_3, grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3());
- }
)
;
@@ -2376,6 +2385,9 @@ ruleEnumBody returns [EObject current=null]
newLeafNode(otherlv_0, grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
}
(
+ {
+ /* */
+ }
{
$current = forceCreateModelElement(
grammarAccess.getEnumBodyAccess().getEnumBodyAction_1(),
@@ -2602,6 +2614,54 @@ ruleEnumProperty returns [EObject current=null]
)
;
+// Entry rule entryRuleEnumInstanceType
+entryRuleEnumInstanceType returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getEnumInstanceTypeRule()); }
+ iv_ruleEnumInstanceType=ruleEnumInstanceType
+ { $current=$iv_ruleEnumInstanceType.current; }
+ EOF;
+
+// Rule EnumInstanceType
+ruleEnumInstanceType returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ lv_EXTERNAL_0_0='external'
+ {
+ newLeafNode(lv_EXTERNAL_0_0, grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getEnumInstanceTypeRule());
+ }
+ setWithLastConsumed($current, "EXTERNAL", lv_EXTERNAL_0_0, "external");
+ }
+ )
+ )
+ |
+ (
+ (
+ lv_INTERNAL_1_0='internal'
+ {
+ newLeafNode(lv_INTERNAL_1_0, grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getEnumInstanceTypeRule());
+ }
+ setWithLastConsumed($current, "INTERNAL", lv_INTERNAL_1_0, "internal");
+ }
+ )
+ )
+ )
+;
+
// Rule PropertyTypeName
rulePropertyTypeName returns [Enumerator current=null]
@init {
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.tokens b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.tokens
index ba0d5ba..5426343 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.tokens
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.tokens
@@ -1,22 +1,22 @@
-'%='=30
-'+='=29
-','=27
-'->'=34
-'.'=35
-':'=32
-';'=17
-'='=16
-'@'=28
+'%='=28
+'+='=27
+','=25
+'->'=32
+'.'=33
+':'=30
+';'=12
+'='=17
+'@'=26
'UNDEFINED'=121
-'['=31
-']'=33
-'`include'=12
+'['=29
+']'=31
+'`include'=13
'accesswidth'=105
'activehigh'=85
'activelow'=86
'addressing'=108
'addrmap'=42
-'alias'=26
+'alias'=24
'alignment'=101
'all'=48
'anded'=65
@@ -37,14 +37,14 @@
'decrvalue'=94
'decrwidth'=92
'default'=19
-'desc'=38
+'desc'=36
'dontcompare'=99
'donttest'=100
'enable'=114
'encode'=110
-'enum'=36
+'enum'=34
'errextbus'=71
-'external'=24
+'external'=37
'false'=21
'field'=45
'field_reset'=84
@@ -61,7 +61,7 @@
'incr'=89
'incrvalue'=93
'incrwidth'=91
-'internal'=25
+'internal'=38
'intr'=64
'level'=133
'littleendian'=73
@@ -69,7 +69,7 @@
'mask'=113
'msb0'=79
'na'=126
-'name'=37
+'name'=35
'negedge'=131
'next'=120
'nonsticky'=134
@@ -78,7 +78,7 @@
'overflow'=69
'posedge'=130
'precedence'=109
-'property'=13
+'property'=14
'r'=124
'rclr'=51
'ref'=46
@@ -109,7 +109,7 @@
'sync'=81
'threshold'=97
'true'=20
-'type'=15
+'type'=16
'underflow'=88
'w'=125
'we'=54
@@ -118,7 +118,7 @@
'woset'=53
'wr'=123
'xored'=67
-'{'=14
+'{'=15
'|'=23
'}'=18
RULE_ESCAPE_JSP=10
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLLexer.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLLexer.java
index a79e115..fe74e3d 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLLexer.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLLexer.java
@@ -163,11 +163,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__12;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:11:7: ( '`include' )
- // InternalRDL.g:11:9: '`include'
+ // InternalRDL.g:11:7: ( ';' )
+ // InternalRDL.g:11:9: ';'
{
- match("`include");
-
+ match(';');
}
@@ -184,10 +183,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__13;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:12:7: ( 'property' )
- // InternalRDL.g:12:9: 'property'
+ // InternalRDL.g:12:7: ( '`include' )
+ // InternalRDL.g:12:9: '`include'
{
- match("property");
+ match("`include");
}
@@ -205,10 +204,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:13:7: ( '{' )
- // InternalRDL.g:13:9: '{'
+ // InternalRDL.g:13:7: ( 'property' )
+ // InternalRDL.g:13:9: 'property'
{
- match('{');
+ match("property");
+
}
@@ -225,11 +225,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:14:7: ( 'type' )
- // InternalRDL.g:14:9: 'type'
+ // InternalRDL.g:14:7: ( '{' )
+ // InternalRDL.g:14:9: '{'
{
- match("type");
-
+ match('{');
}
@@ -246,10 +245,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:15:7: ( '=' )
- // InternalRDL.g:15:9: '='
+ // InternalRDL.g:15:7: ( 'type' )
+ // InternalRDL.g:15:9: 'type'
{
- match('=');
+ match("type");
+
}
@@ -266,10 +266,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:16:7: ( ';' )
- // InternalRDL.g:16:9: ';'
+ // InternalRDL.g:16:7: ( '=' )
+ // InternalRDL.g:16:9: '='
{
- match(';');
+ match('=');
}
@@ -410,10 +410,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:23:7: ( 'external' )
- // InternalRDL.g:23:9: 'external'
+ // InternalRDL.g:23:7: ( 'alias' )
+ // InternalRDL.g:23:9: 'alias'
{
- match("external");
+ match("alias");
}
@@ -431,11 +431,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:24:7: ( 'internal' )
- // InternalRDL.g:24:9: 'internal'
+ // InternalRDL.g:24:7: ( ',' )
+ // InternalRDL.g:24:9: ','
{
- match("internal");
-
+ match(',');
}
@@ -452,11 +451,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:25:7: ( 'alias' )
- // InternalRDL.g:25:9: 'alias'
+ // InternalRDL.g:25:7: ( '@' )
+ // InternalRDL.g:25:9: '@'
{
- match("alias");
-
+ match('@');
}
@@ -473,10 +471,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:26:7: ( ',' )
- // InternalRDL.g:26:9: ','
+ // InternalRDL.g:26:7: ( '+=' )
+ // InternalRDL.g:26:9: '+='
{
- match(',');
+ match("+=");
+
}
@@ -493,10 +492,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:27:7: ( '@' )
- // InternalRDL.g:27:9: '@'
+ // InternalRDL.g:27:7: ( '%=' )
+ // InternalRDL.g:27:9: '%='
{
- match('@');
+ match("%=");
+
}
@@ -513,11 +513,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:28:7: ( '+=' )
- // InternalRDL.g:28:9: '+='
+ // InternalRDL.g:28:7: ( '[' )
+ // InternalRDL.g:28:9: '['
{
- match("+=");
-
+ match('[');
}
@@ -534,11 +533,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:29:7: ( '%=' )
- // InternalRDL.g:29:9: '%='
+ // InternalRDL.g:29:7: ( ':' )
+ // InternalRDL.g:29:9: ':'
{
- match("%=");
-
+ match(':');
}
@@ -555,10 +553,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:30:7: ( '[' )
- // InternalRDL.g:30:9: '['
+ // InternalRDL.g:30:7: ( ']' )
+ // InternalRDL.g:30:9: ']'
{
- match('[');
+ match(']');
}
@@ -575,10 +573,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:31:7: ( ':' )
- // InternalRDL.g:31:9: ':'
+ // InternalRDL.g:31:7: ( '->' )
+ // InternalRDL.g:31:9: '->'
{
- match(':');
+ match("->");
+
}
@@ -595,10 +594,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:32:7: ( ']' )
- // InternalRDL.g:32:9: ']'
+ // InternalRDL.g:32:7: ( '.' )
+ // InternalRDL.g:32:9: '.'
{
- match(']');
+ match('.');
}
@@ -615,10 +614,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:33:7: ( '->' )
- // InternalRDL.g:33:9: '->'
+ // InternalRDL.g:33:7: ( 'enum' )
+ // InternalRDL.g:33:9: 'enum'
{
- match("->");
+ match("enum");
}
@@ -636,10 +635,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:34:7: ( '.' )
- // InternalRDL.g:34:9: '.'
+ // InternalRDL.g:34:7: ( 'name' )
+ // InternalRDL.g:34:9: 'name'
{
- match('.');
+ match("name");
+
}
@@ -656,10 +656,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:35:7: ( 'enum' )
- // InternalRDL.g:35:9: 'enum'
+ // InternalRDL.g:35:7: ( 'desc' )
+ // InternalRDL.g:35:9: 'desc'
{
- match("enum");
+ match("desc");
}
@@ -677,10 +677,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__37;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:36:7: ( 'name' )
- // InternalRDL.g:36:9: 'name'
+ // InternalRDL.g:36:7: ( 'external' )
+ // InternalRDL.g:36:9: 'external'
{
- match("name");
+ match("external");
}
@@ -698,10 +698,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = T__38;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:37:7: ( 'desc' )
- // InternalRDL.g:37:9: 'desc'
+ // InternalRDL.g:37:7: ( 'internal' )
+ // InternalRDL.g:37:9: 'internal'
{
- match("desc");
+ match("internal");
}
@@ -2733,10 +2733,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3575:9: ( ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalRDL.g:3575:11: ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalRDL.g:3635:9: ( ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalRDL.g:3635:11: ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // InternalRDL.g:3575:11: ( '\\\\' )?
+ // InternalRDL.g:3635:11: ( '\\\\' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -2745,7 +2745,7 @@ public class InternalRDLLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // InternalRDL.g:3575:11: '\\\\'
+ // InternalRDL.g:3635:11: '\\\\'
{
match('\\');
@@ -2763,7 +2763,7 @@ public class InternalRDLLexer extends Lexer {
recover(mse);
throw mse;}
- // InternalRDL.g:3575:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalRDL.g:3635:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -2812,10 +2812,10 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3577:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalRDL.g:3577:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalRDL.g:3637:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalRDL.g:3637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalRDL.g:3577:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalRDL.g:3637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt3=0;
loop3:
do {
@@ -2869,12 +2869,12 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3579:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalRDL.g:3579:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalRDL.g:3639:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalRDL.g:3639:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // InternalRDL.g:3579:24: ( options {greedy=false; } : . )*
+ // InternalRDL.g:3639:24: ( options {greedy=false; } : . )*
loop4:
do {
int alt4=2;
@@ -2899,7 +2899,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt4) {
case 1 :
- // InternalRDL.g:3579:52: .
+ // InternalRDL.g:3639:52: .
{
matchAny();
@@ -2929,12 +2929,12 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3581:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalRDL.g:3581:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalRDL.g:3641:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalRDL.g:3641:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalRDL.g:3581:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // InternalRDL.g:3641:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop5:
do {
int alt5=2;
@@ -2947,7 +2947,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt5) {
case 1 :
- // InternalRDL.g:3581:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalRDL.g:3641:24: ~ ( ( '\\n' | '\\r' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -2967,7 +2967,7 @@ public class InternalRDLLexer extends Lexer {
}
} while (true);
- // InternalRDL.g:3581:40: ( ( '\\r' )? '\\n' )?
+ // InternalRDL.g:3641:40: ( ( '\\r' )? '\\n' )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -2976,9 +2976,9 @@ public class InternalRDLLexer extends Lexer {
}
switch (alt7) {
case 1 :
- // InternalRDL.g:3581:41: ( '\\r' )? '\\n'
+ // InternalRDL.g:3641:41: ( '\\r' )? '\\n'
{
- // InternalRDL.g:3581:41: ( '\\r' )?
+ // InternalRDL.g:3641:41: ( '\\r' )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -2987,7 +2987,7 @@ public class InternalRDLLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // InternalRDL.g:3581:41: '\\r'
+ // InternalRDL.g:3641:41: '\\r'
{
match('\r');
@@ -3019,12 +3019,12 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ESCAPE_JSP;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3583:17: ( '<%' ( options {greedy=false; } : . )* '%>' )
- // InternalRDL.g:3583:19: '<%' ( options {greedy=false; } : . )* '%>'
+ // InternalRDL.g:3643:17: ( '<%' ( options {greedy=false; } : . )* '%>' )
+ // InternalRDL.g:3643:19: '<%' ( options {greedy=false; } : . )* '%>'
{
match("<%");
- // InternalRDL.g:3583:24: ( options {greedy=false; } : . )*
+ // InternalRDL.g:3643:24: ( options {greedy=false; } : . )*
loop8:
do {
int alt8=2;
@@ -3049,7 +3049,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt8) {
case 1 :
- // InternalRDL.g:3583:52: .
+ // InternalRDL.g:3643:52: .
{
matchAny();
@@ -3079,11 +3079,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_ESCAPE_ORDL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3585:18: ( '(' ( options {greedy=false; } : . )* ')' )
- // InternalRDL.g:3585:20: '(' ( options {greedy=false; } : . )* ')'
+ // InternalRDL.g:3645:18: ( '(' ( options {greedy=false; } : . )* ')' )
+ // InternalRDL.g:3645:20: '(' ( options {greedy=false; } : . )* ')'
{
match('(');
- // InternalRDL.g:3585:24: ( options {greedy=false; } : . )*
+ // InternalRDL.g:3645:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@@ -3099,7 +3099,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt9) {
case 1 :
- // InternalRDL.g:3585:52: .
+ // InternalRDL.g:3645:52: .
{
matchAny();
@@ -3128,17 +3128,17 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_NUM;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3587:10: ( ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) )
- // InternalRDL.g:3587:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
+ // InternalRDL.g:3647:10: ( ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) )
+ // InternalRDL.g:3647:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
{
- // InternalRDL.g:3587:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
+ // InternalRDL.g:3647:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )
int alt20=6;
alt20 = dfa20.predict(input);
switch (alt20) {
case 1 :
- // InternalRDL.g:3587:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+
+ // InternalRDL.g:3647:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+
{
- // InternalRDL.g:3587:13: ( '0' .. '9' )+
+ // InternalRDL.g:3647:13: ( '0' .. '9' )+
int cnt10=0;
loop10:
do {
@@ -3152,7 +3152,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt10) {
case 1 :
- // InternalRDL.g:3587:14: '0' .. '9'
+ // InternalRDL.g:3647:14: '0' .. '9'
{
matchRange('0','9');
@@ -3170,7 +3170,7 @@ public class InternalRDLLexer extends Lexer {
match("'b");
- // InternalRDL.g:3587:31: ( '0' | '1' | '_' )+
+ // InternalRDL.g:3647:31: ( '0' | '1' | '_' )+
int cnt11=0;
loop11:
do {
@@ -3212,9 +3212,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 2 :
- // InternalRDL.g:3587:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+
+ // InternalRDL.g:3647:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+
{
- // InternalRDL.g:3587:46: ( '0' .. '9' )+
+ // InternalRDL.g:3647:46: ( '0' .. '9' )+
int cnt12=0;
loop12:
do {
@@ -3228,7 +3228,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt12) {
case 1 :
- // InternalRDL.g:3587:47: '0' .. '9'
+ // InternalRDL.g:3647:47: '0' .. '9'
{
matchRange('0','9');
@@ -3246,7 +3246,7 @@ public class InternalRDLLexer extends Lexer {
match("'o");
- // InternalRDL.g:3587:64: ( '0' .. '7' | '_' )+
+ // InternalRDL.g:3647:64: ( '0' .. '7' | '_' )+
int cnt13=0;
loop13:
do {
@@ -3288,9 +3288,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 3 :
- // InternalRDL.g:3587:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
+ // InternalRDL.g:3647:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
{
- // InternalRDL.g:3587:80: ( '0' .. '9' )+
+ // InternalRDL.g:3647:80: ( '0' .. '9' )+
int cnt14=0;
loop14:
do {
@@ -3304,7 +3304,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt14) {
case 1 :
- // InternalRDL.g:3587:81: '0' .. '9'
+ // InternalRDL.g:3647:81: '0' .. '9'
{
matchRange('0','9');
@@ -3322,7 +3322,7 @@ public class InternalRDLLexer extends Lexer {
match("'h");
- // InternalRDL.g:3587:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
+ // InternalRDL.g:3647:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+
int cnt15=0;
loop15:
do {
@@ -3364,9 +3364,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 4 :
- // InternalRDL.g:3587:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+
+ // InternalRDL.g:3647:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+
{
- // InternalRDL.g:3587:132: ( '0' .. '9' )+
+ // InternalRDL.g:3647:132: ( '0' .. '9' )+
int cnt16=0;
loop16:
do {
@@ -3380,7 +3380,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt16) {
case 1 :
- // InternalRDL.g:3587:133: '0' .. '9'
+ // InternalRDL.g:3647:133: '0' .. '9'
{
matchRange('0','9');
@@ -3398,7 +3398,7 @@ public class InternalRDLLexer extends Lexer {
match("'d");
- // InternalRDL.g:3587:150: ( '0' .. '9' | '_' )+
+ // InternalRDL.g:3647:150: ( '0' .. '9' | '_' )+
int cnt17=0;
loop17:
do {
@@ -3440,11 +3440,11 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 5 :
- // InternalRDL.g:3587:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalRDL.g:3647:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
match("0x");
- // InternalRDL.g:3587:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalRDL.g:3647:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt18=0;
loop18:
do {
@@ -3486,9 +3486,9 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 6 :
- // InternalRDL.g:3587:201: ( '0' .. '9' )+
+ // InternalRDL.g:3647:201: ( '0' .. '9' )+
{
- // InternalRDL.g:3587:201: ( '0' .. '9' )+
+ // InternalRDL.g:3647:201: ( '0' .. '9' )+
int cnt19=0;
loop19:
do {
@@ -3502,7 +3502,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt19) {
case 1 :
- // InternalRDL.g:3587:202: '0' .. '9'
+ // InternalRDL.g:3647:202: '0' .. '9'
{
matchRange('0','9');
@@ -3540,11 +3540,11 @@ public class InternalRDLLexer extends Lexer {
try {
int _type = RULE_STR;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalRDL.g:3589:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // InternalRDL.g:3589:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalRDL.g:3649:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalRDL.g:3649:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // InternalRDL.g:3589:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ // InternalRDL.g:3649:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
loop21:
do {
int alt21=3;
@@ -3560,7 +3560,7 @@ public class InternalRDLLexer extends Lexer {
switch (alt21) {
case 1 :
- // InternalRDL.g:3589:17: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // InternalRDL.g:3649:17: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
@@ -3576,7 +3576,7 @@ public class InternalRDLLexer extends Lexer {
}
break;
case 2 :
- // InternalRDL.g:3589:62: ~ ( ( '\\\\' | '\"' ) )
+ // InternalRDL.g:3649:62: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -4593,37 +4593,35 @@ public class InternalRDLLexer extends Lexer {
this.transition = DFA20_transition;
}
public String getDescription() {
- return "3587:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )";
+ return "3647:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ )";
}
}
static final String DFA22_eotS =
- "\2\uffff\1\44\1\uffff\1\44\3\uffff\3\44\1\uffff\3\44\11\uffff\3\44\1\123\1\127\7\44\7\uffff\27\44\1\u0087\5\44\1\u0093\11\44\1\u00a1\1\uffff\1\44\1\u00a5\1\u00a6\1\uffff\1\u00ab\13\44\2\uffff\31\44\1\u00d2\7\44\1\uffff\13\44\1\uffff\7\44\1\u00ef\1\u00f0\4\44\1\uffff\2\44\1\u00f7\2\uffff\4\44\1\uffff\16\44\1\u010a\1\u010b\2\44\1\u010e\1\u0113\11\44\1\u011f\4\44\1\u0124\1\u0127\2\44\1\uffff\6\44\1\u0131\1\44\1\u0133\6\44\1\u013b\3\44\1\u013f\10\44\2\uffff\1\44\1\u0149\1\44\1\u014b\2\44\1\uffff\4\44\1\u0154\1\u0155\3\44\1\u0159\1\44\1\u015b\1\u015c\5\44\2\uffff\2\44\1\uffff\4\44\1\uffff\2\44\1\u016a\1\u016d\5\44\1\u0173\1\44\1\uffff\4\44\1\uffff\2\44\1\uffff\1\u017b\4\44\1\u0180\1\u0181\2\44\1\uffff\1\44\1\uffff\6\44\1\u018b\1\uffff\1\u018c\1\u018d\1\44\1\uffff\10\44\1\u0198\1\uffff\1\44\1\uffff\1\u019a\1\u019b\1\u019c\1\u019d\4\44\2\uffff\1\44\1\u01a3\1\44\1\uffff\1\u01a5\2\uffff\15\44\1\uffff\2\44\1\uffff\5\44\1\uffff\1\44\1\u01bb\1\u01bc\4\44\1\uffff\4\44\2\uffff\2\44\1\u01c8\2\44\1\u01cb\1\u01cd\1\u01cf\1\44\3\uffff\1\u01d2\4\44\1\u01d7\4\44\1\uffff\1\44\4\uffff\1\44\1\u01de\3\44\1\uffff\1\44\1\uffff\4\44\1\u01e7\1\44\1\u01e9\12\44\1\u01f4\1\u01f5\2\44\2\uffff\5\44\1\u01fd\1\44\1\u01ff\3\44\1\uffff\1\u0203\1\44\1\uffff\1\44\1\uffff\1\44\1\uffff\2\44\1\uffff\1\44\1\u020a\2\44\1\uffff\1\u020d\3\44\1\u0212\1\44\1\uffff\6\44\1\u021a\1\44\1\uffff\1\44\1\uffff\5\44\1\u0222\4\44\2\uffff\1\44\1\u0228\1\44\1\u022a\3\44\1\uffff\1\44\1\uffff\3\44\1\uffff\5\44\1\u0237\1\uffff\1\u0238\1\44\1\uffff\1\u023a\1\u023b\1\44\1\u023d\1\uffff\1\u023e\1\u023f\1\44\1\u0241\3\44\1\uffff\1\44\1\u0246\1\u0247\1\u0248\3\44\1\uffff\2\44\1\u024e\1\u024f\1\44\1\uffff\1\u0251\1\uffff\1\u0252\1\u0253\1\u0254\2\44\1\u0257\1\44\1\u0259\1\u025a\3\44\2\uffff\1\u025e\2\uffff\1\44\3\uffff\1\44\1\uffff\1\44\1\u0262\1\u0263\1\u0264\3\uffff\4\44\1\u0269\2\uffff\1\44\4\uffff\1\u026b\1\u026c\1\uffff\1\44\2\uffff\3\44\1\uffff\1\44\1\u0272\1\44\3\uffff\2\44\1\u0276\1\u0277\1\uffff\1\u0278\2\uffff\1\u0279\1\u027a\1\u027b\1\44\1\u027d\1\uffff\1\44\1\u027f\1\44\6\uffff\1\u0281\1\uffff\1\u0282\1\uffff\1\u0283\3\uffff";
+ "\3\uffff\1\44\1\uffff\1\44\2\uffff\3\44\1\uffff\1\44\11\uffff\5\44\1\123\1\127\7\44\7\uffff\26\44\1\u0085\6\44\1\u0093\11\44\1\u00a1\1\uffff\1\44\1\u00a5\1\u00a6\1\uffff\1\u00ab\13\44\2\uffff\22\44\1\u00ca\14\44\1\uffff\15\44\1\uffff\7\44\1\u00ef\1\u00f0\4\44\1\uffff\2\44\1\u00f7\2\uffff\4\44\1\uffff\16\44\1\u010a\1\u010b\2\44\1\u010e\1\u0113\12\44\1\uffff\6\44\1\u0127\4\44\1\u012c\1\44\1\u012e\3\44\1\u0132\1\u0135\4\44\1\u013b\3\44\1\u013f\10\44\2\uffff\1\44\1\u0149\1\44\1\u014b\2\44\1\uffff\4\44\1\u0154\1\u0155\3\44\1\u0159\1\44\1\u015b\1\u015c\5\44\2\uffff\2\44\1\uffff\4\44\1\uffff\2\44\1\u016a\1\u016d\5\44\1\u0173\1\u0174\4\44\1\u0179\1\u017a\2\44\1\uffff\4\44\1\uffff\1\44\1\uffff\3\44\1\uffff\2\44\1\uffff\4\44\1\u018b\1\uffff\1\u018c\1\u018d\1\44\1\uffff\10\44\1\u0198\1\uffff\1\44\1\uffff\1\u019a\1\u019b\1\u019c\1\u019d\4\44\2\uffff\1\44\1\u01a3\1\44\1\uffff\1\u01a5\2\uffff\15\44\1\uffff\2\44\1\uffff\5\44\2\uffff\4\44\2\uffff\2\44\1\u01c1\1\u01c2\2\44\1\u01c5\5\44\1\u01cb\1\u01cd\1\u01cf\1\44\3\uffff\1\u01d2\4\44\1\u01d7\4\44\1\uffff\1\44\4\uffff\1\44\1\u01de\3\44\1\uffff\1\44\1\uffff\4\44\1\u01e7\1\44\1\u01e9\12\44\1\u01f4\1\u01f5\2\44\1\u01f8\1\44\1\u01fa\3\44\2\uffff\2\44\1\uffff\1\u0200\4\44\1\uffff\1\44\1\uffff\1\44\1\uffff\2\44\1\uffff\1\44\1\u020a\2\44\1\uffff\1\u020d\3\44\1\u0212\1\44\1\uffff\6\44\1\u021a\1\44\1\uffff\1\44\1\uffff\5\44\1\u0222\4\44\2\uffff\2\44\1\uffff\1\44\1\uffff\3\44\1\u022d\1\44\1\uffff\1\44\1\u0230\6\44\1\u0237\1\uffff\1\u0238\1\44\1\uffff\1\u023a\1\u023b\1\44\1\u023d\1\uffff\1\u023e\1\u023f\1\44\1\u0241\3\44\1\uffff\1\44\1\u0246\1\u0247\1\u0248\3\44\1\uffff\2\44\1\u024e\1\u024f\1\44\1\u0251\2\44\1\u0254\1\44\1\uffff\1\u0256\1\u0257\1\uffff\1\u0258\1\u0259\1\u025a\3\44\2\uffff\1\u025e\2\uffff\1\44\3\uffff\1\44\1\uffff\1\44\1\u0262\1\u0263\1\u0264\3\uffff\4\44\1\u0269\2\uffff\1\44\1\uffff\1\u026b\1\u026c\1\uffff\1\44\5\uffff\3\44\1\uffff\1\44\1\u0272\1\44\3\uffff\2\44\1\u0276\1\u0277\1\uffff\1\u0278\2\uffff\1\u0279\1\u027a\1\u027b\1\44\1\u027d\1\uffff\1\44\1\u027f\1\44\6\uffff\1\u0281\1\uffff\1\u0282\1\uffff\1\u0283\3\uffff";
static final String DFA22_eofS =
"\u0284\uffff";
static final String DFA22_minS =
- "\1\11\1\uffff\1\157\1\uffff\1\150\3\uffff\1\145\1\141\1\154\1\uffff\2\156\1\143\11\uffff\2\141\1\151\2\60\1\141\1\162\1\157\1\145\1\141\1\156\1\116\2\uffff\1\52\4\uffff\1\145\1\163\1\160\1\165\1\162\1\143\1\156\1\154\1\145\1\154\1\155\1\165\1\157\1\164\1\141\1\162\1\143\1\151\1\144\1\142\1\144\1\171\1\143\1\60\1\155\1\147\1\156\1\151\1\147\1\60\1\141\1\156\1\164\1\157\1\147\1\151\1\146\1\145\1\154\1\60\1\uffff\1\143\2\60\1\uffff\1\60\1\154\2\145\1\162\1\164\1\142\1\166\1\142\1\163\1\144\1\104\2\uffff\1\160\1\143\4\145\1\141\1\143\1\162\1\164\1\163\2\154\1\160\1\156\1\151\1\143\1\145\1\155\1\157\1\142\2\145\1\162\1\141\1\60\1\162\1\151\1\145\1\156\1\151\2\145\1\uffff\1\142\1\164\1\145\1\163\1\151\1\143\1\156\1\147\1\145\1\157\1\143\1\uffff\1\162\1\143\1\165\1\154\1\150\1\145\1\144\2\60\1\145\1\164\1\144\1\162\1\uffff\1\154\1\145\1\60\2\uffff\1\145\1\154\1\156\1\141\1\uffff\1\164\1\144\1\162\1\145\1\164\1\60\1\145\1\60\1\153\1\145\1\105\2\145\1\144\2\60\1\163\1\165\2\60\1\143\1\145\1\144\2\141\1\164\1\146\1\153\1\162\1\60\1\144\1\154\1\170\1\162\2\60\1\163\1\156\1\uffff\1\145\1\164\1\144\1\143\1\166\1\163\1\60\1\145\1\60\1\144\1\164\1\156\1\153\1\141\1\154\1\60\1\144\1\143\1\145\1\60\1\162\2\145\1\156\1\147\2\151\1\154\2\uffff\1\164\1\60\1\163\1\60\1\162\1\164\1\uffff\1\164\1\162\1\141\1\163\2\60\1\146\1\144\1\154\1\60\1\154\2\60\1\162\1\106\1\162\1\144\1\147\2\uffff\1\150\1\154\1\uffff\1\151\2\141\1\150\1\uffff\1\157\1\145\2\60\1\154\1\156\1\143\1\145\1\137\1\60\1\156\1\uffff\2\145\1\164\1\156\1\uffff\1\151\1\141\1\uffff\1\60\1\155\1\141\1\163\1\145\2\60\1\145\1\163\1\uffff\1\162\1\uffff\1\147\1\151\1\147\1\171\1\154\1\145\1\60\1\uffff\2\60\1\144\1\uffff\2\141\2\144\1\145\1\154\1\144\1\151\1\60\1\uffff\1\145\1\uffff\4\60\1\142\1\153\1\141\1\156\2\uffff\1\154\1\60\1\145\1\uffff\1\60\2\uffff\1\146\1\111\1\164\2\145\1\157\1\164\1\144\1\154\1\164\1\162\1\155\1\163\1\uffff\1\162\1\151\1\uffff\1\151\1\145\1\164\2\162\1\uffff\1\141\2\60\1\142\1\141\1\144\1\154\1\uffff\1\145\1\160\1\163\1\162\2\uffff\1\150\1\167\1\60\1\145\1\143\3\60\1\160\3\uffff\1\60\1\164\1\156\1\147\1\151\1\60\1\145\1\164\1\147\1\151\1\uffff\1\164\4\uffff\1\154\1\60\1\163\1\141\1\157\1\uffff\1\145\1\uffff\1\154\1\116\1\171\1\156\1\60\1\154\1\60\1\164\2\165\1\145\1\160\1\164\1\145\1\144\1\147\1\156\2\60\1\145\1\154\2\uffff\1\165\1\154\1\164\1\165\1\156\1\60\1\151\1\60\1\151\1\157\1\151\1\uffff\1\60\1\153\1\uffff\1\151\1\uffff\1\151\1\uffff\1\165\1\170\1\uffff\1\145\1\60\1\145\1\141\1\uffff\1\60\1\150\1\156\1\147\1\60\1\145\1\uffff\1\153\1\142\1\167\1\156\1\157\1\105\1\60\1\143\1\uffff\1\144\1\uffff\1\150\1\145\1\162\1\163\1\141\1\60\1\163\1\164\1\156\1\164\2\uffff\1\163\1\60\1\163\1\60\1\150\1\145\1\164\1\uffff\1\156\1\uffff\1\147\1\167\1\144\1\uffff\1\171\1\164\1\144\1\154\1\164\1\60\1\uffff\1\60\1\156\1\uffff\2\60\1\156\1\60\1\uffff\2\60\1\154\1\60\1\144\1\167\1\104\1\uffff\1\145\3\60\1\141\1\150\1\162\1\uffff\1\145\1\150\2\60\1\145\1\uffff\1\60\1\uffff\3\60\1\147\1\150\1\60\1\164\2\60\1\164\1\163\1\142\2\uffff\1\60\2\uffff\1\141\3\uffff\1\145\1\uffff\1\151\3\60\3\uffff\1\164\1\157\1\145\1\164\1\60\2\uffff\1\164\4\uffff\2\60\1\uffff\1\150\2\uffff\1\150\1\145\1\165\1\uffff\1\154\1\60\1\141\3\uffff\1\145\1\154\2\60\1\uffff\1\60\2\uffff\3\60\1\163\1\60\1\uffff\1\156\1\60\1\144\6\uffff\1\60\1\uffff\1\60\1\uffff\1\60\3\uffff";
+ "\1\11\2\uffff\1\157\1\uffff\1\150\2\uffff\1\145\1\141\1\154\1\uffff\1\143\11\uffff\1\156\1\141\1\156\1\141\1\151\2\60\1\141\1\162\1\157\1\145\1\141\1\156\1\116\2\uffff\1\52\4\uffff\1\145\1\163\1\160\1\165\1\162\1\143\1\156\1\154\1\145\1\154\1\155\1\165\1\157\1\151\1\144\1\142\1\144\1\171\1\143\1\141\1\164\1\162\1\60\1\155\1\147\1\156\1\143\1\151\1\147\1\60\1\141\1\156\1\164\1\157\1\147\1\151\1\146\1\145\1\154\1\60\1\uffff\1\143\2\60\1\uffff\1\60\1\154\2\145\1\162\1\164\1\142\1\166\1\142\1\163\1\144\1\104\2\uffff\1\160\1\143\4\145\1\141\1\143\1\162\1\164\1\163\2\154\1\160\1\156\1\151\1\143\1\141\1\60\1\162\1\151\1\145\1\156\1\151\1\145\1\155\1\157\1\142\3\145\1\uffff\1\142\1\164\1\145\1\163\1\145\1\162\1\151\1\143\1\156\1\147\1\145\1\157\1\143\1\uffff\1\162\1\143\1\165\1\154\1\150\1\145\1\144\2\60\1\145\1\164\1\144\1\162\1\uffff\1\154\1\145\1\60\2\uffff\1\145\1\154\1\156\1\141\1\uffff\1\164\1\144\1\162\1\145\1\164\1\60\1\145\1\60\1\153\1\145\1\105\2\145\1\144\2\60\1\163\1\165\2\60\1\143\1\145\1\144\2\141\1\164\1\146\1\153\1\163\1\156\1\uffff\1\145\1\164\1\144\1\143\1\166\1\163\1\60\1\144\1\154\1\162\1\170\1\60\1\145\1\60\1\144\1\164\1\162\2\60\1\156\1\153\1\141\1\154\1\60\1\144\1\143\1\145\1\60\1\162\2\145\1\156\1\147\2\151\1\154\2\uffff\1\164\1\60\1\163\1\60\1\162\1\164\1\uffff\1\164\1\162\1\141\1\163\2\60\1\146\1\144\1\154\1\60\1\154\2\60\1\162\1\106\1\162\1\144\1\147\2\uffff\1\150\1\154\1\uffff\1\151\2\141\1\150\1\uffff\1\157\1\145\2\60\1\154\1\156\1\143\1\145\1\137\2\60\1\155\1\141\1\163\1\145\2\60\1\145\1\163\1\uffff\2\145\1\156\1\164\1\uffff\1\162\1\uffff\1\147\1\151\1\156\1\uffff\1\151\1\141\1\uffff\1\147\1\171\1\154\1\145\1\60\1\uffff\2\60\1\144\1\uffff\2\141\2\144\1\145\1\154\1\144\1\151\1\60\1\uffff\1\145\1\uffff\4\60\1\142\1\153\1\141\1\156\2\uffff\1\154\1\60\1\145\1\uffff\1\60\2\uffff\1\146\1\111\1\164\2\145\1\157\1\164\1\144\1\154\1\164\1\162\1\155\1\163\1\uffff\1\162\1\151\1\uffff\1\151\1\145\1\164\2\162\2\uffff\1\145\1\160\1\163\1\162\2\uffff\1\150\1\167\2\60\1\141\1\142\1\60\1\145\1\143\1\141\1\144\1\154\3\60\1\160\3\uffff\1\60\1\164\1\156\1\147\1\151\1\60\1\145\1\164\1\147\1\151\1\uffff\1\164\4\uffff\1\154\1\60\1\163\1\141\1\157\1\uffff\1\145\1\uffff\1\154\1\116\1\171\1\156\1\60\1\154\1\60\1\164\2\165\1\145\1\160\1\164\1\145\1\144\1\147\1\156\2\60\1\145\1\156\1\60\1\151\1\60\1\151\1\157\1\151\2\uffff\1\154\1\165\1\uffff\1\60\1\153\1\154\1\164\1\165\1\uffff\1\151\1\uffff\1\151\1\uffff\1\165\1\170\1\uffff\1\145\1\60\1\145\1\141\1\uffff\1\60\1\150\1\156\1\147\1\60\1\145\1\uffff\1\153\1\142\1\167\1\156\1\157\1\105\1\60\1\143\1\uffff\1\144\1\uffff\1\150\1\145\1\162\1\163\1\141\1\60\1\163\1\164\1\156\1\164\2\uffff\1\163\1\164\1\uffff\1\156\1\uffff\1\147\1\167\1\144\1\60\1\163\1\uffff\1\171\1\60\1\150\1\145\1\164\1\144\1\154\1\164\1\60\1\uffff\1\60\1\156\1\uffff\2\60\1\156\1\60\1\uffff\2\60\1\154\1\60\1\144\1\167\1\104\1\uffff\1\145\3\60\1\141\1\150\1\162\1\uffff\1\145\1\150\2\60\1\145\1\60\1\147\1\150\1\60\1\164\1\uffff\2\60\1\uffff\3\60\1\164\1\163\1\142\2\uffff\1\60\2\uffff\1\141\3\uffff\1\145\1\uffff\1\151\3\60\3\uffff\1\164\1\157\1\145\1\164\1\60\2\uffff\1\164\1\uffff\2\60\1\uffff\1\150\5\uffff\1\150\1\145\1\165\1\uffff\1\154\1\60\1\141\3\uffff\1\145\1\154\2\60\1\uffff\1\60\2\uffff\3\60\1\163\1\60\1\uffff\1\156\1\60\1\144\6\uffff\1\60\1\uffff\1\60\1\uffff\1\60\3\uffff";
static final String DFA22_maxS =
- "\1\175\1\uffff\1\162\1\uffff\1\171\3\uffff\1\157\1\165\1\160\1\uffff\1\170\1\156\1\163\11\uffff\1\165\1\171\1\162\2\172\1\167\1\166\1\157\2\163\1\156\1\116\2\uffff\1\57\4\uffff\1\157\1\163\1\160\1\165\1\162\1\163\1\156\1\154\1\145\1\154\2\165\1\157\1\164\1\165\1\162\1\164\1\154\1\144\1\142\1\144\1\171\1\164\1\172\1\155\1\170\1\156\1\162\1\156\1\172\1\141\1\156\2\164\1\147\1\151\1\163\1\166\1\154\1\172\1\uffff\1\163\2\172\1\uffff\1\172\1\154\2\145\1\162\1\164\1\142\1\166\1\142\1\163\1\144\1\104\2\uffff\1\160\1\143\4\145\1\141\1\143\1\162\1\164\1\163\2\154\1\160\1\156\1\151\1\143\1\145\1\155\1\157\1\142\1\145\2\162\1\147\1\172\1\162\1\151\1\145\1\156\1\151\2\145\1\uffff\1\142\1\164\1\145\1\163\1\151\1\143\1\156\1\147\1\145\1\157\1\143\1\uffff\1\162\1\143\1\165\1\154\1\150\1\145\1\144\2\172\1\145\1\164\1\144\1\162\1\uffff\1\154\1\145\1\172\2\uffff\1\145\1\154\1\156\1\141\1\uffff\1\164\1\144\1\162\1\145\1\164\1\60\1\145\1\60\1\153\1\145\1\105\2\145\1\144\2\172\1\163\1\165\2\172\1\164\1\145\1\144\1\141\1\157\1\164\1\146\1\153\1\162\1\172\1\144\1\154\1\170\1\162\2\172\1\163\1\156\1\uffff\1\155\1\164\1\144\1\143\1\166\1\163\1\172\1\145\1\172\1\144\1\164\1\156\1\153\1\141\1\154\1\172\1\144\1\143\1\145\1\172\1\162\2\145\1\156\1\147\2\151\1\154\2\uffff\1\164\1\172\1\163\1\172\1\162\1\164\1\uffff\1\164\1\162\1\141\1\163\2\172\1\146\1\144\1\154\1\172\1\154\2\172\1\162\1\106\1\162\1\144\1\147\2\uffff\1\150\1\154\1\uffff\1\151\2\141\1\150\1\uffff\1\157\1\145\2\172\1\154\1\156\1\143\1\145\1\137\1\172\1\156\1\uffff\2\145\1\164\1\156\1\uffff\1\151\1\141\1\uffff\1\172\1\155\1\141\1\163\1\145\2\172\1\145\1\163\1\uffff\1\162\1\uffff\1\147\1\151\1\147\1\171\1\154\1\145\1\172\1\uffff\2\172\1\144\1\uffff\2\141\2\144\1\145\1\154\1\144\1\151\1\172\1\uffff\1\145\1\uffff\4\172\1\142\1\153\1\141\1\156\2\uffff\1\154\1\172\1\145\1\uffff\1\172\2\uffff\1\146\1\111\1\164\2\145\1\157\1\164\1\144\1\154\1\164\1\162\1\155\1\163\1\uffff\1\162\1\151\1\uffff\1\151\1\145\1\164\2\162\1\uffff\1\141\2\172\1\142\1\141\1\144\1\154\1\uffff\1\145\1\160\1\163\1\162\2\uffff\1\154\1\167\1\172\1\145\1\143\3\172\1\160\3\uffff\1\172\1\164\1\156\1\147\1\151\1\172\1\145\1\164\1\147\1\151\1\uffff\1\164\4\uffff\1\154\1\172\1\163\1\141\1\157\1\uffff\1\145\1\uffff\1\154\1\116\1\171\1\156\1\172\1\154\1\172\1\164\2\165\1\145\1\160\1\164\1\145\1\144\1\147\1\156\2\172\1\145\1\154\2\uffff\1\165\1\154\1\164\1\165\1\156\1\172\1\151\1\172\1\151\1\157\1\151\1\uffff\1\172\1\153\1\uffff\1\151\1\uffff\1\151\1\uffff\1\165\1\170\1\uffff\1\145\1\172\1\145\1\141\1\uffff\1\172\1\150\1\156\1\147\1\172\1\145\1\uffff\1\153\1\142\1\167\1\156\1\157\1\105\1\172\1\143\1\uffff\1\144\1\uffff\1\150\1\145\1\162\1\163\1\141\1\172\1\163\1\164\1\156\1\164\2\uffff\1\163\1\172\1\163\1\172\1\150\1\145\1\164\1\uffff\1\156\1\uffff\1\147\1\167\1\144\1\uffff\1\171\1\164\1\144\1\154\1\164\1\172\1\uffff\1\172\1\156\1\uffff\2\172\1\156\1\172\1\uffff\2\172\1\154\1\172\1\144\1\167\1\104\1\uffff\1\145\3\172\1\141\1\150\1\162\1\uffff\1\145\1\150\2\172\1\145\1\uffff\1\172\1\uffff\3\172\1\147\1\150\1\172\1\164\2\172\1\164\1\163\1\142\2\uffff\1\172\2\uffff\1\141\3\uffff\1\145\1\uffff\1\151\3\172\3\uffff\1\164\1\157\1\145\1\164\1\172\2\uffff\1\164\4\uffff\2\172\1\uffff\1\150\2\uffff\1\150\1\145\1\165\1\uffff\1\154\1\172\1\141\3\uffff\1\145\1\154\2\172\1\uffff\1\172\2\uffff\3\172\1\163\1\172\1\uffff\1\156\1\172\1\144\6\uffff\1\172\1\uffff\1\172\1\uffff\1\172\3\uffff";
+ "\1\175\2\uffff\1\162\1\uffff\1\171\2\uffff\1\157\1\165\1\160\1\uffff\1\163\11\uffff\1\170\1\165\1\156\1\171\1\162\2\172\1\167\1\166\1\157\2\163\1\156\1\116\2\uffff\1\57\4\uffff\1\157\1\163\1\160\1\165\1\162\1\163\1\156\1\154\1\145\1\154\2\165\1\157\1\154\1\144\1\142\1\144\1\171\1\164\1\165\1\164\1\162\1\172\1\155\1\170\1\156\1\164\1\162\1\156\1\172\1\141\1\156\2\164\1\147\1\151\1\163\1\166\1\154\1\172\1\uffff\1\163\2\172\1\uffff\1\172\1\154\2\145\1\162\1\164\1\142\1\166\1\142\1\163\1\144\1\104\2\uffff\1\160\1\143\4\145\1\141\1\143\1\162\1\164\1\163\2\154\1\160\1\156\1\151\1\143\1\147\1\172\1\162\1\151\1\145\1\156\1\151\1\145\1\155\1\157\1\142\3\145\1\uffff\1\142\1\164\1\145\1\163\2\162\1\151\1\143\1\156\1\147\1\145\1\157\1\143\1\uffff\1\162\1\143\1\165\1\154\1\150\1\145\1\144\2\172\1\145\1\164\1\144\1\162\1\uffff\1\154\1\145\1\172\2\uffff\1\145\1\154\1\156\1\141\1\uffff\1\164\1\144\1\162\1\145\1\164\1\60\1\145\1\60\1\153\1\145\1\105\2\145\1\144\2\172\1\163\1\165\2\172\1\164\1\145\1\144\1\141\1\157\1\164\1\146\1\153\1\163\1\156\1\uffff\1\155\1\164\1\144\1\143\1\166\1\163\1\172\1\144\1\154\1\162\1\170\1\172\1\145\1\172\1\144\1\164\1\162\2\172\1\156\1\153\1\141\1\154\1\172\1\144\1\143\1\145\1\172\1\162\2\145\1\156\1\147\2\151\1\154\2\uffff\1\164\1\172\1\163\1\172\1\162\1\164\1\uffff\1\164\1\162\1\141\1\163\2\172\1\146\1\144\1\154\1\172\1\154\2\172\1\162\1\106\1\162\1\144\1\147\2\uffff\1\150\1\154\1\uffff\1\151\2\141\1\150\1\uffff\1\157\1\145\2\172\1\154\1\156\1\143\1\145\1\137\2\172\1\155\1\141\1\163\1\145\2\172\1\145\1\163\1\uffff\2\145\1\156\1\164\1\uffff\1\162\1\uffff\1\147\1\151\1\156\1\uffff\1\151\1\141\1\uffff\1\147\1\171\1\154\1\145\1\172\1\uffff\2\172\1\144\1\uffff\2\141\2\144\1\145\1\154\1\144\1\151\1\172\1\uffff\1\145\1\uffff\4\172\1\142\1\153\1\141\1\156\2\uffff\1\154\1\172\1\145\1\uffff\1\172\2\uffff\1\146\1\111\1\164\2\145\1\157\1\164\1\144\1\154\1\164\1\162\1\155\1\163\1\uffff\1\162\1\151\1\uffff\1\151\1\145\1\164\2\162\2\uffff\1\145\1\160\1\163\1\162\2\uffff\1\154\1\167\2\172\1\141\1\142\1\172\1\145\1\143\1\141\1\144\1\154\3\172\1\160\3\uffff\1\172\1\164\1\156\1\147\1\151\1\172\1\145\1\164\1\147\1\151\1\uffff\1\164\4\uffff\1\154\1\172\1\163\1\141\1\157\1\uffff\1\145\1\uffff\1\154\1\116\1\171\1\156\1\172\1\154\1\172\1\164\2\165\1\145\1\160\1\164\1\145\1\144\1\147\1\156\2\172\1\145\1\156\1\172\1\151\1\172\1\151\1\157\1\151\2\uffff\1\154\1\165\1\uffff\1\172\1\153\1\154\1\164\1\165\1\uffff\1\151\1\uffff\1\151\1\uffff\1\165\1\170\1\uffff\1\145\1\172\1\145\1\141\1\uffff\1\172\1\150\1\156\1\147\1\172\1\145\1\uffff\1\153\1\142\1\167\1\156\1\157\1\105\1\172\1\143\1\uffff\1\144\1\uffff\1\150\1\145\1\162\1\163\1\141\1\172\1\163\1\164\1\156\1\164\2\uffff\1\163\1\164\1\uffff\1\156\1\uffff\1\147\1\167\1\144\1\172\1\163\1\uffff\1\171\1\172\1\150\1\145\1\164\1\144\1\154\1\164\1\172\1\uffff\1\172\1\156\1\uffff\2\172\1\156\1\172\1\uffff\2\172\1\154\1\172\1\144\1\167\1\104\1\uffff\1\145\3\172\1\141\1\150\1\162\1\uffff\1\145\1\150\2\172\1\145\1\172\1\147\1\150\1\172\1\164\1\uffff\2\172\1\uffff\3\172\1\164\1\163\1\142\2\uffff\1\172\2\uffff\1\141\3\uffff\1\145\1\uffff\1\151\3\172\3\uffff\1\164\1\157\1\145\1\164\1\172\2\uffff\1\164\1\uffff\2\172\1\uffff\1\150\5\uffff\1\150\1\145\1\165\1\uffff\1\154\1\172\1\141\3\uffff\1\145\1\154\2\172\1\uffff\1\172\2\uffff\3\172\1\163\1\172\1\uffff\1\156\1\172\1\144\6\uffff\1\172\1\uffff\1\172\1\uffff\1\172\3\uffff";
static final String DFA22_acceptS =
- "\1\uffff\1\1\1\uffff\1\3\1\uffff\1\5\1\6\1\7\3\uffff\1\14\3\uffff\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30\14\uffff\1\174\1\175\1\uffff\1\u0080\1\u0081\1\u0082\1\u0083\50\uffff\1\161\3\uffff\1\162\14\uffff\1\176\1\177\41\uffff\1\163\13\uffff\1\137\15\uffff\1\157\3\uffff\1\53\1\160\4\uffff\1\140\46\uffff\1\45\34\uffff\1\40\1\43\6\uffff\1\54\22\uffff\1\4\1\11\2\uffff\1\33\4\uffff\1\117\13\uffff\1\31\4\uffff\1\65\2\uffff\1\116\11\uffff\1\32\1\uffff\1\155\7\uffff\1\55\3\uffff\1\106\11\uffff\1\47\1\uffff\1\50\10\uffff\1\154\1\67\3\uffff\1\105\1\uffff\1\104\1\146\15\uffff\1\12\2\uffff\1\42\5\uffff\1\145\7\uffff\1\17\4\uffff\1\66\1\107\11\uffff\1\56\1\61\1\62\12\uffff\1\75\1\uffff\1\51\1\52\1\57\1\60\5\uffff\1\70\1\uffff\1\172\25\uffff\1\143\1\147\13\uffff\1\35\2\uffff\1\34\1\uffff\1\63\1\uffff\1\44\2\uffff\1\103\4\uffff\1\102\6\uffff\1\151\10\uffff\1\167\1\uffff\1\10\12\uffff\1\164\1\71\7\uffff\1\37\1\uffff\1\46\3\uffff\1\170\6\uffff\1\36\2\uffff\1\41\4\uffff\1\100\7\uffff\1\2\7\uffff\1\131\5\uffff\1\15\1\uffff\1\16\14\uffff\1\124\1\171\1\uffff\1\133\1\165\1\uffff\1\101\1\150\1\152\1\uffff\1\72\4\uffff\1\126\1\121\1\123\5\uffff\1\166\1\13\1\uffff\1\74\1\120\1\122\1\132\2\uffff\1\113\1\uffff\1\173\1\64\3\uffff\1\77\3\uffff\1\115\1\156\1\142\4\uffff\1\134\1\uffff\1\141\1\112\5\uffff\1\153\3\uffff\1\130\1\111\1\110\1\136\1\135\1\114\1\uffff\1\144\1\uffff\1\125\1\uffff\1\73\1\76\1\127";
+ "\1\uffff\1\1\1\2\1\uffff\1\4\1\uffff\1\6\1\7\3\uffff\1\14\1\uffff\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\16\uffff\1\174\1\175\1\uffff\1\u0080\1\u0081\1\u0082\1\u0083\50\uffff\1\161\3\uffff\1\162\14\uffff\1\176\1\177\37\uffff\1\163\15\uffff\1\137\15\uffff\1\157\3\uffff\1\53\1\160\4\uffff\1\140\36\uffff\1\45\44\uffff\1\40\1\43\6\uffff\1\54\22\uffff\1\5\1\11\2\uffff\1\31\4\uffff\1\117\23\uffff\1\27\4\uffff\1\30\1\uffff\1\155\3\uffff\1\65\2\uffff\1\116\5\uffff\1\55\3\uffff\1\106\11\uffff\1\47\1\uffff\1\50\10\uffff\1\154\1\67\3\uffff\1\105\1\uffff\1\104\1\146\15\uffff\1\12\2\uffff\1\42\5\uffff\1\145\1\15\4\uffff\1\66\1\107\20\uffff\1\56\1\61\1\62\12\uffff\1\75\1\uffff\1\51\1\52\1\57\1\60\5\uffff\1\70\1\uffff\1\172\33\uffff\1\143\1\147\2\uffff\1\35\5\uffff\1\34\1\uffff\1\63\1\uffff\1\44\2\uffff\1\103\4\uffff\1\102\6\uffff\1\151\10\uffff\1\167\1\uffff\1\10\12\uffff\1\164\1\71\2\uffff\1\37\1\uffff\1\46\5\uffff\1\170\11\uffff\1\36\2\uffff\1\41\4\uffff\1\100\7\uffff\1\3\7\uffff\1\131\12\uffff\1\32\2\uffff\1\33\6\uffff\1\124\1\171\1\uffff\1\133\1\165\1\uffff\1\101\1\150\1\152\1\uffff\1\72\4\uffff\1\126\1\121\1\123\5\uffff\1\166\1\13\1\uffff\1\132\2\uffff\1\113\1\uffff\1\74\1\173\1\120\1\122\1\64\3\uffff\1\77\3\uffff\1\115\1\156\1\142\4\uffff\1\134\1\uffff\1\141\1\112\5\uffff\1\153\3\uffff\1\130\1\111\1\110\1\136\1\135\1\114\1\uffff\1\144\1\uffff\1\125\1\uffff\1\73\1\76\1\127";
static final String DFA22_specialS =
"\u0284\uffff}>";
static final String[] DFA22_transitionS = {
- "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\52\2\uffff\1\22\2\uffff\1\50\2\uffff\1\21\1\17\1\26\1\27\1\46\12\51\1\24\1\6\1\47\1\5\2\uffff\1\20\24\44\1\43\5\44\1\23\1\44\1\25\1\uffff\1\44\1\1\1\16\1\32\1\12\1\10\1\14\1\11\1\44\1\35\1\15\2\44\1\40\1\41\1\30\1\36\1\2\1\44\1\33\1\31\1\4\1\42\1\44\1\34\1\37\2\44\1\3\1\13\1\7",
+ "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\52\2\uffff\1\20\2\uffff\1\50\2\uffff\1\17\1\15\1\24\1\25\1\46\12\51\1\22\1\1\1\47\1\6\2\uffff\1\16\24\44\1\43\5\44\1\21\1\44\1\23\1\uffff\1\44\1\2\1\14\1\32\1\12\1\10\1\26\1\11\1\44\1\35\1\30\2\44\1\40\1\41\1\27\1\36\1\3\1\44\1\33\1\31\1\5\1\42\1\44\1\34\1\37\2\44\1\4\1\13\1\7",
+ "",
"",
"\1\54\2\uffff\1\53",
"",
"\1\57\11\uffff\1\56\6\uffff\1\55",
"",
"",
- "",
"\1\60\11\uffff\1\61",
"\1\62\7\uffff\1\63\13\uffff\1\64",
"\1\67\2\uffff\1\65\1\66",
"",
- "\1\71\3\uffff\1\72\5\uffff\1\70",
- "\1\73",
- "\1\101\1\75\7\uffff\1\74\1\uffff\1\77\3\uffff\1\76\1\100",
+ "\1\75\1\71\7\uffff\1\70\1\uffff\1\73\3\uffff\1\72\1\74",
"",
"",
"",
@@ -4633,7 +4631,9 @@ public class InternalRDLLexer extends Lexer {
"",
"",
"",
- "\1\102\3\uffff\1\104\11\uffff\1\105\5\uffff\1\103",
+ "\1\76\3\uffff\1\100\5\uffff\1\77",
+ "\1\101\3\uffff\1\103\11\uffff\1\104\5\uffff\1\102",
+ "\1\105",
"\1\113\6\uffff\1\111\1\107\12\uffff\1\106\2\uffff\1\110\1\uffff\1\112",
"\1\115\5\uffff\1\114\2\uffff\1\116",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\2\44\1\121\1\44\1\117\15\44\1\120\3\44\1\122\3\44",
@@ -4665,20 +4665,20 @@ public class InternalRDLLexer extends Lexer {
"\1\163\7\uffff\1\164",
"\1\165",
"\1\166",
- "\1\167",
- "\1\172\1\uffff\1\171\21\uffff\1\170",
+ "\1\167\2\uffff\1\170",
+ "\1\171",
+ "\1\172",
"\1\173",
- "\1\175\20\uffff\1\174",
- "\1\176\2\uffff\1\177",
- "\1\u0080",
- "\1\u0081",
+ "\1\174",
+ "\1\176\20\uffff\1\175",
+ "\1\u0081\1\uffff\1\u0080\21\uffff\1\177",
"\1\u0082",
"\1\u0083",
- "\1\u0085\20\uffff\1\u0084",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\14\44\1\u0086\15\44",
- "\1\u0088",
- "\1\u008a\20\uffff\1\u0089",
- "\1\u008b",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\14\44\1\u0084\15\44",
+ "\1\u0086",
+ "\1\u0088\20\uffff\1\u0087",
+ "\1\u0089",
+ "\1\u008b\20\uffff\1\u008a",
"\1\u008d\10\uffff\1\u008c",
"\1\u008e\6\uffff\1\u008f",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u0092\13\44\1\u0091\11\44\1\u0090\3\44",
@@ -4728,26 +4728,26 @@ public class InternalRDLLexer extends Lexer {
"\1\u00c5",
"\1\u00c6",
"\1\u00c7",
- "\1\u00c8",
- "\1\u00c9",
- "\1\u00ca",
+ "\1\u00c8\5\uffff\1\u00c9",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u00cb",
"\1\u00cc",
- "\1\u00cd\14\uffff\1\u00ce",
+ "\1\u00cd",
+ "\1\u00ce",
"\1\u00cf",
- "\1\u00d0\5\uffff\1\u00d1",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u00d0",
+ "\1\u00d1",
+ "\1\u00d2",
"\1\u00d3",
"\1\u00d4",
"\1\u00d5",
"\1\u00d6",
+ "",
"\1\u00d7",
"\1\u00d8",
"\1\u00d9",
- "",
"\1\u00da",
- "\1\u00db",
- "\1\u00dc",
+ "\1\u00db\14\uffff\1\u00dc",
"\1\u00dd",
"\1\u00de",
"\1\u00df",
@@ -4810,27 +4810,27 @@ public class InternalRDLLexer extends Lexer {
"\1\u011c",
"\1\u011d",
"\1\u011e",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u0120",
- "\1\u0121",
+ "\1\u011f",
+ "",
+ "\1\u0121\7\uffff\1\u0120",
"\1\u0122",
"\1\u0123",
+ "\1\u0124",
+ "\1\u0125",
+ "\1\u0126",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\25\44\1\u0126\1\u0125\3\44",
"\1\u0128",
"\1\u0129",
- "",
- "\1\u012b\7\uffff\1\u012a",
- "\1\u012c",
+ "\1\u012a",
+ "\1\u012b",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u012d",
- "\1\u012e",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u012f",
"\1\u0130",
+ "\1\u0131",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u0132",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u0134",
- "\1\u0135",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\25\44\1\u0134\1\u0133\3\44",
"\1\u0136",
"\1\u0137",
"\1\u0138",
@@ -4895,30 +4895,30 @@ public class InternalRDLLexer extends Lexer {
"\1\u0171",
"\1\u0172",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u0174",
- "",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u0175",
"\1\u0176",
"\1\u0177",
"\1\u0178",
- "",
- "\1\u0179",
- "\1\u017a",
- "",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u017b",
"\1\u017c",
+ "",
"\1\u017d",
"\1\u017e",
"\1\u017f",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u0180",
+ "",
+ "\1\u0181",
+ "",
"\1\u0182",
"\1\u0183",
- "",
"\1\u0184",
"",
"\1\u0185",
"\1\u0186",
+ "",
"\1\u0187",
"\1\u0188",
"\1\u0189",
@@ -4981,23 +4981,23 @@ public class InternalRDLLexer extends Lexer {
"\1\u01b8",
"\1\u01b9",
"",
- "\1\u01ba",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u01bd",
- "\1\u01be",
- "\1\u01bf",
- "\1\u01c0",
"",
- "\1\u01c1",
- "\1\u01c2",
+ "\1\u01ba",
+ "\1\u01bb",
+ "\1\u01bc",
+ "\1\u01bd",
+ "",
+ "",
+ "\1\u01be\3\uffff\1\u01bf",
+ "\1\u01c0",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u01c3",
"\1\u01c4",
- "",
- "",
- "\1\u01c5\3\uffff\1\u01c6",
- "\1\u01c7",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u01c6",
+ "\1\u01c7",
+ "\1\u01c8",
"\1\u01c9",
"\1\u01ca",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
@@ -5052,21 +5052,21 @@ public class InternalRDLLexer extends Lexer {
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u01f6",
"\1\u01f7",
- "",
- "",
- "\1\u01f8",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u01f9",
- "\1\u01fa",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u01fb",
"\1\u01fc",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u01fd",
+ "",
+ "",
"\1\u01fe",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u0200",
- "\1\u0201",
- "\1\u0202",
+ "\1\u01ff",
"",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u0201",
+ "\1\u0202",
+ "\1\u0203",
"\1\u0204",
"",
"\1\u0205",
@@ -5112,19 +5112,19 @@ public class InternalRDLLexer extends Lexer {
"",
"",
"\1\u0227",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u0228",
+ "",
"\1\u0229",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "",
+ "\1\u022a",
"\1\u022b",
"\1\u022c",
- "\1\u022d",
- "",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u022e",
"",
"\1\u022f",
- "\1\u0230",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u0231",
- "",
"\1\u0232",
"\1\u0233",
"\1\u0234",
@@ -5161,16 +5161,16 @@ public class InternalRDLLexer extends Lexer {
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u0250",
- "",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "",
- "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\1\u0252",
+ "\1\u0253",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u0255",
- "\1\u0256",
+ "",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
+ "",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
- "\1\u0258",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\1\u025b",
@@ -5203,15 +5203,15 @@ public class InternalRDLLexer extends Lexer {
"",
"\1\u026a",
"",
- "",
- "",
- "",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44",
"",
"\1\u026d",
"",
"",
+ "",
+ "",
+ "",
"\1\u026e",
"\1\u026f",
"\1\u0270",
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLParser.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLParser.java
index 6d1a94a..404b45f 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLParser.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLParser.java
@@ -18,11 +18,12 @@ import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-
+import java.util.Map;
+import java.util.HashMap;
@SuppressWarnings("all")
public class InternalRDLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL", "'`include'", "'property'", "'{'", "'type'", "'='", "';'", "'}'", "'default'", "'true'", "'false'", "'component'", "'|'", "'external'", "'internal'", "'alias'", "','", "'@'", "'+='", "'%='", "'['", "':'", "']'", "'->'", "'.'", "'enum'", "'name'", "'desc'", "'string'", "'number'", "'boolean'", "'addrmap'", "'reg'", "'regfile'", "'field'", "'ref'", "'signal'", "'all'", "'arbiter'", "'rset'", "'rclr'", "'woclr'", "'woset'", "'we'", "'wel'", "'swwe'", "'swwel'", "'hwset'", "'hwclr'", "'swmod'", "'swacc'", "'sticky'", "'stickybit'", "'intr'", "'anded'", "'ored'", "'xored'", "'counter'", "'overflow'", "'sharedextbus'", "'errextbus'", "'reset'", "'littleendian'", "'bigendian'", "'rsvdset'", "'rsvdsetX'", "'bridge'", "'shared'", "'msb0'", "'lsb0'", "'sync'", "'async'", "'cpuif_reset'", "'field_reset'", "'activehigh'", "'activelow'", "'singlepulse'", "'underflow'", "'incr'", "'decr'", "'incrwidth'", "'decrwidth'", "'incrvalue'", "'decrvalue'", "'saturate'", "'decrsaturate'", "'threshold'", "'decrthreshold'", "'dontcompare'", "'donttest'", "'alignment'", "'regwidth'", "'fieldwidth'", "'signalwidth'", "'accesswidth'", "'sw'", "'hw'", "'addressing'", "'precedence'", "'encode'", "'resetsignal'", "'clock'", "'mask'", "'enable'", "'hwenable'", "'hwmask'", "'haltmask'", "'haltenable'", "'halt'", "'next'", "'UNDEFINED'", "'rw'", "'wr'", "'r'", "'w'", "'na'", "'compact'", "'regalign'", "'fullalign'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'"
+ "", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL", "';'", "'`include'", "'property'", "'{'", "'type'", "'='", "'}'", "'default'", "'true'", "'false'", "'component'", "'|'", "'alias'", "','", "'@'", "'+='", "'%='", "'['", "':'", "']'", "'->'", "'.'", "'enum'", "'name'", "'desc'", "'external'", "'internal'", "'string'", "'number'", "'boolean'", "'addrmap'", "'reg'", "'regfile'", "'field'", "'ref'", "'signal'", "'all'", "'arbiter'", "'rset'", "'rclr'", "'woclr'", "'woset'", "'we'", "'wel'", "'swwe'", "'swwel'", "'hwset'", "'hwclr'", "'swmod'", "'swacc'", "'sticky'", "'stickybit'", "'intr'", "'anded'", "'ored'", "'xored'", "'counter'", "'overflow'", "'sharedextbus'", "'errextbus'", "'reset'", "'littleendian'", "'bigendian'", "'rsvdset'", "'rsvdsetX'", "'bridge'", "'shared'", "'msb0'", "'lsb0'", "'sync'", "'async'", "'cpuif_reset'", "'field_reset'", "'activehigh'", "'activelow'", "'singlepulse'", "'underflow'", "'incr'", "'decr'", "'incrwidth'", "'decrwidth'", "'incrvalue'", "'decrvalue'", "'saturate'", "'decrsaturate'", "'threshold'", "'decrthreshold'", "'dontcompare'", "'donttest'", "'alignment'", "'regwidth'", "'fieldwidth'", "'signalwidth'", "'accesswidth'", "'sw'", "'hw'", "'addressing'", "'precedence'", "'encode'", "'resetsignal'", "'clock'", "'mask'", "'enable'", "'hwenable'", "'hwmask'", "'haltmask'", "'haltenable'", "'halt'", "'next'", "'UNDEFINED'", "'rw'", "'wr'", "'r'", "'w'", "'na'", "'compact'", "'regalign'", "'fullalign'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'"
};
public static final int T__50=50;
public static final int T__59=59;
@@ -175,6 +176,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
+ /*
+ This grammar contains a lot of empty actions to work around a bug in ANTLR.
+ Otherwise the ANTLR tool will create synpreds that cannot be compiled in some rare cases.
+ */
+
private RDLGrammarAccess grammarAccess;
public InternalRDLParser(TokenStream input, RDLGrammarAccess grammarAccess) {
@@ -197,7 +203,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRoot"
- // InternalRDL.g:65:1: entryRuleRoot returns [EObject current=null] : iv_ruleRoot= ruleRoot EOF ;
+ // InternalRDL.g:71:1: entryRuleRoot returns [EObject current=null] : iv_ruleRoot= ruleRoot EOF ;
public final EObject entryRuleRoot() throws RecognitionException {
EObject current = null;
@@ -205,17 +211,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:65:45: (iv_ruleRoot= ruleRoot EOF )
- // InternalRDL.g:66:2: iv_ruleRoot= ruleRoot EOF
+ // InternalRDL.g:71:45: (iv_ruleRoot= ruleRoot EOF )
+ // InternalRDL.g:72:2: iv_ruleRoot= ruleRoot EOF
{
- newCompositeNode(grammarAccess.getRootRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getRootRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleRoot=ruleRoot();
state._fsp--;
-
- current =iv_ruleRoot;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleRoot;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -233,64 +243,73 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRoot"
- // InternalRDL.g:72:1: ruleRoot returns [EObject current=null] : ( ( (lv_includes_0_0= ruleInclude ) ) | ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) | ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) | ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) | ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) )* ;
+ // InternalRDL.g:78:1: ruleRoot returns [EObject current=null] : ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )* ;
public final EObject ruleRoot() throws RecognitionException {
EObject current = null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
EObject lv_includes_0_0 = null;
EObject lv_componentDefinitions_1_0 = null;
- EObject lv_enumDefinitions_2_0 = null;
+ EObject lv_enumDefinitions_3_0 = null;
- EObject lv_namedInstantiations_3_0 = null;
+ EObject lv_instantiations_5_0 = null;
- EObject lv_propertyAssignments_4_0 = null;
+ EObject lv_propertyAssignments_7_0 = null;
- EObject lv_propertyDefinitions_5_0 = null;
+ EObject lv_propertyDefinitions_9_0 = null;
enterRule();
try {
- // InternalRDL.g:78:2: ( ( ( (lv_includes_0_0= ruleInclude ) ) | ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) | ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) | ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) | ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) )* )
- // InternalRDL.g:79:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) | ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) | ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) | ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) )*
+ // InternalRDL.g:84:2: ( ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )* )
+ // InternalRDL.g:85:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )*
{
- // InternalRDL.g:79:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) | ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) | ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) | ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) )*
+ // InternalRDL.g:85:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )*
loop1:
do {
int alt1=7;
alt1 = dfa1.predict(input);
switch (alt1) {
case 1 :
- // InternalRDL.g:80:3: ( (lv_includes_0_0= ruleInclude ) )
+ // InternalRDL.g:86:3: ( (lv_includes_0_0= ruleInclude ) )
{
- // InternalRDL.g:80:3: ( (lv_includes_0_0= ruleInclude ) )
- // InternalRDL.g:81:4: (lv_includes_0_0= ruleInclude )
+ // InternalRDL.g:86:3: ( (lv_includes_0_0= ruleInclude ) )
+ // InternalRDL.g:87:4: (lv_includes_0_0= ruleInclude )
{
- // InternalRDL.g:81:4: (lv_includes_0_0= ruleInclude )
- // InternalRDL.g:82:5: lv_includes_0_0= ruleInclude
+ // InternalRDL.g:87:4: (lv_includes_0_0= ruleInclude )
+ // InternalRDL.g:88:5: lv_includes_0_0= ruleInclude
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0());
-
+ newCompositeNode(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0());
+
+ }
pushFollow(FOLLOW_3);
lv_includes_0_0=ruleInclude();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRootRule());
- }
- add(
- current,
- "includes",
- lv_includes_0_0,
- "com.minres.rdl.RDL.Include");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ current,
+ "includes",
+ lv_includes_0_0,
+ "com.minres.rdl.RDL.Include");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -301,185 +320,265 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:100:3: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) )
+ // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' )
{
- // InternalRDL.g:100:3: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) )
- // InternalRDL.g:101:4: (lv_componentDefinitions_1_0= ruleComponentDefinition )
+ // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' )
+ // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';'
{
- // InternalRDL.g:101:4: (lv_componentDefinitions_1_0= ruleComponentDefinition )
- // InternalRDL.g:102:5: lv_componentDefinitions_1_0= ruleComponentDefinition
+ // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) )
+ // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition )
{
+ // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition )
+ // InternalRDL.g:109:6: lv_componentDefinitions_1_0= ruleComponentDefinition
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_3);
+ newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_componentDefinitions_1_0=ruleComponentDefinition();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRootRule());
- }
- add(
- current,
- "componentDefinitions",
- lv_componentDefinitions_1_0,
- "com.minres.rdl.RDL.ComponentDefinition");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ current,
+ "componentDefinitions",
+ lv_componentDefinitions_1_0,
+ "com.minres.rdl.RDL.ComponentDefinition");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_2=(Token)match(input,12,FOLLOW_5); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getRootAccess().getSemicolonKeyword_1_1());
+
+ }
+
}
}
break;
case 3 :
- // InternalRDL.g:120:3: ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) )
+ // InternalRDL.g:132:3: ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' )
{
- // InternalRDL.g:120:3: ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) )
- // InternalRDL.g:121:4: (lv_enumDefinitions_2_0= ruleEnumDefinition )
+ // InternalRDL.g:132:3: ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' )
+ // InternalRDL.g:133:4: ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';'
{
- // InternalRDL.g:121:4: (lv_enumDefinitions_2_0= ruleEnumDefinition )
- // InternalRDL.g:122:5: lv_enumDefinitions_2_0= ruleEnumDefinition
+ // InternalRDL.g:133:4: ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) )
+ // InternalRDL.g:134:5: (lv_enumDefinitions_3_0= ruleEnumDefinition )
{
+ // InternalRDL.g:134:5: (lv_enumDefinitions_3_0= ruleEnumDefinition )
+ // InternalRDL.g:135:6: lv_enumDefinitions_3_0= ruleEnumDefinition
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0());
-
- pushFollow(FOLLOW_3);
- lv_enumDefinitions_2_0=ruleEnumDefinition();
+ newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_enumDefinitions_3_0=ruleEnumDefinition();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRootRule());
- }
- add(
- current,
- "enumDefinitions",
- lv_enumDefinitions_2_0,
- "com.minres.rdl.RDL.EnumDefinition");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ current,
+ "enumDefinitions",
+ lv_enumDefinitions_3_0,
+ "com.minres.rdl.RDL.EnumDefinition");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_4=(Token)match(input,12,FOLLOW_5); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getRootAccess().getSemicolonKeyword_2_1());
+
+ }
+
}
}
break;
case 4 :
- // InternalRDL.g:140:3: ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) )
+ // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
{
- // InternalRDL.g:140:3: ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) )
- // InternalRDL.g:141:4: (lv_namedInstantiations_3_0= ruleNamedInstantiation )
+ // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
+ // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';'
{
- // InternalRDL.g:141:4: (lv_namedInstantiations_3_0= ruleNamedInstantiation )
- // InternalRDL.g:142:5: lv_namedInstantiations_3_0= ruleNamedInstantiation
+ // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) )
+ // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation )
{
+ // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation )
+ // InternalRDL.g:161:6: lv_instantiations_5_0= ruleInstantiation
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0());
-
- pushFollow(FOLLOW_3);
- lv_namedInstantiations_3_0=ruleNamedInstantiation();
+ newCompositeNode(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_instantiations_5_0=ruleInstantiation();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRootRule());
- }
- add(
- current,
- "namedInstantiations",
- lv_namedInstantiations_3_0,
- "com.minres.rdl.RDL.NamedInstantiation");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ current,
+ "instantiations",
+ lv_instantiations_5_0,
+ "com.minres.rdl.RDL.Instantiation");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_6=(Token)match(input,12,FOLLOW_5); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getRootAccess().getSemicolonKeyword_3_1());
+
+ }
+
}
}
break;
case 5 :
- // InternalRDL.g:160:3: ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) )
+ // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
{
- // InternalRDL.g:160:3: ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) )
- // InternalRDL.g:161:4: (lv_propertyAssignments_4_0= rulePropertyAssignment )
+ // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
+ // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';'
{
- // InternalRDL.g:161:4: (lv_propertyAssignments_4_0= rulePropertyAssignment )
- // InternalRDL.g:162:5: lv_propertyAssignments_4_0= rulePropertyAssignment
+ // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) )
+ // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment )
{
+ // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment )
+ // InternalRDL.g:187:6: lv_propertyAssignments_7_0= rulePropertyAssignment
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0());
-
- pushFollow(FOLLOW_3);
- lv_propertyAssignments_4_0=rulePropertyAssignment();
+ newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_propertyAssignments_7_0=rulePropertyAssignment();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRootRule());
- }
- add(
- current,
- "propertyAssignments",
- lv_propertyAssignments_4_0,
- "com.minres.rdl.RDL.PropertyAssignment");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ current,
+ "propertyAssignments",
+ lv_propertyAssignments_7_0,
+ "com.minres.rdl.RDL.PropertyAssignment");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_8=(Token)match(input,12,FOLLOW_5); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getRootAccess().getSemicolonKeyword_4_1());
+
+ }
+
}
}
break;
case 6 :
- // InternalRDL.g:180:3: ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) )
+ // InternalRDL.g:210:3: ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' )
{
- // InternalRDL.g:180:3: ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) )
- // InternalRDL.g:181:4: (lv_propertyDefinitions_5_0= rulePropertyDefinition )
+ // InternalRDL.g:210:3: ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' )
+ // InternalRDL.g:211:4: ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';'
{
- // InternalRDL.g:181:4: (lv_propertyDefinitions_5_0= rulePropertyDefinition )
- // InternalRDL.g:182:5: lv_propertyDefinitions_5_0= rulePropertyDefinition
+ // InternalRDL.g:211:4: ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) )
+ // InternalRDL.g:212:5: (lv_propertyDefinitions_9_0= rulePropertyDefinition )
{
+ // InternalRDL.g:212:5: (lv_propertyDefinitions_9_0= rulePropertyDefinition )
+ // InternalRDL.g:213:6: lv_propertyDefinitions_9_0= rulePropertyDefinition
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0());
-
- pushFollow(FOLLOW_3);
- lv_propertyDefinitions_5_0=rulePropertyDefinition();
+ newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_propertyDefinitions_9_0=rulePropertyDefinition();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRootRule());
- }
- add(
- current,
- "propertyDefinitions",
- lv_propertyDefinitions_5_0,
- "com.minres.rdl.RDL.PropertyDefinition");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRootRule());
+ }
+ add(
+ current,
+ "propertyDefinitions",
+ lv_propertyDefinitions_9_0,
+ "com.minres.rdl.RDL.PropertyDefinition");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_10=(Token)match(input,12,FOLLOW_5); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getRootAccess().getSemicolonKeyword_5_1());
+
+ }
+
}
@@ -494,9 +593,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -511,7 +612,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInclude"
- // InternalRDL.g:203:1: entryRuleInclude returns [EObject current=null] : iv_ruleInclude= ruleInclude EOF ;
+ // InternalRDL.g:239:1: entryRuleInclude returns [EObject current=null] : iv_ruleInclude= ruleInclude EOF ;
public final EObject entryRuleInclude() throws RecognitionException {
EObject current = null;
@@ -519,17 +620,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:203:48: (iv_ruleInclude= ruleInclude EOF )
- // InternalRDL.g:204:2: iv_ruleInclude= ruleInclude EOF
+ // InternalRDL.g:239:48: (iv_ruleInclude= ruleInclude EOF )
+ // InternalRDL.g:240:2: iv_ruleInclude= ruleInclude EOF
{
- newCompositeNode(grammarAccess.getIncludeRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getIncludeRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleInclude=ruleInclude();
state._fsp--;
-
- current =iv_ruleInclude;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleInclude;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -547,7 +652,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInclude"
- // InternalRDL.g:210:1: ruleInclude returns [EObject current=null] : (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) ;
+ // InternalRDL.g:246:1: ruleInclude returns [EObject current=null] : (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) ;
public final EObject ruleInclude() throws RecognitionException {
EObject current = null;
@@ -558,36 +663,42 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:216:2: ( (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) )
- // InternalRDL.g:217:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) )
+ // InternalRDL.g:252:2: ( (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) )
+ // InternalRDL.g:253:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) )
{
- // InternalRDL.g:217:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) )
- // InternalRDL.g:218:3: otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) )
+ // InternalRDL.g:253:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) )
+ // InternalRDL.g:254:3: otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) )
{
- otherlv_0=(Token)match(input,12,FOLLOW_4);
+ otherlv_0=(Token)match(input,13,FOLLOW_6); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0());
-
- // InternalRDL.g:222:3: ( (lv_importURI_1_0= RULE_STR ) )
- // InternalRDL.g:223:4: (lv_importURI_1_0= RULE_STR )
+ newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0());
+
+ }
+ // InternalRDL.g:258:3: ( (lv_importURI_1_0= RULE_STR ) )
+ // InternalRDL.g:259:4: (lv_importURI_1_0= RULE_STR )
{
- // InternalRDL.g:223:4: (lv_importURI_1_0= RULE_STR )
- // InternalRDL.g:224:5: lv_importURI_1_0= RULE_STR
+ // InternalRDL.g:259:4: (lv_importURI_1_0= RULE_STR )
+ // InternalRDL.g:260:5: lv_importURI_1_0= RULE_STR
{
- lv_importURI_1_0=(Token)match(input,RULE_STR,FOLLOW_2);
+ lv_importURI_1_0=(Token)match(input,RULE_STR,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_importURI_1_0, grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0());
-
+ newLeafNode(lv_importURI_1_0, grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getIncludeRule());
- }
- setWithLastConsumed(
- current,
- "importURI",
- lv_importURI_1_0,
- "com.minres.rdl.RDL.STR");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getIncludeRule());
+ }
+ setWithLastConsumed(
+ current,
+ "importURI",
+ lv_importURI_1_0,
+ "com.minres.rdl.RDL.STR");
+
+ }
}
@@ -600,9 +711,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -617,7 +730,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePropertyDefinition"
- // InternalRDL.g:244:1: entryRulePropertyDefinition returns [EObject current=null] : iv_rulePropertyDefinition= rulePropertyDefinition EOF ;
+ // InternalRDL.g:280:1: entryRulePropertyDefinition returns [EObject current=null] : iv_rulePropertyDefinition= rulePropertyDefinition EOF ;
public final EObject entryRulePropertyDefinition() throws RecognitionException {
EObject current = null;
@@ -625,17 +738,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:244:59: (iv_rulePropertyDefinition= rulePropertyDefinition EOF )
- // InternalRDL.g:245:2: iv_rulePropertyDefinition= rulePropertyDefinition EOF
+ // InternalRDL.g:280:59: (iv_rulePropertyDefinition= rulePropertyDefinition EOF )
+ // InternalRDL.g:281:2: iv_rulePropertyDefinition= rulePropertyDefinition EOF
{
- newCompositeNode(grammarAccess.getPropertyDefinitionRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPropertyDefinitionRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePropertyDefinition=rulePropertyDefinition();
state._fsp--;
-
- current =iv_rulePropertyDefinition;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePropertyDefinition;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -653,7 +770,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyDefinition"
- // InternalRDL.g:251:1: rulePropertyDefinition returns [EObject current=null] : (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) ;
+ // InternalRDL.g:287:1: rulePropertyDefinition returns [EObject current=null] : (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) ;
public final EObject rulePropertyDefinition() throws RecognitionException {
EObject current = null;
@@ -712,50 +829,58 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:257:2: ( (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) )
- // InternalRDL.g:258:2: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' )
+ // InternalRDL.g:293:2: ( (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) )
+ // InternalRDL.g:294:2: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' )
{
- // InternalRDL.g:258:2: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' )
- // InternalRDL.g:259:3: otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';'
+ // InternalRDL.g:294:2: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' )
+ // InternalRDL.g:295:3: otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';'
{
- otherlv_0=(Token)match(input,13,FOLLOW_5);
+ otherlv_0=(Token)match(input,14,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0());
-
- // InternalRDL.g:263:3: ( (lv_name_1_0= RULE_ID ) )
- // InternalRDL.g:264:4: (lv_name_1_0= RULE_ID )
+ newLeafNode(otherlv_0, grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0());
+
+ }
+ // InternalRDL.g:299:3: ( (lv_name_1_0= RULE_ID ) )
+ // InternalRDL.g:300:4: (lv_name_1_0= RULE_ID )
{
- // InternalRDL.g:264:4: (lv_name_1_0= RULE_ID )
- // InternalRDL.g:265:5: lv_name_1_0= RULE_ID
+ // InternalRDL.g:300:4: (lv_name_1_0= RULE_ID )
+ // InternalRDL.g:301:5: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_6);
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_1_0, grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0());
-
+ newLeafNode(lv_name_1_0, grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "com.minres.rdl.RDL.ID");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "com.minres.rdl.RDL.ID");
+
+ }
}
}
- otherlv_2=(Token)match(input,14,FOLLOW_7);
+ otherlv_2=(Token)match(input,15,FOLLOW_9); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2());
-
- // InternalRDL.g:285:3: ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) )
+ newLeafNode(otherlv_2, grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRDL.g:321:3: ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) )
int alt7=3;
switch ( input.LA(1) ) {
- case 15:
+ case 16:
{
alt7=1;
}
@@ -771,6 +896,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 7, 0, input);
@@ -779,55 +905,65 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
switch (alt7) {
case 1 :
- // InternalRDL.g:286:4: (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) )
+ // InternalRDL.g:322:4: (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) )
{
- // InternalRDL.g:286:4: (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) )
- // InternalRDL.g:287:5: otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) )
+ // InternalRDL.g:322:4: (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) )
+ // InternalRDL.g:323:5: otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) )
{
- otherlv_3=(Token)match(input,15,FOLLOW_8);
+ otherlv_3=(Token)match(input,16,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0());
-
- otherlv_4=(Token)match(input,16,FOLLOW_9);
+ newLeafNode(otherlv_3, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0());
+
+ }
+ otherlv_4=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_4, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1());
-
- // InternalRDL.g:295:5: ( (lv_type_5_0= rulePropertyTypeName ) )
- // InternalRDL.g:296:6: (lv_type_5_0= rulePropertyTypeName )
+ newLeafNode(otherlv_4, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1());
+
+ }
+ // InternalRDL.g:331:5: ( (lv_type_5_0= rulePropertyTypeName ) )
+ // InternalRDL.g:332:6: (lv_type_5_0= rulePropertyTypeName )
{
- // InternalRDL.g:296:6: (lv_type_5_0= rulePropertyTypeName )
- // InternalRDL.g:297:7: lv_type_5_0= rulePropertyTypeName
+ // InternalRDL.g:332:6: (lv_type_5_0= rulePropertyTypeName )
+ // InternalRDL.g:333:7: lv_type_5_0= rulePropertyTypeName
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_type_5_0=rulePropertyTypeName();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_5_0,
- "com.minres.rdl.RDL.PropertyTypeName");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_5_0,
+ "com.minres.rdl.RDL.PropertyTypeName");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_6=(Token)match(input,17,FOLLOW_7);
+ otherlv_6=(Token)match(input,12,FOLLOW_9); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_6, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3());
-
- // InternalRDL.g:318:5: ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) )
+ newLeafNode(otherlv_6, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3());
+
+ }
+ // InternalRDL.g:354:5: ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) )
int alt3=2;
int LA3_0 = input.LA(1);
@@ -838,6 +974,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
alt3=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
@@ -845,43 +982,47 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt3) {
case 1 :
- // InternalRDL.g:319:6: ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? )
+ // InternalRDL.g:355:6: ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? )
{
- // InternalRDL.g:319:6: ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? )
- // InternalRDL.g:320:7: ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )?
+ // InternalRDL.g:355:6: ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? )
+ // InternalRDL.g:356:7: ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )?
{
- // InternalRDL.g:320:7: ( (lv_usage_7_0= rulePropertyUsage ) )
- // InternalRDL.g:321:8: (lv_usage_7_0= rulePropertyUsage )
+ // InternalRDL.g:356:7: ( (lv_usage_7_0= rulePropertyUsage ) )
+ // InternalRDL.g:357:8: (lv_usage_7_0= rulePropertyUsage )
{
- // InternalRDL.g:321:8: (lv_usage_7_0= rulePropertyUsage )
- // InternalRDL.g:322:9: lv_usage_7_0= rulePropertyUsage
+ // InternalRDL.g:357:8: (lv_usage_7_0= rulePropertyUsage )
+ // InternalRDL.g:358:9: lv_usage_7_0= rulePropertyUsage
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0());
-
- pushFollow(FOLLOW_11);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0());
+
+ }
+ pushFollow(FOLLOW_12);
lv_usage_7_0=rulePropertyUsage();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "usage",
- lv_usage_7_0,
- "com.minres.rdl.RDL.PropertyUsage");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "usage",
+ lv_usage_7_0,
+ "com.minres.rdl.RDL.PropertyUsage");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:339:7: ( (lv_default_8_0= rulePropertyDefault ) )?
+ // InternalRDL.g:375:7: ( (lv_default_8_0= rulePropertyDefault ) )?
int alt2=2;
int LA2_0 = input.LA(1);
@@ -890,30 +1031,34 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt2) {
case 1 :
- // InternalRDL.g:340:8: (lv_default_8_0= rulePropertyDefault )
+ // InternalRDL.g:376:8: (lv_default_8_0= rulePropertyDefault )
{
- // InternalRDL.g:340:8: (lv_default_8_0= rulePropertyDefault )
- // InternalRDL.g:341:9: lv_default_8_0= rulePropertyDefault
+ // InternalRDL.g:376:8: (lv_default_8_0= rulePropertyDefault )
+ // InternalRDL.g:377:9: lv_default_8_0= rulePropertyDefault
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0());
-
- pushFollow(FOLLOW_12);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_13);
lv_default_8_0=rulePropertyDefault();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "default",
- lv_default_8_0,
- "com.minres.rdl.RDL.PropertyDefault");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "default",
+ lv_default_8_0,
+ "com.minres.rdl.RDL.PropertyDefault");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -930,67 +1075,75 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:360:6: ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) )
+ // InternalRDL.g:396:6: ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) )
{
- // InternalRDL.g:360:6: ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) )
- // InternalRDL.g:361:7: ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) )
+ // InternalRDL.g:396:6: ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) )
+ // InternalRDL.g:397:7: ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) )
{
- // InternalRDL.g:361:7: ( (lv_default_9_0= rulePropertyDefault ) )
- // InternalRDL.g:362:8: (lv_default_9_0= rulePropertyDefault )
+ // InternalRDL.g:397:7: ( (lv_default_9_0= rulePropertyDefault ) )
+ // InternalRDL.g:398:8: (lv_default_9_0= rulePropertyDefault )
{
- // InternalRDL.g:362:8: (lv_default_9_0= rulePropertyDefault )
- // InternalRDL.g:363:9: lv_default_9_0= rulePropertyDefault
+ // InternalRDL.g:398:8: (lv_default_9_0= rulePropertyDefault )
+ // InternalRDL.g:399:9: lv_default_9_0= rulePropertyDefault
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0());
-
- pushFollow(FOLLOW_13);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0());
+
+ }
+ pushFollow(FOLLOW_14);
lv_default_9_0=rulePropertyDefault();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "default",
- lv_default_9_0,
- "com.minres.rdl.RDL.PropertyDefault");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "default",
+ lv_default_9_0,
+ "com.minres.rdl.RDL.PropertyDefault");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:380:7: ( (lv_usage_10_0= rulePropertyUsage ) )
- // InternalRDL.g:381:8: (lv_usage_10_0= rulePropertyUsage )
+ // InternalRDL.g:416:7: ( (lv_usage_10_0= rulePropertyUsage ) )
+ // InternalRDL.g:417:8: (lv_usage_10_0= rulePropertyUsage )
{
- // InternalRDL.g:381:8: (lv_usage_10_0= rulePropertyUsage )
- // InternalRDL.g:382:9: lv_usage_10_0= rulePropertyUsage
+ // InternalRDL.g:417:8: (lv_usage_10_0= rulePropertyUsage )
+ // InternalRDL.g:418:9: lv_usage_10_0= rulePropertyUsage
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0());
-
- pushFollow(FOLLOW_12);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_13);
lv_usage_10_0=rulePropertyUsage();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "usage",
- lv_usage_10_0,
- "com.minres.rdl.RDL.PropertyUsage");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "usage",
+ lv_usage_10_0,
+ "com.minres.rdl.RDL.PropertyUsage");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -1013,53 +1166,58 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:403:4: ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) )
+ // InternalRDL.g:439:4: ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) )
{
- // InternalRDL.g:403:4: ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) )
- // InternalRDL.g:404:5: ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) )
+ // InternalRDL.g:439:4: ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) )
+ // InternalRDL.g:440:5: ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) )
{
- // InternalRDL.g:404:5: ( (lv_usage_11_0= rulePropertyUsage ) )
- // InternalRDL.g:405:6: (lv_usage_11_0= rulePropertyUsage )
+ // InternalRDL.g:440:5: ( (lv_usage_11_0= rulePropertyUsage ) )
+ // InternalRDL.g:441:6: (lv_usage_11_0= rulePropertyUsage )
{
- // InternalRDL.g:405:6: (lv_usage_11_0= rulePropertyUsage )
- // InternalRDL.g:406:7: lv_usage_11_0= rulePropertyUsage
+ // InternalRDL.g:441:6: (lv_usage_11_0= rulePropertyUsage )
+ // InternalRDL.g:442:7: lv_usage_11_0= rulePropertyUsage
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0());
-
- pushFollow(FOLLOW_7);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0());
+
+ }
+ pushFollow(FOLLOW_9);
lv_usage_11_0=rulePropertyUsage();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "usage",
- lv_usage_11_0,
- "com.minres.rdl.RDL.PropertyUsage");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "usage",
+ lv_usage_11_0,
+ "com.minres.rdl.RDL.PropertyUsage");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:423:5: ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) )
+ // InternalRDL.g:459:5: ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) )
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==15) ) {
+ if ( (LA5_0==16) ) {
alt5=1;
}
else if ( (LA5_0==19) ) {
alt5=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 5, 0, input);
@@ -1067,55 +1225,65 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt5) {
case 1 :
- // InternalRDL.g:424:6: (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? )
+ // InternalRDL.g:460:6: (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? )
{
- // InternalRDL.g:424:6: (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? )
- // InternalRDL.g:425:7: otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )?
+ // InternalRDL.g:460:6: (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? )
+ // InternalRDL.g:461:7: otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )?
{
- otherlv_12=(Token)match(input,15,FOLLOW_8);
+ otherlv_12=(Token)match(input,16,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_12, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0());
-
- otherlv_13=(Token)match(input,16,FOLLOW_9);
+ newLeafNode(otherlv_12, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0());
+
+ }
+ otherlv_13=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_13, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1());
-
- // InternalRDL.g:433:7: ( (lv_type_14_0= rulePropertyTypeName ) )
- // InternalRDL.g:434:8: (lv_type_14_0= rulePropertyTypeName )
+ newLeafNode(otherlv_13, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1());
+
+ }
+ // InternalRDL.g:469:7: ( (lv_type_14_0= rulePropertyTypeName ) )
+ // InternalRDL.g:470:8: (lv_type_14_0= rulePropertyTypeName )
{
- // InternalRDL.g:434:8: (lv_type_14_0= rulePropertyTypeName )
- // InternalRDL.g:435:9: lv_type_14_0= rulePropertyTypeName
+ // InternalRDL.g:470:8: (lv_type_14_0= rulePropertyTypeName )
+ // InternalRDL.g:471:9: lv_type_14_0= rulePropertyTypeName
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_type_14_0=rulePropertyTypeName();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_14_0,
- "com.minres.rdl.RDL.PropertyTypeName");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_14_0,
+ "com.minres.rdl.RDL.PropertyTypeName");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_15=(Token)match(input,17,FOLLOW_11);
+ otherlv_15=(Token)match(input,12,FOLLOW_12); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_15, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3());
-
- // InternalRDL.g:456:7: ( (lv_default_16_0= rulePropertyDefault ) )?
+ newLeafNode(otherlv_15, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3());
+
+ }
+ // InternalRDL.g:492:7: ( (lv_default_16_0= rulePropertyDefault ) )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -1124,30 +1292,34 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt4) {
case 1 :
- // InternalRDL.g:457:8: (lv_default_16_0= rulePropertyDefault )
+ // InternalRDL.g:493:8: (lv_default_16_0= rulePropertyDefault )
{
- // InternalRDL.g:457:8: (lv_default_16_0= rulePropertyDefault )
- // InternalRDL.g:458:9: lv_default_16_0= rulePropertyDefault
+ // InternalRDL.g:493:8: (lv_default_16_0= rulePropertyDefault )
+ // InternalRDL.g:494:9: lv_default_16_0= rulePropertyDefault
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0());
-
- pushFollow(FOLLOW_12);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0());
+
+ }
+ pushFollow(FOLLOW_13);
lv_default_16_0=rulePropertyDefault();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "default",
- lv_default_16_0,
- "com.minres.rdl.RDL.PropertyDefault");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "default",
+ lv_default_16_0,
+ "com.minres.rdl.RDL.PropertyDefault");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -1164,85 +1336,99 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:477:6: ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' )
+ // InternalRDL.g:513:6: ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' )
{
- // InternalRDL.g:477:6: ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' )
- // InternalRDL.g:478:7: ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';'
+ // InternalRDL.g:513:6: ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' )
+ // InternalRDL.g:514:7: ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';'
{
- // InternalRDL.g:478:7: ( (lv_default_17_0= rulePropertyDefault ) )
- // InternalRDL.g:479:8: (lv_default_17_0= rulePropertyDefault )
+ // InternalRDL.g:514:7: ( (lv_default_17_0= rulePropertyDefault ) )
+ // InternalRDL.g:515:8: (lv_default_17_0= rulePropertyDefault )
{
- // InternalRDL.g:479:8: (lv_default_17_0= rulePropertyDefault )
- // InternalRDL.g:480:9: lv_default_17_0= rulePropertyDefault
+ // InternalRDL.g:515:8: (lv_default_17_0= rulePropertyDefault )
+ // InternalRDL.g:516:9: lv_default_17_0= rulePropertyDefault
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0());
-
- pushFollow(FOLLOW_14);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0());
+
+ }
+ pushFollow(FOLLOW_15);
lv_default_17_0=rulePropertyDefault();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "default",
- lv_default_17_0,
- "com.minres.rdl.RDL.PropertyDefault");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "default",
+ lv_default_17_0,
+ "com.minres.rdl.RDL.PropertyDefault");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_18=(Token)match(input,15,FOLLOW_8);
+ otherlv_18=(Token)match(input,16,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_18, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1());
-
- otherlv_19=(Token)match(input,16,FOLLOW_9);
+ newLeafNode(otherlv_18, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1());
+
+ }
+ otherlv_19=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_19, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2());
-
- // InternalRDL.g:505:7: ( (lv_type_20_0= rulePropertyTypeName ) )
- // InternalRDL.g:506:8: (lv_type_20_0= rulePropertyTypeName )
+ newLeafNode(otherlv_19, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2());
+
+ }
+ // InternalRDL.g:541:7: ( (lv_type_20_0= rulePropertyTypeName ) )
+ // InternalRDL.g:542:8: (lv_type_20_0= rulePropertyTypeName )
{
- // InternalRDL.g:506:8: (lv_type_20_0= rulePropertyTypeName )
- // InternalRDL.g:507:9: lv_type_20_0= rulePropertyTypeName
+ // InternalRDL.g:542:8: (lv_type_20_0= rulePropertyTypeName )
+ // InternalRDL.g:543:9: lv_type_20_0= rulePropertyTypeName
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_type_20_0=rulePropertyTypeName();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_20_0,
- "com.minres.rdl.RDL.PropertyTypeName");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_20_0,
+ "com.minres.rdl.RDL.PropertyTypeName");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_21=(Token)match(input,17,FOLLOW_12);
+ otherlv_21=(Token)match(input,12,FOLLOW_13); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_21, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4());
-
+ newLeafNode(otherlv_21, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4());
+
+ }
}
@@ -1259,53 +1445,58 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:532:4: ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) )
+ // InternalRDL.g:568:4: ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) )
{
- // InternalRDL.g:532:4: ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) )
- // InternalRDL.g:533:5: ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) )
+ // InternalRDL.g:568:4: ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) )
+ // InternalRDL.g:569:5: ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) )
{
- // InternalRDL.g:533:5: ( (lv_default_22_0= rulePropertyDefault ) )
- // InternalRDL.g:534:6: (lv_default_22_0= rulePropertyDefault )
+ // InternalRDL.g:569:5: ( (lv_default_22_0= rulePropertyDefault ) )
+ // InternalRDL.g:570:6: (lv_default_22_0= rulePropertyDefault )
{
- // InternalRDL.g:534:6: (lv_default_22_0= rulePropertyDefault )
- // InternalRDL.g:535:7: lv_default_22_0= rulePropertyDefault
+ // InternalRDL.g:570:6: (lv_default_22_0= rulePropertyDefault )
+ // InternalRDL.g:571:7: lv_default_22_0= rulePropertyDefault
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0());
-
- pushFollow(FOLLOW_15);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0());
+
+ }
+ pushFollow(FOLLOW_16);
lv_default_22_0=rulePropertyDefault();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "default",
- lv_default_22_0,
- "com.minres.rdl.RDL.PropertyDefault");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "default",
+ lv_default_22_0,
+ "com.minres.rdl.RDL.PropertyDefault");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:552:5: ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) )
+ // InternalRDL.g:588:5: ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) )
int alt6=2;
int LA6_0 = input.LA(1);
- if ( (LA6_0==15) ) {
+ if ( (LA6_0==16) ) {
alt6=1;
}
else if ( (LA6_0==22) ) {
alt6=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 6, 0, input);
@@ -1313,79 +1504,93 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt6) {
case 1 :
- // InternalRDL.g:553:6: (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) )
+ // InternalRDL.g:589:6: (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) )
{
- // InternalRDL.g:553:6: (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) )
- // InternalRDL.g:554:7: otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) )
+ // InternalRDL.g:589:6: (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) )
+ // InternalRDL.g:590:7: otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) )
{
- otherlv_23=(Token)match(input,15,FOLLOW_8);
+ otherlv_23=(Token)match(input,16,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_23, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0());
-
- otherlv_24=(Token)match(input,16,FOLLOW_9);
+ newLeafNode(otherlv_23, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0());
+
+ }
+ otherlv_24=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_24, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1());
-
- // InternalRDL.g:562:7: ( (lv_type_25_0= rulePropertyTypeName ) )
- // InternalRDL.g:563:8: (lv_type_25_0= rulePropertyTypeName )
+ newLeafNode(otherlv_24, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1());
+
+ }
+ // InternalRDL.g:598:7: ( (lv_type_25_0= rulePropertyTypeName ) )
+ // InternalRDL.g:599:8: (lv_type_25_0= rulePropertyTypeName )
{
- // InternalRDL.g:563:8: (lv_type_25_0= rulePropertyTypeName )
- // InternalRDL.g:564:9: lv_type_25_0= rulePropertyTypeName
+ // InternalRDL.g:599:8: (lv_type_25_0= rulePropertyTypeName )
+ // InternalRDL.g:600:9: lv_type_25_0= rulePropertyTypeName
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_type_25_0=rulePropertyTypeName();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_25_0,
- "com.minres.rdl.RDL.PropertyTypeName");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_25_0,
+ "com.minres.rdl.RDL.PropertyTypeName");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_26=(Token)match(input,17,FOLLOW_13);
+ otherlv_26=(Token)match(input,12,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_26, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3());
-
- // InternalRDL.g:585:7: ( (lv_usage_27_0= rulePropertyUsage ) )
- // InternalRDL.g:586:8: (lv_usage_27_0= rulePropertyUsage )
+ newLeafNode(otherlv_26, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3());
+
+ }
+ // InternalRDL.g:621:7: ( (lv_usage_27_0= rulePropertyUsage ) )
+ // InternalRDL.g:622:8: (lv_usage_27_0= rulePropertyUsage )
{
- // InternalRDL.g:586:8: (lv_usage_27_0= rulePropertyUsage )
- // InternalRDL.g:587:9: lv_usage_27_0= rulePropertyUsage
+ // InternalRDL.g:622:8: (lv_usage_27_0= rulePropertyUsage )
+ // InternalRDL.g:623:9: lv_usage_27_0= rulePropertyUsage
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0());
-
- pushFollow(FOLLOW_12);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0());
+
+ }
+ pushFollow(FOLLOW_13);
lv_usage_27_0=rulePropertyUsage();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "usage",
- lv_usage_27_0,
- "com.minres.rdl.RDL.PropertyUsage");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "usage",
+ lv_usage_27_0,
+ "com.minres.rdl.RDL.PropertyUsage");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -1399,85 +1604,99 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:606:6: ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' )
+ // InternalRDL.g:642:6: ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' )
{
- // InternalRDL.g:606:6: ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' )
- // InternalRDL.g:607:7: ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';'
+ // InternalRDL.g:642:6: ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' )
+ // InternalRDL.g:643:7: ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';'
{
- // InternalRDL.g:607:7: ( (lv_usage_28_0= rulePropertyUsage ) )
- // InternalRDL.g:608:8: (lv_usage_28_0= rulePropertyUsage )
+ // InternalRDL.g:643:7: ( (lv_usage_28_0= rulePropertyUsage ) )
+ // InternalRDL.g:644:8: (lv_usage_28_0= rulePropertyUsage )
{
- // InternalRDL.g:608:8: (lv_usage_28_0= rulePropertyUsage )
- // InternalRDL.g:609:9: lv_usage_28_0= rulePropertyUsage
+ // InternalRDL.g:644:8: (lv_usage_28_0= rulePropertyUsage )
+ // InternalRDL.g:645:9: lv_usage_28_0= rulePropertyUsage
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0());
-
- pushFollow(FOLLOW_14);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0());
+
+ }
+ pushFollow(FOLLOW_15);
lv_usage_28_0=rulePropertyUsage();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "usage",
- lv_usage_28_0,
- "com.minres.rdl.RDL.PropertyUsage");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "usage",
+ lv_usage_28_0,
+ "com.minres.rdl.RDL.PropertyUsage");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_29=(Token)match(input,15,FOLLOW_8);
+ otherlv_29=(Token)match(input,16,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_29, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1());
-
- otherlv_30=(Token)match(input,16,FOLLOW_9);
+ newLeafNode(otherlv_29, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1());
+
+ }
+ otherlv_30=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_30, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2());
-
- // InternalRDL.g:634:7: ( (lv_type_31_0= rulePropertyTypeName ) )
- // InternalRDL.g:635:8: (lv_type_31_0= rulePropertyTypeName )
+ newLeafNode(otherlv_30, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2());
+
+ }
+ // InternalRDL.g:670:7: ( (lv_type_31_0= rulePropertyTypeName ) )
+ // InternalRDL.g:671:8: (lv_type_31_0= rulePropertyTypeName )
{
- // InternalRDL.g:635:8: (lv_type_31_0= rulePropertyTypeName )
- // InternalRDL.g:636:9: lv_type_31_0= rulePropertyTypeName
+ // InternalRDL.g:671:8: (lv_type_31_0= rulePropertyTypeName )
+ // InternalRDL.g:672:9: lv_type_31_0= rulePropertyTypeName
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_type_31_0=rulePropertyTypeName();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_31_0,
- "com.minres.rdl.RDL.PropertyTypeName");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_31_0,
+ "com.minres.rdl.RDL.PropertyTypeName");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_32=(Token)match(input,17,FOLLOW_12);
+ otherlv_32=(Token)match(input,12,FOLLOW_13); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_32, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4());
-
+ newLeafNode(otherlv_32, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4());
+
+ }
}
@@ -1496,23 +1715,29 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_33=(Token)match(input,18,FOLLOW_10);
+ otherlv_33=(Token)match(input,18,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_33, grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4());
-
- otherlv_34=(Token)match(input,17,FOLLOW_2);
+ newLeafNode(otherlv_33, grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4());
+
+ }
+ otherlv_34=(Token)match(input,12,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_34, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5());
-
+ newLeafNode(otherlv_34, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -1527,7 +1752,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePropertyDefault"
- // InternalRDL.g:673:1: entryRulePropertyDefault returns [EObject current=null] : iv_rulePropertyDefault= rulePropertyDefault EOF ;
+ // InternalRDL.g:709:1: entryRulePropertyDefault returns [EObject current=null] : iv_rulePropertyDefault= rulePropertyDefault EOF ;
public final EObject entryRulePropertyDefault() throws RecognitionException {
EObject current = null;
@@ -1535,17 +1760,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:673:56: (iv_rulePropertyDefault= rulePropertyDefault EOF )
- // InternalRDL.g:674:2: iv_rulePropertyDefault= rulePropertyDefault EOF
+ // InternalRDL.g:709:56: (iv_rulePropertyDefault= rulePropertyDefault EOF )
+ // InternalRDL.g:710:2: iv_rulePropertyDefault= rulePropertyDefault EOF
{
- newCompositeNode(grammarAccess.getPropertyDefaultRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPropertyDefaultRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePropertyDefault=rulePropertyDefault();
state._fsp--;
-
- current =iv_rulePropertyDefault;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePropertyDefault;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -1563,7 +1792,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyDefault"
- // InternalRDL.g:680:1: rulePropertyDefault returns [EObject current=null] : (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) ;
+ // InternalRDL.g:716:1: rulePropertyDefault returns [EObject current=null] : (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) ;
public final EObject rulePropertyDefault() throws RecognitionException {
EObject current = null;
@@ -1579,21 +1808,25 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:686:2: ( (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) )
- // InternalRDL.g:687:2: (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' )
+ // InternalRDL.g:722:2: ( (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) )
+ // InternalRDL.g:723:2: (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' )
{
- // InternalRDL.g:687:2: (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' )
- // InternalRDL.g:688:3: otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';'
+ // InternalRDL.g:723:2: (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' )
+ // InternalRDL.g:724:3: otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';'
{
- otherlv_0=(Token)match(input,19,FOLLOW_8);
+ otherlv_0=(Token)match(input,19,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0());
-
- otherlv_1=(Token)match(input,16,FOLLOW_16);
+ newLeafNode(otherlv_0, grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0());
+
+ }
+ otherlv_1=(Token)match(input,17,FOLLOW_17); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1());
-
- // InternalRDL.g:696:3: ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) )
+ newLeafNode(otherlv_1, grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1());
+
+ }
+ // InternalRDL.g:732:3: ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) )
int alt8=4;
switch ( input.LA(1) ) {
case RULE_STR:
@@ -1617,6 +1850,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 8, 0, input);
@@ -1625,28 +1859,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
switch (alt8) {
case 1 :
- // InternalRDL.g:697:4: ( (lv_string_2_0= RULE_STR ) )
+ // InternalRDL.g:733:4: ( (lv_string_2_0= RULE_STR ) )
{
- // InternalRDL.g:697:4: ( (lv_string_2_0= RULE_STR ) )
- // InternalRDL.g:698:5: (lv_string_2_0= RULE_STR )
+ // InternalRDL.g:733:4: ( (lv_string_2_0= RULE_STR ) )
+ // InternalRDL.g:734:5: (lv_string_2_0= RULE_STR )
{
- // InternalRDL.g:698:5: (lv_string_2_0= RULE_STR )
- // InternalRDL.g:699:6: lv_string_2_0= RULE_STR
+ // InternalRDL.g:734:5: (lv_string_2_0= RULE_STR )
+ // InternalRDL.g:735:6: lv_string_2_0= RULE_STR
{
- lv_string_2_0=(Token)match(input,RULE_STR,FOLLOW_10);
+ lv_string_2_0=(Token)match(input,RULE_STR,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_string_2_0, grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0());
-
+ newLeafNode(lv_string_2_0, grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyDefaultRule());
- }
- setWithLastConsumed(
- current,
- "string",
- lv_string_2_0,
- "com.minres.rdl.RDL.STR");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyDefaultRule());
+ }
+ setWithLastConsumed(
+ current,
+ "string",
+ lv_string_2_0,
+ "com.minres.rdl.RDL.STR");
+
+ }
}
@@ -1657,28 +1895,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:716:4: ( (lv_value_3_0= RULE_NUM ) )
+ // InternalRDL.g:752:4: ( (lv_value_3_0= RULE_NUM ) )
{
- // InternalRDL.g:716:4: ( (lv_value_3_0= RULE_NUM ) )
- // InternalRDL.g:717:5: (lv_value_3_0= RULE_NUM )
+ // InternalRDL.g:752:4: ( (lv_value_3_0= RULE_NUM ) )
+ // InternalRDL.g:753:5: (lv_value_3_0= RULE_NUM )
{
- // InternalRDL.g:717:5: (lv_value_3_0= RULE_NUM )
- // InternalRDL.g:718:6: lv_value_3_0= RULE_NUM
+ // InternalRDL.g:753:5: (lv_value_3_0= RULE_NUM )
+ // InternalRDL.g:754:6: lv_value_3_0= RULE_NUM
{
- lv_value_3_0=(Token)match(input,RULE_NUM,FOLLOW_10);
+ lv_value_3_0=(Token)match(input,RULE_NUM,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_value_3_0, grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0());
-
+ newLeafNode(lv_value_3_0, grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyDefaultRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_3_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyDefaultRule());
+ }
+ setWithLastConsumed(
+ current,
+ "value",
+ lv_value_3_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
@@ -1689,24 +1931,28 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:735:4: ( (lv_string_4_0= 'true' ) )
+ // InternalRDL.g:771:4: ( (lv_string_4_0= 'true' ) )
{
- // InternalRDL.g:735:4: ( (lv_string_4_0= 'true' ) )
- // InternalRDL.g:736:5: (lv_string_4_0= 'true' )
+ // InternalRDL.g:771:4: ( (lv_string_4_0= 'true' ) )
+ // InternalRDL.g:772:5: (lv_string_4_0= 'true' )
{
- // InternalRDL.g:736:5: (lv_string_4_0= 'true' )
- // InternalRDL.g:737:6: lv_string_4_0= 'true'
+ // InternalRDL.g:772:5: (lv_string_4_0= 'true' )
+ // InternalRDL.g:773:6: lv_string_4_0= 'true'
{
- lv_string_4_0=(Token)match(input,20,FOLLOW_10);
+ lv_string_4_0=(Token)match(input,20,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_string_4_0, grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
-
+ newLeafNode(lv_string_4_0, grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyDefaultRule());
- }
- setWithLastConsumed(current, "string", lv_string_4_0, "true");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyDefaultRule());
+ }
+ setWithLastConsumed(current, "string", lv_string_4_0, "true");
+
+ }
}
@@ -1717,24 +1963,28 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:750:4: ( (lv_string_5_0= 'false' ) )
+ // InternalRDL.g:786:4: ( (lv_string_5_0= 'false' ) )
{
- // InternalRDL.g:750:4: ( (lv_string_5_0= 'false' ) )
- // InternalRDL.g:751:5: (lv_string_5_0= 'false' )
+ // InternalRDL.g:786:4: ( (lv_string_5_0= 'false' ) )
+ // InternalRDL.g:787:5: (lv_string_5_0= 'false' )
{
- // InternalRDL.g:751:5: (lv_string_5_0= 'false' )
- // InternalRDL.g:752:6: lv_string_5_0= 'false'
+ // InternalRDL.g:787:5: (lv_string_5_0= 'false' )
+ // InternalRDL.g:788:6: lv_string_5_0= 'false'
{
- lv_string_5_0=(Token)match(input,21,FOLLOW_10);
+ lv_string_5_0=(Token)match(input,21,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_string_5_0, grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
-
+ newLeafNode(lv_string_5_0, grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyDefaultRule());
- }
- setWithLastConsumed(current, "string", lv_string_5_0, "false");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyDefaultRule());
+ }
+ setWithLastConsumed(current, "string", lv_string_5_0, "false");
+
+ }
}
@@ -1747,19 +1997,23 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_6=(Token)match(input,17,FOLLOW_2);
+ otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_6, grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3());
-
+ newLeafNode(otherlv_6, grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -1774,7 +2028,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePropertyUsage"
- // InternalRDL.g:773:1: entryRulePropertyUsage returns [EObject current=null] : iv_rulePropertyUsage= rulePropertyUsage EOF ;
+ // InternalRDL.g:809:1: entryRulePropertyUsage returns [EObject current=null] : iv_rulePropertyUsage= rulePropertyUsage EOF ;
public final EObject entryRulePropertyUsage() throws RecognitionException {
EObject current = null;
@@ -1782,17 +2036,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:773:54: (iv_rulePropertyUsage= rulePropertyUsage EOF )
- // InternalRDL.g:774:2: iv_rulePropertyUsage= rulePropertyUsage EOF
+ // InternalRDL.g:809:54: (iv_rulePropertyUsage= rulePropertyUsage EOF )
+ // InternalRDL.g:810:2: iv_rulePropertyUsage= rulePropertyUsage EOF
{
- newCompositeNode(grammarAccess.getPropertyUsageRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPropertyUsageRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePropertyUsage=rulePropertyUsage();
state._fsp--;
-
- current =iv_rulePropertyUsage;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePropertyUsage;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -1810,7 +2068,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyUsage"
- // InternalRDL.g:780:1: rulePropertyUsage returns [EObject current=null] : (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) ;
+ // InternalRDL.g:816:1: rulePropertyUsage returns [EObject current=null] : (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) ;
public final EObject rulePropertyUsage() throws RecognitionException {
EObject current = null;
@@ -1827,52 +2085,60 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:786:2: ( (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) )
- // InternalRDL.g:787:2: (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' )
+ // InternalRDL.g:822:2: ( (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) )
+ // InternalRDL.g:823:2: (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' )
{
- // InternalRDL.g:787:2: (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' )
- // InternalRDL.g:788:3: otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';'
+ // InternalRDL.g:823:2: (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' )
+ // InternalRDL.g:824:3: otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';'
{
- otherlv_0=(Token)match(input,22,FOLLOW_8);
+ otherlv_0=(Token)match(input,22,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getPropertyUsageAccess().getComponentKeyword_0());
-
- otherlv_1=(Token)match(input,16,FOLLOW_17);
+ newLeafNode(otherlv_0, grammarAccess.getPropertyUsageAccess().getComponentKeyword_0());
+
+ }
+ otherlv_1=(Token)match(input,17,FOLLOW_18); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1());
-
- // InternalRDL.g:796:3: ( (lv_components_2_0= rulePropertyComponent ) )
- // InternalRDL.g:797:4: (lv_components_2_0= rulePropertyComponent )
+ newLeafNode(otherlv_1, grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1());
+
+ }
+ // InternalRDL.g:832:3: ( (lv_components_2_0= rulePropertyComponent ) )
+ // InternalRDL.g:833:4: (lv_components_2_0= rulePropertyComponent )
{
- // InternalRDL.g:797:4: (lv_components_2_0= rulePropertyComponent )
- // InternalRDL.g:798:5: lv_components_2_0= rulePropertyComponent
+ // InternalRDL.g:833:4: (lv_components_2_0= rulePropertyComponent )
+ // InternalRDL.g:834:5: lv_components_2_0= rulePropertyComponent
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0());
-
- pushFollow(FOLLOW_18);
+ newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_19);
lv_components_2_0=rulePropertyComponent();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyUsageRule());
- }
- add(
- current,
- "components",
- lv_components_2_0,
- "com.minres.rdl.RDL.PropertyComponent");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyUsageRule());
+ }
+ add(
+ current,
+ "components",
+ lv_components_2_0,
+ "com.minres.rdl.RDL.PropertyComponent");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:815:3: (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )*
+ // InternalRDL.g:851:3: (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )*
loop9:
do {
int alt9=2;
@@ -1885,37 +2151,43 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
switch (alt9) {
case 1 :
- // InternalRDL.g:816:4: otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) )
+ // InternalRDL.g:852:4: otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) )
{
- otherlv_3=(Token)match(input,23,FOLLOW_17);
+ otherlv_3=(Token)match(input,23,FOLLOW_18); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0());
-
- // InternalRDL.g:820:4: ( (lv_components_4_0= rulePropertyComponent ) )
- // InternalRDL.g:821:5: (lv_components_4_0= rulePropertyComponent )
+ newLeafNode(otherlv_3, grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0());
+
+ }
+ // InternalRDL.g:856:4: ( (lv_components_4_0= rulePropertyComponent ) )
+ // InternalRDL.g:857:5: (lv_components_4_0= rulePropertyComponent )
{
- // InternalRDL.g:821:5: (lv_components_4_0= rulePropertyComponent )
- // InternalRDL.g:822:6: lv_components_4_0= rulePropertyComponent
+ // InternalRDL.g:857:5: (lv_components_4_0= rulePropertyComponent )
+ // InternalRDL.g:858:6: lv_components_4_0= rulePropertyComponent
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0());
-
- pushFollow(FOLLOW_18);
+ newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0());
+
+ }
+ pushFollow(FOLLOW_19);
lv_components_4_0=rulePropertyComponent();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyUsageRule());
- }
- add(
- current,
- "components",
- lv_components_4_0,
- "com.minres.rdl.RDL.PropertyComponent");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyUsageRule());
+ }
+ add(
+ current,
+ "components",
+ lv_components_4_0,
+ "com.minres.rdl.RDL.PropertyComponent");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -1931,19 +2203,23 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_5=(Token)match(input,17,FOLLOW_2);
+ otherlv_5=(Token)match(input,12,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_5, grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4());
-
+ newLeafNode(otherlv_5, grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -1958,7 +2234,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleComponentDefinition"
- // InternalRDL.g:848:1: entryRuleComponentDefinition returns [EObject current=null] : iv_ruleComponentDefinition= ruleComponentDefinition EOF ;
+ // InternalRDL.g:884:1: entryRuleComponentDefinition returns [EObject current=null] : iv_ruleComponentDefinition= ruleComponentDefinition EOF ;
public final EObject entryRuleComponentDefinition() throws RecognitionException {
EObject current = null;
@@ -1966,17 +2242,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:848:60: (iv_ruleComponentDefinition= ruleComponentDefinition EOF )
- // InternalRDL.g:849:2: iv_ruleComponentDefinition= ruleComponentDefinition EOF
+ // InternalRDL.g:884:60: (iv_ruleComponentDefinition= ruleComponentDefinition EOF )
+ // InternalRDL.g:885:2: iv_ruleComponentDefinition= ruleComponentDefinition EOF
{
- newCompositeNode(grammarAccess.getComponentDefinitionRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getComponentDefinitionRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleComponentDefinition=ruleComponentDefinition();
state._fsp--;
-
- current =iv_ruleComponentDefinition;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleComponentDefinition;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -1994,69 +2274,74 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleComponentDefinition"
- // InternalRDL.g:855:1: ruleComponentDefinition returns [EObject current=null] : ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) | ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) | ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) )* otherlv_7= '}' ( (lv_immediateInstantiation_8_0= ruleImmediateInstantiation ) )? otherlv_9= ';' ) ;
+ // InternalRDL.g:891:1: ruleComponentDefinition returns [EObject current=null] : ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' ) ;
public final EObject ruleComponentDefinition() throws RecognitionException {
EObject current = null;
Token lv_name_1_0=null;
Token otherlv_2=null;
- Token otherlv_7=null;
- Token otherlv_9=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_11=null;
Enumerator lv_type_0_0 = null;
EObject lv_componentDefinitions_3_0 = null;
- EObject lv_namedInstantiations_4_0 = null;
+ EObject lv_instantiations_5_0 = null;
- EObject lv_propertyAssignments_5_0 = null;
+ EObject lv_propertyAssignments_7_0 = null;
- EObject lv_enumDefinitions_6_0 = null;
-
- EObject lv_immediateInstantiation_8_0 = null;
+ EObject lv_enumDefinitions_9_0 = null;
enterRule();
try {
- // InternalRDL.g:861:2: ( ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) | ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) | ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) )* otherlv_7= '}' ( (lv_immediateInstantiation_8_0= ruleImmediateInstantiation ) )? otherlv_9= ';' ) )
- // InternalRDL.g:862:2: ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) | ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) | ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) )* otherlv_7= '}' ( (lv_immediateInstantiation_8_0= ruleImmediateInstantiation ) )? otherlv_9= ';' )
+ // InternalRDL.g:897:2: ( ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' ) )
+ // InternalRDL.g:898:2: ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' )
{
- // InternalRDL.g:862:2: ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) | ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) | ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) )* otherlv_7= '}' ( (lv_immediateInstantiation_8_0= ruleImmediateInstantiation ) )? otherlv_9= ';' )
- // InternalRDL.g:863:3: ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) | ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) | ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) )* otherlv_7= '}' ( (lv_immediateInstantiation_8_0= ruleImmediateInstantiation ) )? otherlv_9= ';'
+ // InternalRDL.g:898:2: ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' )
+ // InternalRDL.g:899:3: ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}'
{
- // InternalRDL.g:863:3: ( (lv_type_0_0= ruleComponentDefinitionType ) )
- // InternalRDL.g:864:4: (lv_type_0_0= ruleComponentDefinitionType )
+ // InternalRDL.g:899:3: ( (lv_type_0_0= ruleComponentDefinitionType ) )
+ // InternalRDL.g:900:4: (lv_type_0_0= ruleComponentDefinitionType )
{
- // InternalRDL.g:864:4: (lv_type_0_0= ruleComponentDefinitionType )
- // InternalRDL.g:865:5: lv_type_0_0= ruleComponentDefinitionType
+ // InternalRDL.g:900:4: (lv_type_0_0= ruleComponentDefinitionType )
+ // InternalRDL.g:901:5: lv_type_0_0= ruleComponentDefinitionType
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0());
-
- pushFollow(FOLLOW_19);
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0());
+
+ }
+ pushFollow(FOLLOW_20);
lv_type_0_0=ruleComponentDefinitionType();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_0_0,
- "com.minres.rdl.RDL.ComponentDefinitionType");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_0_0,
+ "com.minres.rdl.RDL.ComponentDefinitionType");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:882:3: ( (lv_name_1_0= RULE_ID ) )?
+ // InternalRDL.g:918:3: ( (lv_name_1_0= RULE_ID ) )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -2065,25 +2350,29 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt10) {
case 1 :
- // InternalRDL.g:883:4: (lv_name_1_0= RULE_ID )
+ // InternalRDL.g:919:4: (lv_name_1_0= RULE_ID )
{
- // InternalRDL.g:883:4: (lv_name_1_0= RULE_ID )
- // InternalRDL.g:884:5: lv_name_1_0= RULE_ID
+ // InternalRDL.g:919:4: (lv_name_1_0= RULE_ID )
+ // InternalRDL.g:920:5: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_6);
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0());
-
+ newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getComponentDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "com.minres.rdl.RDL.ID");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getComponentDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "com.minres.rdl.RDL.ID");
+
+ }
}
@@ -2093,295 +2382,225 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,14,FOLLOW_20);
+ otherlv_2=(Token)match(input,15,FOLLOW_21); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
-
- // InternalRDL.g:904:3: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) | ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) | ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) )*
+ newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRDL.g:940:3: ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )*
loop11:
do {
int alt11=5;
- switch ( input.LA(1) ) {
- case 42:
- case 43:
- case 44:
- case 45:
- case 47:
- {
- alt11=1;
- }
- break;
- case 24:
- case 26:
- {
- alt11=2;
- }
- break;
- case 25:
- {
- int LA11_4 = input.LA(2);
-
- if ( (LA11_4==RULE_ID||LA11_4==26) ) {
- alt11=2;
- }
- else if ( ((LA11_4>=16 && LA11_4<=17)) ) {
- alt11=3;
- }
-
-
- }
- break;
- case RULE_ID:
- {
- int LA11_5 = input.LA(2);
-
- if ( ((LA11_5>=16 && LA11_5<=17)||(LA11_5>=34 && LA11_5<=35)) ) {
- alt11=3;
- }
- else if ( (LA11_5==RULE_ID) ) {
- alt11=2;
- }
-
-
- }
- break;
- case 19:
- case 37:
- case 38:
- case 49:
- case 50:
- case 51:
- case 52:
- case 53:
- case 54:
- case 55:
- case 56:
- case 57:
- case 58:
- case 59:
- case 60:
- case 61:
- case 62:
- case 63:
- case 64:
- case 65:
- case 66:
- case 67:
- case 68:
- case 69:
- case 70:
- case 71:
- case 72:
- case 73:
- case 74:
- case 75:
- case 76:
- case 77:
- case 78:
- case 79:
- case 80:
- case 81:
- case 82:
- case 83:
- case 84:
- case 85:
- case 86:
- case 87:
- case 88:
- case 89:
- case 90:
- case 91:
- case 92:
- case 93:
- case 94:
- case 95:
- case 96:
- case 97:
- case 98:
- case 99:
- case 100:
- case 101:
- case 102:
- case 103:
- case 104:
- case 105:
- case 106:
- case 107:
- case 108:
- case 109:
- case 110:
- case 111:
- case 112:
- case 113:
- case 114:
- case 115:
- case 116:
- case 117:
- case 118:
- case 119:
- case 120:
- case 121:
- case 130:
- case 131:
- case 132:
- case 133:
- case 134:
- {
- alt11=3;
- }
- break;
- case 36:
- {
- alt11=4;
- }
- break;
-
- }
-
+ alt11 = dfa11.predict(input);
switch (alt11) {
case 1 :
- // InternalRDL.g:905:4: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) )
+ // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' )
{
- // InternalRDL.g:905:4: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) )
- // InternalRDL.g:906:5: (lv_componentDefinitions_3_0= ruleComponentDefinition )
+ // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' )
+ // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';'
{
- // InternalRDL.g:906:5: (lv_componentDefinitions_3_0= ruleComponentDefinition )
- // InternalRDL.g:907:6: lv_componentDefinitions_3_0= ruleComponentDefinition
+ // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) )
+ // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition )
{
+ // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition )
+ // InternalRDL.g:944:7: lv_componentDefinitions_3_0= ruleComponentDefinition
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0());
-
- pushFollow(FOLLOW_20);
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
lv_componentDefinitions_3_0=ruleComponentDefinition();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- add(
- current,
- "componentDefinitions",
- lv_componentDefinitions_3_0,
- "com.minres.rdl.RDL.ComponentDefinition");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ current,
+ "componentDefinitions",
+ lv_componentDefinitions_3_0,
+ "com.minres.rdl.RDL.ComponentDefinition");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_4=(Token)match(input,12,FOLLOW_21); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1());
+
+ }
+
}
}
break;
case 2 :
- // InternalRDL.g:925:4: ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) )
+ // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
{
- // InternalRDL.g:925:4: ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) )
- // InternalRDL.g:926:5: (lv_namedInstantiations_4_0= ruleNamedInstantiation )
+ // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
+ // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';'
{
- // InternalRDL.g:926:5: (lv_namedInstantiations_4_0= ruleNamedInstantiation )
- // InternalRDL.g:927:6: lv_namedInstantiations_4_0= ruleNamedInstantiation
+ // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) )
+ // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation )
{
+ // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation )
+ // InternalRDL.g:970:7: lv_instantiations_5_0= ruleInstantiation
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0());
-
- pushFollow(FOLLOW_20);
- lv_namedInstantiations_4_0=ruleNamedInstantiation();
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_instantiations_5_0=ruleInstantiation();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- add(
- current,
- "namedInstantiations",
- lv_namedInstantiations_4_0,
- "com.minres.rdl.RDL.NamedInstantiation");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ current,
+ "instantiations",
+ lv_instantiations_5_0,
+ "com.minres.rdl.RDL.Instantiation");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_6=(Token)match(input,12,FOLLOW_21); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1());
+
+ }
+
}
}
break;
case 3 :
- // InternalRDL.g:945:4: ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) )
+ // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
{
- // InternalRDL.g:945:4: ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) )
- // InternalRDL.g:946:5: (lv_propertyAssignments_5_0= rulePropertyAssignment )
+ // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
+ // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';'
{
- // InternalRDL.g:946:5: (lv_propertyAssignments_5_0= rulePropertyAssignment )
- // InternalRDL.g:947:6: lv_propertyAssignments_5_0= rulePropertyAssignment
+ // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) )
+ // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment )
{
+ // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment )
+ // InternalRDL.g:996:7: lv_propertyAssignments_7_0= rulePropertyAssignment
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0());
-
- pushFollow(FOLLOW_20);
- lv_propertyAssignments_5_0=rulePropertyAssignment();
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_propertyAssignments_7_0=rulePropertyAssignment();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- add(
- current,
- "propertyAssignments",
- lv_propertyAssignments_5_0,
- "com.minres.rdl.RDL.PropertyAssignment");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ current,
+ "propertyAssignments",
+ lv_propertyAssignments_7_0,
+ "com.minres.rdl.RDL.PropertyAssignment");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_8=(Token)match(input,12,FOLLOW_21); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1());
+
+ }
+
}
}
break;
case 4 :
- // InternalRDL.g:965:4: ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) )
+ // InternalRDL.g:1019:4: ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' )
{
- // InternalRDL.g:965:4: ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) )
- // InternalRDL.g:966:5: (lv_enumDefinitions_6_0= ruleEnumDefinition )
+ // InternalRDL.g:1019:4: ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' )
+ // InternalRDL.g:1020:5: ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';'
{
- // InternalRDL.g:966:5: (lv_enumDefinitions_6_0= ruleEnumDefinition )
- // InternalRDL.g:967:6: lv_enumDefinitions_6_0= ruleEnumDefinition
+ // InternalRDL.g:1020:5: ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) )
+ // InternalRDL.g:1021:6: (lv_enumDefinitions_9_0= ruleEnumDefinition )
{
+ // InternalRDL.g:1021:6: (lv_enumDefinitions_9_0= ruleEnumDefinition )
+ // InternalRDL.g:1022:7: lv_enumDefinitions_9_0= ruleEnumDefinition
+ {
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0());
-
- pushFollow(FOLLOW_20);
- lv_enumDefinitions_6_0=ruleEnumDefinition();
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_enumDefinitions_9_0=ruleEnumDefinition();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- add(
- current,
- "enumDefinitions",
- lv_enumDefinitions_6_0,
- "com.minres.rdl.RDL.EnumDefinition");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
+ }
+ add(
+ current,
+ "enumDefinitions",
+ lv_enumDefinitions_9_0,
+ "com.minres.rdl.RDL.EnumDefinition");
+ afterParserOrEnumRuleCall();
+
+ }
}
+ }
+
+ otherlv_10=(Token)match(input,12,FOLLOW_21); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1());
+
+ }
+
}
@@ -2393,65 +2612,23 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_7=(Token)match(input,18,FOLLOW_21);
+ otherlv_11=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
-
- // InternalRDL.g:989:3: ( (lv_immediateInstantiation_8_0= ruleImmediateInstantiation ) )?
- int alt12=2;
- int LA12_0 = input.LA(1);
-
- if ( (LA12_0==RULE_ID||LA12_0==24) ) {
- alt12=1;
+ newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4());
+
}
- switch (alt12) {
- case 1 :
- // InternalRDL.g:990:4: (lv_immediateInstantiation_8_0= ruleImmediateInstantiation )
- {
- // InternalRDL.g:990:4: (lv_immediateInstantiation_8_0= ruleImmediateInstantiation )
- // InternalRDL.g:991:5: lv_immediateInstantiation_8_0= ruleImmediateInstantiation
- {
-
- newCompositeNode(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0());
-
- pushFollow(FOLLOW_10);
- lv_immediateInstantiation_8_0=ruleImmediateInstantiation();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentDefinitionRule());
- }
- set(
- current,
- "immediateInstantiation",
- lv_immediateInstantiation_8_0,
- "com.minres.rdl.RDL.ImmediateInstantiation");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_9=(Token)match(input,17,FOLLOW_2);
-
- newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6());
-
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -2465,26 +2642,30 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR end "ruleComponentDefinition"
- // $ANTLR start "entryRuleNamedInstantiation"
- // InternalRDL.g:1016:1: entryRuleNamedInstantiation returns [EObject current=null] : iv_ruleNamedInstantiation= ruleNamedInstantiation EOF ;
- public final EObject entryRuleNamedInstantiation() throws RecognitionException {
+ // $ANTLR start "entryRuleInstantiation"
+ // InternalRDL.g:1053:1: entryRuleInstantiation returns [EObject current=null] : iv_ruleInstantiation= ruleInstantiation EOF ;
+ public final EObject entryRuleInstantiation() throws RecognitionException {
EObject current = null;
- EObject iv_ruleNamedInstantiation = null;
+ EObject iv_ruleInstantiation = null;
try {
- // InternalRDL.g:1016:59: (iv_ruleNamedInstantiation= ruleNamedInstantiation EOF )
- // InternalRDL.g:1017:2: iv_ruleNamedInstantiation= ruleNamedInstantiation EOF
+ // InternalRDL.g:1053:54: (iv_ruleInstantiation= ruleInstantiation EOF )
+ // InternalRDL.g:1054:2: iv_ruleInstantiation= ruleInstantiation EOF
{
- newCompositeNode(grammarAccess.getNamedInstantiationRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getInstantiationRule());
+ }
pushFollow(FOLLOW_1);
- iv_ruleNamedInstantiation=ruleNamedInstantiation();
+ iv_ruleInstantiation=ruleInstantiation();
state._fsp--;
-
- current =iv_ruleNamedInstantiation;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleInstantiation;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -2498,137 +2679,282 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
return current;
}
- // $ANTLR end "entryRuleNamedInstantiation"
+ // $ANTLR end "entryRuleInstantiation"
- // $ANTLR start "ruleNamedInstantiation"
- // InternalRDL.g:1023:1: ruleNamedInstantiation returns [EObject current=null] : ( ( (lv_external_0_0= 'external' ) )? ( (lv_internal_1_0= 'internal' ) )? (otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) )? ( (otherlv_4= RULE_ID ) ) ( (lv_componentInstances_5_0= ruleComponentInstance ) ) (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )* otherlv_8= ';' ) ;
- public final EObject ruleNamedInstantiation() throws RecognitionException {
+ // $ANTLR start "ruleInstantiation"
+ // InternalRDL.g:1060:1: ruleInstantiation returns [EObject current=null] : ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* ) ;
+ public final EObject ruleInstantiation() throws RecognitionException {
EObject current = null;
- Token lv_external_0_0=null;
- Token lv_internal_1_0=null;
- Token otherlv_2=null;
- Token lv_alias_3_0=null;
- Token otherlv_4=null;
- Token otherlv_6=null;
- Token otherlv_8=null;
- EObject lv_componentInstances_5_0 = null;
+ Token otherlv_1=null;
+ Token lv_alias_2_0=null;
+ Token otherlv_3=null;
+ Token otherlv_7=null;
+ EObject lv_instanceType_0_0 = null;
- EObject lv_componentInstances_7_0 = null;
+ EObject lv_component_4_0 = null;
+
+ EObject lv_instanceType_5_0 = null;
+
+ EObject lv_componentInstances_6_0 = null;
+
+ EObject lv_componentInstances_8_0 = null;
enterRule();
try {
- // InternalRDL.g:1029:2: ( ( ( (lv_external_0_0= 'external' ) )? ( (lv_internal_1_0= 'internal' ) )? (otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) )? ( (otherlv_4= RULE_ID ) ) ( (lv_componentInstances_5_0= ruleComponentInstance ) ) (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )* otherlv_8= ';' ) )
- // InternalRDL.g:1030:2: ( ( (lv_external_0_0= 'external' ) )? ( (lv_internal_1_0= 'internal' ) )? (otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) )? ( (otherlv_4= RULE_ID ) ) ( (lv_componentInstances_5_0= ruleComponentInstance ) ) (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )* otherlv_8= ';' )
+ // InternalRDL.g:1066:2: ( ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* ) )
+ // InternalRDL.g:1067:2: ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* )
{
- // InternalRDL.g:1030:2: ( ( (lv_external_0_0= 'external' ) )? ( (lv_internal_1_0= 'internal' ) )? (otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) )? ( (otherlv_4= RULE_ID ) ) ( (lv_componentInstances_5_0= ruleComponentInstance ) ) (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )* otherlv_8= ';' )
- // InternalRDL.g:1031:3: ( (lv_external_0_0= 'external' ) )? ( (lv_internal_1_0= 'internal' ) )? (otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) )? ( (otherlv_4= RULE_ID ) ) ( (lv_componentInstances_5_0= ruleComponentInstance ) ) (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )* otherlv_8= ';'
+ // InternalRDL.g:1067:2: ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* )
+ // InternalRDL.g:1068:3: ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )*
{
- // InternalRDL.g:1031:3: ( (lv_external_0_0= 'external' ) )?
- int alt13=2;
- int LA13_0 = input.LA(1);
-
- if ( (LA13_0==24) ) {
- alt13=1;
- }
- switch (alt13) {
- case 1 :
- // InternalRDL.g:1032:4: (lv_external_0_0= 'external' )
- {
- // InternalRDL.g:1032:4: (lv_external_0_0= 'external' )
- // InternalRDL.g:1033:5: lv_external_0_0= 'external'
- {
- lv_external_0_0=(Token)match(input,24,FOLLOW_22);
-
- newLeafNode(lv_external_0_0, grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
- setWithLastConsumed(current, "external", true, "external");
-
-
- }
-
-
- }
- break;
-
- }
-
- // InternalRDL.g:1045:3: ( (lv_internal_1_0= 'internal' ) )?
- int alt14=2;
- int LA14_0 = input.LA(1);
-
- if ( (LA14_0==25) ) {
- alt14=1;
- }
- switch (alt14) {
- case 1 :
- // InternalRDL.g:1046:4: (lv_internal_1_0= 'internal' )
- {
- // InternalRDL.g:1046:4: (lv_internal_1_0= 'internal' )
- // InternalRDL.g:1047:5: lv_internal_1_0= 'internal'
- {
- lv_internal_1_0=(Token)match(input,25,FOLLOW_23);
-
- newLeafNode(lv_internal_1_0, grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
- setWithLastConsumed(current, "internal", true, "internal");
-
-
- }
-
-
- }
- break;
-
- }
-
- // InternalRDL.g:1059:3: (otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) )?
+ // InternalRDL.g:1068:3: ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) )
int alt15=2;
int LA15_0 = input.LA(1);
- if ( (LA15_0==26) ) {
+ if ( (LA15_0==RULE_ID||LA15_0==24||(LA15_0>=37 && LA15_0<=38)) ) {
alt15=1;
}
+ else if ( ((LA15_0>=42 && LA15_0<=45)||LA15_0==47) ) {
+ alt15=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 15, 0, input);
+
+ throw nvae;
+ }
switch (alt15) {
case 1 :
- // InternalRDL.g:1060:4: otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) )
+ // InternalRDL.g:1069:4: ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) )
{
- otherlv_2=(Token)match(input,26,FOLLOW_5);
-
- newLeafNode(otherlv_2, grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0());
-
- // InternalRDL.g:1064:4: ( (lv_alias_3_0= RULE_ID ) )
- // InternalRDL.g:1065:5: (lv_alias_3_0= RULE_ID )
+ // InternalRDL.g:1069:4: ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) )
+ // InternalRDL.g:1070:5: ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) )
{
- // InternalRDL.g:1065:5: (lv_alias_3_0= RULE_ID )
- // InternalRDL.g:1066:6: lv_alias_3_0= RULE_ID
+ // InternalRDL.g:1070:5: ( (lv_instanceType_0_0= ruleEnumInstanceType ) )?
+ int alt12=2;
+ int LA12_0 = input.LA(1);
+
+ if ( ((LA12_0>=37 && LA12_0<=38)) ) {
+ alt12=1;
+ }
+ switch (alt12) {
+ case 1 :
+ // InternalRDL.g:1071:6: (lv_instanceType_0_0= ruleEnumInstanceType )
+ {
+ // InternalRDL.g:1071:6: (lv_instanceType_0_0= ruleEnumInstanceType )
+ // InternalRDL.g:1072:7: lv_instanceType_0_0= ruleEnumInstanceType
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0());
+
+ }
+ pushFollow(FOLLOW_22);
+ lv_instanceType_0_0=ruleEnumInstanceType();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ set(
+ current,
+ "instanceType",
+ lv_instanceType_0_0,
+ "com.minres.rdl.RDL.EnumInstanceType");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalRDL.g:1089:5: (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
+
+ if ( (LA13_0==24) ) {
+ alt13=1;
+ }
+ switch (alt13) {
+ case 1 :
+ // InternalRDL.g:1090:6: otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) )
+ {
+ otherlv_1=(Token)match(input,24,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0());
+
+ }
+ // InternalRDL.g:1094:6: ( (lv_alias_2_0= RULE_ID ) )
+ // InternalRDL.g:1095:7: (lv_alias_2_0= RULE_ID )
+ {
+ // InternalRDL.g:1095:7: (lv_alias_2_0= RULE_ID )
+ // InternalRDL.g:1096:8: lv_alias_2_0= RULE_ID
+ {
+ lv_alias_2_0=(Token)match(input,RULE_ID,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(lv_alias_2_0, grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getInstantiationRule());
+ }
+ setWithLastConsumed(
+ current,
+ "alias",
+ lv_alias_2_0,
+ "com.minres.rdl.RDL.ID");
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalRDL.g:1113:5: ( (otherlv_3= RULE_ID ) )
+ // InternalRDL.g:1114:6: (otherlv_3= RULE_ID )
{
- lv_alias_3_0=(Token)match(input,RULE_ID,FOLLOW_5);
+ // InternalRDL.g:1114:6: (otherlv_3= RULE_ID )
+ // InternalRDL.g:1115:7: otherlv_3= RULE_ID
+ {
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_alias_3_0, grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0());
-
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
- setWithLastConsumed(
- current,
- "alias",
- lv_alias_3_0,
- "com.minres.rdl.RDL.ID");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getInstantiationRule());
+ }
+
+ }
+ otherlv_3=(Token)match(input,RULE_ID,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0());
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRDL.g:1131:4: ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? )
+ {
+ // InternalRDL.g:1131:4: ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? )
+ // InternalRDL.g:1132:5: ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )?
+ {
+ // InternalRDL.g:1132:5: ( (lv_component_4_0= ruleComponentDefinition ) )
+ // InternalRDL.g:1133:6: (lv_component_4_0= ruleComponentDefinition )
+ {
+ // InternalRDL.g:1133:6: (lv_component_4_0= ruleComponentDefinition )
+ // InternalRDL.g:1134:7: lv_component_4_0= ruleComponentDefinition
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0());
+
+ }
+ pushFollow(FOLLOW_23);
+ lv_component_4_0=ruleComponentDefinition();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ set(
+ current,
+ "component",
+ lv_component_4_0,
+ "com.minres.rdl.RDL.ComponentDefinition");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRDL.g:1151:5: ( (lv_instanceType_5_0= ruleEnumInstanceType ) )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
+
+ if ( ((LA14_0>=37 && LA14_0<=38)) ) {
+ alt14=1;
+ }
+ switch (alt14) {
+ case 1 :
+ // InternalRDL.g:1152:6: (lv_instanceType_5_0= ruleEnumInstanceType )
+ {
+ // InternalRDL.g:1152:6: (lv_instanceType_5_0= ruleEnumInstanceType )
+ // InternalRDL.g:1153:7: lv_instanceType_5_0= ruleEnumInstanceType
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0());
+
+ }
+ pushFollow(FOLLOW_7);
+ lv_instanceType_5_0=ruleEnumInstanceType();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ set(
+ current,
+ "instanceType",
+ lv_instanceType_5_0,
+ "com.minres.rdl.RDL.EnumInstanceType");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
}
@@ -2641,102 +2967,91 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- // InternalRDL.g:1083:3: ( (otherlv_4= RULE_ID ) )
- // InternalRDL.g:1084:4: (otherlv_4= RULE_ID )
+ // InternalRDL.g:1172:3: ( (lv_componentInstances_6_0= ruleComponentInstance ) )
+ // InternalRDL.g:1173:4: (lv_componentInstances_6_0= ruleComponentInstance )
{
- // InternalRDL.g:1084:4: (otherlv_4= RULE_ID )
- // InternalRDL.g:1085:5: otherlv_4= RULE_ID
+ // InternalRDL.g:1173:4: (lv_componentInstances_6_0= ruleComponentInstance )
+ // InternalRDL.g:1174:5: lv_componentInstances_6_0= ruleComponentInstance
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getNamedInstantiationRule());
- }
-
- otherlv_4=(Token)match(input,RULE_ID,FOLLOW_24);
-
- newLeafNode(otherlv_4, grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0());
-
-
+ newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
+
}
-
-
- }
-
- // InternalRDL.g:1096:3: ( (lv_componentInstances_5_0= ruleComponentInstance ) )
- // InternalRDL.g:1097:4: (lv_componentInstances_5_0= ruleComponentInstance )
- {
- // InternalRDL.g:1097:4: (lv_componentInstances_5_0= ruleComponentInstance )
- // InternalRDL.g:1098:5: lv_componentInstances_5_0= ruleComponentInstance
- {
-
- newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0());
-
- pushFollow(FOLLOW_25);
- lv_componentInstances_5_0=ruleComponentInstance();
+ pushFollow(FOLLOW_24);
+ lv_componentInstances_6_0=ruleComponentInstance();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNamedInstantiationRule());
- }
- add(
- current,
- "componentInstances",
- lv_componentInstances_5_0,
- "com.minres.rdl.RDL.ComponentInstance");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ add(
+ current,
+ "componentInstances",
+ lv_componentInstances_6_0,
+ "com.minres.rdl.RDL.ComponentInstance");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:1115:3: (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )*
+ // InternalRDL.g:1191:3: (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
- if ( (LA16_0==27) ) {
+ if ( (LA16_0==25) ) {
alt16=1;
}
switch (alt16) {
case 1 :
- // InternalRDL.g:1116:4: otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) )
+ // InternalRDL.g:1192:4: otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) )
{
- otherlv_6=(Token)match(input,27,FOLLOW_24);
+ otherlv_7=(Token)match(input,25,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_6, grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0());
-
- // InternalRDL.g:1120:4: ( (lv_componentInstances_7_0= ruleComponentInstance ) )
- // InternalRDL.g:1121:5: (lv_componentInstances_7_0= ruleComponentInstance )
+ newLeafNode(otherlv_7, grammarAccess.getInstantiationAccess().getCommaKeyword_2_0());
+
+ }
+ // InternalRDL.g:1196:4: ( (lv_componentInstances_8_0= ruleComponentInstance ) )
+ // InternalRDL.g:1197:5: (lv_componentInstances_8_0= ruleComponentInstance )
{
- // InternalRDL.g:1121:5: (lv_componentInstances_7_0= ruleComponentInstance )
- // InternalRDL.g:1122:6: lv_componentInstances_7_0= ruleComponentInstance
+ // InternalRDL.g:1197:5: (lv_componentInstances_8_0= ruleComponentInstance )
+ // InternalRDL.g:1198:6: lv_componentInstances_8_0= ruleComponentInstance
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0());
-
- pushFollow(FOLLOW_25);
- lv_componentInstances_7_0=ruleComponentInstance();
+ newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
+
+ }
+ pushFollow(FOLLOW_24);
+ lv_componentInstances_8_0=ruleComponentInstance();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNamedInstantiationRule());
- }
- add(
- current,
- "componentInstances",
- lv_componentInstances_7_0,
- "com.minres.rdl.RDL.ComponentInstance");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstantiationRule());
+ }
+ add(
+ current,
+ "componentInstances",
+ lv_componentInstances_8_0,
+ "com.minres.rdl.RDL.ComponentInstance");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -2752,19 +3067,17 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_8=(Token)match(input,17,FOLLOW_2);
-
- newLeafNode(otherlv_8, grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6());
-
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -2775,214 +3088,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
return current;
}
- // $ANTLR end "ruleNamedInstantiation"
-
-
- // $ANTLR start "entryRuleImmediateInstantiation"
- // InternalRDL.g:1148:1: entryRuleImmediateInstantiation returns [EObject current=null] : iv_ruleImmediateInstantiation= ruleImmediateInstantiation EOF ;
- public final EObject entryRuleImmediateInstantiation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleImmediateInstantiation = null;
-
-
- try {
- // InternalRDL.g:1148:63: (iv_ruleImmediateInstantiation= ruleImmediateInstantiation EOF )
- // InternalRDL.g:1149:2: iv_ruleImmediateInstantiation= ruleImmediateInstantiation EOF
- {
- newCompositeNode(grammarAccess.getImmediateInstantiationRule());
- pushFollow(FOLLOW_1);
- iv_ruleImmediateInstantiation=ruleImmediateInstantiation();
-
- state._fsp--;
-
- current =iv_ruleImmediateInstantiation;
- match(input,EOF,FOLLOW_2);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleImmediateInstantiation"
-
-
- // $ANTLR start "ruleImmediateInstantiation"
- // InternalRDL.g:1155:1: ruleImmediateInstantiation returns [EObject current=null] : ( ( (lv_external_0_0= 'external' ) )? ( (lv_componentInstances_1_0= ruleComponentInstance ) ) (otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) )* ) ;
- public final EObject ruleImmediateInstantiation() throws RecognitionException {
- EObject current = null;
-
- Token lv_external_0_0=null;
- Token otherlv_2=null;
- EObject lv_componentInstances_1_0 = null;
-
- EObject lv_componentInstances_3_0 = null;
-
-
-
- enterRule();
-
- try {
- // InternalRDL.g:1161:2: ( ( ( (lv_external_0_0= 'external' ) )? ( (lv_componentInstances_1_0= ruleComponentInstance ) ) (otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) )* ) )
- // InternalRDL.g:1162:2: ( ( (lv_external_0_0= 'external' ) )? ( (lv_componentInstances_1_0= ruleComponentInstance ) ) (otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) )* )
- {
- // InternalRDL.g:1162:2: ( ( (lv_external_0_0= 'external' ) )? ( (lv_componentInstances_1_0= ruleComponentInstance ) ) (otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) )* )
- // InternalRDL.g:1163:3: ( (lv_external_0_0= 'external' ) )? ( (lv_componentInstances_1_0= ruleComponentInstance ) ) (otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) )*
- {
- // InternalRDL.g:1163:3: ( (lv_external_0_0= 'external' ) )?
- int alt17=2;
- int LA17_0 = input.LA(1);
-
- if ( (LA17_0==24) ) {
- alt17=1;
- }
- switch (alt17) {
- case 1 :
- // InternalRDL.g:1164:4: (lv_external_0_0= 'external' )
- {
- // InternalRDL.g:1164:4: (lv_external_0_0= 'external' )
- // InternalRDL.g:1165:5: lv_external_0_0= 'external'
- {
- lv_external_0_0=(Token)match(input,24,FOLLOW_24);
-
- newLeafNode(lv_external_0_0, grammarAccess.getImmediateInstantiationAccess().getExternalExternalKeyword_0_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getImmediateInstantiationRule());
- }
- setWithLastConsumed(current, "external", true, "external");
-
-
- }
-
-
- }
- break;
-
- }
-
- // InternalRDL.g:1177:3: ( (lv_componentInstances_1_0= ruleComponentInstance ) )
- // InternalRDL.g:1178:4: (lv_componentInstances_1_0= ruleComponentInstance )
- {
- // InternalRDL.g:1178:4: (lv_componentInstances_1_0= ruleComponentInstance )
- // InternalRDL.g:1179:5: lv_componentInstances_1_0= ruleComponentInstance
- {
-
- newCompositeNode(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0());
-
- pushFollow(FOLLOW_26);
- lv_componentInstances_1_0=ruleComponentInstance();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getImmediateInstantiationRule());
- }
- add(
- current,
- "componentInstances",
- lv_componentInstances_1_0,
- "com.minres.rdl.RDL.ComponentInstance");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // InternalRDL.g:1196:3: (otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) )*
- loop18:
- do {
- int alt18=2;
- int LA18_0 = input.LA(1);
-
- if ( (LA18_0==27) ) {
- alt18=1;
- }
-
-
- switch (alt18) {
- case 1 :
- // InternalRDL.g:1197:4: otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) )
- {
- otherlv_2=(Token)match(input,27,FOLLOW_24);
-
- newLeafNode(otherlv_2, grammarAccess.getImmediateInstantiationAccess().getCommaKeyword_2_0());
-
- // InternalRDL.g:1201:4: ( (lv_componentInstances_3_0= ruleComponentInstance ) )
- // InternalRDL.g:1202:5: (lv_componentInstances_3_0= ruleComponentInstance )
- {
- // InternalRDL.g:1202:5: (lv_componentInstances_3_0= ruleComponentInstance )
- // InternalRDL.g:1203:6: lv_componentInstances_3_0= ruleComponentInstance
- {
-
- newCompositeNode(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_26);
- lv_componentInstances_3_0=ruleComponentInstance();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getImmediateInstantiationRule());
- }
- add(
- current,
- "componentInstances",
- lv_componentInstances_3_0,
- "com.minres.rdl.RDL.ComponentInstance");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop18;
- }
- } while (true);
-
-
- }
-
-
- }
-
-
- leaveRule();
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleImmediateInstantiation"
+ // $ANTLR end "ruleInstantiation"
// $ANTLR start "entryRuleComponentInstance"
- // InternalRDL.g:1225:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ;
+ // InternalRDL.g:1220:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ;
public final EObject entryRuleComponentInstance() throws RecognitionException {
EObject current = null;
@@ -2990,17 +3100,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1225:58: (iv_ruleComponentInstance= ruleComponentInstance EOF )
- // InternalRDL.g:1226:2: iv_ruleComponentInstance= ruleComponentInstance EOF
+ // InternalRDL.g:1220:58: (iv_ruleComponentInstance= ruleComponentInstance EOF )
+ // InternalRDL.g:1221:2: iv_ruleComponentInstance= ruleComponentInstance EOF
{
- newCompositeNode(grammarAccess.getComponentInstanceRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getComponentInstanceRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleComponentInstance=ruleComponentInstance();
state._fsp--;
-
- current =iv_ruleComponentInstance;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleComponentInstance;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -3018,7 +3132,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleComponentInstance"
- // InternalRDL.g:1232:1: ruleComponentInstance returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) ;
+ // InternalRDL.g:1227:1: ruleComponentInstance returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) ;
public final EObject ruleComponentInstance() throws RecognitionException {
EObject current = null;
@@ -3038,71 +3152,185 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1238:2: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) )
- // InternalRDL.g:1239:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? )
+ // InternalRDL.g:1233:2: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) )
+ // InternalRDL.g:1234:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? )
{
- // InternalRDL.g:1239:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? )
- // InternalRDL.g:1240:3: ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )?
+ // InternalRDL.g:1234:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? )
+ // InternalRDL.g:1235:3: ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )?
{
- // InternalRDL.g:1240:3: ( (lv_name_0_0= RULE_ID ) )
- // InternalRDL.g:1241:4: (lv_name_0_0= RULE_ID )
+ // InternalRDL.g:1235:3: ( (lv_name_0_0= RULE_ID ) )
+ // InternalRDL.g:1236:4: (lv_name_0_0= RULE_ID )
{
- // InternalRDL.g:1241:4: (lv_name_0_0= RULE_ID )
- // InternalRDL.g:1242:5: lv_name_0_0= RULE_ID
+ // InternalRDL.g:1236:4: (lv_name_0_0= RULE_ID )
+ // InternalRDL.g:1237:5: lv_name_0_0= RULE_ID
{
- lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_27);
+ lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_25); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_0_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0());
-
+ newLeafNode(lv_name_0_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getComponentInstanceRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_0_0,
- "com.minres.rdl.RDL.ID");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getComponentInstanceRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_0_0,
+ "com.minres.rdl.RDL.ID");
+
+ }
}
}
- // InternalRDL.g:1258:3: ( (lv_range_1_0= ruleRange ) )?
+ // InternalRDL.g:1253:3: ( (lv_range_1_0= ruleRange ) )?
+ int alt17=2;
+ int LA17_0 = input.LA(1);
+
+ if ( (LA17_0==29) ) {
+ alt17=1;
+ }
+ switch (alt17) {
+ case 1 :
+ // InternalRDL.g:1254:4: (lv_range_1_0= ruleRange )
+ {
+ // InternalRDL.g:1254:4: (lv_range_1_0= ruleRange )
+ // InternalRDL.g:1255:5: lv_range_1_0= ruleRange
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_26);
+ lv_range_1_0=ruleRange();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComponentInstanceRule());
+ }
+ set(
+ current,
+ "range",
+ lv_range_1_0,
+ "com.minres.rdl.RDL.Range");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalRDL.g:1272:3: (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )?
+ int alt18=2;
+ int LA18_0 = input.LA(1);
+
+ if ( (LA18_0==17) ) {
+ alt18=1;
+ }
+ switch (alt18) {
+ case 1 :
+ // InternalRDL.g:1273:4: otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) )
+ {
+ otherlv_2=(Token)match(input,17,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0());
+
+ }
+ // InternalRDL.g:1277:4: ( (lv_reset_3_0= RULE_NUM ) )
+ // InternalRDL.g:1278:5: (lv_reset_3_0= RULE_NUM )
+ {
+ // InternalRDL.g:1278:5: (lv_reset_3_0= RULE_NUM )
+ // InternalRDL.g:1279:6: lv_reset_3_0= RULE_NUM
+ {
+ lv_reset_3_0=(Token)match(input,RULE_NUM,FOLLOW_28); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(lv_reset_3_0, grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getComponentInstanceRule());
+ }
+ setWithLastConsumed(
+ current,
+ "reset",
+ lv_reset_3_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalRDL.g:1296:3: (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )?
int alt19=2;
int LA19_0 = input.LA(1);
- if ( (LA19_0==31) ) {
+ if ( (LA19_0==26) ) {
alt19=1;
}
switch (alt19) {
case 1 :
- // InternalRDL.g:1259:4: (lv_range_1_0= ruleRange )
+ // InternalRDL.g:1297:4: otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) )
{
- // InternalRDL.g:1259:4: (lv_range_1_0= ruleRange )
- // InternalRDL.g:1260:5: lv_range_1_0= ruleRange
+ otherlv_4=(Token)match(input,26,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0());
+
+ }
+ // InternalRDL.g:1301:4: ( (lv_address_5_0= RULE_NUM ) )
+ // InternalRDL.g:1302:5: (lv_address_5_0= RULE_NUM )
{
+ // InternalRDL.g:1302:5: (lv_address_5_0= RULE_NUM )
+ // InternalRDL.g:1303:6: lv_address_5_0= RULE_NUM
+ {
+ lv_address_5_0=(Token)match(input,RULE_NUM,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0());
-
- pushFollow(FOLLOW_28);
- lv_range_1_0=ruleRange();
+ newLeafNode(lv_address_5_0, grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- state._fsp--;
+ if (current==null) {
+ current = createModelElement(grammarAccess.getComponentInstanceRule());
+ }
+ setWithLastConsumed(
+ current,
+ "address",
+ lv_address_5_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComponentInstanceRule());
- }
- set(
- current,
- "range",
- lv_range_1_0,
- "com.minres.rdl.RDL.Range");
- afterParserOrEnumRuleCall();
-
}
@@ -3112,41 +3340,47 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- // InternalRDL.g:1277:3: (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )?
+ // InternalRDL.g:1320:3: (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )?
int alt20=2;
int LA20_0 = input.LA(1);
- if ( (LA20_0==16) ) {
+ if ( (LA20_0==27) ) {
alt20=1;
}
switch (alt20) {
case 1 :
- // InternalRDL.g:1278:4: otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) )
+ // InternalRDL.g:1321:4: otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) )
{
- otherlv_2=(Token)match(input,16,FOLLOW_29);
+ otherlv_6=(Token)match(input,27,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0());
-
- // InternalRDL.g:1282:4: ( (lv_reset_3_0= RULE_NUM ) )
- // InternalRDL.g:1283:5: (lv_reset_3_0= RULE_NUM )
+ newLeafNode(otherlv_6, grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0());
+
+ }
+ // InternalRDL.g:1325:4: ( (lv_addrInc_7_0= RULE_NUM ) )
+ // InternalRDL.g:1326:5: (lv_addrInc_7_0= RULE_NUM )
{
- // InternalRDL.g:1283:5: (lv_reset_3_0= RULE_NUM )
- // InternalRDL.g:1284:6: lv_reset_3_0= RULE_NUM
+ // InternalRDL.g:1326:5: (lv_addrInc_7_0= RULE_NUM )
+ // InternalRDL.g:1327:6: lv_addrInc_7_0= RULE_NUM
{
- lv_reset_3_0=(Token)match(input,RULE_NUM,FOLLOW_30);
+ lv_addrInc_7_0=(Token)match(input,RULE_NUM,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_reset_3_0, grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0());
-
+ newLeafNode(lv_addrInc_7_0, grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getComponentInstanceRule());
- }
- setWithLastConsumed(
- current,
- "reset",
- lv_reset_3_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getComponentInstanceRule());
+ }
+ setWithLastConsumed(
+ current,
+ "addrInc",
+ lv_addrInc_7_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
@@ -3159,7 +3393,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- // InternalRDL.g:1301:3: (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )?
+ // InternalRDL.g:1344:3: (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -3168,126 +3402,38 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
switch (alt21) {
case 1 :
- // InternalRDL.g:1302:4: otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) )
+ // InternalRDL.g:1345:4: otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) )
{
- otherlv_4=(Token)match(input,28,FOLLOW_29);
-
- newLeafNode(otherlv_4, grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0());
-
- // InternalRDL.g:1306:4: ( (lv_address_5_0= RULE_NUM ) )
- // InternalRDL.g:1307:5: (lv_address_5_0= RULE_NUM )
- {
- // InternalRDL.g:1307:5: (lv_address_5_0= RULE_NUM )
- // InternalRDL.g:1308:6: lv_address_5_0= RULE_NUM
- {
- lv_address_5_0=(Token)match(input,RULE_NUM,FOLLOW_31);
-
- newLeafNode(lv_address_5_0, grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getComponentInstanceRule());
- }
- setWithLastConsumed(
- current,
- "address",
- lv_address_5_0,
- "com.minres.rdl.RDL.NUM");
-
+ otherlv_8=(Token)match(input,28,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_8, grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0());
+
}
+ // InternalRDL.g:1349:4: ( (lv_addrMod_9_0= RULE_NUM ) )
+ // InternalRDL.g:1350:5: (lv_addrMod_9_0= RULE_NUM )
+ {
+ // InternalRDL.g:1350:5: (lv_addrMod_9_0= RULE_NUM )
+ // InternalRDL.g:1351:6: lv_addrMod_9_0= RULE_NUM
+ {
+ lv_addrMod_9_0=(Token)match(input,RULE_NUM,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
+ newLeafNode(lv_addrMod_9_0, grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0());
+
}
+ if ( state.backtracking==0 ) {
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getComponentInstanceRule());
+ }
+ setWithLastConsumed(
+ current,
+ "addrMod",
+ lv_addrMod_9_0,
+ "com.minres.rdl.RDL.NUM");
+
}
- break;
-
- }
-
- // InternalRDL.g:1325:3: (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )?
- int alt22=2;
- int LA22_0 = input.LA(1);
-
- if ( (LA22_0==29) ) {
- alt22=1;
- }
- switch (alt22) {
- case 1 :
- // InternalRDL.g:1326:4: otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) )
- {
- otherlv_6=(Token)match(input,29,FOLLOW_29);
-
- newLeafNode(otherlv_6, grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0());
-
- // InternalRDL.g:1330:4: ( (lv_addrInc_7_0= RULE_NUM ) )
- // InternalRDL.g:1331:5: (lv_addrInc_7_0= RULE_NUM )
- {
- // InternalRDL.g:1331:5: (lv_addrInc_7_0= RULE_NUM )
- // InternalRDL.g:1332:6: lv_addrInc_7_0= RULE_NUM
- {
- lv_addrInc_7_0=(Token)match(input,RULE_NUM,FOLLOW_32);
-
- newLeafNode(lv_addrInc_7_0, grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getComponentInstanceRule());
- }
- setWithLastConsumed(
- current,
- "addrInc",
- lv_addrInc_7_0,
- "com.minres.rdl.RDL.NUM");
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // InternalRDL.g:1349:3: (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )?
- int alt23=2;
- int LA23_0 = input.LA(1);
-
- if ( (LA23_0==30) ) {
- alt23=1;
- }
- switch (alt23) {
- case 1 :
- // InternalRDL.g:1350:4: otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) )
- {
- otherlv_8=(Token)match(input,30,FOLLOW_29);
-
- newLeafNode(otherlv_8, grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0());
-
- // InternalRDL.g:1354:4: ( (lv_addrMod_9_0= RULE_NUM ) )
- // InternalRDL.g:1355:5: (lv_addrMod_9_0= RULE_NUM )
- {
- // InternalRDL.g:1355:5: (lv_addrMod_9_0= RULE_NUM )
- // InternalRDL.g:1356:6: lv_addrMod_9_0= RULE_NUM
- {
- lv_addrMod_9_0=(Token)match(input,RULE_NUM,FOLLOW_2);
-
- newLeafNode(lv_addrMod_9_0, grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getComponentInstanceRule());
- }
- setWithLastConsumed(
- current,
- "addrMod",
- lv_addrMod_9_0,
- "com.minres.rdl.RDL.NUM");
-
}
@@ -3306,9 +3452,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -3323,7 +3471,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRange"
- // InternalRDL.g:1377:1: entryRuleRange returns [EObject current=null] : iv_ruleRange= ruleRange EOF ;
+ // InternalRDL.g:1372:1: entryRuleRange returns [EObject current=null] : iv_ruleRange= ruleRange EOF ;
public final EObject entryRuleRange() throws RecognitionException {
EObject current = null;
@@ -3331,17 +3479,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1377:46: (iv_ruleRange= ruleRange EOF )
- // InternalRDL.g:1378:2: iv_ruleRange= ruleRange EOF
+ // InternalRDL.g:1372:46: (iv_ruleRange= ruleRange EOF )
+ // InternalRDL.g:1373:2: iv_ruleRange= ruleRange EOF
{
- newCompositeNode(grammarAccess.getRangeRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getRangeRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleRange=ruleRange();
state._fsp--;
-
- current =iv_ruleRange;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleRange;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -3359,14 +3511,14 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRange"
- // InternalRDL.g:1384:1: ruleRange returns [EObject current=null] : (otherlv_0= '[' ( ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) ;
+ // InternalRDL.g:1379:1: ruleRange returns [EObject current=null] : (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) ;
public final EObject ruleRange() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
- Token lv_start_1_0=null;
+ Token lv_left_1_0=null;
Token otherlv_2=null;
- Token lv_end_3_0=null;
+ Token lv_right_3_0=null;
Token lv_size_4_0=null;
Token otherlv_5=null;
@@ -3374,99 +3526,113 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1390:2: ( (otherlv_0= '[' ( ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) )
- // InternalRDL.g:1391:2: (otherlv_0= '[' ( ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' )
+ // InternalRDL.g:1385:2: ( (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) )
+ // InternalRDL.g:1386:2: (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' )
{
- // InternalRDL.g:1391:2: (otherlv_0= '[' ( ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' )
- // InternalRDL.g:1392:3: otherlv_0= '[' ( ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']'
+ // InternalRDL.g:1386:2: (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' )
+ // InternalRDL.g:1387:3: otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']'
{
- otherlv_0=(Token)match(input,31,FOLLOW_29);
+ otherlv_0=(Token)match(input,29,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0());
-
- // InternalRDL.g:1396:3: ( ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) )
- int alt24=2;
- int LA24_0 = input.LA(1);
+ newLeafNode(otherlv_0, grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0());
+
+ }
+ // InternalRDL.g:1391:3: ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) )
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA24_0==RULE_NUM) ) {
- int LA24_1 = input.LA(2);
+ if ( (LA22_0==RULE_NUM) ) {
+ int LA22_1 = input.LA(2);
- if ( (LA24_1==32) ) {
- alt24=1;
+ if ( (LA22_1==31) ) {
+ alt22=2;
}
- else if ( (LA24_1==33) ) {
- alt24=2;
+ else if ( (LA22_1==30) ) {
+ alt22=1;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 24, 1, input);
+ new NoViableAltException("", 22, 1, input);
throw nvae;
}
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 24, 0, input);
+ new NoViableAltException("", 22, 0, input);
throw nvae;
}
- switch (alt24) {
+ switch (alt22) {
case 1 :
- // InternalRDL.g:1397:4: ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) )
+ // InternalRDL.g:1392:4: ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) )
{
- // InternalRDL.g:1397:4: ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) ) )
- // InternalRDL.g:1398:5: ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_3_0= RULE_NUM ) )
+ // InternalRDL.g:1392:4: ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) )
+ // InternalRDL.g:1393:5: ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) )
{
- // InternalRDL.g:1398:5: ( (lv_start_1_0= RULE_NUM ) )
- // InternalRDL.g:1399:6: (lv_start_1_0= RULE_NUM )
+ // InternalRDL.g:1393:5: ( (lv_left_1_0= RULE_NUM ) )
+ // InternalRDL.g:1394:6: (lv_left_1_0= RULE_NUM )
{
- // InternalRDL.g:1399:6: (lv_start_1_0= RULE_NUM )
- // InternalRDL.g:1400:7: lv_start_1_0= RULE_NUM
+ // InternalRDL.g:1394:6: (lv_left_1_0= RULE_NUM )
+ // InternalRDL.g:1395:7: lv_left_1_0= RULE_NUM
{
- lv_start_1_0=(Token)match(input,RULE_NUM,FOLLOW_33);
+ lv_left_1_0=(Token)match(input,RULE_NUM,FOLLOW_31); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_start_1_0, grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0());
-
+ newLeafNode(lv_left_1_0, grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getRangeRule());
- }
- setWithLastConsumed(
- current,
- "start",
- lv_start_1_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getRangeRule());
+ }
+ setWithLastConsumed(
+ current,
+ "left",
+ lv_left_1_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
}
- otherlv_2=(Token)match(input,32,FOLLOW_29);
+ otherlv_2=(Token)match(input,30,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getRangeAccess().getColonKeyword_1_0_1());
-
- // InternalRDL.g:1420:5: ( (lv_end_3_0= RULE_NUM ) )
- // InternalRDL.g:1421:6: (lv_end_3_0= RULE_NUM )
+ newLeafNode(otherlv_2, grammarAccess.getRangeAccess().getColonKeyword_1_0_1());
+
+ }
+ // InternalRDL.g:1415:5: ( (lv_right_3_0= RULE_NUM ) )
+ // InternalRDL.g:1416:6: (lv_right_3_0= RULE_NUM )
{
- // InternalRDL.g:1421:6: (lv_end_3_0= RULE_NUM )
- // InternalRDL.g:1422:7: lv_end_3_0= RULE_NUM
+ // InternalRDL.g:1416:6: (lv_right_3_0= RULE_NUM )
+ // InternalRDL.g:1417:7: lv_right_3_0= RULE_NUM
{
- lv_end_3_0=(Token)match(input,RULE_NUM,FOLLOW_34);
+ lv_right_3_0=(Token)match(input,RULE_NUM,FOLLOW_32); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_end_3_0, grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0());
-
+ newLeafNode(lv_right_3_0, grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getRangeRule());
- }
- setWithLastConsumed(
- current,
- "end",
- lv_end_3_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getRangeRule());
+ }
+ setWithLastConsumed(
+ current,
+ "right",
+ lv_right_3_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
@@ -3480,28 +3646,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:1440:4: ( (lv_size_4_0= RULE_NUM ) )
+ // InternalRDL.g:1435:4: ( (lv_size_4_0= RULE_NUM ) )
{
- // InternalRDL.g:1440:4: ( (lv_size_4_0= RULE_NUM ) )
- // InternalRDL.g:1441:5: (lv_size_4_0= RULE_NUM )
+ // InternalRDL.g:1435:4: ( (lv_size_4_0= RULE_NUM ) )
+ // InternalRDL.g:1436:5: (lv_size_4_0= RULE_NUM )
{
- // InternalRDL.g:1441:5: (lv_size_4_0= RULE_NUM )
- // InternalRDL.g:1442:6: lv_size_4_0= RULE_NUM
+ // InternalRDL.g:1436:5: (lv_size_4_0= RULE_NUM )
+ // InternalRDL.g:1437:6: lv_size_4_0= RULE_NUM
{
- lv_size_4_0=(Token)match(input,RULE_NUM,FOLLOW_34);
+ lv_size_4_0=(Token)match(input,RULE_NUM,FOLLOW_32); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_size_4_0, grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0());
-
+ newLeafNode(lv_size_4_0, grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getRangeRule());
- }
- setWithLastConsumed(
- current,
- "size",
- lv_size_4_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getRangeRule());
+ }
+ setWithLastConsumed(
+ current,
+ "size",
+ lv_size_4_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
@@ -3514,19 +3684,23 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_5=(Token)match(input,33,FOLLOW_2);
+ otherlv_5=(Token)match(input,31,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_5, grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2());
-
+ newLeafNode(otherlv_5, grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -3541,7 +3715,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePropertyAssignment"
- // InternalRDL.g:1467:1: entryRulePropertyAssignment returns [EObject current=null] : iv_rulePropertyAssignment= rulePropertyAssignment EOF ;
+ // InternalRDL.g:1462:1: entryRulePropertyAssignment returns [EObject current=null] : iv_rulePropertyAssignment= rulePropertyAssignment EOF ;
public final EObject entryRulePropertyAssignment() throws RecognitionException {
EObject current = null;
@@ -3549,17 +3723,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1467:59: (iv_rulePropertyAssignment= rulePropertyAssignment EOF )
- // InternalRDL.g:1468:2: iv_rulePropertyAssignment= rulePropertyAssignment EOF
+ // InternalRDL.g:1462:59: (iv_rulePropertyAssignment= rulePropertyAssignment EOF )
+ // InternalRDL.g:1463:2: iv_rulePropertyAssignment= rulePropertyAssignment EOF
{
- newCompositeNode(grammarAccess.getPropertyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPropertyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePropertyAssignment=rulePropertyAssignment();
state._fsp--;
-
- current =iv_rulePropertyAssignment;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePropertyAssignment;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -3577,7 +3755,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyAssignment"
- // InternalRDL.g:1474:1: rulePropertyAssignment returns [EObject current=null] : (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) ;
+ // InternalRDL.g:1469:1: rulePropertyAssignment returns [EObject current=null] : (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) ;
public final EObject rulePropertyAssignment() throws RecognitionException {
EObject current = null;
@@ -3592,19 +3770,19 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1480:2: ( (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) )
- // InternalRDL.g:1481:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment )
+ // InternalRDL.g:1475:2: ( (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) )
+ // InternalRDL.g:1476:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment )
{
- // InternalRDL.g:1481:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment )
- int alt25=3;
+ // InternalRDL.g:1476:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment )
+ int alt23=3;
switch ( input.LA(1) ) {
case 19:
{
- alt25=1;
+ alt23=1;
}
break;
- case 25:
- case 37:
+ case 35:
+ case 36:
case 38:
case 49:
case 50:
@@ -3685,73 +3863,101 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
case 133:
case 134:
{
- alt25=2;
+ alt23=2;
}
break;
case RULE_ID:
{
- alt25=3;
+ alt23=3;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 25, 0, input);
+ new NoViableAltException("", 23, 0, input);
throw nvae;
}
- switch (alt25) {
+ switch (alt23) {
case 1 :
- // InternalRDL.g:1482:3: this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment
+ // InternalRDL.g:1477:3: this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
-
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0());
+
+ }
pushFollow(FOLLOW_2);
this_DefaultProperyAssignment_0=ruleDefaultProperyAssignment();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- current = this_DefaultProperyAssignment_0;
- afterParserOrEnumRuleCall();
-
+ current = this_DefaultProperyAssignment_0;
+ afterParserOrEnumRuleCall();
+
+ }
}
break;
case 2 :
- // InternalRDL.g:1491:3: this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment
+ // InternalRDL.g:1489:3: this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
-
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+
+ }
pushFollow(FOLLOW_2);
this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- current = this_ExplicitPropertyAssignment_1;
- afterParserOrEnumRuleCall();
-
+ current = this_ExplicitPropertyAssignment_1;
+ afterParserOrEnumRuleCall();
+
+ }
}
break;
case 3 :
- // InternalRDL.g:1500:3: this_PostPropertyAssignment_2= rulePostPropertyAssignment
+ // InternalRDL.g:1501:3: this_PostPropertyAssignment_2= rulePostPropertyAssignment
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
-
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2());
+
+ }
pushFollow(FOLLOW_2);
this_PostPropertyAssignment_2=rulePostPropertyAssignment();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- current = this_PostPropertyAssignment_2;
- afterParserOrEnumRuleCall();
-
+ current = this_PostPropertyAssignment_2;
+ afterParserOrEnumRuleCall();
+
+ }
}
break;
@@ -3761,9 +3967,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -3778,7 +3986,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDefaultProperyAssignment"
- // InternalRDL.g:1512:1: entryRuleDefaultProperyAssignment returns [EObject current=null] : iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF ;
+ // InternalRDL.g:1516:1: entryRuleDefaultProperyAssignment returns [EObject current=null] : iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF ;
public final EObject entryRuleDefaultProperyAssignment() throws RecognitionException {
EObject current = null;
@@ -3786,17 +3994,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1512:65: (iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF )
- // InternalRDL.g:1513:2: iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF
+ // InternalRDL.g:1516:65: (iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF )
+ // InternalRDL.g:1517:2: iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF
{
- newCompositeNode(grammarAccess.getDefaultProperyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getDefaultProperyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleDefaultProperyAssignment=ruleDefaultProperyAssignment();
state._fsp--;
-
- current =iv_ruleDefaultProperyAssignment;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleDefaultProperyAssignment;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -3814,7 +4026,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDefaultProperyAssignment"
- // InternalRDL.g:1519:1: ruleDefaultProperyAssignment returns [EObject current=null] : (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) ;
+ // InternalRDL.g:1523:1: ruleDefaultProperyAssignment returns [EObject current=null] : (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) ;
public final EObject ruleDefaultProperyAssignment() throws RecognitionException {
EObject current = null;
@@ -3826,37 +4038,50 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1525:2: ( (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) )
- // InternalRDL.g:1526:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment )
+ // InternalRDL.g:1529:2: ( (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) )
+ // InternalRDL.g:1530:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment )
{
- // InternalRDL.g:1526:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment )
- // InternalRDL.g:1527:3: otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment
+ // InternalRDL.g:1530:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment )
+ // InternalRDL.g:1531:3: otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment
{
- otherlv_0=(Token)match(input,19,FOLLOW_35);
+ otherlv_0=(Token)match(input,19,FOLLOW_33); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
-
+ newLeafNode(otherlv_0, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0());
+
+ }
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
-
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1());
+
+ }
pushFollow(FOLLOW_2);
this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- current = this_ExplicitPropertyAssignment_1;
- afterParserOrEnumRuleCall();
-
+ current = this_ExplicitPropertyAssignment_1;
+ afterParserOrEnumRuleCall();
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -3871,7 +4096,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExplicitPropertyAssignment"
- // InternalRDL.g:1543:1: entryRuleExplicitPropertyAssignment returns [EObject current=null] : iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF ;
+ // InternalRDL.g:1550:1: entryRuleExplicitPropertyAssignment returns [EObject current=null] : iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF ;
public final EObject entryRuleExplicitPropertyAssignment() throws RecognitionException {
EObject current = null;
@@ -3879,17 +4104,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1543:67: (iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF )
- // InternalRDL.g:1544:2: iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF
+ // InternalRDL.g:1550:67: (iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF )
+ // InternalRDL.g:1551:2: iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF
{
- newCompositeNode(grammarAccess.getExplicitPropertyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleExplicitPropertyAssignment=ruleExplicitPropertyAssignment();
state._fsp--;
-
- current =iv_ruleExplicitPropertyAssignment;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleExplicitPropertyAssignment;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -3907,118 +4136,121 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExplicitPropertyAssignment"
- // InternalRDL.g:1550:1: ruleExplicitPropertyAssignment returns [EObject current=null] : ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' ) | ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' ) ) ;
+ // InternalRDL.g:1557:1: ruleExplicitPropertyAssignment returns [EObject current=null] : ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) ) ;
public final EObject ruleExplicitPropertyAssignment() throws RecognitionException {
EObject current = null;
- Token otherlv_2=null;
- Token otherlv_4=null;
- Token otherlv_6=null;
+ Token otherlv_3=null;
Enumerator lv_modifier_0_0 = null;
Enumerator lv_name_1_0 = null;
- Enumerator lv_name_3_0 = null;
+ Enumerator lv_name_2_0 = null;
- EObject lv_rhs_5_0 = null;
+ EObject lv_rhs_4_0 = null;
enterRule();
try {
- // InternalRDL.g:1556:2: ( ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' ) | ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' ) ) )
- // InternalRDL.g:1557:2: ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' ) | ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' ) )
+ // InternalRDL.g:1563:2: ( ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) ) )
+ // InternalRDL.g:1564:2: ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) )
{
- // InternalRDL.g:1557:2: ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' ) | ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' ) )
- int alt27=2;
- int LA27_0 = input.LA(1);
+ // InternalRDL.g:1564:2: ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) )
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA27_0==121||(LA27_0>=130 && LA27_0<=134)) ) {
- alt27=1;
+ if ( (LA25_0==121||(LA25_0>=130 && LA25_0<=134)) ) {
+ alt25=1;
}
- else if ( (LA27_0==25||(LA27_0>=37 && LA27_0<=38)||(LA27_0>=49 && LA27_0<=120)) ) {
- alt27=2;
+ else if ( ((LA25_0>=35 && LA25_0<=36)||LA25_0==38||(LA25_0>=49 && LA25_0<=120)) ) {
+ alt25=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 27, 0, input);
+ new NoViableAltException("", 25, 0, input);
throw nvae;
}
- switch (alt27) {
+ switch (alt25) {
case 1 :
- // InternalRDL.g:1558:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' )
+ // InternalRDL.g:1565:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) )
{
- // InternalRDL.g:1558:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' )
- // InternalRDL.g:1559:4: ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';'
+ // InternalRDL.g:1565:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) )
+ // InternalRDL.g:1566:4: ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) )
{
- // InternalRDL.g:1559:4: ( (lv_modifier_0_0= rulePropertyModifier ) )
- // InternalRDL.g:1560:5: (lv_modifier_0_0= rulePropertyModifier )
+ // InternalRDL.g:1566:4: ( (lv_modifier_0_0= rulePropertyModifier ) )
+ // InternalRDL.g:1567:5: (lv_modifier_0_0= rulePropertyModifier )
{
- // InternalRDL.g:1560:5: (lv_modifier_0_0= rulePropertyModifier )
- // InternalRDL.g:1561:6: lv_modifier_0_0= rulePropertyModifier
+ // InternalRDL.g:1567:5: (lv_modifier_0_0= rulePropertyModifier )
+ // InternalRDL.g:1568:6: lv_modifier_0_0= rulePropertyModifier
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0());
-
- pushFollow(FOLLOW_35);
+ newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0());
+
+ }
+ pushFollow(FOLLOW_33);
lv_modifier_0_0=rulePropertyModifier();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
- }
- set(
- current,
- "modifier",
- lv_modifier_0_0,
- "com.minres.rdl.RDL.PropertyModifier");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "modifier",
+ lv_modifier_0_0,
+ "com.minres.rdl.RDL.PropertyModifier");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:1578:4: ( (lv_name_1_0= ruleProperty ) )
- // InternalRDL.g:1579:5: (lv_name_1_0= ruleProperty )
+ // InternalRDL.g:1585:4: ( (lv_name_1_0= ruleProperty ) )
+ // InternalRDL.g:1586:5: (lv_name_1_0= ruleProperty )
{
- // InternalRDL.g:1579:5: (lv_name_1_0= ruleProperty )
- // InternalRDL.g:1580:6: lv_name_1_0= ruleProperty
+ // InternalRDL.g:1586:5: (lv_name_1_0= ruleProperty )
+ // InternalRDL.g:1587:6: lv_name_1_0= ruleProperty
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
lv_name_1_0=ruleProperty();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
- }
- set(
- current,
- "name",
- lv_name_1_0,
- "com.minres.rdl.RDL.Property");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_1_0,
+ "com.minres.rdl.RDL.Property");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_2=(Token)match(input,17,FOLLOW_2);
-
- newLeafNode(otherlv_2, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2());
-
}
@@ -4026,82 +4258,92 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:1603:3: ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' )
+ // InternalRDL.g:1606:3: ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? )
{
- // InternalRDL.g:1603:3: ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' )
- // InternalRDL.g:1604:4: ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';'
+ // InternalRDL.g:1606:3: ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? )
+ // InternalRDL.g:1607:4: ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )?
{
- // InternalRDL.g:1604:4: ( (lv_name_3_0= ruleProperty ) )
- // InternalRDL.g:1605:5: (lv_name_3_0= ruleProperty )
+ // InternalRDL.g:1607:4: ( (lv_name_2_0= ruleProperty ) )
+ // InternalRDL.g:1608:5: (lv_name_2_0= ruleProperty )
{
- // InternalRDL.g:1605:5: (lv_name_3_0= ruleProperty )
- // InternalRDL.g:1606:6: lv_name_3_0= ruleProperty
+ // InternalRDL.g:1608:5: (lv_name_2_0= ruleProperty )
+ // InternalRDL.g:1609:6: lv_name_2_0= ruleProperty
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
-
- pushFollow(FOLLOW_36);
- lv_name_3_0=ruleProperty();
+ newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0());
+
+ }
+ pushFollow(FOLLOW_34);
+ lv_name_2_0=ruleProperty();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
- }
- set(
- current,
- "name",
- lv_name_3_0,
- "com.minres.rdl.RDL.Property");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "com.minres.rdl.RDL.Property");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:1623:4: (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )?
- int alt26=2;
- int LA26_0 = input.LA(1);
+ // InternalRDL.g:1626:4: (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )?
+ int alt24=2;
+ int LA24_0 = input.LA(1);
- if ( (LA26_0==16) ) {
- alt26=1;
+ if ( (LA24_0==17) ) {
+ alt24=1;
}
- switch (alt26) {
+ switch (alt24) {
case 1 :
- // InternalRDL.g:1624:5: otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) )
+ // InternalRDL.g:1627:5: otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) )
{
- otherlv_4=(Token)match(input,16,FOLLOW_37);
+ otherlv_3=(Token)match(input,17,FOLLOW_35); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_4, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
-
- // InternalRDL.g:1628:5: ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) )
- // InternalRDL.g:1629:6: (lv_rhs_5_0= rulePropertyAssignmentRhs )
+ newLeafNode(otherlv_3, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0());
+
+ }
+ // InternalRDL.g:1631:5: ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) )
+ // InternalRDL.g:1632:6: (lv_rhs_4_0= rulePropertyAssignmentRhs )
{
- // InternalRDL.g:1629:6: (lv_rhs_5_0= rulePropertyAssignmentRhs )
- // InternalRDL.g:1630:7: lv_rhs_5_0= rulePropertyAssignmentRhs
+ // InternalRDL.g:1632:6: (lv_rhs_4_0= rulePropertyAssignmentRhs )
+ // InternalRDL.g:1633:7: lv_rhs_4_0= rulePropertyAssignmentRhs
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
-
- pushFollow(FOLLOW_10);
- lv_rhs_5_0=rulePropertyAssignmentRhs();
+ newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_rhs_4_0=rulePropertyAssignmentRhs();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
- }
- set(
- current,
- "rhs",
- lv_rhs_5_0,
- "com.minres.rdl.RDL.PropertyAssignmentRhs");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "rhs",
+ lv_rhs_4_0,
+ "com.minres.rdl.RDL.PropertyAssignmentRhs");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -4114,10 +4356,6 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_6=(Token)match(input,17,FOLLOW_2);
-
- newLeafNode(otherlv_6, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2());
-
}
@@ -4130,9 +4368,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -4147,7 +4387,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePostPropertyAssignment"
- // InternalRDL.g:1657:1: entryRulePostPropertyAssignment returns [EObject current=null] : iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF ;
+ // InternalRDL.g:1656:1: entryRulePostPropertyAssignment returns [EObject current=null] : iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF ;
public final EObject entryRulePostPropertyAssignment() throws RecognitionException {
EObject current = null;
@@ -4155,17 +4395,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1657:63: (iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF )
- // InternalRDL.g:1658:2: iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF
+ // InternalRDL.g:1656:63: (iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF )
+ // InternalRDL.g:1657:2: iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF
{
- newCompositeNode(grammarAccess.getPostPropertyAssignmentRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPostPropertyAssignmentRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePostPropertyAssignment=rulePostPropertyAssignment();
state._fsp--;
-
- current =iv_rulePostPropertyAssignment;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePostPropertyAssignment;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -4183,7 +4427,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePostPropertyAssignment"
- // InternalRDL.g:1664:1: rulePostPropertyAssignment returns [EObject current=null] : ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? otherlv_7= ';' ) ;
+ // InternalRDL.g:1663:1: rulePostPropertyAssignment returns [EObject current=null] : ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? ) ;
public final EObject rulePostPropertyAssignment() throws RecognitionException {
EObject current = null;
@@ -4191,7 +4435,6 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
- Token otherlv_7=null;
EObject lv_instance_0_0 = null;
Enumerator lv_propertyEnum_2_0 = null;
@@ -4203,125 +4446,138 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1670:2: ( ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? otherlv_7= ';' ) )
- // InternalRDL.g:1671:2: ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? otherlv_7= ';' )
+ // InternalRDL.g:1669:2: ( ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? ) )
+ // InternalRDL.g:1670:2: ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? )
{
- // InternalRDL.g:1671:2: ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? otherlv_7= ';' )
- // InternalRDL.g:1672:3: ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? otherlv_7= ';'
+ // InternalRDL.g:1670:2: ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? )
+ // InternalRDL.g:1671:3: ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )?
{
- // InternalRDL.g:1672:3: ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) )
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // InternalRDL.g:1671:3: ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) )
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- if ( (LA29_0==RULE_ID) ) {
- int LA29_1 = input.LA(2);
+ if ( (LA27_0==RULE_ID) ) {
+ int LA27_1 = input.LA(2);
- if ( ((LA29_1>=16 && LA29_1<=17)) ) {
- alt29=2;
+ if ( (LA27_1==EOF||LA27_1==12||LA27_1==17) ) {
+ alt27=2;
}
- else if ( ((LA29_1>=34 && LA29_1<=35)) ) {
- alt29=1;
+ else if ( ((LA27_1>=32 && LA27_1<=33)) ) {
+ alt27=1;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 29, 1, input);
+ new NoViableAltException("", 27, 1, input);
throw nvae;
}
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 29, 0, input);
+ new NoViableAltException("", 27, 0, input);
throw nvae;
}
- switch (alt29) {
+ switch (alt27) {
case 1 :
- // InternalRDL.g:1673:4: ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )
+ // InternalRDL.g:1672:4: ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )
{
- // InternalRDL.g:1673:4: ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )
- // InternalRDL.g:1674:5: ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
+ // InternalRDL.g:1672:4: ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )
+ // InternalRDL.g:1673:5: ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
{
- // InternalRDL.g:1674:5: ( (lv_instance_0_0= ruleHierInstanceRef ) )
- // InternalRDL.g:1675:6: (lv_instance_0_0= ruleHierInstanceRef )
+ // InternalRDL.g:1673:5: ( (lv_instance_0_0= ruleHierInstanceRef ) )
+ // InternalRDL.g:1674:6: (lv_instance_0_0= ruleHierInstanceRef )
{
- // InternalRDL.g:1675:6: (lv_instance_0_0= ruleHierInstanceRef )
- // InternalRDL.g:1676:7: lv_instance_0_0= ruleHierInstanceRef
+ // InternalRDL.g:1674:6: (lv_instance_0_0= ruleHierInstanceRef )
+ // InternalRDL.g:1675:7: lv_instance_0_0= ruleHierInstanceRef
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0());
-
- pushFollow(FOLLOW_38);
+ newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0());
+
+ }
+ pushFollow(FOLLOW_36);
lv_instance_0_0=ruleHierInstanceRef();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule());
- }
- set(
- current,
- "instance",
- lv_instance_0_0,
- "com.minres.rdl.RDL.HierInstanceRef");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "instance",
+ lv_instance_0_0,
+ "com.minres.rdl.RDL.HierInstanceRef");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- otherlv_1=(Token)match(input,34,FOLLOW_39);
+ otherlv_1=(Token)match(input,32,FOLLOW_37); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1());
-
- // InternalRDL.g:1697:5: ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
- int alt28=2;
- int LA28_0 = input.LA(1);
-
- if ( (LA28_0==25||(LA28_0>=37 && LA28_0<=38)||(LA28_0>=49 && LA28_0<=120)) ) {
- alt28=1;
+ newLeafNode(otherlv_1, grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1());
+
}
- else if ( (LA28_0==RULE_ID) ) {
- alt28=2;
+ // InternalRDL.g:1696:5: ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
+ int alt26=2;
+ int LA26_0 = input.LA(1);
+
+ if ( ((LA26_0>=35 && LA26_0<=36)||LA26_0==38||(LA26_0>=49 && LA26_0<=120)) ) {
+ alt26=1;
+ }
+ else if ( (LA26_0==RULE_ID) ) {
+ alt26=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 28, 0, input);
+ new NoViableAltException("", 26, 0, input);
throw nvae;
}
- switch (alt28) {
+ switch (alt26) {
case 1 :
- // InternalRDL.g:1698:6: ( (lv_propertyEnum_2_0= ruleProperty ) )
+ // InternalRDL.g:1697:6: ( (lv_propertyEnum_2_0= ruleProperty ) )
{
- // InternalRDL.g:1698:6: ( (lv_propertyEnum_2_0= ruleProperty ) )
- // InternalRDL.g:1699:7: (lv_propertyEnum_2_0= ruleProperty )
+ // InternalRDL.g:1697:6: ( (lv_propertyEnum_2_0= ruleProperty ) )
+ // InternalRDL.g:1698:7: (lv_propertyEnum_2_0= ruleProperty )
{
- // InternalRDL.g:1699:7: (lv_propertyEnum_2_0= ruleProperty )
- // InternalRDL.g:1700:8: lv_propertyEnum_2_0= ruleProperty
+ // InternalRDL.g:1698:7: (lv_propertyEnum_2_0= ruleProperty )
+ // InternalRDL.g:1699:8: lv_propertyEnum_2_0= ruleProperty
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0());
-
- pushFollow(FOLLOW_36);
+ newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0());
+
+ }
+ pushFollow(FOLLOW_34);
lv_propertyEnum_2_0=ruleProperty();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule());
- }
- set(
- current,
- "propertyEnum",
- lv_propertyEnum_2_0,
- "com.minres.rdl.RDL.Property");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "propertyEnum",
+ lv_propertyEnum_2_0,
+ "com.minres.rdl.RDL.Property");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -4332,23 +4588,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:1718:6: ( (otherlv_3= RULE_ID ) )
+ // InternalRDL.g:1717:6: ( (otherlv_3= RULE_ID ) )
{
- // InternalRDL.g:1718:6: ( (otherlv_3= RULE_ID ) )
- // InternalRDL.g:1719:7: (otherlv_3= RULE_ID )
+ // InternalRDL.g:1717:6: ( (otherlv_3= RULE_ID ) )
+ // InternalRDL.g:1718:7: (otherlv_3= RULE_ID )
{
- // InternalRDL.g:1719:7: (otherlv_3= RULE_ID )
- // InternalRDL.g:1720:8: otherlv_3= RULE_ID
+ // InternalRDL.g:1718:7: (otherlv_3= RULE_ID )
+ // InternalRDL.g:1719:8: otherlv_3= RULE_ID
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPostPropertyAssignmentRule());
- }
-
- otherlv_3=(Token)match(input,RULE_ID,FOLLOW_36);
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0());
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPostPropertyAssignmentRule());
+ }
+
+ }
+ otherlv_3=(Token)match(input,RULE_ID,FOLLOW_34); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0());
+
+ }
}
@@ -4368,23 +4633,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:1734:4: ( (otherlv_4= RULE_ID ) )
+ // InternalRDL.g:1736:4: ( (otherlv_4= RULE_ID ) )
{
- // InternalRDL.g:1734:4: ( (otherlv_4= RULE_ID ) )
- // InternalRDL.g:1735:5: (otherlv_4= RULE_ID )
+ // InternalRDL.g:1736:4: ( (otherlv_4= RULE_ID ) )
+ // InternalRDL.g:1737:5: (otherlv_4= RULE_ID )
{
- // InternalRDL.g:1735:5: (otherlv_4= RULE_ID )
- // InternalRDL.g:1736:6: otherlv_4= RULE_ID
+ // InternalRDL.g:1737:5: (otherlv_4= RULE_ID )
+ // InternalRDL.g:1738:6: otherlv_4= RULE_ID
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPostPropertyAssignmentRule());
- }
-
- otherlv_4=(Token)match(input,RULE_ID,FOLLOW_36);
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_4, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0());
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPostPropertyAssignmentRule());
+ }
+
+ }
+ otherlv_4=(Token)match(input,RULE_ID,FOLLOW_34); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0());
+
+ }
}
@@ -4397,46 +4671,52 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- // InternalRDL.g:1748:3: (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )?
- int alt30=2;
- int LA30_0 = input.LA(1);
+ // InternalRDL.g:1753:3: (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )?
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA30_0==16) ) {
- alt30=1;
+ if ( (LA28_0==17) ) {
+ alt28=1;
}
- switch (alt30) {
+ switch (alt28) {
case 1 :
- // InternalRDL.g:1749:4: otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) )
+ // InternalRDL.g:1754:4: otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) )
{
- otherlv_5=(Token)match(input,16,FOLLOW_37);
+ otherlv_5=(Token)match(input,17,FOLLOW_35); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_5, grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0());
-
- // InternalRDL.g:1753:4: ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) )
- // InternalRDL.g:1754:5: (lv_rhs_6_0= rulePropertyAssignmentRhs )
+ newLeafNode(otherlv_5, grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0());
+
+ }
+ // InternalRDL.g:1758:4: ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) )
+ // InternalRDL.g:1759:5: (lv_rhs_6_0= rulePropertyAssignmentRhs )
{
- // InternalRDL.g:1754:5: (lv_rhs_6_0= rulePropertyAssignmentRhs )
- // InternalRDL.g:1755:6: lv_rhs_6_0= rulePropertyAssignmentRhs
+ // InternalRDL.g:1759:5: (lv_rhs_6_0= rulePropertyAssignmentRhs )
+ // InternalRDL.g:1760:6: lv_rhs_6_0= rulePropertyAssignmentRhs
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
lv_rhs_6_0=rulePropertyAssignmentRhs();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule());
- }
- set(
- current,
- "rhs",
- lv_rhs_6_0,
- "com.minres.rdl.RDL.PropertyAssignmentRhs");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule());
+ }
+ set(
+ current,
+ "rhs",
+ lv_rhs_6_0,
+ "com.minres.rdl.RDL.PropertyAssignmentRhs");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -4449,19 +4729,17 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_7=(Token)match(input,17,FOLLOW_2);
-
- newLeafNode(otherlv_7, grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2());
-
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -4476,7 +4754,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInstancePropertyRef"
- // InternalRDL.g:1781:1: entryRuleInstancePropertyRef returns [EObject current=null] : iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF ;
+ // InternalRDL.g:1782:1: entryRuleInstancePropertyRef returns [EObject current=null] : iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF ;
public final EObject entryRuleInstancePropertyRef() throws RecognitionException {
EObject current = null;
@@ -4484,17 +4762,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1781:60: (iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF )
- // InternalRDL.g:1782:2: iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF
+ // InternalRDL.g:1782:60: (iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF )
+ // InternalRDL.g:1783:2: iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF
{
- newCompositeNode(grammarAccess.getInstancePropertyRefRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getInstancePropertyRefRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleInstancePropertyRef=ruleInstancePropertyRef();
state._fsp--;
-
- current =iv_ruleInstancePropertyRef;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleInstancePropertyRef;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -4512,7 +4794,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInstancePropertyRef"
- // InternalRDL.g:1788:1: ruleInstancePropertyRef returns [EObject current=null] : ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) ;
+ // InternalRDL.g:1789:1: ruleInstancePropertyRef returns [EObject current=null] : ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) ;
public final EObject ruleInstancePropertyRef() throws RecognitionException {
EObject current = null;
@@ -4527,103 +4809,114 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1794:2: ( ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) )
- // InternalRDL.g:1795:2: ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? )
+ // InternalRDL.g:1795:2: ( ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) )
+ // InternalRDL.g:1796:2: ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? )
{
- // InternalRDL.g:1795:2: ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? )
- // InternalRDL.g:1796:3: ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )?
+ // InternalRDL.g:1796:2: ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? )
+ // InternalRDL.g:1797:3: ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )?
{
- // InternalRDL.g:1796:3: ( (lv_instance_0_0= ruleInstanceRef ) )
- // InternalRDL.g:1797:4: (lv_instance_0_0= ruleInstanceRef )
+ // InternalRDL.g:1797:3: ( (lv_instance_0_0= ruleInstanceRef ) )
+ // InternalRDL.g:1798:4: (lv_instance_0_0= ruleInstanceRef )
{
- // InternalRDL.g:1797:4: (lv_instance_0_0= ruleInstanceRef )
- // InternalRDL.g:1798:5: lv_instance_0_0= ruleInstanceRef
+ // InternalRDL.g:1798:4: (lv_instance_0_0= ruleInstanceRef )
+ // InternalRDL.g:1799:5: lv_instance_0_0= ruleInstanceRef
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0());
-
- pushFollow(FOLLOW_40);
+ newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0());
+
+ }
+ pushFollow(FOLLOW_38);
lv_instance_0_0=ruleInstanceRef();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule());
- }
- set(
- current,
- "instance",
- lv_instance_0_0,
- "com.minres.rdl.RDL.InstanceRef");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule());
+ }
+ set(
+ current,
+ "instance",
+ lv_instance_0_0,
+ "com.minres.rdl.RDL.InstanceRef");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:1815:3: (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )?
- int alt32=2;
- int LA32_0 = input.LA(1);
+ // InternalRDL.g:1816:3: (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
- if ( (LA32_0==34) ) {
- alt32=1;
+ if ( (LA30_0==32) ) {
+ alt30=1;
}
- switch (alt32) {
+ switch (alt30) {
case 1 :
- // InternalRDL.g:1816:4: otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
+ // InternalRDL.g:1817:4: otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
{
- otherlv_1=(Token)match(input,34,FOLLOW_39);
+ otherlv_1=(Token)match(input,32,FOLLOW_37); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0());
-
- // InternalRDL.g:1820:4: ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
- int alt31=2;
- int LA31_0 = input.LA(1);
-
- if ( (LA31_0==25||(LA31_0>=37 && LA31_0<=38)||(LA31_0>=49 && LA31_0<=120)) ) {
- alt31=1;
+ newLeafNode(otherlv_1, grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0());
+
}
- else if ( (LA31_0==RULE_ID) ) {
- alt31=2;
+ // InternalRDL.g:1821:4: ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) )
+ int alt29=2;
+ int LA29_0 = input.LA(1);
+
+ if ( ((LA29_0>=35 && LA29_0<=36)||LA29_0==38||(LA29_0>=49 && LA29_0<=120)) ) {
+ alt29=1;
+ }
+ else if ( (LA29_0==RULE_ID) ) {
+ alt29=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 31, 0, input);
+ new NoViableAltException("", 29, 0, input);
throw nvae;
}
- switch (alt31) {
+ switch (alt29) {
case 1 :
- // InternalRDL.g:1821:5: ( (lv_propertyEnum_2_0= ruleProperty ) )
+ // InternalRDL.g:1822:5: ( (lv_propertyEnum_2_0= ruleProperty ) )
{
- // InternalRDL.g:1821:5: ( (lv_propertyEnum_2_0= ruleProperty ) )
- // InternalRDL.g:1822:6: (lv_propertyEnum_2_0= ruleProperty )
+ // InternalRDL.g:1822:5: ( (lv_propertyEnum_2_0= ruleProperty ) )
+ // InternalRDL.g:1823:6: (lv_propertyEnum_2_0= ruleProperty )
{
- // InternalRDL.g:1822:6: (lv_propertyEnum_2_0= ruleProperty )
- // InternalRDL.g:1823:7: lv_propertyEnum_2_0= ruleProperty
+ // InternalRDL.g:1823:6: (lv_propertyEnum_2_0= ruleProperty )
+ // InternalRDL.g:1824:7: lv_propertyEnum_2_0= ruleProperty
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0());
-
+ newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0());
+
+ }
pushFollow(FOLLOW_2);
lv_propertyEnum_2_0=ruleProperty();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule());
- }
- set(
- current,
- "propertyEnum",
- lv_propertyEnum_2_0,
- "com.minres.rdl.RDL.Property");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule());
+ }
+ set(
+ current,
+ "propertyEnum",
+ lv_propertyEnum_2_0,
+ "com.minres.rdl.RDL.Property");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -4634,23 +4927,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:1841:5: ( (otherlv_3= RULE_ID ) )
+ // InternalRDL.g:1842:5: ( (otherlv_3= RULE_ID ) )
{
- // InternalRDL.g:1841:5: ( (otherlv_3= RULE_ID ) )
- // InternalRDL.g:1842:6: (otherlv_3= RULE_ID )
+ // InternalRDL.g:1842:5: ( (otherlv_3= RULE_ID ) )
+ // InternalRDL.g:1843:6: (otherlv_3= RULE_ID )
{
- // InternalRDL.g:1842:6: (otherlv_3= RULE_ID )
- // InternalRDL.g:1843:7: otherlv_3= RULE_ID
+ // InternalRDL.g:1843:6: (otherlv_3= RULE_ID )
+ // InternalRDL.g:1844:7: otherlv_3= RULE_ID
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getInstancePropertyRefRule());
- }
-
- otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2);
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0());
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getInstancePropertyRefRule());
+ }
+
+ }
+ otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0());
+
+ }
}
@@ -4675,9 +4977,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -4692,7 +4996,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInstanceRef"
- // InternalRDL.g:1860:1: entryRuleInstanceRef returns [EObject current=null] : iv_ruleInstanceRef= ruleInstanceRef EOF ;
+ // InternalRDL.g:1864:1: entryRuleInstanceRef returns [EObject current=null] : iv_ruleInstanceRef= ruleInstanceRef EOF ;
public final EObject entryRuleInstanceRef() throws RecognitionException {
EObject current = null;
@@ -4700,17 +5004,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1860:52: (iv_ruleInstanceRef= ruleInstanceRef EOF )
- // InternalRDL.g:1861:2: iv_ruleInstanceRef= ruleInstanceRef EOF
+ // InternalRDL.g:1864:52: (iv_ruleInstanceRef= ruleInstanceRef EOF )
+ // InternalRDL.g:1865:2: iv_ruleInstanceRef= ruleInstanceRef EOF
{
- newCompositeNode(grammarAccess.getInstanceRefRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getInstanceRefRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleInstanceRef=ruleInstanceRef();
state._fsp--;
-
- current =iv_ruleInstanceRef;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleInstanceRef;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -4728,7 +5036,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInstanceRef"
- // InternalRDL.g:1867:1: ruleInstanceRef returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ;
+ // InternalRDL.g:1871:1: ruleInstanceRef returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ;
public final EObject ruleInstanceRef() throws RecognitionException {
EObject current = null;
@@ -4741,73 +5049,88 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1873:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) )
- // InternalRDL.g:1874:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
+ // InternalRDL.g:1877:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) )
+ // InternalRDL.g:1878:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
{
- // InternalRDL.g:1874:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
- // InternalRDL.g:1875:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
+ // InternalRDL.g:1878:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
+ // InternalRDL.g:1879:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
{
- // InternalRDL.g:1875:3: ( (otherlv_0= RULE_ID ) )
- // InternalRDL.g:1876:4: (otherlv_0= RULE_ID )
+ // InternalRDL.g:1879:3: ( (otherlv_0= RULE_ID ) )
+ // InternalRDL.g:1880:4: (otherlv_0= RULE_ID )
{
- // InternalRDL.g:1876:4: (otherlv_0= RULE_ID )
- // InternalRDL.g:1877:5: otherlv_0= RULE_ID
+ // InternalRDL.g:1880:4: (otherlv_0= RULE_ID )
+ // InternalRDL.g:1881:5: otherlv_0= RULE_ID
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getInstanceRefRule());
- }
-
- otherlv_0=(Token)match(input,RULE_ID,FOLLOW_41);
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0());
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getInstanceRefRule());
+ }
+
+ }
+ otherlv_0=(Token)match(input,RULE_ID,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_0, grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0());
+
+ }
}
}
- // InternalRDL.g:1888:3: (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
- int alt33=2;
- int LA33_0 = input.LA(1);
+ // InternalRDL.g:1895:3: (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA33_0==35) ) {
- alt33=1;
+ if ( (LA31_0==33) ) {
+ alt31=1;
}
- switch (alt33) {
+ switch (alt31) {
case 1 :
- // InternalRDL.g:1889:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) )
+ // InternalRDL.g:1896:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) )
{
- otherlv_1=(Token)match(input,35,FOLLOW_5);
+ otherlv_1=(Token)match(input,33,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0());
-
- // InternalRDL.g:1893:4: ( (lv_tail_2_0= ruleHierInstanceRef ) )
- // InternalRDL.g:1894:5: (lv_tail_2_0= ruleHierInstanceRef )
+ newLeafNode(otherlv_1, grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0());
+
+ }
+ // InternalRDL.g:1900:4: ( (lv_tail_2_0= ruleHierInstanceRef ) )
+ // InternalRDL.g:1901:5: (lv_tail_2_0= ruleHierInstanceRef )
{
- // InternalRDL.g:1894:5: (lv_tail_2_0= ruleHierInstanceRef )
- // InternalRDL.g:1895:6: lv_tail_2_0= ruleHierInstanceRef
+ // InternalRDL.g:1901:5: (lv_tail_2_0= ruleHierInstanceRef )
+ // InternalRDL.g:1902:6: lv_tail_2_0= ruleHierInstanceRef
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
-
+ newCompositeNode(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+
+ }
pushFollow(FOLLOW_2);
lv_tail_2_0=ruleHierInstanceRef();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getInstanceRefRule());
- }
- set(
- current,
- "tail",
- lv_tail_2_0,
- "com.minres.rdl.RDL.HierInstanceRef");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getInstanceRefRule());
+ }
+ set(
+ current,
+ "tail",
+ lv_tail_2_0,
+ "com.minres.rdl.RDL.HierInstanceRef");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -4826,9 +5149,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -4843,7 +5168,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleHierInstanceRef"
- // InternalRDL.g:1917:1: entryRuleHierInstanceRef returns [EObject current=null] : iv_ruleHierInstanceRef= ruleHierInstanceRef EOF ;
+ // InternalRDL.g:1924:1: entryRuleHierInstanceRef returns [EObject current=null] : iv_ruleHierInstanceRef= ruleHierInstanceRef EOF ;
public final EObject entryRuleHierInstanceRef() throws RecognitionException {
EObject current = null;
@@ -4851,17 +5176,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1917:56: (iv_ruleHierInstanceRef= ruleHierInstanceRef EOF )
- // InternalRDL.g:1918:2: iv_ruleHierInstanceRef= ruleHierInstanceRef EOF
+ // InternalRDL.g:1924:56: (iv_ruleHierInstanceRef= ruleHierInstanceRef EOF )
+ // InternalRDL.g:1925:2: iv_ruleHierInstanceRef= ruleHierInstanceRef EOF
{
- newCompositeNode(grammarAccess.getHierInstanceRefRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getHierInstanceRefRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleHierInstanceRef=ruleHierInstanceRef();
state._fsp--;
-
- current =iv_ruleHierInstanceRef;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleHierInstanceRef;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -4879,7 +5208,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleHierInstanceRef"
- // InternalRDL.g:1924:1: ruleHierInstanceRef returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ;
+ // InternalRDL.g:1931:1: ruleHierInstanceRef returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ;
public final EObject ruleHierInstanceRef() throws RecognitionException {
EObject current = null;
@@ -4892,73 +5221,88 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1930:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) )
- // InternalRDL.g:1931:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
+ // InternalRDL.g:1937:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) )
+ // InternalRDL.g:1938:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
{
- // InternalRDL.g:1931:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
- // InternalRDL.g:1932:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
+ // InternalRDL.g:1938:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? )
+ // InternalRDL.g:1939:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
{
- // InternalRDL.g:1932:3: ( (otherlv_0= RULE_ID ) )
- // InternalRDL.g:1933:4: (otherlv_0= RULE_ID )
+ // InternalRDL.g:1939:3: ( (otherlv_0= RULE_ID ) )
+ // InternalRDL.g:1940:4: (otherlv_0= RULE_ID )
{
- // InternalRDL.g:1933:4: (otherlv_0= RULE_ID )
- // InternalRDL.g:1934:5: otherlv_0= RULE_ID
+ // InternalRDL.g:1940:4: (otherlv_0= RULE_ID )
+ // InternalRDL.g:1941:5: otherlv_0= RULE_ID
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getHierInstanceRefRule());
- }
-
- otherlv_0=(Token)match(input,RULE_ID,FOLLOW_41);
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0());
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getHierInstanceRefRule());
+ }
+
+ }
+ otherlv_0=(Token)match(input,RULE_ID,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_0, grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0());
+
+ }
}
}
- // InternalRDL.g:1945:3: (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
- int alt34=2;
- int LA34_0 = input.LA(1);
+ // InternalRDL.g:1955:3: (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )?
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- if ( (LA34_0==35) ) {
- alt34=1;
+ if ( (LA32_0==33) ) {
+ alt32=1;
}
- switch (alt34) {
+ switch (alt32) {
case 1 :
- // InternalRDL.g:1946:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) )
+ // InternalRDL.g:1956:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) )
{
- otherlv_1=(Token)match(input,35,FOLLOW_5);
+ otherlv_1=(Token)match(input,33,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0());
-
- // InternalRDL.g:1950:4: ( (lv_tail_2_0= ruleHierInstanceRef ) )
- // InternalRDL.g:1951:5: (lv_tail_2_0= ruleHierInstanceRef )
+ newLeafNode(otherlv_1, grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0());
+
+ }
+ // InternalRDL.g:1960:4: ( (lv_tail_2_0= ruleHierInstanceRef ) )
+ // InternalRDL.g:1961:5: (lv_tail_2_0= ruleHierInstanceRef )
{
- // InternalRDL.g:1951:5: (lv_tail_2_0= ruleHierInstanceRef )
- // InternalRDL.g:1952:6: lv_tail_2_0= ruleHierInstanceRef
+ // InternalRDL.g:1961:5: (lv_tail_2_0= ruleHierInstanceRef )
+ // InternalRDL.g:1962:6: lv_tail_2_0= ruleHierInstanceRef
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
-
+ newCompositeNode(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0());
+
+ }
pushFollow(FOLLOW_2);
lv_tail_2_0=ruleHierInstanceRef();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getHierInstanceRefRule());
- }
- set(
- current,
- "tail",
- lv_tail_2_0,
- "com.minres.rdl.RDL.HierInstanceRef");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getHierInstanceRefRule());
+ }
+ set(
+ current,
+ "tail",
+ lv_tail_2_0,
+ "com.minres.rdl.RDL.HierInstanceRef");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -4977,9 +5321,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -4994,7 +5340,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePropertyAssignmentRhs"
- // InternalRDL.g:1974:1: entryRulePropertyAssignmentRhs returns [EObject current=null] : iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF ;
+ // InternalRDL.g:1984:1: entryRulePropertyAssignmentRhs returns [EObject current=null] : iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF ;
public final EObject entryRulePropertyAssignmentRhs() throws RecognitionException {
EObject current = null;
@@ -5002,17 +5348,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:1974:62: (iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF )
- // InternalRDL.g:1975:2: iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF
+ // InternalRDL.g:1984:62: (iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF )
+ // InternalRDL.g:1985:2: iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF
{
- newCompositeNode(grammarAccess.getPropertyAssignmentRhsRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPropertyAssignmentRhsRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePropertyAssignmentRhs=rulePropertyAssignmentRhs();
state._fsp--;
-
- current =iv_rulePropertyAssignmentRhs;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePropertyAssignmentRhs;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -5030,7 +5380,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyAssignmentRhs"
- // InternalRDL.g:1981:1: rulePropertyAssignmentRhs returns [EObject current=null] : ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) ;
+ // InternalRDL.g:1991:1: rulePropertyAssignmentRhs returns [EObject current=null] : ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) ;
public final EObject rulePropertyAssignmentRhs() throws RecognitionException {
EObject current = null;
@@ -5049,11 +5399,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:1987:2: ( ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) )
- // InternalRDL.g:1988:2: ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) )
+ // InternalRDL.g:1997:2: ( ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) )
+ // InternalRDL.g:1998:2: ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) )
{
- // InternalRDL.g:1988:2: ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) )
- int alt35=4;
+ // InternalRDL.g:1998:2: ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) )
+ int alt33=4;
switch ( input.LA(1) ) {
case RULE_STR:
case RULE_NUM:
@@ -5071,68 +5421,74 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
case 128:
case 129:
{
- alt35=1;
+ alt33=1;
}
break;
case RULE_ID:
{
- int LA35_2 = input.LA(2);
+ int LA33_2 = input.LA(2);
- if ( (LA35_2==36) ) {
- alt35=3;
+ if ( (LA33_2==EOF||LA33_2==12||(LA33_2>=32 && LA33_2<=33)) ) {
+ alt33=2;
}
- else if ( (LA35_2==EOF||LA35_2==17||(LA35_2>=34 && LA35_2<=35)) ) {
- alt35=2;
+ else if ( (LA33_2==34) ) {
+ alt33=3;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 35, 2, input);
+ new NoViableAltException("", 33, 2, input);
throw nvae;
}
}
break;
- case 14:
+ case 15:
{
- alt35=4;
+ alt33=4;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 35, 0, input);
+ new NoViableAltException("", 33, 0, input);
throw nvae;
}
- switch (alt35) {
+ switch (alt33) {
case 1 :
- // InternalRDL.g:1989:3: ( (lv_value_0_0= rulePropertyRvalueConstant ) )
+ // InternalRDL.g:1999:3: ( (lv_value_0_0= rulePropertyRvalueConstant ) )
{
- // InternalRDL.g:1989:3: ( (lv_value_0_0= rulePropertyRvalueConstant ) )
- // InternalRDL.g:1990:4: (lv_value_0_0= rulePropertyRvalueConstant )
+ // InternalRDL.g:1999:3: ( (lv_value_0_0= rulePropertyRvalueConstant ) )
+ // InternalRDL.g:2000:4: (lv_value_0_0= rulePropertyRvalueConstant )
{
- // InternalRDL.g:1990:4: (lv_value_0_0= rulePropertyRvalueConstant )
- // InternalRDL.g:1991:5: lv_value_0_0= rulePropertyRvalueConstant
+ // InternalRDL.g:2000:4: (lv_value_0_0= rulePropertyRvalueConstant )
+ // InternalRDL.g:2001:5: lv_value_0_0= rulePropertyRvalueConstant
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0());
-
+ newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0());
+
+ }
pushFollow(FOLLOW_2);
lv_value_0_0=rulePropertyRvalueConstant();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
- }
- set(
- current,
- "value",
- lv_value_0_0,
- "com.minres.rdl.RDL.PropertyRvalueConstant");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_0_0,
+ "com.minres.rdl.RDL.PropertyRvalueConstant");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5143,33 +5499,37 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2009:3: ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) )
+ // InternalRDL.g:2019:3: ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) )
{
- // InternalRDL.g:2009:3: ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) )
- // InternalRDL.g:2010:4: (lv_instPropRef_1_0= ruleInstancePropertyRef )
+ // InternalRDL.g:2019:3: ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) )
+ // InternalRDL.g:2020:4: (lv_instPropRef_1_0= ruleInstancePropertyRef )
{
- // InternalRDL.g:2010:4: (lv_instPropRef_1_0= ruleInstancePropertyRef )
- // InternalRDL.g:2011:5: lv_instPropRef_1_0= ruleInstancePropertyRef
+ // InternalRDL.g:2020:4: (lv_instPropRef_1_0= ruleInstancePropertyRef )
+ // InternalRDL.g:2021:5: lv_instPropRef_1_0= ruleInstancePropertyRef
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0());
-
+ newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0());
+
+ }
pushFollow(FOLLOW_2);
lv_instPropRef_1_0=ruleInstancePropertyRef();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
- }
- set(
- current,
- "instPropRef",
- lv_instPropRef_1_0,
- "com.minres.rdl.RDL.InstancePropertyRef");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
+ }
+ set(
+ current,
+ "instPropRef",
+ lv_instPropRef_1_0,
+ "com.minres.rdl.RDL.InstancePropertyRef");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5180,61 +5540,76 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:2029:3: ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) )
+ // InternalRDL.g:2039:3: ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) )
{
- // InternalRDL.g:2029:3: ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) )
- // InternalRDL.g:2030:4: ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) )
+ // InternalRDL.g:2039:3: ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) )
+ // InternalRDL.g:2040:4: ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) )
{
- // InternalRDL.g:2030:4: ( (otherlv_2= RULE_ID ) )
- // InternalRDL.g:2031:5: (otherlv_2= RULE_ID )
+ // InternalRDL.g:2040:4: ( (otherlv_2= RULE_ID ) )
+ // InternalRDL.g:2041:5: (otherlv_2= RULE_ID )
{
- // InternalRDL.g:2031:5: (otherlv_2= RULE_ID )
- // InternalRDL.g:2032:6: otherlv_2= RULE_ID
+ // InternalRDL.g:2041:5: (otherlv_2= RULE_ID )
+ // InternalRDL.g:2042:6: otherlv_2= RULE_ID
{
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyAssignmentRhsRule());
- }
-
- otherlv_2=(Token)match(input,RULE_ID,FOLLOW_42);
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0());
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyAssignmentRhsRule());
+ }
+
+ }
+ otherlv_2=(Token)match(input,RULE_ID,FOLLOW_40); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0());
+
+ }
}
}
- otherlv_3=(Token)match(input,36,FOLLOW_6);
+ otherlv_3=(Token)match(input,34,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1());
-
- // InternalRDL.g:2047:4: ( (lv_enums_4_0= ruleEnumBody ) )
- // InternalRDL.g:2048:5: (lv_enums_4_0= ruleEnumBody )
+ newLeafNode(otherlv_3, grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1());
+
+ }
+ // InternalRDL.g:2060:4: ( (lv_enums_4_0= ruleEnumBody ) )
+ // InternalRDL.g:2061:5: (lv_enums_4_0= ruleEnumBody )
{
- // InternalRDL.g:2048:5: (lv_enums_4_0= ruleEnumBody )
- // InternalRDL.g:2049:6: lv_enums_4_0= ruleEnumBody
+ // InternalRDL.g:2061:5: (lv_enums_4_0= ruleEnumBody )
+ // InternalRDL.g:2062:6: lv_enums_4_0= ruleEnumBody
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0());
-
+ newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0());
+
+ }
pushFollow(FOLLOW_2);
lv_enums_4_0=ruleEnumBody();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
- }
- set(
- current,
- "enums",
- lv_enums_4_0,
- "com.minres.rdl.RDL.EnumBody");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
+ }
+ set(
+ current,
+ "enums",
+ lv_enums_4_0,
+ "com.minres.rdl.RDL.EnumBody");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5248,33 +5623,37 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:2068:3: ( (lv_elements_5_0= ruleConcat ) )
+ // InternalRDL.g:2081:3: ( (lv_elements_5_0= ruleConcat ) )
{
- // InternalRDL.g:2068:3: ( (lv_elements_5_0= ruleConcat ) )
- // InternalRDL.g:2069:4: (lv_elements_5_0= ruleConcat )
+ // InternalRDL.g:2081:3: ( (lv_elements_5_0= ruleConcat ) )
+ // InternalRDL.g:2082:4: (lv_elements_5_0= ruleConcat )
{
- // InternalRDL.g:2069:4: (lv_elements_5_0= ruleConcat )
- // InternalRDL.g:2070:5: lv_elements_5_0= ruleConcat
+ // InternalRDL.g:2082:4: (lv_elements_5_0= ruleConcat )
+ // InternalRDL.g:2083:5: lv_elements_5_0= ruleConcat
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0());
-
+ newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0());
+
+ }
pushFollow(FOLLOW_2);
lv_elements_5_0=ruleConcat();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
- }
- set(
- current,
- "elements",
- lv_elements_5_0,
- "com.minres.rdl.RDL.Concat");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule());
+ }
+ set(
+ current,
+ "elements",
+ lv_elements_5_0,
+ "com.minres.rdl.RDL.Concat");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5290,9 +5669,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -5307,7 +5688,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleConcat"
- // InternalRDL.g:2091:1: entryRuleConcat returns [EObject current=null] : iv_ruleConcat= ruleConcat EOF ;
+ // InternalRDL.g:2104:1: entryRuleConcat returns [EObject current=null] : iv_ruleConcat= ruleConcat EOF ;
public final EObject entryRuleConcat() throws RecognitionException {
EObject current = null;
@@ -5315,17 +5696,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2091:47: (iv_ruleConcat= ruleConcat EOF )
- // InternalRDL.g:2092:2: iv_ruleConcat= ruleConcat EOF
+ // InternalRDL.g:2104:47: (iv_ruleConcat= ruleConcat EOF )
+ // InternalRDL.g:2105:2: iv_ruleConcat= ruleConcat EOF
{
- newCompositeNode(grammarAccess.getConcatRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getConcatRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleConcat=ruleConcat();
state._fsp--;
-
- current =iv_ruleConcat;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleConcat;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -5343,7 +5728,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleConcat"
- // InternalRDL.g:2098:1: ruleConcat returns [EObject current=null] : (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) ;
+ // InternalRDL.g:2111:1: ruleConcat returns [EObject current=null] : (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) ;
public final EObject ruleConcat() throws RecognitionException {
EObject current = null;
@@ -5359,91 +5744,103 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2104:2: ( (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) )
- // InternalRDL.g:2105:2: (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' )
+ // InternalRDL.g:2117:2: ( (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) )
+ // InternalRDL.g:2118:2: (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' )
{
- // InternalRDL.g:2105:2: (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' )
- // InternalRDL.g:2106:3: otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}'
+ // InternalRDL.g:2118:2: (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' )
+ // InternalRDL.g:2119:3: otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}'
{
- otherlv_0=(Token)match(input,14,FOLLOW_43);
+ otherlv_0=(Token)match(input,15,FOLLOW_41); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0());
-
- // InternalRDL.g:2110:3: ( (lv_elements_1_0= ruleConcatElem ) )
- // InternalRDL.g:2111:4: (lv_elements_1_0= ruleConcatElem )
+ newLeafNode(otherlv_0, grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0());
+
+ }
+ // InternalRDL.g:2123:3: ( (lv_elements_1_0= ruleConcatElem ) )
+ // InternalRDL.g:2124:4: (lv_elements_1_0= ruleConcatElem )
{
- // InternalRDL.g:2111:4: (lv_elements_1_0= ruleConcatElem )
- // InternalRDL.g:2112:5: lv_elements_1_0= ruleConcatElem
+ // InternalRDL.g:2124:4: (lv_elements_1_0= ruleConcatElem )
+ // InternalRDL.g:2125:5: lv_elements_1_0= ruleConcatElem
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0());
-
- pushFollow(FOLLOW_44);
+ newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_42);
lv_elements_1_0=ruleConcatElem();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConcatRule());
- }
- add(
- current,
- "elements",
- lv_elements_1_0,
- "com.minres.rdl.RDL.ConcatElem");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConcatRule());
+ }
+ add(
+ current,
+ "elements",
+ lv_elements_1_0,
+ "com.minres.rdl.RDL.ConcatElem");
+ afterParserOrEnumRuleCall();
+
+ }
}
}
- // InternalRDL.g:2129:3: (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )*
- loop36:
+ // InternalRDL.g:2142:3: (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )*
+ loop34:
do {
- int alt36=2;
- int LA36_0 = input.LA(1);
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- if ( (LA36_0==27) ) {
- alt36=1;
+ if ( (LA34_0==25) ) {
+ alt34=1;
}
- switch (alt36) {
+ switch (alt34) {
case 1 :
- // InternalRDL.g:2130:4: otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) )
+ // InternalRDL.g:2143:4: otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) )
{
- otherlv_2=(Token)match(input,27,FOLLOW_43);
+ otherlv_2=(Token)match(input,25,FOLLOW_41); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getConcatAccess().getCommaKeyword_2_0());
-
- // InternalRDL.g:2134:4: ( (lv_elements_3_0= ruleConcatElem ) )
- // InternalRDL.g:2135:5: (lv_elements_3_0= ruleConcatElem )
+ newLeafNode(otherlv_2, grammarAccess.getConcatAccess().getCommaKeyword_2_0());
+
+ }
+ // InternalRDL.g:2147:4: ( (lv_elements_3_0= ruleConcatElem ) )
+ // InternalRDL.g:2148:5: (lv_elements_3_0= ruleConcatElem )
{
- // InternalRDL.g:2135:5: (lv_elements_3_0= ruleConcatElem )
- // InternalRDL.g:2136:6: lv_elements_3_0= ruleConcatElem
+ // InternalRDL.g:2148:5: (lv_elements_3_0= ruleConcatElem )
+ // InternalRDL.g:2149:6: lv_elements_3_0= ruleConcatElem
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_44);
+ newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0());
+
+ }
+ pushFollow(FOLLOW_42);
lv_elements_3_0=ruleConcatElem();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConcatRule());
- }
- add(
- current,
- "elements",
- lv_elements_3_0,
- "com.minres.rdl.RDL.ConcatElem");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConcatRule());
+ }
+ add(
+ current,
+ "elements",
+ lv_elements_3_0,
+ "com.minres.rdl.RDL.ConcatElem");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5455,23 +5852,27 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
break;
default :
- break loop36;
+ break loop34;
}
} while (true);
- otherlv_4=(Token)match(input,18,FOLLOW_2);
+ otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_4, grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3());
-
+ newLeafNode(otherlv_4, grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -5486,7 +5887,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleConcatElem"
- // InternalRDL.g:2162:1: entryRuleConcatElem returns [EObject current=null] : iv_ruleConcatElem= ruleConcatElem EOF ;
+ // InternalRDL.g:2175:1: entryRuleConcatElem returns [EObject current=null] : iv_ruleConcatElem= ruleConcatElem EOF ;
public final EObject entryRuleConcatElem() throws RecognitionException {
EObject current = null;
@@ -5494,17 +5895,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2162:51: (iv_ruleConcatElem= ruleConcatElem EOF )
- // InternalRDL.g:2163:2: iv_ruleConcatElem= ruleConcatElem EOF
+ // InternalRDL.g:2175:51: (iv_ruleConcatElem= ruleConcatElem EOF )
+ // InternalRDL.g:2176:2: iv_ruleConcatElem= ruleConcatElem EOF
{
- newCompositeNode(grammarAccess.getConcatElemRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getConcatElemRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleConcatElem=ruleConcatElem();
state._fsp--;
-
- current =iv_ruleConcatElem;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleConcatElem;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -5522,7 +5927,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleConcatElem"
- // InternalRDL.g:2169:1: ruleConcatElem returns [EObject current=null] : ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) ;
+ // InternalRDL.g:2182:1: ruleConcatElem returns [EObject current=null] : ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) ;
public final EObject ruleConcatElem() throws RecognitionException {
EObject current = null;
@@ -5534,54 +5939,59 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2175:2: ( ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) )
- // InternalRDL.g:2176:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) )
+ // InternalRDL.g:2188:2: ( ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) )
+ // InternalRDL.g:2189:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) )
{
- // InternalRDL.g:2176:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) )
- int alt37=2;
- int LA37_0 = input.LA(1);
+ // InternalRDL.g:2189:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) )
+ int alt35=2;
+ int LA35_0 = input.LA(1);
- if ( (LA37_0==RULE_ID) ) {
- alt37=1;
+ if ( (LA35_0==RULE_ID) ) {
+ alt35=1;
}
- else if ( (LA37_0==RULE_NUM) ) {
- alt37=2;
+ else if ( (LA35_0==RULE_NUM) ) {
+ alt35=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 37, 0, input);
+ new NoViableAltException("", 35, 0, input);
throw nvae;
}
- switch (alt37) {
+ switch (alt35) {
case 1 :
- // InternalRDL.g:2177:3: ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) )
+ // InternalRDL.g:2190:3: ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) )
{
- // InternalRDL.g:2177:3: ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) )
- // InternalRDL.g:2178:4: (lv_instPropRef_0_0= ruleInstancePropertyRef )
+ // InternalRDL.g:2190:3: ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) )
+ // InternalRDL.g:2191:4: (lv_instPropRef_0_0= ruleInstancePropertyRef )
{
- // InternalRDL.g:2178:4: (lv_instPropRef_0_0= ruleInstancePropertyRef )
- // InternalRDL.g:2179:5: lv_instPropRef_0_0= ruleInstancePropertyRef
+ // InternalRDL.g:2191:4: (lv_instPropRef_0_0= ruleInstancePropertyRef )
+ // InternalRDL.g:2192:5: lv_instPropRef_0_0= ruleInstancePropertyRef
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0());
-
+ newCompositeNode(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0());
+
+ }
pushFollow(FOLLOW_2);
lv_instPropRef_0_0=ruleInstancePropertyRef();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConcatElemRule());
- }
- set(
- current,
- "instPropRef",
- lv_instPropRef_0_0,
- "com.minres.rdl.RDL.InstancePropertyRef");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConcatElemRule());
+ }
+ set(
+ current,
+ "instPropRef",
+ lv_instPropRef_0_0,
+ "com.minres.rdl.RDL.InstancePropertyRef");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5592,28 +6002,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2197:3: ( (lv_value_1_0= RULE_NUM ) )
+ // InternalRDL.g:2210:3: ( (lv_value_1_0= RULE_NUM ) )
{
- // InternalRDL.g:2197:3: ( (lv_value_1_0= RULE_NUM ) )
- // InternalRDL.g:2198:4: (lv_value_1_0= RULE_NUM )
+ // InternalRDL.g:2210:3: ( (lv_value_1_0= RULE_NUM ) )
+ // InternalRDL.g:2211:4: (lv_value_1_0= RULE_NUM )
{
- // InternalRDL.g:2198:4: (lv_value_1_0= RULE_NUM )
- // InternalRDL.g:2199:5: lv_value_1_0= RULE_NUM
+ // InternalRDL.g:2211:4: (lv_value_1_0= RULE_NUM )
+ // InternalRDL.g:2212:5: lv_value_1_0= RULE_NUM
{
- lv_value_1_0=(Token)match(input,RULE_NUM,FOLLOW_2);
+ lv_value_1_0=(Token)match(input,RULE_NUM,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_value_1_0, grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0());
-
+ newLeafNode(lv_value_1_0, grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getConcatElemRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_1_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getConcatElemRule());
+ }
+ setWithLastConsumed(
+ current,
+ "value",
+ lv_value_1_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
@@ -5629,9 +6043,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -5646,7 +6062,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePropertyRvalueConstant"
- // InternalRDL.g:2219:1: entryRulePropertyRvalueConstant returns [EObject current=null] : iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF ;
+ // InternalRDL.g:2232:1: entryRulePropertyRvalueConstant returns [EObject current=null] : iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF ;
public final EObject entryRulePropertyRvalueConstant() throws RecognitionException {
EObject current = null;
@@ -5654,17 +6070,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2219:63: (iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF )
- // InternalRDL.g:2220:2: iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF
+ // InternalRDL.g:2232:63: (iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF )
+ // InternalRDL.g:2233:2: iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF
{
- newCompositeNode(grammarAccess.getPropertyRvalueConstantRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPropertyRvalueConstantRule());
+ }
pushFollow(FOLLOW_1);
iv_rulePropertyRvalueConstant=rulePropertyRvalueConstant();
state._fsp--;
-
- current =iv_rulePropertyRvalueConstant;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePropertyRvalueConstant;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -5682,7 +6102,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyRvalueConstant"
- // InternalRDL.g:2226:1: rulePropertyRvalueConstant returns [EObject current=null] : ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) ;
+ // InternalRDL.g:2239:1: rulePropertyRvalueConstant returns [EObject current=null] : ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) ;
public final EObject rulePropertyRvalueConstant() throws RecognitionException {
EObject current = null;
@@ -5695,11 +6115,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2232:2: ( ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) )
- // InternalRDL.g:2233:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) )
+ // InternalRDL.g:2245:2: ( ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) )
+ // InternalRDL.g:2246:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) )
{
- // InternalRDL.g:2233:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) )
- int alt38=3;
+ // InternalRDL.g:2246:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) )
+ int alt36=3;
switch ( input.LA(1) ) {
case 20:
case 21:
@@ -5715,55 +6135,60 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
case 128:
case 129:
{
- alt38=1;
+ alt36=1;
}
break;
case RULE_NUM:
{
- alt38=2;
+ alt36=2;
}
break;
case RULE_STR:
{
- alt38=3;
+ alt36=3;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 38, 0, input);
+ new NoViableAltException("", 36, 0, input);
throw nvae;
}
- switch (alt38) {
+ switch (alt36) {
case 1 :
- // InternalRDL.g:2234:3: ( (lv_val_0_0= ruleRValueConstant ) )
+ // InternalRDL.g:2247:3: ( (lv_val_0_0= ruleRValueConstant ) )
{
- // InternalRDL.g:2234:3: ( (lv_val_0_0= ruleRValueConstant ) )
- // InternalRDL.g:2235:4: (lv_val_0_0= ruleRValueConstant )
+ // InternalRDL.g:2247:3: ( (lv_val_0_0= ruleRValueConstant ) )
+ // InternalRDL.g:2248:4: (lv_val_0_0= ruleRValueConstant )
{
- // InternalRDL.g:2235:4: (lv_val_0_0= ruleRValueConstant )
- // InternalRDL.g:2236:5: lv_val_0_0= ruleRValueConstant
+ // InternalRDL.g:2248:4: (lv_val_0_0= ruleRValueConstant )
+ // InternalRDL.g:2249:5: lv_val_0_0= ruleRValueConstant
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0());
-
+ newCompositeNode(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0());
+
+ }
pushFollow(FOLLOW_2);
lv_val_0_0=ruleRValueConstant();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPropertyRvalueConstantRule());
- }
- set(
- current,
- "val",
- lv_val_0_0,
- "com.minres.rdl.RDL.RValueConstant");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPropertyRvalueConstantRule());
+ }
+ set(
+ current,
+ "val",
+ lv_val_0_0,
+ "com.minres.rdl.RDL.RValueConstant");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -5774,28 +6199,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2254:3: ( (lv_num_1_0= RULE_NUM ) )
+ // InternalRDL.g:2267:3: ( (lv_num_1_0= RULE_NUM ) )
{
- // InternalRDL.g:2254:3: ( (lv_num_1_0= RULE_NUM ) )
- // InternalRDL.g:2255:4: (lv_num_1_0= RULE_NUM )
+ // InternalRDL.g:2267:3: ( (lv_num_1_0= RULE_NUM ) )
+ // InternalRDL.g:2268:4: (lv_num_1_0= RULE_NUM )
{
- // InternalRDL.g:2255:4: (lv_num_1_0= RULE_NUM )
- // InternalRDL.g:2256:5: lv_num_1_0= RULE_NUM
+ // InternalRDL.g:2268:4: (lv_num_1_0= RULE_NUM )
+ // InternalRDL.g:2269:5: lv_num_1_0= RULE_NUM
{
- lv_num_1_0=(Token)match(input,RULE_NUM,FOLLOW_2);
+ lv_num_1_0=(Token)match(input,RULE_NUM,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_num_1_0, grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0());
-
+ newLeafNode(lv_num_1_0, grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyRvalueConstantRule());
- }
- setWithLastConsumed(
- current,
- "num",
- lv_num_1_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyRvalueConstantRule());
+ }
+ setWithLastConsumed(
+ current,
+ "num",
+ lv_num_1_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
@@ -5806,28 +6235,32 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:2273:3: ( (lv_str_2_0= RULE_STR ) )
+ // InternalRDL.g:2286:3: ( (lv_str_2_0= RULE_STR ) )
{
- // InternalRDL.g:2273:3: ( (lv_str_2_0= RULE_STR ) )
- // InternalRDL.g:2274:4: (lv_str_2_0= RULE_STR )
+ // InternalRDL.g:2286:3: ( (lv_str_2_0= RULE_STR ) )
+ // InternalRDL.g:2287:4: (lv_str_2_0= RULE_STR )
{
- // InternalRDL.g:2274:4: (lv_str_2_0= RULE_STR )
- // InternalRDL.g:2275:5: lv_str_2_0= RULE_STR
+ // InternalRDL.g:2287:4: (lv_str_2_0= RULE_STR )
+ // InternalRDL.g:2288:5: lv_str_2_0= RULE_STR
{
- lv_str_2_0=(Token)match(input,RULE_STR,FOLLOW_2);
+ lv_str_2_0=(Token)match(input,RULE_STR,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_str_2_0, grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0());
-
+ newLeafNode(lv_str_2_0, grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getPropertyRvalueConstantRule());
- }
- setWithLastConsumed(
- current,
- "str",
- lv_str_2_0,
- "com.minres.rdl.RDL.STR");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPropertyRvalueConstantRule());
+ }
+ setWithLastConsumed(
+ current,
+ "str",
+ lv_str_2_0,
+ "com.minres.rdl.RDL.STR");
+
+ }
}
@@ -5843,9 +6276,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -5860,7 +6295,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEnumDefinition"
- // InternalRDL.g:2295:1: entryRuleEnumDefinition returns [EObject current=null] : iv_ruleEnumDefinition= ruleEnumDefinition EOF ;
+ // InternalRDL.g:2308:1: entryRuleEnumDefinition returns [EObject current=null] : iv_ruleEnumDefinition= ruleEnumDefinition EOF ;
public final EObject entryRuleEnumDefinition() throws RecognitionException {
EObject current = null;
@@ -5868,17 +6303,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2295:55: (iv_ruleEnumDefinition= ruleEnumDefinition EOF )
- // InternalRDL.g:2296:2: iv_ruleEnumDefinition= ruleEnumDefinition EOF
+ // InternalRDL.g:2308:55: (iv_ruleEnumDefinition= ruleEnumDefinition EOF )
+ // InternalRDL.g:2309:2: iv_ruleEnumDefinition= ruleEnumDefinition EOF
{
- newCompositeNode(grammarAccess.getEnumDefinitionRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEnumDefinitionRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleEnumDefinition=ruleEnumDefinition();
state._fsp--;
-
- current =iv_ruleEnumDefinition;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEnumDefinition;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -5896,13 +6335,12 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEnumDefinition"
- // InternalRDL.g:2302:1: ruleEnumDefinition returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) otherlv_3= ';' ) ;
+ // InternalRDL.g:2315:1: ruleEnumDefinition returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) ) ;
public final EObject ruleEnumDefinition() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
- Token otherlv_3=null;
EObject lv_body_2_0 = null;
@@ -5910,86 +6348,94 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2308:2: ( (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) otherlv_3= ';' ) )
- // InternalRDL.g:2309:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) otherlv_3= ';' )
+ // InternalRDL.g:2321:2: ( (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) ) )
+ // InternalRDL.g:2322:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) )
{
- // InternalRDL.g:2309:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) otherlv_3= ';' )
- // InternalRDL.g:2310:3: otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) otherlv_3= ';'
+ // InternalRDL.g:2322:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) )
+ // InternalRDL.g:2323:3: otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) )
{
- otherlv_0=(Token)match(input,36,FOLLOW_5);
+ otherlv_0=(Token)match(input,34,FOLLOW_7); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0());
-
- // InternalRDL.g:2314:3: ( (lv_name_1_0= RULE_ID ) )
- // InternalRDL.g:2315:4: (lv_name_1_0= RULE_ID )
+ newLeafNode(otherlv_0, grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0());
+
+ }
+ // InternalRDL.g:2327:3: ( (lv_name_1_0= RULE_ID ) )
+ // InternalRDL.g:2328:4: (lv_name_1_0= RULE_ID )
{
- // InternalRDL.g:2315:4: (lv_name_1_0= RULE_ID )
- // InternalRDL.g:2316:5: lv_name_1_0= RULE_ID
+ // InternalRDL.g:2328:4: (lv_name_1_0= RULE_ID )
+ // InternalRDL.g:2329:5: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_6);
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_1_0, grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0());
-
+ newLeafNode(lv_name_1_0, grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "com.minres.rdl.RDL.ID");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "com.minres.rdl.RDL.ID");
+
+ }
}
}
- // InternalRDL.g:2332:3: ( (lv_body_2_0= ruleEnumBody ) )
- // InternalRDL.g:2333:4: (lv_body_2_0= ruleEnumBody )
+ // InternalRDL.g:2345:3: ( (lv_body_2_0= ruleEnumBody ) )
+ // InternalRDL.g:2346:4: (lv_body_2_0= ruleEnumBody )
{
- // InternalRDL.g:2333:4: (lv_body_2_0= ruleEnumBody )
- // InternalRDL.g:2334:5: lv_body_2_0= ruleEnumBody
+ // InternalRDL.g:2346:4: (lv_body_2_0= ruleEnumBody )
+ // InternalRDL.g:2347:5: lv_body_2_0= ruleEnumBody
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0());
-
- pushFollow(FOLLOW_10);
+ newCompositeNode(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
lv_body_2_0=ruleEnumBody();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getEnumDefinitionRule());
- }
- set(
- current,
- "body",
- lv_body_2_0,
- "com.minres.rdl.RDL.EnumBody");
- afterParserOrEnumRuleCall();
-
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getEnumDefinitionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_2_0,
+ "com.minres.rdl.RDL.EnumBody");
+ afterParserOrEnumRuleCall();
+
}
-
- }
-
- otherlv_3=(Token)match(input,17,FOLLOW_2);
-
- newLeafNode(otherlv_3, grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3());
-
-
}
}
- leaveRule();
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
}
catch (RecognitionException re) {
@@ -6004,7 +6450,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEnumBody"
- // InternalRDL.g:2359:1: entryRuleEnumBody returns [EObject current=null] : iv_ruleEnumBody= ruleEnumBody EOF ;
+ // InternalRDL.g:2368:1: entryRuleEnumBody returns [EObject current=null] : iv_ruleEnumBody= ruleEnumBody EOF ;
public final EObject entryRuleEnumBody() throws RecognitionException {
EObject current = null;
@@ -6012,17 +6458,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2359:49: (iv_ruleEnumBody= ruleEnumBody EOF )
- // InternalRDL.g:2360:2: iv_ruleEnumBody= ruleEnumBody EOF
+ // InternalRDL.g:2368:49: (iv_ruleEnumBody= ruleEnumBody EOF )
+ // InternalRDL.g:2369:2: iv_ruleEnumBody= ruleEnumBody EOF
{
- newCompositeNode(grammarAccess.getEnumBodyRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEnumBodyRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleEnumBody=ruleEnumBody();
state._fsp--;
-
- current =iv_ruleEnumBody;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEnumBody;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -6040,7 +6490,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEnumBody"
- // InternalRDL.g:2366:1: ruleEnumBody returns [EObject current=null] : (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) ;
+ // InternalRDL.g:2375:1: ruleEnumBody returns [EObject current=null] : (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) ;
public final EObject ruleEnumBody() throws RecognitionException {
EObject current = null;
@@ -6053,64 +6503,77 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2372:2: ( (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) )
- // InternalRDL.g:2373:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' )
+ // InternalRDL.g:2381:2: ( (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) )
+ // InternalRDL.g:2382:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' )
{
- // InternalRDL.g:2373:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' )
- // InternalRDL.g:2374:3: otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}'
+ // InternalRDL.g:2382:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' )
+ // InternalRDL.g:2383:3: otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}'
{
- otherlv_0=(Token)match(input,14,FOLLOW_45);
+ otherlv_0=(Token)match(input,15,FOLLOW_43); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
-
- // InternalRDL.g:2378:3: ()
- // InternalRDL.g:2379:4:
+ newLeafNode(otherlv_0, grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0());
+
+ }
+ // InternalRDL.g:2387:3: ()
+ // InternalRDL.g:2388:4:
{
+ if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getEnumBodyAccess().getEnumBodyAction_1(),
- current);
-
+ /* */
+
+ }
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getEnumBodyAccess().getEnumBodyAction_1(),
+ current);
+
+ }
}
- // InternalRDL.g:2385:3: ( (lv_entries_2_0= ruleEnumEntry ) )*
- loop39:
+ // InternalRDL.g:2397:3: ( (lv_entries_2_0= ruleEnumEntry ) )*
+ loop37:
do {
- int alt39=2;
- int LA39_0 = input.LA(1);
+ int alt37=2;
+ int LA37_0 = input.LA(1);
- if ( (LA39_0==RULE_ID) ) {
- alt39=1;
+ if ( (LA37_0==RULE_ID) ) {
+ alt37=1;
}
- switch (alt39) {
+ switch (alt37) {
case 1 :
- // InternalRDL.g:2386:4: (lv_entries_2_0= ruleEnumEntry )
+ // InternalRDL.g:2398:4: (lv_entries_2_0= ruleEnumEntry )
{
- // InternalRDL.g:2386:4: (lv_entries_2_0= ruleEnumEntry )
- // InternalRDL.g:2387:5: lv_entries_2_0= ruleEnumEntry
+ // InternalRDL.g:2398:4: (lv_entries_2_0= ruleEnumEntry )
+ // InternalRDL.g:2399:5: lv_entries_2_0= ruleEnumEntry
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0());
-
- pushFollow(FOLLOW_45);
+ newCompositeNode(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_43);
lv_entries_2_0=ruleEnumEntry();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getEnumBodyRule());
- }
- add(
- current,
- "entries",
- lv_entries_2_0,
- "com.minres.rdl.RDL.EnumEntry");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getEnumBodyRule());
+ }
+ add(
+ current,
+ "entries",
+ lv_entries_2_0,
+ "com.minres.rdl.RDL.EnumEntry");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -6119,23 +6582,27 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
break;
default :
- break loop39;
+ break loop37;
}
} while (true);
- otherlv_3=(Token)match(input,18,FOLLOW_2);
+ otherlv_3=(Token)match(input,18,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3());
-
+ newLeafNode(otherlv_3, grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -6150,7 +6617,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEnumEntry"
- // InternalRDL.g:2412:1: entryRuleEnumEntry returns [EObject current=null] : iv_ruleEnumEntry= ruleEnumEntry EOF ;
+ // InternalRDL.g:2424:1: entryRuleEnumEntry returns [EObject current=null] : iv_ruleEnumEntry= ruleEnumEntry EOF ;
public final EObject entryRuleEnumEntry() throws RecognitionException {
EObject current = null;
@@ -6158,17 +6625,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2412:50: (iv_ruleEnumEntry= ruleEnumEntry EOF )
- // InternalRDL.g:2413:2: iv_ruleEnumEntry= ruleEnumEntry EOF
+ // InternalRDL.g:2424:50: (iv_ruleEnumEntry= ruleEnumEntry EOF )
+ // InternalRDL.g:2425:2: iv_ruleEnumEntry= ruleEnumEntry EOF
{
- newCompositeNode(grammarAccess.getEnumEntryRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEnumEntryRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleEnumEntry=ruleEnumEntry();
state._fsp--;
-
- current =iv_ruleEnumEntry;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEnumEntry;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -6186,7 +6657,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEnumEntry"
- // InternalRDL.g:2419:1: ruleEnumEntry returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) ;
+ // InternalRDL.g:2431:1: ruleEnumEntry returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) ;
public final EObject ruleEnumEntry() throws RecognitionException {
EObject current = null;
@@ -6203,120 +6674,136 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2425:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) )
- // InternalRDL.g:2426:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' )
+ // InternalRDL.g:2437:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) )
+ // InternalRDL.g:2438:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' )
{
- // InternalRDL.g:2426:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' )
- // InternalRDL.g:2427:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';'
+ // InternalRDL.g:2438:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' )
+ // InternalRDL.g:2439:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';'
{
- // InternalRDL.g:2427:3: ( (lv_name_0_0= RULE_ID ) )
- // InternalRDL.g:2428:4: (lv_name_0_0= RULE_ID )
+ // InternalRDL.g:2439:3: ( (lv_name_0_0= RULE_ID ) )
+ // InternalRDL.g:2440:4: (lv_name_0_0= RULE_ID )
{
- // InternalRDL.g:2428:4: (lv_name_0_0= RULE_ID )
- // InternalRDL.g:2429:5: lv_name_0_0= RULE_ID
+ // InternalRDL.g:2440:4: (lv_name_0_0= RULE_ID )
+ // InternalRDL.g:2441:5: lv_name_0_0= RULE_ID
{
- lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_8);
+ lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_0_0, grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0());
-
+ newLeafNode(lv_name_0_0, grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumEntryRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_0_0,
- "com.minres.rdl.RDL.ID");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumEntryRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_0_0,
+ "com.minres.rdl.RDL.ID");
+
+ }
}
}
- otherlv_1=(Token)match(input,16,FOLLOW_29);
+ otherlv_1=(Token)match(input,17,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1());
-
- // InternalRDL.g:2449:3: ( (lv_index_2_0= RULE_NUM ) )
- // InternalRDL.g:2450:4: (lv_index_2_0= RULE_NUM )
+ newLeafNode(otherlv_1, grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1());
+
+ }
+ // InternalRDL.g:2461:3: ( (lv_index_2_0= RULE_NUM ) )
+ // InternalRDL.g:2462:4: (lv_index_2_0= RULE_NUM )
{
- // InternalRDL.g:2450:4: (lv_index_2_0= RULE_NUM )
- // InternalRDL.g:2451:5: lv_index_2_0= RULE_NUM
+ // InternalRDL.g:2462:4: (lv_index_2_0= RULE_NUM )
+ // InternalRDL.g:2463:5: lv_index_2_0= RULE_NUM
{
- lv_index_2_0=(Token)match(input,RULE_NUM,FOLLOW_46);
+ lv_index_2_0=(Token)match(input,RULE_NUM,FOLLOW_44); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_index_2_0, grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0());
-
+ newLeafNode(lv_index_2_0, grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumEntryRule());
- }
- setWithLastConsumed(
- current,
- "index",
- lv_index_2_0,
- "com.minres.rdl.RDL.NUM");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumEntryRule());
+ }
+ setWithLastConsumed(
+ current,
+ "index",
+ lv_index_2_0,
+ "com.minres.rdl.RDL.NUM");
+
+ }
}
}
- // InternalRDL.g:2467:3: (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )?
- int alt41=2;
- int LA41_0 = input.LA(1);
+ // InternalRDL.g:2479:3: (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )?
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( (LA41_0==14) ) {
- alt41=1;
+ if ( (LA39_0==15) ) {
+ alt39=1;
}
- switch (alt41) {
+ switch (alt39) {
case 1 :
- // InternalRDL.g:2468:4: otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}'
+ // InternalRDL.g:2480:4: otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}'
{
- otherlv_3=(Token)match(input,14,FOLLOW_47);
+ otherlv_3=(Token)match(input,15,FOLLOW_45); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_3, grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0());
-
- // InternalRDL.g:2472:4: ( (lv_properties_4_0= ruleEnumProperty ) )*
- loop40:
+ newLeafNode(otherlv_3, grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0());
+
+ }
+ // InternalRDL.g:2484:4: ( (lv_properties_4_0= ruleEnumProperty ) )*
+ loop38:
do {
- int alt40=2;
- int LA40_0 = input.LA(1);
+ int alt38=2;
+ int LA38_0 = input.LA(1);
- if ( ((LA40_0>=37 && LA40_0<=38)) ) {
- alt40=1;
+ if ( ((LA38_0>=35 && LA38_0<=36)) ) {
+ alt38=1;
}
- switch (alt40) {
+ switch (alt38) {
case 1 :
- // InternalRDL.g:2473:5: (lv_properties_4_0= ruleEnumProperty )
+ // InternalRDL.g:2485:5: (lv_properties_4_0= ruleEnumProperty )
{
- // InternalRDL.g:2473:5: (lv_properties_4_0= ruleEnumProperty )
- // InternalRDL.g:2474:6: lv_properties_4_0= ruleEnumProperty
+ // InternalRDL.g:2485:5: (lv_properties_4_0= ruleEnumProperty )
+ // InternalRDL.g:2486:6: lv_properties_4_0= ruleEnumProperty
{
+ if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0());
-
- pushFollow(FOLLOW_47);
+ newCompositeNode(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0());
+
+ }
+ pushFollow(FOLLOW_45);
lv_properties_4_0=ruleEnumProperty();
state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getEnumEntryRule());
- }
- add(
- current,
- "properties",
- lv_properties_4_0,
- "com.minres.rdl.RDL.EnumProperty");
- afterParserOrEnumRuleCall();
-
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getEnumEntryRule());
+ }
+ add(
+ current,
+ "properties",
+ lv_properties_4_0,
+ "com.minres.rdl.RDL.EnumProperty");
+ afterParserOrEnumRuleCall();
+
+ }
}
@@ -6325,33 +6812,39 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
break;
default :
- break loop40;
+ break loop38;
}
} while (true);
- otherlv_5=(Token)match(input,18,FOLLOW_10);
+ otherlv_5=(Token)match(input,18,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_5, grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2());
-
+ newLeafNode(otherlv_5, grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2());
+
+ }
}
break;
}
- otherlv_6=(Token)match(input,17,FOLLOW_2);
+ otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_6, grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4());
-
+ newLeafNode(otherlv_6, grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -6366,7 +6859,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEnumProperty"
- // InternalRDL.g:2504:1: entryRuleEnumProperty returns [EObject current=null] : iv_ruleEnumProperty= ruleEnumProperty EOF ;
+ // InternalRDL.g:2516:1: entryRuleEnumProperty returns [EObject current=null] : iv_ruleEnumProperty= ruleEnumProperty EOF ;
public final EObject entryRuleEnumProperty() throws RecognitionException {
EObject current = null;
@@ -6374,17 +6867,21 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
try {
- // InternalRDL.g:2504:53: (iv_ruleEnumProperty= ruleEnumProperty EOF )
- // InternalRDL.g:2505:2: iv_ruleEnumProperty= ruleEnumProperty EOF
+ // InternalRDL.g:2516:53: (iv_ruleEnumProperty= ruleEnumProperty EOF )
+ // InternalRDL.g:2517:2: iv_ruleEnumProperty= ruleEnumProperty EOF
{
- newCompositeNode(grammarAccess.getEnumPropertyRule());
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEnumPropertyRule());
+ }
pushFollow(FOLLOW_1);
iv_ruleEnumProperty=ruleEnumProperty();
state._fsp--;
-
- current =iv_ruleEnumProperty;
- match(input,EOF,FOLLOW_2);
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEnumProperty;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
@@ -6402,7 +6899,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEnumProperty"
- // InternalRDL.g:2511:1: ruleEnumProperty returns [EObject current=null] : ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) ;
+ // InternalRDL.g:2523:1: ruleEnumProperty returns [EObject current=null] : ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) ;
public final EObject ruleEnumProperty() throws RecognitionException {
EObject current = null;
@@ -6418,81 +6915,92 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2517:2: ( ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) )
- // InternalRDL.g:2518:2: ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' )
+ // InternalRDL.g:2529:2: ( ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) )
+ // InternalRDL.g:2530:2: ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' )
{
- // InternalRDL.g:2518:2: ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' )
- // InternalRDL.g:2519:3: ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';'
+ // InternalRDL.g:2530:2: ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' )
+ // InternalRDL.g:2531:3: ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';'
{
- // InternalRDL.g:2519:3: ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) )
- int alt42=2;
- int LA42_0 = input.LA(1);
+ // InternalRDL.g:2531:3: ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) )
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( (LA42_0==37) ) {
- alt42=1;
+ if ( (LA40_0==35) ) {
+ alt40=1;
}
- else if ( (LA42_0==38) ) {
- alt42=2;
+ else if ( (LA40_0==36) ) {
+ alt40=2;
}
else {
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 42, 0, input);
+ new NoViableAltException("", 40, 0, input);
throw nvae;
}
- switch (alt42) {
+ switch (alt40) {
case 1 :
- // InternalRDL.g:2520:4: ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) )
+ // InternalRDL.g:2532:4: ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) )
{
- // InternalRDL.g:2520:4: ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) )
- // InternalRDL.g:2521:5: ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) )
+ // InternalRDL.g:2532:4: ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) )
+ // InternalRDL.g:2533:5: ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) )
{
- // InternalRDL.g:2521:5: ( (lv_name_0_0= 'name' ) )
- // InternalRDL.g:2522:6: (lv_name_0_0= 'name' )
+ // InternalRDL.g:2533:5: ( (lv_name_0_0= 'name' ) )
+ // InternalRDL.g:2534:6: (lv_name_0_0= 'name' )
{
- // InternalRDL.g:2522:6: (lv_name_0_0= 'name' )
- // InternalRDL.g:2523:7: lv_name_0_0= 'name'
+ // InternalRDL.g:2534:6: (lv_name_0_0= 'name' )
+ // InternalRDL.g:2535:7: lv_name_0_0= 'name'
{
- lv_name_0_0=(Token)match(input,37,FOLLOW_8);
+ lv_name_0_0=(Token)match(input,35,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_0_0, grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
-
+ newLeafNode(lv_name_0_0, grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumPropertyRule());
- }
- setWithLastConsumed(current, "name", lv_name_0_0, "name");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumPropertyRule());
+ }
+ setWithLastConsumed(current, "name", lv_name_0_0, "name");
+
+ }
}
}
- otherlv_1=(Token)match(input,16,FOLLOW_4);
+ otherlv_1=(Token)match(input,17,FOLLOW_6); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_1, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1());
-
- // InternalRDL.g:2539:5: ( (lv_value_2_0= RULE_STR ) )
- // InternalRDL.g:2540:6: (lv_value_2_0= RULE_STR )
+ newLeafNode(otherlv_1, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1());
+
+ }
+ // InternalRDL.g:2551:5: ( (lv_value_2_0= RULE_STR ) )
+ // InternalRDL.g:2552:6: (lv_value_2_0= RULE_STR )
{
- // InternalRDL.g:2540:6: (lv_value_2_0= RULE_STR )
- // InternalRDL.g:2541:7: lv_value_2_0= RULE_STR
+ // InternalRDL.g:2552:6: (lv_value_2_0= RULE_STR )
+ // InternalRDL.g:2553:7: lv_value_2_0= RULE_STR
{
- lv_value_2_0=(Token)match(input,RULE_STR,FOLLOW_10);
+ lv_value_2_0=(Token)match(input,RULE_STR,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_value_2_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0());
-
+ newLeafNode(lv_value_2_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumPropertyRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_2_0,
- "com.minres.rdl.RDL.STR");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumPropertyRule());
+ }
+ setWithLastConsumed(
+ current,
+ "value",
+ lv_value_2_0,
+ "com.minres.rdl.RDL.STR");
+
+ }
}
@@ -6506,57 +7014,67 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2559:4: ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) )
+ // InternalRDL.g:2571:4: ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) )
{
- // InternalRDL.g:2559:4: ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) )
- // InternalRDL.g:2560:5: ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) )
+ // InternalRDL.g:2571:4: ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) )
+ // InternalRDL.g:2572:5: ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) )
{
- // InternalRDL.g:2560:5: ( (lv_name_3_0= 'desc' ) )
- // InternalRDL.g:2561:6: (lv_name_3_0= 'desc' )
+ // InternalRDL.g:2572:5: ( (lv_name_3_0= 'desc' ) )
+ // InternalRDL.g:2573:6: (lv_name_3_0= 'desc' )
{
- // InternalRDL.g:2561:6: (lv_name_3_0= 'desc' )
- // InternalRDL.g:2562:7: lv_name_3_0= 'desc'
+ // InternalRDL.g:2573:6: (lv_name_3_0= 'desc' )
+ // InternalRDL.g:2574:7: lv_name_3_0= 'desc'
{
- lv_name_3_0=(Token)match(input,38,FOLLOW_8);
+ lv_name_3_0=(Token)match(input,36,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_name_3_0, grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
-
+ newLeafNode(lv_name_3_0, grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumPropertyRule());
- }
- setWithLastConsumed(current, "name", lv_name_3_0, "desc");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumPropertyRule());
+ }
+ setWithLastConsumed(current, "name", lv_name_3_0, "desc");
+
+ }
}
}
- otherlv_4=(Token)match(input,16,FOLLOW_4);
+ otherlv_4=(Token)match(input,17,FOLLOW_6); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_4, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1());
-
- // InternalRDL.g:2578:5: ( (lv_value_5_0= RULE_STR ) )
- // InternalRDL.g:2579:6: (lv_value_5_0= RULE_STR )
+ newLeafNode(otherlv_4, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1());
+
+ }
+ // InternalRDL.g:2590:5: ( (lv_value_5_0= RULE_STR ) )
+ // InternalRDL.g:2591:6: (lv_value_5_0= RULE_STR )
{
- // InternalRDL.g:2579:6: (lv_value_5_0= RULE_STR )
- // InternalRDL.g:2580:7: lv_value_5_0= RULE_STR
+ // InternalRDL.g:2591:6: (lv_value_5_0= RULE_STR )
+ // InternalRDL.g:2592:7: lv_value_5_0= RULE_STR
{
- lv_value_5_0=(Token)match(input,RULE_STR,FOLLOW_10);
+ lv_value_5_0=(Token)match(input,RULE_STR,FOLLOW_4); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(lv_value_5_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0());
-
+ newLeafNode(lv_value_5_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumPropertyRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_5_0,
- "com.minres.rdl.RDL.STR");
-
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumPropertyRule());
+ }
+ setWithLastConsumed(
+ current,
+ "value",
+ lv_value_5_0,
+ "com.minres.rdl.RDL.STR");
+
+ }
}
@@ -6572,19 +7090,23 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
- otherlv_6=(Token)match(input,17,FOLLOW_2);
+ otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- newLeafNode(otherlv_6, grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1());
-
+ newLeafNode(otherlv_6, grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1());
+
+ }
}
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -6598,8 +7120,169 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR end "ruleEnumProperty"
+ // $ANTLR start "entryRuleEnumInstanceType"
+ // InternalRDL.g:2618:1: entryRuleEnumInstanceType returns [EObject current=null] : iv_ruleEnumInstanceType= ruleEnumInstanceType EOF ;
+ public final EObject entryRuleEnumInstanceType() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleEnumInstanceType = null;
+
+
+ try {
+ // InternalRDL.g:2618:57: (iv_ruleEnumInstanceType= ruleEnumInstanceType EOF )
+ // InternalRDL.g:2619:2: iv_ruleEnumInstanceType= ruleEnumInstanceType EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEnumInstanceTypeRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleEnumInstanceType=ruleEnumInstanceType();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEnumInstanceType;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleEnumInstanceType"
+
+
+ // $ANTLR start "ruleEnumInstanceType"
+ // InternalRDL.g:2625:1: ruleEnumInstanceType returns [EObject current=null] : ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) ) ;
+ public final EObject ruleEnumInstanceType() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_EXTERNAL_0_0=null;
+ Token lv_INTERNAL_1_0=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRDL.g:2631:2: ( ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) ) )
+ // InternalRDL.g:2632:2: ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) )
+ {
+ // InternalRDL.g:2632:2: ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) )
+ int alt41=2;
+ int LA41_0 = input.LA(1);
+
+ if ( (LA41_0==37) ) {
+ alt41=1;
+ }
+ else if ( (LA41_0==38) ) {
+ alt41=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 41, 0, input);
+
+ throw nvae;
+ }
+ switch (alt41) {
+ case 1 :
+ // InternalRDL.g:2633:3: ( (lv_EXTERNAL_0_0= 'external' ) )
+ {
+ // InternalRDL.g:2633:3: ( (lv_EXTERNAL_0_0= 'external' ) )
+ // InternalRDL.g:2634:4: (lv_EXTERNAL_0_0= 'external' )
+ {
+ // InternalRDL.g:2634:4: (lv_EXTERNAL_0_0= 'external' )
+ // InternalRDL.g:2635:5: lv_EXTERNAL_0_0= 'external'
+ {
+ lv_EXTERNAL_0_0=(Token)match(input,37,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(lv_EXTERNAL_0_0, grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumInstanceTypeRule());
+ }
+ setWithLastConsumed(current, "EXTERNAL", lv_EXTERNAL_0_0, "external");
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRDL.g:2648:3: ( (lv_INTERNAL_1_0= 'internal' ) )
+ {
+ // InternalRDL.g:2648:3: ( (lv_INTERNAL_1_0= 'internal' ) )
+ // InternalRDL.g:2649:4: (lv_INTERNAL_1_0= 'internal' )
+ {
+ // InternalRDL.g:2649:4: (lv_INTERNAL_1_0= 'internal' )
+ // InternalRDL.g:2650:5: lv_INTERNAL_1_0= 'internal'
+ {
+ lv_INTERNAL_1_0=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(lv_INTERNAL_1_0, grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumInstanceTypeRule());
+ }
+ setWithLastConsumed(current, "INTERNAL", lv_INTERNAL_1_0, "internal");
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleEnumInstanceType"
+
+
// $ANTLR start "rulePropertyTypeName"
- // InternalRDL.g:2606:1: rulePropertyTypeName returns [Enumerator current=null] : ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) ;
+ // InternalRDL.g:2666:1: rulePropertyTypeName returns [Enumerator current=null] : ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) ;
public final Enumerator rulePropertyTypeName() throws RecognitionException {
Enumerator current = null;
@@ -6616,71 +7299,74 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2612:2: ( ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) )
- // InternalRDL.g:2613:2: ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) )
+ // InternalRDL.g:2672:2: ( ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) )
+ // InternalRDL.g:2673:2: ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) )
{
- // InternalRDL.g:2613:2: ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) )
- int alt43=8;
+ // InternalRDL.g:2673:2: ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) )
+ int alt42=8;
switch ( input.LA(1) ) {
case 39:
{
- alt43=1;
+ alt42=1;
}
break;
case 40:
{
- alt43=2;
+ alt42=2;
}
break;
case 41:
{
- alt43=3;
+ alt42=3;
}
break;
case 42:
{
- alt43=4;
+ alt42=4;
}
break;
case 43:
{
- alt43=5;
+ alt42=5;
}
break;
case 44:
{
- alt43=6;
+ alt42=6;
}
break;
case 45:
{
- alt43=7;
+ alt42=7;
}
break;
case 46:
{
- alt43=8;
+ alt42=8;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 43, 0, input);
+ new NoViableAltException("", 42, 0, input);
throw nvae;
}
- switch (alt43) {
+ switch (alt42) {
case 1 :
- // InternalRDL.g:2614:3: (enumLiteral_0= 'string' )
+ // InternalRDL.g:2674:3: (enumLiteral_0= 'string' )
{
- // InternalRDL.g:2614:3: (enumLiteral_0= 'string' )
- // InternalRDL.g:2615:4: enumLiteral_0= 'string'
+ // InternalRDL.g:2674:3: (enumLiteral_0= 'string' )
+ // InternalRDL.g:2675:4: enumLiteral_0= 'string'
{
- enumLiteral_0=(Token)match(input,39,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,39,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0());
+
+ }
}
@@ -6688,16 +7374,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2622:3: (enumLiteral_1= 'number' )
+ // InternalRDL.g:2682:3: (enumLiteral_1= 'number' )
{
- // InternalRDL.g:2622:3: (enumLiteral_1= 'number' )
- // InternalRDL.g:2623:4: enumLiteral_1= 'number'
+ // InternalRDL.g:2682:3: (enumLiteral_1= 'number' )
+ // InternalRDL.g:2683:4: enumLiteral_1= 'number'
{
- enumLiteral_1=(Token)match(input,40,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,40,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1());
+
+ }
}
@@ -6705,16 +7393,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:2630:3: (enumLiteral_2= 'boolean' )
+ // InternalRDL.g:2690:3: (enumLiteral_2= 'boolean' )
{
- // InternalRDL.g:2630:3: (enumLiteral_2= 'boolean' )
- // InternalRDL.g:2631:4: enumLiteral_2= 'boolean'
+ // InternalRDL.g:2690:3: (enumLiteral_2= 'boolean' )
+ // InternalRDL.g:2691:4: enumLiteral_2= 'boolean'
{
- enumLiteral_2=(Token)match(input,41,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,41,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2());
+
+ }
}
@@ -6722,16 +7412,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:2638:3: (enumLiteral_3= 'addrmap' )
+ // InternalRDL.g:2698:3: (enumLiteral_3= 'addrmap' )
{
- // InternalRDL.g:2638:3: (enumLiteral_3= 'addrmap' )
- // InternalRDL.g:2639:4: enumLiteral_3= 'addrmap'
+ // InternalRDL.g:2698:3: (enumLiteral_3= 'addrmap' )
+ // InternalRDL.g:2699:4: enumLiteral_3= 'addrmap'
{
- enumLiteral_3=(Token)match(input,42,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,42,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3());
+
+ }
}
@@ -6739,16 +7431,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalRDL.g:2646:3: (enumLiteral_4= 'reg' )
+ // InternalRDL.g:2706:3: (enumLiteral_4= 'reg' )
{
- // InternalRDL.g:2646:3: (enumLiteral_4= 'reg' )
- // InternalRDL.g:2647:4: enumLiteral_4= 'reg'
+ // InternalRDL.g:2706:3: (enumLiteral_4= 'reg' )
+ // InternalRDL.g:2707:4: enumLiteral_4= 'reg'
{
- enumLiteral_4=(Token)match(input,43,FOLLOW_2);
+ enumLiteral_4=(Token)match(input,43,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4());
+
+ }
}
@@ -6756,16 +7450,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalRDL.g:2654:3: (enumLiteral_5= 'regfile' )
+ // InternalRDL.g:2714:3: (enumLiteral_5= 'regfile' )
{
- // InternalRDL.g:2654:3: (enumLiteral_5= 'regfile' )
- // InternalRDL.g:2655:4: enumLiteral_5= 'regfile'
+ // InternalRDL.g:2714:3: (enumLiteral_5= 'regfile' )
+ // InternalRDL.g:2715:4: enumLiteral_5= 'regfile'
{
- enumLiteral_5=(Token)match(input,44,FOLLOW_2);
+ enumLiteral_5=(Token)match(input,44,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5());
+
+ }
}
@@ -6773,16 +7469,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 7 :
- // InternalRDL.g:2662:3: (enumLiteral_6= 'field' )
+ // InternalRDL.g:2722:3: (enumLiteral_6= 'field' )
{
- // InternalRDL.g:2662:3: (enumLiteral_6= 'field' )
- // InternalRDL.g:2663:4: enumLiteral_6= 'field'
+ // InternalRDL.g:2722:3: (enumLiteral_6= 'field' )
+ // InternalRDL.g:2723:4: enumLiteral_6= 'field'
{
- enumLiteral_6=(Token)match(input,45,FOLLOW_2);
+ enumLiteral_6=(Token)match(input,45,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6());
+
+ }
}
@@ -6790,16 +7488,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 8 :
- // InternalRDL.g:2670:3: (enumLiteral_7= 'ref' )
+ // InternalRDL.g:2730:3: (enumLiteral_7= 'ref' )
{
- // InternalRDL.g:2670:3: (enumLiteral_7= 'ref' )
- // InternalRDL.g:2671:4: enumLiteral_7= 'ref'
+ // InternalRDL.g:2730:3: (enumLiteral_7= 'ref' )
+ // InternalRDL.g:2731:4: enumLiteral_7= 'ref'
{
- enumLiteral_7=(Token)match(input,46,FOLLOW_2);
+ enumLiteral_7=(Token)match(input,46,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_7, grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7());
-
+ current = grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_7, grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7());
+
+ }
}
@@ -6812,9 +7512,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -6829,7 +7531,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyComponent"
- // InternalRDL.g:2681:1: rulePropertyComponent returns [Enumerator current=null] : ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) ;
+ // InternalRDL.g:2741:1: rulePropertyComponent returns [Enumerator current=null] : ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) ;
public final Enumerator rulePropertyComponent() throws RecognitionException {
Enumerator current = null;
@@ -6844,61 +7546,64 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2687:2: ( ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) )
- // InternalRDL.g:2688:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) )
+ // InternalRDL.g:2747:2: ( ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) )
+ // InternalRDL.g:2748:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) )
{
- // InternalRDL.g:2688:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) )
- int alt44=6;
+ // InternalRDL.g:2748:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) )
+ int alt43=6;
switch ( input.LA(1) ) {
case 47:
{
- alt44=1;
+ alt43=1;
}
break;
case 42:
{
- alt44=2;
+ alt43=2;
}
break;
case 43:
{
- alt44=3;
+ alt43=3;
}
break;
case 44:
{
- alt44=4;
+ alt43=4;
}
break;
case 45:
{
- alt44=5;
+ alt43=5;
}
break;
case 48:
{
- alt44=6;
+ alt43=6;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 44, 0, input);
+ new NoViableAltException("", 43, 0, input);
throw nvae;
}
- switch (alt44) {
+ switch (alt43) {
case 1 :
- // InternalRDL.g:2689:3: (enumLiteral_0= 'signal' )
+ // InternalRDL.g:2749:3: (enumLiteral_0= 'signal' )
{
- // InternalRDL.g:2689:3: (enumLiteral_0= 'signal' )
- // InternalRDL.g:2690:4: enumLiteral_0= 'signal'
+ // InternalRDL.g:2749:3: (enumLiteral_0= 'signal' )
+ // InternalRDL.g:2750:4: enumLiteral_0= 'signal'
{
- enumLiteral_0=(Token)match(input,47,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,47,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0());
-
+ current = grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0());
+
+ }
}
@@ -6906,16 +7611,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2697:3: (enumLiteral_1= 'addrmap' )
+ // InternalRDL.g:2757:3: (enumLiteral_1= 'addrmap' )
{
- // InternalRDL.g:2697:3: (enumLiteral_1= 'addrmap' )
- // InternalRDL.g:2698:4: enumLiteral_1= 'addrmap'
+ // InternalRDL.g:2757:3: (enumLiteral_1= 'addrmap' )
+ // InternalRDL.g:2758:4: enumLiteral_1= 'addrmap'
{
- enumLiteral_1=(Token)match(input,42,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,42,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1());
-
+ current = grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1());
+
+ }
}
@@ -6923,16 +7630,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:2705:3: (enumLiteral_2= 'reg' )
+ // InternalRDL.g:2765:3: (enumLiteral_2= 'reg' )
{
- // InternalRDL.g:2705:3: (enumLiteral_2= 'reg' )
- // InternalRDL.g:2706:4: enumLiteral_2= 'reg'
+ // InternalRDL.g:2765:3: (enumLiteral_2= 'reg' )
+ // InternalRDL.g:2766:4: enumLiteral_2= 'reg'
{
- enumLiteral_2=(Token)match(input,43,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,43,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2());
-
+ current = grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2());
+
+ }
}
@@ -6940,16 +7649,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:2713:3: (enumLiteral_3= 'regfile' )
+ // InternalRDL.g:2773:3: (enumLiteral_3= 'regfile' )
{
- // InternalRDL.g:2713:3: (enumLiteral_3= 'regfile' )
- // InternalRDL.g:2714:4: enumLiteral_3= 'regfile'
+ // InternalRDL.g:2773:3: (enumLiteral_3= 'regfile' )
+ // InternalRDL.g:2774:4: enumLiteral_3= 'regfile'
{
- enumLiteral_3=(Token)match(input,44,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,44,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3());
-
+ current = grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3());
+
+ }
}
@@ -6957,16 +7668,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalRDL.g:2721:3: (enumLiteral_4= 'field' )
+ // InternalRDL.g:2781:3: (enumLiteral_4= 'field' )
{
- // InternalRDL.g:2721:3: (enumLiteral_4= 'field' )
- // InternalRDL.g:2722:4: enumLiteral_4= 'field'
+ // InternalRDL.g:2781:3: (enumLiteral_4= 'field' )
+ // InternalRDL.g:2782:4: enumLiteral_4= 'field'
{
- enumLiteral_4=(Token)match(input,45,FOLLOW_2);
+ enumLiteral_4=(Token)match(input,45,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4());
-
+ current = grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4());
+
+ }
}
@@ -6974,16 +7687,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalRDL.g:2729:3: (enumLiteral_5= 'all' )
+ // InternalRDL.g:2789:3: (enumLiteral_5= 'all' )
{
- // InternalRDL.g:2729:3: (enumLiteral_5= 'all' )
- // InternalRDL.g:2730:4: enumLiteral_5= 'all'
+ // InternalRDL.g:2789:3: (enumLiteral_5= 'all' )
+ // InternalRDL.g:2790:4: enumLiteral_5= 'all'
{
- enumLiteral_5=(Token)match(input,48,FOLLOW_2);
+ enumLiteral_5=(Token)match(input,48,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5());
-
+ current = grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5());
+
+ }
}
@@ -6996,9 +7711,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -7013,7 +7730,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleComponentDefinitionType"
- // InternalRDL.g:2740:1: ruleComponentDefinitionType returns [Enumerator current=null] : ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) ;
+ // InternalRDL.g:2800:1: ruleComponentDefinitionType returns [Enumerator current=null] : ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) ;
public final Enumerator ruleComponentDefinitionType() throws RecognitionException {
Enumerator current = null;
@@ -7027,56 +7744,59 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2746:2: ( ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) )
- // InternalRDL.g:2747:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) )
+ // InternalRDL.g:2806:2: ( ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) )
+ // InternalRDL.g:2807:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) )
{
- // InternalRDL.g:2747:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) )
- int alt45=5;
+ // InternalRDL.g:2807:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) )
+ int alt44=5;
switch ( input.LA(1) ) {
case 47:
{
- alt45=1;
+ alt44=1;
}
break;
case 42:
{
- alt45=2;
+ alt44=2;
}
break;
case 44:
{
- alt45=3;
+ alt44=3;
}
break;
case 43:
{
- alt45=4;
+ alt44=4;
}
break;
case 45:
{
- alt45=5;
+ alt44=5;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 45, 0, input);
+ new NoViableAltException("", 44, 0, input);
throw nvae;
}
- switch (alt45) {
+ switch (alt44) {
case 1 :
- // InternalRDL.g:2748:3: (enumLiteral_0= 'signal' )
+ // InternalRDL.g:2808:3: (enumLiteral_0= 'signal' )
{
- // InternalRDL.g:2748:3: (enumLiteral_0= 'signal' )
- // InternalRDL.g:2749:4: enumLiteral_0= 'signal'
+ // InternalRDL.g:2808:3: (enumLiteral_0= 'signal' )
+ // InternalRDL.g:2809:4: enumLiteral_0= 'signal'
{
- enumLiteral_0=(Token)match(input,47,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,47,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0());
-
+ current = grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0());
+
+ }
}
@@ -7084,16 +7804,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2756:3: (enumLiteral_1= 'addrmap' )
+ // InternalRDL.g:2816:3: (enumLiteral_1= 'addrmap' )
{
- // InternalRDL.g:2756:3: (enumLiteral_1= 'addrmap' )
- // InternalRDL.g:2757:4: enumLiteral_1= 'addrmap'
+ // InternalRDL.g:2816:3: (enumLiteral_1= 'addrmap' )
+ // InternalRDL.g:2817:4: enumLiteral_1= 'addrmap'
{
- enumLiteral_1=(Token)match(input,42,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,42,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1());
-
+ current = grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1());
+
+ }
}
@@ -7101,16 +7823,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:2764:3: (enumLiteral_2= 'regfile' )
+ // InternalRDL.g:2824:3: (enumLiteral_2= 'regfile' )
{
- // InternalRDL.g:2764:3: (enumLiteral_2= 'regfile' )
- // InternalRDL.g:2765:4: enumLiteral_2= 'regfile'
+ // InternalRDL.g:2824:3: (enumLiteral_2= 'regfile' )
+ // InternalRDL.g:2825:4: enumLiteral_2= 'regfile'
{
- enumLiteral_2=(Token)match(input,44,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,44,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2());
-
+ current = grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2());
+
+ }
}
@@ -7118,16 +7842,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:2772:3: (enumLiteral_3= 'reg' )
+ // InternalRDL.g:2832:3: (enumLiteral_3= 'reg' )
{
- // InternalRDL.g:2772:3: (enumLiteral_3= 'reg' )
- // InternalRDL.g:2773:4: enumLiteral_3= 'reg'
+ // InternalRDL.g:2832:3: (enumLiteral_3= 'reg' )
+ // InternalRDL.g:2833:4: enumLiteral_3= 'reg'
{
- enumLiteral_3=(Token)match(input,43,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,43,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3());
-
+ current = grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3());
+
+ }
}
@@ -7135,16 +7861,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalRDL.g:2780:3: (enumLiteral_4= 'field' )
+ // InternalRDL.g:2840:3: (enumLiteral_4= 'field' )
{
- // InternalRDL.g:2780:3: (enumLiteral_4= 'field' )
- // InternalRDL.g:2781:4: enumLiteral_4= 'field'
+ // InternalRDL.g:2840:3: (enumLiteral_4= 'field' )
+ // InternalRDL.g:2841:4: enumLiteral_4= 'field'
{
- enumLiteral_4=(Token)match(input,45,FOLLOW_2);
+ enumLiteral_4=(Token)match(input,45,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4());
-
+ current = grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4());
+
+ }
}
@@ -7157,9 +7885,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -7174,7 +7904,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleProperty"
- // InternalRDL.g:2791:1: ruleProperty returns [Enumerator current=null] : ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) ;
+ // InternalRDL.g:2851:1: ruleProperty returns [Enumerator current=null] : ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) ;
public final Enumerator ruleProperty() throws RecognitionException {
Enumerator current = null;
@@ -7258,406 +7988,409 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:2797:2: ( ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) )
- // InternalRDL.g:2798:2: ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) )
+ // InternalRDL.g:2857:2: ( ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) )
+ // InternalRDL.g:2858:2: ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) )
{
- // InternalRDL.g:2798:2: ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) )
- int alt46=75;
+ // InternalRDL.g:2858:2: ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) )
+ int alt45=75;
switch ( input.LA(1) ) {
- case 37:
+ case 35:
{
- alt46=1;
+ alt45=1;
}
break;
- case 38:
+ case 36:
{
- alt46=2;
+ alt45=2;
}
break;
case 49:
{
- alt46=3;
+ alt45=3;
}
break;
case 50:
{
- alt46=4;
+ alt45=4;
}
break;
case 51:
{
- alt46=5;
+ alt45=5;
}
break;
case 52:
{
- alt46=6;
+ alt45=6;
}
break;
case 53:
{
- alt46=7;
+ alt45=7;
}
break;
case 54:
{
- alt46=8;
+ alt45=8;
}
break;
case 55:
{
- alt46=9;
+ alt45=9;
}
break;
case 56:
{
- alt46=10;
+ alt45=10;
}
break;
case 57:
{
- alt46=11;
+ alt45=11;
}
break;
case 58:
{
- alt46=12;
+ alt45=12;
}
break;
case 59:
{
- alt46=13;
+ alt45=13;
}
break;
case 60:
{
- alt46=14;
+ alt45=14;
}
break;
case 61:
{
- alt46=15;
+ alt45=15;
}
break;
case 62:
{
- alt46=16;
+ alt45=16;
}
break;
case 63:
{
- alt46=17;
+ alt45=17;
}
break;
case 64:
{
- alt46=18;
+ alt45=18;
}
break;
case 65:
{
- alt46=19;
+ alt45=19;
}
break;
case 66:
{
- alt46=20;
+ alt45=20;
}
break;
case 67:
{
- alt46=21;
+ alt45=21;
}
break;
case 68:
{
- alt46=22;
+ alt45=22;
}
break;
case 69:
{
- alt46=23;
+ alt45=23;
}
break;
case 70:
{
- alt46=24;
+ alt45=24;
}
break;
case 71:
{
- alt46=25;
+ alt45=25;
}
break;
case 72:
{
- alt46=26;
+ alt45=26;
}
break;
case 73:
{
- alt46=27;
+ alt45=27;
}
break;
case 74:
{
- alt46=28;
+ alt45=28;
}
break;
case 75:
{
- alt46=29;
+ alt45=29;
}
break;
case 76:
{
- alt46=30;
+ alt45=30;
}
break;
case 77:
{
- alt46=31;
+ alt45=31;
}
break;
case 78:
{
- alt46=32;
+ alt45=32;
}
break;
case 79:
{
- alt46=33;
+ alt45=33;
}
break;
case 80:
{
- alt46=34;
+ alt45=34;
}
break;
case 81:
{
- alt46=35;
+ alt45=35;
}
break;
case 82:
{
- alt46=36;
+ alt45=36;
}
break;
case 83:
{
- alt46=37;
+ alt45=37;
}
break;
case 84:
{
- alt46=38;
+ alt45=38;
}
break;
case 85:
{
- alt46=39;
+ alt45=39;
}
break;
case 86:
{
- alt46=40;
+ alt45=40;
}
break;
case 87:
{
- alt46=41;
+ alt45=41;
}
break;
case 88:
{
- alt46=42;
+ alt45=42;
}
break;
case 89:
{
- alt46=43;
+ alt45=43;
}
break;
case 90:
{
- alt46=44;
+ alt45=44;
}
break;
case 91:
{
- alt46=45;
+ alt45=45;
}
break;
case 92:
{
- alt46=46;
+ alt45=46;
}
break;
case 93:
{
- alt46=47;
+ alt45=47;
}
break;
case 94:
{
- alt46=48;
+ alt45=48;
}
break;
case 95:
{
- alt46=49;
+ alt45=49;
}
break;
case 96:
{
- alt46=50;
+ alt45=50;
}
break;
case 97:
{
- alt46=51;
+ alt45=51;
}
break;
case 98:
{
- alt46=52;
+ alt45=52;
}
break;
case 99:
{
- alt46=53;
+ alt45=53;
}
break;
case 100:
{
- alt46=54;
+ alt45=54;
}
break;
- case 25:
+ case 38:
{
- alt46=55;
+ alt45=55;
}
break;
case 101:
{
- alt46=56;
+ alt45=56;
}
break;
case 102:
{
- alt46=57;
+ alt45=57;
}
break;
case 103:
{
- alt46=58;
+ alt45=58;
}
break;
case 104:
{
- alt46=59;
+ alt45=59;
}
break;
case 105:
{
- alt46=60;
+ alt45=60;
}
break;
case 106:
{
- alt46=61;
+ alt45=61;
}
break;
case 107:
{
- alt46=62;
+ alt45=62;
}
break;
case 108:
{
- alt46=63;
+ alt45=63;
}
break;
case 109:
{
- alt46=64;
+ alt45=64;
}
break;
case 110:
{
- alt46=65;
+ alt45=65;
}
break;
case 111:
{
- alt46=66;
+ alt45=66;
}
break;
case 112:
{
- alt46=67;
+ alt45=67;
}
break;
case 113:
{
- alt46=68;
+ alt45=68;
}
break;
case 114:
{
- alt46=69;
+ alt45=69;
}
break;
case 115:
{
- alt46=70;
+ alt45=70;
}
break;
case 116:
{
- alt46=71;
+ alt45=71;
}
break;
case 117:
{
- alt46=72;
+ alt45=72;
}
break;
case 118:
{
- alt46=73;
+ alt45=73;
}
break;
case 119:
{
- alt46=74;
+ alt45=74;
}
break;
case 120:
{
- alt46=75;
+ alt45=75;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 46, 0, input);
+ new NoViableAltException("", 45, 0, input);
throw nvae;
}
- switch (alt46) {
+ switch (alt45) {
case 1 :
- // InternalRDL.g:2799:3: (enumLiteral_0= 'name' )
+ // InternalRDL.g:2859:3: (enumLiteral_0= 'name' )
{
- // InternalRDL.g:2799:3: (enumLiteral_0= 'name' )
- // InternalRDL.g:2800:4: enumLiteral_0= 'name'
+ // InternalRDL.g:2859:3: (enumLiteral_0= 'name' )
+ // InternalRDL.g:2860:4: enumLiteral_0= 'name'
{
- enumLiteral_0=(Token)match(input,37,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0());
-
+ current = grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0());
+
+ }
}
@@ -7665,16 +8398,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:2807:3: (enumLiteral_1= 'desc' )
+ // InternalRDL.g:2867:3: (enumLiteral_1= 'desc' )
{
- // InternalRDL.g:2807:3: (enumLiteral_1= 'desc' )
- // InternalRDL.g:2808:4: enumLiteral_1= 'desc'
+ // InternalRDL.g:2867:3: (enumLiteral_1= 'desc' )
+ // InternalRDL.g:2868:4: enumLiteral_1= 'desc'
{
- enumLiteral_1=(Token)match(input,38,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1());
-
+ current = grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1());
+
+ }
}
@@ -7682,16 +8417,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:2815:3: (enumLiteral_2= 'arbiter' )
+ // InternalRDL.g:2875:3: (enumLiteral_2= 'arbiter' )
{
- // InternalRDL.g:2815:3: (enumLiteral_2= 'arbiter' )
- // InternalRDL.g:2816:4: enumLiteral_2= 'arbiter'
+ // InternalRDL.g:2875:3: (enumLiteral_2= 'arbiter' )
+ // InternalRDL.g:2876:4: enumLiteral_2= 'arbiter'
{
- enumLiteral_2=(Token)match(input,49,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,49,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2());
-
+ current = grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2());
+
+ }
}
@@ -7699,16 +8436,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:2823:3: (enumLiteral_3= 'rset' )
+ // InternalRDL.g:2883:3: (enumLiteral_3= 'rset' )
{
- // InternalRDL.g:2823:3: (enumLiteral_3= 'rset' )
- // InternalRDL.g:2824:4: enumLiteral_3= 'rset'
+ // InternalRDL.g:2883:3: (enumLiteral_3= 'rset' )
+ // InternalRDL.g:2884:4: enumLiteral_3= 'rset'
{
- enumLiteral_3=(Token)match(input,50,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,50,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3());
-
+ current = grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3());
+
+ }
}
@@ -7716,16 +8455,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalRDL.g:2831:3: (enumLiteral_4= 'rclr' )
+ // InternalRDL.g:2891:3: (enumLiteral_4= 'rclr' )
{
- // InternalRDL.g:2831:3: (enumLiteral_4= 'rclr' )
- // InternalRDL.g:2832:4: enumLiteral_4= 'rclr'
+ // InternalRDL.g:2891:3: (enumLiteral_4= 'rclr' )
+ // InternalRDL.g:2892:4: enumLiteral_4= 'rclr'
{
- enumLiteral_4=(Token)match(input,51,FOLLOW_2);
+ enumLiteral_4=(Token)match(input,51,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4());
-
+ current = grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4());
+
+ }
}
@@ -7733,16 +8474,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalRDL.g:2839:3: (enumLiteral_5= 'woclr' )
+ // InternalRDL.g:2899:3: (enumLiteral_5= 'woclr' )
{
- // InternalRDL.g:2839:3: (enumLiteral_5= 'woclr' )
- // InternalRDL.g:2840:4: enumLiteral_5= 'woclr'
+ // InternalRDL.g:2899:3: (enumLiteral_5= 'woclr' )
+ // InternalRDL.g:2900:4: enumLiteral_5= 'woclr'
{
- enumLiteral_5=(Token)match(input,52,FOLLOW_2);
+ enumLiteral_5=(Token)match(input,52,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5());
-
+ current = grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5());
+
+ }
}
@@ -7750,16 +8493,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 7 :
- // InternalRDL.g:2847:3: (enumLiteral_6= 'woset' )
+ // InternalRDL.g:2907:3: (enumLiteral_6= 'woset' )
{
- // InternalRDL.g:2847:3: (enumLiteral_6= 'woset' )
- // InternalRDL.g:2848:4: enumLiteral_6= 'woset'
+ // InternalRDL.g:2907:3: (enumLiteral_6= 'woset' )
+ // InternalRDL.g:2908:4: enumLiteral_6= 'woset'
{
- enumLiteral_6=(Token)match(input,53,FOLLOW_2);
+ enumLiteral_6=(Token)match(input,53,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6());
-
+ current = grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6());
+
+ }
}
@@ -7767,16 +8512,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 8 :
- // InternalRDL.g:2855:3: (enumLiteral_7= 'we' )
+ // InternalRDL.g:2915:3: (enumLiteral_7= 'we' )
{
- // InternalRDL.g:2855:3: (enumLiteral_7= 'we' )
- // InternalRDL.g:2856:4: enumLiteral_7= 'we'
+ // InternalRDL.g:2915:3: (enumLiteral_7= 'we' )
+ // InternalRDL.g:2916:4: enumLiteral_7= 'we'
{
- enumLiteral_7=(Token)match(input,54,FOLLOW_2);
+ enumLiteral_7=(Token)match(input,54,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_7, grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7());
-
+ current = grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_7, grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7());
+
+ }
}
@@ -7784,16 +8531,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 9 :
- // InternalRDL.g:2863:3: (enumLiteral_8= 'wel' )
+ // InternalRDL.g:2923:3: (enumLiteral_8= 'wel' )
{
- // InternalRDL.g:2863:3: (enumLiteral_8= 'wel' )
- // InternalRDL.g:2864:4: enumLiteral_8= 'wel'
+ // InternalRDL.g:2923:3: (enumLiteral_8= 'wel' )
+ // InternalRDL.g:2924:4: enumLiteral_8= 'wel'
{
- enumLiteral_8=(Token)match(input,55,FOLLOW_2);
+ enumLiteral_8=(Token)match(input,55,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_8, grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8());
-
+ current = grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_8, grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8());
+
+ }
}
@@ -7801,16 +8550,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 10 :
- // InternalRDL.g:2871:3: (enumLiteral_9= 'swwe' )
+ // InternalRDL.g:2931:3: (enumLiteral_9= 'swwe' )
{
- // InternalRDL.g:2871:3: (enumLiteral_9= 'swwe' )
- // InternalRDL.g:2872:4: enumLiteral_9= 'swwe'
+ // InternalRDL.g:2931:3: (enumLiteral_9= 'swwe' )
+ // InternalRDL.g:2932:4: enumLiteral_9= 'swwe'
{
- enumLiteral_9=(Token)match(input,56,FOLLOW_2);
+ enumLiteral_9=(Token)match(input,56,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_9, grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9());
-
+ current = grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_9, grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9());
+
+ }
}
@@ -7818,16 +8569,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 11 :
- // InternalRDL.g:2879:3: (enumLiteral_10= 'swwel' )
+ // InternalRDL.g:2939:3: (enumLiteral_10= 'swwel' )
{
- // InternalRDL.g:2879:3: (enumLiteral_10= 'swwel' )
- // InternalRDL.g:2880:4: enumLiteral_10= 'swwel'
+ // InternalRDL.g:2939:3: (enumLiteral_10= 'swwel' )
+ // InternalRDL.g:2940:4: enumLiteral_10= 'swwel'
{
- enumLiteral_10=(Token)match(input,57,FOLLOW_2);
+ enumLiteral_10=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_10, grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10());
-
+ current = grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_10, grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10());
+
+ }
}
@@ -7835,16 +8588,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 12 :
- // InternalRDL.g:2887:3: (enumLiteral_11= 'hwset' )
+ // InternalRDL.g:2947:3: (enumLiteral_11= 'hwset' )
{
- // InternalRDL.g:2887:3: (enumLiteral_11= 'hwset' )
- // InternalRDL.g:2888:4: enumLiteral_11= 'hwset'
+ // InternalRDL.g:2947:3: (enumLiteral_11= 'hwset' )
+ // InternalRDL.g:2948:4: enumLiteral_11= 'hwset'
{
- enumLiteral_11=(Token)match(input,58,FOLLOW_2);
+ enumLiteral_11=(Token)match(input,58,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_11, grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11());
-
+ current = grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_11, grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11());
+
+ }
}
@@ -7852,16 +8607,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 13 :
- // InternalRDL.g:2895:3: (enumLiteral_12= 'hwclr' )
+ // InternalRDL.g:2955:3: (enumLiteral_12= 'hwclr' )
{
- // InternalRDL.g:2895:3: (enumLiteral_12= 'hwclr' )
- // InternalRDL.g:2896:4: enumLiteral_12= 'hwclr'
+ // InternalRDL.g:2955:3: (enumLiteral_12= 'hwclr' )
+ // InternalRDL.g:2956:4: enumLiteral_12= 'hwclr'
{
- enumLiteral_12=(Token)match(input,59,FOLLOW_2);
+ enumLiteral_12=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_12, grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12());
-
+ current = grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_12, grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12());
+
+ }
}
@@ -7869,16 +8626,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 14 :
- // InternalRDL.g:2903:3: (enumLiteral_13= 'swmod' )
+ // InternalRDL.g:2963:3: (enumLiteral_13= 'swmod' )
{
- // InternalRDL.g:2903:3: (enumLiteral_13= 'swmod' )
- // InternalRDL.g:2904:4: enumLiteral_13= 'swmod'
+ // InternalRDL.g:2963:3: (enumLiteral_13= 'swmod' )
+ // InternalRDL.g:2964:4: enumLiteral_13= 'swmod'
{
- enumLiteral_13=(Token)match(input,60,FOLLOW_2);
+ enumLiteral_13=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_13, grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13());
-
+ current = grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_13, grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13());
+
+ }
}
@@ -7886,16 +8645,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 15 :
- // InternalRDL.g:2911:3: (enumLiteral_14= 'swacc' )
+ // InternalRDL.g:2971:3: (enumLiteral_14= 'swacc' )
{
- // InternalRDL.g:2911:3: (enumLiteral_14= 'swacc' )
- // InternalRDL.g:2912:4: enumLiteral_14= 'swacc'
+ // InternalRDL.g:2971:3: (enumLiteral_14= 'swacc' )
+ // InternalRDL.g:2972:4: enumLiteral_14= 'swacc'
{
- enumLiteral_14=(Token)match(input,61,FOLLOW_2);
+ enumLiteral_14=(Token)match(input,61,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_14, grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14());
-
+ current = grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_14, grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14());
+
+ }
}
@@ -7903,16 +8664,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 16 :
- // InternalRDL.g:2919:3: (enumLiteral_15= 'sticky' )
+ // InternalRDL.g:2979:3: (enumLiteral_15= 'sticky' )
{
- // InternalRDL.g:2919:3: (enumLiteral_15= 'sticky' )
- // InternalRDL.g:2920:4: enumLiteral_15= 'sticky'
+ // InternalRDL.g:2979:3: (enumLiteral_15= 'sticky' )
+ // InternalRDL.g:2980:4: enumLiteral_15= 'sticky'
{
- enumLiteral_15=(Token)match(input,62,FOLLOW_2);
+ enumLiteral_15=(Token)match(input,62,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_15, grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15());
-
+ current = grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_15, grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15());
+
+ }
}
@@ -7920,16 +8683,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 17 :
- // InternalRDL.g:2927:3: (enumLiteral_16= 'stickybit' )
+ // InternalRDL.g:2987:3: (enumLiteral_16= 'stickybit' )
{
- // InternalRDL.g:2927:3: (enumLiteral_16= 'stickybit' )
- // InternalRDL.g:2928:4: enumLiteral_16= 'stickybit'
+ // InternalRDL.g:2987:3: (enumLiteral_16= 'stickybit' )
+ // InternalRDL.g:2988:4: enumLiteral_16= 'stickybit'
{
- enumLiteral_16=(Token)match(input,63,FOLLOW_2);
+ enumLiteral_16=(Token)match(input,63,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_16, grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16());
-
+ current = grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_16, grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16());
+
+ }
}
@@ -7937,16 +8702,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 18 :
- // InternalRDL.g:2935:3: (enumLiteral_17= 'intr' )
+ // InternalRDL.g:2995:3: (enumLiteral_17= 'intr' )
{
- // InternalRDL.g:2935:3: (enumLiteral_17= 'intr' )
- // InternalRDL.g:2936:4: enumLiteral_17= 'intr'
+ // InternalRDL.g:2995:3: (enumLiteral_17= 'intr' )
+ // InternalRDL.g:2996:4: enumLiteral_17= 'intr'
{
- enumLiteral_17=(Token)match(input,64,FOLLOW_2);
+ enumLiteral_17=(Token)match(input,64,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_17, grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17());
-
+ current = grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_17, grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17());
+
+ }
}
@@ -7954,16 +8721,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 19 :
- // InternalRDL.g:2943:3: (enumLiteral_18= 'anded' )
+ // InternalRDL.g:3003:3: (enumLiteral_18= 'anded' )
{
- // InternalRDL.g:2943:3: (enumLiteral_18= 'anded' )
- // InternalRDL.g:2944:4: enumLiteral_18= 'anded'
+ // InternalRDL.g:3003:3: (enumLiteral_18= 'anded' )
+ // InternalRDL.g:3004:4: enumLiteral_18= 'anded'
{
- enumLiteral_18=(Token)match(input,65,FOLLOW_2);
+ enumLiteral_18=(Token)match(input,65,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_18, grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18());
-
+ current = grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_18, grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18());
+
+ }
}
@@ -7971,16 +8740,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 20 :
- // InternalRDL.g:2951:3: (enumLiteral_19= 'ored' )
+ // InternalRDL.g:3011:3: (enumLiteral_19= 'ored' )
{
- // InternalRDL.g:2951:3: (enumLiteral_19= 'ored' )
- // InternalRDL.g:2952:4: enumLiteral_19= 'ored'
+ // InternalRDL.g:3011:3: (enumLiteral_19= 'ored' )
+ // InternalRDL.g:3012:4: enumLiteral_19= 'ored'
{
- enumLiteral_19=(Token)match(input,66,FOLLOW_2);
+ enumLiteral_19=(Token)match(input,66,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_19, grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19());
-
+ current = grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_19, grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19());
+
+ }
}
@@ -7988,16 +8759,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 21 :
- // InternalRDL.g:2959:3: (enumLiteral_20= 'xored' )
+ // InternalRDL.g:3019:3: (enumLiteral_20= 'xored' )
{
- // InternalRDL.g:2959:3: (enumLiteral_20= 'xored' )
- // InternalRDL.g:2960:4: enumLiteral_20= 'xored'
+ // InternalRDL.g:3019:3: (enumLiteral_20= 'xored' )
+ // InternalRDL.g:3020:4: enumLiteral_20= 'xored'
{
- enumLiteral_20=(Token)match(input,67,FOLLOW_2);
+ enumLiteral_20=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_20, grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20());
-
+ current = grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_20, grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20());
+
+ }
}
@@ -8005,16 +8778,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 22 :
- // InternalRDL.g:2967:3: (enumLiteral_21= 'counter' )
+ // InternalRDL.g:3027:3: (enumLiteral_21= 'counter' )
{
- // InternalRDL.g:2967:3: (enumLiteral_21= 'counter' )
- // InternalRDL.g:2968:4: enumLiteral_21= 'counter'
+ // InternalRDL.g:3027:3: (enumLiteral_21= 'counter' )
+ // InternalRDL.g:3028:4: enumLiteral_21= 'counter'
{
- enumLiteral_21=(Token)match(input,68,FOLLOW_2);
+ enumLiteral_21=(Token)match(input,68,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_21, grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21());
-
+ current = grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_21, grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21());
+
+ }
}
@@ -8022,16 +8797,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 23 :
- // InternalRDL.g:2975:3: (enumLiteral_22= 'overflow' )
+ // InternalRDL.g:3035:3: (enumLiteral_22= 'overflow' )
{
- // InternalRDL.g:2975:3: (enumLiteral_22= 'overflow' )
- // InternalRDL.g:2976:4: enumLiteral_22= 'overflow'
+ // InternalRDL.g:3035:3: (enumLiteral_22= 'overflow' )
+ // InternalRDL.g:3036:4: enumLiteral_22= 'overflow'
{
- enumLiteral_22=(Token)match(input,69,FOLLOW_2);
+ enumLiteral_22=(Token)match(input,69,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_22, grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22());
-
+ current = grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_22, grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22());
+
+ }
}
@@ -8039,16 +8816,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 24 :
- // InternalRDL.g:2983:3: (enumLiteral_23= 'sharedextbus' )
+ // InternalRDL.g:3043:3: (enumLiteral_23= 'sharedextbus' )
{
- // InternalRDL.g:2983:3: (enumLiteral_23= 'sharedextbus' )
- // InternalRDL.g:2984:4: enumLiteral_23= 'sharedextbus'
+ // InternalRDL.g:3043:3: (enumLiteral_23= 'sharedextbus' )
+ // InternalRDL.g:3044:4: enumLiteral_23= 'sharedextbus'
{
- enumLiteral_23=(Token)match(input,70,FOLLOW_2);
+ enumLiteral_23=(Token)match(input,70,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_23, grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23());
-
+ current = grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_23, grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23());
+
+ }
}
@@ -8056,16 +8835,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 25 :
- // InternalRDL.g:2991:3: (enumLiteral_24= 'errextbus' )
+ // InternalRDL.g:3051:3: (enumLiteral_24= 'errextbus' )
{
- // InternalRDL.g:2991:3: (enumLiteral_24= 'errextbus' )
- // InternalRDL.g:2992:4: enumLiteral_24= 'errextbus'
+ // InternalRDL.g:3051:3: (enumLiteral_24= 'errextbus' )
+ // InternalRDL.g:3052:4: enumLiteral_24= 'errextbus'
{
- enumLiteral_24=(Token)match(input,71,FOLLOW_2);
+ enumLiteral_24=(Token)match(input,71,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_24, grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24());
-
+ current = grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_24, grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24());
+
+ }
}
@@ -8073,16 +8854,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 26 :
- // InternalRDL.g:2999:3: (enumLiteral_25= 'reset' )
+ // InternalRDL.g:3059:3: (enumLiteral_25= 'reset' )
{
- // InternalRDL.g:2999:3: (enumLiteral_25= 'reset' )
- // InternalRDL.g:3000:4: enumLiteral_25= 'reset'
+ // InternalRDL.g:3059:3: (enumLiteral_25= 'reset' )
+ // InternalRDL.g:3060:4: enumLiteral_25= 'reset'
{
- enumLiteral_25=(Token)match(input,72,FOLLOW_2);
+ enumLiteral_25=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_25, grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25());
-
+ current = grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_25, grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25());
+
+ }
}
@@ -8090,16 +8873,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 27 :
- // InternalRDL.g:3007:3: (enumLiteral_26= 'littleendian' )
+ // InternalRDL.g:3067:3: (enumLiteral_26= 'littleendian' )
{
- // InternalRDL.g:3007:3: (enumLiteral_26= 'littleendian' )
- // InternalRDL.g:3008:4: enumLiteral_26= 'littleendian'
+ // InternalRDL.g:3067:3: (enumLiteral_26= 'littleendian' )
+ // InternalRDL.g:3068:4: enumLiteral_26= 'littleendian'
{
- enumLiteral_26=(Token)match(input,73,FOLLOW_2);
+ enumLiteral_26=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_26, grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26());
-
+ current = grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_26, grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26());
+
+ }
}
@@ -8107,16 +8892,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 28 :
- // InternalRDL.g:3015:3: (enumLiteral_27= 'bigendian' )
+ // InternalRDL.g:3075:3: (enumLiteral_27= 'bigendian' )
{
- // InternalRDL.g:3015:3: (enumLiteral_27= 'bigendian' )
- // InternalRDL.g:3016:4: enumLiteral_27= 'bigendian'
+ // InternalRDL.g:3075:3: (enumLiteral_27= 'bigendian' )
+ // InternalRDL.g:3076:4: enumLiteral_27= 'bigendian'
{
- enumLiteral_27=(Token)match(input,74,FOLLOW_2);
+ enumLiteral_27=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_27, grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27());
-
+ current = grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_27, grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27());
+
+ }
}
@@ -8124,16 +8911,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 29 :
- // InternalRDL.g:3023:3: (enumLiteral_28= 'rsvdset' )
+ // InternalRDL.g:3083:3: (enumLiteral_28= 'rsvdset' )
{
- // InternalRDL.g:3023:3: (enumLiteral_28= 'rsvdset' )
- // InternalRDL.g:3024:4: enumLiteral_28= 'rsvdset'
+ // InternalRDL.g:3083:3: (enumLiteral_28= 'rsvdset' )
+ // InternalRDL.g:3084:4: enumLiteral_28= 'rsvdset'
{
- enumLiteral_28=(Token)match(input,75,FOLLOW_2);
+ enumLiteral_28=(Token)match(input,75,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_28, grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28());
-
+ current = grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_28, grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28());
+
+ }
}
@@ -8141,16 +8930,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 30 :
- // InternalRDL.g:3031:3: (enumLiteral_29= 'rsvdsetX' )
+ // InternalRDL.g:3091:3: (enumLiteral_29= 'rsvdsetX' )
{
- // InternalRDL.g:3031:3: (enumLiteral_29= 'rsvdsetX' )
- // InternalRDL.g:3032:4: enumLiteral_29= 'rsvdsetX'
+ // InternalRDL.g:3091:3: (enumLiteral_29= 'rsvdsetX' )
+ // InternalRDL.g:3092:4: enumLiteral_29= 'rsvdsetX'
{
- enumLiteral_29=(Token)match(input,76,FOLLOW_2);
+ enumLiteral_29=(Token)match(input,76,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_29, grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29());
-
+ current = grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_29, grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29());
+
+ }
}
@@ -8158,16 +8949,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 31 :
- // InternalRDL.g:3039:3: (enumLiteral_30= 'bridge' )
+ // InternalRDL.g:3099:3: (enumLiteral_30= 'bridge' )
{
- // InternalRDL.g:3039:3: (enumLiteral_30= 'bridge' )
- // InternalRDL.g:3040:4: enumLiteral_30= 'bridge'
+ // InternalRDL.g:3099:3: (enumLiteral_30= 'bridge' )
+ // InternalRDL.g:3100:4: enumLiteral_30= 'bridge'
{
- enumLiteral_30=(Token)match(input,77,FOLLOW_2);
+ enumLiteral_30=(Token)match(input,77,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_30, grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30());
-
+ current = grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_30, grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30());
+
+ }
}
@@ -8175,16 +8968,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 32 :
- // InternalRDL.g:3047:3: (enumLiteral_31= 'shared' )
+ // InternalRDL.g:3107:3: (enumLiteral_31= 'shared' )
{
- // InternalRDL.g:3047:3: (enumLiteral_31= 'shared' )
- // InternalRDL.g:3048:4: enumLiteral_31= 'shared'
+ // InternalRDL.g:3107:3: (enumLiteral_31= 'shared' )
+ // InternalRDL.g:3108:4: enumLiteral_31= 'shared'
{
- enumLiteral_31=(Token)match(input,78,FOLLOW_2);
+ enumLiteral_31=(Token)match(input,78,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_31, grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31());
-
+ current = grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_31, grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31());
+
+ }
}
@@ -8192,16 +8987,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 33 :
- // InternalRDL.g:3055:3: (enumLiteral_32= 'msb0' )
+ // InternalRDL.g:3115:3: (enumLiteral_32= 'msb0' )
{
- // InternalRDL.g:3055:3: (enumLiteral_32= 'msb0' )
- // InternalRDL.g:3056:4: enumLiteral_32= 'msb0'
+ // InternalRDL.g:3115:3: (enumLiteral_32= 'msb0' )
+ // InternalRDL.g:3116:4: enumLiteral_32= 'msb0'
{
- enumLiteral_32=(Token)match(input,79,FOLLOW_2);
+ enumLiteral_32=(Token)match(input,79,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_32, grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32());
-
+ current = grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_32, grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32());
+
+ }
}
@@ -8209,16 +9006,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 34 :
- // InternalRDL.g:3063:3: (enumLiteral_33= 'lsb0' )
+ // InternalRDL.g:3123:3: (enumLiteral_33= 'lsb0' )
{
- // InternalRDL.g:3063:3: (enumLiteral_33= 'lsb0' )
- // InternalRDL.g:3064:4: enumLiteral_33= 'lsb0'
+ // InternalRDL.g:3123:3: (enumLiteral_33= 'lsb0' )
+ // InternalRDL.g:3124:4: enumLiteral_33= 'lsb0'
{
- enumLiteral_33=(Token)match(input,80,FOLLOW_2);
+ enumLiteral_33=(Token)match(input,80,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_33, grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33());
-
+ current = grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_33, grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33());
+
+ }
}
@@ -8226,16 +9025,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 35 :
- // InternalRDL.g:3071:3: (enumLiteral_34= 'sync' )
+ // InternalRDL.g:3131:3: (enumLiteral_34= 'sync' )
{
- // InternalRDL.g:3071:3: (enumLiteral_34= 'sync' )
- // InternalRDL.g:3072:4: enumLiteral_34= 'sync'
+ // InternalRDL.g:3131:3: (enumLiteral_34= 'sync' )
+ // InternalRDL.g:3132:4: enumLiteral_34= 'sync'
{
- enumLiteral_34=(Token)match(input,81,FOLLOW_2);
+ enumLiteral_34=(Token)match(input,81,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_34, grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34());
-
+ current = grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_34, grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34());
+
+ }
}
@@ -8243,16 +9044,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 36 :
- // InternalRDL.g:3079:3: (enumLiteral_35= 'async' )
+ // InternalRDL.g:3139:3: (enumLiteral_35= 'async' )
{
- // InternalRDL.g:3079:3: (enumLiteral_35= 'async' )
- // InternalRDL.g:3080:4: enumLiteral_35= 'async'
+ // InternalRDL.g:3139:3: (enumLiteral_35= 'async' )
+ // InternalRDL.g:3140:4: enumLiteral_35= 'async'
{
- enumLiteral_35=(Token)match(input,82,FOLLOW_2);
+ enumLiteral_35=(Token)match(input,82,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_35, grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35());
-
+ current = grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_35, grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35());
+
+ }
}
@@ -8260,16 +9063,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 37 :
- // InternalRDL.g:3087:3: (enumLiteral_36= 'cpuif_reset' )
+ // InternalRDL.g:3147:3: (enumLiteral_36= 'cpuif_reset' )
{
- // InternalRDL.g:3087:3: (enumLiteral_36= 'cpuif_reset' )
- // InternalRDL.g:3088:4: enumLiteral_36= 'cpuif_reset'
+ // InternalRDL.g:3147:3: (enumLiteral_36= 'cpuif_reset' )
+ // InternalRDL.g:3148:4: enumLiteral_36= 'cpuif_reset'
{
- enumLiteral_36=(Token)match(input,83,FOLLOW_2);
+ enumLiteral_36=(Token)match(input,83,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_36, grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36());
-
+ current = grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_36, grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36());
+
+ }
}
@@ -8277,16 +9082,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 38 :
- // InternalRDL.g:3095:3: (enumLiteral_37= 'field_reset' )
+ // InternalRDL.g:3155:3: (enumLiteral_37= 'field_reset' )
{
- // InternalRDL.g:3095:3: (enumLiteral_37= 'field_reset' )
- // InternalRDL.g:3096:4: enumLiteral_37= 'field_reset'
+ // InternalRDL.g:3155:3: (enumLiteral_37= 'field_reset' )
+ // InternalRDL.g:3156:4: enumLiteral_37= 'field_reset'
{
- enumLiteral_37=(Token)match(input,84,FOLLOW_2);
+ enumLiteral_37=(Token)match(input,84,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_37, grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37());
-
+ current = grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_37, grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37());
+
+ }
}
@@ -8294,16 +9101,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 39 :
- // InternalRDL.g:3103:3: (enumLiteral_38= 'activehigh' )
+ // InternalRDL.g:3163:3: (enumLiteral_38= 'activehigh' )
{
- // InternalRDL.g:3103:3: (enumLiteral_38= 'activehigh' )
- // InternalRDL.g:3104:4: enumLiteral_38= 'activehigh'
+ // InternalRDL.g:3163:3: (enumLiteral_38= 'activehigh' )
+ // InternalRDL.g:3164:4: enumLiteral_38= 'activehigh'
{
- enumLiteral_38=(Token)match(input,85,FOLLOW_2);
+ enumLiteral_38=(Token)match(input,85,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_38, grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38());
-
+ current = grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_38, grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38());
+
+ }
}
@@ -8311,16 +9120,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 40 :
- // InternalRDL.g:3111:3: (enumLiteral_39= 'activelow' )
+ // InternalRDL.g:3171:3: (enumLiteral_39= 'activelow' )
{
- // InternalRDL.g:3111:3: (enumLiteral_39= 'activelow' )
- // InternalRDL.g:3112:4: enumLiteral_39= 'activelow'
+ // InternalRDL.g:3171:3: (enumLiteral_39= 'activelow' )
+ // InternalRDL.g:3172:4: enumLiteral_39= 'activelow'
{
- enumLiteral_39=(Token)match(input,86,FOLLOW_2);
+ enumLiteral_39=(Token)match(input,86,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_39, grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39());
-
+ current = grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_39, grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39());
+
+ }
}
@@ -8328,16 +9139,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 41 :
- // InternalRDL.g:3119:3: (enumLiteral_40= 'singlepulse' )
+ // InternalRDL.g:3179:3: (enumLiteral_40= 'singlepulse' )
{
- // InternalRDL.g:3119:3: (enumLiteral_40= 'singlepulse' )
- // InternalRDL.g:3120:4: enumLiteral_40= 'singlepulse'
+ // InternalRDL.g:3179:3: (enumLiteral_40= 'singlepulse' )
+ // InternalRDL.g:3180:4: enumLiteral_40= 'singlepulse'
{
- enumLiteral_40=(Token)match(input,87,FOLLOW_2);
+ enumLiteral_40=(Token)match(input,87,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_40, grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40());
-
+ current = grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_40, grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40());
+
+ }
}
@@ -8345,16 +9158,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 42 :
- // InternalRDL.g:3127:3: (enumLiteral_41= 'underflow' )
+ // InternalRDL.g:3187:3: (enumLiteral_41= 'underflow' )
{
- // InternalRDL.g:3127:3: (enumLiteral_41= 'underflow' )
- // InternalRDL.g:3128:4: enumLiteral_41= 'underflow'
+ // InternalRDL.g:3187:3: (enumLiteral_41= 'underflow' )
+ // InternalRDL.g:3188:4: enumLiteral_41= 'underflow'
{
- enumLiteral_41=(Token)match(input,88,FOLLOW_2);
+ enumLiteral_41=(Token)match(input,88,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_41, grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41());
-
+ current = grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_41, grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41());
+
+ }
}
@@ -8362,16 +9177,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 43 :
- // InternalRDL.g:3135:3: (enumLiteral_42= 'incr' )
+ // InternalRDL.g:3195:3: (enumLiteral_42= 'incr' )
{
- // InternalRDL.g:3135:3: (enumLiteral_42= 'incr' )
- // InternalRDL.g:3136:4: enumLiteral_42= 'incr'
+ // InternalRDL.g:3195:3: (enumLiteral_42= 'incr' )
+ // InternalRDL.g:3196:4: enumLiteral_42= 'incr'
{
- enumLiteral_42=(Token)match(input,89,FOLLOW_2);
+ enumLiteral_42=(Token)match(input,89,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_42, grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42());
-
+ current = grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_42, grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42());
+
+ }
}
@@ -8379,16 +9196,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 44 :
- // InternalRDL.g:3143:3: (enumLiteral_43= 'decr' )
+ // InternalRDL.g:3203:3: (enumLiteral_43= 'decr' )
{
- // InternalRDL.g:3143:3: (enumLiteral_43= 'decr' )
- // InternalRDL.g:3144:4: enumLiteral_43= 'decr'
+ // InternalRDL.g:3203:3: (enumLiteral_43= 'decr' )
+ // InternalRDL.g:3204:4: enumLiteral_43= 'decr'
{
- enumLiteral_43=(Token)match(input,90,FOLLOW_2);
+ enumLiteral_43=(Token)match(input,90,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_43, grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43());
-
+ current = grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_43, grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43());
+
+ }
}
@@ -8396,16 +9215,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 45 :
- // InternalRDL.g:3151:3: (enumLiteral_44= 'incrwidth' )
+ // InternalRDL.g:3211:3: (enumLiteral_44= 'incrwidth' )
{
- // InternalRDL.g:3151:3: (enumLiteral_44= 'incrwidth' )
- // InternalRDL.g:3152:4: enumLiteral_44= 'incrwidth'
+ // InternalRDL.g:3211:3: (enumLiteral_44= 'incrwidth' )
+ // InternalRDL.g:3212:4: enumLiteral_44= 'incrwidth'
{
- enumLiteral_44=(Token)match(input,91,FOLLOW_2);
+ enumLiteral_44=(Token)match(input,91,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_44, grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44());
-
+ current = grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_44, grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44());
+
+ }
}
@@ -8413,16 +9234,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 46 :
- // InternalRDL.g:3159:3: (enumLiteral_45= 'decrwidth' )
+ // InternalRDL.g:3219:3: (enumLiteral_45= 'decrwidth' )
{
- // InternalRDL.g:3159:3: (enumLiteral_45= 'decrwidth' )
- // InternalRDL.g:3160:4: enumLiteral_45= 'decrwidth'
+ // InternalRDL.g:3219:3: (enumLiteral_45= 'decrwidth' )
+ // InternalRDL.g:3220:4: enumLiteral_45= 'decrwidth'
{
- enumLiteral_45=(Token)match(input,92,FOLLOW_2);
+ enumLiteral_45=(Token)match(input,92,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_45, grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45());
-
+ current = grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_45, grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45());
+
+ }
}
@@ -8430,16 +9253,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 47 :
- // InternalRDL.g:3167:3: (enumLiteral_46= 'incrvalue' )
+ // InternalRDL.g:3227:3: (enumLiteral_46= 'incrvalue' )
{
- // InternalRDL.g:3167:3: (enumLiteral_46= 'incrvalue' )
- // InternalRDL.g:3168:4: enumLiteral_46= 'incrvalue'
+ // InternalRDL.g:3227:3: (enumLiteral_46= 'incrvalue' )
+ // InternalRDL.g:3228:4: enumLiteral_46= 'incrvalue'
{
- enumLiteral_46=(Token)match(input,93,FOLLOW_2);
+ enumLiteral_46=(Token)match(input,93,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_46, grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46());
-
+ current = grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_46, grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46());
+
+ }
}
@@ -8447,16 +9272,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 48 :
- // InternalRDL.g:3175:3: (enumLiteral_47= 'decrvalue' )
+ // InternalRDL.g:3235:3: (enumLiteral_47= 'decrvalue' )
{
- // InternalRDL.g:3175:3: (enumLiteral_47= 'decrvalue' )
- // InternalRDL.g:3176:4: enumLiteral_47= 'decrvalue'
+ // InternalRDL.g:3235:3: (enumLiteral_47= 'decrvalue' )
+ // InternalRDL.g:3236:4: enumLiteral_47= 'decrvalue'
{
- enumLiteral_47=(Token)match(input,94,FOLLOW_2);
+ enumLiteral_47=(Token)match(input,94,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_47, grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47());
-
+ current = grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_47, grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47());
+
+ }
}
@@ -8464,16 +9291,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 49 :
- // InternalRDL.g:3183:3: (enumLiteral_48= 'saturate' )
+ // InternalRDL.g:3243:3: (enumLiteral_48= 'saturate' )
{
- // InternalRDL.g:3183:3: (enumLiteral_48= 'saturate' )
- // InternalRDL.g:3184:4: enumLiteral_48= 'saturate'
+ // InternalRDL.g:3243:3: (enumLiteral_48= 'saturate' )
+ // InternalRDL.g:3244:4: enumLiteral_48= 'saturate'
{
- enumLiteral_48=(Token)match(input,95,FOLLOW_2);
+ enumLiteral_48=(Token)match(input,95,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_48, grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48());
-
+ current = grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_48, grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48());
+
+ }
}
@@ -8481,16 +9310,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 50 :
- // InternalRDL.g:3191:3: (enumLiteral_49= 'decrsaturate' )
+ // InternalRDL.g:3251:3: (enumLiteral_49= 'decrsaturate' )
{
- // InternalRDL.g:3191:3: (enumLiteral_49= 'decrsaturate' )
- // InternalRDL.g:3192:4: enumLiteral_49= 'decrsaturate'
+ // InternalRDL.g:3251:3: (enumLiteral_49= 'decrsaturate' )
+ // InternalRDL.g:3252:4: enumLiteral_49= 'decrsaturate'
{
- enumLiteral_49=(Token)match(input,96,FOLLOW_2);
+ enumLiteral_49=(Token)match(input,96,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_49, grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49());
-
+ current = grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_49, grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49());
+
+ }
}
@@ -8498,16 +9329,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 51 :
- // InternalRDL.g:3199:3: (enumLiteral_50= 'threshold' )
+ // InternalRDL.g:3259:3: (enumLiteral_50= 'threshold' )
{
- // InternalRDL.g:3199:3: (enumLiteral_50= 'threshold' )
- // InternalRDL.g:3200:4: enumLiteral_50= 'threshold'
+ // InternalRDL.g:3259:3: (enumLiteral_50= 'threshold' )
+ // InternalRDL.g:3260:4: enumLiteral_50= 'threshold'
{
- enumLiteral_50=(Token)match(input,97,FOLLOW_2);
+ enumLiteral_50=(Token)match(input,97,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_50, grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50());
-
+ current = grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_50, grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50());
+
+ }
}
@@ -8515,16 +9348,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 52 :
- // InternalRDL.g:3207:3: (enumLiteral_51= 'decrthreshold' )
+ // InternalRDL.g:3267:3: (enumLiteral_51= 'decrthreshold' )
{
- // InternalRDL.g:3207:3: (enumLiteral_51= 'decrthreshold' )
- // InternalRDL.g:3208:4: enumLiteral_51= 'decrthreshold'
+ // InternalRDL.g:3267:3: (enumLiteral_51= 'decrthreshold' )
+ // InternalRDL.g:3268:4: enumLiteral_51= 'decrthreshold'
{
- enumLiteral_51=(Token)match(input,98,FOLLOW_2);
+ enumLiteral_51=(Token)match(input,98,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_51, grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51());
-
+ current = grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_51, grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51());
+
+ }
}
@@ -8532,16 +9367,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 53 :
- // InternalRDL.g:3215:3: (enumLiteral_52= 'dontcompare' )
+ // InternalRDL.g:3275:3: (enumLiteral_52= 'dontcompare' )
{
- // InternalRDL.g:3215:3: (enumLiteral_52= 'dontcompare' )
- // InternalRDL.g:3216:4: enumLiteral_52= 'dontcompare'
+ // InternalRDL.g:3275:3: (enumLiteral_52= 'dontcompare' )
+ // InternalRDL.g:3276:4: enumLiteral_52= 'dontcompare'
{
- enumLiteral_52=(Token)match(input,99,FOLLOW_2);
+ enumLiteral_52=(Token)match(input,99,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_52, grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52());
-
+ current = grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_52, grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52());
+
+ }
}
@@ -8549,16 +9386,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 54 :
- // InternalRDL.g:3223:3: (enumLiteral_53= 'donttest' )
+ // InternalRDL.g:3283:3: (enumLiteral_53= 'donttest' )
{
- // InternalRDL.g:3223:3: (enumLiteral_53= 'donttest' )
- // InternalRDL.g:3224:4: enumLiteral_53= 'donttest'
+ // InternalRDL.g:3283:3: (enumLiteral_53= 'donttest' )
+ // InternalRDL.g:3284:4: enumLiteral_53= 'donttest'
{
- enumLiteral_53=(Token)match(input,100,FOLLOW_2);
+ enumLiteral_53=(Token)match(input,100,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_53, grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53());
-
+ current = grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_53, grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53());
+
+ }
}
@@ -8566,16 +9405,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 55 :
- // InternalRDL.g:3231:3: (enumLiteral_54= 'internal' )
+ // InternalRDL.g:3291:3: (enumLiteral_54= 'internal' )
{
- // InternalRDL.g:3231:3: (enumLiteral_54= 'internal' )
- // InternalRDL.g:3232:4: enumLiteral_54= 'internal'
+ // InternalRDL.g:3291:3: (enumLiteral_54= 'internal' )
+ // InternalRDL.g:3292:4: enumLiteral_54= 'internal'
{
- enumLiteral_54=(Token)match(input,25,FOLLOW_2);
+ enumLiteral_54=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_54, grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54());
-
+ current = grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_54, grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54());
+
+ }
}
@@ -8583,16 +9424,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 56 :
- // InternalRDL.g:3239:3: (enumLiteral_55= 'alignment' )
+ // InternalRDL.g:3299:3: (enumLiteral_55= 'alignment' )
{
- // InternalRDL.g:3239:3: (enumLiteral_55= 'alignment' )
- // InternalRDL.g:3240:4: enumLiteral_55= 'alignment'
+ // InternalRDL.g:3299:3: (enumLiteral_55= 'alignment' )
+ // InternalRDL.g:3300:4: enumLiteral_55= 'alignment'
{
- enumLiteral_55=(Token)match(input,101,FOLLOW_2);
+ enumLiteral_55=(Token)match(input,101,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_55, grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55());
-
+ current = grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_55, grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55());
+
+ }
}
@@ -8600,16 +9443,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 57 :
- // InternalRDL.g:3247:3: (enumLiteral_56= 'regwidth' )
+ // InternalRDL.g:3307:3: (enumLiteral_56= 'regwidth' )
{
- // InternalRDL.g:3247:3: (enumLiteral_56= 'regwidth' )
- // InternalRDL.g:3248:4: enumLiteral_56= 'regwidth'
+ // InternalRDL.g:3307:3: (enumLiteral_56= 'regwidth' )
+ // InternalRDL.g:3308:4: enumLiteral_56= 'regwidth'
{
- enumLiteral_56=(Token)match(input,102,FOLLOW_2);
+ enumLiteral_56=(Token)match(input,102,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_56, grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56());
-
+ current = grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_56, grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56());
+
+ }
}
@@ -8617,16 +9462,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 58 :
- // InternalRDL.g:3255:3: (enumLiteral_57= 'fieldwidth' )
+ // InternalRDL.g:3315:3: (enumLiteral_57= 'fieldwidth' )
{
- // InternalRDL.g:3255:3: (enumLiteral_57= 'fieldwidth' )
- // InternalRDL.g:3256:4: enumLiteral_57= 'fieldwidth'
+ // InternalRDL.g:3315:3: (enumLiteral_57= 'fieldwidth' )
+ // InternalRDL.g:3316:4: enumLiteral_57= 'fieldwidth'
{
- enumLiteral_57=(Token)match(input,103,FOLLOW_2);
+ enumLiteral_57=(Token)match(input,103,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_57, grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57());
-
+ current = grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_57, grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57());
+
+ }
}
@@ -8634,16 +9481,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 59 :
- // InternalRDL.g:3263:3: (enumLiteral_58= 'signalwidth' )
+ // InternalRDL.g:3323:3: (enumLiteral_58= 'signalwidth' )
{
- // InternalRDL.g:3263:3: (enumLiteral_58= 'signalwidth' )
- // InternalRDL.g:3264:4: enumLiteral_58= 'signalwidth'
+ // InternalRDL.g:3323:3: (enumLiteral_58= 'signalwidth' )
+ // InternalRDL.g:3324:4: enumLiteral_58= 'signalwidth'
{
- enumLiteral_58=(Token)match(input,104,FOLLOW_2);
+ enumLiteral_58=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_58, grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58());
-
+ current = grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_58, grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58());
+
+ }
}
@@ -8651,16 +9500,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 60 :
- // InternalRDL.g:3271:3: (enumLiteral_59= 'accesswidth' )
+ // InternalRDL.g:3331:3: (enumLiteral_59= 'accesswidth' )
{
- // InternalRDL.g:3271:3: (enumLiteral_59= 'accesswidth' )
- // InternalRDL.g:3272:4: enumLiteral_59= 'accesswidth'
+ // InternalRDL.g:3331:3: (enumLiteral_59= 'accesswidth' )
+ // InternalRDL.g:3332:4: enumLiteral_59= 'accesswidth'
{
- enumLiteral_59=(Token)match(input,105,FOLLOW_2);
+ enumLiteral_59=(Token)match(input,105,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_59, grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59());
-
+ current = grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_59, grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59());
+
+ }
}
@@ -8668,16 +9519,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 61 :
- // InternalRDL.g:3279:3: (enumLiteral_60= 'sw' )
+ // InternalRDL.g:3339:3: (enumLiteral_60= 'sw' )
{
- // InternalRDL.g:3279:3: (enumLiteral_60= 'sw' )
- // InternalRDL.g:3280:4: enumLiteral_60= 'sw'
+ // InternalRDL.g:3339:3: (enumLiteral_60= 'sw' )
+ // InternalRDL.g:3340:4: enumLiteral_60= 'sw'
{
- enumLiteral_60=(Token)match(input,106,FOLLOW_2);
+ enumLiteral_60=(Token)match(input,106,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_60, grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60());
-
+ current = grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_60, grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60());
+
+ }
}
@@ -8685,16 +9538,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 62 :
- // InternalRDL.g:3287:3: (enumLiteral_61= 'hw' )
+ // InternalRDL.g:3347:3: (enumLiteral_61= 'hw' )
{
- // InternalRDL.g:3287:3: (enumLiteral_61= 'hw' )
- // InternalRDL.g:3288:4: enumLiteral_61= 'hw'
+ // InternalRDL.g:3347:3: (enumLiteral_61= 'hw' )
+ // InternalRDL.g:3348:4: enumLiteral_61= 'hw'
{
- enumLiteral_61=(Token)match(input,107,FOLLOW_2);
+ enumLiteral_61=(Token)match(input,107,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_61, grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61());
-
+ current = grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_61, grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61());
+
+ }
}
@@ -8702,16 +9557,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 63 :
- // InternalRDL.g:3295:3: (enumLiteral_62= 'addressing' )
+ // InternalRDL.g:3355:3: (enumLiteral_62= 'addressing' )
{
- // InternalRDL.g:3295:3: (enumLiteral_62= 'addressing' )
- // InternalRDL.g:3296:4: enumLiteral_62= 'addressing'
+ // InternalRDL.g:3355:3: (enumLiteral_62= 'addressing' )
+ // InternalRDL.g:3356:4: enumLiteral_62= 'addressing'
{
- enumLiteral_62=(Token)match(input,108,FOLLOW_2);
+ enumLiteral_62=(Token)match(input,108,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_62, grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62());
-
+ current = grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_62, grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62());
+
+ }
}
@@ -8719,16 +9576,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 64 :
- // InternalRDL.g:3303:3: (enumLiteral_63= 'precedence' )
+ // InternalRDL.g:3363:3: (enumLiteral_63= 'precedence' )
{
- // InternalRDL.g:3303:3: (enumLiteral_63= 'precedence' )
- // InternalRDL.g:3304:4: enumLiteral_63= 'precedence'
+ // InternalRDL.g:3363:3: (enumLiteral_63= 'precedence' )
+ // InternalRDL.g:3364:4: enumLiteral_63= 'precedence'
{
- enumLiteral_63=(Token)match(input,109,FOLLOW_2);
+ enumLiteral_63=(Token)match(input,109,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_63, grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63());
-
+ current = grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_63, grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63());
+
+ }
}
@@ -8736,16 +9595,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 65 :
- // InternalRDL.g:3311:3: (enumLiteral_64= 'encode' )
+ // InternalRDL.g:3371:3: (enumLiteral_64= 'encode' )
{
- // InternalRDL.g:3311:3: (enumLiteral_64= 'encode' )
- // InternalRDL.g:3312:4: enumLiteral_64= 'encode'
+ // InternalRDL.g:3371:3: (enumLiteral_64= 'encode' )
+ // InternalRDL.g:3372:4: enumLiteral_64= 'encode'
{
- enumLiteral_64=(Token)match(input,110,FOLLOW_2);
+ enumLiteral_64=(Token)match(input,110,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_64, grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64());
-
+ current = grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_64, grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64());
+
+ }
}
@@ -8753,16 +9614,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 66 :
- // InternalRDL.g:3319:3: (enumLiteral_65= 'resetsignal' )
+ // InternalRDL.g:3379:3: (enumLiteral_65= 'resetsignal' )
{
- // InternalRDL.g:3319:3: (enumLiteral_65= 'resetsignal' )
- // InternalRDL.g:3320:4: enumLiteral_65= 'resetsignal'
+ // InternalRDL.g:3379:3: (enumLiteral_65= 'resetsignal' )
+ // InternalRDL.g:3380:4: enumLiteral_65= 'resetsignal'
{
- enumLiteral_65=(Token)match(input,111,FOLLOW_2);
+ enumLiteral_65=(Token)match(input,111,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_65, grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65());
-
+ current = grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_65, grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65());
+
+ }
}
@@ -8770,16 +9633,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 67 :
- // InternalRDL.g:3327:3: (enumLiteral_66= 'clock' )
+ // InternalRDL.g:3387:3: (enumLiteral_66= 'clock' )
{
- // InternalRDL.g:3327:3: (enumLiteral_66= 'clock' )
- // InternalRDL.g:3328:4: enumLiteral_66= 'clock'
+ // InternalRDL.g:3387:3: (enumLiteral_66= 'clock' )
+ // InternalRDL.g:3388:4: enumLiteral_66= 'clock'
{
- enumLiteral_66=(Token)match(input,112,FOLLOW_2);
+ enumLiteral_66=(Token)match(input,112,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_66, grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66());
-
+ current = grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_66, grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66());
+
+ }
}
@@ -8787,16 +9652,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 68 :
- // InternalRDL.g:3335:3: (enumLiteral_67= 'mask' )
+ // InternalRDL.g:3395:3: (enumLiteral_67= 'mask' )
{
- // InternalRDL.g:3335:3: (enumLiteral_67= 'mask' )
- // InternalRDL.g:3336:4: enumLiteral_67= 'mask'
+ // InternalRDL.g:3395:3: (enumLiteral_67= 'mask' )
+ // InternalRDL.g:3396:4: enumLiteral_67= 'mask'
{
- enumLiteral_67=(Token)match(input,113,FOLLOW_2);
+ enumLiteral_67=(Token)match(input,113,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_67, grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67());
-
+ current = grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_67, grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67());
+
+ }
}
@@ -8804,16 +9671,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 69 :
- // InternalRDL.g:3343:3: (enumLiteral_68= 'enable' )
+ // InternalRDL.g:3403:3: (enumLiteral_68= 'enable' )
{
- // InternalRDL.g:3343:3: (enumLiteral_68= 'enable' )
- // InternalRDL.g:3344:4: enumLiteral_68= 'enable'
+ // InternalRDL.g:3403:3: (enumLiteral_68= 'enable' )
+ // InternalRDL.g:3404:4: enumLiteral_68= 'enable'
{
- enumLiteral_68=(Token)match(input,114,FOLLOW_2);
+ enumLiteral_68=(Token)match(input,114,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_68, grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68());
-
+ current = grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_68, grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68());
+
+ }
}
@@ -8821,16 +9690,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 70 :
- // InternalRDL.g:3351:3: (enumLiteral_69= 'hwenable' )
+ // InternalRDL.g:3411:3: (enumLiteral_69= 'hwenable' )
{
- // InternalRDL.g:3351:3: (enumLiteral_69= 'hwenable' )
- // InternalRDL.g:3352:4: enumLiteral_69= 'hwenable'
+ // InternalRDL.g:3411:3: (enumLiteral_69= 'hwenable' )
+ // InternalRDL.g:3412:4: enumLiteral_69= 'hwenable'
{
- enumLiteral_69=(Token)match(input,115,FOLLOW_2);
+ enumLiteral_69=(Token)match(input,115,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_69, grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69());
-
+ current = grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_69, grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69());
+
+ }
}
@@ -8838,16 +9709,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 71 :
- // InternalRDL.g:3359:3: (enumLiteral_70= 'hwmask' )
+ // InternalRDL.g:3419:3: (enumLiteral_70= 'hwmask' )
{
- // InternalRDL.g:3359:3: (enumLiteral_70= 'hwmask' )
- // InternalRDL.g:3360:4: enumLiteral_70= 'hwmask'
+ // InternalRDL.g:3419:3: (enumLiteral_70= 'hwmask' )
+ // InternalRDL.g:3420:4: enumLiteral_70= 'hwmask'
{
- enumLiteral_70=(Token)match(input,116,FOLLOW_2);
+ enumLiteral_70=(Token)match(input,116,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_70, grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70());
-
+ current = grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_70, grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70());
+
+ }
}
@@ -8855,16 +9728,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 72 :
- // InternalRDL.g:3367:3: (enumLiteral_71= 'haltmask' )
+ // InternalRDL.g:3427:3: (enumLiteral_71= 'haltmask' )
{
- // InternalRDL.g:3367:3: (enumLiteral_71= 'haltmask' )
- // InternalRDL.g:3368:4: enumLiteral_71= 'haltmask'
+ // InternalRDL.g:3427:3: (enumLiteral_71= 'haltmask' )
+ // InternalRDL.g:3428:4: enumLiteral_71= 'haltmask'
{
- enumLiteral_71=(Token)match(input,117,FOLLOW_2);
+ enumLiteral_71=(Token)match(input,117,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_71, grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71());
-
+ current = grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_71, grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71());
+
+ }
}
@@ -8872,16 +9747,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 73 :
- // InternalRDL.g:3375:3: (enumLiteral_72= 'haltenable' )
+ // InternalRDL.g:3435:3: (enumLiteral_72= 'haltenable' )
{
- // InternalRDL.g:3375:3: (enumLiteral_72= 'haltenable' )
- // InternalRDL.g:3376:4: enumLiteral_72= 'haltenable'
+ // InternalRDL.g:3435:3: (enumLiteral_72= 'haltenable' )
+ // InternalRDL.g:3436:4: enumLiteral_72= 'haltenable'
{
- enumLiteral_72=(Token)match(input,118,FOLLOW_2);
+ enumLiteral_72=(Token)match(input,118,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_72, grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72());
-
+ current = grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_72, grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72());
+
+ }
}
@@ -8889,16 +9766,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 74 :
- // InternalRDL.g:3383:3: (enumLiteral_73= 'halt' )
+ // InternalRDL.g:3443:3: (enumLiteral_73= 'halt' )
{
- // InternalRDL.g:3383:3: (enumLiteral_73= 'halt' )
- // InternalRDL.g:3384:4: enumLiteral_73= 'halt'
+ // InternalRDL.g:3443:3: (enumLiteral_73= 'halt' )
+ // InternalRDL.g:3444:4: enumLiteral_73= 'halt'
{
- enumLiteral_73=(Token)match(input,119,FOLLOW_2);
+ enumLiteral_73=(Token)match(input,119,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_73, grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73());
-
+ current = grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_73, grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73());
+
+ }
}
@@ -8906,16 +9785,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 75 :
- // InternalRDL.g:3391:3: (enumLiteral_74= 'next' )
+ // InternalRDL.g:3451:3: (enumLiteral_74= 'next' )
{
- // InternalRDL.g:3391:3: (enumLiteral_74= 'next' )
- // InternalRDL.g:3392:4: enumLiteral_74= 'next'
+ // InternalRDL.g:3451:3: (enumLiteral_74= 'next' )
+ // InternalRDL.g:3452:4: enumLiteral_74= 'next'
{
- enumLiteral_74=(Token)match(input,120,FOLLOW_2);
+ enumLiteral_74=(Token)match(input,120,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_74, grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74());
-
+ current = grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_74, grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74());
+
+ }
}
@@ -8928,9 +9809,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -8945,7 +9828,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRValueConstant"
- // InternalRDL.g:3402:1: ruleRValueConstant returns [Enumerator current=null] : ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) ;
+ // InternalRDL.g:3462:1: ruleRValueConstant returns [Enumerator current=null] : ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) ;
public final Enumerator ruleRValueConstant() throws RecognitionException {
Enumerator current = null;
@@ -8967,96 +9850,99 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:3408:2: ( ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) )
- // InternalRDL.g:3409:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) )
+ // InternalRDL.g:3468:2: ( ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) )
+ // InternalRDL.g:3469:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) )
{
- // InternalRDL.g:3409:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) )
- int alt47=13;
+ // InternalRDL.g:3469:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) )
+ int alt46=13;
switch ( input.LA(1) ) {
case 121:
{
- alt47=1;
+ alt46=1;
}
break;
case 20:
{
- alt47=2;
+ alt46=2;
}
break;
case 21:
{
- alt47=3;
+ alt46=3;
}
break;
case 122:
{
- alt47=4;
+ alt46=4;
}
break;
case 123:
{
- alt47=5;
+ alt46=5;
}
break;
case 124:
{
- alt47=6;
+ alt46=6;
}
break;
case 125:
{
- alt47=7;
+ alt46=7;
}
break;
case 126:
{
- alt47=8;
+ alt46=8;
}
break;
case 127:
{
- alt47=9;
+ alt46=9;
}
break;
case 128:
{
- alt47=10;
+ alt46=10;
}
break;
case 129:
{
- alt47=11;
+ alt46=11;
}
break;
case 107:
{
- alt47=12;
+ alt46=12;
}
break;
case 106:
{
- alt47=13;
+ alt46=13;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 47, 0, input);
+ new NoViableAltException("", 46, 0, input);
throw nvae;
}
- switch (alt47) {
+ switch (alt46) {
case 1 :
- // InternalRDL.g:3410:3: (enumLiteral_0= 'UNDEFINED' )
+ // InternalRDL.g:3470:3: (enumLiteral_0= 'UNDEFINED' )
{
- // InternalRDL.g:3410:3: (enumLiteral_0= 'UNDEFINED' )
- // InternalRDL.g:3411:4: enumLiteral_0= 'UNDEFINED'
+ // InternalRDL.g:3470:3: (enumLiteral_0= 'UNDEFINED' )
+ // InternalRDL.g:3471:4: enumLiteral_0= 'UNDEFINED'
{
- enumLiteral_0=(Token)match(input,121,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,121,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0());
-
+ current = grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+
+ }
}
@@ -9064,16 +9950,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:3418:3: (enumLiteral_1= 'true' )
+ // InternalRDL.g:3478:3: (enumLiteral_1= 'true' )
{
- // InternalRDL.g:3418:3: (enumLiteral_1= 'true' )
- // InternalRDL.g:3419:4: enumLiteral_1= 'true'
+ // InternalRDL.g:3478:3: (enumLiteral_1= 'true' )
+ // InternalRDL.g:3479:4: enumLiteral_1= 'true'
{
- enumLiteral_1=(Token)match(input,20,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,20,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1());
-
+ current = grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1());
+
+ }
}
@@ -9081,16 +9969,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:3426:3: (enumLiteral_2= 'false' )
+ // InternalRDL.g:3486:3: (enumLiteral_2= 'false' )
{
- // InternalRDL.g:3426:3: (enumLiteral_2= 'false' )
- // InternalRDL.g:3427:4: enumLiteral_2= 'false'
+ // InternalRDL.g:3486:3: (enumLiteral_2= 'false' )
+ // InternalRDL.g:3487:4: enumLiteral_2= 'false'
{
- enumLiteral_2=(Token)match(input,21,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,21,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2());
-
+ current = grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2());
+
+ }
}
@@ -9098,16 +9988,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:3434:3: (enumLiteral_3= 'rw' )
+ // InternalRDL.g:3494:3: (enumLiteral_3= 'rw' )
{
- // InternalRDL.g:3434:3: (enumLiteral_3= 'rw' )
- // InternalRDL.g:3435:4: enumLiteral_3= 'rw'
+ // InternalRDL.g:3494:3: (enumLiteral_3= 'rw' )
+ // InternalRDL.g:3495:4: enumLiteral_3= 'rw'
{
- enumLiteral_3=(Token)match(input,122,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,122,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3());
-
+ current = grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3());
+
+ }
}
@@ -9115,16 +10007,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalRDL.g:3442:3: (enumLiteral_4= 'wr' )
+ // InternalRDL.g:3502:3: (enumLiteral_4= 'wr' )
{
- // InternalRDL.g:3442:3: (enumLiteral_4= 'wr' )
- // InternalRDL.g:3443:4: enumLiteral_4= 'wr'
+ // InternalRDL.g:3502:3: (enumLiteral_4= 'wr' )
+ // InternalRDL.g:3503:4: enumLiteral_4= 'wr'
{
- enumLiteral_4=(Token)match(input,123,FOLLOW_2);
+ enumLiteral_4=(Token)match(input,123,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4());
-
+ current = grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4());
+
+ }
}
@@ -9132,16 +10026,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalRDL.g:3450:3: (enumLiteral_5= 'r' )
+ // InternalRDL.g:3510:3: (enumLiteral_5= 'r' )
{
- // InternalRDL.g:3450:3: (enumLiteral_5= 'r' )
- // InternalRDL.g:3451:4: enumLiteral_5= 'r'
+ // InternalRDL.g:3510:3: (enumLiteral_5= 'r' )
+ // InternalRDL.g:3511:4: enumLiteral_5= 'r'
{
- enumLiteral_5=(Token)match(input,124,FOLLOW_2);
+ enumLiteral_5=(Token)match(input,124,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5());
-
+ current = grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5());
+
+ }
}
@@ -9149,16 +10045,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 7 :
- // InternalRDL.g:3458:3: (enumLiteral_6= 'w' )
+ // InternalRDL.g:3518:3: (enumLiteral_6= 'w' )
{
- // InternalRDL.g:3458:3: (enumLiteral_6= 'w' )
- // InternalRDL.g:3459:4: enumLiteral_6= 'w'
+ // InternalRDL.g:3518:3: (enumLiteral_6= 'w' )
+ // InternalRDL.g:3519:4: enumLiteral_6= 'w'
{
- enumLiteral_6=(Token)match(input,125,FOLLOW_2);
+ enumLiteral_6=(Token)match(input,125,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6());
-
+ current = grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6());
+
+ }
}
@@ -9166,16 +10064,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 8 :
- // InternalRDL.g:3466:3: (enumLiteral_7= 'na' )
+ // InternalRDL.g:3526:3: (enumLiteral_7= 'na' )
{
- // InternalRDL.g:3466:3: (enumLiteral_7= 'na' )
- // InternalRDL.g:3467:4: enumLiteral_7= 'na'
+ // InternalRDL.g:3526:3: (enumLiteral_7= 'na' )
+ // InternalRDL.g:3527:4: enumLiteral_7= 'na'
{
- enumLiteral_7=(Token)match(input,126,FOLLOW_2);
+ enumLiteral_7=(Token)match(input,126,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_7, grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7());
-
+ current = grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_7, grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7());
+
+ }
}
@@ -9183,16 +10083,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 9 :
- // InternalRDL.g:3474:3: (enumLiteral_8= 'compact' )
+ // InternalRDL.g:3534:3: (enumLiteral_8= 'compact' )
{
- // InternalRDL.g:3474:3: (enumLiteral_8= 'compact' )
- // InternalRDL.g:3475:4: enumLiteral_8= 'compact'
+ // InternalRDL.g:3534:3: (enumLiteral_8= 'compact' )
+ // InternalRDL.g:3535:4: enumLiteral_8= 'compact'
{
- enumLiteral_8=(Token)match(input,127,FOLLOW_2);
+ enumLiteral_8=(Token)match(input,127,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_8, grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8());
-
+ current = grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_8, grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8());
+
+ }
}
@@ -9200,16 +10102,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 10 :
- // InternalRDL.g:3482:3: (enumLiteral_9= 'regalign' )
+ // InternalRDL.g:3542:3: (enumLiteral_9= 'regalign' )
{
- // InternalRDL.g:3482:3: (enumLiteral_9= 'regalign' )
- // InternalRDL.g:3483:4: enumLiteral_9= 'regalign'
+ // InternalRDL.g:3542:3: (enumLiteral_9= 'regalign' )
+ // InternalRDL.g:3543:4: enumLiteral_9= 'regalign'
{
- enumLiteral_9=(Token)match(input,128,FOLLOW_2);
+ enumLiteral_9=(Token)match(input,128,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_9, grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9());
-
+ current = grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_9, grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9());
+
+ }
}
@@ -9217,16 +10121,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 11 :
- // InternalRDL.g:3490:3: (enumLiteral_10= 'fullalign' )
+ // InternalRDL.g:3550:3: (enumLiteral_10= 'fullalign' )
{
- // InternalRDL.g:3490:3: (enumLiteral_10= 'fullalign' )
- // InternalRDL.g:3491:4: enumLiteral_10= 'fullalign'
+ // InternalRDL.g:3550:3: (enumLiteral_10= 'fullalign' )
+ // InternalRDL.g:3551:4: enumLiteral_10= 'fullalign'
{
- enumLiteral_10=(Token)match(input,129,FOLLOW_2);
+ enumLiteral_10=(Token)match(input,129,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_10, grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10());
-
+ current = grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_10, grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10());
+
+ }
}
@@ -9234,16 +10140,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 12 :
- // InternalRDL.g:3498:3: (enumLiteral_11= 'hw' )
+ // InternalRDL.g:3558:3: (enumLiteral_11= 'hw' )
{
- // InternalRDL.g:3498:3: (enumLiteral_11= 'hw' )
- // InternalRDL.g:3499:4: enumLiteral_11= 'hw'
+ // InternalRDL.g:3558:3: (enumLiteral_11= 'hw' )
+ // InternalRDL.g:3559:4: enumLiteral_11= 'hw'
{
- enumLiteral_11=(Token)match(input,107,FOLLOW_2);
+ enumLiteral_11=(Token)match(input,107,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_11, grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11());
-
+ current = grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_11, grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11());
+
+ }
}
@@ -9251,16 +10159,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 13 :
- // InternalRDL.g:3506:3: (enumLiteral_12= 'sw' )
+ // InternalRDL.g:3566:3: (enumLiteral_12= 'sw' )
{
- // InternalRDL.g:3506:3: (enumLiteral_12= 'sw' )
- // InternalRDL.g:3507:4: enumLiteral_12= 'sw'
+ // InternalRDL.g:3566:3: (enumLiteral_12= 'sw' )
+ // InternalRDL.g:3567:4: enumLiteral_12= 'sw'
{
- enumLiteral_12=(Token)match(input,106,FOLLOW_2);
+ enumLiteral_12=(Token)match(input,106,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_12, grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12());
-
+ current = grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_12, grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12());
+
+ }
}
@@ -9273,9 +10183,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -9290,7 +10202,7 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePropertyModifier"
- // InternalRDL.g:3517:1: rulePropertyModifier returns [Enumerator current=null] : ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) ;
+ // InternalRDL.g:3577:1: rulePropertyModifier returns [Enumerator current=null] : ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) ;
public final Enumerator rulePropertyModifier() throws RecognitionException {
Enumerator current = null;
@@ -9305,61 +10217,64 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalRDL.g:3523:2: ( ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) )
- // InternalRDL.g:3524:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) )
+ // InternalRDL.g:3583:2: ( ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) )
+ // InternalRDL.g:3584:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) )
{
- // InternalRDL.g:3524:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) )
- int alt48=6;
+ // InternalRDL.g:3584:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) )
+ int alt47=6;
switch ( input.LA(1) ) {
case 121:
{
- alt48=1;
+ alt47=1;
}
break;
case 130:
{
- alt48=2;
+ alt47=2;
}
break;
case 131:
{
- alt48=3;
+ alt47=3;
}
break;
case 132:
{
- alt48=4;
+ alt47=4;
}
break;
case 133:
{
- alt48=5;
+ alt47=5;
}
break;
case 134:
{
- alt48=6;
+ alt47=6;
}
break;
default:
+ if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 48, 0, input);
+ new NoViableAltException("", 47, 0, input);
throw nvae;
}
- switch (alt48) {
+ switch (alt47) {
case 1 :
- // InternalRDL.g:3525:3: (enumLiteral_0= 'UNDEFINED' )
+ // InternalRDL.g:3585:3: (enumLiteral_0= 'UNDEFINED' )
{
- // InternalRDL.g:3525:3: (enumLiteral_0= 'UNDEFINED' )
- // InternalRDL.g:3526:4: enumLiteral_0= 'UNDEFINED'
+ // InternalRDL.g:3585:3: (enumLiteral_0= 'UNDEFINED' )
+ // InternalRDL.g:3586:4: enumLiteral_0= 'UNDEFINED'
{
- enumLiteral_0=(Token)match(input,121,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,121,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0());
-
+ current = grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0());
+
+ }
}
@@ -9367,16 +10282,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalRDL.g:3533:3: (enumLiteral_1= 'posedge' )
+ // InternalRDL.g:3593:3: (enumLiteral_1= 'posedge' )
{
- // InternalRDL.g:3533:3: (enumLiteral_1= 'posedge' )
- // InternalRDL.g:3534:4: enumLiteral_1= 'posedge'
+ // InternalRDL.g:3593:3: (enumLiteral_1= 'posedge' )
+ // InternalRDL.g:3594:4: enumLiteral_1= 'posedge'
{
- enumLiteral_1=(Token)match(input,130,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,130,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1());
-
+ current = grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1());
+
+ }
}
@@ -9384,16 +10301,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalRDL.g:3541:3: (enumLiteral_2= 'negedge' )
+ // InternalRDL.g:3601:3: (enumLiteral_2= 'negedge' )
{
- // InternalRDL.g:3541:3: (enumLiteral_2= 'negedge' )
- // InternalRDL.g:3542:4: enumLiteral_2= 'negedge'
+ // InternalRDL.g:3601:3: (enumLiteral_2= 'negedge' )
+ // InternalRDL.g:3602:4: enumLiteral_2= 'negedge'
{
- enumLiteral_2=(Token)match(input,131,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,131,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2());
-
+ current = grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2());
+
+ }
}
@@ -9401,16 +10320,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalRDL.g:3549:3: (enumLiteral_3= 'bothedge' )
+ // InternalRDL.g:3609:3: (enumLiteral_3= 'bothedge' )
{
- // InternalRDL.g:3549:3: (enumLiteral_3= 'bothedge' )
- // InternalRDL.g:3550:4: enumLiteral_3= 'bothedge'
+ // InternalRDL.g:3609:3: (enumLiteral_3= 'bothedge' )
+ // InternalRDL.g:3610:4: enumLiteral_3= 'bothedge'
{
- enumLiteral_3=(Token)match(input,132,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,132,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3());
-
+ current = grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3());
+
+ }
}
@@ -9418,16 +10339,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalRDL.g:3557:3: (enumLiteral_4= 'level' )
+ // InternalRDL.g:3617:3: (enumLiteral_4= 'level' )
{
- // InternalRDL.g:3557:3: (enumLiteral_4= 'level' )
- // InternalRDL.g:3558:4: enumLiteral_4= 'level'
+ // InternalRDL.g:3617:3: (enumLiteral_4= 'level' )
+ // InternalRDL.g:3618:4: enumLiteral_4= 'level'
{
- enumLiteral_4=(Token)match(input,133,FOLLOW_2);
+ enumLiteral_4=(Token)match(input,133,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4());
-
+ current = grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4());
+
+ }
}
@@ -9435,16 +10358,18 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalRDL.g:3565:3: (enumLiteral_5= 'nonsticky' )
+ // InternalRDL.g:3625:3: (enumLiteral_5= 'nonsticky' )
{
- // InternalRDL.g:3565:3: (enumLiteral_5= 'nonsticky' )
- // InternalRDL.g:3566:4: enumLiteral_5= 'nonsticky'
+ // InternalRDL.g:3625:3: (enumLiteral_5= 'nonsticky' )
+ // InternalRDL.g:3626:4: enumLiteral_5= 'nonsticky'
{
- enumLiteral_5=(Token)match(input,134,FOLLOW_2);
+ enumLiteral_5=(Token)match(input,134,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
- current = grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5());
-
+ current = grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5());
+
+ }
}
@@ -9457,9 +10382,11 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
+ if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
+ }
}
catch (RecognitionException re) {
@@ -9472,25 +10399,455 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
}
// $ANTLR end "rulePropertyModifier"
+ // $ANTLR start synpred2_InternalRDL
+ public final void synpred2_InternalRDL_fragment() throws RecognitionException {
+ Token otherlv_2=null;
+ EObject lv_componentDefinitions_1_0 = null;
+
+
+ // InternalRDL.g:106:3: ( ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) )
+ // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' )
+ {
+ // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' )
+ // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';'
+ {
+ // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) )
+ // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition )
+ {
+ // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition )
+ // InternalRDL.g:109:6: lv_componentDefinitions_1_0= ruleComponentDefinition
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_componentDefinitions_1_0=ruleComponentDefinition();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred2_InternalRDL
+
+ // $ANTLR start synpred4_InternalRDL
+ public final void synpred4_InternalRDL_fragment() throws RecognitionException {
+ Token otherlv_6=null;
+ EObject lv_instantiations_5_0 = null;
+
+
+ // InternalRDL.g:158:3: ( ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) )
+ // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
+ {
+ // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
+ // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';'
+ {
+ // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) )
+ // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation )
+ {
+ // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation )
+ // InternalRDL.g:161:6: lv_instantiations_5_0= ruleInstantiation
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_instantiations_5_0=ruleInstantiation();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred4_InternalRDL
+
+ // $ANTLR start synpred5_InternalRDL
+ public final void synpred5_InternalRDL_fragment() throws RecognitionException {
+ Token otherlv_8=null;
+ EObject lv_propertyAssignments_7_0 = null;
+
+
+ // InternalRDL.g:184:3: ( ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) )
+ // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
+ {
+ // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
+ // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';'
+ {
+ // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) )
+ // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment )
+ {
+ // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment )
+ // InternalRDL.g:187:6: lv_propertyAssignments_7_0= rulePropertyAssignment
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_propertyAssignments_7_0=rulePropertyAssignment();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+ otherlv_8=(Token)match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred5_InternalRDL
+
+ // $ANTLR start synpred19_InternalRDL
+ public final void synpred19_InternalRDL_fragment() throws RecognitionException {
+ Token otherlv_4=null;
+ EObject lv_componentDefinitions_3_0 = null;
+
+
+ // InternalRDL.g:941:4: ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) )
+ // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' )
+ {
+ // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' )
+ // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';'
+ {
+ // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) )
+ // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition )
+ {
+ // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition )
+ // InternalRDL.g:944:7: lv_componentDefinitions_3_0= ruleComponentDefinition
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_componentDefinitions_3_0=ruleComponentDefinition();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+ otherlv_4=(Token)match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred19_InternalRDL
+
+ // $ANTLR start synpred20_InternalRDL
+ public final void synpred20_InternalRDL_fragment() throws RecognitionException {
+ Token otherlv_6=null;
+ EObject lv_instantiations_5_0 = null;
+
+
+ // InternalRDL.g:967:4: ( ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) )
+ // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
+ {
+ // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' )
+ // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';'
+ {
+ // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) )
+ // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation )
+ {
+ // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation )
+ // InternalRDL.g:970:7: lv_instantiations_5_0= ruleInstantiation
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_instantiations_5_0=ruleInstantiation();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred20_InternalRDL
+
+ // $ANTLR start synpred21_InternalRDL
+ public final void synpred21_InternalRDL_fragment() throws RecognitionException {
+ Token otherlv_8=null;
+ EObject lv_propertyAssignments_7_0 = null;
+
+
+ // InternalRDL.g:993:4: ( ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) )
+ // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
+ {
+ // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' )
+ // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';'
+ {
+ // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) )
+ // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment )
+ {
+ // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment )
+ // InternalRDL.g:996:7: lv_propertyAssignments_7_0= rulePropertyAssignment
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_propertyAssignments_7_0=rulePropertyAssignment();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+
+ otherlv_8=(Token)match(input,12,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred21_InternalRDL
+
// Delegated rules
+ public final boolean synpred20_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred20_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred4_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred4_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred19_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred19_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred2_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred2_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred5_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred5_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred21_InternalRDL() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred21_InternalRDL_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+
protected DFA1 dfa1 = new DFA1(this);
- static final String dfa_1s = "\12\uffff";
- static final String dfa_2s = "\1\1\11\uffff";
- static final String dfa_3s = "\1\5\5\uffff\2\5\2\uffff";
- static final String dfa_4s = "\1\u0086\5\uffff\1\32\1\43\2\uffff";
- static final String dfa_5s = "\1\uffff\1\7\1\1\1\2\1\3\1\4\2\uffff\1\5\1\6";
- static final String dfa_6s = "\12\uffff}>";
+ protected DFA11 dfa11 = new DFA11(this);
+ static final String dfa_1s = "\140\uffff";
+ static final String dfa_2s = "\1\1\137\uffff";
+ static final String dfa_3s = "\1\5\2\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_4s = "\1\u0086\2\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_5s = "\1\uffff\1\7\1\1\5\uffff\1\3\1\4\3\uffff\1\5\120\uffff\1\6\1\2";
+ static final String dfa_6s = "\3\uffff\1\0\1\1\1\2\1\3\1\4\2\uffff\1\5\1\uffff\1\6\123\uffff}>";
static final String[] dfa_7s = {
- "\1\7\6\uffff\1\2\1\11\5\uffff\1\10\4\uffff\1\5\1\6\1\5\11\uffff\1\4\2\10\3\uffff\4\3\1\uffff\1\3\1\uffff\111\10\10\uffff\5\10",
+ "\1\14\7\uffff\1\2\1\136\4\uffff\1\15\4\uffff\1\11\11\uffff\1\10\2\15\1\11\1\12\3\uffff\1\4\1\6\1\5\1\7\1\uffff\1\3\1\uffff\111\15\10\uffff\5\15",
+ "",
+ "",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "",
+ "",
+ "\1\uffff",
+ "",
+ "\1\uffff",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
"",
"",
"",
"",
"",
- "\1\5\12\uffff\2\10\10\uffff\1\5",
- "\1\5\12\uffff\2\10\20\uffff\2\10",
"",
""
};
@@ -9517,57 +10874,413 @@ public class InternalRDLParser extends AbstractInternalAntlrParser {
this.transition = dfa_7;
}
public String getDescription() {
- return "()* loopback of 79:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) | ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) | ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) | ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) | ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) )*";
+ return "()* loopback of 85:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )*";
+ }
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ TokenStream input = (TokenStream)_input;
+ int _s = s;
+ switch ( s ) {
+ case 0 :
+ int LA1_3 = input.LA(1);
+
+
+ int index1_3 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred2_InternalRDL()) ) {s = 95;}
+
+ else if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+
+ input.seek(index1_3);
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA1_4 = input.LA(1);
+
+
+ int index1_4 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred2_InternalRDL()) ) {s = 95;}
+
+ else if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+
+ input.seek(index1_4);
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA1_5 = input.LA(1);
+
+
+ int index1_5 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred2_InternalRDL()) ) {s = 95;}
+
+ else if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+
+ input.seek(index1_5);
+ if ( s>=0 ) return s;
+ break;
+ case 3 :
+ int LA1_6 = input.LA(1);
+
+
+ int index1_6 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred2_InternalRDL()) ) {s = 95;}
+
+ else if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+
+ input.seek(index1_6);
+ if ( s>=0 ) return s;
+ break;
+ case 4 :
+ int LA1_7 = input.LA(1);
+
+
+ int index1_7 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred2_InternalRDL()) ) {s = 95;}
+
+ else if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+
+ input.seek(index1_7);
+ if ( s>=0 ) return s;
+ break;
+ case 5 :
+ int LA1_10 = input.LA(1);
+
+
+ int index1_10 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 13;}
+
+
+ input.seek(index1_10);
+ if ( s>=0 ) return s;
+ break;
+ case 6 :
+ int LA1_12 = input.LA(1);
+
+
+ int index1_12 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred4_InternalRDL()) ) {s = 9;}
+
+ else if ( (synpred5_InternalRDL()) ) {s = 13;}
+
+
+ input.seek(index1_12);
+ if ( s>=0 ) return s;
+ break;
+ }
+ if (state.backtracking>0) {state.failed=true; return -1;}
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 1, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+ static final String dfa_8s = "\136\uffff";
+ static final String dfa_9s = "\1\5\1\uffff\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_10s = "\1\u0086\1\uffff\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff";
+ static final String dfa_11s = "\1\uffff\1\5\5\uffff\1\2\3\uffff\1\3\120\uffff\1\4\1\1";
+ static final String dfa_12s = "\2\uffff\1\0\1\1\1\2\1\3\1\4\1\uffff\1\5\1\uffff\1\6\123\uffff}>";
+ static final String[] dfa_13s = {
+ "\1\12\14\uffff\1\1\1\13\4\uffff\1\7\11\uffff\1\134\2\13\1\7\1\10\3\uffff\1\3\1\5\1\4\1\6\1\uffff\1\2\1\uffff\111\13\10\uffff\5\13",
+ "",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "",
+ "\1\uffff",
+ "",
+ "\1\uffff",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ };
+
+ static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
+ static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s);
+ static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
+ static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s);
+ static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
+ static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s);
+
+ class DFA11 extends DFA {
+
+ public DFA11(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 11;
+ this.eot = dfa_8;
+ this.eof = dfa_8;
+ this.min = dfa_9;
+ this.max = dfa_10;
+ this.accept = dfa_11;
+ this.special = dfa_12;
+ this.transition = dfa_13;
+ }
+ public String getDescription() {
+ return "()* loopback of 940:3: ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )*";
+ }
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ TokenStream input = (TokenStream)_input;
+ int _s = s;
+ switch ( s ) {
+ case 0 :
+ int LA11_2 = input.LA(1);
+
+
+ int index11_2 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred19_InternalRDL()) ) {s = 93;}
+
+ else if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+
+ input.seek(index11_2);
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA11_3 = input.LA(1);
+
+
+ int index11_3 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred19_InternalRDL()) ) {s = 93;}
+
+ else if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+
+ input.seek(index11_3);
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA11_4 = input.LA(1);
+
+
+ int index11_4 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred19_InternalRDL()) ) {s = 93;}
+
+ else if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+
+ input.seek(index11_4);
+ if ( s>=0 ) return s;
+ break;
+ case 3 :
+ int LA11_5 = input.LA(1);
+
+
+ int index11_5 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred19_InternalRDL()) ) {s = 93;}
+
+ else if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+
+ input.seek(index11_5);
+ if ( s>=0 ) return s;
+ break;
+ case 4 :
+ int LA11_6 = input.LA(1);
+
+
+ int index11_6 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred19_InternalRDL()) ) {s = 93;}
+
+ else if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+
+ input.seek(index11_6);
+ if ( s>=0 ) return s;
+ break;
+ case 5 :
+ int LA11_8 = input.LA(1);
+
+
+ int index11_8 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+ else if ( (synpred21_InternalRDL()) ) {s = 11;}
+
+
+ input.seek(index11_8);
+ if ( s>=0 ) return s;
+ break;
+ case 6 :
+ int LA11_10 = input.LA(1);
+
+
+ int index11_10 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (synpred20_InternalRDL()) ) {s = 7;}
+
+ else if ( (synpred21_InternalRDL()) ) {s = 11;}
+
+
+ input.seek(index11_10);
+ if ( s>=0 ) return s;
+ break;
+ }
+ if (state.backtracking>0) {state.failed=true; return -1;}
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 11, _s, input);
+ error(nvae);
+ throw nvae;
}
}
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xFFFEBC7007083022L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000004000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000488000L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00007F8000000000L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xFFFEBC7C01086022L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000001000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0xFFFEBC7C01087022L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000008000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000490000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000000004C8000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000400000L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000008000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000408000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000300050L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0001BC0000000000L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000820000L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000004020L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0xFFFEBC70070C0020L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000001020020L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000006000020L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000004000020L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000001000020L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000008020000L});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000008000002L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x00000000F0010002L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000070010002L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000070000002L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000060000002L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000040000002L});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_35 = new BitSet(new long[]{0xFFFE006002000000L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
- public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000030000L});
- public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000304070L,0xFE000C0000000000L,0x0000000000000003L});
- public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000400000000L});
- public static final BitSet FOLLOW_39 = new BitSet(new long[]{0xFFFE006002000020L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
- public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000800000002L});
- public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000001000000000L});
- public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000060L});
- public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000008040000L});
- public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000040020L});
- public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000024000L});
- public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000006000040000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00007F8000000000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000000004D0000L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000010000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000410000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000300050L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0001BC0000000000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000801000L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000008020L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0xFFFEBC7C010C0020L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000001000020L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000006000000020L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x000000003C020002L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x000000001C020002L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x000000001C000002L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000018000002L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0xFFFE005800000000L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000020002L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000308070L,0xFE000C0000000000L,0x0000000000000003L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0xFFFE005800000020L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000100000002L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000200000002L});
+ public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000060L});
+ public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000002040000L});
+ public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000040020L});
+ public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000009000L});
+ public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000001800040000L});
}
\ No newline at end of file
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java
index 2ab9890..eed8502 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java
@@ -19,10 +19,9 @@ import org.eclipse.emf.ecore.EObject;
* {@link com.minres.rdl.rdl.ComponentDefinition#getType Type }
* {@link com.minres.rdl.rdl.ComponentDefinition#getName Name }
* {@link com.minres.rdl.rdl.ComponentDefinition#getComponentDefinitions Component Definitions }
- * {@link com.minres.rdl.rdl.ComponentDefinition#getNamedInstantiations Named Instantiations }
+ * {@link com.minres.rdl.rdl.ComponentDefinition#getInstantiations Instantiations }
* {@link com.minres.rdl.rdl.ComponentDefinition#getPropertyAssignments Property Assignments }
* {@link com.minres.rdl.rdl.ComponentDefinition#getEnumDefinitions Enum Definitions }
- * {@link com.minres.rdl.rdl.ComponentDefinition#getImmediateInstantiation Immediate Instantiation }
*
*
* @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition()
@@ -103,20 +102,20 @@ public interface ComponentDefinition extends EObject
EList getComponentDefinitions();
/**
- * Returns the value of the 'Named Instantiations ' containment reference list.
- * The list contents are of type {@link com.minres.rdl.rdl.NamedInstantiation}.
+ * Returns the value of the 'Instantiations ' containment reference list.
+ * The list contents are of type {@link com.minres.rdl.rdl.Instantiation}.
*
*
- * If the meaning of the 'Named Instantiations ' containment reference list isn't clear,
+ * If the meaning of the 'Instantiations ' containment reference list isn't clear,
* there really should be more of a description here...
*
*
- * @return the value of the 'Named Instantiations ' containment reference list.
- * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_NamedInstantiations()
+ * @return the value of the 'Instantiations ' containment reference list.
+ * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_Instantiations()
* @model containment="true"
* @generated
*/
- EList getNamedInstantiations();
+ EList getInstantiations();
/**
* Returns the value of the 'Property Assignments ' containment reference list.
@@ -150,30 +149,4 @@ public interface ComponentDefinition extends EObject
*/
EList getEnumDefinitions();
- /**
- * Returns the value of the 'Immediate Instantiation ' containment reference.
- *
- *
- * If the meaning of the 'Immediate Instantiation ' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Immediate Instantiation ' containment reference.
- * @see #setImmediateInstantiation(ImmediateInstantiation)
- * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_ImmediateInstantiation()
- * @model containment="true"
- * @generated
- */
- ImmediateInstantiation getImmediateInstantiation();
-
- /**
- * Sets the value of the '{@link com.minres.rdl.rdl.ComponentDefinition#getImmediateInstantiation Immediate Instantiation }' containment reference.
- *
- *
- * @param value the new value of the 'Immediate Instantiation ' containment reference.
- * @see #getImmediateInstantiation()
- * @generated
- */
- void setImmediateInstantiation(ImmediateInstantiation value);
-
} // ComponentDefinition
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumInstanceType.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumInstanceType.java
new file mode 100644
index 0000000..cb05e7e
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumInstanceType.java
@@ -0,0 +1,79 @@
+/**
+ * generated by Xtext 2.12.0
+ */
+package com.minres.rdl.rdl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ *
+ * A representation of the model object 'Enum Instance Type '.
+ *
+ *
+ *
+ * The following features are supported:
+ *
+ *
+ * {@link com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL EXTERNAL }
+ * {@link com.minres.rdl.rdl.EnumInstanceType#getINTERNAL INTERNAL }
+ *
+ *
+ * @see com.minres.rdl.rdl.RdlPackage#getEnumInstanceType()
+ * @model
+ * @generated
+ */
+public interface EnumInstanceType extends EObject
+{
+ /**
+ * Returns the value of the 'EXTERNAL ' attribute.
+ *
+ *
+ * If the meaning of the 'EXTERNAL ' attribute isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'EXTERNAL ' attribute.
+ * @see #setEXTERNAL(String)
+ * @see com.minres.rdl.rdl.RdlPackage#getEnumInstanceType_EXTERNAL()
+ * @model
+ * @generated
+ */
+ String getEXTERNAL();
+
+ /**
+ * Sets the value of the '{@link com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL EXTERNAL }' attribute.
+ *
+ *
+ * @param value the new value of the 'EXTERNAL ' attribute.
+ * @see #getEXTERNAL()
+ * @generated
+ */
+ void setEXTERNAL(String value);
+
+ /**
+ * Returns the value of the 'INTERNAL ' attribute.
+ *
+ *
+ * If the meaning of the 'INTERNAL ' attribute isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'INTERNAL ' attribute.
+ * @see #setINTERNAL(String)
+ * @see com.minres.rdl.rdl.RdlPackage#getEnumInstanceType_INTERNAL()
+ * @model
+ * @generated
+ */
+ String getINTERNAL();
+
+ /**
+ * Sets the value of the '{@link com.minres.rdl.rdl.EnumInstanceType#getINTERNAL INTERNAL }' attribute.
+ *
+ *
+ * @param value the new value of the 'INTERNAL ' attribute.
+ * @see #getINTERNAL()
+ * @generated
+ */
+ void setINTERNAL(String value);
+
+} // EnumInstanceType
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ImmediateInstantiation.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ImmediateInstantiation.java
deleted file mode 100644
index aca8f85..0000000
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ImmediateInstantiation.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * generated by Xtext 2.12.0
- */
-package com.minres.rdl.rdl;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Immediate Instantiation '.
- *
- *
- *
- * The following features are supported:
- *
- *
- * {@link com.minres.rdl.rdl.ImmediateInstantiation#isExternal External }
- * {@link com.minres.rdl.rdl.ImmediateInstantiation#getComponentInstances Component Instances }
- *
- *
- * @see com.minres.rdl.rdl.RdlPackage#getImmediateInstantiation()
- * @model
- * @generated
- */
-public interface ImmediateInstantiation extends EObject
-{
- /**
- * Returns the value of the 'External ' attribute.
- *
- *
- * If the meaning of the 'External ' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'External ' attribute.
- * @see #setExternal(boolean)
- * @see com.minres.rdl.rdl.RdlPackage#getImmediateInstantiation_External()
- * @model
- * @generated
- */
- boolean isExternal();
-
- /**
- * Sets the value of the '{@link com.minres.rdl.rdl.ImmediateInstantiation#isExternal External }' attribute.
- *
- *
- * @param value the new value of the 'External ' attribute.
- * @see #isExternal()
- * @generated
- */
- void setExternal(boolean value);
-
- /**
- * Returns the value of the 'Component Instances ' containment reference list.
- * The list contents are of type {@link com.minres.rdl.rdl.ComponentInstance}.
- *
- *
- * If the meaning of the 'Component Instances ' containment reference list isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Component Instances ' containment reference list.
- * @see com.minres.rdl.rdl.RdlPackage#getImmediateInstantiation_ComponentInstances()
- * @model containment="true"
- * @generated
- */
- EList getComponentInstances();
-
-} // ImmediateInstantiation
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Instantiation.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Instantiation.java
new file mode 100644
index 0000000..564736d
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Instantiation.java
@@ -0,0 +1,152 @@
+/**
+ * generated by Xtext 2.12.0
+ */
+package com.minres.rdl.rdl;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ *
+ * A representation of the model object 'Instantiation '.
+ *
+ *
+ *
+ * The following features are supported:
+ *
+ *
+ * {@link com.minres.rdl.rdl.Instantiation#getInstanceType Instance Type }
+ * {@link com.minres.rdl.rdl.Instantiation#getAlias Alias }
+ * {@link com.minres.rdl.rdl.Instantiation#getComponentRef Component Ref }
+ * {@link com.minres.rdl.rdl.Instantiation#getComponent Component }
+ * {@link com.minres.rdl.rdl.Instantiation#getComponentInstances Component Instances }
+ *
+ *
+ * @see com.minres.rdl.rdl.RdlPackage#getInstantiation()
+ * @model
+ * @generated
+ */
+public interface Instantiation extends EObject
+{
+ /**
+ * Returns the value of the 'Instance Type ' containment reference.
+ *
+ *
+ * If the meaning of the 'Instance Type ' containment reference isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'Instance Type ' containment reference.
+ * @see #setInstanceType(EnumInstanceType)
+ * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_InstanceType()
+ * @model containment="true"
+ * @generated
+ */
+ EnumInstanceType getInstanceType();
+
+ /**
+ * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getInstanceType Instance Type }' containment reference.
+ *
+ *
+ * @param value the new value of the 'Instance Type ' containment reference.
+ * @see #getInstanceType()
+ * @generated
+ */
+ void setInstanceType(EnumInstanceType value);
+
+ /**
+ * Returns the value of the 'Alias ' attribute.
+ *
+ *
+ * If the meaning of the 'Alias ' attribute isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'Alias ' attribute.
+ * @see #setAlias(String)
+ * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_Alias()
+ * @model
+ * @generated
+ */
+ String getAlias();
+
+ /**
+ * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getAlias Alias }' attribute.
+ *
+ *
+ * @param value the new value of the 'Alias ' attribute.
+ * @see #getAlias()
+ * @generated
+ */
+ void setAlias(String value);
+
+ /**
+ * Returns the value of the 'Component Ref ' reference.
+ *
+ *
+ * If the meaning of the 'Component Ref ' reference isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'Component Ref ' reference.
+ * @see #setComponentRef(ComponentDefinition)
+ * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_ComponentRef()
+ * @model
+ * @generated
+ */
+ ComponentDefinition getComponentRef();
+
+ /**
+ * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getComponentRef Component Ref }' reference.
+ *
+ *
+ * @param value the new value of the 'Component Ref ' reference.
+ * @see #getComponentRef()
+ * @generated
+ */
+ void setComponentRef(ComponentDefinition value);
+
+ /**
+ * Returns the value of the 'Component ' containment reference.
+ *
+ *
+ * If the meaning of the 'Component ' containment reference isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'Component ' containment reference.
+ * @see #setComponent(ComponentDefinition)
+ * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_Component()
+ * @model containment="true"
+ * @generated
+ */
+ ComponentDefinition getComponent();
+
+ /**
+ * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getComponent Component }' containment reference.
+ *
+ *
+ * @param value the new value of the 'Component ' containment reference.
+ * @see #getComponent()
+ * @generated
+ */
+ void setComponent(ComponentDefinition value);
+
+ /**
+ * Returns the value of the 'Component Instances ' containment reference list.
+ * The list contents are of type {@link com.minres.rdl.rdl.ComponentInstance}.
+ *
+ *
+ * If the meaning of the 'Component Instances ' containment reference list isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @return the value of the 'Component Instances ' containment reference list.
+ * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_ComponentInstances()
+ * @model containment="true"
+ * @generated
+ */
+ EList getComponentInstances();
+
+} // Instantiation
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/NamedInstantiation.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/NamedInstantiation.java
deleted file mode 100644
index a6aff67..0000000
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/NamedInstantiation.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * generated by Xtext 2.12.0
- */
-package com.minres.rdl.rdl;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Named Instantiation '.
- *
- *
- *
- * The following features are supported:
- *
- *
- * {@link com.minres.rdl.rdl.NamedInstantiation#isExternal External }
- * {@link com.minres.rdl.rdl.NamedInstantiation#isInternal Internal }
- * {@link com.minres.rdl.rdl.NamedInstantiation#getAlias Alias }
- * {@link com.minres.rdl.rdl.NamedInstantiation#getComponent Component }
- * {@link com.minres.rdl.rdl.NamedInstantiation#getComponentInstances Component Instances }
- *
- *
- * @see com.minres.rdl.rdl.RdlPackage#getNamedInstantiation()
- * @model
- * @generated
- */
-public interface NamedInstantiation extends EObject
-{
- /**
- * Returns the value of the 'External ' attribute.
- *
- *
- * If the meaning of the 'External ' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'External ' attribute.
- * @see #setExternal(boolean)
- * @see com.minres.rdl.rdl.RdlPackage#getNamedInstantiation_External()
- * @model
- * @generated
- */
- boolean isExternal();
-
- /**
- * Sets the value of the '{@link com.minres.rdl.rdl.NamedInstantiation#isExternal External }' attribute.
- *
- *
- * @param value the new value of the 'External ' attribute.
- * @see #isExternal()
- * @generated
- */
- void setExternal(boolean value);
-
- /**
- * Returns the value of the 'Internal ' attribute.
- *
- *
- * If the meaning of the 'Internal ' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Internal ' attribute.
- * @see #setInternal(boolean)
- * @see com.minres.rdl.rdl.RdlPackage#getNamedInstantiation_Internal()
- * @model
- * @generated
- */
- boolean isInternal();
-
- /**
- * Sets the value of the '{@link com.minres.rdl.rdl.NamedInstantiation#isInternal Internal }' attribute.
- *
- *
- * @param value the new value of the 'Internal ' attribute.
- * @see #isInternal()
- * @generated
- */
- void setInternal(boolean value);
-
- /**
- * Returns the value of the 'Alias ' attribute.
- *
- *
- * If the meaning of the 'Alias ' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Alias ' attribute.
- * @see #setAlias(String)
- * @see com.minres.rdl.rdl.RdlPackage#getNamedInstantiation_Alias()
- * @model
- * @generated
- */
- String getAlias();
-
- /**
- * Sets the value of the '{@link com.minres.rdl.rdl.NamedInstantiation#getAlias Alias }' attribute.
- *
- *
- * @param value the new value of the 'Alias ' attribute.
- * @see #getAlias()
- * @generated
- */
- void setAlias(String value);
-
- /**
- * Returns the value of the 'Component ' reference.
- *
- *
- * If the meaning of the 'Component ' reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Component ' reference.
- * @see #setComponent(ComponentDefinition)
- * @see com.minres.rdl.rdl.RdlPackage#getNamedInstantiation_Component()
- * @model
- * @generated
- */
- ComponentDefinition getComponent();
-
- /**
- * Sets the value of the '{@link com.minres.rdl.rdl.NamedInstantiation#getComponent Component }' reference.
- *
- *
- * @param value the new value of the 'Component ' reference.
- * @see #getComponent()
- * @generated
- */
- void setComponent(ComponentDefinition value);
-
- /**
- * Returns the value of the 'Component Instances ' containment reference list.
- * The list contents are of type {@link com.minres.rdl.rdl.ComponentInstance}.
- *
- *
- * If the meaning of the 'Component Instances ' containment reference list isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Component Instances ' containment reference list.
- * @see com.minres.rdl.rdl.RdlPackage#getNamedInstantiation_ComponentInstances()
- * @model containment="true"
- * @generated
- */
- EList getComponentInstances();
-
-} // NamedInstantiation
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Range.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Range.java
index 3bba5f9..37f307a 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Range.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Range.java
@@ -14,8 +14,8 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
*
*
- * {@link com.minres.rdl.rdl.Range#getStart Start }
- * {@link com.minres.rdl.rdl.Range#getEnd End }
+ * {@link com.minres.rdl.rdl.Range#getLeft Left }
+ * {@link com.minres.rdl.rdl.Range#getRight Right }
* {@link com.minres.rdl.rdl.Range#getSize Size }
*
*
@@ -26,56 +26,56 @@ import org.eclipse.emf.ecore.EObject;
public interface Range extends EObject
{
/**
- * Returns the value of the 'Start ' attribute.
+ * Returns the value of the 'Left ' attribute.
*
*
- * If the meaning of the 'Start ' attribute isn't clear,
+ * If the meaning of the 'Left ' attribute isn't clear,
* there really should be more of a description here...
*
*
- * @return the value of the 'Start ' attribute.
- * @see #setStart(Object)
- * @see com.minres.rdl.rdl.RdlPackage#getRange_Start()
+ * @return the value of the 'Left ' attribute.
+ * @see #setLeft(Object)
+ * @see com.minres.rdl.rdl.RdlPackage#getRange_Left()
* @model
* @generated
*/
- Object getStart();
+ Object getLeft();
/**
- * Sets the value of the '{@link com.minres.rdl.rdl.Range#getStart Start }' attribute.
+ * Sets the value of the '{@link com.minres.rdl.rdl.Range#getLeft Left }' attribute.
*
*
- * @param value the new value of the 'Start ' attribute.
- * @see #getStart()
+ * @param value the new value of the 'Left ' attribute.
+ * @see #getLeft()
* @generated
*/
- void setStart(Object value);
+ void setLeft(Object value);
/**
- * Returns the value of the 'End ' attribute.
+ * Returns the value of the 'Right ' attribute.
*
*
- * If the meaning of the 'End ' attribute isn't clear,
+ * If the meaning of the 'Right ' attribute isn't clear,
* there really should be more of a description here...
*
*
- * @return the value of the 'End ' attribute.
- * @see #setEnd(Object)
- * @see com.minres.rdl.rdl.RdlPackage#getRange_End()
+ * @return the value of the 'Right ' attribute.
+ * @see #setRight(Object)
+ * @see com.minres.rdl.rdl.RdlPackage#getRange_Right()
* @model
* @generated
*/
- Object getEnd();
+ Object getRight();
/**
- * Sets the value of the '{@link com.minres.rdl.rdl.Range#getEnd End }' attribute.
+ * Sets the value of the '{@link com.minres.rdl.rdl.Range#getRight Right }' attribute.
*
*
- * @param value the new value of the 'End ' attribute.
- * @see #getEnd()
+ * @param value the new value of the 'Right ' attribute.
+ * @see #getRight()
* @generated
*/
- void setEnd(Object value);
+ void setRight(Object value);
/**
* Returns the value of the 'Size ' attribute.
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlFactory.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlFactory.java
index f0d8366..da2e893 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlFactory.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlFactory.java
@@ -78,22 +78,13 @@ public interface RdlFactory extends EFactory
ComponentDefinition createComponentDefinition();
/**
- * Returns a new object of class 'Named Instantiation '.
+ * Returns a new object of class 'Instantiation '.
*
*
- * @return a new object of class 'Named Instantiation '.
+ * @return a new object of class 'Instantiation '.
* @generated
*/
- NamedInstantiation createNamedInstantiation();
-
- /**
- * Returns a new object of class 'Immediate Instantiation '.
- *
- *
- * @return a new object of class 'Immediate Instantiation '.
- * @generated
- */
- ImmediateInstantiation createImmediateInstantiation();
+ Instantiation createInstantiation();
/**
* Returns a new object of class 'Component Instance '.
@@ -248,6 +239,15 @@ public interface RdlFactory extends EFactory
*/
EnumProperty createEnumProperty();
+ /**
+ * Returns a new object of class 'Enum Instance Type '.
+ *
+ *
+ * @return a new object of class 'Enum Instance Type '.
+ * @generated
+ */
+ EnumInstanceType createEnumInstanceType();
+
/**
* Returns the package supported by this factory.
*
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlPackage.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlPackage.java
index 7300698..015b0a6 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlPackage.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlPackage.java
@@ -96,13 +96,13 @@ public interface RdlPackage extends EPackage
int ROOT__ENUM_DEFINITIONS = 2;
/**
- * The feature id for the 'Named Instantiations ' containment reference list.
+ * The feature id for the 'Instantiations ' containment reference list.
*
*
* @generated
* @ordered
*/
- int ROOT__NAMED_INSTANTIATIONS = 3;
+ int ROOT__INSTANTIATIONS = 3;
/**
* The feature id for the 'Property Assignments ' containment reference list.
@@ -167,7 +167,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEntity()
* @generated
*/
- int ENTITY = 15;
+ int ENTITY = 14;
/**
* The feature id for the 'Name ' attribute.
@@ -345,13 +345,13 @@ public interface RdlPackage extends EPackage
int COMPONENT_DEFINITION__COMPONENT_DEFINITIONS = 2;
/**
- * The feature id for the 'Named Instantiations ' containment reference list.
+ * The feature id for the 'Instantiations ' containment reference list.
*
*
* @generated
* @ordered
*/
- int COMPONENT_DEFINITION__NAMED_INSTANTIATIONS = 3;
+ int COMPONENT_DEFINITION__INSTANTIATIONS = 3;
/**
* The feature id for the 'Property Assignments ' containment reference list.
@@ -371,15 +371,6 @@ public interface RdlPackage extends EPackage
*/
int COMPONENT_DEFINITION__ENUM_DEFINITIONS = 5;
- /**
- * The feature id for the 'Immediate Instantiation ' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION = 6;
-
/**
* The number of structural features of the 'Component Definition ' class.
*
@@ -387,35 +378,26 @@ public interface RdlPackage extends EPackage
* @generated
* @ordered
*/
- int COMPONENT_DEFINITION_FEATURE_COUNT = 7;
+ int COMPONENT_DEFINITION_FEATURE_COUNT = 6;
/**
- * The meta object id for the '{@link com.minres.rdl.rdl.impl.NamedInstantiationImpl Named Instantiation }' class.
+ * The meta object id for the '{@link com.minres.rdl.rdl.impl.InstantiationImpl Instantiation }' class.
*
*
- * @see com.minres.rdl.rdl.impl.NamedInstantiationImpl
- * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getNamedInstantiation()
+ * @see com.minres.rdl.rdl.impl.InstantiationImpl
+ * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstantiation()
* @generated
*/
- int NAMED_INSTANTIATION = 6;
+ int INSTANTIATION = 6;
/**
- * The feature id for the 'External ' attribute.
+ * The feature id for the 'Instance Type ' containment reference.
*
*
* @generated
* @ordered
*/
- int NAMED_INSTANTIATION__EXTERNAL = 0;
-
- /**
- * The feature id for the 'Internal ' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int NAMED_INSTANTIATION__INTERNAL = 1;
+ int INSTANTIATION__INSTANCE_TYPE = 0;
/**
* The feature id for the 'Alias ' attribute.
@@ -424,16 +406,25 @@ public interface RdlPackage extends EPackage
* @generated
* @ordered
*/
- int NAMED_INSTANTIATION__ALIAS = 2;
+ int INSTANTIATION__ALIAS = 1;
/**
- * The feature id for the 'Component ' reference.
+ * The feature id for the 'Component Ref ' reference.
*
*
* @generated
* @ordered
*/
- int NAMED_INSTANTIATION__COMPONENT = 3;
+ int INSTANTIATION__COMPONENT_REF = 2;
+
+ /**
+ * The feature id for the 'Component ' containment reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int INSTANTIATION__COMPONENT = 3;
/**
* The feature id for the 'Component Instances ' containment reference list.
@@ -442,53 +433,16 @@ public interface RdlPackage extends EPackage
* @generated
* @ordered
*/
- int NAMED_INSTANTIATION__COMPONENT_INSTANCES = 4;
+ int INSTANTIATION__COMPONENT_INSTANCES = 4;
/**
- * The number of structural features of the 'Named Instantiation ' class.
+ * The number of structural features of the 'Instantiation ' class.
*
*
* @generated
* @ordered
*/
- int NAMED_INSTANTIATION_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link com.minres.rdl.rdl.impl.ImmediateInstantiationImpl Immediate Instantiation }' class.
- *
- *
- * @see com.minres.rdl.rdl.impl.ImmediateInstantiationImpl
- * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getImmediateInstantiation()
- * @generated
- */
- int IMMEDIATE_INSTANTIATION = 7;
-
- /**
- * The feature id for the 'External ' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int IMMEDIATE_INSTANTIATION__EXTERNAL = 0;
-
- /**
- * The feature id for the 'Component Instances ' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES = 1;
-
- /**
- * The number of structural features of the 'Immediate Instantiation ' class.
- *
- *
- * @generated
- * @ordered
- */
- int IMMEDIATE_INSTANTIATION_FEATURE_COUNT = 2;
+ int INSTANTIATION_FEATURE_COUNT = 5;
/**
* The meta object id for the '{@link com.minres.rdl.rdl.impl.ComponentInstanceImpl Component Instance }' class.
@@ -498,7 +452,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentInstance()
* @generated
*/
- int COMPONENT_INSTANCE = 8;
+ int COMPONENT_INSTANCE = 7;
/**
* The feature id for the 'Name ' attribute.
@@ -571,25 +525,25 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRange()
* @generated
*/
- int RANGE = 9;
+ int RANGE = 8;
/**
- * The feature id for the 'Start ' attribute.
+ * The feature id for the 'Left ' attribute.
*
*
* @generated
* @ordered
*/
- int RANGE__START = 0;
+ int RANGE__LEFT = 0;
/**
- * The feature id for the 'End ' attribute.
+ * The feature id for the 'Right ' attribute.
*
*
* @generated
* @ordered
*/
- int RANGE__END = 1;
+ int RANGE__RIGHT = 1;
/**
* The feature id for the 'Size ' attribute.
@@ -617,7 +571,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyAssignment()
* @generated
*/
- int PROPERTY_ASSIGNMENT = 10;
+ int PROPERTY_ASSIGNMENT = 9;
/**
* The number of structural features of the 'Property Assignment ' class.
@@ -636,7 +590,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getDefaultProperyAssignment()
* @generated
*/
- int DEFAULT_PROPERY_ASSIGNMENT = 11;
+ int DEFAULT_PROPERY_ASSIGNMENT = 10;
/**
* The number of structural features of the 'Default Propery Assignment ' class.
@@ -655,7 +609,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getExplicitPropertyAssignment()
* @generated
*/
- int EXPLICIT_PROPERTY_ASSIGNMENT = 12;
+ int EXPLICIT_PROPERTY_ASSIGNMENT = 11;
/**
* The feature id for the 'Modifier ' attribute.
@@ -701,7 +655,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPostPropertyAssignment()
* @generated
*/
- int POST_PROPERTY_ASSIGNMENT = 13;
+ int POST_PROPERTY_ASSIGNMENT = 12;
/**
* The feature id for the 'Instance ' containment reference.
@@ -756,7 +710,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstancePropertyRef()
* @generated
*/
- int INSTANCE_PROPERTY_REF = 14;
+ int INSTANCE_PROPERTY_REF = 13;
/**
* The feature id for the 'Instance ' containment reference.
@@ -802,7 +756,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstanceRef()
* @generated
*/
- int INSTANCE_REF = 16;
+ int INSTANCE_REF = 15;
/**
* The feature id for the 'Instance ' reference.
@@ -839,7 +793,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyAssignmentRhs()
* @generated
*/
- int PROPERTY_ASSIGNMENT_RHS = 17;
+ int PROPERTY_ASSIGNMENT_RHS = 16;
/**
* The feature id for the 'Value ' containment reference.
@@ -903,7 +857,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getConcat()
* @generated
*/
- int CONCAT = 18;
+ int CONCAT = 17;
/**
* The feature id for the 'Elements ' containment reference list.
@@ -931,7 +885,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getConcatElem()
* @generated
*/
- int CONCAT_ELEM = 19;
+ int CONCAT_ELEM = 18;
/**
* The feature id for the 'Inst Prop Ref ' containment reference.
@@ -968,7 +922,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRValue()
* @generated
*/
- int RVALUE = 20;
+ int RVALUE = 19;
/**
* The feature id for the 'Val ' attribute.
@@ -1014,7 +968,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumDefinition()
* @generated
*/
- int ENUM_DEFINITION = 21;
+ int ENUM_DEFINITION = 20;
/**
* The feature id for the 'Name ' attribute.
@@ -1051,7 +1005,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumBody()
* @generated
*/
- int ENUM_BODY = 22;
+ int ENUM_BODY = 21;
/**
* The feature id for the 'Entries ' containment reference list.
@@ -1079,7 +1033,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumEntry()
* @generated
*/
- int ENUM_ENTRY = 23;
+ int ENUM_ENTRY = 22;
/**
* The feature id for the 'Name ' attribute.
@@ -1125,7 +1079,7 @@ public interface RdlPackage extends EPackage
* @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumProperty()
* @generated
*/
- int ENUM_PROPERTY = 24;
+ int ENUM_PROPERTY = 23;
/**
* The feature id for the 'Name ' attribute.
@@ -1154,6 +1108,43 @@ public interface RdlPackage extends EPackage
*/
int ENUM_PROPERTY_FEATURE_COUNT = 2;
+ /**
+ * The meta object id for the '{@link com.minres.rdl.rdl.impl.EnumInstanceTypeImpl Enum Instance Type }' class.
+ *
+ *
+ * @see com.minres.rdl.rdl.impl.EnumInstanceTypeImpl
+ * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumInstanceType()
+ * @generated
+ */
+ int ENUM_INSTANCE_TYPE = 24;
+
+ /**
+ * The feature id for the 'EXTERNAL ' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENUM_INSTANCE_TYPE__EXTERNAL = 0;
+
+ /**
+ * The feature id for the 'INTERNAL ' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENUM_INSTANCE_TYPE__INTERNAL = 1;
+
+ /**
+ * The number of structural features of the 'Enum Instance Type ' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int ENUM_INSTANCE_TYPE_FEATURE_COUNT = 2;
+
/**
* The meta object id for the '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name }' enum.
*
@@ -1259,15 +1250,15 @@ public interface RdlPackage extends EPackage
EReference getRoot_EnumDefinitions();
/**
- * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getNamedInstantiations Named Instantiations }'.
+ * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getInstantiations Instantiations }'.
*
*
- * @return the meta object for the containment reference list 'Named Instantiations '.
- * @see com.minres.rdl.rdl.Root#getNamedInstantiations()
+ * @return the meta object for the containment reference list 'Instantiations '.
+ * @see com.minres.rdl.rdl.Root#getInstantiations()
* @see #getRoot()
* @generated
*/
- EReference getRoot_NamedInstantiations();
+ EReference getRoot_Instantiations();
/**
* Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getPropertyAssignments Property Assignments }'.
@@ -1452,15 +1443,15 @@ public interface RdlPackage extends EPackage
EReference getComponentDefinition_ComponentDefinitions();
/**
- * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getNamedInstantiations Named Instantiations }'.
+ * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getInstantiations Instantiations }'.
*
*
- * @return the meta object for the containment reference list 'Named Instantiations '.
- * @see com.minres.rdl.rdl.ComponentDefinition#getNamedInstantiations()
+ * @return the meta object for the containment reference list 'Instantiations '.
+ * @see com.minres.rdl.rdl.ComponentDefinition#getInstantiations()
* @see #getComponentDefinition()
* @generated
*/
- EReference getComponentDefinition_NamedInstantiations();
+ EReference getComponentDefinition_Instantiations();
/**
* Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getPropertyAssignments Property Assignments }'.
@@ -1485,112 +1476,69 @@ public interface RdlPackage extends EPackage
EReference getComponentDefinition_EnumDefinitions();
/**
- * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.ComponentDefinition#getImmediateInstantiation Immediate Instantiation }'.
+ * Returns the meta object for class '{@link com.minres.rdl.rdl.Instantiation Instantiation }'.
*
*
- * @return the meta object for the containment reference 'Immediate Instantiation '.
- * @see com.minres.rdl.rdl.ComponentDefinition#getImmediateInstantiation()
- * @see #getComponentDefinition()
+ * @return the meta object for class 'Instantiation '.
+ * @see com.minres.rdl.rdl.Instantiation
* @generated
*/
- EReference getComponentDefinition_ImmediateInstantiation();
+ EClass getInstantiation();
/**
- * Returns the meta object for class '{@link com.minres.rdl.rdl.NamedInstantiation Named Instantiation }'.
+ * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.Instantiation#getInstanceType Instance Type }'.
*
*
- * @return the meta object for class 'Named Instantiation '.
- * @see com.minres.rdl.rdl.NamedInstantiation
+ * @return the meta object for the containment reference 'Instance Type '.
+ * @see com.minres.rdl.rdl.Instantiation#getInstanceType()
+ * @see #getInstantiation()
* @generated
*/
- EClass getNamedInstantiation();
+ EReference getInstantiation_InstanceType();
/**
- * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.NamedInstantiation#isExternal External }'.
- *
- *
- * @return the meta object for the attribute 'External '.
- * @see com.minres.rdl.rdl.NamedInstantiation#isExternal()
- * @see #getNamedInstantiation()
- * @generated
- */
- EAttribute getNamedInstantiation_External();
-
- /**
- * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.NamedInstantiation#isInternal Internal }'.
- *
- *
- * @return the meta object for the attribute 'Internal '.
- * @see com.minres.rdl.rdl.NamedInstantiation#isInternal()
- * @see #getNamedInstantiation()
- * @generated
- */
- EAttribute getNamedInstantiation_Internal();
-
- /**
- * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.NamedInstantiation#getAlias Alias }'.
+ * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Instantiation#getAlias Alias }'.
*
*
* @return the meta object for the attribute 'Alias '.
- * @see com.minres.rdl.rdl.NamedInstantiation#getAlias()
- * @see #getNamedInstantiation()
+ * @see com.minres.rdl.rdl.Instantiation#getAlias()
+ * @see #getInstantiation()
* @generated
*/
- EAttribute getNamedInstantiation_Alias();
+ EAttribute getInstantiation_Alias();
/**
- * Returns the meta object for the reference '{@link com.minres.rdl.rdl.NamedInstantiation#getComponent Component }'.
+ * Returns the meta object for the reference '{@link com.minres.rdl.rdl.Instantiation#getComponentRef Component Ref }'.
*
*
- * @return the meta object for the reference 'Component '.
- * @see com.minres.rdl.rdl.NamedInstantiation#getComponent()
- * @see #getNamedInstantiation()
+ * @return the meta object for the reference 'Component Ref '.
+ * @see com.minres.rdl.rdl.Instantiation#getComponentRef()
+ * @see #getInstantiation()
* @generated
*/
- EReference getNamedInstantiation_Component();
+ EReference getInstantiation_ComponentRef();
/**
- * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.NamedInstantiation#getComponentInstances Component Instances }'.
+ * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.Instantiation#getComponent Component }'.
+ *
+ *
+ * @return the meta object for the containment reference 'Component '.
+ * @see com.minres.rdl.rdl.Instantiation#getComponent()
+ * @see #getInstantiation()
+ * @generated
+ */
+ EReference getInstantiation_Component();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Instantiation#getComponentInstances Component Instances }'.
*
*
* @return the meta object for the containment reference list 'Component Instances '.
- * @see com.minres.rdl.rdl.NamedInstantiation#getComponentInstances()
- * @see #getNamedInstantiation()
+ * @see com.minres.rdl.rdl.Instantiation#getComponentInstances()
+ * @see #getInstantiation()
* @generated
*/
- EReference getNamedInstantiation_ComponentInstances();
-
- /**
- * Returns the meta object for class '{@link com.minres.rdl.rdl.ImmediateInstantiation Immediate Instantiation }'.
- *
- *
- * @return the meta object for class 'Immediate Instantiation '.
- * @see com.minres.rdl.rdl.ImmediateInstantiation
- * @generated
- */
- EClass getImmediateInstantiation();
-
- /**
- * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ImmediateInstantiation#isExternal External }'.
- *
- *
- * @return the meta object for the attribute 'External '.
- * @see com.minres.rdl.rdl.ImmediateInstantiation#isExternal()
- * @see #getImmediateInstantiation()
- * @generated
- */
- EAttribute getImmediateInstantiation_External();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ImmediateInstantiation#getComponentInstances Component Instances }'.
- *
- *
- * @return the meta object for the containment reference list 'Component Instances '.
- * @see com.minres.rdl.rdl.ImmediateInstantiation#getComponentInstances()
- * @see #getImmediateInstantiation()
- * @generated
- */
- EReference getImmediateInstantiation_ComponentInstances();
+ EReference getInstantiation_ComponentInstances();
/**
* Returns the meta object for class '{@link com.minres.rdl.rdl.ComponentInstance Component Instance }'.
@@ -1668,26 +1616,26 @@ public interface RdlPackage extends EPackage
EClass getRange();
/**
- * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getStart Start }'.
+ * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getLeft Left }'.
*
*
- * @return the meta object for the attribute 'Start '.
- * @see com.minres.rdl.rdl.Range#getStart()
+ * @return the meta object for the attribute 'Left '.
+ * @see com.minres.rdl.rdl.Range#getLeft()
* @see #getRange()
* @generated
*/
- EAttribute getRange_Start();
+ EAttribute getRange_Left();
/**
- * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getEnd End }'.
+ * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getRight Right }'.
*
*
- * @return the meta object for the attribute 'End '.
- * @see com.minres.rdl.rdl.Range#getEnd()
+ * @return the meta object for the attribute 'Right '.
+ * @see com.minres.rdl.rdl.Range#getRight()
* @see #getRange()
* @generated
*/
- EAttribute getRange_End();
+ EAttribute getRange_Right();
/**
* Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getSize Size }'.
@@ -2191,6 +2139,38 @@ public interface RdlPackage extends EPackage
*/
EAttribute getEnumProperty_Value();
+ /**
+ * Returns the meta object for class '{@link com.minres.rdl.rdl.EnumInstanceType Enum Instance Type }'.
+ *
+ *
+ * @return the meta object for class 'Enum Instance Type '.
+ * @see com.minres.rdl.rdl.EnumInstanceType
+ * @generated
+ */
+ EClass getEnumInstanceType();
+
+ /**
+ * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL EXTERNAL }'.
+ *
+ *
+ * @return the meta object for the attribute 'EXTERNAL '.
+ * @see com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL()
+ * @see #getEnumInstanceType()
+ * @generated
+ */
+ EAttribute getEnumInstanceType_EXTERNAL();
+
+ /**
+ * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumInstanceType#getINTERNAL INTERNAL }'.
+ *
+ *
+ * @return the meta object for the attribute 'INTERNAL '.
+ * @see com.minres.rdl.rdl.EnumInstanceType#getINTERNAL()
+ * @see #getEnumInstanceType()
+ * @generated
+ */
+ EAttribute getEnumInstanceType_INTERNAL();
+
/**
* Returns the meta object for enum '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name }'.
*
@@ -2309,12 +2289,12 @@ public interface RdlPackage extends EPackage
EReference ROOT__ENUM_DEFINITIONS = eINSTANCE.getRoot_EnumDefinitions();
/**
- * The meta object literal for the 'Named Instantiations ' containment reference list feature.
+ * The meta object literal for the 'Instantiations ' containment reference list feature.
*
*
* @generated
*/
- EReference ROOT__NAMED_INSTANTIATIONS = eINSTANCE.getRoot_NamedInstantiations();
+ EReference ROOT__INSTANTIATIONS = eINSTANCE.getRoot_Instantiations();
/**
* The meta object literal for the 'Property Assignments ' containment reference list feature.
@@ -2463,12 +2443,12 @@ public interface RdlPackage extends EPackage
EReference COMPONENT_DEFINITION__COMPONENT_DEFINITIONS = eINSTANCE.getComponentDefinition_ComponentDefinitions();
/**
- * The meta object literal for the 'Named Instantiations ' containment reference list feature.
+ * The meta object literal for the 'Instantiations ' containment reference list feature.
*
*
* @generated
*/
- EReference COMPONENT_DEFINITION__NAMED_INSTANTIATIONS = eINSTANCE.getComponentDefinition_NamedInstantiations();
+ EReference COMPONENT_DEFINITION__INSTANTIATIONS = eINSTANCE.getComponentDefinition_Instantiations();
/**
* The meta object literal for the 'Property Assignments ' containment reference list feature.
@@ -2487,38 +2467,22 @@ public interface RdlPackage extends EPackage
EReference COMPONENT_DEFINITION__ENUM_DEFINITIONS = eINSTANCE.getComponentDefinition_EnumDefinitions();
/**
- * The meta object literal for the 'Immediate Instantiation ' containment reference feature.
+ * The meta object literal for the '{@link com.minres.rdl.rdl.impl.InstantiationImpl Instantiation }' class.
*
*
+ * @see com.minres.rdl.rdl.impl.InstantiationImpl
+ * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstantiation()
* @generated
*/
- EReference COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION = eINSTANCE.getComponentDefinition_ImmediateInstantiation();
+ EClass INSTANTIATION = eINSTANCE.getInstantiation();
/**
- * The meta object literal for the '{@link com.minres.rdl.rdl.impl.NamedInstantiationImpl Named Instantiation }' class.
- *
- *
- * @see com.minres.rdl.rdl.impl.NamedInstantiationImpl
- * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getNamedInstantiation()
- * @generated
- */
- EClass NAMED_INSTANTIATION = eINSTANCE.getNamedInstantiation();
-
- /**
- * The meta object literal for the 'External ' attribute feature.
+ * The meta object literal for the 'Instance Type ' containment reference feature.
*
*
* @generated
*/
- EAttribute NAMED_INSTANTIATION__EXTERNAL = eINSTANCE.getNamedInstantiation_External();
-
- /**
- * The meta object literal for the 'Internal ' attribute feature.
- *
- *
- * @generated
- */
- EAttribute NAMED_INSTANTIATION__INTERNAL = eINSTANCE.getNamedInstantiation_Internal();
+ EReference INSTANTIATION__INSTANCE_TYPE = eINSTANCE.getInstantiation_InstanceType();
/**
* The meta object literal for the 'Alias ' attribute feature.
@@ -2526,15 +2490,23 @@ public interface RdlPackage extends EPackage
*
* @generated
*/
- EAttribute NAMED_INSTANTIATION__ALIAS = eINSTANCE.getNamedInstantiation_Alias();
+ EAttribute INSTANTIATION__ALIAS = eINSTANCE.getInstantiation_Alias();
/**
- * The meta object literal for the 'Component ' reference feature.
+ * The meta object literal for the 'Component Ref ' reference feature.
*
*
* @generated
*/
- EReference NAMED_INSTANTIATION__COMPONENT = eINSTANCE.getNamedInstantiation_Component();
+ EReference INSTANTIATION__COMPONENT_REF = eINSTANCE.getInstantiation_ComponentRef();
+
+ /**
+ * The meta object literal for the 'Component ' containment reference feature.
+ *
+ *
+ * @generated
+ */
+ EReference INSTANTIATION__COMPONENT = eINSTANCE.getInstantiation_Component();
/**
* The meta object literal for the 'Component Instances ' containment reference list feature.
@@ -2542,33 +2514,7 @@ public interface RdlPackage extends EPackage
*
* @generated
*/
- EReference NAMED_INSTANTIATION__COMPONENT_INSTANCES = eINSTANCE.getNamedInstantiation_ComponentInstances();
-
- /**
- * The meta object literal for the '{@link com.minres.rdl.rdl.impl.ImmediateInstantiationImpl Immediate Instantiation }' class.
- *
- *
- * @see com.minres.rdl.rdl.impl.ImmediateInstantiationImpl
- * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getImmediateInstantiation()
- * @generated
- */
- EClass IMMEDIATE_INSTANTIATION = eINSTANCE.getImmediateInstantiation();
-
- /**
- * The meta object literal for the 'External ' attribute feature.
- *
- *
- * @generated
- */
- EAttribute IMMEDIATE_INSTANTIATION__EXTERNAL = eINSTANCE.getImmediateInstantiation_External();
-
- /**
- * The meta object literal for the 'Component Instances ' containment reference list feature.
- *
- *
- * @generated
- */
- EReference IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES = eINSTANCE.getImmediateInstantiation_ComponentInstances();
+ EReference INSTANTIATION__COMPONENT_INSTANCES = eINSTANCE.getInstantiation_ComponentInstances();
/**
* The meta object literal for the '{@link com.minres.rdl.rdl.impl.ComponentInstanceImpl Component Instance }' class.
@@ -2631,20 +2577,20 @@ public interface RdlPackage extends EPackage
EClass RANGE = eINSTANCE.getRange();
/**
- * The meta object literal for the 'Start ' attribute feature.
+ * The meta object literal for the 'Left ' attribute feature.
*
*
* @generated
*/
- EAttribute RANGE__START = eINSTANCE.getRange_Start();
+ EAttribute RANGE__LEFT = eINSTANCE.getRange_Left();
/**
- * The meta object literal for the 'End ' attribute feature.
+ * The meta object literal for the 'Right ' attribute feature.
*
*
* @generated
*/
- EAttribute RANGE__END = eINSTANCE.getRange_End();
+ EAttribute RANGE__RIGHT = eINSTANCE.getRange_Right();
/**
* The meta object literal for the 'Size ' attribute feature.
@@ -3052,6 +2998,32 @@ public interface RdlPackage extends EPackage
*/
EAttribute ENUM_PROPERTY__VALUE = eINSTANCE.getEnumProperty_Value();
+ /**
+ * The meta object literal for the '{@link com.minres.rdl.rdl.impl.EnumInstanceTypeImpl Enum Instance Type }' class.
+ *
+ *
+ * @see com.minres.rdl.rdl.impl.EnumInstanceTypeImpl
+ * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumInstanceType()
+ * @generated
+ */
+ EClass ENUM_INSTANCE_TYPE = eINSTANCE.getEnumInstanceType();
+
+ /**
+ * The meta object literal for the 'EXTERNAL ' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute ENUM_INSTANCE_TYPE__EXTERNAL = eINSTANCE.getEnumInstanceType_EXTERNAL();
+
+ /**
+ * The meta object literal for the 'INTERNAL ' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute ENUM_INSTANCE_TYPE__INTERNAL = eINSTANCE.getEnumInstanceType_INTERNAL();
+
/**
* The meta object literal for the '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name }' enum.
*
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Root.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Root.java
index 13056ec..a68fe25 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Root.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Root.java
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.EObject;
* {@link com.minres.rdl.rdl.Root#getIncludes Includes }
* {@link com.minres.rdl.rdl.Root#getComponentDefinitions Component Definitions }
* {@link com.minres.rdl.rdl.Root#getEnumDefinitions Enum Definitions }
- * {@link com.minres.rdl.rdl.Root#getNamedInstantiations Named Instantiations }
+ * {@link com.minres.rdl.rdl.Root#getInstantiations Instantiations }
* {@link com.minres.rdl.rdl.Root#getPropertyAssignments Property Assignments }
* {@link com.minres.rdl.rdl.Root#getPropertyDefinitions Property Definitions }
*
@@ -79,20 +79,20 @@ public interface Root extends EObject
EList getEnumDefinitions();
/**
- * Returns the value of the 'Named Instantiations ' containment reference list.
- * The list contents are of type {@link com.minres.rdl.rdl.NamedInstantiation}.
+ * Returns the value of the 'Instantiations ' containment reference list.
+ * The list contents are of type {@link com.minres.rdl.rdl.Instantiation}.
*
*
- * If the meaning of the 'Named Instantiations ' containment reference list isn't clear,
+ * If the meaning of the 'Instantiations ' containment reference list isn't clear,
* there really should be more of a description here...
*
*
- * @return the value of the 'Named Instantiations ' containment reference list.
- * @see com.minres.rdl.rdl.RdlPackage#getRoot_NamedInstantiations()
+ * @return the value of the 'Instantiations ' containment reference list.
+ * @see com.minres.rdl.rdl.RdlPackage#getRoot_Instantiations()
* @model containment="true"
* @generated
*/
- EList getNamedInstantiations();
+ EList getInstantiations();
/**
* Returns the value of the 'Property Assignments ' containment reference list.
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentDefinitionImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentDefinitionImpl.java
index e075f1f..e8ec30c 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentDefinitionImpl.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentDefinitionImpl.java
@@ -6,8 +6,7 @@ package com.minres.rdl.rdl.impl;
import com.minres.rdl.rdl.ComponentDefinition;
import com.minres.rdl.rdl.ComponentDefinitionType;
import com.minres.rdl.rdl.EnumDefinition;
-import com.minres.rdl.rdl.ImmediateInstantiation;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.Instantiation;
import com.minres.rdl.rdl.PropertyAssignment;
import com.minres.rdl.rdl.RdlPackage;
@@ -38,10 +37,9 @@ import org.eclipse.emf.ecore.util.InternalEList;
* {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getType Type }
* {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getName Name }
* {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getComponentDefinitions Component Definitions }
- * {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getNamedInstantiations Named Instantiations }
+ * {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getInstantiations Instantiations }
* {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getPropertyAssignments Property Assignments }
* {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getEnumDefinitions Enum Definitions }
- * {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getImmediateInstantiation Immediate Instantiation }
*
*
* @generated
@@ -99,14 +97,14 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
protected EList componentDefinitions;
/**
- * The cached value of the '{@link #getNamedInstantiations() Named Instantiations }' containment reference list.
+ * The cached value of the '{@link #getInstantiations() Instantiations }' containment reference list.
*
*
- * @see #getNamedInstantiations()
+ * @see #getInstantiations()
* @generated
* @ordered
*/
- protected EList namedInstantiations;
+ protected EList instantiations;
/**
* The cached value of the '{@link #getPropertyAssignments() Property Assignments }' containment reference list.
@@ -128,16 +126,6 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
*/
protected EList enumDefinitions;
- /**
- * The cached value of the '{@link #getImmediateInstantiation() Immediate Instantiation }' containment reference.
- *
- *
- * @see #getImmediateInstantiation()
- * @generated
- * @ordered
- */
- protected ImmediateInstantiation immediateInstantiation;
-
/**
*
*
@@ -224,13 +212,13 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
*
* @generated
*/
- public EList getNamedInstantiations()
+ public EList getInstantiations()
{
- if (namedInstantiations == null)
+ if (instantiations == null)
{
- namedInstantiations = new EObjectContainmentEList(NamedInstantiation.class, this, RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS);
+ instantiations = new EObjectContainmentEList(Instantiation.class, this, RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS);
}
- return namedInstantiations;
+ return instantiations;
}
/**
@@ -261,54 +249,6 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
return enumDefinitions;
}
- /**
- *
- *
- * @generated
- */
- public ImmediateInstantiation getImmediateInstantiation()
- {
- return immediateInstantiation;
- }
-
- /**
- *
- *
- * @generated
- */
- public NotificationChain basicSetImmediateInstantiation(ImmediateInstantiation newImmediateInstantiation, NotificationChain msgs)
- {
- ImmediateInstantiation oldImmediateInstantiation = immediateInstantiation;
- immediateInstantiation = newImmediateInstantiation;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION, oldImmediateInstantiation, newImmediateInstantiation);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setImmediateInstantiation(ImmediateInstantiation newImmediateInstantiation)
- {
- if (newImmediateInstantiation != immediateInstantiation)
- {
- NotificationChain msgs = null;
- if (immediateInstantiation != null)
- msgs = ((InternalEObject)immediateInstantiation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION, null, msgs);
- if (newImmediateInstantiation != null)
- msgs = ((InternalEObject)newImmediateInstantiation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION, null, msgs);
- msgs = basicSetImmediateInstantiation(newImmediateInstantiation, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION, newImmediateInstantiation, newImmediateInstantiation));
- }
-
/**
*
*
@@ -321,14 +261,12 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
{
case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS:
return ((InternalEList>)getComponentDefinitions()).basicRemove(otherEnd, msgs);
- case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS:
- return ((InternalEList>)getNamedInstantiations()).basicRemove(otherEnd, msgs);
+ case RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS:
+ return ((InternalEList>)getInstantiations()).basicRemove(otherEnd, msgs);
case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS:
return ((InternalEList>)getPropertyAssignments()).basicRemove(otherEnd, msgs);
case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS:
return ((InternalEList>)getEnumDefinitions()).basicRemove(otherEnd, msgs);
- case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION:
- return basicSetImmediateInstantiation(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -349,14 +287,12 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
return getName();
case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS:
return getComponentDefinitions();
- case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS:
- return getNamedInstantiations();
+ case RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS:
+ return getInstantiations();
case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS:
return getPropertyAssignments();
case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS:
return getEnumDefinitions();
- case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION:
- return getImmediateInstantiation();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -382,9 +318,9 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
getComponentDefinitions().clear();
getComponentDefinitions().addAll((Collection extends ComponentDefinition>)newValue);
return;
- case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS:
- getNamedInstantiations().clear();
- getNamedInstantiations().addAll((Collection extends NamedInstantiation>)newValue);
+ case RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS:
+ getInstantiations().clear();
+ getInstantiations().addAll((Collection extends Instantiation>)newValue);
return;
case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS:
getPropertyAssignments().clear();
@@ -394,9 +330,6 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
getEnumDefinitions().clear();
getEnumDefinitions().addAll((Collection extends EnumDefinition>)newValue);
return;
- case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION:
- setImmediateInstantiation((ImmediateInstantiation)newValue);
- return;
}
super.eSet(featureID, newValue);
}
@@ -420,8 +353,8 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS:
getComponentDefinitions().clear();
return;
- case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS:
- getNamedInstantiations().clear();
+ case RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS:
+ getInstantiations().clear();
return;
case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS:
getPropertyAssignments().clear();
@@ -429,9 +362,6 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS:
getEnumDefinitions().clear();
return;
- case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION:
- setImmediateInstantiation((ImmediateInstantiation)null);
- return;
}
super.eUnset(featureID);
}
@@ -452,14 +382,12 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS:
return componentDefinitions != null && !componentDefinitions.isEmpty();
- case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS:
- return namedInstantiations != null && !namedInstantiations.isEmpty();
+ case RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS:
+ return instantiations != null && !instantiations.isEmpty();
case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS:
return propertyAssignments != null && !propertyAssignments.isEmpty();
case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS:
return enumDefinitions != null && !enumDefinitions.isEmpty();
- case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION:
- return immediateInstantiation != null;
}
return super.eIsSet(featureID);
}
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumInstanceTypeImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumInstanceTypeImpl.java
new file mode 100644
index 0000000..e5935ee
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumInstanceTypeImpl.java
@@ -0,0 +1,234 @@
+/**
+ * generated by Xtext 2.12.0
+ */
+package com.minres.rdl.rdl.impl;
+
+import com.minres.rdl.rdl.EnumInstanceType;
+import com.minres.rdl.rdl.RdlPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+/**
+ *
+ * An implementation of the model object 'Enum Instance Type '.
+ *
+ *
+ * The following features are implemented:
+ *
+ *
+ * {@link com.minres.rdl.rdl.impl.EnumInstanceTypeImpl#getEXTERNAL EXTERNAL }
+ * {@link com.minres.rdl.rdl.impl.EnumInstanceTypeImpl#getINTERNAL INTERNAL }
+ *
+ *
+ * @generated
+ */
+public class EnumInstanceTypeImpl extends MinimalEObjectImpl.Container implements EnumInstanceType
+{
+ /**
+ * The default value of the '{@link #getEXTERNAL() EXTERNAL }' attribute.
+ *
+ *
+ * @see #getEXTERNAL()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXTERNAL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getEXTERNAL() EXTERNAL }' attribute.
+ *
+ *
+ * @see #getEXTERNAL()
+ * @generated
+ * @ordered
+ */
+ protected String external = EXTERNAL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getINTERNAL() INTERNAL }' attribute.
+ *
+ *
+ * @see #getINTERNAL()
+ * @generated
+ * @ordered
+ */
+ protected static final String INTERNAL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getINTERNAL() INTERNAL }' attribute.
+ *
+ *
+ * @see #getINTERNAL()
+ * @generated
+ * @ordered
+ */
+ protected String internal = INTERNAL_EDEFAULT;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected EnumInstanceTypeImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return RdlPackage.Literals.ENUM_INSTANCE_TYPE;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getEXTERNAL()
+ {
+ return external;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setEXTERNAL(String newEXTERNAL)
+ {
+ String oldEXTERNAL = external;
+ external = newEXTERNAL;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL, oldEXTERNAL, external));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getINTERNAL()
+ {
+ return internal;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setINTERNAL(String newINTERNAL)
+ {
+ String oldINTERNAL = internal;
+ internal = newINTERNAL;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL, oldINTERNAL, internal));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL:
+ return getEXTERNAL();
+ case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL:
+ return getINTERNAL();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL:
+ setEXTERNAL((String)newValue);
+ return;
+ case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL:
+ setINTERNAL((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL:
+ setEXTERNAL(EXTERNAL_EDEFAULT);
+ return;
+ case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL:
+ setINTERNAL(INTERNAL_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL:
+ return EXTERNAL_EDEFAULT == null ? external != null : !EXTERNAL_EDEFAULT.equals(external);
+ case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL:
+ return INTERNAL_EDEFAULT == null ? internal != null : !INTERNAL_EDEFAULT.equals(internal);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (EXTERNAL: ");
+ result.append(external);
+ result.append(", INTERNAL: ");
+ result.append(internal);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EnumInstanceTypeImpl
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ImmediateInstantiationImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ImmediateInstantiationImpl.java
deleted file mode 100644
index 2c7502f..0000000
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ImmediateInstantiationImpl.java
+++ /dev/null
@@ -1,241 +0,0 @@
-/**
- * generated by Xtext 2.12.0
- */
-package com.minres.rdl.rdl.impl;
-
-import com.minres.rdl.rdl.ComponentInstance;
-import com.minres.rdl.rdl.ImmediateInstantiation;
-import com.minres.rdl.rdl.RdlPackage;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- *
- * An implementation of the model object 'Immediate Instantiation '.
- *
- *
- * The following features are implemented:
- *
- *
- * {@link com.minres.rdl.rdl.impl.ImmediateInstantiationImpl#isExternal External }
- * {@link com.minres.rdl.rdl.impl.ImmediateInstantiationImpl#getComponentInstances Component Instances }
- *
- *
- * @generated
- */
-public class ImmediateInstantiationImpl extends MinimalEObjectImpl.Container implements ImmediateInstantiation
-{
- /**
- * The default value of the '{@link #isExternal() External }' attribute.
- *
- *
- * @see #isExternal()
- * @generated
- * @ordered
- */
- protected static final boolean EXTERNAL_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isExternal() External }' attribute.
- *
- *
- * @see #isExternal()
- * @generated
- * @ordered
- */
- protected boolean external = EXTERNAL_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getComponentInstances() Component Instances }' containment reference list.
- *
- *
- * @see #getComponentInstances()
- * @generated
- * @ordered
- */
- protected EList componentInstances;
-
- /**
- *
- *
- * @generated
- */
- protected ImmediateInstantiationImpl()
- {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return RdlPackage.Literals.IMMEDIATE_INSTANTIATION;
- }
-
- /**
- *
- *
- * @generated
- */
- public boolean isExternal()
- {
- return external;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setExternal(boolean newExternal)
- {
- boolean oldExternal = external;
- external = newExternal;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.IMMEDIATE_INSTANTIATION__EXTERNAL, oldExternal, external));
- }
-
- /**
- *
- *
- * @generated
- */
- public EList getComponentInstances()
- {
- if (componentInstances == null)
- {
- componentInstances = new EObjectContainmentEList(ComponentInstance.class, this, RdlPackage.IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES);
- }
- return componentInstances;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case RdlPackage.IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES:
- return ((InternalEList>)getComponentInstances()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case RdlPackage.IMMEDIATE_INSTANTIATION__EXTERNAL:
- return isExternal();
- case RdlPackage.IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES:
- return getComponentInstances();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case RdlPackage.IMMEDIATE_INSTANTIATION__EXTERNAL:
- setExternal((Boolean)newValue);
- return;
- case RdlPackage.IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES:
- getComponentInstances().clear();
- getComponentInstances().addAll((Collection extends ComponentInstance>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case RdlPackage.IMMEDIATE_INSTANTIATION__EXTERNAL:
- setExternal(EXTERNAL_EDEFAULT);
- return;
- case RdlPackage.IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES:
- getComponentInstances().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case RdlPackage.IMMEDIATE_INSTANTIATION__EXTERNAL:
- return external != EXTERNAL_EDEFAULT;
- case RdlPackage.IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES:
- return componentInstances != null && !componentInstances.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (external: ");
- result.append(external);
- result.append(')');
- return result.toString();
- }
-
-} //ImmediateInstantiationImpl
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/NamedInstantiationImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstantiationImpl.java
similarity index 53%
rename from com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/NamedInstantiationImpl.java
rename to com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstantiationImpl.java
index 906671e..1dcd600 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/NamedInstantiationImpl.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstantiationImpl.java
@@ -5,7 +5,8 @@ package com.minres.rdl.rdl.impl;
import com.minres.rdl.rdl.ComponentDefinition;
import com.minres.rdl.rdl.ComponentInstance;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.EnumInstanceType;
+import com.minres.rdl.rdl.Instantiation;
import com.minres.rdl.rdl.RdlPackage;
import java.util.Collection;
@@ -26,62 +27,32 @@ import org.eclipse.emf.ecore.util.InternalEList;
/**
*
- * An implementation of the model object 'Named Instantiation '.
+ * An implementation of the model object 'Instantiation '.
*
*
* The following features are implemented:
*
*
- * {@link com.minres.rdl.rdl.impl.NamedInstantiationImpl#isExternal External }
- * {@link com.minres.rdl.rdl.impl.NamedInstantiationImpl#isInternal Internal }
- * {@link com.minres.rdl.rdl.impl.NamedInstantiationImpl#getAlias Alias }
- * {@link com.minres.rdl.rdl.impl.NamedInstantiationImpl#getComponent Component }
- * {@link com.minres.rdl.rdl.impl.NamedInstantiationImpl#getComponentInstances Component Instances }
+ * {@link com.minres.rdl.rdl.impl.InstantiationImpl#getInstanceType Instance Type }
+ * {@link com.minres.rdl.rdl.impl.InstantiationImpl#getAlias Alias }
+ * {@link com.minres.rdl.rdl.impl.InstantiationImpl#getComponentRef Component Ref }
+ * {@link com.minres.rdl.rdl.impl.InstantiationImpl#getComponent Component }
+ * {@link com.minres.rdl.rdl.impl.InstantiationImpl#getComponentInstances Component Instances }
*
*
* @generated
*/
-public class NamedInstantiationImpl extends MinimalEObjectImpl.Container implements NamedInstantiation
+public class InstantiationImpl extends MinimalEObjectImpl.Container implements Instantiation
{
/**
- * The default value of the '{@link #isExternal() External }' attribute.
+ * The cached value of the '{@link #getInstanceType() Instance Type }' containment reference.
*
*
- * @see #isExternal()
+ * @see #getInstanceType()
* @generated
* @ordered
*/
- protected static final boolean EXTERNAL_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isExternal() External }' attribute.
- *
- *
- * @see #isExternal()
- * @generated
- * @ordered
- */
- protected boolean external = EXTERNAL_EDEFAULT;
-
- /**
- * The default value of the '{@link #isInternal() Internal }' attribute.
- *
- *
- * @see #isInternal()
- * @generated
- * @ordered
- */
- protected static final boolean INTERNAL_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isInternal() Internal }' attribute.
- *
- *
- * @see #isInternal()
- * @generated
- * @ordered
- */
- protected boolean internal = INTERNAL_EDEFAULT;
+ protected EnumInstanceType instanceType;
/**
* The default value of the '{@link #getAlias() Alias }' attribute.
@@ -104,7 +75,17 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
protected String alias = ALIAS_EDEFAULT;
/**
- * The cached value of the '{@link #getComponent() Component }' reference.
+ * The cached value of the '{@link #getComponentRef() Component Ref }' reference.
+ *
+ *
+ * @see #getComponentRef()
+ * @generated
+ * @ordered
+ */
+ protected ComponentDefinition componentRef;
+
+ /**
+ * The cached value of the '{@link #getComponent() Component }' containment reference.
*
*
* @see #getComponent()
@@ -128,7 +109,7 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*
* @generated
*/
- protected NamedInstantiationImpl()
+ protected InstantiationImpl()
{
super();
}
@@ -141,7 +122,7 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
@Override
protected EClass eStaticClass()
{
- return RdlPackage.Literals.NAMED_INSTANTIATION;
+ return RdlPackage.Literals.INSTANTIATION;
}
/**
@@ -149,9 +130,9 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*
* @generated
*/
- public boolean isExternal()
+ public EnumInstanceType getInstanceType()
{
- return external;
+ return instanceType;
}
/**
@@ -159,12 +140,16 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*
* @generated
*/
- public void setExternal(boolean newExternal)
+ public NotificationChain basicSetInstanceType(EnumInstanceType newInstanceType, NotificationChain msgs)
{
- boolean oldExternal = external;
- external = newExternal;
+ EnumInstanceType oldInstanceType = instanceType;
+ instanceType = newInstanceType;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.NAMED_INSTANTIATION__EXTERNAL, oldExternal, external));
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__INSTANCE_TYPE, oldInstanceType, newInstanceType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
}
/**
@@ -172,22 +157,20 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*
* @generated
*/
- public boolean isInternal()
+ public void setInstanceType(EnumInstanceType newInstanceType)
{
- return internal;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setInternal(boolean newInternal)
- {
- boolean oldInternal = internal;
- internal = newInternal;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.NAMED_INSTANTIATION__INTERNAL, oldInternal, internal));
+ if (newInstanceType != instanceType)
+ {
+ NotificationChain msgs = null;
+ if (instanceType != null)
+ msgs = ((InternalEObject)instanceType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__INSTANCE_TYPE, null, msgs);
+ if (newInstanceType != null)
+ msgs = ((InternalEObject)newInstanceType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__INSTANCE_TYPE, null, msgs);
+ msgs = basicSetInstanceType(newInstanceType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__INSTANCE_TYPE, newInstanceType, newInstanceType));
}
/**
@@ -210,7 +193,50 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
String oldAlias = alias;
alias = newAlias;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.NAMED_INSTANTIATION__ALIAS, oldAlias, alias));
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__ALIAS, oldAlias, alias));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ComponentDefinition getComponentRef()
+ {
+ if (componentRef != null && componentRef.eIsProxy())
+ {
+ InternalEObject oldComponentRef = (InternalEObject)componentRef;
+ componentRef = (ComponentDefinition)eResolveProxy(oldComponentRef);
+ if (componentRef != oldComponentRef)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.INSTANTIATION__COMPONENT_REF, oldComponentRef, componentRef));
+ }
+ }
+ return componentRef;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ComponentDefinition basicGetComponentRef()
+ {
+ return componentRef;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setComponentRef(ComponentDefinition newComponentRef)
+ {
+ ComponentDefinition oldComponentRef = componentRef;
+ componentRef = newComponentRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__COMPONENT_REF, oldComponentRef, componentRef));
}
/**
@@ -220,16 +246,6 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*/
public ComponentDefinition getComponent()
{
- if (component != null && component.eIsProxy())
- {
- InternalEObject oldComponent = (InternalEObject)component;
- component = (ComponentDefinition)eResolveProxy(oldComponent);
- if (component != oldComponent)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.NAMED_INSTANTIATION__COMPONENT, oldComponent, component));
- }
- }
return component;
}
@@ -238,9 +254,16 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*
* @generated
*/
- public ComponentDefinition basicGetComponent()
+ public NotificationChain basicSetComponent(ComponentDefinition newComponent, NotificationChain msgs)
{
- return component;
+ ComponentDefinition oldComponent = component;
+ component = newComponent;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__COMPONENT, oldComponent, newComponent);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
}
/**
@@ -250,10 +273,18 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
*/
public void setComponent(ComponentDefinition newComponent)
{
- ComponentDefinition oldComponent = component;
- component = newComponent;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.NAMED_INSTANTIATION__COMPONENT, oldComponent, component));
+ if (newComponent != component)
+ {
+ NotificationChain msgs = null;
+ if (component != null)
+ msgs = ((InternalEObject)component).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__COMPONENT, null, msgs);
+ if (newComponent != null)
+ msgs = ((InternalEObject)newComponent).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__COMPONENT, null, msgs);
+ msgs = basicSetComponent(newComponent, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__COMPONENT, newComponent, newComponent));
}
/**
@@ -265,7 +296,7 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
{
if (componentInstances == null)
{
- componentInstances = new EObjectContainmentEList(ComponentInstance.class, this, RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES);
+ componentInstances = new EObjectContainmentEList(ComponentInstance.class, this, RdlPackage.INSTANTIATION__COMPONENT_INSTANCES);
}
return componentInstances;
}
@@ -280,7 +311,11 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
{
switch (featureID)
{
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES:
+ case RdlPackage.INSTANTIATION__INSTANCE_TYPE:
+ return basicSetInstanceType(null, msgs);
+ case RdlPackage.INSTANTIATION__COMPONENT:
+ return basicSetComponent(null, msgs);
+ case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES:
return ((InternalEList>)getComponentInstances()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -296,16 +331,16 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
{
switch (featureID)
{
- case RdlPackage.NAMED_INSTANTIATION__EXTERNAL:
- return isExternal();
- case RdlPackage.NAMED_INSTANTIATION__INTERNAL:
- return isInternal();
- case RdlPackage.NAMED_INSTANTIATION__ALIAS:
+ case RdlPackage.INSTANTIATION__INSTANCE_TYPE:
+ return getInstanceType();
+ case RdlPackage.INSTANTIATION__ALIAS:
return getAlias();
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT:
- if (resolve) return getComponent();
- return basicGetComponent();
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES:
+ case RdlPackage.INSTANTIATION__COMPONENT_REF:
+ if (resolve) return getComponentRef();
+ return basicGetComponentRef();
+ case RdlPackage.INSTANTIATION__COMPONENT:
+ return getComponent();
+ case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES:
return getComponentInstances();
}
return super.eGet(featureID, resolve, coreType);
@@ -322,19 +357,19 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
{
switch (featureID)
{
- case RdlPackage.NAMED_INSTANTIATION__EXTERNAL:
- setExternal((Boolean)newValue);
+ case RdlPackage.INSTANTIATION__INSTANCE_TYPE:
+ setInstanceType((EnumInstanceType)newValue);
return;
- case RdlPackage.NAMED_INSTANTIATION__INTERNAL:
- setInternal((Boolean)newValue);
- return;
- case RdlPackage.NAMED_INSTANTIATION__ALIAS:
+ case RdlPackage.INSTANTIATION__ALIAS:
setAlias((String)newValue);
return;
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT:
+ case RdlPackage.INSTANTIATION__COMPONENT_REF:
+ setComponentRef((ComponentDefinition)newValue);
+ return;
+ case RdlPackage.INSTANTIATION__COMPONENT:
setComponent((ComponentDefinition)newValue);
return;
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES:
+ case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES:
getComponentInstances().clear();
getComponentInstances().addAll((Collection extends ComponentInstance>)newValue);
return;
@@ -352,19 +387,19 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
{
switch (featureID)
{
- case RdlPackage.NAMED_INSTANTIATION__EXTERNAL:
- setExternal(EXTERNAL_EDEFAULT);
+ case RdlPackage.INSTANTIATION__INSTANCE_TYPE:
+ setInstanceType((EnumInstanceType)null);
return;
- case RdlPackage.NAMED_INSTANTIATION__INTERNAL:
- setInternal(INTERNAL_EDEFAULT);
- return;
- case RdlPackage.NAMED_INSTANTIATION__ALIAS:
+ case RdlPackage.INSTANTIATION__ALIAS:
setAlias(ALIAS_EDEFAULT);
return;
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT:
+ case RdlPackage.INSTANTIATION__COMPONENT_REF:
+ setComponentRef((ComponentDefinition)null);
+ return;
+ case RdlPackage.INSTANTIATION__COMPONENT:
setComponent((ComponentDefinition)null);
return;
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES:
+ case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES:
getComponentInstances().clear();
return;
}
@@ -381,15 +416,15 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
{
switch (featureID)
{
- case RdlPackage.NAMED_INSTANTIATION__EXTERNAL:
- return external != EXTERNAL_EDEFAULT;
- case RdlPackage.NAMED_INSTANTIATION__INTERNAL:
- return internal != INTERNAL_EDEFAULT;
- case RdlPackage.NAMED_INSTANTIATION__ALIAS:
+ case RdlPackage.INSTANTIATION__INSTANCE_TYPE:
+ return instanceType != null;
+ case RdlPackage.INSTANTIATION__ALIAS:
return ALIAS_EDEFAULT == null ? alias != null : !ALIAS_EDEFAULT.equals(alias);
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT:
+ case RdlPackage.INSTANTIATION__COMPONENT_REF:
+ return componentRef != null;
+ case RdlPackage.INSTANTIATION__COMPONENT:
return component != null;
- case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES:
+ case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES:
return componentInstances != null && !componentInstances.isEmpty();
}
return super.eIsSet(featureID);
@@ -406,14 +441,10 @@ public class NamedInstantiationImpl extends MinimalEObjectImpl.Container impleme
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- result.append(" (external: ");
- result.append(external);
- result.append(", internal: ");
- result.append(internal);
- result.append(", alias: ");
+ result.append(" (alias: ");
result.append(alias);
result.append(')');
return result.toString();
}
-} //NamedInstantiationImpl
+} //InstantiationImpl
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RangeImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RangeImpl.java
index cc28627..94f0bb1 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RangeImpl.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RangeImpl.java
@@ -21,8 +21,8 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
* The following features are implemented:
*
*
- * {@link com.minres.rdl.rdl.impl.RangeImpl#getStart Start }
- * {@link com.minres.rdl.rdl.impl.RangeImpl#getEnd End }
+ * {@link com.minres.rdl.rdl.impl.RangeImpl#getLeft Left }
+ * {@link com.minres.rdl.rdl.impl.RangeImpl#getRight Right }
* {@link com.minres.rdl.rdl.impl.RangeImpl#getSize Size }
*
*
@@ -31,44 +31,44 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
public class RangeImpl extends MinimalEObjectImpl.Container implements Range
{
/**
- * The default value of the '{@link #getStart() Start }' attribute.
+ * The default value of the '{@link #getLeft() Left }' attribute.
*
*
- * @see #getStart()
+ * @see #getLeft()
* @generated
* @ordered
*/
- protected static final Object START_EDEFAULT = null;
+ protected static final Object LEFT_EDEFAULT = null;
/**
- * The cached value of the '{@link #getStart() Start }' attribute.
+ * The cached value of the '{@link #getLeft() Left }' attribute.
*
*
- * @see #getStart()
+ * @see #getLeft()
* @generated
* @ordered
*/
- protected Object start = START_EDEFAULT;
+ protected Object left = LEFT_EDEFAULT;
/**
- * The default value of the '{@link #getEnd() End }' attribute.
+ * The default value of the '{@link #getRight() Right }' attribute.
*
*
- * @see #getEnd()
+ * @see #getRight()
* @generated
* @ordered
*/
- protected static final Object END_EDEFAULT = null;
+ protected static final Object RIGHT_EDEFAULT = null;
/**
- * The cached value of the '{@link #getEnd() End }' attribute.
+ * The cached value of the '{@link #getRight() Right }' attribute.
*
*
- * @see #getEnd()
+ * @see #getRight()
* @generated
* @ordered
*/
- protected Object end = END_EDEFAULT;
+ protected Object right = RIGHT_EDEFAULT;
/**
* The default value of the '{@link #getSize() Size }' attribute.
@@ -116,9 +116,9 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
*
* @generated
*/
- public Object getStart()
+ public Object getLeft()
{
- return start;
+ return left;
}
/**
@@ -126,12 +126,12 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
*
* @generated
*/
- public void setStart(Object newStart)
+ public void setLeft(Object newLeft)
{
- Object oldStart = start;
- start = newStart;
+ Object oldLeft = left;
+ left = newLeft;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__START, oldStart, start));
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__LEFT, oldLeft, left));
}
/**
@@ -139,9 +139,9 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
*
* @generated
*/
- public Object getEnd()
+ public Object getRight()
{
- return end;
+ return right;
}
/**
@@ -149,12 +149,12 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
*
* @generated
*/
- public void setEnd(Object newEnd)
+ public void setRight(Object newRight)
{
- Object oldEnd = end;
- end = newEnd;
+ Object oldRight = right;
+ right = newRight;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__END, oldEnd, end));
+ eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__RIGHT, oldRight, right));
}
/**
@@ -190,10 +190,10 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
{
switch (featureID)
{
- case RdlPackage.RANGE__START:
- return getStart();
- case RdlPackage.RANGE__END:
- return getEnd();
+ case RdlPackage.RANGE__LEFT:
+ return getLeft();
+ case RdlPackage.RANGE__RIGHT:
+ return getRight();
case RdlPackage.RANGE__SIZE:
return getSize();
}
@@ -210,11 +210,11 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
{
switch (featureID)
{
- case RdlPackage.RANGE__START:
- setStart(newValue);
+ case RdlPackage.RANGE__LEFT:
+ setLeft(newValue);
return;
- case RdlPackage.RANGE__END:
- setEnd(newValue);
+ case RdlPackage.RANGE__RIGHT:
+ setRight(newValue);
return;
case RdlPackage.RANGE__SIZE:
setSize(newValue);
@@ -233,11 +233,11 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
{
switch (featureID)
{
- case RdlPackage.RANGE__START:
- setStart(START_EDEFAULT);
+ case RdlPackage.RANGE__LEFT:
+ setLeft(LEFT_EDEFAULT);
return;
- case RdlPackage.RANGE__END:
- setEnd(END_EDEFAULT);
+ case RdlPackage.RANGE__RIGHT:
+ setRight(RIGHT_EDEFAULT);
return;
case RdlPackage.RANGE__SIZE:
setSize(SIZE_EDEFAULT);
@@ -256,10 +256,10 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
{
switch (featureID)
{
- case RdlPackage.RANGE__START:
- return START_EDEFAULT == null ? start != null : !START_EDEFAULT.equals(start);
- case RdlPackage.RANGE__END:
- return END_EDEFAULT == null ? end != null : !END_EDEFAULT.equals(end);
+ case RdlPackage.RANGE__LEFT:
+ return LEFT_EDEFAULT == null ? left != null : !LEFT_EDEFAULT.equals(left);
+ case RdlPackage.RANGE__RIGHT:
+ return RIGHT_EDEFAULT == null ? right != null : !RIGHT_EDEFAULT.equals(right);
case RdlPackage.RANGE__SIZE:
return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size);
}
@@ -277,10 +277,10 @@ public class RangeImpl extends MinimalEObjectImpl.Container implements Range
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- result.append(" (start: ");
- result.append(start);
- result.append(", end: ");
- result.append(end);
+ result.append(" (left: ");
+ result.append(left);
+ result.append(", right: ");
+ result.append(right);
result.append(", size: ");
result.append(size);
result.append(')');
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlFactoryImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlFactoryImpl.java
index 506ea3e..00aa45f 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlFactoryImpl.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlFactoryImpl.java
@@ -72,8 +72,7 @@ public class RdlFactoryImpl extends EFactoryImpl implements RdlFactory
case RdlPackage.PROPERTY_DEFAULT: return createPropertyDefault();
case RdlPackage.PROPERTY_USAGE: return createPropertyUsage();
case RdlPackage.COMPONENT_DEFINITION: return createComponentDefinition();
- case RdlPackage.NAMED_INSTANTIATION: return createNamedInstantiation();
- case RdlPackage.IMMEDIATE_INSTANTIATION: return createImmediateInstantiation();
+ case RdlPackage.INSTANTIATION: return createInstantiation();
case RdlPackage.COMPONENT_INSTANCE: return createComponentInstance();
case RdlPackage.RANGE: return createRange();
case RdlPackage.PROPERTY_ASSIGNMENT: return createPropertyAssignment();
@@ -91,6 +90,7 @@ public class RdlFactoryImpl extends EFactoryImpl implements RdlFactory
case RdlPackage.ENUM_BODY: return createEnumBody();
case RdlPackage.ENUM_ENTRY: return createEnumEntry();
case RdlPackage.ENUM_PROPERTY: return createEnumProperty();
+ case RdlPackage.ENUM_INSTANCE_TYPE: return createEnumInstanceType();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -221,21 +221,10 @@ public class RdlFactoryImpl extends EFactoryImpl implements RdlFactory
*
* @generated
*/
- public NamedInstantiation createNamedInstantiation()
+ public Instantiation createInstantiation()
{
- NamedInstantiationImpl namedInstantiation = new NamedInstantiationImpl();
- return namedInstantiation;
- }
-
- /**
- *
- *
- * @generated
- */
- public ImmediateInstantiation createImmediateInstantiation()
- {
- ImmediateInstantiationImpl immediateInstantiation = new ImmediateInstantiationImpl();
- return immediateInstantiation;
+ InstantiationImpl instantiation = new InstantiationImpl();
+ return instantiation;
}
/**
@@ -425,6 +414,17 @@ public class RdlFactoryImpl extends EFactoryImpl implements RdlFactory
return enumProperty;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ public EnumInstanceType createEnumInstanceType()
+ {
+ EnumInstanceTypeImpl enumInstanceType = new EnumInstanceTypeImpl();
+ return enumInstanceType;
+ }
+
/**
*
*
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlPackageImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlPackageImpl.java
index 14104de..7cfc1b6 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlPackageImpl.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlPackageImpl.java
@@ -13,13 +13,13 @@ import com.minres.rdl.rdl.Entity;
import com.minres.rdl.rdl.EnumBody;
import com.minres.rdl.rdl.EnumDefinition;
import com.minres.rdl.rdl.EnumEntry;
+import com.minres.rdl.rdl.EnumInstanceType;
import com.minres.rdl.rdl.EnumProperty;
import com.minres.rdl.rdl.ExplicitPropertyAssignment;
-import com.minres.rdl.rdl.ImmediateInstantiation;
import com.minres.rdl.rdl.Include;
import com.minres.rdl.rdl.InstancePropertyRef;
import com.minres.rdl.rdl.InstanceRef;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.Instantiation;
import com.minres.rdl.rdl.PostPropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignmentRhs;
@@ -100,14 +100,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- private EClass namedInstantiationEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass immediateInstantiationEClass = null;
+ private EClass instantiationEClass = null;
/**
*
@@ -228,6 +221,13 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*/
private EClass enumPropertyEClass = null;
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass enumInstanceTypeEClass = null;
+
/**
*
*
@@ -378,7 +378,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EReference getRoot_NamedInstantiations()
+ public EReference getRoot_Instantiations()
{
return (EReference)rootEClass.getEStructuralFeatures().get(3);
}
@@ -558,7 +558,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EReference getComponentDefinition_NamedInstantiations()
+ public EReference getComponentDefinition_Instantiations()
{
return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(3);
}
@@ -588,9 +588,9 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EReference getComponentDefinition_ImmediateInstantiation()
+ public EClass getInstantiation()
{
- return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(6);
+ return instantiationEClass;
}
/**
@@ -598,9 +598,9 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EClass getNamedInstantiation()
+ public EReference getInstantiation_InstanceType()
{
- return namedInstantiationEClass;
+ return (EReference)instantiationEClass.getEStructuralFeatures().get(0);
}
/**
@@ -608,9 +608,9 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EAttribute getNamedInstantiation_External()
+ public EAttribute getInstantiation_Alias()
{
- return (EAttribute)namedInstantiationEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)instantiationEClass.getEStructuralFeatures().get(1);
}
/**
@@ -618,9 +618,9 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EAttribute getNamedInstantiation_Internal()
+ public EReference getInstantiation_ComponentRef()
{
- return (EAttribute)namedInstantiationEClass.getEStructuralFeatures().get(1);
+ return (EReference)instantiationEClass.getEStructuralFeatures().get(2);
}
/**
@@ -628,9 +628,9 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EAttribute getNamedInstantiation_Alias()
+ public EReference getInstantiation_Component()
{
- return (EAttribute)namedInstantiationEClass.getEStructuralFeatures().get(2);
+ return (EReference)instantiationEClass.getEStructuralFeatures().get(3);
}
/**
@@ -638,49 +638,9 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EReference getNamedInstantiation_Component()
+ public EReference getInstantiation_ComponentInstances()
{
- return (EReference)namedInstantiationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getNamedInstantiation_ComponentInstances()
- {
- return (EReference)namedInstantiationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getImmediateInstantiation()
- {
- return immediateInstantiationEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getImmediateInstantiation_External()
- {
- return (EAttribute)immediateInstantiationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getImmediateInstantiation_ComponentInstances()
- {
- return (EReference)immediateInstantiationEClass.getEStructuralFeatures().get(1);
+ return (EReference)instantiationEClass.getEStructuralFeatures().get(4);
}
/**
@@ -758,7 +718,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EAttribute getRange_Start()
+ public EAttribute getRange_Left()
{
return (EAttribute)rangeEClass.getEStructuralFeatures().get(0);
}
@@ -768,7 +728,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
*
* @generated
*/
- public EAttribute getRange_End()
+ public EAttribute getRange_Right()
{
return (EAttribute)rangeEClass.getEStructuralFeatures().get(1);
}
@@ -1243,6 +1203,36 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
return (EAttribute)enumPropertyEClass.getEStructuralFeatures().get(1);
}
+ /**
+ *
+ *
+ * @generated
+ */
+ public EClass getEnumInstanceType()
+ {
+ return enumInstanceTypeEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getEnumInstanceType_EXTERNAL()
+ {
+ return (EAttribute)enumInstanceTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EAttribute getEnumInstanceType_INTERNAL()
+ {
+ return (EAttribute)enumInstanceTypeEClass.getEStructuralFeatures().get(1);
+ }
+
/**
*
*
@@ -1337,7 +1327,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
createEReference(rootEClass, ROOT__INCLUDES);
createEReference(rootEClass, ROOT__COMPONENT_DEFINITIONS);
createEReference(rootEClass, ROOT__ENUM_DEFINITIONS);
- createEReference(rootEClass, ROOT__NAMED_INSTANTIATIONS);
+ createEReference(rootEClass, ROOT__INSTANTIATIONS);
createEReference(rootEClass, ROOT__PROPERTY_ASSIGNMENTS);
createEReference(rootEClass, ROOT__PROPERTY_DEFINITIONS);
@@ -1360,21 +1350,16 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__TYPE);
createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME);
createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__COMPONENT_DEFINITIONS);
- createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__NAMED_INSTANTIATIONS);
+ createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INSTANTIATIONS);
createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS);
createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__ENUM_DEFINITIONS);
- createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION);
- namedInstantiationEClass = createEClass(NAMED_INSTANTIATION);
- createEAttribute(namedInstantiationEClass, NAMED_INSTANTIATION__EXTERNAL);
- createEAttribute(namedInstantiationEClass, NAMED_INSTANTIATION__INTERNAL);
- createEAttribute(namedInstantiationEClass, NAMED_INSTANTIATION__ALIAS);
- createEReference(namedInstantiationEClass, NAMED_INSTANTIATION__COMPONENT);
- createEReference(namedInstantiationEClass, NAMED_INSTANTIATION__COMPONENT_INSTANCES);
-
- immediateInstantiationEClass = createEClass(IMMEDIATE_INSTANTIATION);
- createEAttribute(immediateInstantiationEClass, IMMEDIATE_INSTANTIATION__EXTERNAL);
- createEReference(immediateInstantiationEClass, IMMEDIATE_INSTANTIATION__COMPONENT_INSTANCES);
+ instantiationEClass = createEClass(INSTANTIATION);
+ createEReference(instantiationEClass, INSTANTIATION__INSTANCE_TYPE);
+ createEAttribute(instantiationEClass, INSTANTIATION__ALIAS);
+ createEReference(instantiationEClass, INSTANTIATION__COMPONENT_REF);
+ createEReference(instantiationEClass, INSTANTIATION__COMPONENT);
+ createEReference(instantiationEClass, INSTANTIATION__COMPONENT_INSTANCES);
componentInstanceEClass = createEClass(COMPONENT_INSTANCE);
createEReference(componentInstanceEClass, COMPONENT_INSTANCE__RANGE);
@@ -1384,8 +1369,8 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
createEAttribute(componentInstanceEClass, COMPONENT_INSTANCE__ADDR_MOD);
rangeEClass = createEClass(RANGE);
- createEAttribute(rangeEClass, RANGE__START);
- createEAttribute(rangeEClass, RANGE__END);
+ createEAttribute(rangeEClass, RANGE__LEFT);
+ createEAttribute(rangeEClass, RANGE__RIGHT);
createEAttribute(rangeEClass, RANGE__SIZE);
propertyAssignmentEClass = createEClass(PROPERTY_ASSIGNMENT);
@@ -1449,6 +1434,10 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
createEAttribute(enumPropertyEClass, ENUM_PROPERTY__NAME);
createEAttribute(enumPropertyEClass, ENUM_PROPERTY__VALUE);
+ enumInstanceTypeEClass = createEClass(ENUM_INSTANCE_TYPE);
+ createEAttribute(enumInstanceTypeEClass, ENUM_INSTANCE_TYPE__EXTERNAL);
+ createEAttribute(enumInstanceTypeEClass, ENUM_INSTANCE_TYPE__INTERNAL);
+
// Create enums
propertyTypeNameEEnum = createEEnum(PROPERTY_TYPE_NAME);
propertyComponentEEnum = createEEnum(PROPERTY_COMPONENT);
@@ -1500,7 +1489,7 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
initEReference(getRoot_Includes(), this.getInclude(), null, "includes", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getRoot_ComponentDefinitions(), this.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getRoot_EnumDefinitions(), this.getEnumDefinition(), null, "enumDefinitions", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getRoot_NamedInstantiations(), this.getNamedInstantiation(), null, "namedInstantiations", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRoot_Instantiations(), this.getInstantiation(), null, "instantiations", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getRoot_PropertyAssignments(), this.getPropertyAssignment(), null, "propertyAssignments", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getRoot_PropertyDefinitions(), this.getPropertyDefinition(), null, "propertyDefinitions", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1523,21 +1512,16 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
initEAttribute(getComponentDefinition_Type(), this.getComponentDefinitionType(), "type", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getComponentDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getComponentDefinition_ComponentDefinitions(), this.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getComponentDefinition_NamedInstantiations(), this.getNamedInstantiation(), null, "namedInstantiations", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getComponentDefinition_Instantiations(), this.getInstantiation(), null, "instantiations", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getComponentDefinition_PropertyAssignments(), this.getPropertyAssignment(), null, "propertyAssignments", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getComponentDefinition_EnumDefinitions(), this.getEnumDefinition(), null, "enumDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getComponentDefinition_ImmediateInstantiation(), this.getImmediateInstantiation(), null, "immediateInstantiation", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(namedInstantiationEClass, NamedInstantiation.class, "NamedInstantiation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNamedInstantiation_External(), ecorePackage.getEBoolean(), "external", null, 0, 1, NamedInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNamedInstantiation_Internal(), ecorePackage.getEBoolean(), "internal", null, 0, 1, NamedInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNamedInstantiation_Alias(), ecorePackage.getEString(), "alias", null, 0, 1, NamedInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNamedInstantiation_Component(), this.getComponentDefinition(), null, "component", null, 0, 1, NamedInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNamedInstantiation_ComponentInstances(), this.getComponentInstance(), null, "componentInstances", null, 0, -1, NamedInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(immediateInstantiationEClass, ImmediateInstantiation.class, "ImmediateInstantiation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getImmediateInstantiation_External(), ecorePackage.getEBoolean(), "external", null, 0, 1, ImmediateInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getImmediateInstantiation_ComponentInstances(), this.getComponentInstance(), null, "componentInstances", null, 0, -1, ImmediateInstantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(instantiationEClass, Instantiation.class, "Instantiation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getInstantiation_InstanceType(), this.getEnumInstanceType(), null, "instanceType", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getInstantiation_Alias(), ecorePackage.getEString(), "alias", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getInstantiation_ComponentRef(), this.getComponentDefinition(), null, "componentRef", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getInstantiation_Component(), this.getComponentDefinition(), null, "component", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getInstantiation_ComponentInstances(), this.getComponentInstance(), null, "componentInstances", null, 0, -1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getComponentInstance_Range(), this.getRange(), null, "range", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1547,8 +1531,8 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
initEAttribute(getComponentInstance_AddrMod(), ecorePackage.getEJavaObject(), "addrMod", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(rangeEClass, Range.class, "Range", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRange_Start(), ecorePackage.getEJavaObject(), "start", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRange_End(), ecorePackage.getEJavaObject(), "end", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRange_Left(), ecorePackage.getEJavaObject(), "left", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRange_Right(), ecorePackage.getEJavaObject(), "right", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getRange_Size(), ecorePackage.getEJavaObject(), "size", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(propertyAssignmentEClass, PropertyAssignment.class, "PropertyAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1612,6 +1596,10 @@ public class RdlPackageImpl extends EPackageImpl implements RdlPackage
initEAttribute(getEnumProperty_Name(), ecorePackage.getEString(), "name", null, 0, 1, EnumProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getEnumProperty_Value(), ecorePackage.getEString(), "value", null, 0, 1, EnumProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(enumInstanceTypeEClass, EnumInstanceType.class, "EnumInstanceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEnumInstanceType_EXTERNAL(), ecorePackage.getEString(), "EXTERNAL", null, 0, 1, EnumInstanceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEnumInstanceType_INTERNAL(), ecorePackage.getEString(), "INTERNAL", null, 0, 1, EnumInstanceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
// Initialize enums and add enum literals
initEEnum(propertyTypeNameEEnum, PropertyTypeName.class, "PropertyTypeName");
addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.STRING);
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RootImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RootImpl.java
index 6bd4daf..7710d5e 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RootImpl.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RootImpl.java
@@ -6,7 +6,7 @@ package com.minres.rdl.rdl.impl;
import com.minres.rdl.rdl.ComponentDefinition;
import com.minres.rdl.rdl.EnumDefinition;
import com.minres.rdl.rdl.Include;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.Instantiation;
import com.minres.rdl.rdl.PropertyAssignment;
import com.minres.rdl.rdl.PropertyDefinition;
import com.minres.rdl.rdl.RdlPackage;
@@ -37,7 +37,7 @@ import org.eclipse.emf.ecore.util.InternalEList;
* {@link com.minres.rdl.rdl.impl.RootImpl#getIncludes Includes }
* {@link com.minres.rdl.rdl.impl.RootImpl#getComponentDefinitions Component Definitions }
* {@link com.minres.rdl.rdl.impl.RootImpl#getEnumDefinitions Enum Definitions }
- * {@link com.minres.rdl.rdl.impl.RootImpl#getNamedInstantiations Named Instantiations }
+ * {@link com.minres.rdl.rdl.impl.RootImpl#getInstantiations Instantiations }
* {@link com.minres.rdl.rdl.impl.RootImpl#getPropertyAssignments Property Assignments }
* {@link com.minres.rdl.rdl.impl.RootImpl#getPropertyDefinitions Property Definitions }
*
@@ -77,14 +77,14 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
protected EList enumDefinitions;
/**
- * The cached value of the '{@link #getNamedInstantiations() Named Instantiations }' containment reference list.
+ * The cached value of the '{@link #getInstantiations() Instantiations }' containment reference list.
*
*
- * @see #getNamedInstantiations()
+ * @see #getInstantiations()
* @generated
* @ordered
*/
- protected EList namedInstantiations;
+ protected EList instantiations;
/**
* The cached value of the '{@link #getPropertyAssignments() Property Assignments }' containment reference list.
@@ -174,13 +174,13 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
*
* @generated
*/
- public EList getNamedInstantiations()
+ public EList getInstantiations()
{
- if (namedInstantiations == null)
+ if (instantiations == null)
{
- namedInstantiations = new EObjectContainmentEList(NamedInstantiation.class, this, RdlPackage.ROOT__NAMED_INSTANTIATIONS);
+ instantiations = new EObjectContainmentEList(Instantiation.class, this, RdlPackage.ROOT__INSTANTIATIONS);
}
- return namedInstantiations;
+ return instantiations;
}
/**
@@ -227,8 +227,8 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
return ((InternalEList>)getComponentDefinitions()).basicRemove(otherEnd, msgs);
case RdlPackage.ROOT__ENUM_DEFINITIONS:
return ((InternalEList>)getEnumDefinitions()).basicRemove(otherEnd, msgs);
- case RdlPackage.ROOT__NAMED_INSTANTIATIONS:
- return ((InternalEList>)getNamedInstantiations()).basicRemove(otherEnd, msgs);
+ case RdlPackage.ROOT__INSTANTIATIONS:
+ return ((InternalEList>)getInstantiations()).basicRemove(otherEnd, msgs);
case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS:
return ((InternalEList>)getPropertyAssignments()).basicRemove(otherEnd, msgs);
case RdlPackage.ROOT__PROPERTY_DEFINITIONS:
@@ -253,8 +253,8 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
return getComponentDefinitions();
case RdlPackage.ROOT__ENUM_DEFINITIONS:
return getEnumDefinitions();
- case RdlPackage.ROOT__NAMED_INSTANTIATIONS:
- return getNamedInstantiations();
+ case RdlPackage.ROOT__INSTANTIATIONS:
+ return getInstantiations();
case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS:
return getPropertyAssignments();
case RdlPackage.ROOT__PROPERTY_DEFINITIONS:
@@ -286,9 +286,9 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
getEnumDefinitions().clear();
getEnumDefinitions().addAll((Collection extends EnumDefinition>)newValue);
return;
- case RdlPackage.ROOT__NAMED_INSTANTIATIONS:
- getNamedInstantiations().clear();
- getNamedInstantiations().addAll((Collection extends NamedInstantiation>)newValue);
+ case RdlPackage.ROOT__INSTANTIATIONS:
+ getInstantiations().clear();
+ getInstantiations().addAll((Collection extends Instantiation>)newValue);
return;
case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS:
getPropertyAssignments().clear();
@@ -321,8 +321,8 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
case RdlPackage.ROOT__ENUM_DEFINITIONS:
getEnumDefinitions().clear();
return;
- case RdlPackage.ROOT__NAMED_INSTANTIATIONS:
- getNamedInstantiations().clear();
+ case RdlPackage.ROOT__INSTANTIATIONS:
+ getInstantiations().clear();
return;
case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS:
getPropertyAssignments().clear();
@@ -350,8 +350,8 @@ public class RootImpl extends MinimalEObjectImpl.Container implements Root
return componentDefinitions != null && !componentDefinitions.isEmpty();
case RdlPackage.ROOT__ENUM_DEFINITIONS:
return enumDefinitions != null && !enumDefinitions.isEmpty();
- case RdlPackage.ROOT__NAMED_INSTANTIATIONS:
- return namedInstantiations != null && !namedInstantiations.isEmpty();
+ case RdlPackage.ROOT__INSTANTIATIONS:
+ return instantiations != null && !instantiations.isEmpty();
case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS:
return propertyAssignments != null && !propertyAssignments.isEmpty();
case RdlPackage.ROOT__PROPERTY_DEFINITIONS:
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlAdapterFactory.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlAdapterFactory.java
index 58f23a8..d20165e 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlAdapterFactory.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlAdapterFactory.java
@@ -106,14 +106,9 @@ public class RdlAdapterFactory extends AdapterFactoryImpl
return createComponentDefinitionAdapter();
}
@Override
- public Adapter caseNamedInstantiation(NamedInstantiation object)
+ public Adapter caseInstantiation(Instantiation object)
{
- return createNamedInstantiationAdapter();
- }
- @Override
- public Adapter caseImmediateInstantiation(ImmediateInstantiation object)
- {
- return createImmediateInstantiationAdapter();
+ return createInstantiationAdapter();
}
@Override
public Adapter caseComponentInstance(ComponentInstance object)
@@ -201,6 +196,11 @@ public class RdlAdapterFactory extends AdapterFactoryImpl
return createEnumPropertyAdapter();
}
@Override
+ public Adapter caseEnumInstanceType(EnumInstanceType object)
+ {
+ return createEnumInstanceTypeAdapter();
+ }
+ @Override
public Adapter defaultCase(EObject object)
{
return createEObjectAdapter();
@@ -313,31 +313,16 @@ public class RdlAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.NamedInstantiation Named Instantiation }'.
+ * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.Instantiation Instantiation }'.
*
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @return the new adapter.
- * @see com.minres.rdl.rdl.NamedInstantiation
+ * @see com.minres.rdl.rdl.Instantiation
* @generated
*/
- public Adapter createNamedInstantiationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.ImmediateInstantiation Immediate Instantiation }'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see com.minres.rdl.rdl.ImmediateInstantiation
- * @generated
- */
- public Adapter createImmediateInstantiationAdapter()
+ public Adapter createInstantiationAdapter()
{
return null;
}
@@ -597,6 +582,21 @@ public class RdlAdapterFactory extends AdapterFactoryImpl
return null;
}
+ /**
+ * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.EnumInstanceType Enum Instance Type }'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see com.minres.rdl.rdl.EnumInstanceType
+ * @generated
+ */
+ public Adapter createEnumInstanceTypeAdapter()
+ {
+ return null;
+ }
+
/**
* Creates a new adapter for the default case.
*
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlSwitch.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlSwitch.java
index d2bf740..e8c2047 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlSwitch.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlSwitch.java
@@ -116,17 +116,10 @@ public class RdlSwitch extends Switch
if (result == null) result = defaultCase(theEObject);
return result;
}
- case RdlPackage.NAMED_INSTANTIATION:
+ case RdlPackage.INSTANTIATION:
{
- NamedInstantiation namedInstantiation = (NamedInstantiation)theEObject;
- T result = caseNamedInstantiation(namedInstantiation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case RdlPackage.IMMEDIATE_INSTANTIATION:
- {
- ImmediateInstantiation immediateInstantiation = (ImmediateInstantiation)theEObject;
- T result = caseImmediateInstantiation(immediateInstantiation);
+ Instantiation instantiation = (Instantiation)theEObject;
+ T result = caseInstantiation(instantiation);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -255,6 +248,13 @@ public class RdlSwitch extends Switch
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case RdlPackage.ENUM_INSTANCE_TYPE:
+ {
+ EnumInstanceType enumInstanceType = (EnumInstanceType)theEObject;
+ T result = caseEnumInstanceType(enumInstanceType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
default: return defaultCase(theEObject);
}
}
@@ -356,33 +356,17 @@ public class RdlSwitch extends Switch
}
/**
- * Returns the result of interpreting the object as an instance of 'Named Instantiation '.
+ * Returns the result of interpreting the object as an instance of 'Instantiation '.
*
* This implementation returns null;
* returning a non-null result will terminate the switch.
*
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Named Instantiation '.
+ * @return the result of interpreting the object as an instance of 'Instantiation '.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseNamedInstantiation(NamedInstantiation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Immediate Instantiation '.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Immediate Instantiation '.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseImmediateInstantiation(ImmediateInstantiation object)
+ public T caseInstantiation(Instantiation object)
{
return null;
}
@@ -659,6 +643,22 @@ public class RdlSwitch extends Switch
return null;
}
+ /**
+ * Returns the result of interpreting the object as an instance of 'Enum Instance Type '.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Enum Instance Type '.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEnumInstanceType(EnumInstanceType object)
+ {
+ return null;
+ }
+
/**
* Returns the result of interpreting the object as an instance of 'EObject '.
*
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSemanticSequencer.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSemanticSequencer.java
index 57062a5..f2ca164 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSemanticSequencer.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSemanticSequencer.java
@@ -11,13 +11,13 @@ import com.minres.rdl.rdl.ConcatElem;
import com.minres.rdl.rdl.EnumBody;
import com.minres.rdl.rdl.EnumDefinition;
import com.minres.rdl.rdl.EnumEntry;
+import com.minres.rdl.rdl.EnumInstanceType;
import com.minres.rdl.rdl.EnumProperty;
import com.minres.rdl.rdl.ExplicitPropertyAssignment;
-import com.minres.rdl.rdl.ImmediateInstantiation;
import com.minres.rdl.rdl.Include;
import com.minres.rdl.rdl.InstancePropertyRef;
import com.minres.rdl.rdl.InstanceRef;
-import com.minres.rdl.rdl.NamedInstantiation;
+import com.minres.rdl.rdl.Instantiation;
import com.minres.rdl.rdl.PostPropertyAssignment;
import com.minres.rdl.rdl.PropertyAssignmentRhs;
import com.minres.rdl.rdl.PropertyDefault;
@@ -74,15 +74,15 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
case RdlPackage.ENUM_ENTRY:
sequence_EnumEntry(context, (EnumEntry) semanticObject);
return;
+ case RdlPackage.ENUM_INSTANCE_TYPE:
+ sequence_EnumInstanceType(context, (EnumInstanceType) semanticObject);
+ return;
case RdlPackage.ENUM_PROPERTY:
sequence_EnumProperty(context, (EnumProperty) semanticObject);
return;
case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT:
sequence_ExplicitPropertyAssignment(context, (ExplicitPropertyAssignment) semanticObject);
return;
- case RdlPackage.IMMEDIATE_INSTANTIATION:
- sequence_ImmediateInstantiation(context, (ImmediateInstantiation) semanticObject);
- return;
case RdlPackage.INCLUDE:
sequence_Include(context, (Include) semanticObject);
return;
@@ -99,8 +99,8 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
return;
}
else break;
- case RdlPackage.NAMED_INSTANTIATION:
- sequence_NamedInstantiation(context, (NamedInstantiation) semanticObject);
+ case RdlPackage.INSTANTIATION:
+ sequence_Instantiation(context, (Instantiation) semanticObject);
return;
case RdlPackage.POST_PROPERTY_ASSIGNMENT:
sequence_PostPropertyAssignment(context, (PostPropertyAssignment) semanticObject);
@@ -139,13 +139,7 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
* (
* type=ComponentDefinitionType
* name=ID?
- * (
- * componentDefinitions+=ComponentDefinition |
- * namedInstantiations+=NamedInstantiation |
- * propertyAssignments+=PropertyAssignment |
- * enumDefinitions+=EnumDefinition
- * )*
- * immediateInstantiation=ImmediateInstantiation?
+ * (componentDefinitions+=ComponentDefinition | instantiations+=Instantiation | propertyAssignments+=PropertyAssignment | enumDefinitions+=EnumDefinition)*
* )
*/
protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) {
@@ -243,6 +237,18 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
}
+ /**
+ * Contexts:
+ * EnumInstanceType returns EnumInstanceType
+ *
+ * Constraint:
+ * (EXTERNAL='external' | INTERNAL='internal')
+ */
+ protected void sequence_EnumInstanceType(ISerializationContext context, EnumInstanceType semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
/**
* Contexts:
* EnumProperty returns EnumProperty
@@ -281,18 +287,6 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
}
- /**
- * Contexts:
- * ImmediateInstantiation returns ImmediateInstantiation
- *
- * Constraint:
- * (external?='external'? componentInstances+=ComponentInstance componentInstances+=ComponentInstance*)
- */
- protected void sequence_ImmediateInstantiation(ISerializationContext context, ImmediateInstantiation semanticObject) {
- genericSequencer.createSequence(context, semanticObject);
- }
-
-
/**
* Contexts:
* Include returns Include
@@ -337,19 +331,19 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
/**
* Contexts:
- * NamedInstantiation returns NamedInstantiation
+ * Instantiation returns Instantiation
*
* Constraint:
* (
- * external?='external'?
- * internal?='internal'?
- * alias=ID?
- * component=[ComponentDefinition|ID]
+ * (
+ * (instanceType=EnumInstanceType? alias=ID? componentRef=[ComponentDefinition|ID]) |
+ * (component=ComponentDefinition instanceType=EnumInstanceType?)
+ * )
* componentInstances+=ComponentInstance
* componentInstances+=ComponentInstance*
* )
*/
- protected void sequence_NamedInstantiation(ISerializationContext context, NamedInstantiation semanticObject) {
+ protected void sequence_Instantiation(ISerializationContext context, Instantiation semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
@@ -443,7 +437,7 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
* Range returns Range
*
* Constraint:
- * ((start=NUM end=NUM) | size=NUM)
+ * ((left=NUM right=NUM) | size=NUM)
*/
protected void sequence_Range(ISerializationContext context, Range semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -459,7 +453,7 @@ public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer {
* includes+=Include |
* componentDefinitions+=ComponentDefinition |
* enumDefinitions+=EnumDefinition |
- * namedInstantiations+=NamedInstantiation |
+ * instantiations+=Instantiation |
* propertyAssignments+=PropertyAssignment |
* propertyDefinitions+=PropertyDefinition
* )+
diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/services/RDLGrammarAccess.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/services/RDLGrammarAccess.java
index 1e255ae..8e05c9c 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/services/RDLGrammarAccess.java
+++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/services/RDLGrammarAccess.java
@@ -31,26 +31,36 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final Assignment cIncludesAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
private final RuleCall cIncludesIncludeParserRuleCall_0_0 = (RuleCall)cIncludesAssignment_0.eContents().get(0);
- private final Assignment cComponentDefinitionsAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
- private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_1_0 = (RuleCall)cComponentDefinitionsAssignment_1.eContents().get(0);
- private final Assignment cEnumDefinitionsAssignment_2 = (Assignment)cAlternatives.eContents().get(2);
- private final RuleCall cEnumDefinitionsEnumDefinitionParserRuleCall_2_0 = (RuleCall)cEnumDefinitionsAssignment_2.eContents().get(0);
- private final Assignment cNamedInstantiationsAssignment_3 = (Assignment)cAlternatives.eContents().get(3);
- private final RuleCall cNamedInstantiationsNamedInstantiationParserRuleCall_3_0 = (RuleCall)cNamedInstantiationsAssignment_3.eContents().get(0);
- private final Assignment cPropertyAssignmentsAssignment_4 = (Assignment)cAlternatives.eContents().get(4);
- private final RuleCall cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0 = (RuleCall)cPropertyAssignmentsAssignment_4.eContents().get(0);
- private final Assignment cPropertyDefinitionsAssignment_5 = (Assignment)cAlternatives.eContents().get(5);
- private final RuleCall cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0 = (RuleCall)cPropertyDefinitionsAssignment_5.eContents().get(0);
+ private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
+ private final Assignment cComponentDefinitionsAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
+ private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0 = (RuleCall)cComponentDefinitionsAssignment_1_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
+ private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
+ private final Assignment cEnumDefinitionsAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
+ private final RuleCall cEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0 = (RuleCall)cEnumDefinitionsAssignment_2_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
+ private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3);
+ private final Assignment cInstantiationsAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0);
+ private final RuleCall cInstantiationsInstantiationParserRuleCall_3_0_0 = (RuleCall)cInstantiationsAssignment_3_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1);
+ private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4);
+ private final Assignment cPropertyAssignmentsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0);
+ private final RuleCall cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0 = (RuleCall)cPropertyAssignmentsAssignment_4_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1);
+ private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5);
+ private final Assignment cPropertyDefinitionsAssignment_5_0 = (Assignment)cGroup_5.eContents().get(0);
+ private final RuleCall cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0 = (RuleCall)cPropertyDefinitionsAssignment_5_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1);
//Root:
- // (includes+=Include | componentDefinitions+=ComponentDefinition | enumDefinitions+=EnumDefinition |
- // namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment |
- // propertyDefinitions+=PropertyDefinition)*;
+ // (includes+=Include | componentDefinitions+=ComponentDefinition ';' | enumDefinitions+=EnumDefinition ';' |
+ // instantiations+=Instantiation ';' | propertyAssignments+=PropertyAssignment ';' |
+ // propertyDefinitions+=PropertyDefinition ';')*;
@Override public ParserRule getRule() { return rule; }
- //(includes+=Include | componentDefinitions+=ComponentDefinition | enumDefinitions+=EnumDefinition |
- //namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment |
- //propertyDefinitions+=PropertyDefinition)*
+ //(includes+=Include | componentDefinitions+=ComponentDefinition ';' | enumDefinitions+=EnumDefinition ';' |
+ //instantiations+=Instantiation ';' | propertyAssignments+=PropertyAssignment ';' |
+ //propertyDefinitions+=PropertyDefinition ';')*
public Alternatives getAlternatives() { return cAlternatives; }
//includes+=Include
@@ -59,35 +69,65 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//Include
public RuleCall getIncludesIncludeParserRuleCall_0_0() { return cIncludesIncludeParserRuleCall_0_0; }
+ //componentDefinitions+=ComponentDefinition ';'
+ public Group getGroup_1() { return cGroup_1; }
+
//componentDefinitions+=ComponentDefinition
- public Assignment getComponentDefinitionsAssignment_1() { return cComponentDefinitionsAssignment_1; }
+ public Assignment getComponentDefinitionsAssignment_1_0() { return cComponentDefinitionsAssignment_1_0; }
//ComponentDefinition
- public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_1_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_1_0; }
+ public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_1_1() { return cSemicolonKeyword_1_1; }
+
+ //enumDefinitions+=EnumDefinition ';'
+ public Group getGroup_2() { return cGroup_2; }
//enumDefinitions+=EnumDefinition
- public Assignment getEnumDefinitionsAssignment_2() { return cEnumDefinitionsAssignment_2; }
+ public Assignment getEnumDefinitionsAssignment_2_0() { return cEnumDefinitionsAssignment_2_0; }
//EnumDefinition
- public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_2_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_2_0; }
+ public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0; }
- //namedInstantiations+=NamedInstantiation
- public Assignment getNamedInstantiationsAssignment_3() { return cNamedInstantiationsAssignment_3; }
+ //';'
+ public Keyword getSemicolonKeyword_2_1() { return cSemicolonKeyword_2_1; }
- //NamedInstantiation
- public RuleCall getNamedInstantiationsNamedInstantiationParserRuleCall_3_0() { return cNamedInstantiationsNamedInstantiationParserRuleCall_3_0; }
+ //instantiations+=Instantiation ';'
+ public Group getGroup_3() { return cGroup_3; }
+
+ //instantiations+=Instantiation
+ public Assignment getInstantiationsAssignment_3_0() { return cInstantiationsAssignment_3_0; }
+
+ //Instantiation
+ public RuleCall getInstantiationsInstantiationParserRuleCall_3_0_0() { return cInstantiationsInstantiationParserRuleCall_3_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_3_1() { return cSemicolonKeyword_3_1; }
+
+ //propertyAssignments+=PropertyAssignment ';'
+ public Group getGroup_4() { return cGroup_4; }
//propertyAssignments+=PropertyAssignment
- public Assignment getPropertyAssignmentsAssignment_4() { return cPropertyAssignmentsAssignment_4; }
+ public Assignment getPropertyAssignmentsAssignment_4_0() { return cPropertyAssignmentsAssignment_4_0; }
//PropertyAssignment
- public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0; }
+ public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_4_1() { return cSemicolonKeyword_4_1; }
+
+ //propertyDefinitions+=PropertyDefinition ';'
+ public Group getGroup_5() { return cGroup_5; }
//propertyDefinitions+=PropertyDefinition
- public Assignment getPropertyDefinitionsAssignment_5() { return cPropertyDefinitionsAssignment_5; }
+ public Assignment getPropertyDefinitionsAssignment_5_0() { return cPropertyDefinitionsAssignment_5_0; }
//PropertyDefinition
- public RuleCall getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0() { return cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0; }
+ public RuleCall getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0() { return cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_5_1() { return cSemicolonKeyword_5_1; }
}
public class IncludeElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Include");
@@ -509,30 +549,34 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
- private final Assignment cComponentDefinitionsAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
- private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0 = (RuleCall)cComponentDefinitionsAssignment_3_0.eContents().get(0);
- private final Assignment cNamedInstantiationsAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1);
- private final RuleCall cNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0 = (RuleCall)cNamedInstantiationsAssignment_3_1.eContents().get(0);
- private final Assignment cPropertyAssignmentsAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2);
- private final RuleCall cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0 = (RuleCall)cPropertyAssignmentsAssignment_3_2.eContents().get(0);
- private final Assignment cEnumDefinitionsAssignment_3_3 = (Assignment)cAlternatives_3.eContents().get(3);
- private final RuleCall cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0 = (RuleCall)cEnumDefinitionsAssignment_3_3.eContents().get(0);
+ private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0);
+ private final Assignment cComponentDefinitionsAssignment_3_0_0 = (Assignment)cGroup_3_0.eContents().get(0);
+ private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0 = (RuleCall)cComponentDefinitionsAssignment_3_0_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1);
+ private final Group cGroup_3_1 = (Group)cAlternatives_3.eContents().get(1);
+ private final Assignment cInstantiationsAssignment_3_1_0 = (Assignment)cGroup_3_1.eContents().get(0);
+ private final RuleCall cInstantiationsInstantiationParserRuleCall_3_1_0_0 = (RuleCall)cInstantiationsAssignment_3_1_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1);
+ private final Group cGroup_3_2 = (Group)cAlternatives_3.eContents().get(2);
+ private final Assignment cPropertyAssignmentsAssignment_3_2_0 = (Assignment)cGroup_3_2.eContents().get(0);
+ private final RuleCall cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0 = (RuleCall)cPropertyAssignmentsAssignment_3_2_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1);
+ private final Group cGroup_3_3 = (Group)cAlternatives_3.eContents().get(3);
+ private final Assignment cEnumDefinitionsAssignment_3_3_0 = (Assignment)cGroup_3_3.eContents().get(0);
+ private final RuleCall cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0 = (RuleCall)cEnumDefinitionsAssignment_3_3_0.eContents().get(0);
+ private final Keyword cSemicolonKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1);
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
- private final Assignment cImmediateInstantiationAssignment_5 = (Assignment)cGroup.eContents().get(5);
- private final RuleCall cImmediateInstantiationImmediateInstantiationParserRuleCall_5_0 = (RuleCall)cImmediateInstantiationAssignment_5.eContents().get(0);
- private final Keyword cSemicolonKeyword_6 = (Keyword)cGroup.eContents().get(6);
//ComponentDefinition:
// type=ComponentDefinitionType name=ID?
- // '{' (componentDefinitions+=ComponentDefinition
- // | namedInstantiations+=NamedInstantiation
- // | propertyAssignments+=PropertyAssignment
- // | enumDefinitions+=EnumDefinition)* '}' immediateInstantiation=ImmediateInstantiation? ';';
+ // '{' (componentDefinitions+=ComponentDefinition ';'
+ // | instantiations+=Instantiation ';'
+ // | propertyAssignments+=PropertyAssignment ';'
+ // | enumDefinitions+=EnumDefinition ';')* '}';
@Override public ParserRule getRule() { return rule; }
- //type=ComponentDefinitionType name=ID? '{' (componentDefinitions+=ComponentDefinition |
- //namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment | enumDefinitions+=EnumDefinition)*
- //'}' immediateInstantiation=ImmediateInstantiation? ';'
+ //type=ComponentDefinitionType name=ID? '{' (componentDefinitions+=ComponentDefinition ';' | instantiations+=Instantiation
+ //';' | propertyAssignments+=PropertyAssignment ';' | enumDefinitions+=EnumDefinition ';')* '}'
public Group getGroup() { return cGroup; }
//type=ComponentDefinitionType
@@ -550,137 +594,80 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//'{'
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
- //(componentDefinitions+=ComponentDefinition | namedInstantiations+=NamedInstantiation |
- //propertyAssignments+=PropertyAssignment | enumDefinitions+=EnumDefinition)*
+ //(componentDefinitions+=ComponentDefinition ';' | instantiations+=Instantiation ';' |
+ //propertyAssignments+=PropertyAssignment ';' | enumDefinitions+=EnumDefinition ';')*
public Alternatives getAlternatives_3() { return cAlternatives_3; }
+ //componentDefinitions+=ComponentDefinition ';'
+ public Group getGroup_3_0() { return cGroup_3_0; }
+
//componentDefinitions+=ComponentDefinition
- public Assignment getComponentDefinitionsAssignment_3_0() { return cComponentDefinitionsAssignment_3_0; }
+ public Assignment getComponentDefinitionsAssignment_3_0_0() { return cComponentDefinitionsAssignment_3_0_0; }
//ComponentDefinition
- public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0; }
+ public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0; }
- //namedInstantiations+=NamedInstantiation
- public Assignment getNamedInstantiationsAssignment_3_1() { return cNamedInstantiationsAssignment_3_1; }
+ //';'
+ public Keyword getSemicolonKeyword_3_0_1() { return cSemicolonKeyword_3_0_1; }
- //NamedInstantiation
- public RuleCall getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0() { return cNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0; }
+ //instantiations+=Instantiation ';'
+ public Group getGroup_3_1() { return cGroup_3_1; }
+
+ //instantiations+=Instantiation
+ public Assignment getInstantiationsAssignment_3_1_0() { return cInstantiationsAssignment_3_1_0; }
+
+ //Instantiation
+ public RuleCall getInstantiationsInstantiationParserRuleCall_3_1_0_0() { return cInstantiationsInstantiationParserRuleCall_3_1_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_3_1_1() { return cSemicolonKeyword_3_1_1; }
+
+ //propertyAssignments+=PropertyAssignment ';'
+ public Group getGroup_3_2() { return cGroup_3_2; }
//propertyAssignments+=PropertyAssignment
- public Assignment getPropertyAssignmentsAssignment_3_2() { return cPropertyAssignmentsAssignment_3_2; }
+ public Assignment getPropertyAssignmentsAssignment_3_2_0() { return cPropertyAssignmentsAssignment_3_2_0; }
//PropertyAssignment
- public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0; }
+ public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_3_2_1() { return cSemicolonKeyword_3_2_1; }
+
+ //enumDefinitions+=EnumDefinition ';'
+ public Group getGroup_3_3() { return cGroup_3_3; }
//enumDefinitions+=EnumDefinition
- public Assignment getEnumDefinitionsAssignment_3_3() { return cEnumDefinitionsAssignment_3_3; }
+ public Assignment getEnumDefinitionsAssignment_3_3_0() { return cEnumDefinitionsAssignment_3_3_0; }
//EnumDefinition
- public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0; }
+ public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0; }
+
+ //';'
+ public Keyword getSemicolonKeyword_3_3_1() { return cSemicolonKeyword_3_3_1; }
//'}'
public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
-
- //immediateInstantiation=ImmediateInstantiation?
- public Assignment getImmediateInstantiationAssignment_5() { return cImmediateInstantiationAssignment_5; }
-
- //ImmediateInstantiation
- public RuleCall getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0() { return cImmediateInstantiationImmediateInstantiationParserRuleCall_5_0; }
-
- //';'
- public Keyword getSemicolonKeyword_6() { return cSemicolonKeyword_6; }
}
- public class NamedInstantiationElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.NamedInstantiation");
+ public class InstantiationElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Instantiation");
private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cExternalAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final Keyword cExternalExternalKeyword_0_0 = (Keyword)cExternalAssignment_0.eContents().get(0);
- private final Assignment cInternalAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final Keyword cInternalInternalKeyword_1_0 = (Keyword)cInternalAssignment_1.eContents().get(0);
- private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
- private final Keyword cAliasKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
- private final Assignment cAliasAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
- private final RuleCall cAliasIDTerminalRuleCall_2_1_0 = (RuleCall)cAliasAssignment_2_1.eContents().get(0);
- private final Assignment cComponentAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final CrossReference cComponentComponentDefinitionCrossReference_3_0 = (CrossReference)cComponentAssignment_3.eContents().get(0);
- private final RuleCall cComponentComponentDefinitionIDTerminalRuleCall_3_0_1 = (RuleCall)cComponentComponentDefinitionCrossReference_3_0.eContents().get(1);
- private final Assignment cComponentInstancesAssignment_4 = (Assignment)cGroup.eContents().get(4);
- private final RuleCall cComponentInstancesComponentInstanceParserRuleCall_4_0 = (RuleCall)cComponentInstancesAssignment_4.eContents().get(0);
- private final Group cGroup_5 = (Group)cGroup.eContents().get(5);
- private final Keyword cCommaKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0);
- private final Assignment cComponentInstancesAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1);
- private final RuleCall cComponentInstancesComponentInstanceParserRuleCall_5_1_0 = (RuleCall)cComponentInstancesAssignment_5_1.eContents().get(0);
- private final Keyword cSemicolonKeyword_6 = (Keyword)cGroup.eContents().get(6);
-
- //// Instantiation: NamedInstantiation|ImmediateInstantiation;
- //NamedInstantiation:
- // external?="external"? internal?="internal"? ("alias" alias=ID)? component=[ComponentDefinition]
- // componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* ';';
- @Override public ParserRule getRule() { return rule; }
-
- //external?="external"? internal?="internal"? ("alias" alias=ID)? component=[ComponentDefinition]
- //componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* ';'
- public Group getGroup() { return cGroup; }
-
- //external?="external"?
- public Assignment getExternalAssignment_0() { return cExternalAssignment_0; }
-
- //"external"
- public Keyword getExternalExternalKeyword_0_0() { return cExternalExternalKeyword_0_0; }
-
- //internal?="internal"?
- public Assignment getInternalAssignment_1() { return cInternalAssignment_1; }
-
- //"internal"
- public Keyword getInternalInternalKeyword_1_0() { return cInternalInternalKeyword_1_0; }
-
- //("alias" alias=ID)?
- public Group getGroup_2() { return cGroup_2; }
-
- //"alias"
- public Keyword getAliasKeyword_2_0() { return cAliasKeyword_2_0; }
-
- //alias=ID
- public Assignment getAliasAssignment_2_1() { return cAliasAssignment_2_1; }
-
- //ID
- public RuleCall getAliasIDTerminalRuleCall_2_1_0() { return cAliasIDTerminalRuleCall_2_1_0; }
-
- //component=[ComponentDefinition]
- public Assignment getComponentAssignment_3() { return cComponentAssignment_3; }
-
- //[ComponentDefinition]
- public CrossReference getComponentComponentDefinitionCrossReference_3_0() { return cComponentComponentDefinitionCrossReference_3_0; }
-
- //ID
- public RuleCall getComponentComponentDefinitionIDTerminalRuleCall_3_0_1() { return cComponentComponentDefinitionIDTerminalRuleCall_3_0_1; }
-
- //componentInstances+=ComponentInstance
- public Assignment getComponentInstancesAssignment_4() { return cComponentInstancesAssignment_4; }
-
- //ComponentInstance
- public RuleCall getComponentInstancesComponentInstanceParserRuleCall_4_0() { return cComponentInstancesComponentInstanceParserRuleCall_4_0; }
-
- //(',' componentInstances+=ComponentInstance)*
- public Group getGroup_5() { return cGroup_5; }
-
- //','
- public Keyword getCommaKeyword_5_0() { return cCommaKeyword_5_0; }
-
- //componentInstances+=ComponentInstance
- public Assignment getComponentInstancesAssignment_5_1() { return cComponentInstancesAssignment_5_1; }
-
- //ComponentInstance
- public RuleCall getComponentInstancesComponentInstanceParserRuleCall_5_1_0() { return cComponentInstancesComponentInstanceParserRuleCall_5_1_0; }
-
- //';'
- public Keyword getSemicolonKeyword_6() { return cSemicolonKeyword_6; }
- }
- public class ImmediateInstantiationElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ImmediateInstantiation");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cExternalAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final Keyword cExternalExternalKeyword_0_0 = (Keyword)cExternalAssignment_0.eContents().get(0);
+ private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
+ private final Group cGroup_0_0 = (Group)cAlternatives_0.eContents().get(0);
+ private final Assignment cInstanceTypeAssignment_0_0_0 = (Assignment)cGroup_0_0.eContents().get(0);
+ private final RuleCall cInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0 = (RuleCall)cInstanceTypeAssignment_0_0_0.eContents().get(0);
+ private final Group cGroup_0_0_1 = (Group)cGroup_0_0.eContents().get(1);
+ private final Keyword cAliasKeyword_0_0_1_0 = (Keyword)cGroup_0_0_1.eContents().get(0);
+ private final Assignment cAliasAssignment_0_0_1_1 = (Assignment)cGroup_0_0_1.eContents().get(1);
+ private final RuleCall cAliasIDTerminalRuleCall_0_0_1_1_0 = (RuleCall)cAliasAssignment_0_0_1_1.eContents().get(0);
+ private final Assignment cComponentRefAssignment_0_0_2 = (Assignment)cGroup_0_0.eContents().get(2);
+ private final CrossReference cComponentRefComponentDefinitionCrossReference_0_0_2_0 = (CrossReference)cComponentRefAssignment_0_0_2.eContents().get(0);
+ private final RuleCall cComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1 = (RuleCall)cComponentRefComponentDefinitionCrossReference_0_0_2_0.eContents().get(1);
+ private final Group cGroup_0_1 = (Group)cAlternatives_0.eContents().get(1);
+ private final Assignment cComponentAssignment_0_1_0 = (Assignment)cGroup_0_1.eContents().get(0);
+ private final RuleCall cComponentComponentDefinitionParserRuleCall_0_1_0_0 = (RuleCall)cComponentAssignment_0_1_0.eContents().get(0);
+ private final Assignment cInstanceTypeAssignment_0_1_1 = (Assignment)cGroup_0_1.eContents().get(1);
+ private final RuleCall cInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0 = (RuleCall)cInstanceTypeAssignment_0_1_1.eContents().get(0);
private final Assignment cComponentInstancesAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cComponentInstancesComponentInstanceParserRuleCall_1_0 = (RuleCall)cComponentInstancesAssignment_1.eContents().get(0);
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
@@ -688,18 +675,63 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final Assignment cComponentInstancesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
private final RuleCall cComponentInstancesComponentInstanceParserRuleCall_2_1_0 = (RuleCall)cComponentInstancesAssignment_2_1.eContents().get(0);
- //ImmediateInstantiation:
- // external?="external"? componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*;
+ //Instantiation:
+ // (instanceType=EnumInstanceType? ("alias" alias=ID)? componentRef=[ComponentDefinition] | component=ComponentDefinition
+ // instanceType=EnumInstanceType?) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*;
@Override public ParserRule getRule() { return rule; }
- //external?="external"? componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*
+ //(instanceType=EnumInstanceType? ("alias" alias=ID)? componentRef=[ComponentDefinition] | component=ComponentDefinition
+ //instanceType=EnumInstanceType?) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*
public Group getGroup() { return cGroup; }
- //external?="external"?
- public Assignment getExternalAssignment_0() { return cExternalAssignment_0; }
+ //instanceType=EnumInstanceType? ("alias" alias=ID)? componentRef=[ComponentDefinition] | component=ComponentDefinition
+ //instanceType=EnumInstanceType?
+ public Alternatives getAlternatives_0() { return cAlternatives_0; }
- //"external"
- public Keyword getExternalExternalKeyword_0_0() { return cExternalExternalKeyword_0_0; }
+ //instanceType=EnumInstanceType? ("alias" alias=ID)? componentRef=[ComponentDefinition]
+ public Group getGroup_0_0() { return cGroup_0_0; }
+
+ //instanceType=EnumInstanceType?
+ public Assignment getInstanceTypeAssignment_0_0_0() { return cInstanceTypeAssignment_0_0_0; }
+
+ //EnumInstanceType
+ public RuleCall getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0() { return cInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0; }
+
+ //("alias" alias=ID)?
+ public Group getGroup_0_0_1() { return cGroup_0_0_1; }
+
+ //"alias"
+ public Keyword getAliasKeyword_0_0_1_0() { return cAliasKeyword_0_0_1_0; }
+
+ //alias=ID
+ public Assignment getAliasAssignment_0_0_1_1() { return cAliasAssignment_0_0_1_1; }
+
+ //ID
+ public RuleCall getAliasIDTerminalRuleCall_0_0_1_1_0() { return cAliasIDTerminalRuleCall_0_0_1_1_0; }
+
+ //componentRef=[ComponentDefinition]
+ public Assignment getComponentRefAssignment_0_0_2() { return cComponentRefAssignment_0_0_2; }
+
+ //[ComponentDefinition]
+ public CrossReference getComponentRefComponentDefinitionCrossReference_0_0_2_0() { return cComponentRefComponentDefinitionCrossReference_0_0_2_0; }
+
+ //ID
+ public RuleCall getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1() { return cComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1; }
+
+ //component=ComponentDefinition instanceType=EnumInstanceType?
+ public Group getGroup_0_1() { return cGroup_0_1; }
+
+ //component=ComponentDefinition
+ public Assignment getComponentAssignment_0_1_0() { return cComponentAssignment_0_1_0; }
+
+ //ComponentDefinition
+ public RuleCall getComponentComponentDefinitionParserRuleCall_0_1_0_0() { return cComponentComponentDefinitionParserRuleCall_0_1_0_0; }
+
+ //instanceType=EnumInstanceType?
+ public Assignment getInstanceTypeAssignment_0_1_1() { return cInstanceTypeAssignment_0_1_1; }
+
+ //EnumInstanceType
+ public RuleCall getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0() { return cInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0; }
//componentInstances+=ComponentInstance
public Assignment getComponentInstancesAssignment_1() { return cComponentInstancesAssignment_1; }
@@ -816,45 +848,45 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0);
- private final Assignment cStartAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0);
- private final RuleCall cStartNUMTerminalRuleCall_1_0_0_0 = (RuleCall)cStartAssignment_1_0_0.eContents().get(0);
+ private final Assignment cLeftAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0);
+ private final RuleCall cLeftNUMTerminalRuleCall_1_0_0_0 = (RuleCall)cLeftAssignment_1_0_0.eContents().get(0);
private final Keyword cColonKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1);
- private final Assignment cEndAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2);
- private final RuleCall cEndNUMTerminalRuleCall_1_0_2_0 = (RuleCall)cEndAssignment_1_0_2.eContents().get(0);
+ private final Assignment cRightAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2);
+ private final RuleCall cRightNUMTerminalRuleCall_1_0_2_0 = (RuleCall)cRightAssignment_1_0_2.eContents().get(0);
private final Assignment cSizeAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1);
private final RuleCall cSizeNUMTerminalRuleCall_1_1_0 = (RuleCall)cSizeAssignment_1_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
//Range:
- // '[' (start=NUM ':' end=NUM | size=NUM) ']';
+ // '[' (left=NUM ':' right=NUM | size=NUM) ']';
@Override public ParserRule getRule() { return rule; }
- //'[' (start=NUM ':' end=NUM | size=NUM) ']'
+ //'[' (left=NUM ':' right=NUM | size=NUM) ']'
public Group getGroup() { return cGroup; }
//'['
public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; }
- //start=NUM ':' end=NUM | size=NUM
+ //left=NUM ':' right=NUM | size=NUM
public Alternatives getAlternatives_1() { return cAlternatives_1; }
- //start=NUM ':' end=NUM
+ //left=NUM ':' right=NUM
public Group getGroup_1_0() { return cGroup_1_0; }
- //start=NUM
- public Assignment getStartAssignment_1_0_0() { return cStartAssignment_1_0_0; }
+ //left=NUM
+ public Assignment getLeftAssignment_1_0_0() { return cLeftAssignment_1_0_0; }
//NUM
- public RuleCall getStartNUMTerminalRuleCall_1_0_0_0() { return cStartNUMTerminalRuleCall_1_0_0_0; }
+ public RuleCall getLeftNUMTerminalRuleCall_1_0_0_0() { return cLeftNUMTerminalRuleCall_1_0_0_0; }
//':'
public Keyword getColonKeyword_1_0_1() { return cColonKeyword_1_0_1; }
- //end=NUM
- public Assignment getEndAssignment_1_0_2() { return cEndAssignment_1_0_2; }
+ //right=NUM
+ public Assignment getRightAssignment_1_0_2() { return cRightAssignment_1_0_2; }
//NUM
- public RuleCall getEndNUMTerminalRuleCall_1_0_2_0() { return cEndNUMTerminalRuleCall_1_0_2_0; }
+ public RuleCall getRightNUMTerminalRuleCall_1_0_2_0() { return cRightNUMTerminalRuleCall_1_0_2_0; }
//size=NUM
public Assignment getSizeAssignment_1_1() { return cSizeAssignment_1_1; }
@@ -915,7 +947,6 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cModifierPropertyModifierEnumRuleCall_0_0_0 = (RuleCall)cModifierAssignment_0_0.eContents().get(0);
private final Assignment cNameAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
private final RuleCall cNamePropertyEnumRuleCall_0_1_0 = (RuleCall)cNameAssignment_0_1.eContents().get(0);
- private final Keyword cSemicolonKeyword_0_2 = (Keyword)cGroup_0.eContents().get(2);
private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
private final Assignment cNameAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
private final RuleCall cNamePropertyEnumRuleCall_1_0_0 = (RuleCall)cNameAssignment_1_0.eContents().get(0);
@@ -923,16 +954,15 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cEqualsSignKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0);
private final Assignment cRhsAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1);
private final RuleCall cRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0 = (RuleCall)cRhsAssignment_1_1_1.eContents().get(0);
- private final Keyword cSemicolonKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2);
//ExplicitPropertyAssignment:
- // modifier=PropertyModifier name=Property ';' | name=Property ('=' rhs=PropertyAssignmentRhs)? ';';
+ // modifier=PropertyModifier name=Property | name=Property ('=' rhs=PropertyAssignmentRhs)?;
@Override public ParserRule getRule() { return rule; }
- //modifier=PropertyModifier name=Property ';' | name=Property ('=' rhs=PropertyAssignmentRhs)? ';'
+ //modifier=PropertyModifier name=Property | name=Property ('=' rhs=PropertyAssignmentRhs)?
public Alternatives getAlternatives() { return cAlternatives; }
- //modifier=PropertyModifier name=Property ';'
+ //modifier=PropertyModifier name=Property
public Group getGroup_0() { return cGroup_0; }
//modifier=PropertyModifier
@@ -947,10 +977,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//Property
public RuleCall getNamePropertyEnumRuleCall_0_1_0() { return cNamePropertyEnumRuleCall_0_1_0; }
- //';'
- public Keyword getSemicolonKeyword_0_2() { return cSemicolonKeyword_0_2; }
-
- //name=Property ('=' rhs=PropertyAssignmentRhs)? ';'
+ //name=Property ('=' rhs=PropertyAssignmentRhs)?
public Group getGroup_1() { return cGroup_1; }
//name=Property
@@ -970,9 +997,6 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//PropertyAssignmentRhs
public RuleCall getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0() { return cRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0; }
-
- //';'
- public Keyword getSemicolonKeyword_1_2() { return cSemicolonKeyword_1_2; }
}
public class PostPropertyAssignmentElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PostPropertyAssignment");
@@ -995,15 +1019,14 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cEqualsSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
private final Assignment cRhsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
private final RuleCall cRhsPropertyAssignmentRhsParserRuleCall_1_1_0 = (RuleCall)cRhsAssignment_1_1.eContents().get(0);
- private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
//PostPropertyAssignment:
// (instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) |
- // property=[PropertyDefinition]) ('=' rhs=PropertyAssignmentRhs)? ';';
+ // property=[PropertyDefinition]) ('=' rhs=PropertyAssignmentRhs)?;
@Override public ParserRule getRule() { return rule; }
//(instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) | property=[PropertyDefinition])
- //('=' rhs=PropertyAssignmentRhs)? ';'
+ //('=' rhs=PropertyAssignmentRhs)?
public Group getGroup() { return cGroup; }
//instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) | property=[PropertyDefinition]
@@ -1059,9 +1082,6 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//PropertyAssignmentRhs
public RuleCall getRhsPropertyAssignmentRhsParserRuleCall_1_1_0() { return cRhsPropertyAssignmentRhsParserRuleCall_1_1_0; }
-
- //';'
- public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; }
}
public class InstancePropertyRefElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.InstancePropertyRef");
@@ -1121,7 +1141,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cEnumDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cPropertyDefinitionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
- //// unused rules to infer inheritance
+ //// unused rule to infer inheritance
//Entity:
// ComponentInstance | EnumDefinition | PropertyDefinition;
@Override public ParserRule getRule() { return rule; }
@@ -1394,13 +1414,12 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
private final Assignment cBodyAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cBodyEnumBodyParserRuleCall_2_0 = (RuleCall)cBodyAssignment_2.eContents().get(0);
- private final Keyword cSemicolonKeyword_3 = (Keyword)cGroup.eContents().get(3);
//EnumDefinition:
- // "enum" name=ID body=EnumBody ';';
+ // "enum" name=ID body=EnumBody;
@Override public ParserRule getRule() { return rule; }
- //"enum" name=ID body=EnumBody ';'
+ //"enum" name=ID body=EnumBody
public Group getGroup() { return cGroup; }
//"enum"
@@ -1417,9 +1436,6 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//EnumBody
public RuleCall getBodyEnumBodyParserRuleCall_2_0() { return cBodyEnumBodyParserRuleCall_2_0; }
-
- //';'
- public Keyword getSemicolonKeyword_3() { return cSemicolonKeyword_3; }
}
public class EnumBodyElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.EnumBody");
@@ -1574,6 +1590,33 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//';'
public Keyword getSemicolonKeyword_1() { return cSemicolonKeyword_1; }
}
+ public class EnumInstanceTypeElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.EnumInstanceType");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final Assignment cEXTERNALAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
+ private final Keyword cEXTERNALExternalKeyword_0_0 = (Keyword)cEXTERNALAssignment_0.eContents().get(0);
+ private final Assignment cINTERNALAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
+ private final Keyword cINTERNALInternalKeyword_1_0 = (Keyword)cINTERNALAssignment_1.eContents().get(0);
+
+ //EnumInstanceType:
+ // EXTERNAL="external" | INTERNAL="internal";
+ @Override public ParserRule getRule() { return rule; }
+
+ //EXTERNAL="external" | INTERNAL="internal"
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //EXTERNAL="external"
+ public Assignment getEXTERNALAssignment_0() { return cEXTERNALAssignment_0; }
+
+ //"external"
+ public Keyword getEXTERNALExternalKeyword_0_0() { return cEXTERNALExternalKeyword_0_0; }
+
+ //INTERNAL="internal"
+ public Assignment getINTERNALAssignment_1() { return cINTERNALAssignment_1; }
+
+ //"internal"
+ public Keyword getINTERNALInternalKeyword_1_0() { return cINTERNALInternalKeyword_1_0; }
+ }
public class PropertyTypeNameElements extends AbstractEnumRuleElementFinder {
private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyTypeName");
@@ -3353,8 +3396,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final PropertyComponentElements ePropertyComponent;
private final ComponentDefinitionElements pComponentDefinition;
private final ComponentDefinitionTypeElements eComponentDefinitionType;
- private final NamedInstantiationElements pNamedInstantiation;
- private final ImmediateInstantiationElements pImmediateInstantiation;
+ private final InstantiationElements pInstantiation;
private final ComponentInstanceElements pComponentInstance;
private final RangeElements pRange;
private final PropertyAssignmentElements pPropertyAssignment;
@@ -3377,6 +3419,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
private final EnumBodyElements pEnumBody;
private final EnumEntryElements pEnumEntry;
private final EnumPropertyElements pEnumProperty;
+ private final EnumInstanceTypeElements pEnumInstanceType;
private final TerminalRule tID;
private final TerminalRule tWS;
private final TerminalRule tML_COMMENT;
@@ -3400,8 +3443,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
this.ePropertyComponent = new PropertyComponentElements();
this.pComponentDefinition = new ComponentDefinitionElements();
this.eComponentDefinitionType = new ComponentDefinitionTypeElements();
- this.pNamedInstantiation = new NamedInstantiationElements();
- this.pImmediateInstantiation = new ImmediateInstantiationElements();
+ this.pInstantiation = new InstantiationElements();
this.pComponentInstance = new ComponentInstanceElements();
this.pRange = new RangeElements();
this.pPropertyAssignment = new PropertyAssignmentElements();
@@ -3424,6 +3466,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
this.pEnumBody = new EnumBodyElements();
this.pEnumEntry = new EnumEntryElements();
this.pEnumProperty = new EnumPropertyElements();
+ this.pEnumInstanceType = new EnumInstanceTypeElements();
this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ID");
this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.WS");
this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ML_COMMENT");
@@ -3458,9 +3501,9 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//Root:
- // (includes+=Include | componentDefinitions+=ComponentDefinition | enumDefinitions+=EnumDefinition |
- // namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment |
- // propertyDefinitions+=PropertyDefinition)*;
+ // (includes+=Include | componentDefinitions+=ComponentDefinition ';' | enumDefinitions+=EnumDefinition ';' |
+ // instantiations+=Instantiation ';' | propertyAssignments+=PropertyAssignment ';' |
+ // propertyDefinitions+=PropertyDefinition ';')*;
public RootElements getRootAccess() {
return pRoot;
}
@@ -3536,10 +3579,10 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//ComponentDefinition:
// type=ComponentDefinitionType name=ID?
- // '{' (componentDefinitions+=ComponentDefinition
- // | namedInstantiations+=NamedInstantiation
- // | propertyAssignments+=PropertyAssignment
- // | enumDefinitions+=EnumDefinition)* '}' immediateInstantiation=ImmediateInstantiation? ';';
+ // '{' (componentDefinitions+=ComponentDefinition ';'
+ // | instantiations+=Instantiation ';'
+ // | propertyAssignments+=PropertyAssignment ';'
+ // | enumDefinitions+=EnumDefinition ';')* '}';
public ComponentDefinitionElements getComponentDefinitionAccess() {
return pComponentDefinition;
}
@@ -3558,26 +3601,15 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
return getComponentDefinitionTypeAccess().getRule();
}
- //// Instantiation: NamedInstantiation|ImmediateInstantiation;
- //NamedInstantiation:
- // external?="external"? internal?="internal"? ("alias" alias=ID)? component=[ComponentDefinition]
- // componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* ';';
- public NamedInstantiationElements getNamedInstantiationAccess() {
- return pNamedInstantiation;
+ //Instantiation:
+ // (instanceType=EnumInstanceType? ("alias" alias=ID)? componentRef=[ComponentDefinition] | component=ComponentDefinition
+ // instanceType=EnumInstanceType?) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*;
+ public InstantiationElements getInstantiationAccess() {
+ return pInstantiation;
}
- public ParserRule getNamedInstantiationRule() {
- return getNamedInstantiationAccess().getRule();
- }
-
- //ImmediateInstantiation:
- // external?="external"? componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*;
- public ImmediateInstantiationElements getImmediateInstantiationAccess() {
- return pImmediateInstantiation;
- }
-
- public ParserRule getImmediateInstantiationRule() {
- return getImmediateInstantiationAccess().getRule();
+ public ParserRule getInstantiationRule() {
+ return getInstantiationAccess().getRule();
}
//ComponentInstance:
@@ -3591,7 +3623,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
}
//Range:
- // '[' (start=NUM ':' end=NUM | size=NUM) ']';
+ // '[' (left=NUM ':' right=NUM | size=NUM) ']';
public RangeElements getRangeAccess() {
return pRange;
}
@@ -3621,7 +3653,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
}
//ExplicitPropertyAssignment:
- // modifier=PropertyModifier name=Property ';' | name=Property ('=' rhs=PropertyAssignmentRhs)? ';';
+ // modifier=PropertyModifier name=Property | name=Property ('=' rhs=PropertyAssignmentRhs)?;
public ExplicitPropertyAssignmentElements getExplicitPropertyAssignmentAccess() {
return pExplicitPropertyAssignment;
}
@@ -3632,7 +3664,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
//PostPropertyAssignment:
// (instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) |
- // property=[PropertyDefinition]) ('=' rhs=PropertyAssignmentRhs)? ';';
+ // property=[PropertyDefinition]) ('=' rhs=PropertyAssignmentRhs)?;
public PostPropertyAssignmentElements getPostPropertyAssignmentAccess() {
return pPostPropertyAssignment;
}
@@ -3651,7 +3683,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
return getInstancePropertyRefAccess().getRule();
}
- //// unused rules to infer inheritance
+ //// unused rule to infer inheritance
//Entity:
// ComponentInstance | EnumDefinition | PropertyDefinition;
public EntityElements getEntityAccess() {
@@ -3914,7 +3946,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
}
//EnumDefinition:
- // "enum" name=ID body=EnumBody ';';
+ // "enum" name=ID body=EnumBody;
public EnumDefinitionElements getEnumDefinitionAccess() {
return pEnumDefinition;
}
@@ -3953,6 +3985,16 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
return getEnumPropertyAccess().getRule();
}
+ //EnumInstanceType:
+ // EXTERNAL="external" | INTERNAL="internal";
+ public EnumInstanceTypeElements getEnumInstanceTypeAccess() {
+ return pEnumInstanceType;
+ }
+
+ public ParserRule getEnumInstanceTypeRule() {
+ return getEnumInstanceTypeAccess().getRule();
+ }
+
//terminal ID:
// '\\'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/GenerateRDL.mwe2 b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/GenerateRDL.mwe2
index 8d457e9..8b2a4ea 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/GenerateRDL.mwe2
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/GenerateRDL.mwe2
@@ -36,7 +36,12 @@ Workflow {
fragment = scoping.ImportNamespacesScopingFragment2 auto-inject {}
fragment = exporting.SimpleNamesFragment2 auto-inject {}
-
+ parserGenerator = {
+ options = {
+ backtrack = true
+ }
+ }
+
serializer = {
generateStub = false
}
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDL.xtext b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDL.xtext
index a2fa3f7..be9194a 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDL.xtext
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDL.xtext
@@ -8,12 +8,12 @@ generate rdl "http://www.minres.com/rdl/RDL"
Root:
(
includes+=Include |
- componentDefinitions+=ComponentDefinition |
- enumDefinitions+=EnumDefinition |
- namedInstantiations+=NamedInstantiation |
- propertyAssignments+=PropertyAssignment |
- propertyDefinitions+=PropertyDefinition
- )*
+ componentDefinitions+=ComponentDefinition';'|
+ enumDefinitions+=EnumDefinition ';'|
+ instantiations+=Instantiation ';'|
+ propertyAssignments+=PropertyAssignment ';'|
+ propertyDefinitions+=PropertyDefinition ';'
+ ) *
;
Include:
@@ -48,25 +48,21 @@ enum PropertyComponent:
ComponentDefinition:
type=ComponentDefinitionType name=ID?
'{'
- ( componentDefinitions+=ComponentDefinition
- | namedInstantiations+=NamedInstantiation
- | propertyAssignments+=PropertyAssignment
- | enumDefinitions+=EnumDefinition
- )* '}' immediateInstantiation=ImmediateInstantiation? ';'
+ ( componentDefinitions+=ComponentDefinition ';'
+ | instantiations+=Instantiation ';'
+ | propertyAssignments+=PropertyAssignment ';'
+ | enumDefinitions+=EnumDefinition ';'
+ )* '}'
;
enum ComponentDefinitionType:
SIGNAL="signal" | ADDRMAP="addrmap" | REGFILE="regfile" | REG="reg" | FIELD="field"
;
-// Instantiation: NamedInstantiation|ImmediateInstantiation;
-
-NamedInstantiation:
- (external?="external")? (internal?="internal")? ("alias" alias=ID)? component=[ComponentDefinition] componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* ';'
- ;
-
-ImmediateInstantiation:
- (external?="external")? componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*
+Instantiation:
+ (
+ instanceType=EnumInstanceType? ("alias" alias=ID)? componentRef=[ComponentDefinition]| component=ComponentDefinition instanceType=EnumInstanceType?
+ ) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*
;
ComponentInstance:
@@ -82,7 +78,7 @@ ComponentInstance:
;
Range:
- '[' (start=NUM ':' end=NUM | size=NUM) ']'
+ '[' (left=NUM ':' right=NUM | size=NUM) ']'
;
PropertyAssignment:
@@ -94,27 +90,27 @@ DefaultProperyAssignment:
;
ExplicitPropertyAssignment :
- modifier=PropertyModifier name=Property ';' |
- name=Property ('=' rhs=PropertyAssignmentRhs)? ';'
+ modifier=PropertyModifier name=Property |
+ name=Property ('=' rhs=PropertyAssignmentRhs)?
;
PostPropertyAssignment:
(instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) |
- property=[PropertyDefinition] ) ('=' rhs=PropertyAssignmentRhs)? ';'
+ property=[PropertyDefinition] ) ('=' rhs=PropertyAssignmentRhs)?
;
InstancePropertyRef:
instance=InstanceRef ('->' (propertyEnum=Property | property=[PropertyDefinition]))?
;
-// unused rules to infer inheritance
+// unused rule to infer inheritance
Entity:
ComponentInstance|EnumDefinition|PropertyDefinition
;
InstanceRef:
instance=[Entity] ( "." tail=HierInstanceRef)?
-;
+ ;
HierInstanceRef returns InstanceRef:
instance=[ComponentInstance] ( "." tail=HierInstanceRef)?
@@ -358,7 +354,7 @@ enum PropertyModifier:
;
EnumDefinition:
- "enum" name=ID body=EnumBody ';'
+ "enum" name=ID body=EnumBody
;
EnumBody:
@@ -373,6 +369,9 @@ EnumProperty:
( name='name' '=' value=STR | name='desc' '=' value=STR ) ';'
;
+EnumInstanceType:
+ EXTERNAL="external" | INTERNAL="internal"
+;
///////////////////////////////////////////////////////////////////////////////
// the terminals
///////////////////////////////////////////////////////////////////////////////
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend
new file mode 100644
index 0000000..572fcd2
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend
@@ -0,0 +1,32 @@
+package com.minres.rdl.generator
+
+import com.minres.rdl.generator.RdlBaseGenerator
+import com.minres.rdl.rdl.ComponentDefinition
+
+class AddrmapGenerator extends RdlBaseGenerator {
+
+ val ComponentDefinition componentDefinition
+
+ new(ComponentDefinition definition) {
+ componentDefinition=definition
+ }
+
+ override generateHeader() {'''
+ #ifndef _E300_PLAT_MAP_H_
+ #define _E300_PLAT_MAP_H_
+ // need double braces, see https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191
+ const std::array, 3> e300_plat_map = {{
+ {&i_gpio, 0x10012000, 0x1000},
+ {&i_uart, 0x10013000, 0x1000},
+ {&i_spi, 0x10014000, 0x1000}
+ }};
+
+ #endif /* _E300_PLAT_MAP_H_ */
+ '''
+ }
+
+ override generateSource() {
+ ''
+ }
+
+}
\ No newline at end of file
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend
new file mode 100644
index 0000000..38da2f4
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend
@@ -0,0 +1,146 @@
+package com.minres.rdl.generator
+
+
+import com.google.inject.Inject
+import com.google.inject.Provider
+import com.minres.rdl.RDLStandaloneSetup
+import java.lang.reflect.MalformedParametersException
+import java.util.ArrayList
+import org.eclipse.emf.common.util.URI
+import org.eclipse.emf.ecore.resource.ResourceSet
+import org.eclipse.emf.mwe.utils.ProjectMapping
+import org.eclipse.emf.mwe.utils.StandaloneSetup
+import org.eclipse.xtext.generator.GeneratorContext
+import org.eclipse.xtext.generator.GeneratorDelegate
+import org.eclipse.xtext.generator.JavaIoFileSystemAccess
+import org.eclipse.xtext.resource.XtextResource
+import org.eclipse.xtext.resource.XtextResourceSet
+import org.eclipse.xtext.util.CancelIndicator
+import org.eclipse.xtext.validation.CheckMode
+import org.eclipse.xtext.validation.IResourceValidator
+import java.text.ParseException
+
+class Main {
+ static class Option {
+ String flag
+ String value
+ def Option(String flag, String value) {
+ this.flag = flag
+ this.value = value
+ }
+ }
+
+ def static main(String[] args) {
+ if (args.empty) {
+ System::err.println('Aborting: no path to EMF resource provided!')
+ return
+ }
+
+ try {
+ val injector = new RDLStandaloneSetup().createInjectorAndDoEMFRegistration
+ injector.getInstance(Main).run(args)
+ } catch(MalformedParametersException e){
+ print("Command line error "+e.message)
+ } catch(IllegalArgumentException e){
+ print("generation error "+e.message)
+ e.printStackTrace
+ } catch(ParseException e){
+ print("parse problem "+e.message+" ("+ e.errorOffset+")")
+
+ }
+ }
+
+ @Inject Provider resourceSetProvider
+
+ @Inject IResourceValidator validator
+
+ @Inject GeneratorDelegate generator
+
+ @Inject JavaIoFileSystemAccess fileAccess
+
+ var optsList = new ArrayList();
+ var argsList = new ArrayList()
+ val shortOptMap = newLinkedHashMap('i' -> 'incl-out', 's' -> 'src-out')
+
+ def protected parseOptions(String[] args) {
+ for (arg : args) {
+ switch (arg) {
+ case arg.startsWith('--'): {
+ if (arg.length < 3)
+ throw new MalformedParametersException("not a valid argument: " + arg);
+ val res = arg.substring(2).split('=')
+ var opt = new Option()
+ val longOpt = shortOptMap.values.findFirst[String s|s == res.get(0)]
+ if(longOpt === null) throw new IllegalArgumentException("unknown option: " + arg);
+ opt.flag = res.get(0)
+ if (res.size == 2)
+ opt.value = res.get(1)
+ optsList += opt
+ }
+ case arg.startsWith('-'): {
+ if (arg.length < 2)
+ throw new MalformedParametersException("not a valid argument: " + arg);
+ // -opt
+ var res = arg.substring(1).split('=')
+ val longOpt = shortOptMap.get(res.get(0))
+ if(longOpt === null) throw new MalformedParametersException("unknown option: " + arg);
+ var opt = new Option()
+ opt.flag = longOpt
+ if (res.size == 2)
+ opt.value = res.get(1)
+ optsList += opt
+
+ }
+ default: {
+ argsList += arg;
+ }
+ }
+ }
+
+ }
+
+ def run(String[] args){
+ parseOptions(args)
+ val repo = optsList.findFirst[it.flag == "repository"]
+ if(repo!==null){
+ val projectMapping = new ProjectMapping
+ projectMapping.projectName = "RDL Repository"
+ projectMapping.path = repo.value
+ new StandaloneSetup().addProjectMapping(projectMapping)
+ }
+ argsList.forEach[runGenerator(it)]
+ }
+
+ def protected runGenerator(String string) {
+ // Load the resource
+ val resourceSet = resourceSetProvider.get as XtextResourceSet
+ resourceSet.addLoadOption(XtextResource.OPTION_RESOLVE_ALL, Boolean.TRUE);
+ val resource = resourceSet.getResource(URI.createFileURI(string), true)
+ // Validate the resource
+ val issues = validator.validate(resource, CheckMode.ALL, CancelIndicator.NullImpl)
+ if (!issues.empty) {
+ System.err.println("Error validating "+resource.URI)
+ issues.forEach[System.err.println(it)]
+ throw new ParseException("error validating "+resource.URI, issues.size)
+ }
+ // Configure and start the generator
+ fileAccess.outputPath = 'src-gen/'
+ optsList.filter[it.flag.matches('.*-out')].forEach[fileAccess.setOutputPath(it.flag, it.value)]
+ fileAccess.outputConfigurations.get('src-out')?.setOverrideExistingResources(true)
+
+ val context = new GeneratorContext => [ cancelIndicator = CancelIndicator.NullImpl ]
+ generator.generate(resource, fileAccess, context)
+
+ System.out.print('Code generation for '+string +' finished, ')
+ try{
+ System.out.print('includes are in '+fileAccess.getURI('', 'incl-out')+', ')
+ }catch(Exception e){
+ System.out.print('includes are in '+fileAccess.getURI('')+', ')
+ }
+ try{
+ System.out.println('sources are in '+fileAccess.getURI('', 'src-out')+', ')
+ }catch(Exception e){
+ System.out.println('sources are in '+fileAccess.getURI('')+', ')
+ }
+ }
+}
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend
index ad82685..a9c5780 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend
@@ -3,6 +3,8 @@
*/
package com.minres.rdl.generator
+import com.minres.rdl.rdl.ComponentDefinition
+import com.minres.rdl.rdl.ComponentDefinitionType
import org.eclipse.emf.ecore.resource.Resource
import org.eclipse.xtext.generator.AbstractGenerator
import org.eclipse.xtext.generator.IFileSystemAccess2
@@ -16,10 +18,29 @@ import org.eclipse.xtext.generator.IGeneratorContext
class RDLGenerator extends AbstractGenerator {
override void doGenerate(Resource resource, IFileSystemAccess2 fsa, IGeneratorContext context) {
-// fsa.generateFile('greetings.txt', 'People to greet: ' +
-// resource.allContents
-// .filter(Greeting)
-// .map[name]
-// .join(', '))
- }
-}
+ resource.resourceSet.allContents.filter[ it instanceof ComponentDefinition].map[it as ComponentDefinition].forEach[
+ val gen = it.fileGenerator
+ if(gen!==null){
+ val header = gen.generateHeader
+ if(header!==null && header.length>0) fsa.generateFile(it.name+'.h', fsa.outputConfig('incl-out'), header)
+ val source = gen.generateSource
+ if(source!==null && source.length>0) fsa.generateFile(it.name+'.cpp', fsa.outputConfig('src-out'), source)
+ }
+ ]
+ }
+
+ def RdlBaseGenerator fileGenerator(ComponentDefinition definition){
+ switch(definition.type){
+ case ComponentDefinitionType.REGFILE: new RegfileGenerator(definition)
+ case ComponentDefinitionType.ADDRMAP: new AddrmapGenerator(definition)
+ default: null
+ }
+ }
+
+ def String outputConfig(IFileSystemAccess2 fsa, String string){
+ var output_config = string
+ try {fsa.getURI("", output_config)} catch (Exception e) {output_config ='DEFAULT_OUTPUT'}
+ return output_config
+ }
+
+}
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlBaseGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlBaseGenerator.xtend
new file mode 100644
index 0000000..547d990
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlBaseGenerator.xtend
@@ -0,0 +1,101 @@
+package com.minres.rdl.generator
+
+import com.minres.rdl.rdl.ComponentDefinition
+import com.minres.rdl.rdl.ExplicitPropertyAssignment
+import com.minres.rdl.rdl.PropertyAssignment
+import com.minres.rdl.rdl.PropertyEnum
+import com.minres.rdl.IntegerWithRadix
+import com.minres.rdl.rdl.Instantiation
+import com.minres.rdl.rdl.PropertyAssignmentRhs
+import com.minres.rdl.rdl.RValue
+import com.minres.rdl.rdl.RValueConstant
+import com.minres.rdl.rdl.InstancePropertyRef
+import com.minres.rdl.rdl.ComponentDefinitionType
+
+abstract class RdlBaseGenerator {
+ def long accessWidth(ComponentDefinition definition){
+ var size = 32L
+ val pa = definition.propertyAssignments.findFirst[PropertyAssignment pa |
+ pa instanceof ExplicitPropertyAssignment && (pa as ExplicitPropertyAssignment).name==PropertyEnum.ACCESSWIDTH
+ ]
+ if(pa !== null){
+ val sz = new IntegerWithRadix((pa as ExplicitPropertyAssignment).rhs.effectiveValue)
+ size=sz.value
+ }
+ return size
+ }
+
+ def long getSize(Instantiation instantiation){
+ val componentDef= instantiation.definingComponent
+ switch (componentDef.type) {
+ case ComponentDefinitionType.REG: {
+ val pa = componentDef.propertyAssignments.findFirst[PropertyAssignment pa |
+ pa instanceof ExplicitPropertyAssignment && (pa as ExplicitPropertyAssignment).name==PropertyEnum.REGWIDTH
+ ]
+ if(pa !== null){
+ val sz = new IntegerWithRadix((pa as ExplicitPropertyAssignment).rhs.effectiveValue)
+ return sz.value
+ }
+ return 32L
+ }
+ case ComponentDefinitionType.FIELD:{
+ val pa = componentDef.propertyAssignments.findFirst[PropertyAssignment pa |
+ pa instanceof ExplicitPropertyAssignment && (pa as ExplicitPropertyAssignment).name==PropertyEnum.FIELDWIDTH
+ ]
+ if(pa !== null){
+ val sz = new IntegerWithRadix((pa as ExplicitPropertyAssignment).rhs.effectiveValue)
+ return sz.value
+ }
+ return 1L
+ }
+ default: {
+ return 0L;
+ }
+ }
+ }
+
+ def String effectiveName(ComponentDefinition definition){
+ if(definition.name!==null){
+ definition.name
+ } else{
+ val pa = definition.propertyAssignments.findFirst[PropertyAssignment pa |
+ pa instanceof ExplicitPropertyAssignment && (pa as ExplicitPropertyAssignment).name==PropertyEnum.NAME
+ ]
+ (pa as ExplicitPropertyAssignment).rhs.effectiveValue
+ }
+
+ }
+
+ def String effectiveValue(PropertyAssignmentRhs rhs){
+ if(rhs.value!== null)
+ rhs.value.effectiveValue
+ else if(rhs.instPropRef!==null)
+ rhs.instPropRef.effectiveValue
+ else if(rhs.enumRef!==null)
+ rhs.enumRef.name
+ }
+
+ def String effectiveValue(RValue rvalue){
+ if(rvalue.str!==null){
+ rvalue.str
+ } else if(rvalue.^val!=RValueConstant.UNDEFINED)
+ rvalue.^val.literal
+ else if(rvalue.num!==null){
+ val num = rvalue.num as IntegerWithRadix
+ num.toString
+ }
+ }
+
+ def String effectiveValue(InstancePropertyRef ref){
+
+ }
+
+ def ComponentDefinition definingComponent(Instantiation instantiation){
+ if(instantiation.componentRef!==null) instantiation.componentRef else instantiation.component
+ }
+
+ def String generateHeader()
+
+ def String generateSource()
+
+}
\ No newline at end of file
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend
new file mode 100644
index 0000000..257ef85
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend
@@ -0,0 +1,193 @@
+package com.minres.rdl.generator
+
+import com.minres.rdl.IntegerWithRadix
+import com.minres.rdl.rdl.ComponentDefinition
+import com.minres.rdl.rdl.ComponentDefinitionType
+import com.minres.rdl.rdl.ComponentInstance
+import com.minres.rdl.rdl.Instantiation
+import java.util.Date
+
+class RegfileGenerator extends RdlBaseGenerator{
+
+ val ComponentDefinition componentDefinition
+
+ new(ComponentDefinition definition) {
+ componentDefinition=definition
+ }
+
+ override String generateHeader()'''
+ ////////////////////////////////////////////////////////////////////////////////
+ // Copyright (C) 2017, MINRES Technologies GmbH
+ // All rights reserved.
+ //
+ // Redistribution and use in source and binary forms, with or without
+ // modification, are permitted provided that the following conditions are met:
+ //
+ // 1. Redistributions of source code must retain the above copyright notice,
+ // this list of conditions and the following disclaimer.
+ //
+ // 2. Redistributions in binary form must reproduce the above copyright notice,
+ // this list of conditions and the following disclaimer in the documentation
+ // and/or other materials provided with the distribution.
+ //
+ // 3. Neither the name of the copyright holder nor the names of its contributors
+ // may be used to endorse or promote products derived from this software
+ // without specific prior written permission.
+ //
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ // POSSIBILITY OF SUCH DAMAGE.
+ //
+ // Created on: «new Date»
+ // * «componentDefinition.name».h Author:
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+
+ #ifndef _«componentDefinition.name.toUpperCase»_H_
+ #define _«componentDefinition.name.toUpperCase»_H_
+
+ #include
+ #include
+ #include
+ #include
+
+ namespace sysc {
+
+ class «componentDefinition.name» :
+ public sc_core::sc_module,
+ public sysc::resetable
+ {
+ protected:
+ // storage declarations
+ «FOR cdef : componentDefinition.componentDefinitions»
+ «IF cdef.type == ComponentDefinitionType.REG»
+ BEGIN_BF_DECL(«cdef.effectiveName»+'_t'», uint«cdef»_t);
+ «cdef.genFieldDeclarations»
+ END_BF_DECL();
+ «ENDIF»
+ «ENDFOR»
+ «FOR instantiation : componentDefinition.instantiations»
+ «IF instantiation.componentRef !==null && instantiation.componentRef.type == ComponentDefinitionType.REG»
+ «instantiation.componentRef.effectiveName»+'_t' «instantiation.componentInstances.map[it.name].join(', ')»;
+ «ENDIF»
+ «IF instantiation.component !== null && instantiation.component.type == ComponentDefinitionType.REG»
+ «IF instantiation.isFilledByField»
+ uint«instantiation.size»_t «instantiation.componentInstances.map['r_'+it.name].join(', ')»;
+ «ENDIF»
+ «IF !instantiation.isFilledByField»
+ BEGIN_BF_DECL(«instantiation.component.effectiveName»_t, uint«instantiation.size»_t);
+ «instantiation.definingComponent.genFieldDeclarations»
+ END_BF_DECL() «instantiation.componentInstances.map['r_'+it.name].join(', ')»;
+ «ENDIF»
+
+ «ENDIF»
+ «ENDFOR»
+ // register declarations
+ «FOR instantiation : componentDefinition.instantiations»
+ «FOR instance : instantiation.componentInstances»
+ «IF instantiation.isFilledByField»
+ sysc::sc_register «instance.name»;
+ «ENDIF»
+ «IF !instantiation.isFilledByField»
+ sysc::sc_register «instance.name»;
+ «ENDIF»
+ «ENDFOR»
+ «ENDFOR»
+
+ public:
+ «componentDefinition.name»(sc_core::sc_module_name nm);
+
+ template
+ void registerResources(sysc::tlm_target& target);
+ };
+ }
+ //////////////////////////////////////////////////////////////////////////////
+ // member functions
+ //////////////////////////////////////////////////////////////////////////////
+
+ inline sysc::«componentDefinition.name»::«componentDefinition.name»(sc_core::sc_module_name nm)
+ : sc_core::sc_module(nm)
+ «FOR instantiation : componentDefinition.instantiations»
+ «FOR instance : instantiation.componentInstances»
+ , NAMED(«instance.name», r_«instance.name», 0, *this)
+ «ENDFOR»
+ «ENDFOR»
+ {
+ }
+
+ template
+ inline void sysc::«componentDefinition.name»::registerResources(sysc::tlm_target& target) {
+ «FOR instantiation : componentDefinition.instantiations»
+ «FOR instance : instantiation.componentInstances»
+ target.addResource(«instance.name», 0x«Long.toHexString((instance.address as IntegerWithRadix).value)»UL, 0x«Long.toHexString((instantiation.size+7)/8)»UL);
+ «ENDFOR»
+ «ENDFOR»
+ }
+
+ #endif // _«componentDefinition.name.toUpperCase»_H_
+ '''
+
+ def boolean isFilledByField(Instantiation instantiation){
+ val fieldCount = instantiation.component.instanceCountOfType(ComponentDefinitionType.FIELD)
+ if(fieldCount==1) {
+ val instSize=instantiation.size
+ val field = instantiation.component.instantiationsOfType(ComponentDefinitionType.FIELD).get(0)
+ val inst = field.componentInstances.get(0)
+ val range = inst.range
+ if(range===null)
+ return instSize==field.size
+ if(range.size !== null)
+ return instSize==(range.size as IntegerWithRadix).value
+ else {
+ val left=(range.left as IntegerWithRadix).value
+ val right=(range.right as IntegerWithRadix).value
+ val size = if(left>right) left-right+1 else right-left+1
+ return instSize==size
+ }
+ }
+ return false
+ }
+
+ def int instanceCountOfType(ComponentDefinition definition, ComponentDefinitionType type){
+ definition.instantiationsOfType(type).map[it.componentInstances.size].reduce[p1, p2|p1+p1]
+ }
+
+ def instantiationsOfType(ComponentDefinition definition, ComponentDefinitionType type){
+ definition.instantiations.filter[it.definingComponent.type == type]
+ }
+
+ override generateSource() {
+ ''
+ }
+
+ def String genFieldDeclarations(ComponentDefinition componentDef){
+ var i=0L;
+ var res = ""
+ for( Instantiation inst: componentDef.instantiations){
+ for(ComponentInstance compInst : inst.componentInstances){
+ if(compInst.range.size!==null){
+ res+='''BF_FIELD(«compInst.name», «i», «(compInst.range.size as IntegerWithRadix).value»);
+ '''
+ i+=(compInst.range.size as IntegerWithRadix).value
+ } else {
+ val start =(compInst.range.left as IntegerWithRadix).value
+ val end = (compInst.range.right as IntegerWithRadix).value
+ res+='''BF_FIELD(«compInst.name», «end», «start-end+1»);
+ '''
+ i=Math.max(start, end)+1
+ }
+ }
+ }
+ res
+ }
+
+
+}
\ No newline at end of file
diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/scoping/RDLScopeProvider.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/scoping/RDLScopeProvider.xtend
index 4715611..d304d51 100644
--- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/scoping/RDLScopeProvider.xtend
+++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/scoping/RDLScopeProvider.xtend
@@ -4,19 +4,11 @@
package com.minres.rdl.scoping
import com.minres.rdl.rdl.ComponentDefinition
-import com.minres.rdl.rdl.ComponentInstance
-import com.minres.rdl.rdl.EnumDefinition
-import com.minres.rdl.rdl.InstanceRef
-import com.minres.rdl.rdl.NamedInstantiation
import com.minres.rdl.rdl.Root
-import java.util.ArrayList
import org.eclipse.emf.ecore.EObject
-import org.eclipse.emf.ecore.EReference
import org.eclipse.xtext.EcoreUtil2
import org.eclipse.xtext.scoping.IScope
import org.eclipse.xtext.scoping.Scopes
-import org.eclipse.emf.ecore.resource.Resource
-import java.util.List
/**
* This class contains custom scoping description.
@@ -67,47 +59,47 @@ class RDLScopeProvider extends AbstractRDLScopeProvider { //AbstractDeclarativeS
return Scopes.scopeFor(compDefs)
}
- dispatch def IScope getScopeWithInstancesAndEnums(ComponentDefinition componentDef){
- var res = new ArrayList()
- for(NamedInstantiation inst:componentDef.namedInstantiations)
- if(inst.componentInstances.size>0) res.addAll(inst.componentInstances)
- for(ComponentDefinition definition:componentDef.componentDefinitions)
- if(definition.immediateInstantiation!==null && definition.immediateInstantiation.componentInstances.size>0)
- res.addAll(definition.immediateInstantiation.componentInstances)
- return Scopes.scopeFor(res+componentDef.enumDefinitions, getScopeWithInstancesAndEnums(componentDef.eContainer))
- }
+// dispatch def IScope getScopeWithInstancesAndEnums(ComponentDefinition componentDef){
+// var res = new ArrayList()
+// for(NamedInstantiation inst:componentDef.namedInstantiations)
+// if(inst.componentInstances.size>0) res.addAll(inst.componentInstances)
+// for(ComponentDefinition definition:componentDef.componentDefinitions)
+// if(definition.immediateInstantiation!==null && definition.immediateInstantiation.componentInstances.size>0)
+// res.addAll(definition.immediateInstantiation.componentInstances)
+// return Scopes.scopeFor(res+componentDef.enumDefinitions, getScopeWithInstancesAndEnums(componentDef.eContainer))
+// }
+//
+// dispatch def IScope getScopeWithInstancesAndEnums(Root root){
+// var res = new ArrayList()
+// for(instantiation: root.namedInstantiations)
+// if(instantiation.componentInstances.size>0)
+// res.addAll(instantiation.componentInstances)
+// for(ComponentDefinition definition:root.componentDefinitions)
+// if(definition.immediateInstantiation!==null && definition.immediateInstantiation.componentInstances.size>0)
+// res.addAll(definition.immediateInstantiation.componentInstances)
+// var enums = EcoreUtil2.getAllContentsOfType(root, EnumDefinition)
+// for (incl : root.includes) {
+// val resource = EcoreUtil2.getResource(root.eResource, incl.importURI);
+// enums+=EcoreUtil2.getAllContentsOfType(resource.contents.head as Root, EnumDefinition)
+// }
+// return Scopes.scopeFor(res+enums)
+// }
- dispatch def IScope getScopeWithInstancesAndEnums(Root root){
- var res = new ArrayList()
- for(instantiation: root.namedInstantiations)
- if(instantiation.componentInstances.size>0)
- res.addAll(instantiation.componentInstances)
- for(ComponentDefinition definition:root.componentDefinitions)
- if(definition.immediateInstantiation!==null && definition.immediateInstantiation.componentInstances.size>0)
- res.addAll(definition.immediateInstantiation.componentInstances)
- var enums = EcoreUtil2.getAllContentsOfType(root, EnumDefinition)
- for (incl : root.includes) {
- val resource = EcoreUtil2.getResource(root.eResource, incl.importURI);
- enums+=EcoreUtil2.getAllContentsOfType(resource.contents.head as Root, EnumDefinition)
- }
- return Scopes.scopeFor(res+enums)
- }
-
- private def Root root(EObject definition){
- var container = definition.eContainer
- while(!(container instanceof Root)) container=container.eContainer
- return container as Root
- }
-
- private def ComponentDefinition componentDefinition(EObject obj){
- var container = obj.eContainer
- while(!(container instanceof Root)){
- if(container instanceof NamedInstantiation) return container.component
- if(container instanceof ComponentDefinition) return container
- container=container.eContainer
- }
- return null
- }
+// private def Root root(EObject definition){
+// var container = definition.eContainer
+// while(!(container instanceof Root)) container=container.eContainer
+// return container as Root
+// }
+//
+// private def ComponentDefinition componentDefinition(EObject obj){
+// var container = obj.eContainer
+// while(!(container instanceof Root)){
+//// if(container instanceof NamedInstantiation) return container.component
+// if(container instanceof ComponentDefinition) return container
+// container=container.eContainer
+// }
+// return null
+// }
// dispatch def Iterable allComponentDefinitions(ComponentDefinition definition){
// return definition.componentDefinitions + definition.eContainer.allComponentDefinitions
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.gitignore
new file mode 100644
index 0000000..a118563
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.gitignore
@@ -0,0 +1,2 @@
+/RDLRuntimeModule.java
+/RDLStandaloneSetup.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.gitignore
new file mode 100644
index 0000000..0842731
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.gitignore
@@ -0,0 +1,4 @@
+/IDValueConverter.java
+/NUMValueConverter.java
+/RdlTerminalConverters.java
+/STRValueConverter.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.gitignore
new file mode 100644
index 0000000..3449e7f
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.gitignore
@@ -0,0 +1 @@
+/RDLFormatter.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.gitignore
new file mode 100644
index 0000000..73a83a8
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.gitignore
@@ -0,0 +1 @@
+/RDLGenerator.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/AddrmapGenerator.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/AddrmapGenerator.java
new file mode 100644
index 0000000..d77eff4
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/AddrmapGenerator.java
@@ -0,0 +1,47 @@
+package com.minres.rdl.generator;
+
+import com.minres.rdl.generator.RdlBaseGenerator;
+import com.minres.rdl.rdl.ComponentDefinition;
+import org.eclipse.xtend2.lib.StringConcatenation;
+
+@SuppressWarnings("all")
+public class AddrmapGenerator extends RdlBaseGenerator {
+ private final ComponentDefinition componentDefinition;
+
+ public AddrmapGenerator(final ComponentDefinition definition) {
+ this.componentDefinition = definition;
+ }
+
+ @Override
+ public String generateHeader() {
+ StringConcatenation _builder = new StringConcatenation();
+ _builder.append("#ifndef _E300_PLAT_MAP_H_");
+ _builder.newLine();
+ _builder.append("#define _E300_PLAT_MAP_H_");
+ _builder.newLine();
+ _builder.append("// need double braces, see https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191");
+ _builder.newLine();
+ _builder.append("const std::array, 3> e300_plat_map = {{");
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("{&i_gpio, 0x10012000, 0x1000},");
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("{&i_uart, 0x10013000, 0x1000},");
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("{&i_spi, 0x10014000, 0x1000}");
+ _builder.newLine();
+ _builder.append("}};");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("#endif /* _E300_PLAT_MAP_H_ */");
+ _builder.newLine();
+ return _builder.toString();
+ }
+
+ @Override
+ public String generateSource() {
+ return "";
+ }
+}
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/Main.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/Main.java
new file mode 100644
index 0000000..8f36dfa
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/Main.java
@@ -0,0 +1,265 @@
+package com.minres.rdl.generator;
+
+import com.google.common.base.Objects;
+import com.google.inject.Inject;
+import com.google.inject.Injector;
+import com.google.inject.Provider;
+import com.minres.rdl.RDLStandaloneSetup;
+import java.lang.reflect.MalformedParametersException;
+import java.text.ParseException;
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.function.Consumer;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.mwe.utils.ProjectMapping;
+import org.eclipse.emf.mwe.utils.StandaloneSetup;
+import org.eclipse.xtext.generator.GeneratorContext;
+import org.eclipse.xtext.generator.GeneratorDelegate;
+import org.eclipse.xtext.generator.JavaIoFileSystemAccess;
+import org.eclipse.xtext.generator.OutputConfiguration;
+import org.eclipse.xtext.resource.XtextResource;
+import org.eclipse.xtext.resource.XtextResourceSet;
+import org.eclipse.xtext.util.CancelIndicator;
+import org.eclipse.xtext.validation.CheckMode;
+import org.eclipse.xtext.validation.IResourceValidator;
+import org.eclipse.xtext.validation.Issue;
+import org.eclipse.xtext.xbase.lib.CollectionLiterals;
+import org.eclipse.xtext.xbase.lib.Conversions;
+import org.eclipse.xtext.xbase.lib.Exceptions;
+import org.eclipse.xtext.xbase.lib.Functions.Function1;
+import org.eclipse.xtext.xbase.lib.InputOutput;
+import org.eclipse.xtext.xbase.lib.IterableExtensions;
+import org.eclipse.xtext.xbase.lib.ObjectExtensions;
+import org.eclipse.xtext.xbase.lib.Pair;
+import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
+
+@SuppressWarnings("all")
+public class Main {
+ public static class Option {
+ private String flag;
+
+ private String value;
+
+ public String Option(final String flag, final String value) {
+ String _xblockexpression = null;
+ {
+ this.flag = flag;
+ _xblockexpression = this.value = value;
+ }
+ return _xblockexpression;
+ }
+ }
+
+ public static void main(final String[] args) {
+ boolean _isEmpty = ((List)Conversions.doWrapArray(args)).isEmpty();
+ if (_isEmpty) {
+ System.err.println("Aborting: no path to EMF resource provided!");
+ return;
+ }
+ try {
+ final Injector injector = new RDLStandaloneSetup().createInjectorAndDoEMFRegistration();
+ injector.getInstance(Main.class).run(args);
+ } catch (final Throwable _t) {
+ if (_t instanceof MalformedParametersException) {
+ final MalformedParametersException e = (MalformedParametersException)_t;
+ String _message = e.getMessage();
+ String _plus = ("Command line error " + _message);
+ InputOutput.print(_plus);
+ } else if (_t instanceof IllegalArgumentException) {
+ final IllegalArgumentException e_1 = (IllegalArgumentException)_t;
+ String _message_1 = e_1.getMessage();
+ String _plus_1 = ("generation error " + _message_1);
+ InputOutput.print(_plus_1);
+ e_1.printStackTrace();
+ } else if (_t instanceof ParseException) {
+ final ParseException e_2 = (ParseException)_t;
+ String _message_2 = e_2.getMessage();
+ String _plus_2 = ("parse problem " + _message_2);
+ String _plus_3 = (_plus_2 + " (");
+ int _errorOffset = e_2.getErrorOffset();
+ String _plus_4 = (_plus_3 + Integer.valueOf(_errorOffset));
+ String _plus_5 = (_plus_4 + ")");
+ InputOutput.print(_plus_5);
+ } else {
+ throw Exceptions.sneakyThrow(_t);
+ }
+ }
+ }
+
+ @Inject
+ private Provider resourceSetProvider;
+
+ @Inject
+ private IResourceValidator validator;
+
+ @Inject
+ private GeneratorDelegate generator;
+
+ @Inject
+ private JavaIoFileSystemAccess fileAccess;
+
+ private ArrayList optsList = new ArrayList();
+
+ private ArrayList argsList = new ArrayList();
+
+ private final LinkedHashMap shortOptMap = CollectionLiterals.newLinkedHashMap(Pair.of("i", "incl-out"), Pair.of("s", "src-out"));
+
+ protected void parseOptions(final String[] args) {
+ for (final String arg : args) {
+ boolean _matched = false;
+ boolean _startsWith = arg.startsWith("--");
+ if (_startsWith) {
+ _matched=true;
+ int _length = arg.length();
+ boolean _lessThan = (_length < 3);
+ if (_lessThan) {
+ throw new MalformedParametersException(("not a valid argument: " + arg));
+ }
+ final String[] res = arg.substring(2).split("=");
+ Main.Option opt = new Main.Option();
+ final Function1 _function = (String s) -> {
+ Object _get = res[0];
+ return Boolean.valueOf(Objects.equal(s, _get));
+ };
+ final String longOpt = IterableExtensions.findFirst(this.shortOptMap.values(), _function);
+ if ((longOpt == null)) {
+ throw new IllegalArgumentException(("unknown option: " + arg));
+ }
+ opt.flag = res[0];
+ int _size = ((List)Conversions.doWrapArray(res)).size();
+ boolean _equals = (_size == 2);
+ if (_equals) {
+ opt.value = res[1];
+ }
+ this.optsList.add(opt);
+ }
+ if (!_matched) {
+ boolean _startsWith_1 = arg.startsWith("-");
+ if (_startsWith_1) {
+ _matched=true;
+ int _length_1 = arg.length();
+ boolean _lessThan_1 = (_length_1 < 2);
+ if (_lessThan_1) {
+ throw new MalformedParametersException(("not a valid argument: " + arg));
+ }
+ String[] res_1 = arg.substring(1).split("=");
+ final String longOpt_1 = this.shortOptMap.get(res_1[0]);
+ if ((longOpt_1 == null)) {
+ throw new MalformedParametersException(("unknown option: " + arg));
+ }
+ Main.Option opt_1 = new Main.Option();
+ opt_1.flag = longOpt_1;
+ final String[] _converted_res_1 = (String[])res_1;
+ int _size_1 = ((List)Conversions.doWrapArray(_converted_res_1)).size();
+ boolean _equals_1 = (_size_1 == 2);
+ if (_equals_1) {
+ opt_1.value = res_1[1];
+ }
+ this.optsList.add(opt_1);
+ }
+ }
+ if (!_matched) {
+ this.argsList.add(arg);
+ }
+ }
+ }
+
+ public void run(final String[] args) {
+ this.parseOptions(args);
+ final Function1 _function = (Main.Option it) -> {
+ return Boolean.valueOf(Objects.equal(it.flag, "repository"));
+ };
+ final Main.Option repo = IterableExtensions.findFirst(this.optsList, _function);
+ if ((repo != null)) {
+ final ProjectMapping projectMapping = new ProjectMapping();
+ projectMapping.setProjectName("RDL Repository");
+ projectMapping.setPath(repo.value);
+ new StandaloneSetup().addProjectMapping(projectMapping);
+ }
+ final Consumer _function_1 = (String it) -> {
+ this.runGenerator(it);
+ };
+ this.argsList.forEach(_function_1);
+ }
+
+ protected void runGenerator(final String string) {
+ try {
+ ResourceSet _get = this.resourceSetProvider.get();
+ final XtextResourceSet resourceSet = ((XtextResourceSet) _get);
+ resourceSet.addLoadOption(XtextResource.OPTION_RESOLVE_ALL, Boolean.TRUE);
+ final Resource resource = resourceSet.getResource(URI.createFileURI(string), true);
+ final List issues = this.validator.validate(resource, CheckMode.ALL, CancelIndicator.NullImpl);
+ boolean _isEmpty = issues.isEmpty();
+ boolean _not = (!_isEmpty);
+ if (_not) {
+ URI _uRI = resource.getURI();
+ String _plus = ("Error validating " + _uRI);
+ System.err.println(_plus);
+ final Consumer _function = (Issue it) -> {
+ System.err.println(it);
+ };
+ issues.forEach(_function);
+ URI _uRI_1 = resource.getURI();
+ String _plus_1 = ("error validating " + _uRI_1);
+ int _size = issues.size();
+ throw new ParseException(_plus_1, _size);
+ }
+ this.fileAccess.setOutputPath("src-gen/");
+ final Function1 _function_1 = (Main.Option it) -> {
+ return Boolean.valueOf(it.flag.matches(".*-out"));
+ };
+ final Consumer _function_2 = (Main.Option it) -> {
+ this.fileAccess.setOutputPath(it.flag, it.value);
+ };
+ IterableExtensions.filter(this.optsList, _function_1).forEach(_function_2);
+ OutputConfiguration _get_1 = this.fileAccess.getOutputConfigurations().get("src-out");
+ if (_get_1!=null) {
+ _get_1.setOverrideExistingResources(true);
+ }
+ GeneratorContext _generatorContext = new GeneratorContext();
+ final Procedure1 _function_3 = (GeneratorContext it) -> {
+ it.setCancelIndicator(CancelIndicator.NullImpl);
+ };
+ final GeneratorContext context = ObjectExtensions.operator_doubleArrow(_generatorContext, _function_3);
+ this.generator.generate(resource, this.fileAccess, context);
+ System.out.print((("Code generation for " + string) + " finished, "));
+ try {
+ URI _uRI_2 = this.fileAccess.getURI("", "incl-out");
+ String _plus_2 = ("includes are in " + _uRI_2);
+ String _plus_3 = (_plus_2 + ", ");
+ System.out.print(_plus_3);
+ } catch (final Throwable _t) {
+ if (_t instanceof Exception) {
+ final Exception e = (Exception)_t;
+ URI _uRI_3 = this.fileAccess.getURI("");
+ String _plus_4 = ("includes are in " + _uRI_3);
+ String _plus_5 = (_plus_4 + ", ");
+ System.out.print(_plus_5);
+ } else {
+ throw Exceptions.sneakyThrow(_t);
+ }
+ }
+ try {
+ URI _uRI_4 = this.fileAccess.getURI("", "src-out");
+ String _plus_6 = ("sources are in " + _uRI_4);
+ String _plus_7 = (_plus_6 + ", ");
+ System.out.println(_plus_7);
+ } catch (final Throwable _t_1) {
+ if (_t_1 instanceof Exception) {
+ final Exception e_1 = (Exception)_t_1;
+ URI _uRI_5 = this.fileAccess.getURI("");
+ String _plus_8 = ("sources are in " + _uRI_5);
+ String _plus_9 = (_plus_8 + ", ");
+ System.out.println(_plus_9);
+ } else {
+ throw Exceptions.sneakyThrow(_t_1);
+ }
+ }
+ } catch (Throwable _e) {
+ throw Exceptions.sneakyThrow(_e);
+ }
+ }
+}
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RDLGenerator.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RDLGenerator.java
index 67504c1..ad8b9ef 100644
--- a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RDLGenerator.java
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RDLGenerator.java
@@ -3,10 +3,20 @@
*/
package com.minres.rdl.generator;
+import com.minres.rdl.generator.AddrmapGenerator;
+import com.minres.rdl.generator.RdlBaseGenerator;
+import com.minres.rdl.generator.RegfileGenerator;
+import com.minres.rdl.rdl.ComponentDefinition;
+import com.minres.rdl.rdl.ComponentDefinitionType;
+import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.generator.AbstractGenerator;
import org.eclipse.xtext.generator.IFileSystemAccess2;
import org.eclipse.xtext.generator.IGeneratorContext;
+import org.eclipse.xtext.xbase.lib.Exceptions;
+import org.eclipse.xtext.xbase.lib.Functions.Function1;
+import org.eclipse.xtext.xbase.lib.IteratorExtensions;
+import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
/**
* Generates code from your model files on save.
@@ -17,5 +27,65 @@ import org.eclipse.xtext.generator.IGeneratorContext;
public class RDLGenerator extends AbstractGenerator {
@Override
public void doGenerate(final Resource resource, final IFileSystemAccess2 fsa, final IGeneratorContext context) {
+ final Function1 _function = (Notifier it) -> {
+ return Boolean.valueOf((it instanceof ComponentDefinition));
+ };
+ final Function1 _function_1 = (Notifier it) -> {
+ return ((ComponentDefinition) it);
+ };
+ final Procedure1 _function_2 = (ComponentDefinition it) -> {
+ final RdlBaseGenerator gen = this.fileGenerator(it);
+ if ((gen != null)) {
+ final String header = gen.generateHeader();
+ if (((header != null) && (header.length() > 0))) {
+ String _name = it.getName();
+ String _plus = (_name + ".h");
+ fsa.generateFile(_plus, this.outputConfig(fsa, "incl-out"), header);
+ }
+ final String source = gen.generateSource();
+ if (((source != null) && (source.length() > 0))) {
+ String _name_1 = it.getName();
+ String _plus_1 = (_name_1 + ".cpp");
+ fsa.generateFile(_plus_1, this.outputConfig(fsa, "src-out"), source);
+ }
+ }
+ };
+ IteratorExtensions.forEach(IteratorExtensions.map(IteratorExtensions.filter(resource.getResourceSet().getAllContents(), _function), _function_1), _function_2);
+ }
+
+ public RdlBaseGenerator fileGenerator(final ComponentDefinition definition) {
+ RdlBaseGenerator _switchResult = null;
+ ComponentDefinitionType _type = definition.getType();
+ if (_type != null) {
+ switch (_type) {
+ case REGFILE:
+ _switchResult = new RegfileGenerator(definition);
+ break;
+ case ADDRMAP:
+ _switchResult = new AddrmapGenerator(definition);
+ break;
+ default:
+ _switchResult = null;
+ break;
+ }
+ } else {
+ _switchResult = null;
+ }
+ return _switchResult;
+ }
+
+ public String outputConfig(final IFileSystemAccess2 fsa, final String string) {
+ String output_config = string;
+ try {
+ fsa.getURI("", output_config);
+ } catch (final Throwable _t) {
+ if (_t instanceof Exception) {
+ final Exception e = (Exception)_t;
+ output_config = "DEFAULT_OUTPUT";
+ } else {
+ throw Exceptions.sneakyThrow(_t);
+ }
+ }
+ return output_config;
}
}
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RdlBaseGenerator.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RdlBaseGenerator.java
new file mode 100644
index 0000000..60241d0
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RdlBaseGenerator.java
@@ -0,0 +1,167 @@
+package com.minres.rdl.generator;
+
+import com.google.common.base.Objects;
+import com.minres.rdl.IntegerWithRadix;
+import com.minres.rdl.rdl.ComponentDefinition;
+import com.minres.rdl.rdl.ComponentDefinitionType;
+import com.minres.rdl.rdl.EnumDefinition;
+import com.minres.rdl.rdl.ExplicitPropertyAssignment;
+import com.minres.rdl.rdl.InstancePropertyRef;
+import com.minres.rdl.rdl.Instantiation;
+import com.minres.rdl.rdl.PropertyAssignment;
+import com.minres.rdl.rdl.PropertyAssignmentRhs;
+import com.minres.rdl.rdl.PropertyEnum;
+import com.minres.rdl.rdl.RValue;
+import com.minres.rdl.rdl.RValueConstant;
+import org.eclipse.xtext.xbase.lib.Functions.Function1;
+import org.eclipse.xtext.xbase.lib.IterableExtensions;
+
+@SuppressWarnings("all")
+public abstract class RdlBaseGenerator {
+ public long accessWidth(final ComponentDefinition definition) {
+ long size = 32L;
+ final Function1 _function = (PropertyAssignment pa) -> {
+ return Boolean.valueOf(((pa instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa).getName(), PropertyEnum.ACCESSWIDTH)));
+ };
+ final PropertyAssignment pa = IterableExtensions.findFirst(definition.getPropertyAssignments(), _function);
+ if ((pa != null)) {
+ String _effectiveValue = this.effectiveValue(((ExplicitPropertyAssignment) pa).getRhs());
+ final IntegerWithRadix sz = new IntegerWithRadix(_effectiveValue);
+ size = sz.value;
+ }
+ return size;
+ }
+
+ public long getSize(final Instantiation instantiation) {
+ final ComponentDefinition componentDef = this.definingComponent(instantiation);
+ ComponentDefinitionType _type = componentDef.getType();
+ if (_type != null) {
+ switch (_type) {
+ case REG:
+ final Function1 _function = (PropertyAssignment pa) -> {
+ return Boolean.valueOf(((pa instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa).getName(), PropertyEnum.REGWIDTH)));
+ };
+ final PropertyAssignment pa = IterableExtensions.findFirst(componentDef.getPropertyAssignments(), _function);
+ if ((pa != null)) {
+ String _effectiveValue = this.effectiveValue(((ExplicitPropertyAssignment) pa).getRhs());
+ final IntegerWithRadix sz = new IntegerWithRadix(_effectiveValue);
+ return sz.value;
+ }
+ return 32L;
+ case FIELD:
+ final Function1 _function_1 = (PropertyAssignment pa_1) -> {
+ return Boolean.valueOf(((pa_1 instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa_1).getName(), PropertyEnum.FIELDWIDTH)));
+ };
+ final PropertyAssignment pa_1 = IterableExtensions.findFirst(componentDef.getPropertyAssignments(), _function_1);
+ if ((pa_1 != null)) {
+ String _effectiveValue_1 = this.effectiveValue(((ExplicitPropertyAssignment) pa_1).getRhs());
+ final IntegerWithRadix sz_1 = new IntegerWithRadix(_effectiveValue_1);
+ return sz_1.value;
+ }
+ return 1L;
+ default:
+ return 0L;
+ }
+ } else {
+ return 0L;
+ }
+ }
+
+ public String effectiveName(final ComponentDefinition definition) {
+ String _xifexpression = null;
+ String _name = definition.getName();
+ boolean _tripleNotEquals = (_name != null);
+ if (_tripleNotEquals) {
+ _xifexpression = definition.getName();
+ } else {
+ String _xblockexpression = null;
+ {
+ final Function1 _function = (PropertyAssignment pa) -> {
+ return Boolean.valueOf(((pa instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa).getName(), PropertyEnum.NAME)));
+ };
+ final PropertyAssignment pa = IterableExtensions.findFirst(definition.getPropertyAssignments(), _function);
+ _xblockexpression = this.effectiveValue(((ExplicitPropertyAssignment) pa).getRhs());
+ }
+ _xifexpression = _xblockexpression;
+ }
+ return _xifexpression;
+ }
+
+ public String effectiveValue(final PropertyAssignmentRhs rhs) {
+ String _xifexpression = null;
+ RValue _value = rhs.getValue();
+ boolean _tripleNotEquals = (_value != null);
+ if (_tripleNotEquals) {
+ _xifexpression = this.effectiveValue(rhs.getValue());
+ } else {
+ String _xifexpression_1 = null;
+ InstancePropertyRef _instPropRef = rhs.getInstPropRef();
+ boolean _tripleNotEquals_1 = (_instPropRef != null);
+ if (_tripleNotEquals_1) {
+ _xifexpression_1 = this.effectiveValue(rhs.getInstPropRef());
+ } else {
+ String _xifexpression_2 = null;
+ EnumDefinition _enumRef = rhs.getEnumRef();
+ boolean _tripleNotEquals_2 = (_enumRef != null);
+ if (_tripleNotEquals_2) {
+ _xifexpression_2 = rhs.getEnumRef().getName();
+ }
+ _xifexpression_1 = _xifexpression_2;
+ }
+ _xifexpression = _xifexpression_1;
+ }
+ return _xifexpression;
+ }
+
+ public String effectiveValue(final RValue rvalue) {
+ String _xifexpression = null;
+ String _str = rvalue.getStr();
+ boolean _tripleNotEquals = (_str != null);
+ if (_tripleNotEquals) {
+ _xifexpression = rvalue.getStr();
+ } else {
+ String _xifexpression_1 = null;
+ RValueConstant _val = rvalue.getVal();
+ boolean _notEquals = (!Objects.equal(_val, RValueConstant.UNDEFINED));
+ if (_notEquals) {
+ _xifexpression_1 = rvalue.getVal().getLiteral();
+ } else {
+ String _xifexpression_2 = null;
+ Object _num = rvalue.getNum();
+ boolean _tripleNotEquals_1 = (_num != null);
+ if (_tripleNotEquals_1) {
+ String _xblockexpression = null;
+ {
+ Object _num_1 = rvalue.getNum();
+ final IntegerWithRadix num = ((IntegerWithRadix) _num_1);
+ _xblockexpression = num.toString();
+ }
+ _xifexpression_2 = _xblockexpression;
+ }
+ _xifexpression_1 = _xifexpression_2;
+ }
+ _xifexpression = _xifexpression_1;
+ }
+ return _xifexpression;
+ }
+
+ public String effectiveValue(final InstancePropertyRef ref) {
+ return null;
+ }
+
+ public ComponentDefinition definingComponent(final Instantiation instantiation) {
+ ComponentDefinition _xifexpression = null;
+ ComponentDefinition _componentRef = instantiation.getComponentRef();
+ boolean _tripleNotEquals = (_componentRef != null);
+ if (_tripleNotEquals) {
+ _xifexpression = instantiation.getComponentRef();
+ } else {
+ _xifexpression = instantiation.getComponent();
+ }
+ return _xifexpression;
+ }
+
+ public abstract String generateHeader();
+
+ public abstract String generateSource();
+}
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RegfileGenerator.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RegfileGenerator.java
new file mode 100644
index 0000000..d688f78
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RegfileGenerator.java
@@ -0,0 +1,504 @@
+package com.minres.rdl.generator;
+
+import com.google.common.base.Objects;
+import com.minres.rdl.IntegerWithRadix;
+import com.minres.rdl.generator.RdlBaseGenerator;
+import com.minres.rdl.rdl.ComponentDefinition;
+import com.minres.rdl.rdl.ComponentDefinitionType;
+import com.minres.rdl.rdl.ComponentInstance;
+import com.minres.rdl.rdl.Instantiation;
+import com.minres.rdl.rdl.Range;
+import java.util.Date;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.xtend2.lib.StringConcatenation;
+import org.eclipse.xtext.xbase.lib.Conversions;
+import org.eclipse.xtext.xbase.lib.Functions.Function1;
+import org.eclipse.xtext.xbase.lib.Functions.Function2;
+import org.eclipse.xtext.xbase.lib.IterableExtensions;
+import org.eclipse.xtext.xbase.lib.ListExtensions;
+
+@SuppressWarnings("all")
+public class RegfileGenerator extends RdlBaseGenerator {
+ private final ComponentDefinition componentDefinition;
+
+ public RegfileGenerator(final ComponentDefinition definition) {
+ this.componentDefinition = definition;
+ }
+
+ @Override
+ public String generateHeader() {
+ StringConcatenation _builder = new StringConcatenation();
+ _builder.append("////////////////////////////////////////////////////////////////////////////////");
+ _builder.newLine();
+ _builder.append("// Copyright (C) 2017, MINRES Technologies GmbH");
+ _builder.newLine();
+ _builder.append("// All rights reserved.");
+ _builder.newLine();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("// Redistribution and use in source and binary forms, with or without");
+ _builder.newLine();
+ _builder.append("// modification, are permitted provided that the following conditions are met:");
+ _builder.newLine();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("// 1. Redistributions of source code must retain the above copyright notice,");
+ _builder.newLine();
+ _builder.append("// this list of conditions and the following disclaimer.");
+ _builder.newLine();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("// 2. Redistributions in binary form must reproduce the above copyright notice,");
+ _builder.newLine();
+ _builder.append("// this list of conditions and the following disclaimer in the documentation");
+ _builder.newLine();
+ _builder.append("// and/or other materials provided with the distribution.");
+ _builder.newLine();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("// 3. Neither the name of the copyright holder nor the names of its contributors");
+ _builder.newLine();
+ _builder.append("// may be used to endorse or promote products derived from this software");
+ _builder.newLine();
+ _builder.append("// without specific prior written permission.");
+ _builder.newLine();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"");
+ _builder.newLine();
+ _builder.append("// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE");
+ _builder.newLine();
+ _builder.append("// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE");
+ _builder.newLine();
+ _builder.append("// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE");
+ _builder.newLine();
+ _builder.append("// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR");
+ _builder.newLine();
+ _builder.append("// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF");
+ _builder.newLine();
+ _builder.append("// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS");
+ _builder.newLine();
+ _builder.append("// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN");
+ _builder.newLine();
+ _builder.append("// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)");
+ _builder.newLine();
+ _builder.append("// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE");
+ _builder.newLine();
+ _builder.append("// POSSIBILITY OF SUCH DAMAGE.");
+ _builder.newLine();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("// Created on: ");
+ Date _date = new Date();
+ _builder.append(_date);
+ _builder.newLineIfNotEmpty();
+ _builder.append("// * ");
+ String _name = this.componentDefinition.getName();
+ _builder.append(_name);
+ _builder.append(".h Author: ");
+ _builder.newLineIfNotEmpty();
+ _builder.append("//");
+ _builder.newLine();
+ _builder.append("////////////////////////////////////////////////////////////////////////////////");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("#ifndef _");
+ String _upperCase = this.componentDefinition.getName().toUpperCase();
+ _builder.append(_upperCase);
+ _builder.append("_H_");
+ _builder.newLineIfNotEmpty();
+ _builder.append("#define _");
+ String _upperCase_1 = this.componentDefinition.getName().toUpperCase();
+ _builder.append(_upperCase_1);
+ _builder.append("_H_");
+ _builder.newLineIfNotEmpty();
+ _builder.newLine();
+ _builder.append("#include ");
+ _builder.newLine();
+ _builder.append("#include ");
+ _builder.newLine();
+ _builder.append("#include ");
+ _builder.newLine();
+ _builder.append("#include ");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("namespace sysc {");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("class ");
+ String _name_1 = this.componentDefinition.getName();
+ _builder.append(_name_1);
+ _builder.append(" :");
+ _builder.newLineIfNotEmpty();
+ _builder.append(" ");
+ _builder.append("public sc_core::sc_module,");
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("public sysc::resetable");
+ _builder.newLine();
+ _builder.append("{");
+ _builder.newLine();
+ _builder.append("protected:");
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("// storage declarations");
+ _builder.newLine();
+ {
+ EList _componentDefinitions = this.componentDefinition.getComponentDefinitions();
+ for(final ComponentDefinition cdef : _componentDefinitions) {
+ {
+ ComponentDefinitionType _type = cdef.getType();
+ boolean _equals = Objects.equal(_type, ComponentDefinitionType.REG);
+ if (_equals) {
+ _builder.append(" ");
+ _builder.append("BEGIN_BF_DECL(");
+ String _effectiveName = this.effectiveName(cdef);
+ _builder.append(_effectiveName, " ");
+ _builder.append("+\'_t\'», uint");
+ _builder.append(cdef, " ");
+ _builder.append("_t);");
+ _builder.newLineIfNotEmpty();
+ _builder.append(" ");
+ String _genFieldDeclarations = this.genFieldDeclarations(cdef);
+ _builder.append(_genFieldDeclarations, " ");
+ _builder.newLineIfNotEmpty();
+ _builder.append(" ");
+ _builder.append("END_BF_DECL();");
+ _builder.newLine();
+ }
+ }
+ }
+ }
+ {
+ EList _instantiations = this.componentDefinition.getInstantiations();
+ for(final Instantiation instantiation : _instantiations) {
+ {
+ if (((instantiation.getComponentRef() != null) && Objects.equal(instantiation.getComponentRef().getType(), ComponentDefinitionType.REG))) {
+ _builder.append(" ");
+ String _effectiveName_1 = this.effectiveName(instantiation.getComponentRef());
+ _builder.append(_effectiveName_1, " ");
+ _builder.append("+\'_t\' ");
+ final Function1 _function = (ComponentInstance it) -> {
+ return it.getName();
+ };
+ String _join = IterableExtensions.join(ListExtensions.map(instantiation.getComponentInstances(), _function), ", ");
+ _builder.append(_join, " ");
+ _builder.append(";");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ {
+ if (((instantiation.getComponent() != null) && Objects.equal(instantiation.getComponent().getType(), ComponentDefinitionType.REG))) {
+ {
+ boolean _isFilledByField = this.isFilledByField(instantiation);
+ if (_isFilledByField) {
+ _builder.append(" ");
+ _builder.append("uint");
+ long _size = this.getSize(instantiation);
+ _builder.append(_size, " ");
+ _builder.append("_t ");
+ final Function1 _function_1 = (ComponentInstance it) -> {
+ String _name_2 = it.getName();
+ return ("r_" + _name_2);
+ };
+ String _join_1 = IterableExtensions.join(ListExtensions.map(instantiation.getComponentInstances(), _function_1), ", ");
+ _builder.append(_join_1, " ");
+ _builder.append(";");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ {
+ boolean _isFilledByField_1 = this.isFilledByField(instantiation);
+ boolean _not = (!_isFilledByField_1);
+ if (_not) {
+ _builder.append(" ");
+ _builder.append("BEGIN_BF_DECL(");
+ String _effectiveName_2 = this.effectiveName(instantiation.getComponent());
+ _builder.append(_effectiveName_2, " ");
+ _builder.append("_t, uint");
+ long _size_1 = this.getSize(instantiation);
+ _builder.append(_size_1, " ");
+ _builder.append("_t);");
+ _builder.newLineIfNotEmpty();
+ _builder.append(" ");
+ _builder.append(" ");
+ String _genFieldDeclarations_1 = this.genFieldDeclarations(this.definingComponent(instantiation));
+ _builder.append(_genFieldDeclarations_1, " ");
+ _builder.newLineIfNotEmpty();
+ _builder.append(" ");
+ _builder.append("END_BF_DECL() ");
+ final Function1 _function_2 = (ComponentInstance it) -> {
+ String _name_2 = it.getName();
+ return ("r_" + _name_2);
+ };
+ String _join_2 = IterableExtensions.join(ListExtensions.map(instantiation.getComponentInstances(), _function_2), ", ");
+ _builder.append(_join_2, " ");
+ _builder.append(";");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ _builder.append(" ");
+ _builder.newLine();
+ }
+ }
+ }
+ }
+ _builder.append(" ");
+ _builder.append("// register declarations");
+ _builder.newLine();
+ {
+ EList _instantiations_1 = this.componentDefinition.getInstantiations();
+ for(final Instantiation instantiation_1 : _instantiations_1) {
+ {
+ EList _componentInstances = instantiation_1.getComponentInstances();
+ for(final ComponentInstance instance : _componentInstances) {
+ {
+ boolean _isFilledByField_2 = this.isFilledByField(instantiation_1);
+ if (_isFilledByField_2) {
+ _builder.append(" ");
+ _builder.append("sysc::sc_register ");
+ String _name_2 = instance.getName();
+ _builder.append(_name_2, " ");
+ _builder.append(";");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ {
+ boolean _isFilledByField_3 = this.isFilledByField(instantiation_1);
+ boolean _not_1 = (!_isFilledByField_3);
+ if (_not_1) {
+ _builder.append(" ");
+ _builder.append("sysc::sc_register ");
+ String _name_3 = instance.getName();
+ _builder.append(_name_3, " ");
+ _builder.append(";");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ }
+ }
+ }
+ }
+ _builder.append(" ");
+ _builder.newLine();
+ _builder.append("public:");
+ _builder.newLine();
+ _builder.append(" ");
+ String _name_4 = this.componentDefinition.getName();
+ _builder.append(_name_4, " ");
+ _builder.append("(sc_core::sc_module_name nm);");
+ _builder.newLineIfNotEmpty();
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("template");
+ _builder.newLine();
+ _builder.append(" ");
+ _builder.append("void registerResources(sysc::tlm_target& target);");
+ _builder.newLine();
+ _builder.append("};");
+ _builder.newLine();
+ _builder.append("}");
+ _builder.newLine();
+ _builder.append("//////////////////////////////////////////////////////////////////////////////");
+ _builder.newLine();
+ _builder.append("// member functions");
+ _builder.newLine();
+ _builder.append("//////////////////////////////////////////////////////////////////////////////");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("inline sysc::");
+ String _name_5 = this.componentDefinition.getName();
+ _builder.append(_name_5);
+ _builder.append("::");
+ String _name_6 = this.componentDefinition.getName();
+ _builder.append(_name_6);
+ _builder.append("(sc_core::sc_module_name nm)");
+ _builder.newLineIfNotEmpty();
+ _builder.append(": sc_core::sc_module(nm)");
+ _builder.newLine();
+ {
+ EList _instantiations_2 = this.componentDefinition.getInstantiations();
+ for(final Instantiation instantiation_2 : _instantiations_2) {
+ {
+ EList _componentInstances_1 = instantiation_2.getComponentInstances();
+ for(final ComponentInstance instance_1 : _componentInstances_1) {
+ _builder.append(", NAMED(");
+ String _name_7 = instance_1.getName();
+ _builder.append(_name_7);
+ _builder.append(", r_");
+ String _name_8 = instance_1.getName();
+ _builder.append(_name_8);
+ _builder.append(", 0, *this)");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ }
+ }
+ _builder.append("{");
+ _builder.newLine();
+ _builder.append("}");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("template");
+ _builder.newLine();
+ _builder.append("inline void sysc::");
+ String _name_9 = this.componentDefinition.getName();
+ _builder.append(_name_9);
+ _builder.append("::registerResources(sysc::tlm_target& target) {");
+ _builder.newLineIfNotEmpty();
+ {
+ EList _instantiations_3 = this.componentDefinition.getInstantiations();
+ for(final Instantiation instantiation_3 : _instantiations_3) {
+ {
+ EList _componentInstances_2 = instantiation_3.getComponentInstances();
+ for(final ComponentInstance instance_2 : _componentInstances_2) {
+ _builder.append(" ");
+ _builder.append("target.addResource(");
+ String _name_10 = instance_2.getName();
+ _builder.append(_name_10, " ");
+ _builder.append(", 0x");
+ Object _address = instance_2.getAddress();
+ String _hexString = Long.toHexString(((IntegerWithRadix) _address).value);
+ _builder.append(_hexString, " ");
+ _builder.append("UL, 0x");
+ long _size_3 = this.getSize(instantiation_3);
+ long _plus = (_size_3 + 7);
+ long _divide = (_plus / 8);
+ String _hexString_1 = Long.toHexString(_divide);
+ _builder.append(_hexString_1, " ");
+ _builder.append("UL);");
+ _builder.newLineIfNotEmpty();
+ }
+ }
+ }
+ }
+ _builder.append("}");
+ _builder.newLine();
+ _builder.newLine();
+ _builder.append("#endif // _");
+ String _upperCase_2 = this.componentDefinition.getName().toUpperCase();
+ _builder.append(_upperCase_2);
+ _builder.append("_H_");
+ _builder.newLineIfNotEmpty();
+ return _builder.toString();
+ }
+
+ public boolean isFilledByField(final Instantiation instantiation) {
+ final int fieldCount = this.instanceCountOfType(instantiation.getComponent(), ComponentDefinitionType.FIELD);
+ if ((fieldCount == 1)) {
+ final long instSize = this.getSize(instantiation);
+ final Instantiation field = ((Instantiation[])Conversions.unwrapArray(this.instantiationsOfType(instantiation.getComponent(), ComponentDefinitionType.FIELD), Instantiation.class))[0];
+ final ComponentInstance inst = field.getComponentInstances().get(0);
+ final Range range = inst.getRange();
+ if ((range == null)) {
+ long _size = this.getSize(field);
+ return (instSize == _size);
+ }
+ Object _size_1 = range.getSize();
+ boolean _tripleNotEquals = (_size_1 != null);
+ if (_tripleNotEquals) {
+ Object _size_2 = range.getSize();
+ return (instSize == ((IntegerWithRadix) _size_2).value);
+ } else {
+ Object _left = range.getLeft();
+ final long left = ((IntegerWithRadix) _left).value;
+ Object _right = range.getRight();
+ final long right = ((IntegerWithRadix) _right).value;
+ long _xifexpression = (long) 0;
+ if ((left > right)) {
+ _xifexpression = ((left - right) + 1);
+ } else {
+ _xifexpression = ((right - left) + 1);
+ }
+ final long size = _xifexpression;
+ return (instSize == size);
+ }
+ }
+ return false;
+ }
+
+ public int instanceCountOfType(final ComponentDefinition definition, final ComponentDefinitionType type) {
+ final Function1 _function = (Instantiation it) -> {
+ return Integer.valueOf(it.getComponentInstances().size());
+ };
+ final Function2 _function_1 = (Integer p1, Integer p2) -> {
+ return Integer.valueOf(((p1).intValue() + (p1).intValue()));
+ };
+ return (int) IterableExtensions.reduce(IterableExtensions.map(this.instantiationsOfType(definition, type), _function), _function_1);
+ }
+
+ public Iterable instantiationsOfType(final ComponentDefinition definition, final ComponentDefinitionType type) {
+ final Function1 _function = (Instantiation it) -> {
+ ComponentDefinitionType _type = this.definingComponent(it).getType();
+ return Boolean.valueOf(Objects.equal(_type, type));
+ };
+ return IterableExtensions.filter(definition.getInstantiations(), _function);
+ }
+
+ @Override
+ public String generateSource() {
+ return "";
+ }
+
+ public String genFieldDeclarations(final ComponentDefinition componentDef) {
+ String _xblockexpression = null;
+ {
+ long i = 0L;
+ String res = "";
+ EList _instantiations = componentDef.getInstantiations();
+ for (final Instantiation inst : _instantiations) {
+ EList _componentInstances = inst.getComponentInstances();
+ for (final ComponentInstance compInst : _componentInstances) {
+ Object _size = compInst.getRange().getSize();
+ boolean _tripleNotEquals = (_size != null);
+ if (_tripleNotEquals) {
+ String _res = res;
+ StringConcatenation _builder = new StringConcatenation();
+ _builder.append("BF_FIELD(");
+ String _name = compInst.getName();
+ _builder.append(_name);
+ _builder.append(", ");
+ _builder.append(i);
+ _builder.append(", ");
+ Object _size_1 = compInst.getRange().getSize();
+ _builder.append(((IntegerWithRadix) _size_1).value);
+ _builder.append(");");
+ _builder.newLineIfNotEmpty();
+ res = (_res + _builder);
+ long _i = i;
+ Object _size_2 = compInst.getRange().getSize();
+ i = (_i + ((IntegerWithRadix) _size_2).value);
+ } else {
+ Object _left = compInst.getRange().getLeft();
+ final long start = ((IntegerWithRadix) _left).value;
+ Object _right = compInst.getRange().getRight();
+ final long end = ((IntegerWithRadix) _right).value;
+ String _res_1 = res;
+ StringConcatenation _builder_1 = new StringConcatenation();
+ _builder_1.append("BF_FIELD(");
+ String _name_1 = compInst.getName();
+ _builder_1.append(_name_1);
+ _builder_1.append(", ");
+ _builder_1.append(end);
+ _builder_1.append(", ");
+ _builder_1.append(((start - end) + 1));
+ _builder_1.append(");");
+ _builder_1.newLineIfNotEmpty();
+ res = (_res_1 + _builder_1);
+ long _max = Math.max(start, end);
+ long _plus = (_max + 1);
+ i = _plus;
+ }
+ }
+ }
+ _xblockexpression = res;
+ }
+ return _xblockexpression;
+ }
+}
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.gitignore
new file mode 100644
index 0000000..5d145e8
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.gitignore
@@ -0,0 +1 @@
+/RDLSyntaxErrorMessageProvider.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.gitignore
new file mode 100644
index 0000000..d5be34e
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.gitignore
@@ -0,0 +1 @@
+/RDLScopeProvider.java
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/RDLScopeProvider.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/RDLScopeProvider.java
index d7e0854..89fe097 100644
--- a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/RDLScopeProvider.java
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/RDLScopeProvider.java
@@ -5,16 +5,10 @@ package com.minres.rdl.scoping;
import com.google.common.collect.Iterables;
import com.minres.rdl.rdl.ComponentDefinition;
-import com.minres.rdl.rdl.ComponentInstance;
-import com.minres.rdl.rdl.Entity;
-import com.minres.rdl.rdl.EnumDefinition;
import com.minres.rdl.rdl.Include;
-import com.minres.rdl.rdl.NamedInstantiation;
import com.minres.rdl.rdl.Root;
import com.minres.rdl.scoping.AbstractRDLScopeProvider;
-import java.util.ArrayList;
import java.util.Arrays;
-import java.util.List;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
@@ -52,81 +46,6 @@ public class RDLScopeProvider extends AbstractRDLScopeProvider {
return Scopes.scopeFor(compDefs);
}
- protected IScope _getScopeWithInstancesAndEnums(final ComponentDefinition componentDef) {
- ArrayList res = new ArrayList();
- EList _namedInstantiations = componentDef.getNamedInstantiations();
- for (final NamedInstantiation inst : _namedInstantiations) {
- int _size = inst.getComponentInstances().size();
- boolean _greaterThan = (_size > 0);
- if (_greaterThan) {
- res.addAll(inst.getComponentInstances());
- }
- }
- EList _componentDefinitions = componentDef.getComponentDefinitions();
- for (final ComponentDefinition definition : _componentDefinitions) {
- if (((definition.getImmediateInstantiation() != null) && (definition.getImmediateInstantiation().getComponentInstances().size() > 0))) {
- res.addAll(definition.getImmediateInstantiation().getComponentInstances());
- }
- }
- EList _enumDefinitions = componentDef.getEnumDefinitions();
- Iterable _plus = Iterables.concat(res, _enumDefinitions);
- return Scopes.scopeFor(_plus, this.getScopeWithInstancesAndEnums(componentDef.eContainer()));
- }
-
- protected IScope _getScopeWithInstancesAndEnums(final Root root) {
- ArrayList res = new ArrayList();
- EList _namedInstantiations = root.getNamedInstantiations();
- for (final NamedInstantiation instantiation : _namedInstantiations) {
- int _size = instantiation.getComponentInstances().size();
- boolean _greaterThan = (_size > 0);
- if (_greaterThan) {
- res.addAll(instantiation.getComponentInstances());
- }
- }
- EList _componentDefinitions = root.getComponentDefinitions();
- for (final ComponentDefinition definition : _componentDefinitions) {
- if (((definition.getImmediateInstantiation() != null) && (definition.getImmediateInstantiation().getComponentInstances().size() > 0))) {
- res.addAll(definition.getImmediateInstantiation().getComponentInstances());
- }
- }
- List enums = EcoreUtil2.getAllContentsOfType(root, EnumDefinition.class);
- EList _includes = root.getIncludes();
- for (final Include incl : _includes) {
- {
- final Resource resource = EcoreUtil2.getResource(root.eResource(), incl.getImportURI());
- EObject _head = IterableExtensions.head(resource.getContents());
- List _allContentsOfType = EcoreUtil2.getAllContentsOfType(((Root) _head), EnumDefinition.class);
- Iterables.addAll(enums, _allContentsOfType);
- }
- }
- Iterable _plus = Iterables.concat(res, enums);
- return Scopes.scopeFor(_plus);
- }
-
- private Root root(final EObject definition) {
- EObject container = definition.eContainer();
- while ((!(container instanceof Root))) {
- container = container.eContainer();
- }
- return ((Root) container);
- }
-
- private ComponentDefinition componentDefinition(final EObject obj) {
- EObject container = obj.eContainer();
- while ((!(container instanceof Root))) {
- {
- if ((container instanceof NamedInstantiation)) {
- return ((NamedInstantiation)container).getComponent();
- }
- if ((container instanceof ComponentDefinition)) {
- return ((ComponentDefinition)container);
- }
- container = container.eContainer();
- }
- }
- return null;
- }
-
public IScope getScopeWithComponentDefinition(final EObject componentDef) {
if (componentDef instanceof ComponentDefinition) {
return _getScopeWithComponentDefinition((ComponentDefinition)componentDef);
@@ -137,15 +56,4 @@ public class RDLScopeProvider extends AbstractRDLScopeProvider {
Arrays.asList(componentDef).toString());
}
}
-
- public IScope getScopeWithInstancesAndEnums(final EObject componentDef) {
- if (componentDef instanceof ComponentDefinition) {
- return _getScopeWithInstancesAndEnums((ComponentDefinition)componentDef);
- } else if (componentDef instanceof Root) {
- return _getScopeWithInstancesAndEnums((Root)componentDef);
- } else {
- throw new IllegalArgumentException("Unhandled parameter types: " +
- Arrays.asList(componentDef).toString());
- }
- }
}
diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.gitignore b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.gitignore
new file mode 100644
index 0000000..ef4a320
--- /dev/null
+++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.gitignore
@@ -0,0 +1 @@
+/RDLValidator.java