commit fd1e04fb629fa33c945144adaa66310b6a92d528 Author: Eyck Jentzsch Date: Tue Sep 12 12:48:21 2017 +0200 Iniital checkin diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9268db7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +com.minres.rdl.parent/com.minres.rdl/.launch +com.minres.rdl.parent/com.minres.rdl.ui/target +com.minres.rdl.parent/com.minres.rdl.ui.tests/target +com.minres.rdl.parent/com.minres.rdl.tests/target +com.minres.rdl.parent/com.minres.rdl.ide/target +com.minres.rdl.parent/com.minres.rdl/target diff --git a/com.minres.rdl.parent/.project b/com.minres.rdl.parent/.project new file mode 100644 index 0000000..4703d4d --- /dev/null +++ b/com.minres.rdl.parent/.project @@ -0,0 +1,17 @@ + + + com.minres.rdl.parent + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/com.minres.rdl.parent/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.feature/.project b/com.minres.rdl.parent/com.minres.rdl.feature/.project new file mode 100644 index 0000000..4f4f9d8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.feature/.project @@ -0,0 +1,23 @@ + + + com.minres.rdl.feature + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.pde.FeatureNature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.feature/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.feature/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.feature/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.feature/build.properties b/com.minres.rdl.parent/com.minres.rdl.feature/build.properties new file mode 100644 index 0000000..64f93a9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml b/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml new file mode 100644 index 0000000..cb5ccc5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.feature/pom.xml b/com.minres.rdl.parent/com.minres.rdl.feature/pom.xml new file mode 100644 index 0000000..bfea831 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.feature/pom.xml @@ -0,0 +1,15 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.feature + eclipse-feature + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/.classpath b/com.minres.rdl.parent/com.minres.rdl.ide/.classpath new file mode 100644 index 0000000..8d26fa5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/.project b/com.minres.rdl.parent/com.minres.rdl.ide/.project new file mode 100644 index 0000000..d75488a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/.project @@ -0,0 +1,40 @@ + + + com.minres.rdl.ide + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.ide/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/.settings/org.eclipse.jdt.core.prefs b/com.minres.rdl.parent/com.minres.rdl.ide/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..0c68a61 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/META-INF/MANIFEST.MF b/com.minres.rdl.parent/com.minres.rdl.ide/META-INF/MANIFEST.MF new file mode 100644 index 0000000..e537fb9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: com.minres.rdl.ide +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: com.minres.rdl.ide; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: com.minres.rdl, + org.eclipse.xtext.ide, + org.eclipse.xtext.xbase.ide, + org.antlr.runtime +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: com.minres.rdl.ide.contentassist.antlr.internal, + com.minres.rdl.ide.contentassist.antlr + diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/build.properties b/com.minres.rdl.parent/com.minres.rdl.ide/build.properties new file mode 100644 index 0000000..5c6bbf9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/build.properties @@ -0,0 +1,6 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = .,\ + META-INF/ +bin.excludes = **/*.xtend diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml b/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml new file mode 100644 index 0000000..ba6e67e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.ide + eclipse-plugin + + + + + org.eclipse.xtend + xtend-maven-plugin + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup new file mode 100644 index 0000000..1667f1b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup @@ -0,0 +1 @@ +com.minres.rdl.ide.RDLIdeSetup diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/AbstractRDLIdeModule.java b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/AbstractRDLIdeModule.java new file mode 100644 index 0000000..5d00628 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/AbstractRDLIdeModule.java @@ -0,0 +1,47 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide; + +import com.google.inject.Binder; +import com.google.inject.name.Names; +import com.minres.rdl.ide.contentassist.antlr.RDLParser; +import com.minres.rdl.ide.contentassist.antlr.internal.InternalRDLLexer; +import org.eclipse.xtext.ide.DefaultIdeModule; +import org.eclipse.xtext.ide.LexerIdeBindings; +import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher; +import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher; +import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper; +import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper; +import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; + +/** + * Manual modifications go to {@link RDLIdeModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractRDLIdeModule extends DefaultIdeModule { + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureContentAssistLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) + .to(InternalRDLLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIContentAssistParser() { + return RDLParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIProposalConflictHelper() { + return AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindIPrefixMatcher() { + return FQNPrefixMatcher.class; + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/PartialRDLContentAssistParser.java b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/PartialRDLContentAssistParser.java new file mode 100644 index 0000000..e33a07f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/PartialRDLContentAssistParser.java @@ -0,0 +1,34 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +public class PartialRDLContentAssistParser extends RDLParser implements IPartialEditingContentAssistParser { + + private AbstractRule rule; + + @Override + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher> dispatcher = + new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} 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 new file mode 100644 index 0000000..c5cc83a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/RDLParser.java @@ -0,0 +1,219 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide.contentassist.antlr; + +import com.google.inject.Inject; +import com.minres.rdl.ide.contentassist.antlr.internal.InternalRDLParser; +import com.minres.rdl.services.RDLGrammarAccess; +import java.util.HashMap; +import java.util.Map; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; + +public class RDLParser extends AbstractContentAssistParser { + + @Inject + private RDLGrammarAccess grammarAccess; + + private Map nameMappings; + + @Override + protected InternalRDLParser createParser() { + InternalRDLParser result = new InternalRDLParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + if (nameMappings == null) { + nameMappings = new HashMap() { + private static final long serialVersionUID = 1L; + { + put(grammarAccess.getRootAccess().getAlternatives(), "rule__Root__Alternatives"); + put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3(), "rule__PropertyDefinition__Alternatives_3"); + put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4(), "rule__PropertyDefinition__Alternatives_3_0_4"); + put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1(), "rule__PropertyDefinition__Alternatives_3_1_1"); + 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.getRangeAccess().getAlternatives_1(), "rule__Range__Alternatives_1"); + put(grammarAccess.getPropertyAssignmentAccess().getAlternatives(), "rule__PropertyAssignment__Alternatives"); + put(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives(), "rule__ExplicitPropertyAssignment__Alternatives"); + put(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0(), "rule__PostPropertyAssignment__Alternatives_0"); + put(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2(), "rule__PostPropertyAssignment__Alternatives_0_0_2"); + put(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1(), "rule__InstancePropertyRef__Alternatives_1_1"); + put(grammarAccess.getEntityAccess().getAlternatives(), "rule__Entity__Alternatives"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives(), "rule__PropertyAssignmentRhs__Alternatives"); + 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.getPropertyTypeNameAccess().getAlternatives(), "rule__PropertyTypeName__Alternatives"); + put(grammarAccess.getPropertyComponentAccess().getAlternatives(), "rule__PropertyComponent__Alternatives"); + put(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives(), "rule__ComponentDefinitionType__Alternatives"); + put(grammarAccess.getPropertyEnumAccess().getAlternatives(), "rule__PropertyEnum__Alternatives"); + put(grammarAccess.getPropertyAccess().getAlternatives(), "rule__Property__Alternatives"); + put(grammarAccess.getRValueConstantAccess().getAlternatives(), "rule__RValueConstant__Alternatives"); + put(grammarAccess.getPropertyModifierAccess().getAlternatives(), "rule__PropertyModifier__Alternatives"); + 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"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0(), "rule__PropertyDefinition__Group_3_0_4_0__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1(), "rule__PropertyDefinition__Group_3_0_4_1__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1(), "rule__PropertyDefinition__Group_3_1__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0(), "rule__PropertyDefinition__Group_3_1_1_0__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1(), "rule__PropertyDefinition__Group_3_1_1_1__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2(), "rule__PropertyDefinition__Group_3_2__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0(), "rule__PropertyDefinition__Group_3_2_1_0__0"); + put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1(), "rule__PropertyDefinition__Group_3_2_1_1__0"); + put(grammarAccess.getPropertyDefaultAccess().getGroup(), "rule__PropertyDefault__Group__0"); + 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.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"); + put(grammarAccess.getComponentInstanceAccess().getGroup_4(), "rule__ComponentInstance__Group_4__0"); + put(grammarAccess.getComponentInstanceAccess().getGroup_5(), "rule__ComponentInstance__Group_5__0"); + put(grammarAccess.getRangeAccess().getGroup(), "rule__Range__Group__0"); + put(grammarAccess.getRangeAccess().getGroup_1_0(), "rule__Range__Group_1_0__0"); + put(grammarAccess.getDefaultProperyAssignmentAccess().getGroup(), "rule__DefaultProperyAssignment__Group__0"); + put(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0(), "rule__ExplicitPropertyAssignment__Group_0__0"); + put(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1(), "rule__ExplicitPropertyAssignment__Group_1__0"); + put(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1(), "rule__ExplicitPropertyAssignment__Group_1_1__0"); + put(grammarAccess.getPostPropertyAssignmentAccess().getGroup(), "rule__PostPropertyAssignment__Group__0"); + put(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0(), "rule__PostPropertyAssignment__Group_0_0__0"); + put(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1(), "rule__PostPropertyAssignment__Group_1__0"); + put(grammarAccess.getInstancePropertyRefAccess().getGroup(), "rule__InstancePropertyRef__Group__0"); + put(grammarAccess.getInstancePropertyRefAccess().getGroup_1(), "rule__InstancePropertyRef__Group_1__0"); + put(grammarAccess.getInstanceRefAccess().getGroup(), "rule__InstanceRef__Group__0"); + put(grammarAccess.getInstanceRefAccess().getGroup_1(), "rule__InstanceRef__Group_1__0"); + put(grammarAccess.getHierInstanceRefAccess().getGroup(), "rule__HierInstanceRef__Group__0"); + put(grammarAccess.getHierInstanceRefAccess().getGroup_1(), "rule__HierInstanceRef__Group_1__0"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2(), "rule__PropertyAssignmentRhs__Group_2__0"); + put(grammarAccess.getConcatAccess().getGroup(), "rule__Concat__Group__0"); + put(grammarAccess.getConcatAccess().getGroup_2(), "rule__Concat__Group_2__0"); + put(grammarAccess.getEnumDefinitionAccess().getGroup(), "rule__EnumDefinition__Group__0"); + put(grammarAccess.getEnumBodyAccess().getGroup(), "rule__EnumBody__Group__0"); + put(grammarAccess.getEnumEntryAccess().getGroup(), "rule__EnumEntry__Group__0"); + put(grammarAccess.getEnumEntryAccess().getGroup_3(), "rule__EnumEntry__Group_3__0"); + put(grammarAccess.getEnumPropertyAccess().getGroup(), "rule__EnumProperty__Group__0"); + 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.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"); + put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0(), "rule__PropertyDefinition__UsageAssignment_3_0_4_0_0"); + put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1(), "rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1"); + put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0(), "rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0"); + put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1(), "rule__PropertyDefinition__UsageAssignment_3_0_4_1_1"); + put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0(), "rule__PropertyDefinition__UsageAssignment_3_1_0"); + put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2(), "rule__PropertyDefinition__TypeAssignment_3_1_1_0_2"); + put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4(), "rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4"); + put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0(), "rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0"); + put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3(), "rule__PropertyDefinition__TypeAssignment_3_1_1_1_3"); + put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0(), "rule__PropertyDefinition__DefaultAssignment_3_2_0"); + put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2(), "rule__PropertyDefinition__TypeAssignment_3_2_1_0_2"); + put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4(), "rule__PropertyDefinition__UsageAssignment_3_2_1_0_4"); + put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0(), "rule__PropertyDefinition__UsageAssignment_3_2_1_1_0"); + put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3(), "rule__PropertyDefinition__TypeAssignment_3_2_1_1_3"); + put(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0(), "rule__PropertyDefault__StringAssignment_2_0"); + put(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1(), "rule__PropertyDefault__ValueAssignment_2_1"); + put(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2(), "rule__PropertyDefault__StringAssignment_2_2"); + put(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3(), "rule__PropertyDefault__StringAssignment_2_3"); + put(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2(), "rule__PropertyUsage__ComponentsAssignment_2"); + 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.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().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"); + put(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0(), "rule__ExplicitPropertyAssignment__NameAssignment_1_0"); + put(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1(), "rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1"); + put(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0(), "rule__PostPropertyAssignment__InstanceAssignment_0_0_0"); + put(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0(), "rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0"); + put(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1(), "rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1"); + put(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1(), "rule__PostPropertyAssignment__PropertyAssignment_0_1"); + put(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1(), "rule__PostPropertyAssignment__RhsAssignment_1_1"); + put(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0(), "rule__InstancePropertyRef__InstanceAssignment_0"); + put(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0(), "rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0"); + put(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1(), "rule__InstancePropertyRef__PropertyAssignment_1_1_1"); + put(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0(), "rule__InstanceRef__InstanceAssignment_0"); + put(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1(), "rule__InstanceRef__TailAssignment_1_1"); + put(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0(), "rule__HierInstanceRef__InstanceAssignment_0"); + put(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1(), "rule__HierInstanceRef__TailAssignment_1_1"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0(), "rule__PropertyAssignmentRhs__ValueAssignment_0"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1(), "rule__PropertyAssignmentRhs__InstPropRefAssignment_1"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0(), "rule__PropertyAssignmentRhs__EnumRefAssignment_2_0"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2(), "rule__PropertyAssignmentRhs__EnumsAssignment_2_2"); + put(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3(), "rule__PropertyAssignmentRhs__ElementsAssignment_3"); + put(grammarAccess.getConcatAccess().getElementsAssignment_1(), "rule__Concat__ElementsAssignment_1"); + put(grammarAccess.getConcatAccess().getElementsAssignment_2_1(), "rule__Concat__ElementsAssignment_2_1"); + put(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0(), "rule__ConcatElem__InstPropRefAssignment_0"); + put(grammarAccess.getConcatElemAccess().getValueAssignment_1(), "rule__ConcatElem__ValueAssignment_1"); + put(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0(), "rule__PropertyRvalueConstant__ValAssignment_0"); + put(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1(), "rule__PropertyRvalueConstant__NumAssignment_1"); + put(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2(), "rule__PropertyRvalueConstant__StrAssignment_2"); + put(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1(), "rule__EnumDefinition__NameAssignment_1"); + put(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2(), "rule__EnumDefinition__BodyAssignment_2"); + put(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2(), "rule__EnumBody__EntriesAssignment_2"); + put(grammarAccess.getEnumEntryAccess().getNameAssignment_0(), "rule__EnumEntry__NameAssignment_0"); + put(grammarAccess.getEnumEntryAccess().getIndexAssignment_2(), "rule__EnumEntry__IndexAssignment_2"); + put(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1(), "rule__EnumEntry__PropertiesAssignment_3_1"); + put(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0(), "rule__EnumProperty__NameAssignment_0_0_0"); + 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"); + } + }; + } + return nameMappings.get(element); + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; + } + + public RDLGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(RDLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} 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 new file mode 100644 index 0000000..57ab2dd --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.g @@ -0,0 +1,7652 @@ +/* + * generated by Xtext 2.12.0 + */ +grammar InternalRDL; + +options { + superClass=AbstractInternalContentAssistParser; +} + +@lexer::header { +package com.minres.rdl.ide.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package com.minres.rdl.ide.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; +import com.minres.rdl.services.RDLGrammarAccess; + +} +@parser::members { + private RDLGrammarAccess grammarAccess; + + public void setGrammarAccess(RDLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } +} + +// Entry rule entryRuleRoot +entryRuleRoot +: +{ before(grammarAccess.getRootRule()); } + ruleRoot +{ after(grammarAccess.getRootRule()); } + EOF +; + +// Rule Root +ruleRoot + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getRootAccess().getAlternatives()); } + (rule__Root__Alternatives)* + { after(grammarAccess.getRootAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleInclude +entryRuleInclude +: +{ before(grammarAccess.getIncludeRule()); } + ruleInclude +{ after(grammarAccess.getIncludeRule()); } + EOF +; + +// Rule Include +ruleInclude + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getIncludeAccess().getGroup()); } + (rule__Include__Group__0) + { after(grammarAccess.getIncludeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePropertyDefinition +entryRulePropertyDefinition +: +{ before(grammarAccess.getPropertyDefinitionRule()); } + rulePropertyDefinition +{ after(grammarAccess.getPropertyDefinitionRule()); } + EOF +; + +// Rule PropertyDefinition +rulePropertyDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup()); } + (rule__PropertyDefinition__Group__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePropertyDefault +entryRulePropertyDefault +: +{ before(grammarAccess.getPropertyDefaultRule()); } + rulePropertyDefault +{ after(grammarAccess.getPropertyDefaultRule()); } + EOF +; + +// Rule PropertyDefault +rulePropertyDefault + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPropertyDefaultAccess().getGroup()); } + (rule__PropertyDefault__Group__0) + { after(grammarAccess.getPropertyDefaultAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePropertyUsage +entryRulePropertyUsage +: +{ before(grammarAccess.getPropertyUsageRule()); } + rulePropertyUsage +{ after(grammarAccess.getPropertyUsageRule()); } + EOF +; + +// Rule PropertyUsage +rulePropertyUsage + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPropertyUsageAccess().getGroup()); } + (rule__PropertyUsage__Group__0) + { after(grammarAccess.getPropertyUsageAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleComponentDefinition +entryRuleComponentDefinition +: +{ before(grammarAccess.getComponentDefinitionRule()); } + ruleComponentDefinition +{ after(grammarAccess.getComponentDefinitionRule()); } + EOF +; + +// Rule ComponentDefinition +ruleComponentDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getComponentDefinitionAccess().getGroup()); } + (rule__ComponentDefinition__Group__0) + { after(grammarAccess.getComponentDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleNamedInstantiation +entryRuleNamedInstantiation +: +{ before(grammarAccess.getNamedInstantiationRule()); } + ruleNamedInstantiation +{ after(grammarAccess.getNamedInstantiationRule()); } + EOF +; + +// Rule NamedInstantiation +ruleNamedInstantiation + @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()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleComponentInstance +entryRuleComponentInstance +: +{ before(grammarAccess.getComponentInstanceRule()); } + ruleComponentInstance +{ after(grammarAccess.getComponentInstanceRule()); } + EOF +; + +// Rule ComponentInstance +ruleComponentInstance + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getComponentInstanceAccess().getGroup()); } + (rule__ComponentInstance__Group__0) + { after(grammarAccess.getComponentInstanceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleRange +entryRuleRange +: +{ before(grammarAccess.getRangeRule()); } + ruleRange +{ after(grammarAccess.getRangeRule()); } + EOF +; + +// Rule Range +ruleRange + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getRangeAccess().getGroup()); } + (rule__Range__Group__0) + { after(grammarAccess.getRangeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePropertyAssignment +entryRulePropertyAssignment +: +{ before(grammarAccess.getPropertyAssignmentRule()); } + rulePropertyAssignment +{ after(grammarAccess.getPropertyAssignmentRule()); } + EOF +; + +// Rule PropertyAssignment +rulePropertyAssignment + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPropertyAssignmentAccess().getAlternatives()); } + (rule__PropertyAssignment__Alternatives) + { after(grammarAccess.getPropertyAssignmentAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleDefaultProperyAssignment +entryRuleDefaultProperyAssignment +: +{ before(grammarAccess.getDefaultProperyAssignmentRule()); } + ruleDefaultProperyAssignment +{ after(grammarAccess.getDefaultProperyAssignmentRule()); } + EOF +; + +// Rule DefaultProperyAssignment +ruleDefaultProperyAssignment + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getDefaultProperyAssignmentAccess().getGroup()); } + (rule__DefaultProperyAssignment__Group__0) + { after(grammarAccess.getDefaultProperyAssignmentAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleExplicitPropertyAssignment +entryRuleExplicitPropertyAssignment +: +{ before(grammarAccess.getExplicitPropertyAssignmentRule()); } + ruleExplicitPropertyAssignment +{ after(grammarAccess.getExplicitPropertyAssignmentRule()); } + EOF +; + +// Rule ExplicitPropertyAssignment +ruleExplicitPropertyAssignment + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives()); } + (rule__ExplicitPropertyAssignment__Alternatives) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePostPropertyAssignment +entryRulePostPropertyAssignment +: +{ before(grammarAccess.getPostPropertyAssignmentRule()); } + rulePostPropertyAssignment +{ after(grammarAccess.getPostPropertyAssignmentRule()); } + EOF +; + +// Rule PostPropertyAssignment +rulePostPropertyAssignment + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getGroup()); } + (rule__PostPropertyAssignment__Group__0) + { after(grammarAccess.getPostPropertyAssignmentAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleInstancePropertyRef +entryRuleInstancePropertyRef +: +{ before(grammarAccess.getInstancePropertyRefRule()); } + ruleInstancePropertyRef +{ after(grammarAccess.getInstancePropertyRefRule()); } + EOF +; + +// Rule InstancePropertyRef +ruleInstancePropertyRef + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getInstancePropertyRefAccess().getGroup()); } + (rule__InstancePropertyRef__Group__0) + { after(grammarAccess.getInstancePropertyRefAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleInstanceRef +entryRuleInstanceRef +: +{ before(grammarAccess.getInstanceRefRule()); } + ruleInstanceRef +{ after(grammarAccess.getInstanceRefRule()); } + EOF +; + +// Rule InstanceRef +ruleInstanceRef + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getInstanceRefAccess().getGroup()); } + (rule__InstanceRef__Group__0) + { after(grammarAccess.getInstanceRefAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleHierInstanceRef +entryRuleHierInstanceRef +: +{ before(grammarAccess.getHierInstanceRefRule()); } + ruleHierInstanceRef +{ after(grammarAccess.getHierInstanceRefRule()); } + EOF +; + +// Rule HierInstanceRef +ruleHierInstanceRef + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getHierInstanceRefAccess().getGroup()); } + (rule__HierInstanceRef__Group__0) + { after(grammarAccess.getHierInstanceRefAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePropertyAssignmentRhs +entryRulePropertyAssignmentRhs +: +{ before(grammarAccess.getPropertyAssignmentRhsRule()); } + rulePropertyAssignmentRhs +{ after(grammarAccess.getPropertyAssignmentRhsRule()); } + EOF +; + +// Rule PropertyAssignmentRhs +rulePropertyAssignmentRhs + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives()); } + (rule__PropertyAssignmentRhs__Alternatives) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConcat +entryRuleConcat +: +{ before(grammarAccess.getConcatRule()); } + ruleConcat +{ after(grammarAccess.getConcatRule()); } + EOF +; + +// Rule Concat +ruleConcat + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConcatAccess().getGroup()); } + (rule__Concat__Group__0) + { after(grammarAccess.getConcatAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConcatElem +entryRuleConcatElem +: +{ before(grammarAccess.getConcatElemRule()); } + ruleConcatElem +{ after(grammarAccess.getConcatElemRule()); } + EOF +; + +// Rule ConcatElem +ruleConcatElem + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConcatElemAccess().getAlternatives()); } + (rule__ConcatElem__Alternatives) + { after(grammarAccess.getConcatElemAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePropertyRvalueConstant +entryRulePropertyRvalueConstant +: +{ before(grammarAccess.getPropertyRvalueConstantRule()); } + rulePropertyRvalueConstant +{ after(grammarAccess.getPropertyRvalueConstantRule()); } + EOF +; + +// Rule PropertyRvalueConstant +rulePropertyRvalueConstant + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives()); } + (rule__PropertyRvalueConstant__Alternatives) + { after(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEnumDefinition +entryRuleEnumDefinition +: +{ before(grammarAccess.getEnumDefinitionRule()); } + ruleEnumDefinition +{ after(grammarAccess.getEnumDefinitionRule()); } + EOF +; + +// Rule EnumDefinition +ruleEnumDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumDefinitionAccess().getGroup()); } + (rule__EnumDefinition__Group__0) + { after(grammarAccess.getEnumDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEnumBody +entryRuleEnumBody +: +{ before(grammarAccess.getEnumBodyRule()); } + ruleEnumBody +{ after(grammarAccess.getEnumBodyRule()); } + EOF +; + +// Rule EnumBody +ruleEnumBody + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumBodyAccess().getGroup()); } + (rule__EnumBody__Group__0) + { after(grammarAccess.getEnumBodyAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEnumEntry +entryRuleEnumEntry +: +{ before(grammarAccess.getEnumEntryRule()); } + ruleEnumEntry +{ after(grammarAccess.getEnumEntryRule()); } + EOF +; + +// Rule EnumEntry +ruleEnumEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumEntryAccess().getGroup()); } + (rule__EnumEntry__Group__0) + { after(grammarAccess.getEnumEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEnumProperty +entryRuleEnumProperty +: +{ before(grammarAccess.getEnumPropertyRule()); } + ruleEnumProperty +{ after(grammarAccess.getEnumPropertyRule()); } + EOF +; + +// Rule EnumProperty +ruleEnumProperty + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumPropertyAccess().getGroup()); } + (rule__EnumProperty__Group__0) + { after(grammarAccess.getEnumPropertyAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule PropertyTypeName +rulePropertyTypeName + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyTypeNameAccess().getAlternatives()); } + (rule__PropertyTypeName__Alternatives) + { after(grammarAccess.getPropertyTypeNameAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule PropertyComponent +rulePropertyComponent + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyComponentAccess().getAlternatives()); } + (rule__PropertyComponent__Alternatives) + { after(grammarAccess.getPropertyComponentAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule ComponentDefinitionType +ruleComponentDefinitionType + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives()); } + (rule__ComponentDefinitionType__Alternatives) + { after(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule Property +ruleProperty + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAccess().getAlternatives()); } + (rule__Property__Alternatives) + { after(grammarAccess.getPropertyAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule RValueConstant +ruleRValueConstant + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRValueConstantAccess().getAlternatives()); } + (rule__RValueConstant__Alternatives) + { after(grammarAccess.getRValueConstantAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule PropertyModifier +rulePropertyModifier + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyModifierAccess().getAlternatives()); } + (rule__PropertyModifier__Alternatives) + { after(grammarAccess.getPropertyModifierAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getIncludesAssignment_0()); } + (rule__Root__IncludesAssignment_0) + { after(grammarAccess.getRootAccess().getIncludesAssignment_0()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1()); } + (rule__Root__ComponentDefinitionsAssignment_1) + { after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2()); } + (rule__Root__EnumDefinitionsAssignment_2) + { after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3()); } + (rule__Root__NamedInstantiationsAssignment_3) + { after(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4()); } + (rule__Root__PropertyAssignmentsAssignment_4) + { after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5()); } + (rule__Root__PropertyDefinitionsAssignment_5) + { after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0()); } + (rule__PropertyDefinition__Group_3_0__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0()); } + ) + | + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1()); } + (rule__PropertyDefinition__Group_3_1__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1()); } + ) + | + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2()); } + (rule__PropertyDefinition__Group_3_2__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Alternatives_3_0_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0()); } + (rule__PropertyDefinition__Group_3_0_4_0__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0()); } + ) + | + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1()); } + (rule__PropertyDefinition__Group_3_0_4_1__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Alternatives_3_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0()); } + (rule__PropertyDefinition__Group_3_1_1_0__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0()); } + ) + | + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1()); } + (rule__PropertyDefinition__Group_3_1_1_1__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Alternatives_3_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0()); } + (rule__PropertyDefinition__Group_3_2_1_0__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0()); } + ) + | + ( + { before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1()); } + (rule__PropertyDefinition__Group_3_2_1_1__0) + { after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0()); } + (rule__PropertyDefault__StringAssignment_2_0) + { after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1()); } + (rule__PropertyDefault__ValueAssignment_2_1) + { after(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1()); } + ) + | + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2()); } + (rule__PropertyDefault__StringAssignment_2_2) + { after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2()); } + ) + | + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3()); } + (rule__PropertyDefault__StringAssignment_2_3) + { after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0()); } + (rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0) + { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1()); } + (rule__ComponentDefinition__NamedInstantiationsAssignment_3_1) + { after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2()); } + (rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2) + { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3()); } + (rule__ComponentDefinition__EnumDefinitionsAssignment_3_3) + { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRangeAccess().getGroup_1_0()); } + (rule__Range__Group_1_0__0) + { after(grammarAccess.getRangeAccess().getGroup_1_0()); } + ) + | + ( + { before(grammarAccess.getRangeAccess().getSizeAssignment_1_1()); } + (rule__Range__SizeAssignment_1_1) + { after(grammarAccess.getRangeAccess().getSizeAssignment_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignment__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); } + ruleDefaultProperyAssignment + { after(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); } + ruleExplicitPropertyAssignment + { after(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); } + rulePostPropertyAssignment + { after(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0()); } + (rule__ExplicitPropertyAssignment__Group_0__0) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0()); } + ) + | + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1()); } + (rule__ExplicitPropertyAssignment__Group_1__0) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0()); } + (rule__PostPropertyAssignment__Group_0_0__0) + { after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0()); } + ) + | + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1()); } + (rule__PostPropertyAssignment__PropertyAssignment_0_1) + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Alternatives_0_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0()); } + (rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0) + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0()); } + ) + | + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1()); } + (rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1) + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Alternatives_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0()); } + (rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0) + { after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0()); } + ) + | + ( + { before(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1()); } + (rule__InstancePropertyRef__PropertyAssignment_1_1_1) + { after(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0()); } + (rule__PropertyAssignmentRhs__ValueAssignment_0) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0()); } + ) + | + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1()); } + (rule__PropertyAssignmentRhs__InstPropRefAssignment_1) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1()); } + ) + | + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2()); } + (rule__PropertyAssignmentRhs__Group_2__0) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2()); } + ) + | + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3()); } + (rule__PropertyAssignmentRhs__ElementsAssignment_3) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConcatElem__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0()); } + (rule__ConcatElem__InstPropRefAssignment_0) + { after(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0()); } + ) + | + ( + { before(grammarAccess.getConcatElemAccess().getValueAssignment_1()); } + (rule__ConcatElem__ValueAssignment_1) + { after(grammarAccess.getConcatElemAccess().getValueAssignment_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyRvalueConstant__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0()); } + (rule__PropertyRvalueConstant__ValAssignment_0) + { after(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0()); } + ) + | + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1()); } + (rule__PropertyRvalueConstant__NumAssignment_1) + { after(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1()); } + ) + | + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2()); } + (rule__PropertyRvalueConstant__StrAssignment_2) + { after(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumPropertyAccess().getGroup_0_0()); } + (rule__EnumProperty__Group_0_0__0) + { after(grammarAccess.getEnumPropertyAccess().getGroup_0_0()); } + ) + | + ( + { before(grammarAccess.getEnumPropertyAccess().getGroup_0_1()); } + (rule__EnumProperty__Group_0_1__0) + { after(grammarAccess.getEnumPropertyAccess().getGroup_0_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyTypeName__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); } + ('string') + { after(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); } + ('number') + { after(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); } + ('boolean') + { after(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); } + ('addrmap') + { after(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); } + ('reg') + { after(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); } + ('regfile') + { after(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); } + ('field') + { after(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); } + ) + | + ( + { before(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); } + ('ref') + { after(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyComponent__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); } + ('signal') + { after(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); } + ('addrmap') + { after(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); } + ('reg') + { after(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); } + ('regfile') + { after(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); } + ('field') + { after(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); } + ('all') + { after(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinitionType__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); } + ('signal') + { after(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); } + ('addrmap') + { after(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); } + ('regfile') + { after(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); } + ('reg') + { after(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); } + ('field') + { after(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Property__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); } + ('name') + { after(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); } + ('desc') + { after(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); } + ('arbiter') + { after(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); } + ('rset') + { after(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); } + ('rclr') + { after(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); } + ('woclr') + { after(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); } + ('woset') + { after(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); } + ('we') + { after(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); } + ('wel') + { after(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); } + ('swwe') + { after(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); } + ('swwel') + { after(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); } + ('hwset') + { after(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); } + ('hwclr') + { after(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); } + ('swmod') + { after(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); } + ('swacc') + { after(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); } + ('sticky') + { after(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); } + ('stickybit') + { after(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); } + ('intr') + { after(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); } + ('anded') + { after(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); } + ('ored') + { after(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); } + ('xored') + { after(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); } + ('counter') + { after(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); } + ('overflow') + { after(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); } + ('sharedextbus') + { after(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); } + ('errextbus') + { after(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); } + ('reset') + { after(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); } + ('littleendian') + { after(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); } + ('bigendian') + { after(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); } + ('rsvdset') + { after(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); } + ('rsvdsetX') + { after(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); } + ('bridge') + { after(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); } + ('shared') + { after(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); } + ('msb0') + { after(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); } + ('lsb0') + { after(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); } + ('sync') + { after(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); } + ('async') + { after(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); } + ('cpuif_reset') + { after(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); } + ('field_reset') + { after(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); } + ('activehigh') + { after(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); } + ('activelow') + { after(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); } + ('singlepulse') + { after(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); } + ('underflow') + { after(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); } + ('incr') + { after(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); } + ('decr') + { after(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); } + ('incrwidth') + { after(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); } + ('decrwidth') + { after(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); } + ('incrvalue') + { after(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); } + ('decrvalue') + { after(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); } + ('saturate') + { after(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); } + ('decrsaturate') + { after(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); } + ('threshold') + { after(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); } + ('decrthreshold') + { after(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); } + ('dontcompare') + { after(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); } + ('donttest') + { after(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); } + ('internal') + { after(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); } + ('alignment') + { after(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); } + ('regwidth') + { after(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); } + ('fieldwidth') + { after(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); } + ('signalwidth') + { after(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); } + ('accesswidth') + { after(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); } + ('sw') + { after(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); } + ('hw') + { after(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); } + ('addressing') + { after(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); } + ('precedence') + { after(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); } + ('encode') + { after(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); } + ('resetsignal') + { after(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); } + ('clock') + { after(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); } + ('mask') + { after(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); } + ('enable') + { after(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); } + ('hwenable') + { after(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); } + ('hwmask') + { after(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); } + ('haltmask') + { after(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); } + ('haltenable') + { after(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); } + ('halt') + { after(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); } + ) + | + ( + { before(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); } + ('next') + { after(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RValueConstant__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); } + ('UNDEFINED') + { after(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); } + ('true') + { after(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); } + ('false') + { after(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); } + ('rw') + { after(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); } + ('wr') + { after(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); } + ('r') + { after(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); } + ('w') + { after(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); } + ('na') + { after(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); } + ('compact') + { after(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); } + ('regalign') + { after(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); } + ('fullalign') + { after(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); } + ('hw') + { after(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); } + ) + | + ( + { before(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); } + ('sw') + { after(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyModifier__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); } + ('UNDEFINED') + { after(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); } + ('posedge') + { after(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); } + ('negedge') + { after(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); } + ('bothedge') + { after(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); } + ) + | + ( + { before(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); } + ('level') + { after(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); } + ) + | + ( + { before(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); } + ('nonsticky') + { after(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Include__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Include__Group__0__Impl + rule__Include__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Include__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } + '`include' + { after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Include__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Include__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Include__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIncludeAccess().getImportURIAssignment_1()); } + (rule__Include__ImportURIAssignment_1) + { after(grammarAccess.getIncludeAccess().getImportURIAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group__0__Impl + rule__PropertyDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); } + 'property' + { after(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group__1__Impl + rule__PropertyDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1()); } + (rule__PropertyDefinition__NameAssignment_1) + { after(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group__2__Impl + rule__PropertyDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); } + '{' + { after(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group__3__Impl + rule__PropertyDefinition__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3()); } + (rule__PropertyDefinition__Alternatives_3) + { after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group__4__Impl + rule__PropertyDefinition__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); } + '}' + { after(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); } + ';' + { after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0__0__Impl + rule__PropertyDefinition__Group_3_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); } + 'type' + { after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0__1__Impl + rule__PropertyDefinition__Group_3_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); } + '=' + { after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0__2__Impl + rule__PropertyDefinition__Group_3_0__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2()); } + (rule__PropertyDefinition__TypeAssignment_3_0_2) + { after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0__3__Impl + rule__PropertyDefinition__Group_3_0__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); } + ';' + { after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4()); } + (rule__PropertyDefinition__Alternatives_3_0_4) + { after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_0_4_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0_4_0__0__Impl + rule__PropertyDefinition__Group_3_0_4_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0_4_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0()); } + (rule__PropertyDefinition__UsageAssignment_3_0_4_0_0) + { after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0_4_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0_4_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0_4_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1()); } + (rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1)? + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_0_4_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0_4_1__0__Impl + rule__PropertyDefinition__Group_3_0_4_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0_4_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0()); } + (rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0) + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0_4_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_0_4_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_0_4_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1()); } + (rule__PropertyDefinition__UsageAssignment_3_0_4_1_1) + { after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1__0__Impl + rule__PropertyDefinition__Group_3_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0()); } + (rule__PropertyDefinition__UsageAssignment_3_1_0) + { after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1()); } + (rule__PropertyDefinition__Alternatives_3_1_1) + { after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_1_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_0__0__Impl + rule__PropertyDefinition__Group_3_1_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); } + 'type' + { after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_0__1__Impl + rule__PropertyDefinition__Group_3_1_1_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); } + '=' + { after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_0__2__Impl + rule__PropertyDefinition__Group_3_1_1_0__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2()); } + (rule__PropertyDefinition__TypeAssignment_3_1_1_0_2) + { after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_0__3__Impl + rule__PropertyDefinition__Group_3_1_1_0__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); } + ';' + { after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_0__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_0__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4()); } + (rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4)? + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_1_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_1__0__Impl + rule__PropertyDefinition__Group_3_1_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0()); } + (rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0) + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_1__1__Impl + rule__PropertyDefinition__Group_3_1_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); } + 'type' + { after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_1__2__Impl + rule__PropertyDefinition__Group_3_1_1_1__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); } + '=' + { after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_1__3__Impl + rule__PropertyDefinition__Group_3_1_1_1__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3()); } + (rule__PropertyDefinition__TypeAssignment_3_1_1_1_3) + { after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_1_1_1__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_1_1_1__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); } + ';' + { after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2__0__Impl + rule__PropertyDefinition__Group_3_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0()); } + (rule__PropertyDefinition__DefaultAssignment_3_2_0) + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1()); } + (rule__PropertyDefinition__Alternatives_3_2_1) + { after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_2_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_0__0__Impl + rule__PropertyDefinition__Group_3_2_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); } + 'type' + { after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_0__1__Impl + rule__PropertyDefinition__Group_3_2_1_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); } + '=' + { after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_0__2__Impl + rule__PropertyDefinition__Group_3_2_1_0__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2()); } + (rule__PropertyDefinition__TypeAssignment_3_2_1_0_2) + { after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_0__3__Impl + rule__PropertyDefinition__Group_3_2_1_0__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); } + ';' + { after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_0__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_0__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4()); } + (rule__PropertyDefinition__UsageAssignment_3_2_1_0_4) + { after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefinition__Group_3_2_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_1__0__Impl + rule__PropertyDefinition__Group_3_2_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0()); } + (rule__PropertyDefinition__UsageAssignment_3_2_1_1_0) + { after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_1__1__Impl + rule__PropertyDefinition__Group_3_2_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); } + 'type' + { after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_1__2__Impl + rule__PropertyDefinition__Group_3_2_1_1__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); } + '=' + { after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_1__3__Impl + rule__PropertyDefinition__Group_3_2_1_1__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3()); } + (rule__PropertyDefinition__TypeAssignment_3_2_1_1_3) + { after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefinition__Group_3_2_1_1__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__Group_3_2_1_1__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); } + ';' + { after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyDefault__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefault__Group__0__Impl + rule__PropertyDefault__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); } + 'default' + { after(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefault__Group__1__Impl + rule__PropertyDefault__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefault__Group__2__Impl + rule__PropertyDefault__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefaultAccess().getAlternatives_2()); } + (rule__PropertyDefault__Alternatives_2) + { after(grammarAccess.getPropertyDefaultAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyDefault__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); } + ';' + { after(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyUsage__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group__0__Impl + rule__PropertyUsage__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); } + 'component' + { after(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group__1__Impl + rule__PropertyUsage__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group__2__Impl + rule__PropertyUsage__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2()); } + (rule__PropertyUsage__ComponentsAssignment_2) + { after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group__3__Impl + rule__PropertyUsage__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getGroup_3()); } + (rule__PropertyUsage__Group_3__0)* + { after(grammarAccess.getPropertyUsageAccess().getGroup_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); } + ';' + { after(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyUsage__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group_3__0__Impl + rule__PropertyUsage__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); } + '|' + { after(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyUsage__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1()); } + (rule__PropertyUsage__ComponentsAssignment_3_1) + { after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__0__Impl + rule__ComponentDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0()); } + (rule__ComponentDefinition__TypeAssignment_0) + { after(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__1__Impl + rule__ComponentDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); } + (rule__ComponentDefinition__NameAssignment_1)? + { after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__2__Impl + rule__ComponentDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); } + '{' + { after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__3__Impl + rule__ComponentDefinition__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getAlternatives_3()); } + (rule__ComponentDefinition__Alternatives_3)* + { after(grammarAccess.getComponentDefinitionAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__4__Impl + rule__ComponentDefinition__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); } + '}' + { after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__5__Impl + rule__ComponentDefinition__Group__6 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5()); } + (rule__ComponentDefinition__ImmediateInstantiationAssignment_5)? + { after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationAssignment_5()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__6 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group__6__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group__6__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6()); } + ';' + { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__NamedInstantiation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__NamedInstantiation__Group__0__Impl + rule__NamedInstantiation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0()); } + (rule__NamedInstantiation__ExternalAssignment_0)? + { after(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__NamedInstantiation__Group__1__Impl + rule__NamedInstantiation__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group__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()); } + ';' + { after(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__NamedInstantiation__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__NamedInstantiation__Group_2__0__Impl + rule__NamedInstantiation__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0()); } + 'alias' + { after(grammarAccess.getNamedInstantiationAccess().getAliasKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__NamedInstantiation__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1()); } + (rule__NamedInstantiation__AliasAssignment_2_1) + { after(grammarAccess.getNamedInstantiationAccess().getAliasAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__NamedInstantiation__Group_5__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__NamedInstantiation__Group_5__0__Impl + rule__NamedInstantiation__Group_5__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group_5__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0()); } + ',' + { after(grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group_5__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__NamedInstantiation__Group_5__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__Group_5__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()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentInstance__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group__0__Impl + rule__ComponentInstance__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getNameAssignment_0()); } + (rule__ComponentInstance__NameAssignment_0) + { after(grammarAccess.getComponentInstanceAccess().getNameAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group__1__Impl + rule__ComponentInstance__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1()); } + (rule__ComponentInstance__RangeAssignment_1)? + { after(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group__2__Impl + rule__ComponentInstance__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getGroup_2()); } + (rule__ComponentInstance__Group_2__0)? + { after(grammarAccess.getComponentInstanceAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group__3__Impl + rule__ComponentInstance__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getGroup_3()); } + (rule__ComponentInstance__Group_3__0)? + { after(grammarAccess.getComponentInstanceAccess().getGroup_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group__4__Impl + rule__ComponentInstance__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getGroup_4()); } + (rule__ComponentInstance__Group_4__0)? + { after(grammarAccess.getComponentInstanceAccess().getGroup_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getGroup_5()); } + (rule__ComponentInstance__Group_5__0)? + { after(grammarAccess.getComponentInstanceAccess().getGroup_5()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentInstance__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_2__0__Impl + rule__ComponentInstance__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); } + '=' + { after(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1()); } + (rule__ComponentInstance__ResetAssignment_2_1) + { after(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentInstance__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_3__0__Impl + rule__ComponentInstance__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); } + '@' + { after(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1()); } + (rule__ComponentInstance__AddressAssignment_3_1) + { after(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentInstance__Group_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_4__0__Impl + rule__ComponentInstance__Group_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); } + '+=' + { after(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_4__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1()); } + (rule__ComponentInstance__AddrIncAssignment_4_1) + { after(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentInstance__Group_5__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_5__0__Impl + rule__ComponentInstance__Group_5__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_5__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); } + '%=' + { after(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_5__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentInstance__Group_5__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__Group_5__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1()); } + (rule__ComponentInstance__AddrModAssignment_5_1) + { after(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Range__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Range__Group__0__Impl + rule__Range__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); } + '[' + { after(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Range__Group__1__Impl + rule__Range__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRangeAccess().getAlternatives_1()); } + (rule__Range__Alternatives_1) + { after(grammarAccess.getRangeAccess().getAlternatives_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Range__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); } + ']' + { after(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Range__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Range__Group_1_0__0__Impl + rule__Range__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRangeAccess().getStartAssignment_1_0_0()); } + (rule__Range__StartAssignment_1_0_0) + { after(grammarAccess.getRangeAccess().getStartAssignment_1_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Range__Group_1_0__1__Impl + rule__Range__Group_1_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); } + ':' + { after(grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group_1_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Range__Group_1_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__Group_1_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRangeAccess().getEndAssignment_1_0_2()); } + (rule__Range__EndAssignment_1_0_2) + { after(grammarAccess.getRangeAccess().getEndAssignment_1_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DefaultProperyAssignment__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DefaultProperyAssignment__Group__0__Impl + rule__DefaultProperyAssignment__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultProperyAssignment__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); } + 'default' + { after(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultProperyAssignment__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DefaultProperyAssignment__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DefaultProperyAssignment__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); } + ruleExplicitPropertyAssignment + { after(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExplicitPropertyAssignment__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExplicitPropertyAssignment__Group_0__0__Impl + rule__ExplicitPropertyAssignment__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0()); } + (rule__ExplicitPropertyAssignment__ModifierAssignment_0_0) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExplicitPropertyAssignment__Group_0__1__Impl + rule__ExplicitPropertyAssignment__Group_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1()); } + (rule__ExplicitPropertyAssignment__NameAssignment_0_1) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1()); } +) +; +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 { + int stackSize = keepStackSize(); + } +: + rule__ExplicitPropertyAssignment__Group_1__0__Impl + rule__ExplicitPropertyAssignment__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0()); } + (rule__ExplicitPropertyAssignment__NameAssignment_1_0) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExplicitPropertyAssignment__Group_1__1__Impl + rule__ExplicitPropertyAssignment__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1()); } + (rule__ExplicitPropertyAssignment__Group_1_1__0)? + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1()); } +) +; +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 { + int stackSize = keepStackSize(); + } +: + rule__ExplicitPropertyAssignment__Group_1_1__0__Impl + rule__ExplicitPropertyAssignment__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); } + '=' + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExplicitPropertyAssignment__Group_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1()); } + (rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1) + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PostPropertyAssignment__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group__0__Impl + rule__PostPropertyAssignment__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0()); } + (rule__PostPropertyAssignment__Alternatives_0) + { after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group__1__Impl + rule__PostPropertyAssignment__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1()); } + (rule__PostPropertyAssignment__Group_1__0)? + { after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1()); } +) +; +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 { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group_0_0__0__Impl + rule__PostPropertyAssignment__Group_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0()); } + (rule__PostPropertyAssignment__InstanceAssignment_0_0_0) + { after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group_0_0__1__Impl + rule__PostPropertyAssignment__Group_0_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); } + '->' + { after(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_0_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group_0_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_0_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2()); } + (rule__PostPropertyAssignment__Alternatives_0_0_2) + { after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PostPropertyAssignment__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group_1__0__Impl + rule__PostPropertyAssignment__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); } + '=' + { after(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PostPropertyAssignment__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1()); } + (rule__PostPropertyAssignment__RhsAssignment_1_1) + { after(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__InstancePropertyRef__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstancePropertyRef__Group__0__Impl + rule__InstancePropertyRef__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0()); } + (rule__InstancePropertyRef__InstanceAssignment_0) + { after(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstancePropertyRef__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstancePropertyRefAccess().getGroup_1()); } + (rule__InstancePropertyRef__Group_1__0)? + { after(grammarAccess.getInstancePropertyRefAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__InstancePropertyRef__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstancePropertyRef__Group_1__0__Impl + rule__InstancePropertyRef__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); } + '->' + { after(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstancePropertyRef__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1()); } + (rule__InstancePropertyRef__Alternatives_1_1) + { after(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__InstanceRef__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstanceRef__Group__0__Impl + rule__InstanceRef__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0()); } + (rule__InstanceRef__InstanceAssignment_0) + { after(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstanceRef__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstanceRefAccess().getGroup_1()); } + (rule__InstanceRef__Group_1__0)? + { after(grammarAccess.getInstanceRefAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__InstanceRef__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstanceRef__Group_1__0__Impl + rule__InstanceRef__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); } + '.' + { after(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__InstanceRef__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1()); } + (rule__InstanceRef__TailAssignment_1_1) + { after(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__HierInstanceRef__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__HierInstanceRef__Group__0__Impl + rule__HierInstanceRef__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0()); } + (rule__HierInstanceRef__InstanceAssignment_0) + { after(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__HierInstanceRef__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getHierInstanceRefAccess().getGroup_1()); } + (rule__HierInstanceRef__Group_1__0)? + { after(grammarAccess.getHierInstanceRefAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__HierInstanceRef__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__HierInstanceRef__Group_1__0__Impl + rule__HierInstanceRef__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); } + '.' + { after(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__HierInstanceRef__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1()); } + (rule__HierInstanceRef__TailAssignment_1_1) + { after(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PropertyAssignmentRhs__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyAssignmentRhs__Group_2__0__Impl + rule__PropertyAssignmentRhs__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0()); } + (rule__PropertyAssignmentRhs__EnumRefAssignment_2_0) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyAssignmentRhs__Group_2__1__Impl + rule__PropertyAssignmentRhs__Group_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); } + 'enum' + { after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PropertyAssignmentRhs__Group_2__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__Group_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2()); } + (rule__PropertyAssignmentRhs__EnumsAssignment_2_2) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Concat__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Concat__Group__0__Impl + rule__Concat__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Concat__Group__1__Impl + rule__Concat__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConcatAccess().getElementsAssignment_1()); } + (rule__Concat__ElementsAssignment_1) + { after(grammarAccess.getConcatAccess().getElementsAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Concat__Group__2__Impl + rule__Concat__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConcatAccess().getGroup_2()); } + (rule__Concat__Group_2__0)* + { after(grammarAccess.getConcatAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__Concat__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Concat__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Concat__Group_2__0__Impl + rule__Concat__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConcatAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getConcatAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Concat__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConcatAccess().getElementsAssignment_2_1()); } + (rule__Concat__ElementsAssignment_2_1) + { after(grammarAccess.getConcatAccess().getElementsAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumDefinition__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumDefinition__Group__0__Impl + rule__EnumDefinition__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); } + 'enum' + { after(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumDefinition__Group__1__Impl + rule__EnumDefinition__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1()); } + (rule__EnumDefinition__NameAssignment_1) + { after(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumDefinition__Group__2__Impl + rule__EnumDefinition__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2()); } + (rule__EnumDefinition__BodyAssignment_2) + { after(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2()); } +) +; +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 { + int stackSize = keepStackSize(); + } +: + rule__EnumBody__Group__0__Impl + rule__EnumBody__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumBody__Group__1__Impl + rule__EnumBody__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1()); } + () + { after(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumBody__Group__2__Impl + rule__EnumBody__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2()); } + (rule__EnumBody__EntriesAssignment_2)* + { after(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumBody__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group__0__Impl + rule__EnumEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getNameAssignment_0()); } + (rule__EnumEntry__NameAssignment_0) + { after(grammarAccess.getEnumEntryAccess().getNameAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group__1__Impl + rule__EnumEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group__2__Impl + rule__EnumEntry__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getIndexAssignment_2()); } + (rule__EnumEntry__IndexAssignment_2) + { after(grammarAccess.getEnumEntryAccess().getIndexAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group__3__Impl + rule__EnumEntry__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getGroup_3()); } + (rule__EnumEntry__Group_3__0)? + { after(grammarAccess.getEnumEntryAccess().getGroup_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); } + ';' + { after(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumEntry__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group_3__0__Impl + rule__EnumEntry__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); } + '{' + { after(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group_3__1__Impl + rule__EnumEntry__Group_3__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1()); } + (rule__EnumEntry__PropertiesAssignment_3_1)* + { after(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group_3__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumEntry__Group_3__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__Group_3__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); } + '}' + { after(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumProperty__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group__0__Impl + rule__EnumProperty__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getAlternatives_0()); } + (rule__EnumProperty__Alternatives_0) + { after(grammarAccess.getEnumPropertyAccess().getAlternatives_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); } + ';' + { after(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumProperty__Group_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group_0_0__0__Impl + rule__EnumProperty__Group_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0()); } + (rule__EnumProperty__NameAssignment_0_0_0) + { after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group_0_0__1__Impl + rule__EnumProperty__Group_0_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); } + '=' + { after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group_0_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2()); } + (rule__EnumProperty__ValueAssignment_0_0_2) + { after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumProperty__Group_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group_0_1__0__Impl + rule__EnumProperty__Group_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0()); } + (rule__EnumProperty__NameAssignment_0_1_0) + { after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group_0_1__1__Impl + rule__EnumProperty__Group_0_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); } + '=' + { after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumProperty__Group_0_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__Group_0_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2()); } + (rule__EnumProperty__ValueAssignment_0_1_2) + { after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Root__IncludesAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); } + ruleInclude + { after(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__ComponentDefinitionsAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); } + ruleComponentDefinition + { after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__EnumDefinitionsAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); } + ruleEnumDefinition + { after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__NamedInstantiationsAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); } + ruleNamedInstantiation + { after(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__PropertyAssignmentsAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); } + rulePropertyAssignment + { after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__PropertyDefinitionsAssignment_5 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); } + rulePropertyDefinition + { after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Include__ImportURIAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); } + RULE_STR + { after(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__TypeAssignment_3_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); } + rulePropertyTypeName + { after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0()); } + rulePropertyUsage + { after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0()); } + rulePropertyDefault + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0()); } + rulePropertyDefault + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0()); } + rulePropertyUsage + { after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__UsageAssignment_3_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); } + rulePropertyUsage + { after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0()); } + rulePropertyTypeName + { after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0()); } + rulePropertyDefault + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0()); } + rulePropertyDefault + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0()); } + rulePropertyTypeName + { after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__DefaultAssignment_3_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); } + rulePropertyDefault + { after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0()); } + rulePropertyTypeName + { after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0()); } + rulePropertyUsage + { after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0()); } + rulePropertyUsage + { after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0()); } + rulePropertyTypeName + { after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__StringAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); } + RULE_STR + { after(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__ValueAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); } + RULE_NUM + { after(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__StringAssignment_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); } + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); } + 'true' + { after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); } + ) + { after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyDefault__StringAssignment_2_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); } + ( + { before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); } + 'false' + { after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); } + ) + { after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__ComponentsAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); } + rulePropertyComponent + { after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyUsage__ComponentsAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); } + rulePropertyComponent + { after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__TypeAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); } + ruleComponentDefinitionType + { after(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); } + ruleComponentDefinition + { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); } + ruleNamedInstantiation + { after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); } + rulePropertyAssignment + { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); } + ruleEnumDefinition + { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__ImmediateInstantiationAssignment_5 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0()); } + ruleImmediateInstantiation + { after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__ExternalAssignment_0 + @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()); } + RULE_ID + { after(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__ComponentAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0()); } + ( + { before(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionIDTerminalRuleCall_3_0_1()); } + RULE_ID + { after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionIDTerminalRuleCall_3_0_1()); } + ) + { after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__ComponentInstancesAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); } + ruleComponentInstance + { after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__NamedInstantiation__ComponentInstancesAssignment_5_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_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()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__NameAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); } + RULE_ID + { after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__RangeAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); } + ruleRange + { after(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__ResetAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); } + RULE_NUM + { after(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__AddressAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); } + RULE_NUM + { after(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__AddrIncAssignment_4_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); } + RULE_NUM + { after(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentInstance__AddrModAssignment_5_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); } + RULE_NUM + { after(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__StartAssignment_1_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0()); } + RULE_NUM + { after(grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__EndAssignment_1_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0()); } + RULE_NUM + { after(grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__SizeAssignment_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); } + RULE_NUM + { after(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); } + rulePropertyModifier + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__NameAssignment_0_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); } + ruleProperty + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__NameAssignment_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); } + ruleProperty + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); } + rulePropertyAssignmentRhs + { after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__InstanceAssignment_0_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); } + ruleHierInstanceRef + { after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); } + ruleProperty + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); } + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1()); } + RULE_ID + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1()); } + ) + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__PropertyAssignment_0_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); } + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1()); } + RULE_ID + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1()); } + ) + { after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PostPropertyAssignment__RhsAssignment_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); } + rulePropertyAssignmentRhs + { after(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__InstanceAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); } + ruleInstanceRef + { after(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); } + ruleProperty + { after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstancePropertyRef__PropertyAssignment_1_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); } + ( + { before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1()); } + RULE_ID + { after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1()); } + ) + { after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__InstanceAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); } + ( + { before(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1()); } + RULE_ID + { after(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1()); } + ) + { after(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__InstanceRef__TailAssignment_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); } + ruleHierInstanceRef + { after(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__InstanceAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); } + ( + { before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1()); } + RULE_ID + { after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1()); } + ) + { after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__HierInstanceRef__TailAssignment_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); } + ruleHierInstanceRef + { after(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__ValueAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); } + rulePropertyRvalueConstant + { after(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__InstPropRefAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); } + ruleInstancePropertyRef + { after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); } + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1()); } + RULE_ID + { after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1()); } + ) + { after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__EnumsAssignment_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); } + ruleEnumBody + { after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyAssignmentRhs__ElementsAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); } + ruleConcat + { after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__ElementsAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); } + ruleConcatElem + { after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Concat__ElementsAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); } + ruleConcatElem + { after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConcatElem__InstPropRefAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); } + ruleInstancePropertyRef + { after(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConcatElem__ValueAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); } + RULE_NUM + { after(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyRvalueConstant__ValAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); } + ruleRValueConstant + { after(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyRvalueConstant__NumAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); } + RULE_NUM + { after(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyRvalueConstant__StrAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); } + RULE_STR + { after(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDefinition__BodyAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); } + ruleEnumBody + { after(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumBody__EntriesAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); } + ruleEnumEntry + { after(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__NameAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); } + RULE_ID + { after(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__IndexAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); } + RULE_NUM + { after(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumEntry__PropertiesAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); } + ruleEnumProperty + { after(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__NameAssignment_0_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); } + ( + { before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); } + 'name' + { after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); } + ) + { after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__ValueAssignment_0_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); } + RULE_STR + { after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__NameAssignment_0_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); } + ( + { before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); } + 'desc' + { after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); } + ) + { after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumProperty__ValueAssignment_0_1_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); } + RULE_STR + { after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +RULE_ID : '\\'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ML_COMMENT : ('/*' ( options {greedy=false;} : . )*'*/'|'<%' ( options {greedy=false;} : . )*'%>'|'(' ( options {greedy=false;} : . )*')'); + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_NUM : (('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')+); + +RULE_STR : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'; 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 new file mode 100644 index 0000000..e91325a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDL.tokens @@ -0,0 +1,252 @@ +'%='=125 +'+='=124 +','=122 +'->'=129 +'.'=130 +':'=128 +';'=115 +'='=117 +'@'=123 +'UNDEFINED'=95 +'['=126 +']'=127 +'`include'=111 +'accesswidth'=79 +'activehigh'=58 +'activelow'=59 +'addressing'=82 +'addrmap'=13 +'alias'=121 +'alignment'=75 +'all'=19 +'anded'=38 +'arbiter'=22 +'async'=55 +'bigendian'=47 +'boolean'=12 +'bothedge'=108 +'bridge'=50 +'clock'=86 +'compact'=103 +'component'=119 +'counter'=41 +'cpuif_reset'=56 +'decr'=63 +'decrsaturate'=69 +'decrthreshold'=71 +'decrvalue'=67 +'decrwidth'=65 +'default'=118 +'desc'=21 +'dontcompare'=72 +'donttest'=73 +'enable'=88 +'encode'=84 +'enum'=131 +'errextbus'=44 +'external'=132 +'false'=97 +'field'=16 +'field_reset'=57 +'fieldwidth'=77 +'fullalign'=105 +'halt'=93 +'haltenable'=92 +'haltmask'=91 +'hw'=81 +'hwclr'=32 +'hwenable'=89 +'hwmask'=90 +'hwset'=31 +'incr'=62 +'incrvalue'=66 +'incrwidth'=64 +'internal'=74 +'intr'=37 +'level'=109 +'littleendian'=46 +'lsb0'=53 +'mask'=87 +'msb0'=52 +'na'=102 +'name'=20 +'negedge'=107 +'next'=94 +'nonsticky'=110 +'number'=11 +'ored'=39 +'overflow'=42 +'posedge'=106 +'precedence'=83 +'property'=112 +'r'=100 +'rclr'=24 +'ref'=17 +'reg'=14 +'regalign'=104 +'regfile'=15 +'regwidth'=76 +'reset'=45 +'resetsignal'=85 +'rset'=23 +'rsvdset'=48 +'rsvdsetX'=49 +'rw'=98 +'saturate'=68 +'shared'=51 +'sharedextbus'=43 +'signal'=18 +'signalwidth'=78 +'singlepulse'=60 +'sticky'=35 +'stickybit'=36 +'string'=10 +'sw'=80 +'swacc'=34 +'swmod'=33 +'swwe'=29 +'swwel'=30 +'sync'=54 +'threshold'=70 +'true'=96 +'type'=116 +'underflow'=61 +'w'=101 +'we'=27 +'wel'=28 +'woclr'=25 +'woset'=26 +'wr'=99 +'xored'=40 +'{'=113 +'|'=120 +'}'=114 +RULE_ID=5 +RULE_ML_COMMENT=8 +RULE_NUM=6 +RULE_SL_COMMENT=9 +RULE_STR=4 +RULE_WS=7 +T__100=100 +T__101=101 +T__102=102 +T__103=103 +T__104=104 +T__105=105 +T__106=106 +T__107=107 +T__108=108 +T__109=109 +T__10=10 +T__110=110 +T__111=111 +T__112=112 +T__113=113 +T__114=114 +T__115=115 +T__116=116 +T__117=117 +T__118=118 +T__119=119 +T__11=11 +T__120=120 +T__121=121 +T__122=122 +T__123=123 +T__124=124 +T__125=125 +T__126=126 +T__127=127 +T__128=128 +T__129=129 +T__12=12 +T__130=130 +T__131=131 +T__132=132 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 +T__64=64 +T__65=65 +T__66=66 +T__67=67 +T__68=68 +T__69=69 +T__70=70 +T__71=71 +T__72=72 +T__73=73 +T__74=74 +T__75=75 +T__76=76 +T__77=77 +T__78=78 +T__79=79 +T__80=80 +T__81=81 +T__82=82 +T__83=83 +T__84=84 +T__85=85 +T__86=86 +T__87=87 +T__88=88 +T__89=89 +T__90=90 +T__91=91 +T__92=92 +T__93=93 +T__94=94 +T__95=95 +T__96=96 +T__97=97 +T__98=98 +T__99=99 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 new file mode 100644 index 0000000..9b9af72 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/internal/InternalRDLLexer.java @@ -0,0 +1,5284 @@ +package com.minres.rdl.ide.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalRDLLexer extends Lexer { + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__132=132; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=5; + public static final int T__131=131; + public static final int T__130=130; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=8; + public static final int T__67=67; + public static final int T__129=129; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__126=126; + public static final int T__63=63; + public static final int T__125=125; + public static final int T__64=64; + public static final int T__128=128; + public static final int T__65=65; + public static final int T__127=127; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int RULE_STR=4; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__100=100; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__102=102; + public static final int T__94=94; + public static final int T__101=101; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__99=99; + public static final int RULE_NUM=6; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int T__97=97; + public static final int T__10=10; + public static final int T__98=98; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__122=122; + public static final int T__70=70; + public static final int T__121=121; + public static final int T__71=71; + public static final int T__124=124; + public static final int T__72=72; + public static final int T__123=123; + public static final int T__120=120; + public static final int RULE_SL_COMMENT=9; + public static final int T__77=77; + public static final int T__119=119; + public static final int T__78=78; + public static final int T__118=118; + public static final int T__79=79; + public static final int T__73=73; + public static final int T__115=115; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__114=114; + public static final int T__75=75; + public static final int T__117=117; + public static final int T__76=76; + public static final int T__116=116; + public static final int T__80=80; + public static final int T__111=111; + public static final int T__81=81; + public static final int T__110=110; + public static final int T__82=82; + public static final int T__113=113; + public static final int T__83=83; + public static final int T__112=112; + public static final int RULE_WS=7; + public static final int T__88=88; + public static final int T__108=108; + public static final int T__89=89; + public static final int T__107=107; + public static final int T__109=109; + public static final int T__84=84; + public static final int T__104=104; + public static final int T__85=85; + public static final int T__103=103; + public static final int T__86=86; + public static final int T__106=106; + public static final int T__87=87; + public static final int T__105=105; + + // delegates + // delegators + + public InternalRDLLexer() {;} + public InternalRDLLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalRDLLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalRDL.g"; } + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:11:7: ( 'string' ) + // InternalRDL.g:11:9: 'string' + { + match("string"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:12:7: ( 'number' ) + // InternalRDL.g:12:9: 'number' + { + match("number"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:13:7: ( 'boolean' ) + // InternalRDL.g:13:9: 'boolean' + { + match("boolean"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:14:7: ( 'addrmap' ) + // InternalRDL.g:14:9: 'addrmap' + { + match("addrmap"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:15:7: ( 'reg' ) + // InternalRDL.g:15:9: 'reg' + { + match("reg"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:16:7: ( 'regfile' ) + // InternalRDL.g:16:9: 'regfile' + { + match("regfile"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:17:7: ( 'field' ) + // InternalRDL.g:17:9: 'field' + { + match("field"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:18:7: ( 'ref' ) + // InternalRDL.g:18:9: 'ref' + { + match("ref"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:19:7: ( 'signal' ) + // InternalRDL.g:19:9: 'signal' + { + match("signal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:20:7: ( 'all' ) + // InternalRDL.g:20:9: 'all' + { + match("all"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:21:7: ( 'name' ) + // InternalRDL.g:21:9: 'name' + { + match("name"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:22:7: ( 'desc' ) + // InternalRDL.g:22:9: 'desc' + { + match("desc"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:23:7: ( 'arbiter' ) + // InternalRDL.g:23:9: 'arbiter' + { + match("arbiter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:24:7: ( 'rset' ) + // InternalRDL.g:24:9: 'rset' + { + match("rset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:25:7: ( 'rclr' ) + // InternalRDL.g:25:9: 'rclr' + { + match("rclr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:26:7: ( 'woclr' ) + // InternalRDL.g:26:9: 'woclr' + { + match("woclr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:27:7: ( 'woset' ) + // InternalRDL.g:27:9: 'woset' + { + match("woset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:28:7: ( 'we' ) + // InternalRDL.g:28:9: 'we' + { + match("we"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:29:7: ( 'wel' ) + // InternalRDL.g:29:9: 'wel' + { + match("wel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:30:7: ( 'swwe' ) + // InternalRDL.g:30:9: 'swwe' + { + match("swwe"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:31:7: ( 'swwel' ) + // InternalRDL.g:31:9: 'swwel' + { + match("swwel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:32:7: ( 'hwset' ) + // InternalRDL.g:32:9: 'hwset' + { + match("hwset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:33:7: ( 'hwclr' ) + // InternalRDL.g:33:9: 'hwclr' + { + match("hwclr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:34:7: ( 'swmod' ) + // InternalRDL.g:34:9: 'swmod' + { + match("swmod"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:35:7: ( 'swacc' ) + // InternalRDL.g:35:9: 'swacc' + { + match("swacc"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:36:7: ( 'sticky' ) + // InternalRDL.g:36:9: 'sticky' + { + match("sticky"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:37:7: ( 'stickybit' ) + // InternalRDL.g:37:9: 'stickybit' + { + match("stickybit"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:38:7: ( 'intr' ) + // InternalRDL.g:38:9: 'intr' + { + match("intr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:39:7: ( 'anded' ) + // InternalRDL.g:39:9: 'anded' + { + match("anded"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:40:7: ( 'ored' ) + // InternalRDL.g:40:9: 'ored' + { + match("ored"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:41:7: ( 'xored' ) + // InternalRDL.g:41:9: 'xored' + { + match("xored"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:42:7: ( 'counter' ) + // InternalRDL.g:42:9: 'counter' + { + match("counter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:43:7: ( 'overflow' ) + // InternalRDL.g:43:9: 'overflow' + { + match("overflow"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:44:7: ( 'sharedextbus' ) + // InternalRDL.g:44:9: 'sharedextbus' + { + match("sharedextbus"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:45:7: ( 'errextbus' ) + // InternalRDL.g:45:9: 'errextbus' + { + match("errextbus"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:46:7: ( 'reset' ) + // InternalRDL.g:46:9: 'reset' + { + match("reset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:47:7: ( 'littleendian' ) + // InternalRDL.g:47:9: 'littleendian' + { + match("littleendian"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:48:7: ( 'bigendian' ) + // InternalRDL.g:48:9: 'bigendian' + { + match("bigendian"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:49:7: ( 'rsvdset' ) + // InternalRDL.g:49:9: 'rsvdset' + { + match("rsvdset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__48" + + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:50:7: ( 'rsvdsetX' ) + // InternalRDL.g:50:9: 'rsvdsetX' + { + match("rsvdsetX"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:51:7: ( 'bridge' ) + // InternalRDL.g:51:9: 'bridge' + { + match("bridge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:52:7: ( 'shared' ) + // InternalRDL.g:52:9: 'shared' + { + match("shared"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:53:7: ( 'msb0' ) + // InternalRDL.g:53:9: 'msb0' + { + match("msb0"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:54:7: ( 'lsb0' ) + // InternalRDL.g:54:9: 'lsb0' + { + match("lsb0"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:55:7: ( 'sync' ) + // InternalRDL.g:55:9: 'sync' + { + match("sync"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:56:7: ( 'async' ) + // InternalRDL.g:56:9: 'async' + { + match("async"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:57:7: ( 'cpuif_reset' ) + // InternalRDL.g:57:9: 'cpuif_reset' + { + match("cpuif_reset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:58:7: ( 'field_reset' ) + // InternalRDL.g:58:9: 'field_reset' + { + match("field_reset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:59:7: ( 'activehigh' ) + // InternalRDL.g:59:9: 'activehigh' + { + match("activehigh"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:60:7: ( 'activelow' ) + // InternalRDL.g:60:9: 'activelow' + { + match("activelow"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:61:7: ( 'singlepulse' ) + // InternalRDL.g:61:9: 'singlepulse' + { + match("singlepulse"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:62:7: ( 'underflow' ) + // InternalRDL.g:62:9: 'underflow' + { + match("underflow"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:63:7: ( 'incr' ) + // InternalRDL.g:63:9: 'incr' + { + match("incr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:64:7: ( 'decr' ) + // InternalRDL.g:64:9: 'decr' + { + match("decr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:65:7: ( 'incrwidth' ) + // InternalRDL.g:65:9: 'incrwidth' + { + match("incrwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:66:7: ( 'decrwidth' ) + // InternalRDL.g:66:9: 'decrwidth' + { + match("decrwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:67:7: ( 'incrvalue' ) + // InternalRDL.g:67:9: 'incrvalue' + { + match("incrvalue"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:68:7: ( 'decrvalue' ) + // InternalRDL.g:68:9: 'decrvalue' + { + match("decrvalue"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:69:7: ( 'saturate' ) + // InternalRDL.g:69:9: 'saturate' + { + match("saturate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:70:7: ( 'decrsaturate' ) + // InternalRDL.g:70:9: 'decrsaturate' + { + match("decrsaturate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:71:7: ( 'threshold' ) + // InternalRDL.g:71:9: 'threshold' + { + match("threshold"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:72:7: ( 'decrthreshold' ) + // InternalRDL.g:72:9: 'decrthreshold' + { + match("decrthreshold"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:73:7: ( 'dontcompare' ) + // InternalRDL.g:73:9: 'dontcompare' + { + match("dontcompare"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:74:7: ( 'donttest' ) + // InternalRDL.g:74:9: 'donttest' + { + match("donttest"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:75:7: ( 'internal' ) + // InternalRDL.g:75:9: 'internal' + { + match("internal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__74" + + // $ANTLR start "T__75" + public final void mT__75() throws RecognitionException { + try { + int _type = T__75; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:76:7: ( 'alignment' ) + // InternalRDL.g:76:9: 'alignment' + { + match("alignment"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__75" + + // $ANTLR start "T__76" + public final void mT__76() throws RecognitionException { + try { + int _type = T__76; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:77:7: ( 'regwidth' ) + // InternalRDL.g:77:9: 'regwidth' + { + match("regwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__76" + + // $ANTLR start "T__77" + public final void mT__77() throws RecognitionException { + try { + int _type = T__77; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:78:7: ( 'fieldwidth' ) + // InternalRDL.g:78:9: 'fieldwidth' + { + match("fieldwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__77" + + // $ANTLR start "T__78" + public final void mT__78() throws RecognitionException { + try { + int _type = T__78; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:79:7: ( 'signalwidth' ) + // InternalRDL.g:79:9: 'signalwidth' + { + match("signalwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__78" + + // $ANTLR start "T__79" + public final void mT__79() throws RecognitionException { + try { + int _type = T__79; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:80:7: ( 'accesswidth' ) + // InternalRDL.g:80:9: 'accesswidth' + { + match("accesswidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__79" + + // $ANTLR start "T__80" + public final void mT__80() throws RecognitionException { + try { + int _type = T__80; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:81:7: ( 'sw' ) + // InternalRDL.g:81:9: 'sw' + { + match("sw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__80" + + // $ANTLR start "T__81" + public final void mT__81() throws RecognitionException { + try { + int _type = T__81; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:82:7: ( 'hw' ) + // InternalRDL.g:82:9: 'hw' + { + match("hw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__81" + + // $ANTLR start "T__82" + public final void mT__82() throws RecognitionException { + try { + int _type = T__82; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:83:7: ( 'addressing' ) + // InternalRDL.g:83:9: 'addressing' + { + match("addressing"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__82" + + // $ANTLR start "T__83" + public final void mT__83() throws RecognitionException { + try { + int _type = T__83; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:84:7: ( 'precedence' ) + // InternalRDL.g:84:9: 'precedence' + { + match("precedence"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__83" + + // $ANTLR start "T__84" + public final void mT__84() throws RecognitionException { + try { + int _type = T__84; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:85:7: ( 'encode' ) + // InternalRDL.g:85:9: 'encode' + { + match("encode"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__84" + + // $ANTLR start "T__85" + public final void mT__85() throws RecognitionException { + try { + int _type = T__85; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:86:7: ( 'resetsignal' ) + // InternalRDL.g:86:9: 'resetsignal' + { + match("resetsignal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__85" + + // $ANTLR start "T__86" + public final void mT__86() throws RecognitionException { + try { + int _type = T__86; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:87:7: ( 'clock' ) + // InternalRDL.g:87:9: 'clock' + { + match("clock"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__86" + + // $ANTLR start "T__87" + public final void mT__87() throws RecognitionException { + try { + int _type = T__87; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:88:7: ( 'mask' ) + // InternalRDL.g:88:9: 'mask' + { + match("mask"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__87" + + // $ANTLR start "T__88" + public final void mT__88() throws RecognitionException { + try { + int _type = T__88; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:89:7: ( 'enable' ) + // InternalRDL.g:89:9: 'enable' + { + match("enable"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__88" + + // $ANTLR start "T__89" + public final void mT__89() throws RecognitionException { + try { + int _type = T__89; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:90:7: ( 'hwenable' ) + // InternalRDL.g:90:9: 'hwenable' + { + match("hwenable"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__89" + + // $ANTLR start "T__90" + public final void mT__90() throws RecognitionException { + try { + int _type = T__90; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:91:7: ( 'hwmask' ) + // InternalRDL.g:91:9: 'hwmask' + { + match("hwmask"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__90" + + // $ANTLR start "T__91" + public final void mT__91() throws RecognitionException { + try { + int _type = T__91; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:92:7: ( 'haltmask' ) + // InternalRDL.g:92:9: 'haltmask' + { + match("haltmask"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__91" + + // $ANTLR start "T__92" + public final void mT__92() throws RecognitionException { + try { + int _type = T__92; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:93:7: ( 'haltenable' ) + // InternalRDL.g:93:9: 'haltenable' + { + match("haltenable"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__92" + + // $ANTLR start "T__93" + public final void mT__93() throws RecognitionException { + try { + int _type = T__93; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:94:7: ( 'halt' ) + // InternalRDL.g:94:9: 'halt' + { + match("halt"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__93" + + // $ANTLR start "T__94" + public final void mT__94() throws RecognitionException { + try { + int _type = T__94; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:95:7: ( 'next' ) + // InternalRDL.g:95:9: 'next' + { + match("next"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__94" + + // $ANTLR start "T__95" + public final void mT__95() throws RecognitionException { + try { + int _type = T__95; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:96:7: ( 'UNDEFINED' ) + // InternalRDL.g:96:9: 'UNDEFINED' + { + match("UNDEFINED"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__95" + + // $ANTLR start "T__96" + public final void mT__96() throws RecognitionException { + try { + int _type = T__96; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:97:7: ( 'true' ) + // InternalRDL.g:97:9: 'true' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__96" + + // $ANTLR start "T__97" + public final void mT__97() throws RecognitionException { + try { + int _type = T__97; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:98:7: ( 'false' ) + // InternalRDL.g:98:9: 'false' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__97" + + // $ANTLR start "T__98" + public final void mT__98() throws RecognitionException { + try { + int _type = T__98; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:99:7: ( 'rw' ) + // InternalRDL.g:99:9: 'rw' + { + match("rw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__98" + + // $ANTLR start "T__99" + public final void mT__99() throws RecognitionException { + try { + int _type = T__99; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:100:7: ( 'wr' ) + // InternalRDL.g:100:9: 'wr' + { + match("wr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__99" + + // $ANTLR start "T__100" + public final void mT__100() throws RecognitionException { + try { + int _type = T__100; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:101:8: ( 'r' ) + // InternalRDL.g:101:10: 'r' + { + match('r'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__100" + + // $ANTLR start "T__101" + public final void mT__101() throws RecognitionException { + try { + int _type = T__101; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:102:8: ( 'w' ) + // InternalRDL.g:102:10: 'w' + { + match('w'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__101" + + // $ANTLR start "T__102" + public final void mT__102() throws RecognitionException { + try { + int _type = T__102; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:103:8: ( 'na' ) + // InternalRDL.g:103:10: 'na' + { + match("na"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__102" + + // $ANTLR start "T__103" + public final void mT__103() throws RecognitionException { + try { + int _type = T__103; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:104:8: ( 'compact' ) + // InternalRDL.g:104:10: 'compact' + { + match("compact"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__103" + + // $ANTLR start "T__104" + public final void mT__104() throws RecognitionException { + try { + int _type = T__104; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:105:8: ( 'regalign' ) + // InternalRDL.g:105:10: 'regalign' + { + match("regalign"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__104" + + // $ANTLR start "T__105" + public final void mT__105() throws RecognitionException { + try { + int _type = T__105; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:106:8: ( 'fullalign' ) + // InternalRDL.g:106:10: 'fullalign' + { + match("fullalign"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__105" + + // $ANTLR start "T__106" + public final void mT__106() throws RecognitionException { + try { + int _type = T__106; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:107:8: ( 'posedge' ) + // InternalRDL.g:107:10: 'posedge' + { + match("posedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__106" + + // $ANTLR start "T__107" + public final void mT__107() throws RecognitionException { + try { + int _type = T__107; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:108:8: ( 'negedge' ) + // InternalRDL.g:108:10: 'negedge' + { + match("negedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__107" + + // $ANTLR start "T__108" + public final void mT__108() throws RecognitionException { + try { + int _type = T__108; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:109:8: ( 'bothedge' ) + // InternalRDL.g:109:10: 'bothedge' + { + match("bothedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__108" + + // $ANTLR start "T__109" + public final void mT__109() throws RecognitionException { + try { + int _type = T__109; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:110:8: ( 'level' ) + // InternalRDL.g:110:10: 'level' + { + match("level"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__109" + + // $ANTLR start "T__110" + public final void mT__110() throws RecognitionException { + try { + int _type = T__110; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:111:8: ( 'nonsticky' ) + // InternalRDL.g:111:10: 'nonsticky' + { + match("nonsticky"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__110" + + // $ANTLR start "T__111" + public final void mT__111() throws RecognitionException { + try { + int _type = T__111; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:112:8: ( '`include' ) + // InternalRDL.g:112:10: '`include' + { + match("`include"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__111" + + // $ANTLR start "T__112" + public final void mT__112() throws RecognitionException { + try { + int _type = T__112; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:113:8: ( 'property' ) + // InternalRDL.g:113:10: 'property' + { + match("property"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__112" + + // $ANTLR start "T__113" + public final void mT__113() throws RecognitionException { + try { + int _type = T__113; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:114:8: ( '{' ) + // InternalRDL.g:114:10: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__113" + + // $ANTLR start "T__114" + public final void mT__114() throws RecognitionException { + try { + int _type = T__114; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:115:8: ( '}' ) + // InternalRDL.g:115:10: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__114" + + // $ANTLR start "T__115" + public final void mT__115() throws RecognitionException { + try { + int _type = T__115; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:116:8: ( ';' ) + // InternalRDL.g:116:10: ';' + { + match(';'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__115" + + // $ANTLR start "T__116" + public final void mT__116() throws RecognitionException { + try { + int _type = T__116; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:117:8: ( 'type' ) + // InternalRDL.g:117:10: 'type' + { + match("type"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__116" + + // $ANTLR start "T__117" + public final void mT__117() throws RecognitionException { + try { + int _type = T__117; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:118:8: ( '=' ) + // InternalRDL.g:118:10: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__117" + + // $ANTLR start "T__118" + public final void mT__118() throws RecognitionException { + try { + int _type = T__118; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:119:8: ( 'default' ) + // InternalRDL.g:119:10: 'default' + { + match("default"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__118" + + // $ANTLR start "T__119" + public final void mT__119() throws RecognitionException { + try { + int _type = T__119; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:120:8: ( 'component' ) + // InternalRDL.g:120:10: 'component' + { + match("component"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__119" + + // $ANTLR start "T__120" + public final void mT__120() throws RecognitionException { + try { + int _type = T__120; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:121:8: ( '|' ) + // InternalRDL.g:121:10: '|' + { + match('|'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__120" + + // $ANTLR start "T__121" + public final void mT__121() throws RecognitionException { + try { + int _type = T__121; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:122:8: ( 'alias' ) + // InternalRDL.g:122:10: 'alias' + { + match("alias"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__121" + + // $ANTLR start "T__122" + public final void mT__122() throws RecognitionException { + try { + int _type = T__122; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:123:8: ( ',' ) + // InternalRDL.g:123:10: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__122" + + // $ANTLR start "T__123" + public final void mT__123() throws RecognitionException { + try { + int _type = T__123; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:124:8: ( '@' ) + // InternalRDL.g:124:10: '@' + { + match('@'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__123" + + // $ANTLR start "T__124" + public final void mT__124() throws RecognitionException { + try { + int _type = T__124; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:125:8: ( '+=' ) + // InternalRDL.g:125:10: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__124" + + // $ANTLR start "T__125" + public final void mT__125() throws RecognitionException { + try { + int _type = T__125; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:126:8: ( '%=' ) + // InternalRDL.g:126:10: '%=' + { + match("%="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__125" + + // $ANTLR start "T__126" + public final void mT__126() throws RecognitionException { + try { + int _type = T__126; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:127:8: ( '[' ) + // InternalRDL.g:127:10: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__126" + + // $ANTLR start "T__127" + public final void mT__127() throws RecognitionException { + try { + int _type = T__127; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:128:8: ( ']' ) + // InternalRDL.g:128:10: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__127" + + // $ANTLR start "T__128" + public final void mT__128() throws RecognitionException { + try { + int _type = T__128; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:129:8: ( ':' ) + // InternalRDL.g:129:10: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__128" + + // $ANTLR start "T__129" + public final void mT__129() throws RecognitionException { + try { + int _type = T__129; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:130:8: ( '->' ) + // InternalRDL.g:130:10: '->' + { + match("->"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__129" + + // $ANTLR start "T__130" + public final void mT__130() throws RecognitionException { + try { + int _type = T__130; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:131:8: ( '.' ) + // InternalRDL.g:131:10: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__130" + + // $ANTLR start "T__131" + public final void mT__131() throws RecognitionException { + try { + int _type = T__131; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:132:8: ( 'enum' ) + // InternalRDL.g:132:10: 'enum' + { + match("enum"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__131" + + // $ANTLR start "T__132" + public final void mT__132() throws RecognitionException { + try { + int _type = T__132; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:133:8: ( 'external' ) + // InternalRDL.g:133:10: 'external' + { + match("external"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__132" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + 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:7642:11: ( '\\\\' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='\\') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalRDL.g:7642:11: '\\\\' + { + match('\\'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalRDL.g:7642:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + 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:7644:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='\t' && LA3_0<='\n')||LA3_0=='\r'||LA3_0==' ') ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7646:17: ( ( '/*' ( options {greedy=false; } : . )* '*/' | '<%' ( options {greedy=false; } : . )* '%>' | '(' ( options {greedy=false; } : . )* ')' ) ) + // InternalRDL.g:7646:19: ( '/*' ( options {greedy=false; } : . )* '*/' | '<%' ( options {greedy=false; } : . )* '%>' | '(' ( options {greedy=false; } : . )* ')' ) + { + // InternalRDL.g:7646:19: ( '/*' ( options {greedy=false; } : . )* '*/' | '<%' ( options {greedy=false; } : . )* '%>' | '(' ( options {greedy=false; } : . )* ')' ) + int alt7=3; + switch ( input.LA(1) ) { + case '/': + { + alt7=1; + } + break; + case '<': + { + alt7=2; + } + break; + case '(': + { + alt7=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + switch (alt7) { + case 1 : + // InternalRDL.g:7646:20: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalRDL.g:7646:25: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalRDL.g:7646:53: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + break; + case 2 : + // InternalRDL.g:7646:62: '<%' ( options {greedy=false; } : . )* '%>' + { + match("<%"); + + // InternalRDL.g:7646:67: ( options {greedy=false; } : . )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='%') ) { + int LA5_1 = input.LA(2); + + if ( (LA5_1=='>') ) { + alt5=2; + } + else if ( ((LA5_1>='\u0000' && LA5_1<='=')||(LA5_1>='?' && LA5_1<='\uFFFF')) ) { + alt5=1; + } + + + } + else if ( ((LA5_0>='\u0000' && LA5_0<='$')||(LA5_0>='&' && LA5_0<='\uFFFF')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalRDL.g:7646:95: . + { + matchAny(); + + } + break; + + default : + break loop5; + } + } while (true); + + match("%>"); + + + } + break; + case 3 : + // InternalRDL.g:7646:104: '(' ( options {greedy=false; } : . )* ')' + { + match('('); + // InternalRDL.g:7646:108: ( options {greedy=false; } : . )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==')') ) { + alt6=2; + } + else if ( ((LA6_0>='\u0000' && LA6_0<='(')||(LA6_0>='*' && LA6_0<='\uFFFF')) ) { + alt6=1; + } + + + switch (alt6) { + case 1 : + // InternalRDL.g:7646:136: . + { + matchAny(); + + } + break; + + default : + break loop6; + } + } while (true); + + match(')'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + 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' )? + { + match("//"); + + // InternalRDL.g:7648:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalRDL.g:7648: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(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop8; + } + } while (true); + + // InternalRDL.g:7648:40: ( ( '\\r' )? '\\n' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\n'||LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalRDL.g:7648:41: ( '\\r' )? '\\n' + { + // InternalRDL.g:7648:41: ( '\\r' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='\r') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalRDL.g:7648:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_NUM" + public final void mRULE_NUM() throws RecognitionException { + try { + int _type = RULE_NUM; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7650: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:7650: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:7650: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 alt21=6; + alt21 = dfa21.predict(input); + switch (alt21) { + case 1 : + // InternalRDL.g:7650:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ + { + // InternalRDL.g:7650:13: ( '0' .. '9' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='0' && LA11_0<='9')) ) { + alt11=1; + } + + + switch (alt11) { + case 1 : + // InternalRDL.g:7650:14: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + match("'b"); + + // InternalRDL.g:7650:31: ( '0' | '1' | '_' )+ + int cnt12=0; + loop12: + do { + int alt12=2; + int LA12_0 = input.LA(1); + + if ( ((LA12_0>='0' && LA12_0<='1')||LA12_0=='_') ) { + alt12=1; + } + + + switch (alt12) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='1')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt12 >= 1 ) break loop12; + EarlyExitException eee = + new EarlyExitException(12, input); + throw eee; + } + cnt12++; + } while (true); + + + } + break; + case 2 : + // InternalRDL.g:7650:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ + { + // InternalRDL.g:7650:46: ( '0' .. '9' )+ + int cnt13=0; + loop13: + do { + int alt13=2; + int LA13_0 = input.LA(1); + + if ( ((LA13_0>='0' && LA13_0<='9')) ) { + alt13=1; + } + + + switch (alt13) { + case 1 : + // InternalRDL.g:7650:47: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt13 >= 1 ) break loop13; + EarlyExitException eee = + new EarlyExitException(13, input); + throw eee; + } + cnt13++; + } while (true); + + match("'o"); + + // InternalRDL.g:7650:64: ( '0' .. '7' | '_' )+ + int cnt14=0; + loop14: + do { + int alt14=2; + int LA14_0 = input.LA(1); + + if ( ((LA14_0>='0' && LA14_0<='7')||LA14_0=='_') ) { + alt14=1; + } + + + switch (alt14) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='7')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt14 >= 1 ) break loop14; + EarlyExitException eee = + new EarlyExitException(14, input); + throw eee; + } + cnt14++; + } while (true); + + + } + break; + case 3 : + // InternalRDL.g:7650:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + { + // InternalRDL.g:7650:80: ( '0' .. '9' )+ + int cnt15=0; + loop15: + do { + int alt15=2; + int LA15_0 = input.LA(1); + + if ( ((LA15_0>='0' && LA15_0<='9')) ) { + alt15=1; + } + + + switch (alt15) { + case 1 : + // InternalRDL.g:7650:81: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt15 >= 1 ) break loop15; + EarlyExitException eee = + new EarlyExitException(15, input); + throw eee; + } + cnt15++; + } while (true); + + match("'h"); + + // InternalRDL.g:7650:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + int cnt16=0; + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( ((LA16_0>='0' && LA16_0<='9')||(LA16_0>='A' && LA16_0<='F')||LA16_0=='_'||(LA16_0>='a' && LA16_0<='f')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt16 >= 1 ) break loop16; + EarlyExitException eee = + new EarlyExitException(16, input); + throw eee; + } + cnt16++; + } while (true); + + + } + break; + case 4 : + // InternalRDL.g:7650:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ + { + // InternalRDL.g:7650:132: ( '0' .. '9' )+ + int cnt17=0; + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='0' && LA17_0<='9')) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // InternalRDL.g:7650:133: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt17 >= 1 ) break loop17; + EarlyExitException eee = + new EarlyExitException(17, input); + throw eee; + } + cnt17++; + } while (true); + + match("'d"); + + // InternalRDL.g:7650:150: ( '0' .. '9' | '_' )+ + int cnt18=0; + loop18: + do { + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>='0' && LA18_0<='9')||LA18_0=='_') ) { + alt18=1; + } + + + switch (alt18) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt18 >= 1 ) break loop18; + EarlyExitException eee = + new EarlyExitException(18, input); + throw eee; + } + cnt18++; + } while (true); + + + } + break; + case 5 : + // InternalRDL.g:7650:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + { + match("0x"); + + // InternalRDL.g:7650:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + int cnt19=0; + loop19: + do { + int alt19=2; + int LA19_0 = input.LA(1); + + if ( ((LA19_0>='0' && LA19_0<='9')||(LA19_0>='A' && LA19_0<='F')||(LA19_0>='a' && LA19_0<='f')) ) { + alt19=1; + } + + + switch (alt19) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt19 >= 1 ) break loop19; + EarlyExitException eee = + new EarlyExitException(19, input); + throw eee; + } + cnt19++; + } while (true); + + + } + break; + case 6 : + // InternalRDL.g:7650:201: ( '0' .. '9' )+ + { + // InternalRDL.g:7650:201: ( '0' .. '9' )+ + int cnt20=0; + loop20: + do { + int alt20=2; + int LA20_0 = input.LA(1); + + if ( ((LA20_0>='0' && LA20_0<='9')) ) { + alt20=1; + } + + + switch (alt20) { + case 1 : + // InternalRDL.g:7650:202: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt20 >= 1 ) break loop20; + EarlyExitException eee = + new EarlyExitException(20, input); + throw eee; + } + cnt20++; + } while (true); + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_NUM" + + // $ANTLR start "RULE_STR" + public final void mRULE_STR() throws RecognitionException { + try { + int _type = RULE_STR; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7652:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalRDL.g:7652:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalRDL.g:7652:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop22: + do { + int alt22=3; + int LA22_0 = input.LA(1); + + if ( (LA22_0=='\\') ) { + alt22=1; + } + else if ( ((LA22_0>='\u0000' && LA22_0<='!')||(LA22_0>='#' && LA22_0<='[')||(LA22_0>=']' && LA22_0<='\uFFFF')) ) { + alt22=2; + } + + + switch (alt22) { + case 1 : + // InternalRDL.g:7652: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') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // InternalRDL.g:7652:62: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop22; + } + } while (true); + + match('\"'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STR" + + public void mTokens() throws RecognitionException { + // InternalRDL.g:1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | T__115 | T__116 | T__117 | T__118 | T__119 | T__120 | T__121 | T__122 | T__123 | T__124 | T__125 | T__126 | T__127 | T__128 | T__129 | T__130 | T__131 | T__132 | RULE_ID | RULE_WS | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_NUM | RULE_STR ) + int alt23=129; + alt23 = dfa23.predict(input); + switch (alt23) { + case 1 : + // InternalRDL.g:1:10: T__10 + { + mT__10(); + + } + break; + case 2 : + // InternalRDL.g:1:16: T__11 + { + mT__11(); + + } + break; + case 3 : + // InternalRDL.g:1:22: T__12 + { + mT__12(); + + } + break; + case 4 : + // InternalRDL.g:1:28: T__13 + { + mT__13(); + + } + break; + case 5 : + // InternalRDL.g:1:34: T__14 + { + mT__14(); + + } + break; + case 6 : + // InternalRDL.g:1:40: T__15 + { + mT__15(); + + } + break; + case 7 : + // InternalRDL.g:1:46: T__16 + { + mT__16(); + + } + break; + case 8 : + // InternalRDL.g:1:52: T__17 + { + mT__17(); + + } + break; + case 9 : + // InternalRDL.g:1:58: T__18 + { + mT__18(); + + } + break; + case 10 : + // InternalRDL.g:1:64: T__19 + { + mT__19(); + + } + break; + case 11 : + // InternalRDL.g:1:70: T__20 + { + mT__20(); + + } + break; + case 12 : + // InternalRDL.g:1:76: T__21 + { + mT__21(); + + } + break; + case 13 : + // InternalRDL.g:1:82: T__22 + { + mT__22(); + + } + break; + case 14 : + // InternalRDL.g:1:88: T__23 + { + mT__23(); + + } + break; + case 15 : + // InternalRDL.g:1:94: T__24 + { + mT__24(); + + } + break; + case 16 : + // InternalRDL.g:1:100: T__25 + { + mT__25(); + + } + break; + case 17 : + // InternalRDL.g:1:106: T__26 + { + mT__26(); + + } + break; + case 18 : + // InternalRDL.g:1:112: T__27 + { + mT__27(); + + } + break; + case 19 : + // InternalRDL.g:1:118: T__28 + { + mT__28(); + + } + break; + case 20 : + // InternalRDL.g:1:124: T__29 + { + mT__29(); + + } + break; + case 21 : + // InternalRDL.g:1:130: T__30 + { + mT__30(); + + } + break; + case 22 : + // InternalRDL.g:1:136: T__31 + { + mT__31(); + + } + break; + case 23 : + // InternalRDL.g:1:142: T__32 + { + mT__32(); + + } + break; + case 24 : + // InternalRDL.g:1:148: T__33 + { + mT__33(); + + } + break; + case 25 : + // InternalRDL.g:1:154: T__34 + { + mT__34(); + + } + break; + case 26 : + // InternalRDL.g:1:160: T__35 + { + mT__35(); + + } + break; + case 27 : + // InternalRDL.g:1:166: T__36 + { + mT__36(); + + } + break; + case 28 : + // InternalRDL.g:1:172: T__37 + { + mT__37(); + + } + break; + case 29 : + // InternalRDL.g:1:178: T__38 + { + mT__38(); + + } + break; + case 30 : + // InternalRDL.g:1:184: T__39 + { + mT__39(); + + } + break; + case 31 : + // InternalRDL.g:1:190: T__40 + { + mT__40(); + + } + break; + case 32 : + // InternalRDL.g:1:196: T__41 + { + mT__41(); + + } + break; + case 33 : + // InternalRDL.g:1:202: T__42 + { + mT__42(); + + } + break; + case 34 : + // InternalRDL.g:1:208: T__43 + { + mT__43(); + + } + break; + case 35 : + // InternalRDL.g:1:214: T__44 + { + mT__44(); + + } + break; + case 36 : + // InternalRDL.g:1:220: T__45 + { + mT__45(); + + } + break; + case 37 : + // InternalRDL.g:1:226: T__46 + { + mT__46(); + + } + break; + case 38 : + // InternalRDL.g:1:232: T__47 + { + mT__47(); + + } + break; + case 39 : + // InternalRDL.g:1:238: T__48 + { + mT__48(); + + } + break; + case 40 : + // InternalRDL.g:1:244: T__49 + { + mT__49(); + + } + break; + case 41 : + // InternalRDL.g:1:250: T__50 + { + mT__50(); + + } + break; + case 42 : + // InternalRDL.g:1:256: T__51 + { + mT__51(); + + } + break; + case 43 : + // InternalRDL.g:1:262: T__52 + { + mT__52(); + + } + break; + case 44 : + // InternalRDL.g:1:268: T__53 + { + mT__53(); + + } + break; + case 45 : + // InternalRDL.g:1:274: T__54 + { + mT__54(); + + } + break; + case 46 : + // InternalRDL.g:1:280: T__55 + { + mT__55(); + + } + break; + case 47 : + // InternalRDL.g:1:286: T__56 + { + mT__56(); + + } + break; + case 48 : + // InternalRDL.g:1:292: T__57 + { + mT__57(); + + } + break; + case 49 : + // InternalRDL.g:1:298: T__58 + { + mT__58(); + + } + break; + case 50 : + // InternalRDL.g:1:304: T__59 + { + mT__59(); + + } + break; + case 51 : + // InternalRDL.g:1:310: T__60 + { + mT__60(); + + } + break; + case 52 : + // InternalRDL.g:1:316: T__61 + { + mT__61(); + + } + break; + case 53 : + // InternalRDL.g:1:322: T__62 + { + mT__62(); + + } + break; + case 54 : + // InternalRDL.g:1:328: T__63 + { + mT__63(); + + } + break; + case 55 : + // InternalRDL.g:1:334: T__64 + { + mT__64(); + + } + break; + case 56 : + // InternalRDL.g:1:340: T__65 + { + mT__65(); + + } + break; + case 57 : + // InternalRDL.g:1:346: T__66 + { + mT__66(); + + } + break; + case 58 : + // InternalRDL.g:1:352: T__67 + { + mT__67(); + + } + break; + case 59 : + // InternalRDL.g:1:358: T__68 + { + mT__68(); + + } + break; + case 60 : + // InternalRDL.g:1:364: T__69 + { + mT__69(); + + } + break; + case 61 : + // InternalRDL.g:1:370: T__70 + { + mT__70(); + + } + break; + case 62 : + // InternalRDL.g:1:376: T__71 + { + mT__71(); + + } + break; + case 63 : + // InternalRDL.g:1:382: T__72 + { + mT__72(); + + } + break; + case 64 : + // InternalRDL.g:1:388: T__73 + { + mT__73(); + + } + break; + case 65 : + // InternalRDL.g:1:394: T__74 + { + mT__74(); + + } + break; + case 66 : + // InternalRDL.g:1:400: T__75 + { + mT__75(); + + } + break; + case 67 : + // InternalRDL.g:1:406: T__76 + { + mT__76(); + + } + break; + case 68 : + // InternalRDL.g:1:412: T__77 + { + mT__77(); + + } + break; + case 69 : + // InternalRDL.g:1:418: T__78 + { + mT__78(); + + } + break; + case 70 : + // InternalRDL.g:1:424: T__79 + { + mT__79(); + + } + break; + case 71 : + // InternalRDL.g:1:430: T__80 + { + mT__80(); + + } + break; + case 72 : + // InternalRDL.g:1:436: T__81 + { + mT__81(); + + } + break; + case 73 : + // InternalRDL.g:1:442: T__82 + { + mT__82(); + + } + break; + case 74 : + // InternalRDL.g:1:448: T__83 + { + mT__83(); + + } + break; + case 75 : + // InternalRDL.g:1:454: T__84 + { + mT__84(); + + } + break; + case 76 : + // InternalRDL.g:1:460: T__85 + { + mT__85(); + + } + break; + case 77 : + // InternalRDL.g:1:466: T__86 + { + mT__86(); + + } + break; + case 78 : + // InternalRDL.g:1:472: T__87 + { + mT__87(); + + } + break; + case 79 : + // InternalRDL.g:1:478: T__88 + { + mT__88(); + + } + break; + case 80 : + // InternalRDL.g:1:484: T__89 + { + mT__89(); + + } + break; + case 81 : + // InternalRDL.g:1:490: T__90 + { + mT__90(); + + } + break; + case 82 : + // InternalRDL.g:1:496: T__91 + { + mT__91(); + + } + break; + case 83 : + // InternalRDL.g:1:502: T__92 + { + mT__92(); + + } + break; + case 84 : + // InternalRDL.g:1:508: T__93 + { + mT__93(); + + } + break; + case 85 : + // InternalRDL.g:1:514: T__94 + { + mT__94(); + + } + break; + case 86 : + // InternalRDL.g:1:520: T__95 + { + mT__95(); + + } + break; + case 87 : + // InternalRDL.g:1:526: T__96 + { + mT__96(); + + } + break; + case 88 : + // InternalRDL.g:1:532: T__97 + { + mT__97(); + + } + break; + case 89 : + // InternalRDL.g:1:538: T__98 + { + mT__98(); + + } + break; + case 90 : + // InternalRDL.g:1:544: T__99 + { + mT__99(); + + } + break; + case 91 : + // InternalRDL.g:1:550: T__100 + { + mT__100(); + + } + break; + case 92 : + // InternalRDL.g:1:557: T__101 + { + mT__101(); + + } + break; + case 93 : + // InternalRDL.g:1:564: T__102 + { + mT__102(); + + } + break; + case 94 : + // InternalRDL.g:1:571: T__103 + { + mT__103(); + + } + break; + case 95 : + // InternalRDL.g:1:578: T__104 + { + mT__104(); + + } + break; + case 96 : + // InternalRDL.g:1:585: T__105 + { + mT__105(); + + } + break; + case 97 : + // InternalRDL.g:1:592: T__106 + { + mT__106(); + + } + break; + case 98 : + // InternalRDL.g:1:599: T__107 + { + mT__107(); + + } + break; + case 99 : + // InternalRDL.g:1:606: T__108 + { + mT__108(); + + } + break; + case 100 : + // InternalRDL.g:1:613: T__109 + { + mT__109(); + + } + break; + case 101 : + // InternalRDL.g:1:620: T__110 + { + mT__110(); + + } + break; + case 102 : + // InternalRDL.g:1:627: T__111 + { + mT__111(); + + } + break; + case 103 : + // InternalRDL.g:1:634: T__112 + { + mT__112(); + + } + break; + case 104 : + // InternalRDL.g:1:641: T__113 + { + mT__113(); + + } + break; + case 105 : + // InternalRDL.g:1:648: T__114 + { + mT__114(); + + } + break; + case 106 : + // InternalRDL.g:1:655: T__115 + { + mT__115(); + + } + break; + case 107 : + // InternalRDL.g:1:662: T__116 + { + mT__116(); + + } + break; + case 108 : + // InternalRDL.g:1:669: T__117 + { + mT__117(); + + } + break; + case 109 : + // InternalRDL.g:1:676: T__118 + { + mT__118(); + + } + break; + case 110 : + // InternalRDL.g:1:683: T__119 + { + mT__119(); + + } + break; + case 111 : + // InternalRDL.g:1:690: T__120 + { + mT__120(); + + } + break; + case 112 : + // InternalRDL.g:1:697: T__121 + { + mT__121(); + + } + break; + case 113 : + // InternalRDL.g:1:704: T__122 + { + mT__122(); + + } + break; + case 114 : + // InternalRDL.g:1:711: T__123 + { + mT__123(); + + } + break; + case 115 : + // InternalRDL.g:1:718: T__124 + { + mT__124(); + + } + break; + case 116 : + // InternalRDL.g:1:725: T__125 + { + mT__125(); + + } + break; + case 117 : + // InternalRDL.g:1:732: T__126 + { + mT__126(); + + } + break; + case 118 : + // InternalRDL.g:1:739: T__127 + { + mT__127(); + + } + break; + case 119 : + // InternalRDL.g:1:746: T__128 + { + mT__128(); + + } + break; + case 120 : + // InternalRDL.g:1:753: T__129 + { + mT__129(); + + } + break; + case 121 : + // InternalRDL.g:1:760: T__130 + { + mT__130(); + + } + break; + case 122 : + // InternalRDL.g:1:767: T__131 + { + mT__131(); + + } + break; + case 123 : + // InternalRDL.g:1:774: T__132 + { + mT__132(); + + } + break; + case 124 : + // InternalRDL.g:1:781: RULE_ID + { + mRULE_ID(); + + } + break; + case 125 : + // InternalRDL.g:1:789: RULE_WS + { + mRULE_WS(); + + } + break; + case 126 : + // InternalRDL.g:1:797: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 127 : + // InternalRDL.g:1:813: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 128 : + // InternalRDL.g:1:829: RULE_NUM + { + mRULE_NUM(); + + } + break; + case 129 : + // InternalRDL.g:1:838: RULE_STR + { + mRULE_STR(); + + } + break; + + } + + } + + + protected DFA21 dfa21 = new DFA21(this); + protected DFA23 dfa23 = new DFA23(this); + static final String DFA21_eotS = + "\1\uffff\2\5\7\uffff"; + static final String DFA21_eofS = + "\12\uffff"; + static final String DFA21_minS = + "\1\60\2\47\1\uffff\1\142\5\uffff"; + static final String DFA21_maxS = + "\1\71\1\170\1\71\1\uffff\1\157\5\uffff"; + static final String DFA21_acceptS = + "\3\uffff\1\5\1\uffff\1\6\1\4\1\3\1\2\1\1"; + static final String DFA21_specialS = + "\12\uffff}>"; + static final String[] DFA21_transitionS = { + "\1\1\11\2", + "\1\4\10\uffff\12\2\76\uffff\1\3", + "\1\4\10\uffff\12\2", + "", + "\1\11\1\uffff\1\6\3\uffff\1\7\6\uffff\1\10", + "", + "", + "", + "", + "" + }; + + static final short[] DFA21_eot = DFA.unpackEncodedString(DFA21_eotS); + static final short[] DFA21_eof = DFA.unpackEncodedString(DFA21_eofS); + static final char[] DFA21_min = DFA.unpackEncodedStringToUnsignedChars(DFA21_minS); + static final char[] DFA21_max = DFA.unpackEncodedStringToUnsignedChars(DFA21_maxS); + static final short[] DFA21_accept = DFA.unpackEncodedString(DFA21_acceptS); + static final short[] DFA21_special = DFA.unpackEncodedString(DFA21_specialS); + static final short[][] DFA21_transition; + + static { + int numStates = DFA21_transitionS.length; + DFA21_transition = new short[numStates][]; + for (int i=0; i"; + static final String[] DFA23_transitionS = { + "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\51\2\uffff\1\36\2\uffff\1\47\2\uffff\1\35\1\33\1\42\1\43\1\46\12\50\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", + "\1\57\6\uffff\1\55\1\53\12\uffff\1\52\2\uffff\1\54\1\uffff\1\56", + "\1\61\3\uffff\1\62\11\uffff\1\63\5\uffff\1\60", + "\1\65\5\uffff\1\64\2\uffff\1\66", + "\1\74\1\67\7\uffff\1\70\1\uffff\1\72\3\uffff\1\71\1\73", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\2\44\1\77\1\44\1\75\15\44\1\76\3\44\1\100\3\44", + "\1\103\7\uffff\1\102\13\uffff\1\104", + "\1\105\11\uffff\1\106", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\110\11\44\1\107\2\44\1\111\10\44", + "\1\114\25\uffff\1\113", + "\1\115", + "\1\116\3\uffff\1\117", + "\1\120", + "\1\123\2\uffff\1\121\1\122", + "\1\125\3\uffff\1\124\5\uffff\1\126", + "\1\131\3\uffff\1\127\11\uffff\1\130", + "\1\133\21\uffff\1\132", + "\1\134", + "\1\135\11\uffff\1\136\6\uffff\1\137", + "\1\141\2\uffff\1\140", + "\1\142", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\47\4\uffff\1\143", + "", + "", + "", + "\1\145\10\uffff\1\144", + "\1\146\6\uffff\1\147", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\152\13\44\1\151\11\44\1\150\3\44", + "\1\154", + "\1\155", + "\1\156", + "\1\157", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\14\44\1\160\15\44", + "\1\163\20\uffff\1\162", + "\1\164", + "\1\165\4\uffff\1\166", + "\1\167", + "\1\170", + "\1\171", + "\1\173\2\uffff\1\172", + "\1\174", + "\1\175", + "\1\176", + "\1\u0080\20\uffff\1\177", + "\1\u0082\1\u0081\13\uffff\1\u0083", + "\1\u0084\20\uffff\1\u0085", + "\1\u0086", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008c\2\uffff\1\u008d\14\uffff\1\u008b", + "\1\u008e", + "\1\u008f\17\uffff\1\u0090", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u0091\16\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\2\44\1\u0095\1\44\1\u0096\7\44\1\u0097\5\44\1\u0094\7\44", + "\1\u0099", + "\1\u009b\20\uffff\1\u009a", + "\1\u009c", + "\1\u009d", + "\1\u009e", + "\1\u00a0\7\uffff\1\u009f", + "\1\u00a1", + "\1\u00a2", + "\1\u00a3", + "\1\u00a5\1\uffff\1\u00a4\21\uffff\1\u00a6", + "\1\u00a7", + "\1\u00a8", + "\1\u00a9", + "\1\u00aa", + "\1\u00ab", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1\11\uffff\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "", + "\1\u00b5", + "\1\u00b6", + "\1\u00b7", + "\1\u00b8", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "", + "\1\u00bc", + "\1\u00bd", + "\1\u00be", + "\1\u00bf", + "\1\u00c0", + "", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\u00c8", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u00cb\5\uffff\1\u00ca", + "\1\u00cc", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u00d3\4\44\1\u00d1\20\44\1\u00d2\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u00d6", + "\1\u00d7", + "\1\u00d8", + "\1\u00d9", + "", + "\1\u00da", + "\1\u00db", + "\1\u00dc", + "\1\u00dd", + "\1\u00de", + "\1\u00df", + "\1\u00e0", + "\1\u00e1", + "\1\u00e2", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u00e4", + "\1\u00e5", + "\1\u00e6", + "\1\u00e7", + "", + "\1\u00e8", + "\1\u00ea\14\uffff\1\u00e9", + "\1\u00eb", + "\1\u00ec", + "\1\u00ed", + "\1\u00ee", + "\1\u00ef", + "\1\u00f0", + "\1\u00f1", + "\1\u00f2", + "\1\u00f3", + "\1\u00f4", + "\1\u00f5", + "\1\u00f6", + "\1\u00f7", + "\1\u00f8", + "\1\u00f9", + "\1\u00fa", + "\1\u00fb", + "\1\u00fc", + "\1\u00fd", + "\1\u00fe", + "\1\u00ff", + "\1\u0100", + "\1\u0101", + "\1\u0102", + "\1\u0103", + "\1\u0104", + "\1\u0105", + "\1\u0106", + "\1\u0107", + "\1\u0108", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u0109\16\44", + "\1\u010b", + "\1\u010c", + "\1\u010d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u010f", + "\1\u0110", + "\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\u0113", + "\1\u0114", + "\1\u0115", + "\1\u0116", + "\1\u0117", + "\1\u0118", + "\1\u011a\7\uffff\1\u0119", + "", + "\1\u011b", + "\1\u011c", + "\1\u011d", + "\1\u011e", + "\1\u011f", + "\1\u0120", + "\1\u0121", + "\1\u0122", + "\1\u0123", + "\1\u0124", + "", + "", + "\1\u0125", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0127", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0129", + "\1\u012a", + "\1\u012b", + "\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\22\44\1\u012f\1\u0130\1\44\1\u012e\1\u012d\3\44", + "\1\u0132", + "\1\u0133\20\uffff\1\u0134", + "\1\u0135", + "\1\u0136", + "", + "\1\u0137", + "\1\u0138", + "\1\u0139", + "\1\u013a", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u013c\7\44\1\u013b\15\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u013f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\25\44\1\u0141\1\u0140\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0144", + "\1\u0145", + "\1\u0146", + "\1\u0147\15\uffff\1\u0148", + "\1\u0149", + "\1\u014a", + "\1\u014b", + "\1\u014c", + "\1\u014d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u014f", + "\1\u0150", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0152", + "\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\u0155", + "\1\u0156", + "\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\u0159", + "\1\u015a", + "\1\u015b", + "\1\u015c", + "\1\u015d", + "\1\u015e", + "\1\u015f", + "\1\u0160", + "\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\u0164", + "", + "\1\u0165", + "\1\u0166", + "", + "", + "\1\u0167", + "\1\u0168", + "\1\u0169", + "\1\u016a", + "\1\u016b", + "\1\u016c", + "\1\u016d", + "\1\u016e", + "\1\u016f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0171", + "\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\u0174", + "\1\u0175", + "\1\u0176", + "\1\u0177", + "\1\u0178", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\22\44\1\u0179\7\44", + "", + "\1\u017b", + "", + "\12\44\7\uffff\32\44\4\uffff\1\u017c\1\uffff\26\44\1\u017d\3\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", + "\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", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u018c", + "\1\u018d", + "\1\u018e", + "\1\u018f", + "", + "", + "\1\u0190", + "\1\u0191", + "\1\u0192", + "", + "", + "\1\u0193", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0195", + "\1\u0196", + "\1\u0197", + "\1\u0198", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u019a", + "\1\u019b", + "\1\u019c", + "", + "\1\u019d", + "\1\u019e", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u01a0", + "\1\u01a1", + "", + "", + "\1\u01a2", + "\1\u01a3", + "\1\u01a4", + "\1\u01a5", + "\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\1\44\1\u01a7\30\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\26\44\1\u01a9\3\44", + "\1\u01ab", + "", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u01ac\25\44", + "\1\u01ae", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01b0", + "\1\u01b1", + "\1\u01b2", + "\1\u01b3", + "\1\u01b4", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01b6", + "\1\u01b7", + "\1\u01b8", + "", + "\1\u01b9", + "", + "", + "\1\u01ba\3\uffff\1\u01bb", + "\1\u01bc", + "\1\u01bd", + "\1\u01be", + "\1\u01bf", + "\1\u01c0", + "", + "\1\u01c1", + "\1\u01c2", + "\1\u01c3", + "", + "", + "\1\u01c4", + "\1\u01c5", + "\1\u01c6", + "\1\u01c7", + "\1\u01c8", + "\1\u01c9", + "\1\u01ca", + "\1\u01cb", + "", + "", + "", + "", + "\1\u01cc", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01ce", + "\1\u01cf", + "\1\u01d0", + "\1\u01d1", + "\1\u01d2", + "\1\u01d3", + "", + "\1\u01d4", + "\1\u01d5", + "\1\u01d6", + "\1\u01d7", + "", + "\1\u01d8", + "\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\u01db", + "\1\u01dc", + "", + "\1\u01dd", + "\1\u01de", + "\1\u01df", + "\1\u01e0", + "\1\u01e1", + "\1\u01e2", + "", + "\1\u01e3", + "", + "\1\u01e4", + "", + "\1\u01e5", + "\1\u01e6", + "", + "\1\u01e7", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01e9", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01eb", + "\1\u01ec", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01ee", + "\1\u01ef", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01f1", + "\1\u01f2", + "\1\u01f3", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01f5", + "\1\u01f6", + "\1\u01f7", + "\12\44\7\uffff\27\44\1\u01f8\2\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01fa", + "\1\u01fb", + "\1\u01fc", + "\1\u01fd", + "\1\u01fe", + "\1\u01ff", + "\1\u0200", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0202", + "\1\u0203", + "\1\u0204", + "", + "\1\u0205", + "\1\u0206", + "\1\u0207", + "\1\u0208", + "\1\u0209", + "\1\u020a", + "\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\u020d", + "\1\u020e", + "\1\u020f", + "", + "", + "\1\u0210", + "\1\u0211", + "\1\u0212", + "\1\u0213", + "\1\u0214", + "\1\u0215", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0217", + "\1\u0218", + "\1\u0219", + "\1\u021a", + "\1\u021b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u021d", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u021f", + "", + "\1\u0220", + "\1\u0221", + "", + "\1\u0222", + "\1\u0223", + "\1\u0224", + "", + "\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\u0227", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u0229", + "\1\u022a", + "\1\u022b", + "\1\u022c", + "\1\u022d", + "\1\u022e", + "\1\u022f", + "", + "\1\u0230", + "\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\u0234", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0236", + "\1\u0237", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u0239", + "\1\u023a", + "\1\u023b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u023d", + "\1\u023e", + "\1\u023f", + "\1\u0240", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u0242", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0244", + "\1\u0245", + "\1\u0246", + "", + "\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\u0249", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u024b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u024d", + "", + "", + "\1\u024e", + "", + "\1\u024f", + "\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\u0254", + "\1\u0255", + "\1\u0256", + "", + "", + "", + "\1\u0257", + "", + "\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\u025b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u025d", + "\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\u0260", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u0262", + "\1\u0263", + "\1\u0264", + "", + "", + "\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\u0267", + "\1\u0268", + "\1\u0269", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "", + "\1\u026b", + "\1\u026c", + "\1\u026d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "", + "\1\u026f", + "", + "\1\u0270", + "", + "", + "\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\u0274", + "", + "", + "\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\u0278", + "\1\u0279", + "\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\u027c", + "", + "", + "", + "\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\u027f", + "", + "", + "\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", + "", + "" + }; + + static final short[] DFA23_eot = DFA.unpackEncodedString(DFA23_eotS); + static final short[] DFA23_eof = DFA.unpackEncodedString(DFA23_eofS); + static final char[] DFA23_min = DFA.unpackEncodedStringToUnsignedChars(DFA23_minS); + static final char[] DFA23_max = DFA.unpackEncodedStringToUnsignedChars(DFA23_maxS); + static final short[] DFA23_accept = DFA.unpackEncodedString(DFA23_acceptS); + static final short[] DFA23_special = DFA.unpackEncodedString(DFA23_specialS); + static final short[][] DFA23_transition; + + static { + int numStates = DFA23_transitionS.length; + DFA23_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "'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; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__132=132; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=5; + public static final int T__131=131; + public static final int T__130=130; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=8; + public static final int T__67=67; + public static final int T__129=129; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__126=126; + public static final int T__63=63; + public static final int T__125=125; + public static final int T__64=64; + public static final int T__128=128; + public static final int T__65=65; + public static final int T__127=127; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int RULE_STR=4; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__100=100; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__102=102; + public static final int T__94=94; + public static final int T__101=101; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__99=99; + public static final int RULE_NUM=6; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int T__97=97; + public static final int T__10=10; + public static final int T__98=98; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__122=122; + public static final int T__70=70; + public static final int T__121=121; + public static final int T__71=71; + public static final int T__124=124; + public static final int T__72=72; + public static final int T__123=123; + public static final int T__120=120; + public static final int RULE_SL_COMMENT=9; + public static final int T__77=77; + public static final int T__119=119; + public static final int T__78=78; + public static final int T__118=118; + public static final int T__79=79; + public static final int T__73=73; + public static final int T__115=115; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__114=114; + public static final int T__75=75; + public static final int T__117=117; + public static final int T__76=76; + public static final int T__116=116; + public static final int T__80=80; + public static final int T__111=111; + public static final int T__81=81; + public static final int T__110=110; + public static final int T__82=82; + public static final int T__113=113; + public static final int T__83=83; + public static final int T__112=112; + public static final int RULE_WS=7; + public static final int T__88=88; + public static final int T__108=108; + public static final int T__89=89; + public static final int T__107=107; + public static final int T__109=109; + public static final int T__84=84; + public static final int T__104=104; + public static final int T__85=85; + public static final int T__103=103; + public static final int T__86=86; + public static final int T__106=106; + public static final int T__87=87; + public static final int T__105=105; + + // delegates + // delegators + + + public InternalRDLParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalRDLParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalRDLParser.tokenNames; } + public String getGrammarFileName() { return "InternalRDL.g"; } + + + private RDLGrammarAccess grammarAccess; + + public void setGrammarAccess(RDLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + // $ANTLR start "entryRuleRoot" + // InternalRDL.g:53:1: entryRuleRoot : ruleRoot EOF ; + public final void entryRuleRoot() throws RecognitionException { + try { + // InternalRDL.g:54:1: ( ruleRoot EOF ) + // InternalRDL.g:55:1: ruleRoot EOF + { + before(grammarAccess.getRootRule()); + pushFollow(FOLLOW_1); + ruleRoot(); + + state._fsp--; + + after(grammarAccess.getRootRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRoot" + + + // $ANTLR start "ruleRoot" + // InternalRDL.g:62: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:3: ( rule__Root__Alternatives )* + { + before(grammarAccess.getRootAccess().getAlternatives()); + // InternalRDL.g:69:3: ( rule__Root__Alternatives )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==RULE_ID||(LA1_0>=13 && LA1_0<=16)||LA1_0==18||(LA1_0>=20 && LA1_0<=95)||(LA1_0>=106 && LA1_0<=112)||LA1_0==118||LA1_0==121||(LA1_0>=131 && LA1_0<=132)) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalRDL.g:69:4: rule__Root__Alternatives + { + pushFollow(FOLLOW_3); + rule__Root__Alternatives(); + + state._fsp--; + + + } + break; + + default : + break loop1; + } + } while (true); + + after(grammarAccess.getRootAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRoot" + + + // $ANTLR start "entryRuleInclude" + // InternalRDL.g:78:1: entryRuleInclude : ruleInclude EOF ; + public final void entryRuleInclude() throws RecognitionException { + try { + // InternalRDL.g:79:1: ( ruleInclude EOF ) + // InternalRDL.g:80:1: ruleInclude EOF + { + before(grammarAccess.getIncludeRule()); + pushFollow(FOLLOW_1); + ruleInclude(); + + state._fsp--; + + after(grammarAccess.getIncludeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInclude" + + + // $ANTLR start "ruleInclude" + // InternalRDL.g:87: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:3: ( rule__Include__Group__0 ) + { + before(grammarAccess.getIncludeAccess().getGroup()); + // InternalRDL.g:94:3: ( rule__Include__Group__0 ) + // InternalRDL.g:94:4: rule__Include__Group__0 + { + pushFollow(FOLLOW_2); + rule__Include__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getIncludeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInclude" + + + // $ANTLR start "entryRulePropertyDefinition" + // InternalRDL.g:103:1: entryRulePropertyDefinition : rulePropertyDefinition EOF ; + public final void entryRulePropertyDefinition() throws RecognitionException { + try { + // InternalRDL.g:104:1: ( rulePropertyDefinition EOF ) + // InternalRDL.g:105:1: rulePropertyDefinition EOF + { + before(grammarAccess.getPropertyDefinitionRule()); + pushFollow(FOLLOW_1); + rulePropertyDefinition(); + + state._fsp--; + + after(grammarAccess.getPropertyDefinitionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyDefinition" + + + // $ANTLR start "rulePropertyDefinition" + // InternalRDL.g:112: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:3: ( rule__PropertyDefinition__Group__0 ) + { + before(grammarAccess.getPropertyDefinitionAccess().getGroup()); + // InternalRDL.g:119:3: ( rule__PropertyDefinition__Group__0 ) + // InternalRDL.g:119:4: rule__PropertyDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyDefinition" + + + // $ANTLR start "entryRulePropertyDefault" + // InternalRDL.g:128:1: entryRulePropertyDefault : rulePropertyDefault EOF ; + public final void entryRulePropertyDefault() throws RecognitionException { + try { + // InternalRDL.g:129:1: ( rulePropertyDefault EOF ) + // InternalRDL.g:130:1: rulePropertyDefault EOF + { + before(grammarAccess.getPropertyDefaultRule()); + pushFollow(FOLLOW_1); + rulePropertyDefault(); + + state._fsp--; + + after(grammarAccess.getPropertyDefaultRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyDefault" + + + // $ANTLR start "rulePropertyDefault" + // InternalRDL.g:137: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:3: ( rule__PropertyDefault__Group__0 ) + { + before(grammarAccess.getPropertyDefaultAccess().getGroup()); + // InternalRDL.g:144:3: ( rule__PropertyDefault__Group__0 ) + // InternalRDL.g:144:4: rule__PropertyDefault__Group__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefaultAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyDefault" + + + // $ANTLR start "entryRulePropertyUsage" + // InternalRDL.g:153:1: entryRulePropertyUsage : rulePropertyUsage EOF ; + public final void entryRulePropertyUsage() throws RecognitionException { + try { + // InternalRDL.g:154:1: ( rulePropertyUsage EOF ) + // InternalRDL.g:155:1: rulePropertyUsage EOF + { + before(grammarAccess.getPropertyUsageRule()); + pushFollow(FOLLOW_1); + rulePropertyUsage(); + + state._fsp--; + + after(grammarAccess.getPropertyUsageRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyUsage" + + + // $ANTLR start "rulePropertyUsage" + // InternalRDL.g:162: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:3: ( rule__PropertyUsage__Group__0 ) + { + before(grammarAccess.getPropertyUsageAccess().getGroup()); + // InternalRDL.g:169:3: ( rule__PropertyUsage__Group__0 ) + // InternalRDL.g:169:4: rule__PropertyUsage__Group__0 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyUsageAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyUsage" + + + // $ANTLR start "entryRuleComponentDefinition" + // InternalRDL.g:178:1: entryRuleComponentDefinition : ruleComponentDefinition EOF ; + public final void entryRuleComponentDefinition() throws RecognitionException { + try { + // InternalRDL.g:179:1: ( ruleComponentDefinition EOF ) + // InternalRDL.g:180:1: ruleComponentDefinition EOF + { + before(grammarAccess.getComponentDefinitionRule()); + pushFollow(FOLLOW_1); + ruleComponentDefinition(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleComponentDefinition" + + + // $ANTLR start "ruleComponentDefinition" + // InternalRDL.g:187: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:3: ( rule__ComponentDefinition__Group__0 ) + { + before(grammarAccess.getComponentDefinitionAccess().getGroup()); + // InternalRDL.g:194:3: ( rule__ComponentDefinition__Group__0 ) + // InternalRDL.g:194:4: rule__ComponentDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComponentDefinition" + + + // $ANTLR start "entryRuleNamedInstantiation" + // InternalRDL.g:203:1: entryRuleNamedInstantiation : ruleNamedInstantiation EOF ; + public final void entryRuleNamedInstantiation() throws RecognitionException { + try { + // InternalRDL.g:204:1: ( ruleNamedInstantiation EOF ) + // InternalRDL.g:205:1: ruleNamedInstantiation EOF + { + before(grammarAccess.getNamedInstantiationRule()); + pushFollow(FOLLOW_1); + ruleNamedInstantiation(); + + state._fsp--; + + after(grammarAccess.getNamedInstantiationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleNamedInstantiation" + + + // $ANTLR start "ruleNamedInstantiation" + // InternalRDL.g:212:1: ruleNamedInstantiation : ( ( rule__NamedInstantiation__Group__0 ) ) ; + public final void ruleNamedInstantiation() 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__NamedInstantiation__Group__0 ) ) + // InternalRDL.g:218:3: ( rule__NamedInstantiation__Group__0 ) + { + before(grammarAccess.getNamedInstantiationAccess().getGroup()); + // InternalRDL.g:219:3: ( rule__NamedInstantiation__Group__0 ) + // InternalRDL.g:219:4: rule__NamedInstantiation__Group__0 + { + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getNamedInstantiationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + 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 start "entryRuleComponentInstance" + // InternalRDL.g:253:1: entryRuleComponentInstance : ruleComponentInstance EOF ; + public final void entryRuleComponentInstance() throws RecognitionException { + try { + // InternalRDL.g:254:1: ( ruleComponentInstance EOF ) + // InternalRDL.g:255:1: ruleComponentInstance EOF + { + before(grammarAccess.getComponentInstanceRule()); + pushFollow(FOLLOW_1); + ruleComponentInstance(); + + state._fsp--; + + after(grammarAccess.getComponentInstanceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleComponentInstance" + + + // $ANTLR start "ruleComponentInstance" + // InternalRDL.g:262: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:267:2: ( ( rule__ComponentInstance__Group__0 ) ) + // InternalRDL.g:268: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentInstanceAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComponentInstance" + + + // $ANTLR start "entryRuleRange" + // InternalRDL.g:278:1: entryRuleRange : ruleRange EOF ; + public final void entryRuleRange() throws RecognitionException { + try { + // InternalRDL.g:279:1: ( ruleRange EOF ) + // InternalRDL.g:280:1: ruleRange EOF + { + before(grammarAccess.getRangeRule()); + pushFollow(FOLLOW_1); + ruleRange(); + + state._fsp--; + + after(grammarAccess.getRangeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRange" + + + // $ANTLR start "ruleRange" + // InternalRDL.g:287: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:292:2: ( ( rule__Range__Group__0 ) ) + // InternalRDL.g:293: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 + { + pushFollow(FOLLOW_2); + rule__Range__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRange" + + + // $ANTLR start "entryRulePropertyAssignment" + // InternalRDL.g:303:1: entryRulePropertyAssignment : rulePropertyAssignment EOF ; + public final void entryRulePropertyAssignment() throws RecognitionException { + try { + // InternalRDL.g:304:1: ( rulePropertyAssignment EOF ) + // InternalRDL.g:305:1: rulePropertyAssignment EOF + { + before(grammarAccess.getPropertyAssignmentRule()); + pushFollow(FOLLOW_1); + rulePropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyAssignment" + + + // $ANTLR start "rulePropertyAssignment" + // InternalRDL.g:312: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:317:2: ( ( rule__PropertyAssignment__Alternatives ) ) + // InternalRDL.g:318:3: ( rule__PropertyAssignment__Alternatives ) + { + before(grammarAccess.getPropertyAssignmentAccess().getAlternatives()); + // InternalRDL.g:319:3: ( rule__PropertyAssignment__Alternatives ) + // InternalRDL.g:319:4: rule__PropertyAssignment__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyAssignment__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyAssignment" + + + // $ANTLR start "entryRuleDefaultProperyAssignment" + // InternalRDL.g:328:1: entryRuleDefaultProperyAssignment : ruleDefaultProperyAssignment EOF ; + public final void entryRuleDefaultProperyAssignment() throws RecognitionException { + try { + // InternalRDL.g:329:1: ( ruleDefaultProperyAssignment EOF ) + // InternalRDL.g:330:1: ruleDefaultProperyAssignment EOF + { + before(grammarAccess.getDefaultProperyAssignmentRule()); + pushFollow(FOLLOW_1); + ruleDefaultProperyAssignment(); + + state._fsp--; + + after(grammarAccess.getDefaultProperyAssignmentRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDefaultProperyAssignment" + + + // $ANTLR start "ruleDefaultProperyAssignment" + // InternalRDL.g:337: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:342:2: ( ( rule__DefaultProperyAssignment__Group__0 ) ) + // InternalRDL.g:343: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 + { + pushFollow(FOLLOW_2); + rule__DefaultProperyAssignment__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getDefaultProperyAssignmentAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDefaultProperyAssignment" + + + // $ANTLR start "entryRuleExplicitPropertyAssignment" + // InternalRDL.g:353:1: entryRuleExplicitPropertyAssignment : ruleExplicitPropertyAssignment EOF ; + public final void entryRuleExplicitPropertyAssignment() throws RecognitionException { + try { + // InternalRDL.g:354:1: ( ruleExplicitPropertyAssignment EOF ) + // InternalRDL.g:355:1: ruleExplicitPropertyAssignment EOF + { + before(grammarAccess.getExplicitPropertyAssignmentRule()); + pushFollow(FOLLOW_1); + ruleExplicitPropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getExplicitPropertyAssignmentRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleExplicitPropertyAssignment" + + + // $ANTLR start "ruleExplicitPropertyAssignment" + // InternalRDL.g:362: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:367:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) + // InternalRDL.g:368:3: ( rule__ExplicitPropertyAssignment__Alternatives ) + { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives()); + // InternalRDL.g:369:3: ( rule__ExplicitPropertyAssignment__Alternatives ) + // InternalRDL.g:369:4: rule__ExplicitPropertyAssignment__Alternatives + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleExplicitPropertyAssignment" + + + // $ANTLR start "entryRulePostPropertyAssignment" + // InternalRDL.g:378:1: entryRulePostPropertyAssignment : rulePostPropertyAssignment EOF ; + public final void entryRulePostPropertyAssignment() throws RecognitionException { + try { + // InternalRDL.g:379:1: ( rulePostPropertyAssignment EOF ) + // InternalRDL.g:380:1: rulePostPropertyAssignment EOF + { + before(grammarAccess.getPostPropertyAssignmentRule()); + pushFollow(FOLLOW_1); + rulePostPropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getPostPropertyAssignmentRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePostPropertyAssignment" + + + // $ANTLR start "rulePostPropertyAssignment" + // InternalRDL.g:387: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:392:2: ( ( rule__PostPropertyAssignment__Group__0 ) ) + // InternalRDL.g:393: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePostPropertyAssignment" + + + // $ANTLR start "entryRuleInstancePropertyRef" + // InternalRDL.g:403:1: entryRuleInstancePropertyRef : ruleInstancePropertyRef EOF ; + public final void entryRuleInstancePropertyRef() throws RecognitionException { + try { + // InternalRDL.g:404:1: ( ruleInstancePropertyRef EOF ) + // InternalRDL.g:405:1: ruleInstancePropertyRef EOF + { + before(grammarAccess.getInstancePropertyRefRule()); + pushFollow(FOLLOW_1); + ruleInstancePropertyRef(); + + state._fsp--; + + after(grammarAccess.getInstancePropertyRefRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInstancePropertyRef" + + + // $ANTLR start "ruleInstancePropertyRef" + // InternalRDL.g:412: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:417:2: ( ( rule__InstancePropertyRef__Group__0 ) ) + // InternalRDL.g:418: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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getInstancePropertyRefAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInstancePropertyRef" + + + // $ANTLR start "entryRuleInstanceRef" + // InternalRDL.g:428:1: entryRuleInstanceRef : ruleInstanceRef EOF ; + public final void entryRuleInstanceRef() throws RecognitionException { + try { + // InternalRDL.g:429:1: ( ruleInstanceRef EOF ) + // InternalRDL.g:430:1: ruleInstanceRef EOF + { + before(grammarAccess.getInstanceRefRule()); + pushFollow(FOLLOW_1); + ruleInstanceRef(); + + state._fsp--; + + after(grammarAccess.getInstanceRefRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInstanceRef" + + + // $ANTLR start "ruleInstanceRef" + // InternalRDL.g:437: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:442:2: ( ( rule__InstanceRef__Group__0 ) ) + // InternalRDL.g:443: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 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getInstanceRefAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInstanceRef" + + + // $ANTLR start "entryRuleHierInstanceRef" + // InternalRDL.g:453:1: entryRuleHierInstanceRef : ruleHierInstanceRef EOF ; + public final void entryRuleHierInstanceRef() throws RecognitionException { + try { + // InternalRDL.g:454:1: ( ruleHierInstanceRef EOF ) + // InternalRDL.g:455:1: ruleHierInstanceRef EOF + { + before(grammarAccess.getHierInstanceRefRule()); + pushFollow(FOLLOW_1); + ruleHierInstanceRef(); + + state._fsp--; + + after(grammarAccess.getHierInstanceRefRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleHierInstanceRef" + + + // $ANTLR start "ruleHierInstanceRef" + // InternalRDL.g:462: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:467:2: ( ( rule__HierInstanceRef__Group__0 ) ) + // InternalRDL.g:468: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 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getHierInstanceRefAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleHierInstanceRef" + + + // $ANTLR start "entryRulePropertyAssignmentRhs" + // InternalRDL.g:478:1: entryRulePropertyAssignmentRhs : rulePropertyAssignmentRhs EOF ; + public final void entryRulePropertyAssignmentRhs() throws RecognitionException { + try { + // InternalRDL.g:479:1: ( rulePropertyAssignmentRhs EOF ) + // InternalRDL.g:480:1: rulePropertyAssignmentRhs EOF + { + before(grammarAccess.getPropertyAssignmentRhsRule()); + pushFollow(FOLLOW_1); + rulePropertyAssignmentRhs(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentRhsRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyAssignmentRhs" + + + // $ANTLR start "rulePropertyAssignmentRhs" + // InternalRDL.g:487: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:492:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) ) + // InternalRDL.g:493:3: ( rule__PropertyAssignmentRhs__Alternatives ) + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives()); + // InternalRDL.g:494:3: ( rule__PropertyAssignmentRhs__Alternatives ) + // InternalRDL.g:494:4: rule__PropertyAssignmentRhs__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyAssignmentRhs" + + + // $ANTLR start "entryRuleConcat" + // InternalRDL.g:503:1: entryRuleConcat : ruleConcat EOF ; + public final void entryRuleConcat() throws RecognitionException { + try { + // InternalRDL.g:504:1: ( ruleConcat EOF ) + // InternalRDL.g:505:1: ruleConcat EOF + { + before(grammarAccess.getConcatRule()); + pushFollow(FOLLOW_1); + ruleConcat(); + + state._fsp--; + + after(grammarAccess.getConcatRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConcat" + + + // $ANTLR start "ruleConcat" + // InternalRDL.g:512: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:517:2: ( ( rule__Concat__Group__0 ) ) + // InternalRDL.g:518: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 + { + pushFollow(FOLLOW_2); + rule__Concat__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getConcatAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConcat" + + + // $ANTLR start "entryRuleConcatElem" + // InternalRDL.g:528:1: entryRuleConcatElem : ruleConcatElem EOF ; + public final void entryRuleConcatElem() throws RecognitionException { + try { + // InternalRDL.g:529:1: ( ruleConcatElem EOF ) + // InternalRDL.g:530:1: ruleConcatElem EOF + { + before(grammarAccess.getConcatElemRule()); + pushFollow(FOLLOW_1); + ruleConcatElem(); + + state._fsp--; + + after(grammarAccess.getConcatElemRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConcatElem" + + + // $ANTLR start "ruleConcatElem" + // InternalRDL.g:537: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:542:2: ( ( rule__ConcatElem__Alternatives ) ) + // InternalRDL.g:543:3: ( rule__ConcatElem__Alternatives ) + { + before(grammarAccess.getConcatElemAccess().getAlternatives()); + // InternalRDL.g:544:3: ( rule__ConcatElem__Alternatives ) + // InternalRDL.g:544:4: rule__ConcatElem__Alternatives + { + pushFollow(FOLLOW_2); + rule__ConcatElem__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getConcatElemAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConcatElem" + + + // $ANTLR start "entryRulePropertyRvalueConstant" + // InternalRDL.g:553:1: entryRulePropertyRvalueConstant : rulePropertyRvalueConstant EOF ; + public final void entryRulePropertyRvalueConstant() throws RecognitionException { + try { + // InternalRDL.g:554:1: ( rulePropertyRvalueConstant EOF ) + // InternalRDL.g:555:1: rulePropertyRvalueConstant EOF + { + before(grammarAccess.getPropertyRvalueConstantRule()); + pushFollow(FOLLOW_1); + rulePropertyRvalueConstant(); + + state._fsp--; + + after(grammarAccess.getPropertyRvalueConstantRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyRvalueConstant" + + + // $ANTLR start "rulePropertyRvalueConstant" + // InternalRDL.g:562: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:567:2: ( ( rule__PropertyRvalueConstant__Alternatives ) ) + // InternalRDL.g:568:3: ( rule__PropertyRvalueConstant__Alternatives ) + { + before(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives()); + // InternalRDL.g:569:3: ( rule__PropertyRvalueConstant__Alternatives ) + // InternalRDL.g:569:4: rule__PropertyRvalueConstant__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyRvalueConstant" + + + // $ANTLR start "entryRuleEnumDefinition" + // InternalRDL.g:578:1: entryRuleEnumDefinition : ruleEnumDefinition EOF ; + public final void entryRuleEnumDefinition() throws RecognitionException { + try { + // InternalRDL.g:579:1: ( ruleEnumDefinition EOF ) + // InternalRDL.g:580:1: ruleEnumDefinition EOF + { + before(grammarAccess.getEnumDefinitionRule()); + pushFollow(FOLLOW_1); + ruleEnumDefinition(); + + state._fsp--; + + after(grammarAccess.getEnumDefinitionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumDefinition" + + + // $ANTLR start "ruleEnumDefinition" + // InternalRDL.g:587: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:592:2: ( ( rule__EnumDefinition__Group__0 ) ) + // InternalRDL.g:593: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 + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumDefinitionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumDefinition" + + + // $ANTLR start "entryRuleEnumBody" + // InternalRDL.g:603:1: entryRuleEnumBody : ruleEnumBody EOF ; + public final void entryRuleEnumBody() throws RecognitionException { + try { + // InternalRDL.g:604:1: ( ruleEnumBody EOF ) + // InternalRDL.g:605:1: ruleEnumBody EOF + { + before(grammarAccess.getEnumBodyRule()); + pushFollow(FOLLOW_1); + ruleEnumBody(); + + state._fsp--; + + after(grammarAccess.getEnumBodyRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumBody" + + + // $ANTLR start "ruleEnumBody" + // InternalRDL.g:612: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:617:2: ( ( rule__EnumBody__Group__0 ) ) + // InternalRDL.g:618: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 + { + pushFollow(FOLLOW_2); + rule__EnumBody__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumBodyAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumBody" + + + // $ANTLR start "entryRuleEnumEntry" + // InternalRDL.g:628:1: entryRuleEnumEntry : ruleEnumEntry EOF ; + public final void entryRuleEnumEntry() throws RecognitionException { + try { + // InternalRDL.g:629:1: ( ruleEnumEntry EOF ) + // InternalRDL.g:630:1: ruleEnumEntry EOF + { + before(grammarAccess.getEnumEntryRule()); + pushFollow(FOLLOW_1); + ruleEnumEntry(); + + state._fsp--; + + after(grammarAccess.getEnumEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumEntry" + + + // $ANTLR start "ruleEnumEntry" + // InternalRDL.g:637: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:642:2: ( ( rule__EnumEntry__Group__0 ) ) + // InternalRDL.g:643: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 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumEntry" + + + // $ANTLR start "entryRuleEnumProperty" + // InternalRDL.g:653:1: entryRuleEnumProperty : ruleEnumProperty EOF ; + public final void entryRuleEnumProperty() throws RecognitionException { + try { + // InternalRDL.g:654:1: ( ruleEnumProperty EOF ) + // InternalRDL.g:655:1: ruleEnumProperty EOF + { + before(grammarAccess.getEnumPropertyRule()); + pushFollow(FOLLOW_1); + ruleEnumProperty(); + + state._fsp--; + + after(grammarAccess.getEnumPropertyRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumProperty" + + + // $ANTLR start "ruleEnumProperty" + // InternalRDL.g:662: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:667:2: ( ( rule__EnumProperty__Group__0 ) ) + // InternalRDL.g:668: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumProperty" + + + // $ANTLR start "rulePropertyTypeName" + // InternalRDL.g:678: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:2: ( ( rule__PropertyTypeName__Alternatives ) ) + // InternalRDL.g:684:3: ( rule__PropertyTypeName__Alternatives ) + { + before(grammarAccess.getPropertyTypeNameAccess().getAlternatives()); + // InternalRDL.g:685:3: ( rule__PropertyTypeName__Alternatives ) + // InternalRDL.g:685:4: rule__PropertyTypeName__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyTypeName__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyTypeNameAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyTypeName" + + + // $ANTLR start "rulePropertyComponent" + // InternalRDL.g:694: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:2: ( ( rule__PropertyComponent__Alternatives ) ) + // InternalRDL.g:700:3: ( rule__PropertyComponent__Alternatives ) + { + before(grammarAccess.getPropertyComponentAccess().getAlternatives()); + // InternalRDL.g:701:3: ( rule__PropertyComponent__Alternatives ) + // InternalRDL.g:701:4: rule__PropertyComponent__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyComponent__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyComponentAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyComponent" + + + // $ANTLR start "ruleComponentDefinitionType" + // InternalRDL.g:710: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:2: ( ( rule__ComponentDefinitionType__Alternatives ) ) + // InternalRDL.g:716:3: ( rule__ComponentDefinitionType__Alternatives ) + { + before(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives()); + // InternalRDL.g:717:3: ( rule__ComponentDefinitionType__Alternatives ) + // InternalRDL.g:717:4: rule__ComponentDefinitionType__Alternatives + { + pushFollow(FOLLOW_2); + rule__ComponentDefinitionType__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComponentDefinitionType" + + + // $ANTLR start "ruleProperty" + // InternalRDL.g:726: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:2: ( ( rule__Property__Alternatives ) ) + // InternalRDL.g:732:3: ( rule__Property__Alternatives ) + { + before(grammarAccess.getPropertyAccess().getAlternatives()); + // InternalRDL.g:733:3: ( rule__Property__Alternatives ) + // InternalRDL.g:733:4: rule__Property__Alternatives + { + pushFollow(FOLLOW_2); + rule__Property__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleProperty" + + + // $ANTLR start "ruleRValueConstant" + // InternalRDL.g:742: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:2: ( ( rule__RValueConstant__Alternatives ) ) + // InternalRDL.g:748:3: ( rule__RValueConstant__Alternatives ) + { + before(grammarAccess.getRValueConstantAccess().getAlternatives()); + // InternalRDL.g:749:3: ( rule__RValueConstant__Alternatives ) + // InternalRDL.g:749:4: rule__RValueConstant__Alternatives + { + pushFollow(FOLLOW_2); + rule__RValueConstant__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getRValueConstantAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRValueConstant" + + + // $ANTLR start "rulePropertyModifier" + // InternalRDL.g:758: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:2: ( ( rule__PropertyModifier__Alternatives ) ) + // InternalRDL.g:764:3: ( rule__PropertyModifier__Alternatives ) + { + before(grammarAccess.getPropertyModifierAccess().getAlternatives()); + // InternalRDL.g:765:3: ( rule__PropertyModifier__Alternatives ) + // InternalRDL.g:765:4: rule__PropertyModifier__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyModifier__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyModifierAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyModifier" + + + // $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 ) ) ); + 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 ) ) ) + int alt2=6; + switch ( input.LA(1) ) { + case 111: + { + alt2=1; + } + break; + case 13: + case 14: + case 15: + case 16: + case 18: + { + alt2=2; + } + break; + case 131: + { + alt2=3; + } + break; + case 121: + case 132: + { + alt2=4; + } + break; + case 74: + { + int LA2_5 = input.LA(2); + + if ( (LA2_5==115||LA2_5==117) ) { + alt2=5; + } + else if ( (LA2_5==RULE_ID||LA2_5==121) ) { + 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==115||LA2_6==117||(LA2_6>=129 && LA2_6<=130)) ) { + alt2=5; + } + else if ( (LA2_6==RULE_ID) ) { + alt2=4; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 2, 6, input); + + throw nvae; + } + } + break; + case 20: + case 21: + 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 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 106: + case 107: + case 108: + case 109: + case 110: + case 118: + { + alt2=5; + } + break; + case 112: + { + alt2=6; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 2, 0, input); + + throw nvae; + } + + switch (alt2) { + case 1 : + // InternalRDL.g:778: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:780:3: ( rule__Root__IncludesAssignment_0 ) + // InternalRDL.g:780:4: rule__Root__IncludesAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Root__IncludesAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getRootAccess().getIncludesAssignment_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:784:2: ( ( rule__Root__ComponentDefinitionsAssignment_1 ) ) + { + // InternalRDL.g:784:2: ( ( rule__Root__ComponentDefinitionsAssignment_1 ) ) + // InternalRDL.g:785:3: ( rule__Root__ComponentDefinitionsAssignment_1 ) + { + before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1()); + // InternalRDL.g:786:3: ( rule__Root__ComponentDefinitionsAssignment_1 ) + // InternalRDL.g:786:4: rule__Root__ComponentDefinitionsAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Root__ComponentDefinitionsAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:790:2: ( ( rule__Root__EnumDefinitionsAssignment_2 ) ) + { + // InternalRDL.g:790:2: ( ( rule__Root__EnumDefinitionsAssignment_2 ) ) + // InternalRDL.g:791:3: ( rule__Root__EnumDefinitionsAssignment_2 ) + { + before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2()); + // InternalRDL.g:792:3: ( rule__Root__EnumDefinitionsAssignment_2 ) + // InternalRDL.g:792:4: rule__Root__EnumDefinitionsAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Root__EnumDefinitionsAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:796:2: ( ( rule__Root__NamedInstantiationsAssignment_3 ) ) + { + // InternalRDL.g:796:2: ( ( rule__Root__NamedInstantiationsAssignment_3 ) ) + // InternalRDL.g:797:3: ( rule__Root__NamedInstantiationsAssignment_3 ) + { + before(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3()); + // InternalRDL.g:798:3: ( rule__Root__NamedInstantiationsAssignment_3 ) + // InternalRDL.g:798:4: rule__Root__NamedInstantiationsAssignment_3 + { + pushFollow(FOLLOW_2); + rule__Root__NamedInstantiationsAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getRootAccess().getNamedInstantiationsAssignment_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:802:2: ( ( rule__Root__PropertyAssignmentsAssignment_4 ) ) + { + // InternalRDL.g:802:2: ( ( rule__Root__PropertyAssignmentsAssignment_4 ) ) + // InternalRDL.g:803:3: ( rule__Root__PropertyAssignmentsAssignment_4 ) + { + before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4()); + // InternalRDL.g:804:3: ( rule__Root__PropertyAssignmentsAssignment_4 ) + // InternalRDL.g:804:4: rule__Root__PropertyAssignmentsAssignment_4 + { + pushFollow(FOLLOW_2); + rule__Root__PropertyAssignmentsAssignment_4(); + + state._fsp--; + + + } + + after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4()); + + } + + + } + break; + case 6 : + // InternalRDL.g:808:2: ( ( rule__Root__PropertyDefinitionsAssignment_5 ) ) + { + // InternalRDL.g:808:2: ( ( rule__Root__PropertyDefinitionsAssignment_5 ) ) + // InternalRDL.g:809:3: ( rule__Root__PropertyDefinitionsAssignment_5 ) + { + before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5()); + // InternalRDL.g:810:3: ( rule__Root__PropertyDefinitionsAssignment_5 ) + // InternalRDL.g:810:4: rule__Root__PropertyDefinitionsAssignment_5 + { + pushFollow(FOLLOW_2); + rule__Root__PropertyDefinitionsAssignment_5(); + + state._fsp--; + + + } + + after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Alternatives" + + + // $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 ) ) ); + 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 ) ) ) + int alt3=3; + switch ( input.LA(1) ) { + case 116: + { + alt3=1; + } + break; + case 119: + { + alt3=2; + } + break; + case 118: + { + alt3=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + + switch (alt3) { + case 1 : + // InternalRDL.g:823: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:825:3: ( rule__PropertyDefinition__Group_3_0__0 ) + // InternalRDL.g:825:4: rule__PropertyDefinition__Group_3_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:829: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:831:3: ( rule__PropertyDefinition__Group_3_1__0 ) + // InternalRDL.g:831:4: rule__PropertyDefinition__Group_3_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:835: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:837:3: ( rule__PropertyDefinition__Group_3_2__0 ) + // InternalRDL.g:837:4: rule__PropertyDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Alternatives_3" + + + // $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 ) ) ); + 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 ) ) ) + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==119) ) { + alt4=1; + } + else if ( (LA4_0==118) ) { + alt4=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + + throw nvae; + } + switch (alt4) { + case 1 : + // InternalRDL.g:850: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:852:3: ( rule__PropertyDefinition__Group_3_0_4_0__0 ) + // InternalRDL.g:852:4: rule__PropertyDefinition__Group_3_0_4_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:856: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:858:3: ( rule__PropertyDefinition__Group_3_0_4_1__0 ) + // InternalRDL.g:858:4: rule__PropertyDefinition__Group_3_0_4_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Alternatives_3_0_4" + + + // $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 ) ) ); + 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 ) ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==116) ) { + alt5=1; + } + else if ( (LA5_0==118) ) { + alt5=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1 : + // InternalRDL.g:871: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:873:3: ( rule__PropertyDefinition__Group_3_1_1_0__0 ) + // InternalRDL.g:873:4: rule__PropertyDefinition__Group_3_1_1_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:877: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:879:3: ( rule__PropertyDefinition__Group_3_1_1_1__0 ) + // InternalRDL.g:879:4: rule__PropertyDefinition__Group_3_1_1_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Alternatives_3_1_1" + + + // $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 ) ) ); + 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 ) ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==116) ) { + alt6=1; + } + else if ( (LA6_0==119) ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalRDL.g:892: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:894:3: ( rule__PropertyDefinition__Group_3_2_1_0__0 ) + // InternalRDL.g:894:4: rule__PropertyDefinition__Group_3_2_1_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:898: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:900:3: ( rule__PropertyDefinition__Group_3_2_1_1__0 ) + // InternalRDL.g:900:4: rule__PropertyDefinition__Group_3_2_1_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Alternatives_3_2_1" + + + // $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 ) ) ); + 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 ) ) ) + int alt7=4; + switch ( input.LA(1) ) { + case RULE_STR: + { + alt7=1; + } + break; + case RULE_NUM: + { + alt7=2; + } + break; + case 96: + { + alt7=3; + } + break; + case 97: + { + alt7=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + switch (alt7) { + case 1 : + // InternalRDL.g:913: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:915:3: ( rule__PropertyDefault__StringAssignment_2_0 ) + // InternalRDL.g:915:4: rule__PropertyDefault__StringAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__StringAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:919: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:921:3: ( rule__PropertyDefault__ValueAssignment_2_1 ) + // InternalRDL.g:921:4: rule__PropertyDefault__ValueAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__ValueAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:925: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:927:3: ( rule__PropertyDefault__StringAssignment_2_2 ) + // InternalRDL.g:927:4: rule__PropertyDefault__StringAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__StringAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:931: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:933:3: ( rule__PropertyDefault__StringAssignment_2_3 ) + // InternalRDL.g:933:4: rule__PropertyDefault__StringAssignment_2_3 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__StringAssignment_2_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Alternatives_2" + + + // $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 ) ) ); + 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 ) ) ) + int alt8=4; + switch ( input.LA(1) ) { + case 13: + case 14: + case 15: + case 16: + case 18: + { + alt8=1; + } + break; + case 121: + case 132: + { + alt8=2; + } + break; + case 74: + { + int LA8_3 = input.LA(2); + + if ( (LA8_3==RULE_ID||LA8_3==121) ) { + alt8=2; + } + else if ( (LA8_3==115||LA8_3==117) ) { + 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==115||LA8_4==117||(LA8_4>=129 && LA8_4<=130)) ) { + alt8=3; + } + else if ( (LA8_4==RULE_ID) ) { + alt8=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 8, 4, input); + + throw nvae; + } + } + break; + case 20: + case 21: + 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 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 106: + case 107: + case 108: + case 109: + case 110: + case 118: + { + alt8=3; + } + break; + case 131: + { + alt8=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + + switch (alt8) { + case 1 : + // InternalRDL.g:946:2: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 ) ) + { + // InternalRDL.g:946:2: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0 ) ) + // InternalRDL.g:947:3: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_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 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:952:2: ( ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) ) + { + // InternalRDL.g:952:2: ( ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) ) + // InternalRDL.g:953:3: ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) + { + before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1()); + // InternalRDL.g:954:3: ( rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 ) + // InternalRDL.g:954:4: rule__ComponentDefinition__NamedInstantiationsAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__NamedInstantiationsAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsAssignment_3_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:958:2: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) ) + { + // InternalRDL.g:958:2: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) ) + // InternalRDL.g:959:3: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) + { + before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2()); + // InternalRDL.g:960:3: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 ) + // InternalRDL.g:960:4: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:964:2: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) ) + { + // InternalRDL.g:964:2: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) ) + // InternalRDL.g:965:3: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) + { + before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3()); + // InternalRDL.g:966:3: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 ) + // InternalRDL.g:966:4: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__EnumDefinitionsAssignment_3_3(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:978:1: ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) ) + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_NUM) ) { + int LA9_1 = input.LA(2); + + if ( (LA9_1==127) ) { + alt9=2; + } + else if ( (LA9_1==128) ) { + alt9=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 9, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + switch (alt9) { + case 1 : + // InternalRDL.g:979:2: ( ( rule__Range__Group_1_0__0 ) ) + { + // InternalRDL.g:979:2: ( ( rule__Range__Group_1_0__0 ) ) + // InternalRDL.g:980:3: ( rule__Range__Group_1_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 + { + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeAccess().getGroup_1_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:985:2: ( ( rule__Range__SizeAssignment_1_1 ) ) + { + // InternalRDL.g:985:2: ( ( rule__Range__SizeAssignment_1_1 ) ) + // InternalRDL.g:986:3: ( rule__Range__SizeAssignment_1_1 ) + { + before(grammarAccess.getRangeAccess().getSizeAssignment_1_1()); + // InternalRDL.g:987:3: ( rule__Range__SizeAssignment_1_1 ) + // InternalRDL.g:987:4: rule__Range__SizeAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__Range__SizeAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeAccess().getSizeAssignment_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Alternatives_1" + + + // $ANTLR start "rule__PropertyAssignment__Alternatives" + // InternalRDL.g:995: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; + switch ( input.LA(1) ) { + case 118: + { + alt10=1; + } + break; + case 20: + case 21: + 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 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 106: + case 107: + case 108: + case 109: + case 110: + { + alt10=2; + } + break; + case RULE_ID: + { + alt10=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); + + throw nvae; + } + + switch (alt10) { + case 1 : + // InternalRDL.g:1000:2: ( ruleDefaultProperyAssignment ) + { + // InternalRDL.g:1000:2: ( ruleDefaultProperyAssignment ) + // InternalRDL.g:1001:3: ruleDefaultProperyAssignment + { + before(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleDefaultProperyAssignment(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1006:2: ( ruleExplicitPropertyAssignment ) + { + // InternalRDL.g:1006:2: ( ruleExplicitPropertyAssignment ) + // InternalRDL.g:1007:3: ruleExplicitPropertyAssignment + { + before(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleExplicitPropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1012:2: ( rulePostPropertyAssignment ) + { + // InternalRDL.g:1012:2: ( rulePostPropertyAssignment ) + // InternalRDL.g:1013:3: rulePostPropertyAssignment + { + before(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); + pushFollow(FOLLOW_2); + rulePostPropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignment__Alternatives" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Alternatives" + // InternalRDL.g:1022: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); + + if ( (LA11_0==95||(LA11_0>=106 && LA11_0<=110)) ) { + alt11=1; + } + else if ( ((LA11_0>=20 && LA11_0<=94)) ) { + alt11=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 11, 0, input); + + throw nvae; + } + switch (alt11) { + case 1 : + // InternalRDL.g:1027:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) + { + // InternalRDL.g:1027:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) + // InternalRDL.g:1028: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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1033:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) + { + // InternalRDL.g:1033:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) + // InternalRDL.g:1034: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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Alternatives" + + + // $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 ) ) ); + 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); + + if ( (LA12_0==RULE_ID) ) { + int LA12_1 = input.LA(2); + + if ( (LA12_1==115||LA12_1==117) ) { + alt12=2; + } + else if ( ((LA12_1>=129 && LA12_1<=130)) ) { + alt12=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 12, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + switch (alt12) { + case 1 : + // InternalRDL.g:1048: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1054:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) + { + // InternalRDL.g:1054:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) + // InternalRDL.g:1055: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__PropertyAssignment_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Alternatives_0" + + + // $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 ) ) ); + 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); + + if ( ((LA13_0>=20 && LA13_0<=94)) ) { + alt13=1; + } + else if ( (LA13_0==RULE_ID) ) { + alt13=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } + switch (alt13) { + case 1 : + // InternalRDL.g:1069: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1075: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Alternatives_0_0_2" + + + // $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 ) ) ); + 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); + + if ( ((LA14_0>=20 && LA14_0<=94)) ) { + alt14=1; + } + else if ( (LA14_0==RULE_ID) ) { + alt14=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); + + throw nvae; + } + switch (alt14) { + case 1 : + // InternalRDL.g:1090: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1096: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__PropertyAssignment_1_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Alternatives_1_1" + + + // $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 ) ) ); + 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; + switch ( input.LA(1) ) { + case RULE_STR: + case RULE_NUM: + case 80: + case 81: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + { + alt15=1; + } + break; + case RULE_ID: + { + int LA15_2 = input.LA(2); + + if ( (LA15_2==131) ) { + alt15=3; + } + else if ( (LA15_2==EOF||LA15_2==115||(LA15_2>=129 && LA15_2<=130)) ) { + alt15=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 2, input); + + throw nvae; + } + } + break; + case 113: + { + alt15=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + + switch (alt15) { + case 1 : + // InternalRDL.g:1111:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) + { + // InternalRDL.g:1111:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) + // InternalRDL.g:1112: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__ValueAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1117:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) + { + // InternalRDL.g:1117:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) + // InternalRDL.g:1118: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__InstPropRefAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1123:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) + { + // InternalRDL.g:1123:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) + // InternalRDL.g:1124: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1129:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) + { + // InternalRDL.g:1129:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) + // InternalRDL.g:1130: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__ElementsAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Alternatives" + + + // $ANTLR start "rule__ConcatElem__Alternatives" + // InternalRDL.g:1139: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); + + if ( (LA16_0==RULE_ID) ) { + alt16=1; + } + else if ( (LA16_0==RULE_NUM) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // InternalRDL.g:1144:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) + { + // InternalRDL.g:1144:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) + // InternalRDL.g:1145: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 + { + pushFollow(FOLLOW_2); + rule__ConcatElem__InstPropRefAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1150:2: ( ( rule__ConcatElem__ValueAssignment_1 ) ) + { + // InternalRDL.g:1150:2: ( ( rule__ConcatElem__ValueAssignment_1 ) ) + // InternalRDL.g:1151: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 + { + pushFollow(FOLLOW_2); + rule__ConcatElem__ValueAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConcatElemAccess().getValueAssignment_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConcatElem__Alternatives" + + + // $ANTLR start "rule__PropertyRvalueConstant__Alternatives" + // InternalRDL.g:1160: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; + switch ( input.LA(1) ) { + case 80: + case 81: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + { + alt17=1; + } + break; + case RULE_NUM: + { + alt17=2; + } + break; + case RULE_STR: + { + alt17=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + + switch (alt17) { + case 1 : + // InternalRDL.g:1165:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) + { + // InternalRDL.g:1165:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) + // InternalRDL.g:1166: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 + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__ValAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1171:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) + { + // InternalRDL.g:1171:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) + // InternalRDL.g:1172: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 + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__NumAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1177:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) + { + // InternalRDL.g:1177:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) + // InternalRDL.g:1178: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 + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__StrAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyRvalueConstant__Alternatives" + + + // $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 ) ) ); + 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); + + if ( (LA18_0==20) ) { + alt18=1; + } + else if ( (LA18_0==21) ) { + alt18=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + case 1 : + // InternalRDL.g:1192: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getGroup_0_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1198: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 ) + { + 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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getGroup_0_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1212:1: ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) ) + int alt19=8; + switch ( input.LA(1) ) { + case 10: + { + alt19=1; + } + break; + case 11: + { + alt19=2; + } + break; + case 12: + { + alt19=3; + } + break; + case 13: + { + alt19=4; + } + break; + case 14: + { + alt19=5; + } + break; + case 15: + { + alt19=6; + } + break; + case 16: + { + alt19=7; + } + break; + case 17: + { + alt19=8; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + + switch (alt19) { + case 1 : + // InternalRDL.g:1213:2: ( ( 'string' ) ) + { + // InternalRDL.g:1213:2: ( ( 'string' ) ) + // InternalRDL.g:1214:3: ( 'string' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + // InternalRDL.g:1215:3: ( 'string' ) + // InternalRDL.g:1215:4: 'string' + { + match(input,10,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1219:2: ( ( 'number' ) ) + { + // InternalRDL.g:1219:2: ( ( 'number' ) ) + // InternalRDL.g:1220:3: ( 'number' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + // InternalRDL.g:1221:3: ( 'number' ) + // InternalRDL.g:1221:4: 'number' + { + match(input,11,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1225:2: ( ( 'boolean' ) ) + { + // InternalRDL.g:1225:2: ( ( 'boolean' ) ) + // InternalRDL.g:1226:3: ( 'boolean' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + // InternalRDL.g:1227:3: ( 'boolean' ) + // InternalRDL.g:1227:4: 'boolean' + { + match(input,12,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1231:2: ( ( 'addrmap' ) ) + { + // InternalRDL.g:1231:2: ( ( 'addrmap' ) ) + // InternalRDL.g:1232:3: ( 'addrmap' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + // InternalRDL.g:1233:3: ( 'addrmap' ) + // InternalRDL.g:1233:4: 'addrmap' + { + match(input,13,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:1237:2: ( ( 'reg' ) ) + { + // InternalRDL.g:1237:2: ( ( 'reg' ) ) + // InternalRDL.g:1238:3: ( 'reg' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + // InternalRDL.g:1239:3: ( 'reg' ) + // InternalRDL.g:1239:4: 'reg' + { + match(input,14,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalRDL.g:1243:2: ( ( 'regfile' ) ) + { + // InternalRDL.g:1243:2: ( ( 'regfile' ) ) + // InternalRDL.g:1244:3: ( 'regfile' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + // InternalRDL.g:1245:3: ( 'regfile' ) + // InternalRDL.g:1245:4: 'regfile' + { + match(input,15,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + + } + + + } + break; + case 7 : + // InternalRDL.g:1249:2: ( ( 'field' ) ) + { + // InternalRDL.g:1249:2: ( ( 'field' ) ) + // InternalRDL.g:1250:3: ( 'field' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + // InternalRDL.g:1251:3: ( 'field' ) + // InternalRDL.g:1251:4: 'field' + { + match(input,16,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + + } + + + } + break; + case 8 : + // InternalRDL.g:1255:2: ( ( 'ref' ) ) + { + // InternalRDL.g:1255:2: ( ( 'ref' ) ) + // InternalRDL.g:1256:3: ( 'ref' ) + { + before(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); + // InternalRDL.g:1257:3: ( 'ref' ) + // InternalRDL.g:1257:4: 'ref' + { + match(input,17,FOLLOW_2); + + } + + after(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyTypeName__Alternatives" + + + // $ANTLR start "rule__PropertyComponent__Alternatives" + // InternalRDL.g:1265: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; + switch ( input.LA(1) ) { + case 18: + { + alt20=1; + } + break; + case 13: + { + alt20=2; + } + break; + case 14: + { + alt20=3; + } + break; + case 15: + { + alt20=4; + } + break; + case 16: + { + alt20=5; + } + break; + case 19: + { + alt20=6; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + + switch (alt20) { + case 1 : + // InternalRDL.g:1270:2: ( ( 'signal' ) ) + { + // InternalRDL.g:1270:2: ( ( 'signal' ) ) + // InternalRDL.g:1271:3: ( 'signal' ) + { + before(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + // InternalRDL.g:1272:3: ( 'signal' ) + // InternalRDL.g:1272:4: 'signal' + { + match(input,18,FOLLOW_2); + + } + + after(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1276:2: ( ( 'addrmap' ) ) + { + // InternalRDL.g:1276:2: ( ( 'addrmap' ) ) + // InternalRDL.g:1277:3: ( 'addrmap' ) + { + before(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + // InternalRDL.g:1278:3: ( 'addrmap' ) + // InternalRDL.g:1278:4: 'addrmap' + { + match(input,13,FOLLOW_2); + + } + + after(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1282:2: ( ( 'reg' ) ) + { + // InternalRDL.g:1282:2: ( ( 'reg' ) ) + // InternalRDL.g:1283:3: ( 'reg' ) + { + before(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + // InternalRDL.g:1284:3: ( 'reg' ) + // InternalRDL.g:1284:4: 'reg' + { + match(input,14,FOLLOW_2); + + } + + after(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1288:2: ( ( 'regfile' ) ) + { + // InternalRDL.g:1288:2: ( ( 'regfile' ) ) + // InternalRDL.g:1289:3: ( 'regfile' ) + { + before(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + // InternalRDL.g:1290:3: ( 'regfile' ) + // InternalRDL.g:1290:4: 'regfile' + { + match(input,15,FOLLOW_2); + + } + + after(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:1294:2: ( ( 'field' ) ) + { + // InternalRDL.g:1294:2: ( ( 'field' ) ) + // InternalRDL.g:1295:3: ( 'field' ) + { + before(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + // InternalRDL.g:1296:3: ( 'field' ) + // InternalRDL.g:1296:4: 'field' + { + match(input,16,FOLLOW_2); + + } + + after(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalRDL.g:1300:2: ( ( 'all' ) ) + { + // InternalRDL.g:1300:2: ( ( 'all' ) ) + // InternalRDL.g:1301:3: ( 'all' ) + { + before(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); + // InternalRDL.g:1302:3: ( 'all' ) + // InternalRDL.g:1302:4: 'all' + { + match(input,19,FOLLOW_2); + + } + + after(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyComponent__Alternatives" + + + // $ANTLR start "rule__ComponentDefinitionType__Alternatives" + // InternalRDL.g:1310: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; + switch ( input.LA(1) ) { + case 18: + { + alt21=1; + } + break; + case 13: + { + alt21=2; + } + break; + case 15: + { + alt21=3; + } + break; + case 14: + { + alt21=4; + } + break; + case 16: + { + alt21=5; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + + switch (alt21) { + case 1 : + // InternalRDL.g:1315:2: ( ( 'signal' ) ) + { + // InternalRDL.g:1315:2: ( ( 'signal' ) ) + // InternalRDL.g:1316:3: ( 'signal' ) + { + before(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + // InternalRDL.g:1317:3: ( 'signal' ) + // InternalRDL.g:1317:4: 'signal' + { + match(input,18,FOLLOW_2); + + } + + after(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1321:2: ( ( 'addrmap' ) ) + { + // InternalRDL.g:1321:2: ( ( 'addrmap' ) ) + // InternalRDL.g:1322:3: ( 'addrmap' ) + { + before(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + // InternalRDL.g:1323:3: ( 'addrmap' ) + // InternalRDL.g:1323:4: 'addrmap' + { + match(input,13,FOLLOW_2); + + } + + after(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1327:2: ( ( 'regfile' ) ) + { + // InternalRDL.g:1327:2: ( ( 'regfile' ) ) + // InternalRDL.g:1328:3: ( 'regfile' ) + { + before(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + // InternalRDL.g:1329:3: ( 'regfile' ) + // InternalRDL.g:1329:4: 'regfile' + { + match(input,15,FOLLOW_2); + + } + + after(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1333:2: ( ( 'reg' ) ) + { + // InternalRDL.g:1333:2: ( ( 'reg' ) ) + // InternalRDL.g:1334:3: ( 'reg' ) + { + before(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + // InternalRDL.g:1335:3: ( 'reg' ) + // InternalRDL.g:1335:4: 'reg' + { + match(input,14,FOLLOW_2); + + } + + after(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:1339:2: ( ( 'field' ) ) + { + // InternalRDL.g:1339:2: ( ( 'field' ) ) + // InternalRDL.g:1340:3: ( 'field' ) + { + before(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); + // InternalRDL.g:1341:3: ( 'field' ) + // InternalRDL.g:1341:4: 'field' + { + match(input,16,FOLLOW_2); + + } + + after(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinitionType__Alternatives" + + + // $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' ) ) ); + 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; + switch ( input.LA(1) ) { + case 20: + { + alt22=1; + } + break; + case 21: + { + alt22=2; + } + break; + case 22: + { + alt22=3; + } + break; + case 23: + { + alt22=4; + } + break; + case 24: + { + alt22=5; + } + break; + case 25: + { + alt22=6; + } + break; + case 26: + { + alt22=7; + } + break; + case 27: + { + alt22=8; + } + break; + case 28: + { + alt22=9; + } + break; + case 29: + { + alt22=10; + } + break; + case 30: + { + alt22=11; + } + break; + case 31: + { + alt22=12; + } + break; + case 32: + { + alt22=13; + } + break; + case 33: + { + alt22=14; + } + break; + case 34: + { + alt22=15; + } + break; + case 35: + { + alt22=16; + } + break; + case 36: + { + alt22=17; + } + break; + case 37: + { + alt22=18; + } + break; + case 38: + { + alt22=19; + } + break; + case 39: + { + alt22=20; + } + break; + case 40: + { + alt22=21; + } + break; + case 41: + { + alt22=22; + } + break; + case 42: + { + alt22=23; + } + break; + case 43: + { + alt22=24; + } + break; + case 44: + { + alt22=25; + } + break; + case 45: + { + alt22=26; + } + break; + case 46: + { + alt22=27; + } + break; + case 47: + { + alt22=28; + } + break; + case 48: + { + alt22=29; + } + break; + case 49: + { + alt22=30; + } + break; + case 50: + { + alt22=31; + } + break; + case 51: + { + alt22=32; + } + break; + case 52: + { + alt22=33; + } + break; + case 53: + { + alt22=34; + } + break; + case 54: + { + alt22=35; + } + break; + case 55: + { + alt22=36; + } + break; + case 56: + { + alt22=37; + } + break; + case 57: + { + alt22=38; + } + break; + case 58: + { + alt22=39; + } + break; + case 59: + { + alt22=40; + } + break; + case 60: + { + alt22=41; + } + break; + case 61: + { + alt22=42; + } + break; + case 62: + { + alt22=43; + } + break; + case 63: + { + alt22=44; + } + break; + case 64: + { + alt22=45; + } + break; + case 65: + { + alt22=46; + } + break; + case 66: + { + alt22=47; + } + break; + case 67: + { + alt22=48; + } + break; + case 68: + { + alt22=49; + } + break; + case 69: + { + alt22=50; + } + break; + case 70: + { + alt22=51; + } + break; + case 71: + { + alt22=52; + } + break; + case 72: + { + alt22=53; + } + break; + case 73: + { + alt22=54; + } + break; + case 74: + { + alt22=55; + } + break; + case 75: + { + alt22=56; + } + break; + case 76: + { + alt22=57; + } + break; + case 77: + { + alt22=58; + } + break; + case 78: + { + alt22=59; + } + break; + case 79: + { + alt22=60; + } + break; + case 80: + { + alt22=61; + } + break; + case 81: + { + alt22=62; + } + break; + case 82: + { + alt22=63; + } + break; + case 83: + { + alt22=64; + } + break; + case 84: + { + alt22=65; + } + break; + case 85: + { + alt22=66; + } + break; + case 86: + { + alt22=67; + } + break; + case 87: + { + alt22=68; + } + break; + case 88: + { + alt22=69; + } + break; + case 89: + { + alt22=70; + } + break; + case 90: + { + alt22=71; + } + break; + case 91: + { + alt22=72; + } + break; + case 92: + { + alt22=73; + } + break; + case 93: + { + alt22=74; + } + break; + case 94: + { + alt22=75; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + + switch (alt22) { + case 1 : + // InternalRDL.g:1354:2: ( ( 'name' ) ) + { + // InternalRDL.g:1354:2: ( ( 'name' ) ) + // InternalRDL.g:1355:3: ( 'name' ) + { + before(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + // InternalRDL.g:1356:3: ( 'name' ) + // InternalRDL.g:1356:4: 'name' + { + match(input,20,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1360:2: ( ( 'desc' ) ) + { + // InternalRDL.g:1360:2: ( ( 'desc' ) ) + // InternalRDL.g:1361:3: ( 'desc' ) + { + before(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + // InternalRDL.g:1362:3: ( 'desc' ) + // InternalRDL.g:1362:4: 'desc' + { + match(input,21,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1366:2: ( ( 'arbiter' ) ) + { + // InternalRDL.g:1366:2: ( ( 'arbiter' ) ) + // InternalRDL.g:1367:3: ( 'arbiter' ) + { + before(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + // InternalRDL.g:1368:3: ( 'arbiter' ) + // InternalRDL.g:1368:4: 'arbiter' + { + match(input,22,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1372:2: ( ( 'rset' ) ) + { + // InternalRDL.g:1372:2: ( ( 'rset' ) ) + // InternalRDL.g:1373:3: ( 'rset' ) + { + before(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + // InternalRDL.g:1374:3: ( 'rset' ) + // InternalRDL.g:1374:4: 'rset' + { + match(input,23,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:1378:2: ( ( 'rclr' ) ) + { + // InternalRDL.g:1378:2: ( ( 'rclr' ) ) + // InternalRDL.g:1379:3: ( 'rclr' ) + { + before(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + // InternalRDL.g:1380:3: ( 'rclr' ) + // InternalRDL.g:1380:4: 'rclr' + { + match(input,24,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalRDL.g:1384:2: ( ( 'woclr' ) ) + { + // InternalRDL.g:1384:2: ( ( 'woclr' ) ) + // InternalRDL.g:1385:3: ( 'woclr' ) + { + before(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + // InternalRDL.g:1386:3: ( 'woclr' ) + // InternalRDL.g:1386:4: 'woclr' + { + match(input,25,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + + } + + + } + break; + case 7 : + // InternalRDL.g:1390:2: ( ( 'woset' ) ) + { + // InternalRDL.g:1390:2: ( ( 'woset' ) ) + // InternalRDL.g:1391:3: ( 'woset' ) + { + before(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + // InternalRDL.g:1392:3: ( 'woset' ) + // InternalRDL.g:1392:4: 'woset' + { + match(input,26,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + + } + + + } + break; + case 8 : + // InternalRDL.g:1396:2: ( ( 'we' ) ) + { + // InternalRDL.g:1396:2: ( ( 'we' ) ) + // InternalRDL.g:1397:3: ( 'we' ) + { + before(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + // InternalRDL.g:1398:3: ( 'we' ) + // InternalRDL.g:1398:4: 'we' + { + match(input,27,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + + } + + + } + break; + case 9 : + // InternalRDL.g:1402:2: ( ( 'wel' ) ) + { + // InternalRDL.g:1402:2: ( ( 'wel' ) ) + // InternalRDL.g:1403:3: ( 'wel' ) + { + before(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + // InternalRDL.g:1404:3: ( 'wel' ) + // InternalRDL.g:1404:4: 'wel' + { + match(input,28,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + + } + + + } + break; + case 10 : + // InternalRDL.g:1408:2: ( ( 'swwe' ) ) + { + // InternalRDL.g:1408:2: ( ( 'swwe' ) ) + // InternalRDL.g:1409:3: ( 'swwe' ) + { + before(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + // InternalRDL.g:1410:3: ( 'swwe' ) + // InternalRDL.g:1410:4: 'swwe' + { + match(input,29,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + + } + + + } + break; + case 11 : + // InternalRDL.g:1414:2: ( ( 'swwel' ) ) + { + // InternalRDL.g:1414:2: ( ( 'swwel' ) ) + // InternalRDL.g:1415:3: ( 'swwel' ) + { + before(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + // InternalRDL.g:1416:3: ( 'swwel' ) + // InternalRDL.g:1416:4: 'swwel' + { + match(input,30,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + + } + + + } + break; + case 12 : + // InternalRDL.g:1420:2: ( ( 'hwset' ) ) + { + // InternalRDL.g:1420:2: ( ( 'hwset' ) ) + // InternalRDL.g:1421:3: ( 'hwset' ) + { + before(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + // InternalRDL.g:1422:3: ( 'hwset' ) + // InternalRDL.g:1422:4: 'hwset' + { + match(input,31,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + + } + + + } + break; + case 13 : + // InternalRDL.g:1426:2: ( ( 'hwclr' ) ) + { + // InternalRDL.g:1426:2: ( ( 'hwclr' ) ) + // InternalRDL.g:1427:3: ( 'hwclr' ) + { + before(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + // InternalRDL.g:1428:3: ( 'hwclr' ) + // InternalRDL.g:1428:4: 'hwclr' + { + match(input,32,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + + } + + + } + break; + case 14 : + // InternalRDL.g:1432:2: ( ( 'swmod' ) ) + { + // InternalRDL.g:1432:2: ( ( 'swmod' ) ) + // InternalRDL.g:1433:3: ( 'swmod' ) + { + before(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + // InternalRDL.g:1434:3: ( 'swmod' ) + // InternalRDL.g:1434:4: 'swmod' + { + match(input,33,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + + } + + + } + break; + case 15 : + // InternalRDL.g:1438:2: ( ( 'swacc' ) ) + { + // InternalRDL.g:1438:2: ( ( 'swacc' ) ) + // InternalRDL.g:1439:3: ( 'swacc' ) + { + before(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + // InternalRDL.g:1440:3: ( 'swacc' ) + // InternalRDL.g:1440:4: 'swacc' + { + match(input,34,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + + } + + + } + break; + case 16 : + // InternalRDL.g:1444:2: ( ( 'sticky' ) ) + { + // InternalRDL.g:1444:2: ( ( 'sticky' ) ) + // InternalRDL.g:1445:3: ( 'sticky' ) + { + before(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + // InternalRDL.g:1446:3: ( 'sticky' ) + // InternalRDL.g:1446:4: 'sticky' + { + match(input,35,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + + } + + + } + break; + case 17 : + // InternalRDL.g:1450:2: ( ( 'stickybit' ) ) + { + // InternalRDL.g:1450:2: ( ( 'stickybit' ) ) + // InternalRDL.g:1451:3: ( 'stickybit' ) + { + before(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + // InternalRDL.g:1452:3: ( 'stickybit' ) + // InternalRDL.g:1452:4: 'stickybit' + { + match(input,36,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + + } + + + } + break; + case 18 : + // InternalRDL.g:1456:2: ( ( 'intr' ) ) + { + // InternalRDL.g:1456:2: ( ( 'intr' ) ) + // InternalRDL.g:1457:3: ( 'intr' ) + { + before(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + // InternalRDL.g:1458:3: ( 'intr' ) + // InternalRDL.g:1458:4: 'intr' + { + match(input,37,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + + } + + + } + break; + case 19 : + // InternalRDL.g:1462:2: ( ( 'anded' ) ) + { + // InternalRDL.g:1462:2: ( ( 'anded' ) ) + // InternalRDL.g:1463:3: ( 'anded' ) + { + before(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + // InternalRDL.g:1464:3: ( 'anded' ) + // InternalRDL.g:1464:4: 'anded' + { + match(input,38,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + + } + + + } + break; + case 20 : + // InternalRDL.g:1468:2: ( ( 'ored' ) ) + { + // InternalRDL.g:1468:2: ( ( 'ored' ) ) + // InternalRDL.g:1469:3: ( 'ored' ) + { + before(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + // InternalRDL.g:1470:3: ( 'ored' ) + // InternalRDL.g:1470:4: 'ored' + { + match(input,39,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + + } + + + } + break; + case 21 : + // InternalRDL.g:1474:2: ( ( 'xored' ) ) + { + // InternalRDL.g:1474:2: ( ( 'xored' ) ) + // InternalRDL.g:1475:3: ( 'xored' ) + { + before(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + // InternalRDL.g:1476:3: ( 'xored' ) + // InternalRDL.g:1476:4: 'xored' + { + match(input,40,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + + } + + + } + break; + case 22 : + // InternalRDL.g:1480:2: ( ( 'counter' ) ) + { + // InternalRDL.g:1480:2: ( ( 'counter' ) ) + // InternalRDL.g:1481:3: ( 'counter' ) + { + before(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + // InternalRDL.g:1482:3: ( 'counter' ) + // InternalRDL.g:1482:4: 'counter' + { + match(input,41,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + + } + + + } + break; + case 23 : + // InternalRDL.g:1486:2: ( ( 'overflow' ) ) + { + // InternalRDL.g:1486:2: ( ( 'overflow' ) ) + // InternalRDL.g:1487:3: ( 'overflow' ) + { + before(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + // InternalRDL.g:1488:3: ( 'overflow' ) + // InternalRDL.g:1488:4: 'overflow' + { + match(input,42,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + + } + + + } + break; + case 24 : + // InternalRDL.g:1492:2: ( ( 'sharedextbus' ) ) + { + // InternalRDL.g:1492:2: ( ( 'sharedextbus' ) ) + // InternalRDL.g:1493:3: ( 'sharedextbus' ) + { + before(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + // InternalRDL.g:1494:3: ( 'sharedextbus' ) + // InternalRDL.g:1494:4: 'sharedextbus' + { + match(input,43,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + + } + + + } + break; + case 25 : + // InternalRDL.g:1498:2: ( ( 'errextbus' ) ) + { + // InternalRDL.g:1498:2: ( ( 'errextbus' ) ) + // InternalRDL.g:1499:3: ( 'errextbus' ) + { + before(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + // InternalRDL.g:1500:3: ( 'errextbus' ) + // InternalRDL.g:1500:4: 'errextbus' + { + match(input,44,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + + } + + + } + break; + case 26 : + // InternalRDL.g:1504:2: ( ( 'reset' ) ) + { + // InternalRDL.g:1504:2: ( ( 'reset' ) ) + // InternalRDL.g:1505:3: ( 'reset' ) + { + before(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + // InternalRDL.g:1506:3: ( 'reset' ) + // InternalRDL.g:1506:4: 'reset' + { + match(input,45,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + + } + + + } + break; + case 27 : + // InternalRDL.g:1510:2: ( ( 'littleendian' ) ) + { + // InternalRDL.g:1510:2: ( ( 'littleendian' ) ) + // InternalRDL.g:1511:3: ( 'littleendian' ) + { + before(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + // InternalRDL.g:1512:3: ( 'littleendian' ) + // InternalRDL.g:1512:4: 'littleendian' + { + match(input,46,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + + } + + + } + break; + case 28 : + // InternalRDL.g:1516:2: ( ( 'bigendian' ) ) + { + // InternalRDL.g:1516:2: ( ( 'bigendian' ) ) + // InternalRDL.g:1517:3: ( 'bigendian' ) + { + before(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + // InternalRDL.g:1518:3: ( 'bigendian' ) + // InternalRDL.g:1518:4: 'bigendian' + { + match(input,47,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + + } + + + } + break; + case 29 : + // InternalRDL.g:1522:2: ( ( 'rsvdset' ) ) + { + // InternalRDL.g:1522:2: ( ( 'rsvdset' ) ) + // InternalRDL.g:1523:3: ( 'rsvdset' ) + { + before(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + // InternalRDL.g:1524:3: ( 'rsvdset' ) + // InternalRDL.g:1524:4: 'rsvdset' + { + match(input,48,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + + } + + + } + break; + case 30 : + // InternalRDL.g:1528:2: ( ( 'rsvdsetX' ) ) + { + // InternalRDL.g:1528:2: ( ( 'rsvdsetX' ) ) + // InternalRDL.g:1529:3: ( 'rsvdsetX' ) + { + before(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + // InternalRDL.g:1530:3: ( 'rsvdsetX' ) + // InternalRDL.g:1530:4: 'rsvdsetX' + { + match(input,49,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + + } + + + } + break; + case 31 : + // InternalRDL.g:1534:2: ( ( 'bridge' ) ) + { + // InternalRDL.g:1534:2: ( ( 'bridge' ) ) + // InternalRDL.g:1535:3: ( 'bridge' ) + { + before(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + // InternalRDL.g:1536:3: ( 'bridge' ) + // InternalRDL.g:1536:4: 'bridge' + { + match(input,50,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + + } + + + } + break; + case 32 : + // InternalRDL.g:1540:2: ( ( 'shared' ) ) + { + // InternalRDL.g:1540:2: ( ( 'shared' ) ) + // InternalRDL.g:1541:3: ( 'shared' ) + { + before(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + // InternalRDL.g:1542:3: ( 'shared' ) + // InternalRDL.g:1542:4: 'shared' + { + match(input,51,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + + } + + + } + break; + case 33 : + // InternalRDL.g:1546:2: ( ( 'msb0' ) ) + { + // InternalRDL.g:1546:2: ( ( 'msb0' ) ) + // InternalRDL.g:1547:3: ( 'msb0' ) + { + before(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + // InternalRDL.g:1548:3: ( 'msb0' ) + // InternalRDL.g:1548:4: 'msb0' + { + match(input,52,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + + } + + + } + break; + case 34 : + // InternalRDL.g:1552:2: ( ( 'lsb0' ) ) + { + // InternalRDL.g:1552:2: ( ( 'lsb0' ) ) + // InternalRDL.g:1553:3: ( 'lsb0' ) + { + before(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + // InternalRDL.g:1554:3: ( 'lsb0' ) + // InternalRDL.g:1554:4: 'lsb0' + { + match(input,53,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + + } + + + } + break; + case 35 : + // InternalRDL.g:1558:2: ( ( 'sync' ) ) + { + // InternalRDL.g:1558:2: ( ( 'sync' ) ) + // InternalRDL.g:1559:3: ( 'sync' ) + { + before(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + // InternalRDL.g:1560:3: ( 'sync' ) + // InternalRDL.g:1560:4: 'sync' + { + match(input,54,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + + } + + + } + break; + case 36 : + // InternalRDL.g:1564:2: ( ( 'async' ) ) + { + // InternalRDL.g:1564:2: ( ( 'async' ) ) + // InternalRDL.g:1565:3: ( 'async' ) + { + before(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + // InternalRDL.g:1566:3: ( 'async' ) + // InternalRDL.g:1566:4: 'async' + { + match(input,55,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + + } + + + } + break; + case 37 : + // InternalRDL.g:1570:2: ( ( 'cpuif_reset' ) ) + { + // InternalRDL.g:1570:2: ( ( 'cpuif_reset' ) ) + // InternalRDL.g:1571:3: ( 'cpuif_reset' ) + { + before(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + // InternalRDL.g:1572:3: ( 'cpuif_reset' ) + // InternalRDL.g:1572:4: 'cpuif_reset' + { + match(input,56,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + + } + + + } + break; + case 38 : + // InternalRDL.g:1576:2: ( ( 'field_reset' ) ) + { + // InternalRDL.g:1576:2: ( ( 'field_reset' ) ) + // InternalRDL.g:1577:3: ( 'field_reset' ) + { + before(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + // InternalRDL.g:1578:3: ( 'field_reset' ) + // InternalRDL.g:1578:4: 'field_reset' + { + match(input,57,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + + } + + + } + break; + case 39 : + // InternalRDL.g:1582:2: ( ( 'activehigh' ) ) + { + // InternalRDL.g:1582:2: ( ( 'activehigh' ) ) + // InternalRDL.g:1583:3: ( 'activehigh' ) + { + before(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + // InternalRDL.g:1584:3: ( 'activehigh' ) + // InternalRDL.g:1584:4: 'activehigh' + { + match(input,58,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + + } + + + } + break; + case 40 : + // InternalRDL.g:1588:2: ( ( 'activelow' ) ) + { + // InternalRDL.g:1588:2: ( ( 'activelow' ) ) + // InternalRDL.g:1589:3: ( 'activelow' ) + { + before(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + // InternalRDL.g:1590:3: ( 'activelow' ) + // InternalRDL.g:1590:4: 'activelow' + { + match(input,59,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + + } + + + } + break; + case 41 : + // InternalRDL.g:1594:2: ( ( 'singlepulse' ) ) + { + // InternalRDL.g:1594:2: ( ( 'singlepulse' ) ) + // InternalRDL.g:1595:3: ( 'singlepulse' ) + { + before(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + // InternalRDL.g:1596:3: ( 'singlepulse' ) + // InternalRDL.g:1596:4: 'singlepulse' + { + match(input,60,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + + } + + + } + break; + case 42 : + // InternalRDL.g:1600:2: ( ( 'underflow' ) ) + { + // InternalRDL.g:1600:2: ( ( 'underflow' ) ) + // InternalRDL.g:1601:3: ( 'underflow' ) + { + before(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + // InternalRDL.g:1602:3: ( 'underflow' ) + // InternalRDL.g:1602:4: 'underflow' + { + match(input,61,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + + } + + + } + break; + case 43 : + // InternalRDL.g:1606:2: ( ( 'incr' ) ) + { + // InternalRDL.g:1606:2: ( ( 'incr' ) ) + // InternalRDL.g:1607:3: ( 'incr' ) + { + before(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + // InternalRDL.g:1608:3: ( 'incr' ) + // InternalRDL.g:1608:4: 'incr' + { + match(input,62,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + + } + + + } + break; + case 44 : + // InternalRDL.g:1612:2: ( ( 'decr' ) ) + { + // InternalRDL.g:1612:2: ( ( 'decr' ) ) + // InternalRDL.g:1613:3: ( 'decr' ) + { + before(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + // InternalRDL.g:1614:3: ( 'decr' ) + // InternalRDL.g:1614:4: 'decr' + { + match(input,63,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + + } + + + } + break; + case 45 : + // InternalRDL.g:1618:2: ( ( 'incrwidth' ) ) + { + // InternalRDL.g:1618:2: ( ( 'incrwidth' ) ) + // InternalRDL.g:1619:3: ( 'incrwidth' ) + { + before(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + // InternalRDL.g:1620:3: ( 'incrwidth' ) + // InternalRDL.g:1620:4: 'incrwidth' + { + match(input,64,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + + } + + + } + break; + case 46 : + // InternalRDL.g:1624:2: ( ( 'decrwidth' ) ) + { + // InternalRDL.g:1624:2: ( ( 'decrwidth' ) ) + // InternalRDL.g:1625:3: ( 'decrwidth' ) + { + before(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + // InternalRDL.g:1626:3: ( 'decrwidth' ) + // InternalRDL.g:1626:4: 'decrwidth' + { + match(input,65,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + + } + + + } + break; + case 47 : + // InternalRDL.g:1630:2: ( ( 'incrvalue' ) ) + { + // InternalRDL.g:1630:2: ( ( 'incrvalue' ) ) + // InternalRDL.g:1631:3: ( 'incrvalue' ) + { + before(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + // InternalRDL.g:1632:3: ( 'incrvalue' ) + // InternalRDL.g:1632:4: 'incrvalue' + { + match(input,66,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + + } + + + } + break; + case 48 : + // InternalRDL.g:1636:2: ( ( 'decrvalue' ) ) + { + // InternalRDL.g:1636:2: ( ( 'decrvalue' ) ) + // InternalRDL.g:1637:3: ( 'decrvalue' ) + { + before(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + // InternalRDL.g:1638:3: ( 'decrvalue' ) + // InternalRDL.g:1638:4: 'decrvalue' + { + match(input,67,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + + } + + + } + break; + case 49 : + // InternalRDL.g:1642:2: ( ( 'saturate' ) ) + { + // InternalRDL.g:1642:2: ( ( 'saturate' ) ) + // InternalRDL.g:1643:3: ( 'saturate' ) + { + before(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + // InternalRDL.g:1644:3: ( 'saturate' ) + // InternalRDL.g:1644:4: 'saturate' + { + match(input,68,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + + } + + + } + break; + case 50 : + // InternalRDL.g:1648:2: ( ( 'decrsaturate' ) ) + { + // InternalRDL.g:1648:2: ( ( 'decrsaturate' ) ) + // InternalRDL.g:1649:3: ( 'decrsaturate' ) + { + before(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + // InternalRDL.g:1650:3: ( 'decrsaturate' ) + // InternalRDL.g:1650:4: 'decrsaturate' + { + match(input,69,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + + } + + + } + break; + case 51 : + // InternalRDL.g:1654:2: ( ( 'threshold' ) ) + { + // InternalRDL.g:1654:2: ( ( 'threshold' ) ) + // InternalRDL.g:1655:3: ( 'threshold' ) + { + before(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + // InternalRDL.g:1656:3: ( 'threshold' ) + // InternalRDL.g:1656:4: 'threshold' + { + match(input,70,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + + } + + + } + break; + case 52 : + // InternalRDL.g:1660:2: ( ( 'decrthreshold' ) ) + { + // InternalRDL.g:1660:2: ( ( 'decrthreshold' ) ) + // InternalRDL.g:1661:3: ( 'decrthreshold' ) + { + before(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + // InternalRDL.g:1662:3: ( 'decrthreshold' ) + // InternalRDL.g:1662:4: 'decrthreshold' + { + match(input,71,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + + } + + + } + break; + case 53 : + // InternalRDL.g:1666:2: ( ( 'dontcompare' ) ) + { + // InternalRDL.g:1666:2: ( ( 'dontcompare' ) ) + // InternalRDL.g:1667:3: ( 'dontcompare' ) + { + before(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + // InternalRDL.g:1668:3: ( 'dontcompare' ) + // InternalRDL.g:1668:4: 'dontcompare' + { + match(input,72,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + + } + + + } + break; + case 54 : + // InternalRDL.g:1672:2: ( ( 'donttest' ) ) + { + // InternalRDL.g:1672:2: ( ( 'donttest' ) ) + // InternalRDL.g:1673:3: ( 'donttest' ) + { + before(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + // InternalRDL.g:1674:3: ( 'donttest' ) + // InternalRDL.g:1674:4: 'donttest' + { + match(input,73,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + + } + + + } + break; + case 55 : + // InternalRDL.g:1678:2: ( ( 'internal' ) ) + { + // InternalRDL.g:1678:2: ( ( 'internal' ) ) + // InternalRDL.g:1679:3: ( 'internal' ) + { + before(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + // InternalRDL.g:1680:3: ( 'internal' ) + // InternalRDL.g:1680:4: 'internal' + { + match(input,74,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + + } + + + } + break; + case 56 : + // InternalRDL.g:1684:2: ( ( 'alignment' ) ) + { + // InternalRDL.g:1684:2: ( ( 'alignment' ) ) + // InternalRDL.g:1685:3: ( 'alignment' ) + { + before(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + // InternalRDL.g:1686:3: ( 'alignment' ) + // InternalRDL.g:1686:4: 'alignment' + { + match(input,75,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + + } + + + } + break; + case 57 : + // InternalRDL.g:1690:2: ( ( 'regwidth' ) ) + { + // InternalRDL.g:1690:2: ( ( 'regwidth' ) ) + // InternalRDL.g:1691:3: ( 'regwidth' ) + { + before(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + // InternalRDL.g:1692:3: ( 'regwidth' ) + // InternalRDL.g:1692:4: 'regwidth' + { + match(input,76,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + + } + + + } + break; + case 58 : + // InternalRDL.g:1696:2: ( ( 'fieldwidth' ) ) + { + // InternalRDL.g:1696:2: ( ( 'fieldwidth' ) ) + // InternalRDL.g:1697:3: ( 'fieldwidth' ) + { + before(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + // InternalRDL.g:1698:3: ( 'fieldwidth' ) + // InternalRDL.g:1698:4: 'fieldwidth' + { + match(input,77,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + + } + + + } + break; + case 59 : + // InternalRDL.g:1702:2: ( ( 'signalwidth' ) ) + { + // InternalRDL.g:1702:2: ( ( 'signalwidth' ) ) + // InternalRDL.g:1703:3: ( 'signalwidth' ) + { + before(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + // InternalRDL.g:1704:3: ( 'signalwidth' ) + // InternalRDL.g:1704:4: 'signalwidth' + { + match(input,78,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + + } + + + } + break; + case 60 : + // InternalRDL.g:1708:2: ( ( 'accesswidth' ) ) + { + // InternalRDL.g:1708:2: ( ( 'accesswidth' ) ) + // InternalRDL.g:1709:3: ( 'accesswidth' ) + { + before(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + // InternalRDL.g:1710:3: ( 'accesswidth' ) + // InternalRDL.g:1710:4: 'accesswidth' + { + match(input,79,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + + } + + + } + break; + case 61 : + // InternalRDL.g:1714:2: ( ( 'sw' ) ) + { + // InternalRDL.g:1714:2: ( ( 'sw' ) ) + // InternalRDL.g:1715:3: ( 'sw' ) + { + before(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + // InternalRDL.g:1716:3: ( 'sw' ) + // InternalRDL.g:1716:4: 'sw' + { + match(input,80,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + + } + + + } + break; + case 62 : + // InternalRDL.g:1720:2: ( ( 'hw' ) ) + { + // InternalRDL.g:1720:2: ( ( 'hw' ) ) + // InternalRDL.g:1721:3: ( 'hw' ) + { + before(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + // InternalRDL.g:1722:3: ( 'hw' ) + // InternalRDL.g:1722:4: 'hw' + { + match(input,81,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + + } + + + } + break; + case 63 : + // InternalRDL.g:1726:2: ( ( 'addressing' ) ) + { + // InternalRDL.g:1726:2: ( ( 'addressing' ) ) + // InternalRDL.g:1727:3: ( 'addressing' ) + { + before(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + // InternalRDL.g:1728:3: ( 'addressing' ) + // InternalRDL.g:1728:4: 'addressing' + { + match(input,82,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + + } + + + } + break; + case 64 : + // InternalRDL.g:1732:2: ( ( 'precedence' ) ) + { + // InternalRDL.g:1732:2: ( ( 'precedence' ) ) + // InternalRDL.g:1733:3: ( 'precedence' ) + { + before(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + // InternalRDL.g:1734:3: ( 'precedence' ) + // InternalRDL.g:1734:4: 'precedence' + { + match(input,83,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + + } + + + } + break; + case 65 : + // InternalRDL.g:1738:2: ( ( 'encode' ) ) + { + // InternalRDL.g:1738:2: ( ( 'encode' ) ) + // InternalRDL.g:1739:3: ( 'encode' ) + { + before(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + // InternalRDL.g:1740:3: ( 'encode' ) + // InternalRDL.g:1740:4: 'encode' + { + match(input,84,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + + } + + + } + break; + case 66 : + // InternalRDL.g:1744:2: ( ( 'resetsignal' ) ) + { + // InternalRDL.g:1744:2: ( ( 'resetsignal' ) ) + // InternalRDL.g:1745:3: ( 'resetsignal' ) + { + before(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + // InternalRDL.g:1746:3: ( 'resetsignal' ) + // InternalRDL.g:1746:4: 'resetsignal' + { + match(input,85,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + + } + + + } + break; + case 67 : + // InternalRDL.g:1750:2: ( ( 'clock' ) ) + { + // InternalRDL.g:1750:2: ( ( 'clock' ) ) + // InternalRDL.g:1751:3: ( 'clock' ) + { + before(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + // InternalRDL.g:1752:3: ( 'clock' ) + // InternalRDL.g:1752:4: 'clock' + { + match(input,86,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + + } + + + } + break; + case 68 : + // InternalRDL.g:1756:2: ( ( 'mask' ) ) + { + // InternalRDL.g:1756:2: ( ( 'mask' ) ) + // InternalRDL.g:1757:3: ( 'mask' ) + { + before(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + // InternalRDL.g:1758:3: ( 'mask' ) + // InternalRDL.g:1758:4: 'mask' + { + match(input,87,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + + } + + + } + break; + case 69 : + // InternalRDL.g:1762:2: ( ( 'enable' ) ) + { + // InternalRDL.g:1762:2: ( ( 'enable' ) ) + // InternalRDL.g:1763:3: ( 'enable' ) + { + before(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + // InternalRDL.g:1764:3: ( 'enable' ) + // InternalRDL.g:1764:4: 'enable' + { + match(input,88,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + + } + + + } + break; + case 70 : + // InternalRDL.g:1768:2: ( ( 'hwenable' ) ) + { + // InternalRDL.g:1768:2: ( ( 'hwenable' ) ) + // InternalRDL.g:1769:3: ( 'hwenable' ) + { + before(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + // InternalRDL.g:1770:3: ( 'hwenable' ) + // InternalRDL.g:1770:4: 'hwenable' + { + match(input,89,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + + } + + + } + break; + case 71 : + // InternalRDL.g:1774:2: ( ( 'hwmask' ) ) + { + // InternalRDL.g:1774:2: ( ( 'hwmask' ) ) + // InternalRDL.g:1775:3: ( 'hwmask' ) + { + before(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + // InternalRDL.g:1776:3: ( 'hwmask' ) + // InternalRDL.g:1776:4: 'hwmask' + { + match(input,90,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + + } + + + } + break; + case 72 : + // InternalRDL.g:1780:2: ( ( 'haltmask' ) ) + { + // InternalRDL.g:1780:2: ( ( 'haltmask' ) ) + // InternalRDL.g:1781:3: ( 'haltmask' ) + { + before(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + // InternalRDL.g:1782:3: ( 'haltmask' ) + // InternalRDL.g:1782:4: 'haltmask' + { + match(input,91,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + + } + + + } + break; + case 73 : + // InternalRDL.g:1786:2: ( ( 'haltenable' ) ) + { + // InternalRDL.g:1786:2: ( ( 'haltenable' ) ) + // InternalRDL.g:1787:3: ( 'haltenable' ) + { + before(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + // InternalRDL.g:1788:3: ( 'haltenable' ) + // InternalRDL.g:1788:4: 'haltenable' + { + match(input,92,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + + } + + + } + break; + case 74 : + // InternalRDL.g:1792:2: ( ( 'halt' ) ) + { + // InternalRDL.g:1792:2: ( ( 'halt' ) ) + // InternalRDL.g:1793:3: ( 'halt' ) + { + before(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + // InternalRDL.g:1794:3: ( 'halt' ) + // InternalRDL.g:1794:4: 'halt' + { + match(input,93,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + + } + + + } + break; + case 75 : + // InternalRDL.g:1798:2: ( ( 'next' ) ) + { + // InternalRDL.g:1798:2: ( ( 'next' ) ) + // InternalRDL.g:1799:3: ( 'next' ) + { + before(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); + // InternalRDL.g:1800:3: ( 'next' ) + // InternalRDL.g:1800:4: 'next' + { + match(input,94,FOLLOW_2); + + } + + after(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Property__Alternatives" + + + // $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' ) ) ); + 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; + switch ( input.LA(1) ) { + case 95: + { + alt23=1; + } + break; + case 96: + { + alt23=2; + } + break; + case 97: + { + alt23=3; + } + break; + case 98: + { + alt23=4; + } + break; + case 99: + { + alt23=5; + } + break; + case 100: + { + alt23=6; + } + break; + case 101: + { + alt23=7; + } + break; + case 102: + { + alt23=8; + } + break; + case 103: + { + alt23=9; + } + break; + case 104: + { + alt23=10; + } + break; + case 105: + { + alt23=11; + } + break; + case 81: + { + alt23=12; + } + break; + case 80: + { + alt23=13; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalRDL.g:1813:2: ( ( 'UNDEFINED' ) ) + { + // InternalRDL.g:1813:2: ( ( 'UNDEFINED' ) ) + // InternalRDL.g:1814:3: ( 'UNDEFINED' ) + { + before(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + // InternalRDL.g:1815:3: ( 'UNDEFINED' ) + // InternalRDL.g:1815:4: 'UNDEFINED' + { + match(input,95,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1819:2: ( ( 'true' ) ) + { + // InternalRDL.g:1819:2: ( ( 'true' ) ) + // InternalRDL.g:1820:3: ( 'true' ) + { + before(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + // InternalRDL.g:1821:3: ( 'true' ) + // InternalRDL.g:1821:4: 'true' + { + match(input,96,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1825:2: ( ( 'false' ) ) + { + // InternalRDL.g:1825:2: ( ( 'false' ) ) + // InternalRDL.g:1826:3: ( 'false' ) + { + before(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + // InternalRDL.g:1827:3: ( 'false' ) + // InternalRDL.g:1827:4: 'false' + { + match(input,97,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1831:2: ( ( 'rw' ) ) + { + // InternalRDL.g:1831:2: ( ( 'rw' ) ) + // InternalRDL.g:1832:3: ( 'rw' ) + { + before(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + // InternalRDL.g:1833:3: ( 'rw' ) + // InternalRDL.g:1833:4: 'rw' + { + match(input,98,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:1837:2: ( ( 'wr' ) ) + { + // InternalRDL.g:1837:2: ( ( 'wr' ) ) + // InternalRDL.g:1838:3: ( 'wr' ) + { + before(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + // InternalRDL.g:1839:3: ( 'wr' ) + // InternalRDL.g:1839:4: 'wr' + { + match(input,99,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalRDL.g:1843:2: ( ( 'r' ) ) + { + // InternalRDL.g:1843:2: ( ( 'r' ) ) + // InternalRDL.g:1844:3: ( 'r' ) + { + before(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + // InternalRDL.g:1845:3: ( 'r' ) + // InternalRDL.g:1845:4: 'r' + { + match(input,100,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + + } + + + } + break; + case 7 : + // InternalRDL.g:1849:2: ( ( 'w' ) ) + { + // InternalRDL.g:1849:2: ( ( 'w' ) ) + // InternalRDL.g:1850:3: ( 'w' ) + { + before(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + // InternalRDL.g:1851:3: ( 'w' ) + // InternalRDL.g:1851:4: 'w' + { + match(input,101,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + + } + + + } + break; + case 8 : + // InternalRDL.g:1855:2: ( ( 'na' ) ) + { + // InternalRDL.g:1855:2: ( ( 'na' ) ) + // InternalRDL.g:1856:3: ( 'na' ) + { + before(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + // InternalRDL.g:1857:3: ( 'na' ) + // InternalRDL.g:1857:4: 'na' + { + match(input,102,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + + } + + + } + break; + case 9 : + // InternalRDL.g:1861:2: ( ( 'compact' ) ) + { + // InternalRDL.g:1861:2: ( ( 'compact' ) ) + // InternalRDL.g:1862:3: ( 'compact' ) + { + before(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + // InternalRDL.g:1863:3: ( 'compact' ) + // InternalRDL.g:1863:4: 'compact' + { + match(input,103,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + + } + + + } + break; + case 10 : + // InternalRDL.g:1867:2: ( ( 'regalign' ) ) + { + // InternalRDL.g:1867:2: ( ( 'regalign' ) ) + // InternalRDL.g:1868:3: ( 'regalign' ) + { + before(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + // InternalRDL.g:1869:3: ( 'regalign' ) + // InternalRDL.g:1869:4: 'regalign' + { + match(input,104,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + + } + + + } + break; + case 11 : + // InternalRDL.g:1873:2: ( ( 'fullalign' ) ) + { + // InternalRDL.g:1873:2: ( ( 'fullalign' ) ) + // InternalRDL.g:1874:3: ( 'fullalign' ) + { + before(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + // InternalRDL.g:1875:3: ( 'fullalign' ) + // InternalRDL.g:1875:4: 'fullalign' + { + match(input,105,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + + } + + + } + break; + case 12 : + // InternalRDL.g:1879:2: ( ( 'hw' ) ) + { + // InternalRDL.g:1879:2: ( ( 'hw' ) ) + // InternalRDL.g:1880:3: ( 'hw' ) + { + before(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + // InternalRDL.g:1881:3: ( 'hw' ) + // InternalRDL.g:1881:4: 'hw' + { + match(input,81,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + + } + + + } + break; + case 13 : + // InternalRDL.g:1885:2: ( ( 'sw' ) ) + { + // InternalRDL.g:1885:2: ( ( 'sw' ) ) + // InternalRDL.g:1886:3: ( 'sw' ) + { + before(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); + // InternalRDL.g:1887:3: ( 'sw' ) + // InternalRDL.g:1887:4: 'sw' + { + match(input,80,FOLLOW_2); + + } + + after(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RValueConstant__Alternatives" + + + // $ANTLR start "rule__PropertyModifier__Alternatives" + // InternalRDL.g:1895: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; + switch ( input.LA(1) ) { + case 95: + { + alt24=1; + } + break; + case 106: + { + alt24=2; + } + break; + case 107: + { + alt24=3; + } + break; + case 108: + { + alt24=4; + } + break; + case 109: + { + alt24=5; + } + break; + case 110: + { + alt24=6; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + + switch (alt24) { + case 1 : + // InternalRDL.g:1900:2: ( ( 'UNDEFINED' ) ) + { + // InternalRDL.g:1900:2: ( ( 'UNDEFINED' ) ) + // InternalRDL.g:1901:3: ( 'UNDEFINED' ) + { + before(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + // InternalRDL.g:1902:3: ( 'UNDEFINED' ) + // InternalRDL.g:1902:4: 'UNDEFINED' + { + match(input,95,FOLLOW_2); + + } + + after(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalRDL.g:1906:2: ( ( 'posedge' ) ) + { + // InternalRDL.g:1906:2: ( ( 'posedge' ) ) + // InternalRDL.g:1907:3: ( 'posedge' ) + { + before(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + // InternalRDL.g:1908:3: ( 'posedge' ) + // InternalRDL.g:1908:4: 'posedge' + { + match(input,106,FOLLOW_2); + + } + + after(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalRDL.g:1912:2: ( ( 'negedge' ) ) + { + // InternalRDL.g:1912:2: ( ( 'negedge' ) ) + // InternalRDL.g:1913:3: ( 'negedge' ) + { + before(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + // InternalRDL.g:1914:3: ( 'negedge' ) + // InternalRDL.g:1914:4: 'negedge' + { + match(input,107,FOLLOW_2); + + } + + after(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalRDL.g:1918:2: ( ( 'bothedge' ) ) + { + // InternalRDL.g:1918:2: ( ( 'bothedge' ) ) + // InternalRDL.g:1919:3: ( 'bothedge' ) + { + before(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + // InternalRDL.g:1920:3: ( 'bothedge' ) + // InternalRDL.g:1920:4: 'bothedge' + { + match(input,108,FOLLOW_2); + + } + + after(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalRDL.g:1924:2: ( ( 'level' ) ) + { + // InternalRDL.g:1924:2: ( ( 'level' ) ) + // InternalRDL.g:1925:3: ( 'level' ) + { + before(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + // InternalRDL.g:1926:3: ( 'level' ) + // InternalRDL.g:1926:4: 'level' + { + match(input,109,FOLLOW_2); + + } + + after(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalRDL.g:1930:2: ( ( 'nonsticky' ) ) + { + // InternalRDL.g:1930:2: ( ( 'nonsticky' ) ) + // InternalRDL.g:1931:3: ( 'nonsticky' ) + { + before(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); + // InternalRDL.g:1932:3: ( 'nonsticky' ) + // InternalRDL.g:1932:4: 'nonsticky' + { + match(input,110,FOLLOW_2); + + } + + after(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyModifier__Alternatives" + + + // $ANTLR start "rule__Include__Group__0" + // InternalRDL.g:1940: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 + { + pushFollow(FOLLOW_4); + rule__Include__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Include__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Include__Group__0" + + + // $ANTLR start "rule__Include__Group__0__Impl" + // InternalRDL.g:1952: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:1957:1: ( '`include' ) + // InternalRDL.g:1958:2: '`include' + { + before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + match(input,111,FOLLOW_2); + after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Include__Group__0__Impl" + + + // $ANTLR start "rule__Include__Group__1" + // InternalRDL.g:1967: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 + { + pushFollow(FOLLOW_2); + rule__Include__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Include__Group__1" + + + // $ANTLR start "rule__Include__Group__1__Impl" + // InternalRDL.g:1978: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:1983:1: ( ( rule__Include__ImportURIAssignment_1 ) ) + // InternalRDL.g:1984: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 + { + pushFollow(FOLLOW_2); + rule__Include__ImportURIAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIncludeAccess().getImportURIAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Include__Group__1__Impl" + + + // $ANTLR start "rule__PropertyDefinition__Group__0" + // InternalRDL.g:1994: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 + { + pushFollow(FOLLOW_5); + rule__PropertyDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__0" + + + // $ANTLR start "rule__PropertyDefinition__Group__0__Impl" + // InternalRDL.g:2006: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:2011:1: ( 'property' ) + // InternalRDL.g:2012:2: 'property' + { + before(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); + match(input,112,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__0__Impl" + + + // $ANTLR start "rule__PropertyDefinition__Group__1" + // InternalRDL.g:2021: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 + { + pushFollow(FOLLOW_6); + rule__PropertyDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__1" + + + // $ANTLR start "rule__PropertyDefinition__Group__1__Impl" + // InternalRDL.g:2033: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:2038:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) ) + // InternalRDL.g:2039: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__1__Impl" + + + // $ANTLR start "rule__PropertyDefinition__Group__2" + // InternalRDL.g:2048: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 + { + pushFollow(FOLLOW_7); + rule__PropertyDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__2" + + + // $ANTLR start "rule__PropertyDefinition__Group__2__Impl" + // InternalRDL.g:2060: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:2065:1: ( '{' ) + // InternalRDL.g:2066:2: '{' + { + before(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); + match(input,113,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__2__Impl" + + + // $ANTLR start "rule__PropertyDefinition__Group__3" + // InternalRDL.g:2075: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 + { + pushFollow(FOLLOW_8); + rule__PropertyDefinition__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__3" + + + // $ANTLR start "rule__PropertyDefinition__Group__3__Impl" + // InternalRDL.g:2087: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:2092:1: ( ( rule__PropertyDefinition__Alternatives_3 ) ) + // InternalRDL.g:2093: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__3__Impl" + + + // $ANTLR start "rule__PropertyDefinition__Group__4" + // InternalRDL.g:2102: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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__4" + + + // $ANTLR start "rule__PropertyDefinition__Group__4__Impl" + // InternalRDL.g:2114: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:2119:1: ( '}' ) + // InternalRDL.g:2120:2: '}' + { + before(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + match(input,114,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__4__Impl" + + + // $ANTLR start "rule__PropertyDefinition__Group__5" + // InternalRDL.g:2129: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__5__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__5" + + + // $ANTLR start "rule__PropertyDefinition__Group__5__Impl" + // InternalRDL.g:2140: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:2145:1: ( ';' ) + // InternalRDL.g:2146:2: ';' + { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group__5__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__0" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_0__0__Impl" + // InternalRDL.g:2168: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:2173:1: ( 'type' ) + // InternalRDL.g:2174:2: 'type' + { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + match(input,116,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__1" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_0__1__Impl" + // InternalRDL.g:2195: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:2200:1: ( '=' ) + // InternalRDL.g:2201:2: '=' + { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group_3_0__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__2" + + + // $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 ) ) ; + 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:2227:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) + // InternalRDL.g:2228: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_7); + rule__PropertyDefinition__Group_3_0__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__3" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_0__3__Impl" + // InternalRDL.g:2249: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:2254:1: ( ';' ) + // InternalRDL.g:2255:2: ';' + { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__3__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__4" + + + // $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 ) ) ; + 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:2280:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) + // InternalRDL.g:2281: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3_0_4(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0__4__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_7); + rule__PropertyDefinition__Group_3_0_4_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_0__0" + + + // $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 ) ) ; + 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:2308:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) + // InternalRDL.g:2309: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_0_4_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_0__1" + + + // $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 )? ) ; + 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:2334:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) + // InternalRDL.g:2335: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==118) ) { + alt25=1; + } + switch (alt25) { + case 1 : + // InternalRDL.g:2336:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_12); + rule__PropertyDefinition__Group_3_0_4_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_1__0" + + + // $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 ) ) ; + 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:2362:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) + // InternalRDL.g:2363: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_1__1" + + + // $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 ) ) ; + 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:2388:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) + // InternalRDL.g:2389: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_0_4_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_0_4_1__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_7); + rule__PropertyDefinition__Group_3_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1__0" + + + // $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 ) ) ; + 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:2416:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) + // InternalRDL.g:2417: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1__1" + + + // $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 ) ) ; + 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:2442:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) + // InternalRDL.g:2443: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_1_1_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__0" + + + // $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' ) ; + 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:2470:1: ( 'type' ) + // InternalRDL.g:2471:2: 'type' + { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + match(input,116,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_1_1_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__1" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__1__Impl" + // InternalRDL.g:2492: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:2497:1: ( '=' ) + // InternalRDL.g:2498:2: '=' + { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group_3_1_1_0__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__2" + + + // $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 ) ) ; + 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:2524:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) + // InternalRDL.g:2525: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_1_1_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_7); + rule__PropertyDefinition__Group_3_1_1_0__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__3" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_1_1_0__3__Impl" + // InternalRDL.g:2546: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:2551:1: ( ';' ) + // InternalRDL.g:2552:2: ';' + { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__3__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__4" + + + // $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 )? ) ; + 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:2577:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) + // InternalRDL.g:2578: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==118) ) { + alt26=1; + } + switch (alt26) { + case 1 : + // InternalRDL.g:2579:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_0__4__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_13); + rule__PropertyDefinition__Group_3_1_1_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__0" + + + // $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 ) ) ; + 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:2605:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) + // InternalRDL.g:2606: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_1_1_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__1" + + + // $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' ) ; + 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:2632:1: ( 'type' ) + // InternalRDL.g:2633:2: 'type' + { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + match(input,116,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_1_1_1__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__2" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__2__Impl" + // InternalRDL.g:2654: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:2659:1: ( '=' ) + // InternalRDL.g:2660:2: '=' + { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group_3_1_1_1__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__3" + + + // $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 ) ) ; + 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:2686:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) + // InternalRDL.g:2687: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_1_1_1_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__3__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__4" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_1_1_1__4__Impl" + // InternalRDL.g:2707: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:2712:1: ( ';' ) + // InternalRDL.g:2713:2: ';' + { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_1_1_1__4__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_14); + rule__PropertyDefinition__Group_3_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2__0" + + + // $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 ) ) ; + 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:2740:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) + // InternalRDL.g:2741: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2__1" + + + // $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 ) ) ; + 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:2766:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) + // InternalRDL.g:2767: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_2_1_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__0" + + + // $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' ) ; + 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:2794:1: ( 'type' ) + // InternalRDL.g:2795:2: 'type' + { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + match(input,116,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_2_1_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__1" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__1__Impl" + // InternalRDL.g:2816: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:2821:1: ( '=' ) + // InternalRDL.g:2822:2: '=' + { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group_3_2_1_0__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__2" + + + // $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 ) ) ; + 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:2848:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) + // InternalRDL.g:2849: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_2_1_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_12); + rule__PropertyDefinition__Group_3_2_1_0__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__3" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_2_1_0__3__Impl" + // InternalRDL.g:2870: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:2875:1: ( ';' ) + // InternalRDL.g:2876:2: ';' + { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__3__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__4" + + + // $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 ) ) ; + 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:2901:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) + // InternalRDL.g:2902: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_2_1_0_4(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_0__4__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_13); + rule__PropertyDefinition__Group_3_2_1_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__0" + + + // $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 ) ) ; + 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:2929:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) + // InternalRDL.g:2930: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_2_1_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_2_1_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__1" + + + // $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' ) ; + 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:2956:1: ( 'type' ) + // InternalRDL.g:2957:2: 'type' + { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + match(input,116,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_2_1_1__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__2" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__2__Impl" + // InternalRDL.g:2978: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:2983:1: ( '=' ) + // InternalRDL.g:2984:2: '=' + { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group_3_2_1_1__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__3" + + + // $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 ) ) ; + 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:3010:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) + // InternalRDL.g:3011: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_2_1_1_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__3__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__4" + + + // $ANTLR start "rule__PropertyDefinition__Group_3_2_1_1__4__Impl" + // InternalRDL.g:3031: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:3036:1: ( ';' ) + // InternalRDL.g:3037:2: ';' + { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__Group_3_2_1_1__4__Impl" + + + // $ANTLR start "rule__PropertyDefault__Group__0" + // InternalRDL.g:3047: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 + { + pushFollow(FOLLOW_10); + rule__PropertyDefault__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__0" + + + // $ANTLR start "rule__PropertyDefault__Group__0__Impl" + // InternalRDL.g:3059: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:3064:1: ( 'default' ) + // InternalRDL.g:3065:2: 'default' + { + before(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + match(input,118,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__0__Impl" + + + // $ANTLR start "rule__PropertyDefault__Group__1" + // InternalRDL.g:3074: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 + { + pushFollow(FOLLOW_15); + rule__PropertyDefault__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__1" + + + // $ANTLR start "rule__PropertyDefault__Group__1__Impl" + // InternalRDL.g:3086: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:3091:1: ( '=' ) + // InternalRDL.g:3092:2: '=' + { + before(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__1__Impl" + + + // $ANTLR start "rule__PropertyDefault__Group__2" + // InternalRDL.g:3101: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 + { + pushFollow(FOLLOW_9); + rule__PropertyDefault__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__2" + + + // $ANTLR start "rule__PropertyDefault__Group__2__Impl" + // InternalRDL.g:3113: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:3118:1: ( ( rule__PropertyDefault__Alternatives_2 ) ) + // InternalRDL.g:3119: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyDefaultAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__2__Impl" + + + // $ANTLR start "rule__PropertyDefault__Group__3" + // InternalRDL.g:3128: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 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__3" + + + // $ANTLR start "rule__PropertyDefault__Group__3__Impl" + // InternalRDL.g:3139: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:3144:1: ( ';' ) + // InternalRDL.g:3145:2: ';' + { + before(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__Group__3__Impl" + + + // $ANTLR start "rule__PropertyUsage__Group__0" + // InternalRDL.g:3155: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 + { + pushFollow(FOLLOW_10); + rule__PropertyUsage__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__0" + + + // $ANTLR start "rule__PropertyUsage__Group__0__Impl" + // InternalRDL.g:3167: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:3172:1: ( 'component' ) + // InternalRDL.g:3173:2: 'component' + { + before(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + match(input,119,FOLLOW_2); + after(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__0__Impl" + + + // $ANTLR start "rule__PropertyUsage__Group__1" + // InternalRDL.g:3182: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 + { + pushFollow(FOLLOW_16); + rule__PropertyUsage__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__1" + + + // $ANTLR start "rule__PropertyUsage__Group__1__Impl" + // InternalRDL.g:3194: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:3199:1: ( '=' ) + // InternalRDL.g:3200:2: '=' + { + before(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__1__Impl" + + + // $ANTLR start "rule__PropertyUsage__Group__2" + // InternalRDL.g:3209: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 + { + pushFollow(FOLLOW_17); + rule__PropertyUsage__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__2" + + + // $ANTLR start "rule__PropertyUsage__Group__2__Impl" + // InternalRDL.g:3221: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:3226:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) + // InternalRDL.g:3227: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 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__ComponentsAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__2__Impl" + + + // $ANTLR start "rule__PropertyUsage__Group__3" + // InternalRDL.g:3236: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 + { + pushFollow(FOLLOW_17); + rule__PropertyUsage__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__3" + + + // $ANTLR start "rule__PropertyUsage__Group__3__Impl" + // InternalRDL.g:3248: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:3253:1: ( ( rule__PropertyUsage__Group_3__0 )* ) + // InternalRDL.g:3254:2: ( rule__PropertyUsage__Group_3__0 )* + { + before(grammarAccess.getPropertyUsageAccess().getGroup_3()); + // InternalRDL.g:3255:2: ( rule__PropertyUsage__Group_3__0 )* + loop27: + do { + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==120) ) { + alt27=1; + } + + + switch (alt27) { + case 1 : + // InternalRDL.g:3255:3: rule__PropertyUsage__Group_3__0 + { + pushFollow(FOLLOW_18); + rule__PropertyUsage__Group_3__0(); + + state._fsp--; + + + } + break; + + default : + break loop27; + } + } while (true); + + after(grammarAccess.getPropertyUsageAccess().getGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__3__Impl" + + + // $ANTLR start "rule__PropertyUsage__Group__4" + // InternalRDL.g:3263: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 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__4" + + + // $ANTLR start "rule__PropertyUsage__Group__4__Impl" + // InternalRDL.g:3274: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:3279:1: ( ';' ) + // InternalRDL.g:3280:2: ';' + { + before(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + match(input,115,FOLLOW_2); + after(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group__4__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_16); + rule__PropertyUsage__Group_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group_3__0" + + + // $ANTLR start "rule__PropertyUsage__Group_3__0__Impl" + // InternalRDL.g:3302: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:3307:1: ( '|' ) + // InternalRDL.g:3308:2: '|' + { + before(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); + match(input,120,FOLLOW_2); + after(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group_3__0__Impl" + + + // $ANTLR start "rule__PropertyUsage__Group_3__1" + // InternalRDL.g:3317: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 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group_3__1" + + + // $ANTLR start "rule__PropertyUsage__Group_3__1__Impl" + // InternalRDL.g:3328: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:3333:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) + // InternalRDL.g:3334: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 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__ComponentsAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__Group_3__1__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group__0" + // InternalRDL.g:3344: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 + { + pushFollow(FOLLOW_19); + rule__ComponentDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__0" + + + // $ANTLR start "rule__ComponentDefinition__Group__0__Impl" + // InternalRDL.g:3356: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:3361:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) + // InternalRDL.g:3362: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 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__TypeAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__0__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group__1" + // InternalRDL.g:3371: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 + { + pushFollow(FOLLOW_19); + rule__ComponentDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__1" + + + // $ANTLR start "rule__ComponentDefinition__Group__1__Impl" + // InternalRDL.g:3383: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:3388:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? ) + // InternalRDL.g:3389: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; + } + switch (alt28) { + case 1 : + // InternalRDL.g:3390:3: rule__ComponentDefinition__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__NameAssignment_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__1__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group__2" + // InternalRDL.g:3398: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 + { + pushFollow(FOLLOW_20); + rule__ComponentDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__2" + + + // $ANTLR start "rule__ComponentDefinition__Group__2__Impl" + // InternalRDL.g:3410: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:3415:1: ( '{' ) + // InternalRDL.g:3416:2: '{' + { + before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); + match(input,113,FOLLOW_2); + after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__2__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group__3" + // InternalRDL.g:3425: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 + { + pushFollow(FOLLOW_20); + rule__ComponentDefinition__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__3" + + + // $ANTLR start "rule__ComponentDefinition__Group__3__Impl" + // InternalRDL.g:3437: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:3442:1: ( ( rule__ComponentDefinition__Alternatives_3 )* ) + // InternalRDL.g:3443:2: ( rule__ComponentDefinition__Alternatives_3 )* + { + before(grammarAccess.getComponentDefinitionAccess().getAlternatives_3()); + // InternalRDL.g:3444:2: ( rule__ComponentDefinition__Alternatives_3 )* + loop29: + do { + int alt29=2; + int LA29_0 = input.LA(1); + + if ( (LA29_0==RULE_ID||(LA29_0>=13 && LA29_0<=16)||LA29_0==18||(LA29_0>=20 && LA29_0<=95)||(LA29_0>=106 && LA29_0<=110)||LA29_0==118||LA29_0==121||(LA29_0>=131 && LA29_0<=132)) ) { + alt29=1; + } + + + switch (alt29) { + case 1 : + // InternalRDL.g:3444:3: rule__ComponentDefinition__Alternatives_3 + { + pushFollow(FOLLOW_21); + rule__ComponentDefinition__Alternatives_3(); + + state._fsp--; + + + } + break; + + default : + break loop29; + } + } while (true); + + after(grammarAccess.getComponentDefinitionAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__3__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group__4" + // InternalRDL.g:3452:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ; + 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 + { + pushFollow(FOLLOW_22); + rule__ComponentDefinition__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__4" + + + // $ANTLR start "rule__ComponentDefinition__Group__4__Impl" + // InternalRDL.g:3464: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:3469:1: ( '}' ) + // InternalRDL.g:3470:2: '}' + { + before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); + match(input,114,FOLLOW_2); + after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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 { + + 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 + { + pushFollow(FOLLOW_22); + rule__ComponentDefinition__Group__5__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__6(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__5" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3495:1: ( ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? ) ) + // InternalRDL.g:3496:1: ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? ) + { + // InternalRDL.g:3496:1: ( ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? ) + // InternalRDL.g:3497:2: ( rule__ComponentDefinition__ImmediateInstantiationAssignment_5 )? + { + 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==132) ) { + alt30=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 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__6__Impl(); + + state._fsp--; + + + } + + } + 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,115,FOLLOW_2); + after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__6__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 { + + 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 + { + pushFollow(FOLLOW_23); + rule__NamedInstantiation__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__0" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3549:1: ( ( ( rule__NamedInstantiation__ExternalAssignment_0 )? ) ) + // InternalRDL.g:3550:1: ( ( rule__NamedInstantiation__ExternalAssignment_0 )? ) + { + // InternalRDL.g:3550:1: ( ( rule__NamedInstantiation__ExternalAssignment_0 )? ) + // InternalRDL.g:3551:2: ( rule__NamedInstantiation__ExternalAssignment_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==132) ) { + alt31=1; + } + switch (alt31) { + case 1 : + // InternalRDL.g:3552:3: rule__NamedInstantiation__ExternalAssignment_0 + { + pushFollow(FOLLOW_2); + rule__NamedInstantiation__ExternalAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getNamedInstantiationAccess().getExternalAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__0__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 { + + 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 + { + pushFollow(FOLLOW_23); + rule__NamedInstantiation__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__1" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3576:1: ( ( ( rule__NamedInstantiation__InternalAssignment_1 )? ) ) + // InternalRDL.g:3577:1: ( ( rule__NamedInstantiation__InternalAssignment_1 )? ) + { + // InternalRDL.g:3577:1: ( ( rule__NamedInstantiation__InternalAssignment_1 )? ) + // InternalRDL.g:3578:2: ( rule__NamedInstantiation__InternalAssignment_1 )? + { + 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==74) ) { + alt32=1; + } + 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 )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==121) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalRDL.g:3606:3: rule__NamedInstantiation__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getNamedInstantiationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__2__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 { + + 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 + { + pushFollow(FOLLOW_24); + rule__NamedInstantiation__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__3" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3630:1: ( ( ( rule__NamedInstantiation__ComponentAssignment_3 ) ) ) + // InternalRDL.g:3631:1: ( ( rule__NamedInstantiation__ComponentAssignment_3 ) ) + { + // InternalRDL.g:3631:1: ( ( rule__NamedInstantiation__ComponentAssignment_3 ) ) + // InternalRDL.g:3632:2: ( rule__NamedInstantiation__ComponentAssignment_3 ) + { + 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(); + + state._fsp--; + + + } + + after(grammarAccess.getNamedInstantiationAccess().getComponentAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__3__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 { + + 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 + { + pushFollow(FOLLOW_25); + rule__NamedInstantiation__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__4" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3657:1: ( ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) ) ) + // InternalRDL.g:3658:1: ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) ) + { + // InternalRDL.g:3658:1: ( ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) ) + // InternalRDL.g:3659:2: ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) + { + before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4()); + // InternalRDL.g:3660:2: ( rule__NamedInstantiation__ComponentInstancesAssignment_4 ) + // InternalRDL.g:3660:3: rule__NamedInstantiation__ComponentInstancesAssignment_4 + { + pushFollow(FOLLOW_2); + rule__NamedInstantiation__ComponentInstancesAssignment_4(); + + state._fsp--; + + + } + + after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesAssignment_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__4__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 { + + 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==122) ) { + 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 + { + pushFollow(FOLLOW_2); + rule__NamedInstantiation__Group__6__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__Group__6" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3710:1: ( ( ';' ) ) + // InternalRDL.g:3711:1: ( ';' ) + { + // InternalRDL.g:3711:1: ( ';' ) + // InternalRDL.g:3712:2: ';' + { + before(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6()); + match(input,115,FOLLOW_2); + after(grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6()); + + } + + + } + + } + 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,121,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,122,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 )? + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==132) ) { + alt35=1; + } + switch (alt35) { + case 1 : + // InternalRDL.g:3849:3: rule__ImmediateInstantiation__ExternalAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ImmediateInstantiation__ExternalAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getImmediateInstantiationAccess().getExternalAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ImmediateInstantiation__Group__0__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 { + + 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 + { + pushFollow(FOLLOW_27); + rule__ImmediateInstantiation__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ImmediateInstantiation__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ImmediateInstantiation__Group__1" + + + // $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 { + + 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 + { + pushFollow(FOLLOW_2); + rule__ImmediateInstantiation__ComponentInstancesAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getImmediateInstantiationAccess().getComponentInstancesAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ImmediateInstantiation__Group__1__Impl" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3888:1: ( rule__ImmediateInstantiation__Group__2__Impl ) + // InternalRDL.g:3889:2: rule__ImmediateInstantiation__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ImmediateInstantiation__Group__2__Impl(); + + state._fsp--; + + + } + + } + 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==122) ) { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + 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,122,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 start "rule__ComponentInstance__Group__0" + // InternalRDL.g:3965: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 + { + pushFollow(FOLLOW_28); + rule__ComponentInstance__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__0" + + + // $ANTLR start "rule__ComponentInstance__Group__0__Impl" + // InternalRDL.g:3977: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:3982:1: ( ( rule__ComponentInstance__NameAssignment_0 ) ) + // InternalRDL.g:3983: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__NameAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentInstanceAccess().getNameAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__0__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group__1" + // InternalRDL.g:3992: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 + { + pushFollow(FOLLOW_28); + rule__ComponentInstance__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__1" + + + // $ANTLR start "rule__ComponentInstance__Group__1__Impl" + // InternalRDL.g:4004: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:4009:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? ) + // InternalRDL.g:4010: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==126) ) { + alt37=1; + } + switch (alt37) { + case 1 : + // InternalRDL.g:4011:3: rule__ComponentInstance__RangeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__RangeAssignment_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__1__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group__2" + // InternalRDL.g:4019: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 + { + pushFollow(FOLLOW_28); + rule__ComponentInstance__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__2" + + + // $ANTLR start "rule__ComponentInstance__Group__2__Impl" + // InternalRDL.g:4031: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:4036:1: ( ( rule__ComponentInstance__Group_2__0 )? ) + // InternalRDL.g:4037: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==117) ) { + alt38=1; + } + switch (alt38) { + case 1 : + // InternalRDL.g:4038:3: rule__ComponentInstance__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComponentInstanceAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__2__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group__3" + // InternalRDL.g:4046: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 + { + pushFollow(FOLLOW_28); + rule__ComponentInstance__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__3" + + + // $ANTLR start "rule__ComponentInstance__Group__3__Impl" + // InternalRDL.g:4058: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:4063:1: ( ( rule__ComponentInstance__Group_3__0 )? ) + // InternalRDL.g:4064: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==123) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // InternalRDL.g:4065:3: rule__ComponentInstance__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_3__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComponentInstanceAccess().getGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__3__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group__4" + // InternalRDL.g:4073: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 + { + pushFollow(FOLLOW_28); + rule__ComponentInstance__Group__4__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__5(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__4" + + + // $ANTLR start "rule__ComponentInstance__Group__4__Impl" + // InternalRDL.g:4085: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:4090:1: ( ( rule__ComponentInstance__Group_4__0 )? ) + // InternalRDL.g:4091: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==124) ) { + alt40=1; + } + switch (alt40) { + case 1 : + // InternalRDL.g:4092:3: rule__ComponentInstance__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_4__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComponentInstanceAccess().getGroup_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__4__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group__5" + // InternalRDL.g:4100: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__5__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__5" + + + // $ANTLR start "rule__ComponentInstance__Group__5__Impl" + // InternalRDL.g:4111: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:4116:1: ( ( rule__ComponentInstance__Group_5__0 )? ) + // InternalRDL.g:4117: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==125) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // InternalRDL.g:4118:3: rule__ComponentInstance__Group_5__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_5__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComponentInstanceAccess().getGroup_5()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group__5__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_29); + rule__ComponentInstance__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_2__0" + + + // $ANTLR start "rule__ComponentInstance__Group_2__0__Impl" + // InternalRDL.g:4139: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:4144:1: ( '=' ) + // InternalRDL.g:4145:2: '=' + { + before(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); + match(input,117,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_2__0__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group_2__1" + // InternalRDL.g:4154: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_2__1" + + + // $ANTLR start "rule__ComponentInstance__Group_2__1__Impl" + // InternalRDL.g:4165: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:4170:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) + // InternalRDL.g:4171: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__ResetAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_2__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_29); + rule__ComponentInstance__Group_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_3__0" + + + // $ANTLR start "rule__ComponentInstance__Group_3__0__Impl" + // InternalRDL.g:4193: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:4198:1: ( '@' ) + // InternalRDL.g:4199:2: '@' + { + before(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); + match(input,123,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_3__0__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group_3__1" + // InternalRDL.g:4208: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_3__1" + + + // $ANTLR start "rule__ComponentInstance__Group_3__1__Impl" + // InternalRDL.g:4219: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:4224:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) + // InternalRDL.g:4225: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__AddressAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_3__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_29); + rule__ComponentInstance__Group_4__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_4__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_4__0" + + + // $ANTLR start "rule__ComponentInstance__Group_4__0__Impl" + // InternalRDL.g:4247: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:4252:1: ( '+=' ) + // InternalRDL.g:4253:2: '+=' + { + before(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); + match(input,124,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_4__0__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group_4__1" + // InternalRDL.g:4262: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_4__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_4__1" + + + // $ANTLR start "rule__ComponentInstance__Group_4__1__Impl" + // InternalRDL.g:4273: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:4278:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) + // InternalRDL.g:4279: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__AddrIncAssignment_4_1(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_4__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_29); + rule__ComponentInstance__Group_5__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_5__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_5__0" + + + // $ANTLR start "rule__ComponentInstance__Group_5__0__Impl" + // InternalRDL.g:4301: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:4306:1: ( '%=' ) + // InternalRDL.g:4307:2: '%=' + { + before(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); + match(input,125,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_5__0__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group_5__1" + // InternalRDL.g:4316: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_5__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_5__1" + + + // $ANTLR start "rule__ComponentInstance__Group_5__1__Impl" + // InternalRDL.g:4327: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:4332:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) + // InternalRDL.g:4333: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 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__AddrModAssignment_5_1(); + + state._fsp--; + + + } + + after(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__Group_5__1__Impl" + + + // $ANTLR start "rule__Range__Group__0" + // InternalRDL.g:4343: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 + { + pushFollow(FOLLOW_29); + rule__Range__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Range__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group__0" + + + // $ANTLR start "rule__Range__Group__0__Impl" + // InternalRDL.g:4355: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:4360:1: ( '[' ) + // InternalRDL.g:4361:2: '[' + { + before(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); + match(input,126,FOLLOW_2); + after(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group__0__Impl" + + + // $ANTLR start "rule__Range__Group__1" + // InternalRDL.g:4370: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 + { + pushFollow(FOLLOW_30); + rule__Range__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Range__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group__1" + + + // $ANTLR start "rule__Range__Group__1__Impl" + // InternalRDL.g:4382: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:4387:1: ( ( rule__Range__Alternatives_1 ) ) + // InternalRDL.g:4388: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 + { + pushFollow(FOLLOW_2); + rule__Range__Alternatives_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeAccess().getAlternatives_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group__1__Impl" + + + // $ANTLR start "rule__Range__Group__2" + // InternalRDL.g:4397: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 + { + pushFollow(FOLLOW_2); + rule__Range__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group__2" + + + // $ANTLR start "rule__Range__Group__2__Impl" + // InternalRDL.g:4408: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:4413:1: ( ']' ) + // InternalRDL.g:4414:2: ']' + { + before(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + match(input,127,FOLLOW_2); + after(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_31); + rule__Range__Group_1_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group_1_0__0" + + + // $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 ) ) ; + 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:4441:1: ( ( rule__Range__StartAssignment_1_0_0 ) ) + // InternalRDL.g:4442:2: ( rule__Range__StartAssignment_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 + { + pushFollow(FOLLOW_2); + rule__Range__StartAssignment_1_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeAccess().getStartAssignment_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group_1_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_29); + rule__Range__Group_1_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group_1_0__1" + + + // $ANTLR start "rule__Range__Group_1_0__1__Impl" + // InternalRDL.g:4463: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:4468:1: ( ':' ) + // InternalRDL.g:4469:2: ':' + { + before(grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + match(input,128,FOLLOW_2); + after(grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group_1_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group_1_0__2" + + + // $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 ) ) ; + 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:4494:1: ( ( rule__Range__EndAssignment_1_0_2 ) ) + // InternalRDL.g:4495:2: ( rule__Range__EndAssignment_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 + { + pushFollow(FOLLOW_2); + rule__Range__EndAssignment_1_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRangeAccess().getEndAssignment_1_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__Group_1_0__2__Impl" + + + // $ANTLR start "rule__DefaultProperyAssignment__Group__0" + // InternalRDL.g:4505: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 + { + pushFollow(FOLLOW_32); + rule__DefaultProperyAssignment__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__DefaultProperyAssignment__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultProperyAssignment__Group__0" + + + // $ANTLR start "rule__DefaultProperyAssignment__Group__0__Impl" + // InternalRDL.g:4517: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:4522:1: ( 'default' ) + // InternalRDL.g:4523:2: 'default' + { + before(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + match(input,118,FOLLOW_2); + after(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultProperyAssignment__Group__0__Impl" + + + // $ANTLR start "rule__DefaultProperyAssignment__Group__1" + // InternalRDL.g:4532: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 + { + pushFollow(FOLLOW_2); + rule__DefaultProperyAssignment__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultProperyAssignment__Group__1" + + + // $ANTLR start "rule__DefaultProperyAssignment__Group__1__Impl" + // InternalRDL.g:4543: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:4548:1: ( ruleExplicitPropertyAssignment ) + // InternalRDL.g:4549:2: ruleExplicitPropertyAssignment + { + before(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleExplicitPropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultProperyAssignment__Group__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_32); + rule__ExplicitPropertyAssignment__Group_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_0__0" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__0__Impl" + // InternalRDL.g:4571: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:4576:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) + // InternalRDL.g:4577: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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__ModifierAssignment_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_9); + rule__ExplicitPropertyAssignment__Group_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_0__1" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Group_0__1__Impl" + // InternalRDL.g:4598: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:4603:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) + // InternalRDL.g:4604: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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__NameAssignment_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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,115,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 ; + 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 + { + pushFollow(FOLLOW_33); + rule__ExplicitPropertyAssignment__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__0" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__0__Impl" + // InternalRDL.g:4652: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:4657:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) + // InternalRDL.g:4658: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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__NameAssignment_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_33); + rule__ExplicitPropertyAssignment__Group_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__1" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__1__Impl" + // InternalRDL.g:4679: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:4684:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) + // InternalRDL.g:4685: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==117) ) { + alt42=1; + } + switch (alt42) { + case 1 : + // InternalRDL.g:4686:3: rule__ExplicitPropertyAssignment__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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,115,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 ; + 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 + { + pushFollow(FOLLOW_34); + rule__ExplicitPropertyAssignment__Group_1_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1_1__0" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Group_1_1__0__Impl" + // InternalRDL.g:4733: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:4738:1: ( '=' ) + // InternalRDL.g:4739:2: '=' + { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + match(input,117,FOLLOW_2); + after(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1_1__1" + + + // $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 ) ) ; + 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:4764:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) + // InternalRDL.g:4765: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 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1_1__1__Impl" + + + // $ANTLR start "rule__PostPropertyAssignment__Group__0" + // InternalRDL.g:4775: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 + { + pushFollow(FOLLOW_33); + rule__PostPropertyAssignment__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group__0" + + + // $ANTLR start "rule__PostPropertyAssignment__Group__0__Impl" + // InternalRDL.g:4787: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:4792:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) + // InternalRDL.g:4793: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Alternatives_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group__0__Impl" + + + // $ANTLR start "rule__PostPropertyAssignment__Group__1" + // InternalRDL.g:4802:1: rule__PostPropertyAssignment__Group__1 : rule__PostPropertyAssignment__Group__1__Impl rule__PostPropertyAssignment__Group__2 ; + 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 + { + pushFollow(FOLLOW_33); + rule__PostPropertyAssignment__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group__1" + + + // $ANTLR start "rule__PostPropertyAssignment__Group__1__Impl" + // InternalRDL.g:4814: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:4819:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? ) + // InternalRDL.g:4820: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==117) ) { + alt43=1; + } + switch (alt43) { + case 1 : + // InternalRDL.g:4821:3: rule__PostPropertyAssignment__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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,115,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 ; + 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 + { + pushFollow(FOLLOW_35); + rule__PostPropertyAssignment__Group_0_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_0_0__0" + + + // $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 ) ) ; + 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:4873:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) + // InternalRDL.g:4874: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__InstanceAssignment_0_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_0_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_36); + rule__PostPropertyAssignment__Group_0_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_0_0__1" + + + // $ANTLR start "rule__PostPropertyAssignment__Group_0_0__1__Impl" + // InternalRDL.g:4895: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:4900:1: ( '->' ) + // InternalRDL.g:4901:2: '->' + { + before(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); + match(input,129,FOLLOW_2); + after(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_0_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_0_0__2" + + + // $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 ) ) ; + 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:4926:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) + // InternalRDL.g:4927: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Alternatives_0_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_0_0__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_34); + rule__PostPropertyAssignment__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_1__0" + + + // $ANTLR start "rule__PostPropertyAssignment__Group_1__0__Impl" + // InternalRDL.g:4949: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:4954:1: ( '=' ) + // InternalRDL.g:4955:2: '=' + { + before(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); + match(input,117,FOLLOW_2); + after(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_1__0__Impl" + + + // $ANTLR start "rule__PostPropertyAssignment__Group_1__1" + // InternalRDL.g:4964: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_1__1" + + + // $ANTLR start "rule__PostPropertyAssignment__Group_1__1__Impl" + // InternalRDL.g:4975: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:4980:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) + // InternalRDL.g:4981: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 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__RhsAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__Group_1__1__Impl" + + + // $ANTLR start "rule__InstancePropertyRef__Group__0" + // InternalRDL.g:4991: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 + { + pushFollow(FOLLOW_35); + rule__InstancePropertyRef__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group__0" + + + // $ANTLR start "rule__InstancePropertyRef__Group__0__Impl" + // InternalRDL.g:5003: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:5008:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) + // InternalRDL.g:5009: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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__InstanceAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group__0__Impl" + + + // $ANTLR start "rule__InstancePropertyRef__Group__1" + // InternalRDL.g:5018: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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group__1" + + + // $ANTLR start "rule__InstancePropertyRef__Group__1__Impl" + // InternalRDL.g:5029: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:5034:1: ( ( rule__InstancePropertyRef__Group_1__0 )? ) + // InternalRDL.g:5035: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==129) ) { + alt44=1; + } + switch (alt44) { + case 1 : + // InternalRDL.g:5036:3: rule__InstancePropertyRef__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getInstancePropertyRefAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_36); + rule__InstancePropertyRef__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group_1__0" + + + // $ANTLR start "rule__InstancePropertyRef__Group_1__0__Impl" + // InternalRDL.g:5057: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:5062:1: ( '->' ) + // InternalRDL.g:5063:2: '->' + { + before(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); + match(input,129,FOLLOW_2); + after(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group_1__0__Impl" + + + // $ANTLR start "rule__InstancePropertyRef__Group_1__1" + // InternalRDL.g:5072: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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group_1__1" + + + // $ANTLR start "rule__InstancePropertyRef__Group_1__1__Impl" + // InternalRDL.g:5083: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:5088:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) + // InternalRDL.g:5089: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 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Alternatives_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__Group_1__1__Impl" + + + // $ANTLR start "rule__InstanceRef__Group__0" + // InternalRDL.g:5099: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 + { + pushFollow(FOLLOW_37); + rule__InstanceRef__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__InstanceRef__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group__0" + + + // $ANTLR start "rule__InstanceRef__Group__0__Impl" + // InternalRDL.g:5111: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:5116:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) ) + // InternalRDL.g:5117: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 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__InstanceAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group__0__Impl" + + + // $ANTLR start "rule__InstanceRef__Group__1" + // InternalRDL.g:5126: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 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group__1" + + + // $ANTLR start "rule__InstanceRef__Group__1__Impl" + // InternalRDL.g:5137: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:5142:1: ( ( rule__InstanceRef__Group_1__0 )? ) + // InternalRDL.g:5143: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==130) ) { + alt45=1; + } + switch (alt45) { + case 1 : + // InternalRDL.g:5144:3: rule__InstanceRef__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getInstanceRefAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_5); + rule__InstanceRef__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__InstanceRef__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group_1__0" + + + // $ANTLR start "rule__InstanceRef__Group_1__0__Impl" + // InternalRDL.g:5165: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:5170:1: ( '.' ) + // InternalRDL.g:5171:2: '.' + { + before(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); + match(input,130,FOLLOW_2); + after(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group_1__0__Impl" + + + // $ANTLR start "rule__InstanceRef__Group_1__1" + // InternalRDL.g:5180: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 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group_1__1" + + + // $ANTLR start "rule__InstanceRef__Group_1__1__Impl" + // InternalRDL.g:5191: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:5196:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) ) + // InternalRDL.g:5197: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 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__TailAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__Group_1__1__Impl" + + + // $ANTLR start "rule__HierInstanceRef__Group__0" + // InternalRDL.g:5207: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 + { + pushFollow(FOLLOW_37); + rule__HierInstanceRef__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group__0" + + + // $ANTLR start "rule__HierInstanceRef__Group__0__Impl" + // InternalRDL.g:5219: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:5224:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) + // InternalRDL.g:5225: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 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__InstanceAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group__0__Impl" + + + // $ANTLR start "rule__HierInstanceRef__Group__1" + // InternalRDL.g:5234: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 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group__1" + + + // $ANTLR start "rule__HierInstanceRef__Group__1__Impl" + // InternalRDL.g:5245: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:5250:1: ( ( rule__HierInstanceRef__Group_1__0 )? ) + // InternalRDL.g:5251: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==130) ) { + alt46=1; + } + switch (alt46) { + case 1 : + // InternalRDL.g:5252:3: rule__HierInstanceRef__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getHierInstanceRefAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_5); + rule__HierInstanceRef__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group_1__0" + + + // $ANTLR start "rule__HierInstanceRef__Group_1__0__Impl" + // InternalRDL.g:5273: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:5278:1: ( '.' ) + // InternalRDL.g:5279:2: '.' + { + before(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); + match(input,130,FOLLOW_2); + after(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group_1__0__Impl" + + + // $ANTLR start "rule__HierInstanceRef__Group_1__1" + // InternalRDL.g:5288: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 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group_1__1" + + + // $ANTLR start "rule__HierInstanceRef__Group_1__1__Impl" + // InternalRDL.g:5299: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:5304:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) + // InternalRDL.g:5305: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 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__TailAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__Group_1__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_38); + rule__PropertyAssignmentRhs__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Group_2__0" + + + // $ANTLR start "rule__PropertyAssignmentRhs__Group_2__0__Impl" + // InternalRDL.g:5327: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:5332:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) + // InternalRDL.g:5333: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__EnumRefAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Group_2__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_6); + rule__PropertyAssignmentRhs__Group_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Group_2__1" + + + // $ANTLR start "rule__PropertyAssignmentRhs__Group_2__1__Impl" + // InternalRDL.g:5354: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:5359:1: ( 'enum' ) + // InternalRDL.g:5360:2: 'enum' + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); + match(input,131,FOLLOW_2); + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Group_2__1__Impl" + + + // $ANTLR start "rule__PropertyAssignmentRhs__Group_2__2" + // InternalRDL.g:5369: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Group_2__2" + + + // $ANTLR start "rule__PropertyAssignmentRhs__Group_2__2__Impl" + // InternalRDL.g:5380: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:5385:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) + // InternalRDL.g:5386: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 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__EnumsAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__Group_2__2__Impl" + + + // $ANTLR start "rule__Concat__Group__0" + // InternalRDL.g:5396: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 + { + pushFollow(FOLLOW_39); + rule__Concat__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Concat__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__0" + + + // $ANTLR start "rule__Concat__Group__0__Impl" + // InternalRDL.g:5408: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:5413:1: ( '{' ) + // InternalRDL.g:5414:2: '{' + { + before(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); + match(input,113,FOLLOW_2); + after(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__0__Impl" + + + // $ANTLR start "rule__Concat__Group__1" + // InternalRDL.g:5423: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 + { + pushFollow(FOLLOW_40); + rule__Concat__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Concat__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__1" + + + // $ANTLR start "rule__Concat__Group__1__Impl" + // InternalRDL.g:5435: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:5440:1: ( ( rule__Concat__ElementsAssignment_1 ) ) + // InternalRDL.g:5441: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 + { + pushFollow(FOLLOW_2); + rule__Concat__ElementsAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConcatAccess().getElementsAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__1__Impl" + + + // $ANTLR start "rule__Concat__Group__2" + // InternalRDL.g:5450: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 + { + pushFollow(FOLLOW_40); + rule__Concat__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Concat__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__2" + + + // $ANTLR start "rule__Concat__Group__2__Impl" + // InternalRDL.g:5462: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:5467:1: ( ( rule__Concat__Group_2__0 )* ) + // InternalRDL.g:5468:2: ( rule__Concat__Group_2__0 )* + { + before(grammarAccess.getConcatAccess().getGroup_2()); + // InternalRDL.g:5469:2: ( rule__Concat__Group_2__0 )* + loop47: + do { + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==122) ) { + alt47=1; + } + + + switch (alt47) { + case 1 : + // InternalRDL.g:5469:3: rule__Concat__Group_2__0 + { + pushFollow(FOLLOW_26); + rule__Concat__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop47; + } + } while (true); + + after(grammarAccess.getConcatAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__2__Impl" + + + // $ANTLR start "rule__Concat__Group__3" + // InternalRDL.g:5477: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 + { + pushFollow(FOLLOW_2); + rule__Concat__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__3" + + + // $ANTLR start "rule__Concat__Group__3__Impl" + // InternalRDL.g:5488: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:5493:1: ( '}' ) + // InternalRDL.g:5494:2: '}' + { + before(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + match(input,114,FOLLOW_2); + after(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group__3__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_39); + rule__Concat__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Concat__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group_2__0" + + + // $ANTLR start "rule__Concat__Group_2__0__Impl" + // InternalRDL.g:5516: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:5521:1: ( ',' ) + // InternalRDL.g:5522:2: ',' + { + before(grammarAccess.getConcatAccess().getCommaKeyword_2_0()); + match(input,122,FOLLOW_2); + after(grammarAccess.getConcatAccess().getCommaKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group_2__0__Impl" + + + // $ANTLR start "rule__Concat__Group_2__1" + // InternalRDL.g:5531: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 + { + pushFollow(FOLLOW_2); + rule__Concat__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group_2__1" + + + // $ANTLR start "rule__Concat__Group_2__1__Impl" + // InternalRDL.g:5542: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:5547:1: ( ( rule__Concat__ElementsAssignment_2_1 ) ) + // InternalRDL.g:5548: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 + { + pushFollow(FOLLOW_2); + rule__Concat__ElementsAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConcatAccess().getElementsAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__Group_2__1__Impl" + + + // $ANTLR start "rule__EnumDefinition__Group__0" + // InternalRDL.g:5558: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 + { + pushFollow(FOLLOW_5); + rule__EnumDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__Group__0" + + + // $ANTLR start "rule__EnumDefinition__Group__0__Impl" + // InternalRDL.g:5570: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:5575:1: ( 'enum' ) + // InternalRDL.g:5576:2: 'enum' + { + before(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); + match(input,131,FOLLOW_2); + after(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__Group__0__Impl" + + + // $ANTLR start "rule__EnumDefinition__Group__1" + // InternalRDL.g:5585: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 + { + pushFollow(FOLLOW_6); + rule__EnumDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__Group__1" + + + // $ANTLR start "rule__EnumDefinition__Group__1__Impl" + // InternalRDL.g:5597: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:5602:1: ( ( rule__EnumDefinition__NameAssignment_1 ) ) + // InternalRDL.g:5603: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 + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__Group__1__Impl" + + + // $ANTLR start "rule__EnumDefinition__Group__2" + // InternalRDL.g:5612:1: rule__EnumDefinition__Group__2 : rule__EnumDefinition__Group__2__Impl rule__EnumDefinition__Group__3 ; + 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 + { + pushFollow(FOLLOW_9); + rule__EnumDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__Group__2" + + + // $ANTLR start "rule__EnumDefinition__Group__2__Impl" + // InternalRDL.g:5624: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:5629:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) ) + // InternalRDL.g:5630: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 + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__BodyAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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,115,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 ; + 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 + { + pushFollow(FOLLOW_41); + rule__EnumBody__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumBody__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__0" + + + // $ANTLR start "rule__EnumBody__Group__0__Impl" + // InternalRDL.g:5678: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:5683:1: ( '{' ) + // InternalRDL.g:5684:2: '{' + { + before(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + match(input,113,FOLLOW_2); + after(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__0__Impl" + + + // $ANTLR start "rule__EnumBody__Group__1" + // InternalRDL.g:5693: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 + { + pushFollow(FOLLOW_41); + rule__EnumBody__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumBody__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__1" + + + // $ANTLR start "rule__EnumBody__Group__1__Impl" + // InternalRDL.g:5705: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:5710:1: ( () ) + // InternalRDL.g:5711:2: () + { + before(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1()); + // InternalRDL.g:5712:2: () + // InternalRDL.g:5712:3: + { + } + + after(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__1__Impl" + + + // $ANTLR start "rule__EnumBody__Group__2" + // InternalRDL.g:5720: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 + { + pushFollow(FOLLOW_41); + rule__EnumBody__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumBody__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__2" + + + // $ANTLR start "rule__EnumBody__Group__2__Impl" + // InternalRDL.g:5732: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:5737:1: ( ( rule__EnumBody__EntriesAssignment_2 )* ) + // InternalRDL.g:5738:2: ( rule__EnumBody__EntriesAssignment_2 )* + { + before(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2()); + // InternalRDL.g:5739:2: ( rule__EnumBody__EntriesAssignment_2 )* + loop48: + do { + int alt48=2; + int LA48_0 = input.LA(1); + + if ( (LA48_0==RULE_ID) ) { + alt48=1; + } + + + switch (alt48) { + case 1 : + // InternalRDL.g:5739:3: rule__EnumBody__EntriesAssignment_2 + { + pushFollow(FOLLOW_42); + rule__EnumBody__EntriesAssignment_2(); + + state._fsp--; + + + } + break; + + default : + break loop48; + } + } while (true); + + after(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__2__Impl" + + + // $ANTLR start "rule__EnumBody__Group__3" + // InternalRDL.g:5747: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 + { + pushFollow(FOLLOW_2); + rule__EnumBody__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__3" + + + // $ANTLR start "rule__EnumBody__Group__3__Impl" + // InternalRDL.g:5758: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:5763:1: ( '}' ) + // InternalRDL.g:5764:2: '}' + { + before(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + match(input,114,FOLLOW_2); + after(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__3__Impl" + + + // $ANTLR start "rule__EnumEntry__Group__0" + // InternalRDL.g:5774: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 + { + pushFollow(FOLLOW_10); + rule__EnumEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__0" + + + // $ANTLR start "rule__EnumEntry__Group__0__Impl" + // InternalRDL.g:5786: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:5791:1: ( ( rule__EnumEntry__NameAssignment_0 ) ) + // InternalRDL.g:5792: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 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__NameAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumEntryAccess().getNameAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__0__Impl" + + + // $ANTLR start "rule__EnumEntry__Group__1" + // InternalRDL.g:5801: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 + { + pushFollow(FOLLOW_29); + rule__EnumEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__1" + + + // $ANTLR start "rule__EnumEntry__Group__1__Impl" + // InternalRDL.g:5813: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:5818:1: ( '=' ) + // InternalRDL.g:5819:2: '=' + { + before(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__1__Impl" + + + // $ANTLR start "rule__EnumEntry__Group__2" + // InternalRDL.g:5828: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 + { + pushFollow(FOLLOW_43); + rule__EnumEntry__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__2" + + + // $ANTLR start "rule__EnumEntry__Group__2__Impl" + // InternalRDL.g:5840: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:5845:1: ( ( rule__EnumEntry__IndexAssignment_2 ) ) + // InternalRDL.g:5846: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 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__IndexAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumEntryAccess().getIndexAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__2__Impl" + + + // $ANTLR start "rule__EnumEntry__Group__3" + // InternalRDL.g:5855: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 + { + pushFollow(FOLLOW_43); + rule__EnumEntry__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__3" + + + // $ANTLR start "rule__EnumEntry__Group__3__Impl" + // InternalRDL.g:5867: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:5872:1: ( ( rule__EnumEntry__Group_3__0 )? ) + // InternalRDL.g:5873: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==113) ) { + alt49=1; + } + switch (alt49) { + case 1 : + // InternalRDL.g:5874:3: rule__EnumEntry__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getEnumEntryAccess().getGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__3__Impl" + + + // $ANTLR start "rule__EnumEntry__Group__4" + // InternalRDL.g:5882: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 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__4" + + + // $ANTLR start "rule__EnumEntry__Group__4__Impl" + // InternalRDL.g:5893: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:5898:1: ( ';' ) + // InternalRDL.g:5899:2: ';' + { + before(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + match(input,115,FOLLOW_2); + after(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group__4__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_44); + rule__EnumEntry__Group_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group_3__0" + + + // $ANTLR start "rule__EnumEntry__Group_3__0__Impl" + // InternalRDL.g:5921: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:5926:1: ( '{' ) + // InternalRDL.g:5927:2: '{' + { + before(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + match(input,113,FOLLOW_2); + after(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group_3__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_44); + rule__EnumEntry__Group_3__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group_3__1" + + + // $ANTLR start "rule__EnumEntry__Group_3__1__Impl" + // InternalRDL.g:5948: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:5953:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) + // InternalRDL.g:5954:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )* + { + before(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1()); + // InternalRDL.g:5955:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )* + loop50: + do { + int alt50=2; + int LA50_0 = input.LA(1); + + if ( ((LA50_0>=20 && LA50_0<=21)) ) { + alt50=1; + } + + + switch (alt50) { + case 1 : + // InternalRDL.g:5955:3: rule__EnumEntry__PropertiesAssignment_3_1 + { + pushFollow(FOLLOW_45); + rule__EnumEntry__PropertiesAssignment_3_1(); + + state._fsp--; + + + } + break; + + default : + break loop50; + } + } while (true); + + after(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group_3__1__Impl" + + + // $ANTLR start "rule__EnumEntry__Group_3__2" + // InternalRDL.g:5963: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 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group_3__2" + + + // $ANTLR start "rule__EnumEntry__Group_3__2__Impl" + // InternalRDL.g:5974: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:5979:1: ( '}' ) + // InternalRDL.g:5980:2: '}' + { + before(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + match(input,114,FOLLOW_2); + after(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__Group_3__2__Impl" + + + // $ANTLR start "rule__EnumProperty__Group__0" + // InternalRDL.g:5990: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 + { + pushFollow(FOLLOW_9); + rule__EnumProperty__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumProperty__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group__0" + + + // $ANTLR start "rule__EnumProperty__Group__0__Impl" + // InternalRDL.g:6002: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:6007:1: ( ( rule__EnumProperty__Alternatives_0 ) ) + // InternalRDL.g:6008: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Alternatives_0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getAlternatives_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group__0__Impl" + + + // $ANTLR start "rule__EnumProperty__Group__1" + // InternalRDL.g:6017: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group__1" + + + // $ANTLR start "rule__EnumProperty__Group__1__Impl" + // InternalRDL.g:6028: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:6033:1: ( ';' ) + // InternalRDL.g:6034:2: ';' + { + before(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + match(input,115,FOLLOW_2); + after(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__EnumProperty__Group_0_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_0__0" + + + // $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 ) ) ; + 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:6061:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) + // InternalRDL.g:6062: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__NameAssignment_0_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_0__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_4); + rule__EnumProperty__Group_0_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_0__1" + + + // $ANTLR start "rule__EnumProperty__Group_0_0__1__Impl" + // InternalRDL.g:6083: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:6088:1: ( '=' ) + // InternalRDL.g:6089:2: '=' + { + before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_0__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_0__2" + + + // $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 ) ) ; + 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:6114:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) + // InternalRDL.g:6115: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__ValueAssignment_0_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_0__2__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_10); + rule__EnumProperty__Group_0_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_1__0" + + + // $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 ) ) ; + 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:6142:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) + // InternalRDL.g:6143: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__NameAssignment_0_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_1__0__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_4); + rule__EnumProperty__Group_0_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_1__1" + + + // $ANTLR start "rule__EnumProperty__Group_0_1__1__Impl" + // InternalRDL.g:6164: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:6169:1: ( '=' ) + // InternalRDL.g:6170:2: '=' + { + before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); + match(input,117,FOLLOW_2); + after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_1__1__Impl" + + + // $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 ; + 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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_1__2" + + + // $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 ) ) ; + 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:6195:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) + // InternalRDL.g:6196: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 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__ValueAssignment_0_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__Group_0_1__2__Impl" + + + // $ANTLR start "rule__Root__IncludesAssignment_0" + // InternalRDL.g:6206: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:6211:2: ( ruleInclude ) + // InternalRDL.g:6212:3: ruleInclude + { + before(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleInclude(); + + state._fsp--; + + after(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6225:1: ( ( ruleComponentDefinition ) ) + // InternalRDL.g:6226:2: ( ruleComponentDefinition ) + { + // InternalRDL.g:6226:2: ( ruleComponentDefinition ) + // InternalRDL.g:6227:3: ruleComponentDefinition + { + before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleComponentDefinition(); + + state._fsp--; + + after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__ComponentDefinitionsAssignment_1" + + + // $ANTLR start "rule__Root__EnumDefinitionsAssignment_2" + // InternalRDL.g:6236:1: rule__Root__EnumDefinitionsAssignment_2 : ( ruleEnumDefinition ) ; + public final void rule__Root__EnumDefinitionsAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6240:1: ( ( ruleEnumDefinition ) ) + // InternalRDL.g:6241:2: ( ruleEnumDefinition ) + { + // InternalRDL.g:6241:2: ( ruleEnumDefinition ) + // InternalRDL.g:6242:3: ruleEnumDefinition + { + before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleEnumDefinition(); + + state._fsp--; + + after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__EnumDefinitionsAssignment_2" + + + // $ANTLR start "rule__Root__NamedInstantiationsAssignment_3" + // InternalRDL.g:6251:1: rule__Root__NamedInstantiationsAssignment_3 : ( ruleNamedInstantiation ) ; + public final void rule__Root__NamedInstantiationsAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6255:1: ( ( ruleNamedInstantiation ) ) + // InternalRDL.g:6256:2: ( ruleNamedInstantiation ) + { + // InternalRDL.g:6256:2: ( ruleNamedInstantiation ) + // InternalRDL.g:6257:3: ruleNamedInstantiation + { + before(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleNamedInstantiation(); + + state._fsp--; + + after(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__NamedInstantiationsAssignment_3" + + + // $ANTLR start "rule__Root__PropertyAssignmentsAssignment_4" + // InternalRDL.g:6266:1: rule__Root__PropertyAssignmentsAssignment_4 : ( rulePropertyAssignment ) ; + public final void rule__Root__PropertyAssignmentsAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6270:1: ( ( rulePropertyAssignment ) ) + // InternalRDL.g:6271:2: ( rulePropertyAssignment ) + { + // InternalRDL.g:6271:2: ( rulePropertyAssignment ) + // InternalRDL.g:6272:3: rulePropertyAssignment + { + before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); + pushFollow(FOLLOW_2); + rulePropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__PropertyAssignmentsAssignment_4" + + + // $ANTLR start "rule__Root__PropertyDefinitionsAssignment_5" + // InternalRDL.g:6281:1: rule__Root__PropertyDefinitionsAssignment_5 : ( rulePropertyDefinition ) ; + public final void rule__Root__PropertyDefinitionsAssignment_5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6285:1: ( ( rulePropertyDefinition ) ) + // InternalRDL.g:6286:2: ( rulePropertyDefinition ) + { + // InternalRDL.g:6286:2: ( rulePropertyDefinition ) + // InternalRDL.g:6287:3: rulePropertyDefinition + { + before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); + pushFollow(FOLLOW_2); + rulePropertyDefinition(); + + state._fsp--; + + after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__PropertyDefinitionsAssignment_5" + + + // $ANTLR start "rule__Include__ImportURIAssignment_1" + // InternalRDL.g:6296: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:6301:2: ( RULE_STR ) + // InternalRDL.g:6302:3: RULE_STR + { + before(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + match(input,RULE_STR,FOLLOW_2); + after(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Include__ImportURIAssignment_1" + + + // $ANTLR start "rule__PropertyDefinition__NameAssignment_1" + // InternalRDL.g:6311: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:6316:2: ( RULE_ID ) + // InternalRDL.g:6317:3: RULE_ID + { + before(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__NameAssignment_1" + + + // $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_0_2" + // InternalRDL.g:6326: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:6331:2: ( rulePropertyTypeName ) + // InternalRDL.g:6332:3: rulePropertyTypeName + { + before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); + pushFollow(FOLLOW_2); + rulePropertyTypeName(); + + state._fsp--; + + after(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__TypeAssignment_3_0_2" + + + // $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_0_4_0_0" + // InternalRDL.g:6341: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:6346:2: ( rulePropertyUsage ) + // InternalRDL.g:6347:3: rulePropertyUsage + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__UsageAssignment_3_0_4_0_0" + + + // $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1" + // InternalRDL.g:6356: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:6361:2: ( rulePropertyDefault ) + // InternalRDL.g:6362:3: rulePropertyDefault + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1" + + + // $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0" + // InternalRDL.g:6371: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:6376:2: ( rulePropertyDefault ) + // InternalRDL.g:6377:3: rulePropertyDefault + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0" + + + // $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_0_4_1_1" + // InternalRDL.g:6386: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:6391:2: ( rulePropertyUsage ) + // InternalRDL.g:6392:3: rulePropertyUsage + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__UsageAssignment_3_0_4_1_1" + + + // $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_1_0" + // InternalRDL.g:6401: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:6406:2: ( rulePropertyUsage ) + // InternalRDL.g:6407:3: rulePropertyUsage + { + before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); + pushFollow(FOLLOW_2); + rulePropertyUsage(); + + state._fsp--; + + after(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__UsageAssignment_3_1_0" + + + // $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_1_1_0_2" + // InternalRDL.g:6416: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:6421:2: ( rulePropertyTypeName ) + // InternalRDL.g:6422:3: rulePropertyTypeName + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__TypeAssignment_3_1_1_0_2" + + + // $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4" + // InternalRDL.g:6431: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:6436:2: ( rulePropertyDefault ) + // InternalRDL.g:6437:3: rulePropertyDefault + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4" + + + // $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0" + // InternalRDL.g:6446: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:6451:2: ( rulePropertyDefault ) + // InternalRDL.g:6452:3: rulePropertyDefault + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0" + + + // $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_1_1_1_3" + // InternalRDL.g:6461: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:6466:2: ( rulePropertyTypeName ) + // InternalRDL.g:6467:3: rulePropertyTypeName + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__TypeAssignment_3_1_1_1_3" + + + // $ANTLR start "rule__PropertyDefinition__DefaultAssignment_3_2_0" + // InternalRDL.g:6476: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:6481:2: ( rulePropertyDefault ) + // InternalRDL.g:6482:3: rulePropertyDefault + { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); + pushFollow(FOLLOW_2); + rulePropertyDefault(); + + state._fsp--; + + after(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__DefaultAssignment_3_2_0" + + + // $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_2_1_0_2" + // InternalRDL.g:6491: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:6496:2: ( rulePropertyTypeName ) + // InternalRDL.g:6497:3: rulePropertyTypeName + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__TypeAssignment_3_2_1_0_2" + + + // $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_2_1_0_4" + // InternalRDL.g:6506: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:6511:2: ( rulePropertyUsage ) + // InternalRDL.g:6512:3: rulePropertyUsage + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__UsageAssignment_3_2_1_0_4" + + + // $ANTLR start "rule__PropertyDefinition__UsageAssignment_3_2_1_1_0" + // InternalRDL.g:6521: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:6526:2: ( rulePropertyUsage ) + // InternalRDL.g:6527:3: rulePropertyUsage + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__UsageAssignment_3_2_1_1_0" + + + // $ANTLR start "rule__PropertyDefinition__TypeAssignment_3_2_1_1_3" + // InternalRDL.g:6536: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:6541:2: ( rulePropertyTypeName ) + // InternalRDL.g:6542:3: rulePropertyTypeName + { + 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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefinition__TypeAssignment_3_2_1_1_3" + + + // $ANTLR start "rule__PropertyDefault__StringAssignment_2_0" + // InternalRDL.g:6551: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:6556:2: ( RULE_STR ) + // InternalRDL.g:6557:3: RULE_STR + { + before(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + match(input,RULE_STR,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__StringAssignment_2_0" + + + // $ANTLR start "rule__PropertyDefault__ValueAssignment_2_1" + // InternalRDL.g:6566: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:6571:2: ( RULE_NUM ) + // InternalRDL.g:6572:3: RULE_NUM + { + before(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__ValueAssignment_2_1" + + + // $ANTLR start "rule__PropertyDefault__StringAssignment_2_2" + // InternalRDL.g:6581: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:6586:2: ( ( 'true' ) ) + // InternalRDL.g:6587:3: ( 'true' ) + { + before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + // InternalRDL.g:6588:3: ( 'true' ) + // InternalRDL.g:6589:4: 'true' + { + before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + match(input,96,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + + } + + after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__StringAssignment_2_2" + + + // $ANTLR start "rule__PropertyDefault__StringAssignment_2_3" + // InternalRDL.g:6600: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:6605:2: ( ( 'false' ) ) + // InternalRDL.g:6606:3: ( 'false' ) + { + before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + // InternalRDL.g:6607:3: ( 'false' ) + // InternalRDL.g:6608:4: 'false' + { + before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + match(input,97,FOLLOW_2); + after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + + } + + after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyDefault__StringAssignment_2_3" + + + // $ANTLR start "rule__PropertyUsage__ComponentsAssignment_2" + // InternalRDL.g:6619: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:6624:2: ( rulePropertyComponent ) + // InternalRDL.g:6625:3: rulePropertyComponent + { + before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); + pushFollow(FOLLOW_2); + rulePropertyComponent(); + + state._fsp--; + + after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__ComponentsAssignment_2" + + + // $ANTLR start "rule__PropertyUsage__ComponentsAssignment_3_1" + // InternalRDL.g:6634: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:6639:2: ( rulePropertyComponent ) + // InternalRDL.g:6640:3: rulePropertyComponent + { + before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + rulePropertyComponent(); + + state._fsp--; + + after(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyUsage__ComponentsAssignment_3_1" + + + // $ANTLR start "rule__ComponentDefinition__TypeAssignment_0" + // InternalRDL.g:6649: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:6654:2: ( ruleComponentDefinitionType ) + // InternalRDL.g:6655:3: ruleComponentDefinitionType + { + before(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleComponentDefinitionType(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__TypeAssignment_0" + + + // $ANTLR start "rule__ComponentDefinition__NameAssignment_1" + // InternalRDL.g:6664: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:6669:2: ( RULE_ID ) + // InternalRDL.g:6670:3: RULE_ID + { + before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6683:1: ( ( ruleComponentDefinition ) ) + // InternalRDL.g:6684:2: ( ruleComponentDefinition ) + { + // InternalRDL.g:6684:2: ( ruleComponentDefinition ) + // InternalRDL.g:6685:3: ruleComponentDefinition + { + before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleComponentDefinition(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6698:1: ( ( ruleNamedInstantiation ) ) + // InternalRDL.g:6699:2: ( ruleNamedInstantiation ) + { + // InternalRDL.g:6699:2: ( ruleNamedInstantiation ) + // InternalRDL.g:6700:3: ruleNamedInstantiation + { + before(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleNamedInstantiation(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__NamedInstantiationsAssignment_3_1" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6713:1: ( ( rulePropertyAssignment ) ) + // InternalRDL.g:6714:2: ( rulePropertyAssignment ) + { + // InternalRDL.g:6714:2: ( rulePropertyAssignment ) + // InternalRDL.g:6715:3: rulePropertyAssignment + { + before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); + pushFollow(FOLLOW_2); + rulePropertyAssignment(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6728:1: ( ( ruleEnumDefinition ) ) + // InternalRDL.g:6729:2: ( ruleEnumDefinition ) + { + // InternalRDL.g:6729:2: ( ruleEnumDefinition ) + // InternalRDL.g:6730:3: ruleEnumDefinition + { + before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); + pushFollow(FOLLOW_2); + ruleEnumDefinition(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3" + + + // $ANTLR start "rule__ComponentDefinition__ImmediateInstantiationAssignment_5" + // InternalRDL.g:6739:1: rule__ComponentDefinition__ImmediateInstantiationAssignment_5 : ( ruleImmediateInstantiation ) ; + public final void rule__ComponentDefinition__ImmediateInstantiationAssignment_5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6743:1: ( ( ruleImmediateInstantiation ) ) + // InternalRDL.g:6744:2: ( ruleImmediateInstantiation ) + { + // InternalRDL.g:6744:2: ( ruleImmediateInstantiation ) + // InternalRDL.g:6745:3: ruleImmediateInstantiation + { + before(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0()); + pushFollow(FOLLOW_2); + ruleImmediateInstantiation(); + + state._fsp--; + + after(grammarAccess.getComponentDefinitionAccess().getImmediateInstantiationImmediateInstantiationParserRuleCall_5_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__ImmediateInstantiationAssignment_5" + + + // $ANTLR start "rule__NamedInstantiation__ExternalAssignment_0" + // InternalRDL.g:6754:1: rule__NamedInstantiation__ExternalAssignment_0 : ( ( 'external' ) ) ; + public final void rule__NamedInstantiation__ExternalAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6758:1: ( ( ( 'external' ) ) ) + // InternalRDL.g:6759:2: ( ( 'external' ) ) + { + // InternalRDL.g:6759:2: ( ( 'external' ) ) + // InternalRDL.g:6760:3: ( 'external' ) + { + before(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); + // InternalRDL.g:6761:3: ( 'external' ) + // InternalRDL.g:6762:4: 'external' + { + before(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); + match(input,132,FOLLOW_2); + after(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); + + } + + after(grammarAccess.getNamedInstantiationAccess().getExternalExternalKeyword_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__ExternalAssignment_0" + + + // $ANTLR start "rule__NamedInstantiation__InternalAssignment_1" + // InternalRDL.g:6773:1: rule__NamedInstantiation__InternalAssignment_1 : ( ( 'internal' ) ) ; + public final void rule__NamedInstantiation__InternalAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6777:1: ( ( ( 'internal' ) ) ) + // InternalRDL.g:6778:2: ( ( 'internal' ) ) + { + // InternalRDL.g:6778:2: ( ( 'internal' ) ) + // InternalRDL.g:6779:3: ( 'internal' ) + { + before(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); + // InternalRDL.g:6780:3: ( 'internal' ) + // InternalRDL.g:6781:4: 'internal' + { + before(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); + match(input,74,FOLLOW_2); + after(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); + + } + + after(grammarAccess.getNamedInstantiationAccess().getInternalInternalKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__InternalAssignment_1" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6796:1: ( ( RULE_ID ) ) + // InternalRDL.g:6797:2: ( RULE_ID ) + { + // InternalRDL.g:6797:2: ( RULE_ID ) + // InternalRDL.g:6798:3: RULE_ID + { + before(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__AliasAssignment_2_1" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6811:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:6812:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:6812:2: ( ( RULE_ID ) ) + // InternalRDL.g:6813:3: ( RULE_ID ) + { + 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()); + + } + + after(grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__ComponentAssignment_3" + + + // $ANTLR start "rule__NamedInstantiation__ComponentInstancesAssignment_4" + // InternalRDL.g:6826:1: rule__NamedInstantiation__ComponentInstancesAssignment_4 : ( ruleComponentInstance ) ; + public final void rule__NamedInstantiation__ComponentInstancesAssignment_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6830:1: ( ( ruleComponentInstance ) ) + // InternalRDL.g:6831:2: ( ruleComponentInstance ) + { + // InternalRDL.g:6831:2: ( ruleComponentInstance ) + // InternalRDL.g:6832:3: ruleComponentInstance + { + before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); + pushFollow(FOLLOW_2); + ruleComponentInstance(); + + state._fsp--; + + after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamedInstantiation__ComponentInstancesAssignment_4" + + + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6845:1: ( ( ruleComponentInstance ) ) + // InternalRDL.g:6846:2: ( ruleComponentInstance ) + { + // InternalRDL.g:6846:2: ( ruleComponentInstance ) + // InternalRDL.g:6847:3: ruleComponentInstance + { + before(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0()); + pushFollow(FOLLOW_2); + ruleComponentInstance(); + + state._fsp--; + + after(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + 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,132,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 start "rule__ComponentInstance__NameAssignment_0" + // InternalRDL.g:6905: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:6910:2: ( RULE_ID ) + // InternalRDL.g:6911:3: RULE_ID + { + before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__NameAssignment_0" + + + // $ANTLR start "rule__ComponentInstance__RangeAssignment_1" + // InternalRDL.g:6920: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:6925:2: ( ruleRange ) + // InternalRDL.g:6926:3: ruleRange + { + before(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleRange(); + + state._fsp--; + + after(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__RangeAssignment_1" + + + // $ANTLR start "rule__ComponentInstance__ResetAssignment_2_1" + // InternalRDL.g:6935: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:6940:2: ( RULE_NUM ) + // InternalRDL.g:6941:3: RULE_NUM + { + before(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__ResetAssignment_2_1" + + + // $ANTLR start "rule__ComponentInstance__AddressAssignment_3_1" + // InternalRDL.g:6950: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:6955:2: ( RULE_NUM ) + // InternalRDL.g:6956:3: RULE_NUM + { + before(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__AddressAssignment_3_1" + + + // $ANTLR start "rule__ComponentInstance__AddrIncAssignment_4_1" + // InternalRDL.g:6965: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:6970:2: ( RULE_NUM ) + // InternalRDL.g:6971:3: RULE_NUM + { + before(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__AddrIncAssignment_4_1" + + + // $ANTLR start "rule__ComponentInstance__AddrModAssignment_5_1" + // InternalRDL.g:6980: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:6985:2: ( RULE_NUM ) + // InternalRDL.g:6986:3: RULE_NUM + { + before(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6999:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7000:2: ( RULE_NUM ) + { + // InternalRDL.g:7000:2: ( RULE_NUM ) + // InternalRDL.g:7001: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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__StartAssignment_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 { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7014:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7015:2: ( RULE_NUM ) + { + // InternalRDL.g:7015:2: ( RULE_NUM ) + // InternalRDL.g:7016: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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__EndAssignment_1_0_2" + + + // $ANTLR start "rule__Range__SizeAssignment_1_1" + // InternalRDL.g:7025: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:7030:2: ( RULE_NUM ) + // InternalRDL.g:7031:3: RULE_NUM + { + before(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__SizeAssignment_1_1" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__ModifierAssignment_0_0" + // InternalRDL.g:7040: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:7045:2: ( rulePropertyModifier ) + // InternalRDL.g:7046:3: rulePropertyModifier + { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); + pushFollow(FOLLOW_2); + rulePropertyModifier(); + + state._fsp--; + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__ModifierAssignment_0_0" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__NameAssignment_0_1" + // InternalRDL.g:7055: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:7060:2: ( ruleProperty ) + // InternalRDL.g:7061:3: ruleProperty + { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__NameAssignment_0_1" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__NameAssignment_1_0" + // InternalRDL.g:7070: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:7075:2: ( ruleProperty ) + // InternalRDL.g:7076:3: ruleProperty + { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__NameAssignment_1_0" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1" + // InternalRDL.g:7085: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:7090:2: ( rulePropertyAssignmentRhs ) + // InternalRDL.g:7091:3: rulePropertyAssignmentRhs + { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + pushFollow(FOLLOW_2); + rulePropertyAssignmentRhs(); + + state._fsp--; + + after(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1" + + + // $ANTLR start "rule__PostPropertyAssignment__InstanceAssignment_0_0_0" + // InternalRDL.g:7100: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:7105:2: ( ruleHierInstanceRef ) + // InternalRDL.g:7106:3: ruleHierInstanceRef + { + before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); + pushFollow(FOLLOW_2); + ruleHierInstanceRef(); + + state._fsp--; + + after(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__InstanceAssignment_0_0_0" + + + // $ANTLR start "rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0" + // InternalRDL.g:7115: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:7120:2: ( ruleProperty ) + // InternalRDL.g:7121:3: ruleProperty + { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0" + + + // $ANTLR start "rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1" + // InternalRDL.g:7130: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:7135:2: ( ( RULE_ID ) ) + // InternalRDL.g:7136:3: ( RULE_ID ) + { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); + // InternalRDL.g:7137:3: ( RULE_ID ) + // InternalRDL.g:7138: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()); + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1" + + + // $ANTLR start "rule__PostPropertyAssignment__PropertyAssignment_0_1" + // InternalRDL.g:7149: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:7154:2: ( ( RULE_ID ) ) + // InternalRDL.g:7155:3: ( RULE_ID ) + { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); + // InternalRDL.g:7156:3: ( RULE_ID ) + // InternalRDL.g:7157: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()); + + } + + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__PropertyAssignment_0_1" + + + // $ANTLR start "rule__PostPropertyAssignment__RhsAssignment_1_1" + // InternalRDL.g:7168: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:7173:2: ( rulePropertyAssignmentRhs ) + // InternalRDL.g:7174:3: rulePropertyAssignmentRhs + { + before(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); + pushFollow(FOLLOW_2); + rulePropertyAssignmentRhs(); + + state._fsp--; + + after(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PostPropertyAssignment__RhsAssignment_1_1" + + + // $ANTLR start "rule__InstancePropertyRef__InstanceAssignment_0" + // InternalRDL.g:7183: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:7188:2: ( ruleInstanceRef ) + // InternalRDL.g:7189:3: ruleInstanceRef + { + before(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleInstanceRef(); + + state._fsp--; + + after(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__InstanceAssignment_0" + + + // $ANTLR start "rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0" + // InternalRDL.g:7198: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:7203:2: ( ruleProperty ) + // InternalRDL.g:7204:3: ruleProperty + { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + + after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0" + + + // $ANTLR start "rule__InstancePropertyRef__PropertyAssignment_1_1_1" + // InternalRDL.g:7213: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:7218:2: ( ( RULE_ID ) ) + // InternalRDL.g:7219:3: ( RULE_ID ) + { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); + // InternalRDL.g:7220:3: ( RULE_ID ) + // InternalRDL.g:7221: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()); + + } + + after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstancePropertyRef__PropertyAssignment_1_1_1" + + + // $ANTLR start "rule__InstanceRef__InstanceAssignment_0" + // InternalRDL.g:7232: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:7237:2: ( ( RULE_ID ) ) + // InternalRDL.g:7238:3: ( RULE_ID ) + { + before(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); + // InternalRDL.g:7239:3: ( RULE_ID ) + // InternalRDL.g:7240:4: RULE_ID + { + before(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1()); + + } + + after(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__InstanceAssignment_0" + + + // $ANTLR start "rule__InstanceRef__TailAssignment_1_1" + // InternalRDL.g:7251: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:7256:2: ( ruleHierInstanceRef ) + // InternalRDL.g:7257:3: ruleHierInstanceRef + { + before(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + pushFollow(FOLLOW_2); + ruleHierInstanceRef(); + + state._fsp--; + + after(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__InstanceRef__TailAssignment_1_1" + + + // $ANTLR start "rule__HierInstanceRef__InstanceAssignment_0" + // InternalRDL.g:7266: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:7271:2: ( ( RULE_ID ) ) + // InternalRDL.g:7272:3: ( RULE_ID ) + { + before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); + // InternalRDL.g:7273:3: ( RULE_ID ) + // InternalRDL.g:7274:4: RULE_ID + { + before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1()); + + } + + after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__InstanceAssignment_0" + + + // $ANTLR start "rule__HierInstanceRef__TailAssignment_1_1" + // InternalRDL.g:7285: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:7290:2: ( ruleHierInstanceRef ) + // InternalRDL.g:7291:3: ruleHierInstanceRef + { + before(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + pushFollow(FOLLOW_2); + ruleHierInstanceRef(); + + state._fsp--; + + after(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__HierInstanceRef__TailAssignment_1_1" + + + // $ANTLR start "rule__PropertyAssignmentRhs__ValueAssignment_0" + // InternalRDL.g:7300: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:7305:2: ( rulePropertyRvalueConstant ) + // InternalRDL.g:7306:3: rulePropertyRvalueConstant + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + rulePropertyRvalueConstant(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__ValueAssignment_0" + + + // $ANTLR start "rule__PropertyAssignmentRhs__InstPropRefAssignment_1" + // InternalRDL.g:7315: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:7320:2: ( ruleInstancePropertyRef ) + // InternalRDL.g:7321:3: ruleInstancePropertyRef + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleInstancePropertyRef(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__InstPropRefAssignment_1" + + + // $ANTLR start "rule__PropertyAssignmentRhs__EnumRefAssignment_2_0" + // InternalRDL.g:7330: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:7335:2: ( ( RULE_ID ) ) + // InternalRDL.g:7336:3: ( RULE_ID ) + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); + // InternalRDL.g:7337:3: ( RULE_ID ) + // InternalRDL.g:7338: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()); + + } + + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__EnumRefAssignment_2_0" + + + // $ANTLR start "rule__PropertyAssignmentRhs__EnumsAssignment_2_2" + // InternalRDL.g:7349: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:7354:2: ( ruleEnumBody ) + // InternalRDL.g:7355:3: ruleEnumBody + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); + pushFollow(FOLLOW_2); + ruleEnumBody(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__EnumsAssignment_2_2" + + + // $ANTLR start "rule__PropertyAssignmentRhs__ElementsAssignment_3" + // InternalRDL.g:7364: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:7369:2: ( ruleConcat ) + // InternalRDL.g:7370:3: ruleConcat + { + before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleConcat(); + + state._fsp--; + + after(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyAssignmentRhs__ElementsAssignment_3" + + + // $ANTLR start "rule__Concat__ElementsAssignment_1" + // InternalRDL.g:7379: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:7384:2: ( ruleConcatElem ) + // InternalRDL.g:7385:3: ruleConcatElem + { + before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleConcatElem(); + + state._fsp--; + + after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__ElementsAssignment_1" + + + // $ANTLR start "rule__Concat__ElementsAssignment_2_1" + // InternalRDL.g:7394: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:7399:2: ( ruleConcatElem ) + // InternalRDL.g:7400:3: ruleConcatElem + { + before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); + pushFollow(FOLLOW_2); + ruleConcatElem(); + + state._fsp--; + + after(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Concat__ElementsAssignment_2_1" + + + // $ANTLR start "rule__ConcatElem__InstPropRefAssignment_0" + // InternalRDL.g:7409: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:7414:2: ( ruleInstancePropertyRef ) + // InternalRDL.g:7415:3: ruleInstancePropertyRef + { + before(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleInstancePropertyRef(); + + state._fsp--; + + after(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConcatElem__InstPropRefAssignment_0" + + + // $ANTLR start "rule__ConcatElem__ValueAssignment_1" + // InternalRDL.g:7424: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:7429:2: ( RULE_NUM ) + // InternalRDL.g:7430:3: RULE_NUM + { + before(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConcatElem__ValueAssignment_1" + + + // $ANTLR start "rule__PropertyRvalueConstant__ValAssignment_0" + // InternalRDL.g:7439: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:7444:2: ( ruleRValueConstant ) + // InternalRDL.g:7445:3: ruleRValueConstant + { + before(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleRValueConstant(); + + state._fsp--; + + after(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyRvalueConstant__ValAssignment_0" + + + // $ANTLR start "rule__PropertyRvalueConstant__NumAssignment_1" + // InternalRDL.g:7454: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:7459:2: ( RULE_NUM ) + // InternalRDL.g:7460:3: RULE_NUM + { + before(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyRvalueConstant__NumAssignment_1" + + + // $ANTLR start "rule__PropertyRvalueConstant__StrAssignment_2" + // InternalRDL.g:7469: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:7474:2: ( RULE_STR ) + // InternalRDL.g:7475:3: RULE_STR + { + before(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + match(input,RULE_STR,FOLLOW_2); + after(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PropertyRvalueConstant__StrAssignment_2" + + + // $ANTLR start "rule__EnumDefinition__NameAssignment_1" + // InternalRDL.g:7484: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:7489:2: ( RULE_ID ) + // InternalRDL.g:7490:3: RULE_ID + { + before(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__NameAssignment_1" + + + // $ANTLR start "rule__EnumDefinition__BodyAssignment_2" + // InternalRDL.g:7499: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:7504:2: ( ruleEnumBody ) + // InternalRDL.g:7505:3: ruleEnumBody + { + before(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleEnumBody(); + + state._fsp--; + + after(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDefinition__BodyAssignment_2" + + + // $ANTLR start "rule__EnumBody__EntriesAssignment_2" + // InternalRDL.g:7514: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:7519:2: ( ruleEnumEntry ) + // InternalRDL.g:7520:3: ruleEnumEntry + { + before(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleEnumEntry(); + + state._fsp--; + + after(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__EntriesAssignment_2" + + + // $ANTLR start "rule__EnumEntry__NameAssignment_0" + // InternalRDL.g:7529: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:7534:2: ( RULE_ID ) + // InternalRDL.g:7535:3: RULE_ID + { + before(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__NameAssignment_0" + + + // $ANTLR start "rule__EnumEntry__IndexAssignment_2" + // InternalRDL.g:7544: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:7549:2: ( RULE_NUM ) + // InternalRDL.g:7550:3: RULE_NUM + { + before(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + match(input,RULE_NUM,FOLLOW_2); + after(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__IndexAssignment_2" + + + // $ANTLR start "rule__EnumEntry__PropertiesAssignment_3_1" + // InternalRDL.g:7559: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:7564:2: ( ruleEnumProperty ) + // InternalRDL.g:7565:3: ruleEnumProperty + { + before(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleEnumProperty(); + + state._fsp--; + + after(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumEntry__PropertiesAssignment_3_1" + + + // $ANTLR start "rule__EnumProperty__NameAssignment_0_0_0" + // InternalRDL.g:7574: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:7579:2: ( ( 'name' ) ) + // InternalRDL.g:7580:3: ( 'name' ) + { + before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + // InternalRDL.g:7581:3: ( 'name' ) + // InternalRDL.g:7582:4: 'name' + { + before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + match(input,20,FOLLOW_2); + after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + + } + + after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__NameAssignment_0_0_0" + + + // $ANTLR start "rule__EnumProperty__ValueAssignment_0_0_2" + // InternalRDL.g:7593: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:7598:2: ( RULE_STR ) + // InternalRDL.g:7599: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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__ValueAssignment_0_0_2" + + + // $ANTLR start "rule__EnumProperty__NameAssignment_0_1_0" + // InternalRDL.g:7608: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:7613:2: ( ( 'desc' ) ) + // InternalRDL.g:7614:3: ( 'desc' ) + { + before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + // InternalRDL.g:7615:3: ( 'desc' ) + // InternalRDL.g:7616:4: 'desc' + { + before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + match(input,21,FOLLOW_2); + after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + + } + + after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__NameAssignment_0_1_0" + + + // $ANTLR start "rule__EnumProperty__ValueAssignment_0_1_2" + // InternalRDL.g:7627: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:7632:2: ( RULE_STR ) + // InternalRDL.g:7633: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()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__ValueAssignment_0_1_2" + + // Delegated rules + + + + + 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[]{0xFFFFFFFFFFF5E022L,0x0241FC00FFFFFFFFL,0x0000000000000018L}); + 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,0x0002000000000000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000000L,0x00D0000000000000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0004000000000000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000000L,0x0020000000000000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x000000000003FC00L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000000L,0x0080000000000000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000000000L,0x0090000000000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000000050L,0x0000000300000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000000DE000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000000L,0x0108000000000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000002L,0x0100000000000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000020L,0x0002000000000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0xFFFFFFFFFFF5E020L,0x02447C00FFFFFFFFL,0x0000000000000018L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0xFFFFFFFFFFF5E022L,0x02407C00FFFFFFFFL,0x0000000000000018L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000020L,0x0008000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000020L,0x0200000000000400L,0x0000000000000010L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000000000L,0x0408000000000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000002L,0x0400000000000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000000L,0x0400000000000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x7820000000000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000000000L,0x8000000000000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0xFFFFFFFFFFF00000L,0x00007C00FFFFFFFFL}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000000L,0x0028000000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000070L,0x000203FF80030000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0xFFFFFFFFFFF00020L,0x00007C00FFFFFFFFL}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000004L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000008L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000060L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x0404000000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000020L,0x0004000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000022L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x000A000000000000L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000300000L,0x0004000000000000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000300002L}); + +} \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeModule.xtend b/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeModule.xtend new file mode 100644 index 0000000..d8d27ef --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeModule.xtend @@ -0,0 +1,11 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide + + +/** + * Use this class to register ide components. + */ +class RDLIdeModule extends AbstractRDLIdeModule { +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeSetup.xtend b/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeSetup.xtend new file mode 100644 index 0000000..ee0ac0d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeSetup.xtend @@ -0,0 +1,20 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide + +import com.google.inject.Guice +import com.minres.rdl.RDLRuntimeModule +import com.minres.rdl.RDLStandaloneSetup +import org.eclipse.xtext.util.Modules2 + +/** + * Initialization support for running Xtext languages as language servers. + */ +class RDLIdeSetup extends RDLStandaloneSetup { + + override createInjector() { + Guice.createInjector(Modules2.mixin(new RDLRuntimeModule, new RDLIdeModule)) + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeModule.java._trace b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeModule.java._trace new file mode 100644 index 0000000..32228e6 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeModule.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeModule.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeModule.xtendbin new file mode 100644 index 0000000..9626f24 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeModule.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeSetup.java._trace b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeSetup.java._trace new file mode 100644 index 0000000..fe637e5 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeSetup.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeSetup.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeSetup.xtendbin new file mode 100644 index 0000000..c6f1692 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/.RDLIdeSetup.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/RDLIdeModule.java b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/RDLIdeModule.java new file mode 100644 index 0000000..085d7f1 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/RDLIdeModule.java @@ -0,0 +1,13 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide; + +import com.minres.rdl.ide.AbstractRDLIdeModule; + +/** + * Use this class to register ide components. + */ +@SuppressWarnings("all") +public class RDLIdeModule extends AbstractRDLIdeModule { +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/RDLIdeSetup.java b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/RDLIdeSetup.java new file mode 100644 index 0000000..f118390 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/xtend-gen/com/minres/rdl/ide/RDLIdeSetup.java @@ -0,0 +1,24 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ide; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.minres.rdl.RDLRuntimeModule; +import com.minres.rdl.RDLStandaloneSetup; +import com.minres.rdl.ide.RDLIdeModule; +import org.eclipse.xtext.util.Modules2; + +/** + * Initialization support for running Xtext languages as language servers. + */ +@SuppressWarnings("all") +public class RDLIdeSetup extends RDLStandaloneSetup { + @Override + public Injector createInjector() { + RDLRuntimeModule _rDLRuntimeModule = new RDLRuntimeModule(); + RDLIdeModule _rDLIdeModule = new RDLIdeModule(); + return Guice.createInjector(Modules2.mixin(_rDLRuntimeModule, _rDLIdeModule)); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.repository/.project b/com.minres.rdl.parent/com.minres.rdl.repository/.project new file mode 100644 index 0000000..0852243 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.repository/.project @@ -0,0 +1,17 @@ + + + com.minres.rdl.repository + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.repository/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.repository/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.repository/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.repository/category.xml b/com.minres.rdl.parent/com.minres.rdl.repository/category.xml new file mode 100644 index 0000000..857ad4a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.repository/category.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml b/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml new file mode 100644 index 0000000..030c476 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml @@ -0,0 +1,51 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.repository + eclipse-repository + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-clean-plugin + + + [2.5,) + + + clean + + + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.target/.project b/com.minres.rdl.parent/com.minres.rdl.target/.project new file mode 100644 index 0000000..e4e83ff --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.target/.project @@ -0,0 +1,17 @@ + + + com.minres.rdl.target + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.target/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.target/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.target/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.target/com.minres.rdl.target.target b/com.minres.rdl.parent/com.minres.rdl.target/com.minres.rdl.target.target new file mode 100644 index 0000000..3110d7d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.target/com.minres.rdl.target.target @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.target/pom.xml b/com.minres.rdl.parent/com.minres.rdl.target/pom.xml new file mode 100644 index 0000000..0255d6b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.target/pom.xml @@ -0,0 +1,15 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.target + eclipse-target-definition + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/.classpath b/com.minres.rdl.parent/com.minres.rdl.tests/.classpath new file mode 100644 index 0000000..8d26fa5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/.project b/com.minres.rdl.parent/com.minres.rdl.tests/.project new file mode 100644 index 0000000..3c1e673 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/.project @@ -0,0 +1,40 @@ + + + com.minres.rdl.tests + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/.settings/org.eclipse.jdt.core.prefs b/com.minres.rdl.parent/com.minres.rdl.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..0c68a61 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/META-INF/MANIFEST.MF b/com.minres.rdl.parent/com.minres.rdl.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..f5a2cd3 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/META-INF/MANIFEST.MF @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: com.minres.rdl.tests +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: com.minres.rdl.tests; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: com.minres.rdl, + org.junit;bundle-version="4.12.0", + org.eclipse.xtext.testing, + org.eclipse.xtext.xbase.testing, + org.eclipse.xtext.xbase.lib +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: com.minres.rdl.tests;x-internal=true +Import-Package: org.hamcrest.core, + org.junit;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0" diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/build.properties b/com.minres.rdl.parent/com.minres.rdl.tests/build.properties new file mode 100644 index 0000000..5c6bbf9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/build.properties @@ -0,0 +1,6 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = .,\ + META-INF/ +bin.excludes = **/*.xtend diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml b/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml new file mode 100644 index 0000000..ba7a401 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml @@ -0,0 +1,29 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.tests + eclipse-test-plugin + + + + + org.eclipse.xtend + xtend-maven-plugin + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/com/minres/rdl/tests/RDLInjectorProvider.java b/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/com/minres/rdl/tests/RDLInjectorProvider.java new file mode 100644 index 0000000..007050e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/com/minres/rdl/tests/RDLInjectorProvider.java @@ -0,0 +1,66 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.tests; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.minres.rdl.RDLRuntimeModule; +import com.minres.rdl.RDLStandaloneSetup; +import org.eclipse.xtext.testing.GlobalRegistries; +import org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento; +import org.eclipse.xtext.testing.IInjectorProvider; +import org.eclipse.xtext.testing.IRegistryConfigurator; + +public class RDLInjectorProvider implements IInjectorProvider, IRegistryConfigurator { + + protected GlobalStateMemento stateBeforeInjectorCreation; + protected GlobalStateMemento stateAfterInjectorCreation; + protected Injector injector; + + static { + GlobalRegistries.initializeDefaults(); + } + + @Override + public Injector getInjector() { + if (injector == null) { + stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + this.injector = internalCreateInjector(); + stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + } + return injector; + } + + protected Injector internalCreateInjector() { + return new RDLStandaloneSetup() { + @Override + public Injector createInjector() { + return Guice.createInjector(createRuntimeModule()); + } + }.createInjectorAndDoEMFRegistration(); + } + + protected RDLRuntimeModule createRuntimeModule() { + // make it work also with Maven/Tycho and OSGI + // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=493672 + return new RDLRuntimeModule() { + @Override + public ClassLoader bindClassLoaderToInstance() { + return RDLInjectorProvider.class + .getClassLoader(); + } + }; + } + + @Override + public void restoreRegistry() { + stateBeforeInjectorCreation.restoreGlobalState(); + } + + @Override + public void setupRegistry() { + getInjector(); + stateAfterInjectorCreation.restoreGlobalState(); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/src/com/minres/rdl/tests/RDLParsingTest.xtend b/com.minres.rdl.parent/com.minres.rdl.tests/src/com/minres/rdl/tests/RDLParsingTest.xtend new file mode 100644 index 0000000..1b8aa55 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/src/com/minres/rdl/tests/RDLParsingTest.xtend @@ -0,0 +1,29 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.tests + +import com.google.inject.Inject +import com.minres.rdl.rdl.Root +import org.eclipse.xtext.testing.InjectWith +import org.eclipse.xtext.testing.XtextRunner +import org.eclipse.xtext.testing.util.ParseHelper +import org.junit.Assert +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(XtextRunner) +@InjectWith(RDLInjectorProvider) +class RDLParsingTest { + @Inject + ParseHelper parseHelper + + @Test + def void loadModel() { + val result = parseHelper.parse(''' + Hello Xtext! + ''') + Assert.assertNotNull(result) + Assert.assertTrue(result.eResource.errors.isEmpty) + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.RDLParsingTest.java._trace b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.RDLParsingTest.java._trace new file mode 100644 index 0000000..27a806f Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.RDLParsingTest.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.RDLParsingTest.xtendbin b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.RDLParsingTest.xtendbin new file mode 100644 index 0000000..c6fc61f Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/.RDLParsingTest.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/RDLParsingTest.java b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/RDLParsingTest.java new file mode 100644 index 0000000..31c1296 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/xtend-gen/com/minres/rdl/tests/RDLParsingTest.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.tests; + +import com.google.inject.Inject; +import com.minres.rdl.rdl.Root; +import com.minres.rdl.tests.RDLInjectorProvider; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.testing.InjectWith; +import org.eclipse.xtext.testing.XtextRunner; +import org.eclipse.xtext.testing.util.ParseHelper; +import org.eclipse.xtext.xbase.lib.Exceptions; +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; + +@RunWith(XtextRunner.class) +@InjectWith(RDLInjectorProvider.class) +@SuppressWarnings("all") +public class RDLParsingTest { + @Inject + private ParseHelper parseHelper; + + @Test + public void loadModel() { + try { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Hello Xtext!"); + _builder.newLine(); + final Root result = this.parseHelper.parse(_builder); + Assert.assertNotNull(result); + Assert.assertTrue(result.eResource().getErrors().isEmpty()); + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/.classpath b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.classpath new file mode 100644 index 0000000..8d26fa5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/.project b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.project new file mode 100644 index 0000000..f8ae1b8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.project @@ -0,0 +1,40 @@ + + + com.minres.rdl.ui.tests + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/.settings/org.eclipse.jdt.core.prefs b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..0c68a61 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/META-INF/MANIFEST.MF b/com.minres.rdl.parent/com.minres.rdl.ui.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..57c1052 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: com.minres.rdl.ui.tests +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: com.minres.rdl.ui.tests; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: com.minres.rdl.ui, + org.junit;bundle-version="4.12.0", + org.eclipse.xtext.testing, + org.eclipse.xtext.xbase.testing, + org.eclipse.xtext.junit4, + org.eclipse.xtext.xbase.junit, + org.eclipse.core.runtime, + org.eclipse.ui.workbench;resolution:=optional +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: com.minres.rdl.ui.tests;x-internal=true +Import-Package: org.hamcrest.core, + org.junit;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0" diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/build.properties b/com.minres.rdl.parent/com.minres.rdl.ui.tests/build.properties new file mode 100644 index 0000000..5c6bbf9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/build.properties @@ -0,0 +1,6 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = .,\ + META-INF/ +bin.excludes = **/*.xtend diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/pom.xml b/com.minres.rdl.parent/com.minres.rdl.ui.tests/pom.xml new file mode 100644 index 0000000..d4002f4 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/pom.xml @@ -0,0 +1,62 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.ui.tests + eclipse-test-plugin + + + + + org.eclipse.xtend + xtend-maven-plugin + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + true + + + + org.eclipse.tycho + target-platform-configuration + + + + + + eclipse-feature + org.eclipse.rcp + 0.0.0 + + + + + + + + + + + testing-on-mac + + + mac + + + + -XstartOnFirstThread + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/src-gen/com/minres/rdl/ui/tests/RDLUiInjectorProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui.tests/src-gen/com/minres/rdl/ui/tests/RDLUiInjectorProvider.java new file mode 100644 index 0000000..c0b6312 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/src-gen/com/minres/rdl/ui/tests/RDLUiInjectorProvider.java @@ -0,0 +1,17 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.tests; + +import com.google.inject.Injector; +import com.minres.rdl.ui.internal.RdlActivator; +import org.eclipse.xtext.testing.IInjectorProvider; + +public class RDLUiInjectorProvider implements IInjectorProvider { + + @Override + public Injector getInjector() { + return RdlActivator.getInstance().getInjector("com.minres.rdl.RDL"); + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/.classpath b/com.minres.rdl.parent/com.minres.rdl.ui/.classpath new file mode 100644 index 0000000..8d26fa5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/.project b/com.minres.rdl.parent/com.minres.rdl.ui/.project new file mode 100644 index 0000000..0841e9b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/.project @@ -0,0 +1,40 @@ + + + com.minres.rdl.ui + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl.ui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/.settings/org.eclipse.jdt.core.prefs b/com.minres.rdl.parent/com.minres.rdl.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..0c68a61 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/META-INF/MANIFEST.MF b/com.minres.rdl.parent/com.minres.rdl.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..d0c99ca --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: com.minres.rdl.ui +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: com.minres.rdl.ui; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: com.minres.rdl, + com.minres.rdl.ide, + org.eclipse.xtext.ui, + org.eclipse.xtext.ui.shared, + org.eclipse.xtext.ui.codetemplates.ui, + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.ui.ide;bundle-version="3.5.0", + org.eclipse.ui, + org.eclipse.compare, + org.eclipse.xtext.builder, + org.eclipse.xtend.lib;resolution:=optional, + org.eclipse.xtext.xbase.lib +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: com.minres.rdl.ui.internal, + com.minres.rdl.ui.quickfix, + com.minres.rdl.ui.contentassist +Bundle-Activator: com.minres.rdl.ui.internal.RdlActivator diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/build.properties b/com.minres.rdl.parent/com.minres.rdl.ui/build.properties new file mode 100644 index 0000000..323f56c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/build.properties @@ -0,0 +1,7 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = .,\ + META-INF/,\ + plugin.xml +bin.excludes = **/*.xtend diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/A.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/A.png new file mode 100644 index 0000000..ffc612f Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/A.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/B.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/B.png new file mode 100644 index 0000000..93aa700 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/B.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/C.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/C.png new file mode 100644 index 0000000..10766b8 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/C.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/D.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/D.png new file mode 100644 index 0000000..18c73b7 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/D.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/E.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/E.png new file mode 100644 index 0000000..e1c5e39 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/E.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/F.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/F.png new file mode 100644 index 0000000..b280a78 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/F.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/G.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/G.png new file mode 100644 index 0000000..405f38c Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/G.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/H.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/H.png new file mode 100644 index 0000000..63dbefa Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/H.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/I.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/I.png new file mode 100644 index 0000000..8ad2038 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/I.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/J.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/J.png new file mode 100644 index 0000000..6fbdf20 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/J.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/K.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/K.png new file mode 100644 index 0000000..21f13d5 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/K.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/L.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/L.png new file mode 100644 index 0000000..7002762 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/L.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/M.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/M.png new file mode 100644 index 0000000..b2d51be Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/M.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/N.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/N.png new file mode 100644 index 0000000..1148218 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/N.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/O.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/O.png new file mode 100644 index 0000000..510df35 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/O.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/P.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/P.png new file mode 100644 index 0000000..293ab61 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/P.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/Q.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/Q.png new file mode 100644 index 0000000..e6f4e03 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/Q.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/R.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/R.png new file mode 100644 index 0000000..420bcd8 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/R.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/S.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/S.png new file mode 100644 index 0000000..4545659 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/S.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/T.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/T.png new file mode 100644 index 0000000..eba72e3 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/T.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/U.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/U.png new file mode 100644 index 0000000..b7b67df Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/U.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/V.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/V.png new file mode 100644 index 0000000..a0d678b Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/V.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/W.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/W.png new file mode 100644 index 0000000..59564b1 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/W.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/X.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/X.png new file mode 100644 index 0000000..0cb4c5d Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/X.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/Y.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/Y.png new file mode 100644 index 0000000..4d67480 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/Y.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/icons/Z.png b/com.minres.rdl.parent/com.minres.rdl.ui/icons/Z.png new file mode 100644 index 0000000..3204aca Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/icons/Z.png differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml b/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml new file mode 100644 index 0000000..9d2d6fc --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml @@ -0,0 +1,410 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml b/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml new file mode 100644 index 0000000..c7ff161 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl.ui + eclipse-plugin + + + + + org.eclipse.xtend + xtend-maven-plugin + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/AbstractRDLUiModule.java b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/AbstractRDLUiModule.java new file mode 100644 index 0000000..0404f00 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/AbstractRDLUiModule.java @@ -0,0 +1,286 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui; + +import com.google.inject.Binder; +import com.google.inject.Provider; +import com.google.inject.name.Names; +import com.minres.rdl.ide.contentassist.antlr.PartialRDLContentAssistParser; +import com.minres.rdl.ide.contentassist.antlr.RDLParser; +import com.minres.rdl.ide.contentassist.antlr.internal.InternalRDLLexer; +import com.minres.rdl.ui.contentassist.RDLProposalProvider; +import com.minres.rdl.ui.labeling.RDLDescriptionLabelProvider; +import com.minres.rdl.ui.labeling.RDLLabelProvider; +import com.minres.rdl.ui.outline.RDLOutlineTreeProvider; +import com.minres.rdl.ui.quickfix.RDLQuickfixProvider; +import org.eclipse.compare.IViewerCreator; +import org.eclipse.core.resources.IWorkspaceRoot; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.jface.viewers.ILabelProvider; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.builder.BuilderParticipant; +import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; +import org.eclipse.xtext.builder.IXtextBuilderParticipant; +import org.eclipse.xtext.builder.builderState.IBuilderState; +import org.eclipse.xtext.builder.clustering.CurrentDescriptions; +import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; +import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; +import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; +import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; +import org.eclipse.xtext.ide.LexerIdeBindings; +import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; +import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; +import org.eclipse.xtext.service.SingletonBinding; +import org.eclipse.xtext.ui.DefaultUiModule; +import org.eclipse.xtext.ui.UIBindings; +import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; +import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; +import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; +import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; +import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; +import org.eclipse.xtext.ui.compare.DefaultViewerCreator; +import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; +import org.eclipse.xtext.ui.editor.IXtextEditorCallback; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; +import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; +import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; +import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; +import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; +import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; +import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; +import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; +import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; +import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; +import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; +import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; +import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; +import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; +import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; +import org.eclipse.xtext.ui.refactoring.IRenameStrategy; +import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; +import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; +import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; +import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; +import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; +import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; +import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; +import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; +import org.eclipse.xtext.ui.shared.Access; + +/** + * Manual modifications go to {@link RDLUiModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractRDLUiModule extends DefaultUiModule { + + public AbstractRDLUiModule(AbstractUIPlugin plugin) { + super(plugin); + } + + // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment + public Provider provideIAllContainersState() { + return Access.getJavaProjectsState(); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIProposalConflictHelper() { + return AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureContentAssistLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) + .to(InternalRDLLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureHighlightingLexer(Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) + .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) + .to(com.minres.rdl.parser.antlr.internal.InternalRDLLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureHighlightingTokenDefProvider(Binder binder) { + binder.bind(ITokenDefProvider.class) + .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) + .to(AntlrTokenDefProvider.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindContentAssistContext$Factory() { + return DelegatingContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIContentAssistParser() { + return RDLParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureContentAssistLexerProvider(Binder binder) { + binder.bind(InternalRDLLexer.class).toProvider(LexerProvider.create(InternalRDLLexer.class)); + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindPrefixMatcher() { + return FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptionsBuilderScope(Binder binder) { + binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIXtextEditorCallback() { + return NatureAddingEditorCallback.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIContextualOutputConfigurationProvider() { + return EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptionsPersisted(Binder binder) { + binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindDocumentBasedDirtyResource() { + return PersistentDataAwareDirtyResource.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public Class bindIXtextBuilderParticipant() { + return BuilderParticipant.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public IWorkspaceRoot bindIWorkspaceRootToInstance() { + return ResourcesPlugin.getWorkspace().getRoot(); + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public void configureBuilderPreferenceStoreInitializer(Binder binder) { + binder.bind(IPreferenceStoreInitializer.class) + .annotatedWith(Names.named("builderPreferenceInitializer")) + .to(BuilderPreferenceAccess.Initializer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 + public Class bindILabelProvider() { + return RDLLabelProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 + public void configureResourceUIServiceLabelProvider(Binder binder) { + binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(RDLDescriptionLabelProvider.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 + public Class bindIOutlineTreeProvider() { + return RDLOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 + public Class bindIOutlineTreeStructureProvider() { + return RDLOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 + public Class bindIssueResolutionProvider() { + return RDLQuickfixProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 + public Class bindIContentProposalProvider() { + return RDLProposalProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameStrategy() { + return DefaultRenameStrategy.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIReferenceUpdater() { + return DefaultReferenceUpdater.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public void configureIPreferenceStoreInitializer(Binder binder) { + binder.bind(IPreferenceStoreInitializer.class) + .annotatedWith(Names.named("RefactoringPreferences")) + .to(RefactoringPreferences.Initializer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameRefactoringProvider() { + return DefaultRenameRefactoringProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameSupport$Factory() { + return DefaultRenameSupport.Factory.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Provider provideTemplatesLanguageConfiguration() { + return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Provider provideLanguageRegistry() { + return AccessibleCodetemplatesActivator.getLanguageRegistry(); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + @SingletonBinding(eager=true) + public Class bindLanguageRegistrar() { + return LanguageRegistrar.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Class bindXtextTemplatePreferencePage() { + return AdvancedTemplatesPreferencePage.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Class bindIPartialEditingContentAssistParser() { + return PartialRDLContentAssistParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Class bindIPartialEditingContentAssistContextFactory() { + return PartialEditingContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 + public Class bindIViewerCreator() { + return DefaultViewerCreator.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 + public void configureCompareViewerTitle(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("RDL Compare"); + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.SimpleNamesFragment2 + public Class bindIDependentElementsCalculator() { + return DefaultDependentElementsCalculator.class; + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/RDLExecutableExtensionFactory.java b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/RDLExecutableExtensionFactory.java new file mode 100644 index 0000000..039406d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/RDLExecutableExtensionFactory.java @@ -0,0 +1,27 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui; + +import com.google.inject.Injector; +import com.minres.rdl.ui.internal.RdlActivator; +import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; +import org.osgi.framework.Bundle; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class RDLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return RdlActivator.getInstance().getBundle(); + } + + @Override + protected Injector getInjector() { + return RdlActivator.getInstance().getInjector(RdlActivator.COM_MINRES_RDL_RDL); + } + +} 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 new file mode 100644 index 0000000..62984da --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/contentassist/AbstractRDLProposalProvider.java @@ -0,0 +1,355 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.contentassist; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.Keyword; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; + +/** + * Represents a generated, default implementation of superclass {@link AbstractJavaBasedContentProposalProvider}. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. + */ +public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedContentProposalProvider { + + public void completeRoot_Includes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRoot_ComponentDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + 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) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRoot_PropertyAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRoot_PropertyDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInclude_ImportURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyDefinition_Usage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyDefinition_Default(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyDefault_String(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + if (assignment.getTerminal() instanceof RuleCall) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + if (assignment.getTerminal() instanceof Keyword) { + // subclasses may override + } + } + public void completePropertyDefault_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyUsage_Components(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + 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) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentDefinition_PropertyAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + 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) { + 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) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeNamedInstantiation_Component(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) { + 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) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentInstance_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentInstance_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentInstance_Reset(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentInstance_Address(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentInstance_AddrInc(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + 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) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRange_End(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) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExplicitPropertyAssignment_Modifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExplicitPropertyAssignment_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExplicitPropertyAssignment_Rhs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePostPropertyAssignment_Instance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePostPropertyAssignment_PropertyEnum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePostPropertyAssignment_Property(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completePostPropertyAssignment_Rhs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInstancePropertyRef_Instance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInstancePropertyRef_PropertyEnum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInstancePropertyRef_Property(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeInstanceRef_Instance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeInstanceRef_Tail(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeHierInstanceRef_Instance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeHierInstanceRef_Tail(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyAssignmentRhs_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyAssignmentRhs_InstPropRef(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyAssignmentRhs_EnumRef(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completePropertyAssignmentRhs_Enums(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyAssignmentRhs_Elements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConcat_Elements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConcatElem_InstPropRef(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConcatElem_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyRvalueConstant_Val(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyRvalueConstant_Num(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePropertyRvalueConstant_Str(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumDefinition_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumBody_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumEntry_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumEntry_Index(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumEntry_Properties(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumProperty_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeEnumProperty_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + + public void complete_Root(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Include(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyTypeName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyDefault(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyUsage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyComponent(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ComponentDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + 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) { + // subclasses may override + } + public void complete_ComponentInstance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Range(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyAssignment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_DefaultProperyAssignment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ExplicitPropertyAssignment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PostPropertyAssignment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_InstancePropertyRef(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Entity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_InstanceRef(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_HierInstanceRef(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyAssignmentRhs(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Concat(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ConcatElem(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyEnum(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Property(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyRvalueConstant(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_RValueConstant(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PropertyModifier(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_EnumDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_EnumBody(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_EnumEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_EnumProperty(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 + } + public void complete_WS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ML_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_SL_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_NUM(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_STR(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/internal/RdlActivator.java b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/internal/RdlActivator.java new file mode 100644 index 0000000..be4c5ca --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/internal/RdlActivator.java @@ -0,0 +1,93 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.internal; + +import com.google.common.collect.Maps; +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.google.inject.Module; +import com.minres.rdl.RDLRuntimeModule; +import com.minres.rdl.ui.RDLUiModule; +import java.util.Collections; +import java.util.Map; +import org.apache.log4j.Logger; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.shared.SharedStateModule; +import org.eclipse.xtext.util.Modules2; +import org.osgi.framework.BundleContext; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class RdlActivator extends AbstractUIPlugin { + + public static final String COM_MINRES_RDL_RDL = "com.minres.rdl.RDL"; + + private static final Logger logger = Logger.getLogger(RdlActivator.class); + + private static RdlActivator INSTANCE; + + private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + INSTANCE = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + injectors.clear(); + INSTANCE = null; + super.stop(context); + } + + public static RdlActivator getInstance() { + return INSTANCE; + } + + public Injector getInjector(String language) { + synchronized (injectors) { + Injector injector = injectors.get(language); + if (injector == null) { + injectors.put(language, injector = createInjector(language)); + } + return injector; + } + } + + protected Injector createInjector(String language) { + try { + Module runtimeModule = getRuntimeModule(language); + Module sharedStateModule = getSharedStateModule(); + Module uiModule = getUiModule(language); + Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); + return Guice.createInjector(mergedModule); + } catch (Exception e) { + logger.error("Failed to create injector for " + language); + logger.error(e.getMessage(), e); + throw new RuntimeException("Failed to create injector for " + language, e); + } + } + + protected Module getRuntimeModule(String grammar) { + if (COM_MINRES_RDL_RDL.equals(grammar)) { + return new RDLRuntimeModule(); + } + throw new IllegalArgumentException(grammar); + } + + protected Module getUiModule(String grammar) { + if (COM_MINRES_RDL_RDL.equals(grammar)) { + return new RDLUiModule(this); + } + throw new IllegalArgumentException(grammar); + } + + protected Module getSharedStateModule() { + return new SharedStateModule(); + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectDocumentationProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectDocumentationProvider.xtend new file mode 100644 index 0000000..9272ec7 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectDocumentationProvider.xtend @@ -0,0 +1,13 @@ +package com.minres.rdl.ui + +import org.eclipse.emf.ecore.EObject +import org.eclipse.xtext.documentation.IEObjectDocumentationProvider + +class RDLEObjectDocumentationProvider implements IEObjectDocumentationProvider { + override String getDocumentation(EObject o) { + // if (o instanceof Greeting) { + // return "This is a nice Greeting with nice markup in the documentation"; + // } + return null + } +} 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 new file mode 100644 index 0000000..a157d80 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLEObjectHoverProvider.xtend @@ -0,0 +1,26 @@ +package com.minres.rdl.ui + +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 + +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) + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLUiModule.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLUiModule.xtend new file mode 100644 index 0000000..f4774d7 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/RDLUiModule.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui + +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor +import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider +import org.eclipse.xtext.documentation.IEObjectDocumentationProvider + +/** + * Use this class to register components to be used within the Eclipse IDE. + */ +@FinalFieldsConstructor +class RDLUiModule extends AbstractRDLUiModule { + + def Class bindIEObjectHoverProvider() { + typeof(RDLEObjectHoverProvider); + } + + def Class bindIEObjectDocumentationProviderr() { + typeof(RDLEObjectDocumentationProvider); + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/contentassist/RDLProposalProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/contentassist/RDLProposalProvider.xtend new file mode 100644 index 0000000..66a8f3f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/contentassist/RDLProposalProvider.xtend @@ -0,0 +1,12 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.contentassist + + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +class RDLProposalProvider extends AbstractRDLProposalProvider { +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLDescriptionLabelProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLDescriptionLabelProvider.xtend new file mode 100644 index 0000000..98a8708 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLDescriptionLabelProvider.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.labeling + +import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class RDLDescriptionLabelProvider extends DefaultDescriptionLabelProvider { + + // Labels and icons can be computed like this: + +// override text(IEObjectDescription ele) { +// ele.name.toString +// } +// +// override image(IEObjectDescription ele) { +// ele.EClass.name + '.gif' +// } +} 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 new file mode 100644 index 0000000..5203b22 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/labeling/RDLLabelProvider.xtend @@ -0,0 +1,212 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.labeling + +import com.google.inject.Inject +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 +import com.minres.rdl.rdl.RValue +import com.minres.rdl.IntegerWithRadix +import com.minres.rdl.rdl.PropertyEnum +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 +import com.minres.rdl.rdl.EnumEntry +import com.minres.rdl.rdl.EnumProperty + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +class RDLLabelProvider extends DefaultEObjectLabelProvider { + + @Inject + new(AdapterFactoryLabelProvider delegate) { + 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){ + e.type.literal+' '+e.name + } else{ + val pa = e.propertyAssignments.findFirst[PropertyAssignment pa | + pa instanceof ExplicitPropertyAssignment && (pa as ExplicitPropertyAssignment).name==PropertyEnum.NAME + ] + e.type.literal+' '+ text((pa as ExplicitPropertyAssignment).rhs) + } + } + + def text(ExplicitPropertyAssignment e){ + var res = "" + if(e.modifier!=PropertyModifier.UNDEFINED) + res+=e.modifier.literal + ' ' + res+=e.name + if(e.rhs!==null) + res+=' = '+text(e.rhs) + return res + } + + def text(PostPropertyAssignment e){ + var res = "" + res+=text(e.instance) + if(e.property !== null) + res+='->'+e.property.name + else if(e.propertyEnum != PropertyEnum.UNSPECIFIED) + res+='->'+e.propertyEnum.literal + return res + } + + def String text(InstanceRef e){ + if(e.tail!==null) + e.instance.name+'.'+text(e.tail) + else + 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)+']' + if(e.address!==null) + res+=' @'+e.address + return res + } + + def text( PropertyAssignmentRhs e){ + if(e.value!== null) + text(e.value) + else if(e.instPropRef!==null) + text(e.instPropRef) + else if(e.enumRef!==null) + text(e.enumRef) + } + + def text(InstancePropertyRef ref){ + text(ref.instance) + + if(ref.property!==null) '->' + ref.property.name + else if(ref.propertyEnum != PropertyEnum.UNSPECIFIED) '->' +ref.propertyEnum.literal else '' + } + + def text( RValue e){ + if(e.str!==null){ + elipse(e.str) + } else if(e.^val!=RValueConstant.UNDEFINED) + return e.^val.literal + else if(e.num!==null){ + val num = e.num as IntegerWithRadix + return num.toString + } + } + + def elipse(String string) { + val pos = string.indexOf('\n') + if(pos>0) + return string.substring(0, pos-1)+'...' + else if(string.length>30) + return string.substring(0, 30)+'...' + else + 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 + else + e.name+'='+e.properties.map[ + text(it) + ].join(',') + } + + def text(EnumProperty e){ + e.name+'='+elipse(e.value) + } + + def image(ComponentDefinition e){ + switch(e.type){ + case ComponentDefinitionType.ADDRMAP: return 'A.png' + case ComponentDefinitionType.FIELD: return 'F.png' + case ComponentDefinitionType.REG: return 'R.png' + case ComponentDefinitionType.REGFILE: return 'R.png' + case ComponentDefinitionType.SIGNAL: return 'S.png' + } + } + + + def image(PropertyAssignmentRhs e){ + if(e.value!== null) + 'V.png' + else if(e.instPropRef!==null) + image(e.instPropRef) + else if(e.enumRef!==null) + 'E.png' + } + + def image(InstancePropertyRef ref){ + if(ref.property!==null) + 'P.png' + else if(ref.propertyEnum != PropertyEnum.UNSPECIFIED) + 'E.png' + else + 'I.png' + } + + def image(EnumDefinition e){ + 'E.png' + } + + def image(ExplicitPropertyAssignment e){ + 'P.png' + } + + def image(PostPropertyAssignment e){ + 'P.png' + } + + def image(NamedInstantiation e){ + 'I.png' + } + + def image(EnumEntry v){ + 'V.png' + } + + def image(EnumProperty e){ + 'P.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 new file mode 100644 index 0000000..320c715 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.xtend @@ -0,0 +1,64 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.outline + +import com.minres.rdl.rdl.Root +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 + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline + */ +class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider { + + protected def _createChildren(DocumentRootNode parentNode, Root domainModel) { + domainModel.enumDefinitions.forEach[createNode(parentNode, it)] + domainModel.propertyDefinitions.forEach[createNode(parentNode, it)] + domainModel.componentDefinitions.forEach[createNode(parentNode, it)] + domainModel.propertyAssignments.forEach[createNode(parentNode, it)] + domainModel.namedInstantiations.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)] + } + + protected def _createChildren(IOutlineNode parentNode, EnumDefinition e) { + e.body.entries.forEach[createNode(parentNode, it)] + } + + protected def _createChildren(IOutlineNode parentNode, PostPropertyAssignment p) { + createNode(parentNode, p.rhs) + } + + protected def boolean _isLeaf(ExplicitPropertyAssignment feature) { + return true; + } + + protected def boolean _isLeaf(NamedInstantiation feature) { + return true; + } + + protected def boolean _isLeaf(PropertyAssignmentRhs 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/src/com/minres/rdl/ui/quickfix/RDLQuickfixProvider.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/quickfix/RDLQuickfixProvider.xtend new file mode 100644 index 0000000..ab4a2b1 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/quickfix/RDLQuickfixProvider.xtend @@ -0,0 +1,24 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.quickfix + +import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes + */ +class RDLQuickfixProvider extends DefaultQuickfixProvider { + +// @Fix(RDLValidator.INVALID_NAME) +// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { +// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ +// context | +// val xtextDocument = context.xtextDocument +// val firstLetter = xtextDocument.get(issue.offset, 1) +// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) +// ] +// } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectDocumentationProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectDocumentationProvider.java._trace new file mode 100644 index 0000000..236229e Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectDocumentationProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectDocumentationProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectDocumentationProvider.xtendbin new file mode 100644 index 0000000..def2149 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectDocumentationProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectHoverProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectHoverProvider.java._trace new file mode 100644 index 0000000..595217a Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectHoverProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectHoverProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectHoverProvider.xtendbin new file mode 100644 index 0000000..01d33e6 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLEObjectHoverProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLUiModule.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLUiModule.java._trace new file mode 100644 index 0000000..9463b08 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLUiModule.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLUiModule.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLUiModule.xtendbin new file mode 100644 index 0000000..7025a78 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/.RDLUiModule.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectDocumentationProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectDocumentationProvider.java new file mode 100644 index 0000000..e6c6bd0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectDocumentationProvider.java @@ -0,0 +1,12 @@ +package com.minres.rdl.ui; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; + +@SuppressWarnings("all") +public class RDLEObjectDocumentationProvider implements IEObjectDocumentationProvider { + @Override + public String getDocumentation(final EObject o) { + return null; + } +} 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 new file mode 100644 index 0000000..ddd071b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLEObjectHoverProvider.java @@ -0,0 +1,46 @@ +package com.minres.rdl.ui; + +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 org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider; + +@SuppressWarnings("all") +public class RDLEObjectHoverProvider extends DefaultEObjectHoverProvider { + @Override + protected String getFirstLine(final EObject o) { + boolean _matched = false; + if (o instanceof ComponentDefinition) { + _matched=true; + String _name = ((ComponentDefinition)o).getName(); + String _plus = ("Component " + _name); + String _plus_1 = (_plus + " of type "); + String _literal = ((ComponentDefinition)o).getType().getLiteral(); + return (_plus_1 + _literal); + } + if (!_matched) { + 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 + " "); + 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); + } + } + } + } + return super.getFirstLine(o); + } +} 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 new file mode 100644 index 0000000..38135bf --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/RDLUiModule.java @@ -0,0 +1,31 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui; + +import com.minres.rdl.ui.AbstractRDLUiModule; +import com.minres.rdl.ui.RDLEObjectDocumentationProvider; +import com.minres.rdl.ui.RDLEObjectHoverProvider; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; +import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; +import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider; + +/** + * Use this class to register components to be used within the Eclipse IDE. + */ +@FinalFieldsConstructor +@SuppressWarnings("all") +public class RDLUiModule extends AbstractRDLUiModule { + public Class bindIEObjectHoverProvider() { + return RDLEObjectHoverProvider.class; + } + + public Class bindIEObjectDocumentationProviderr() { + return RDLEObjectDocumentationProvider.class; + } + + 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/.RDLProposalProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.RDLProposalProvider.java._trace new file mode 100644 index 0000000..f74741f Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.RDLProposalProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.RDLProposalProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.RDLProposalProvider.xtendbin new file mode 100644 index 0000000..87c3072 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/.RDLProposalProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/RDLProposalProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/RDLProposalProvider.java new file mode 100644 index 0000000..123c459 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/contentassist/RDLProposalProvider.java @@ -0,0 +1,14 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.contentassist; + +import com.minres.rdl.ui.contentassist.AbstractRDLProposalProvider; + +/** + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist + * on how to customize the content assistant. + */ +@SuppressWarnings("all") +public class RDLProposalProvider extends AbstractRDLProposalProvider { +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLDescriptionLabelProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLDescriptionLabelProvider.java._trace new file mode 100644 index 0000000..a66e286 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLDescriptionLabelProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLDescriptionLabelProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLDescriptionLabelProvider.xtendbin new file mode 100644 index 0000000..468af60 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLDescriptionLabelProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLLabelProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLLabelProvider.java._trace new file mode 100644 index 0000000..71cc086 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLLabelProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLLabelProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLLabelProvider.xtendbin new file mode 100644 index 0000000..8a3633b Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/.RDLLabelProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLDescriptionLabelProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLDescriptionLabelProvider.java new file mode 100644 index 0000000..bdd037f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLDescriptionLabelProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.labeling; + +import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; + +/** + * Provides labels for IEObjectDescriptions and IResourceDescriptions. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class RDLDescriptionLabelProvider extends DefaultDescriptionLabelProvider { +} 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 new file mode 100644 index 0000000..73b7d68 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/labeling/RDLLabelProvider.java @@ -0,0 +1,415 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.labeling; + +import com.google.common.base.Objects; +import com.google.inject.Inject; +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.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; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.PropertyEnum; +import com.minres.rdl.rdl.PropertyModifier; +import com.minres.rdl.rdl.RValue; +import com.minres.rdl.rdl.RValueConstant; +import com.minres.rdl.rdl.Range; +import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; +import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.ListExtensions; + +/** + * Provides labels for EObjects. + * + * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider + */ +@SuppressWarnings("all") +public class RDLLabelProvider extends DefaultEObjectLabelProvider { + @Inject + public RDLLabelProvider(final AdapterFactoryLabelProvider delegate) { + super(delegate); + } + + public String text(final ComponentDefinition e) { + String _xifexpression = null; + ImmediateInstantiation _immediateInstantiation = e.getImmediateInstantiation(); + boolean _tripleNotEquals = (_immediateInstantiation != 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; + } 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; + } + _xifexpression = _xifexpression_2; + } + return _xifexpression; + } + + public String text(final ExplicitPropertyAssignment e) { + String res = ""; + PropertyModifier _modifier = e.getModifier(); + boolean _notEquals = (!Objects.equal(_modifier, PropertyModifier.UNDEFINED)); + if (_notEquals) { + String _res = res; + String _literal = e.getModifier().getLiteral(); + String _plus = (_literal + " "); + res = (_res + _plus); + } + String _res_1 = res; + PropertyEnum _name = e.getName(); + res = (_res_1 + _name); + PropertyAssignmentRhs _rhs = e.getRhs(); + boolean _tripleNotEquals = (_rhs != null); + if (_tripleNotEquals) { + String _res_2 = res; + Object _text = this.text(e.getRhs()); + String _plus_1 = (" = " + _text); + res = (_res_2 + _plus_1); + } + return res; + } + + public String text(final PostPropertyAssignment e) { + String res = ""; + String _res = res; + String _text = this.text(e.getInstance()); + res = (_res + _text); + PropertyDefinition _property = e.getProperty(); + boolean _tripleNotEquals = (_property != null); + if (_tripleNotEquals) { + String _res_1 = res; + String _name = e.getProperty().getName(); + String _plus = ("->" + _name); + res = (_res_1 + _plus); + } else { + PropertyEnum _propertyEnum = e.getPropertyEnum(); + boolean _notEquals = (!Objects.equal(_propertyEnum, PropertyEnum.UNSPECIFIED)); + if (_notEquals) { + String _res_2 = res; + String _literal = e.getPropertyEnum().getLiteral(); + String _plus_1 = ("->" + _literal); + res = (_res_2 + _plus_1); + } + } + return res; + } + + public String text(final InstanceRef e) { + String _xifexpression = null; + InstanceRef _tail = e.getTail(); + boolean _tripleNotEquals = (_tail != null); + if (_tripleNotEquals) { + String _name = e.getInstance().getName(); + String _plus = (_name + "."); + String _text = this.text(e.getTail()); + _xifexpression = (_plus + _text); + } else { + _xifexpression = e.getInstance().getName(); + } + 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(); + boolean _tripleNotEquals = (_range != null); + if (_tripleNotEquals) { + String _res = res; + String _xifexpression = null; + Object _size = e.getRange().getSize(); + boolean _tripleNotEquals_1 = (_size != null); + 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); + } + String _plus_1 = ("[" + _xifexpression); + String _plus_2 = (_plus_1 + "]"); + res = (_res + _plus_2); + } + Object _address = e.getAddress(); + boolean _tripleNotEquals_2 = (_address != null); + if (_tripleNotEquals_2) { + String _res_1 = res; + Object _address_1 = e.getAddress(); + String _plus_3 = (" @" + _address_1); + res = (_res_1 + _plus_3); + } + return res; + } + + public Object text(final PropertyAssignmentRhs e) { + Object _xifexpression = null; + RValue _value = e.getValue(); + boolean _tripleNotEquals = (_value != null); + if (_tripleNotEquals) { + _xifexpression = this.text(e.getValue()); + } else { + Object _xifexpression_1 = null; + InstancePropertyRef _instPropRef = e.getInstPropRef(); + boolean _tripleNotEquals_1 = (_instPropRef != null); + if (_tripleNotEquals_1) { + _xifexpression_1 = this.text(e.getInstPropRef()); + } else { + Object _xifexpression_2 = null; + EnumDefinition _enumRef = e.getEnumRef(); + boolean _tripleNotEquals_2 = (_enumRef != null); + if (_tripleNotEquals_2) { + _xifexpression_2 = this.text(e.getEnumRef()); + } + _xifexpression_1 = _xifexpression_2; + } + _xifexpression = _xifexpression_1; + } + return _xifexpression; + } + + public String text(final InstancePropertyRef ref) { + String _text = this.text(ref.getInstance()); + String _xifexpression = null; + PropertyDefinition _property = ref.getProperty(); + boolean _tripleNotEquals = (_property != null); + if (_tripleNotEquals) { + String _name = ref.getProperty().getName(); + _xifexpression = ("->" + _name); + } else { + String _xifexpression_1 = null; + PropertyEnum _propertyEnum = ref.getPropertyEnum(); + boolean _notEquals = (!Objects.equal(_propertyEnum, PropertyEnum.UNSPECIFIED)); + if (_notEquals) { + String _literal = ref.getPropertyEnum().getLiteral(); + _xifexpression_1 = ("->" + _literal); + } else { + _xifexpression_1 = ""; + } + _xifexpression = _xifexpression_1; + } + return (_text + _xifexpression); + } + + public String text(final RValue e) { + String _xifexpression = null; + String _str = e.getStr(); + boolean _tripleNotEquals = (_str != null); + if (_tripleNotEquals) { + _xifexpression = this.elipse(e.getStr()); + } else { + RValueConstant _val = e.getVal(); + boolean _notEquals = (!Objects.equal(_val, RValueConstant.UNDEFINED)); + if (_notEquals) { + return e.getVal().getLiteral(); + } else { + Object _num = e.getNum(); + boolean _tripleNotEquals_1 = (_num != null); + if (_tripleNotEquals_1) { + Object _num_1 = e.getNum(); + final IntegerWithRadix num = ((IntegerWithRadix) _num_1); + return num.toString(); + } + } + } + return _xifexpression; + } + + public String elipse(final String string) { + final int pos = string.indexOf("\n"); + if ((pos > 0)) { + String _substring = string.substring(0, (pos - 1)); + return (_substring + "..."); + } else { + int _length = string.length(); + boolean _greaterThan = (_length > 30); + if (_greaterThan) { + String _substring_1 = string.substring(0, 30); + return (_substring_1 + "..."); + } else { + return string; + } + } + } + + 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(); + boolean _tripleNotEquals = (_index != null); + if (_tripleNotEquals) { + String _name = e.getName(); + String _plus = (_name + "="); + String _string = e.getIndex().toString(); + _xifexpression = (_plus + _string); + } else { + String _name_1 = e.getName(); + String _plus_1 = (_name_1 + "="); + final Function1 _function = (EnumProperty it) -> { + return this.text(it); + }; + String _join = IterableExtensions.join(ListExtensions.map(e.getProperties(), _function), ","); + _xifexpression = (_plus_1 + _join); + } + return _xifexpression; + } + + public String text(final EnumProperty e) { + String _name = e.getName(); + String _plus = (_name + "="); + String _elipse = this.elipse(e.getValue()); + return (_plus + _elipse); + } + + public String image(final ComponentDefinition e) { + ComponentDefinitionType _type = e.getType(); + if (_type != null) { + switch (_type) { + case ADDRMAP: + return "A.png"; + case FIELD: + return "F.png"; + case REG: + return "R.png"; + case REGFILE: + return "R.png"; + case SIGNAL: + return "S.png"; + default: + break; + } + } + return null; + } + + public String image(final PropertyAssignmentRhs e) { + String _xifexpression = null; + RValue _value = e.getValue(); + boolean _tripleNotEquals = (_value != null); + if (_tripleNotEquals) { + _xifexpression = "V.png"; + } else { + String _xifexpression_1 = null; + InstancePropertyRef _instPropRef = e.getInstPropRef(); + boolean _tripleNotEquals_1 = (_instPropRef != null); + if (_tripleNotEquals_1) { + _xifexpression_1 = this.image(e.getInstPropRef()); + } else { + String _xifexpression_2 = null; + EnumDefinition _enumRef = e.getEnumRef(); + boolean _tripleNotEquals_2 = (_enumRef != null); + if (_tripleNotEquals_2) { + _xifexpression_2 = "E.png"; + } + _xifexpression_1 = _xifexpression_2; + } + _xifexpression = _xifexpression_1; + } + return _xifexpression; + } + + public String image(final InstancePropertyRef ref) { + String _xifexpression = null; + PropertyDefinition _property = ref.getProperty(); + boolean _tripleNotEquals = (_property != null); + if (_tripleNotEquals) { + _xifexpression = "P.png"; + } else { + String _xifexpression_1 = null; + PropertyEnum _propertyEnum = ref.getPropertyEnum(); + boolean _notEquals = (!Objects.equal(_propertyEnum, PropertyEnum.UNSPECIFIED)); + if (_notEquals) { + _xifexpression_1 = "E.png"; + } else { + _xifexpression_1 = "I.png"; + } + _xifexpression = _xifexpression_1; + } + return _xifexpression; + } + + public String image(final EnumDefinition e) { + return "E.png"; + } + + public String image(final ExplicitPropertyAssignment e) { + return "P.png"; + } + + public String image(final PostPropertyAssignment e) { + return "P.png"; + } + + public String image(final NamedInstantiation e) { + return "I.png"; + } + + public String image(final EnumEntry v) { + return "V.png"; + } + + public String image(final EnumProperty e) { + return "P.png"; + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.RDLOutlineTreeProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.RDLOutlineTreeProvider.java._trace new file mode 100644 index 0000000..4046c35 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.RDLOutlineTreeProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.RDLOutlineTreeProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.RDLOutlineTreeProvider.xtendbin new file mode 100644 index 0000000..9d452f7 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/.RDLOutlineTreeProvider.xtendbin differ 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 new file mode 100644 index 0000000..6c00bae --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/outline/RDLOutlineTreeProvider.java @@ -0,0 +1,97 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.outline; + +import com.minres.rdl.rdl.ComponentDefinition; +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.PostPropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignmentRhs; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.Root; +import java.util.function.Consumer; +import org.eclipse.xtext.ui.editor.outline.IOutlineNode; +import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; +import org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode; + +/** + * Customization of the default outline structure. + * + * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline + */ +@SuppressWarnings("all") +public class RDLOutlineTreeProvider extends DefaultOutlineTreeProvider { + protected void _createChildren(final DocumentRootNode parentNode, final Root domainModel) { + final Consumer _function = (EnumDefinition it) -> { + this.createNode(parentNode, it); + }; + domainModel.getEnumDefinitions().forEach(_function); + final Consumer _function_1 = (PropertyDefinition it) -> { + this.createNode(parentNode, it); + }; + domainModel.getPropertyDefinitions().forEach(_function_1); + final Consumer _function_2 = (ComponentDefinition it) -> { + this.createNode(parentNode, it); + }; + domainModel.getComponentDefinitions().forEach(_function_2); + final Consumer _function_3 = (PropertyAssignment it) -> { + this.createNode(parentNode, it); + }; + domainModel.getPropertyAssignments().forEach(_function_3); + final Consumer _function_4 = (NamedInstantiation it) -> { + this.createNode(parentNode, it); + }; + domainModel.getNamedInstantiations().forEach(_function_4); + } + + protected void _createChildren(final IOutlineNode parentNode, final ComponentDefinition compDef) { + final Consumer _function = (EnumDefinition it) -> { + this.createNode(parentNode, it); + }; + compDef.getEnumDefinitions().forEach(_function); + final Consumer _function_1 = (ComponentDefinition it) -> { + this.createNode(parentNode, it); + }; + compDef.getComponentDefinitions().forEach(_function_1); + final Consumer _function_2 = (PropertyAssignment it) -> { + this.createNode(parentNode, it); + }; + compDef.getPropertyAssignments().forEach(_function_2); + final Consumer _function_3 = (NamedInstantiation it) -> { + this.createNode(parentNode, it); + }; + compDef.getNamedInstantiations().forEach(_function_3); + } + + protected void _createChildren(final IOutlineNode parentNode, final EnumDefinition e) { + final Consumer _function = (EnumEntry it) -> { + this.createNode(parentNode, it); + }; + e.getBody().getEntries().forEach(_function); + } + + protected void _createChildren(final IOutlineNode parentNode, final PostPropertyAssignment p) { + this.createNode(parentNode, p.getRhs()); + } + + protected boolean _isLeaf(final ExplicitPropertyAssignment feature) { + return true; + } + + protected boolean _isLeaf(final NamedInstantiation feature) { + return true; + } + + protected boolean _isLeaf(final PropertyAssignmentRhs 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/.RDLQuickfixProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.RDLQuickfixProvider.java._trace new file mode 100644 index 0000000..82af7fd Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.RDLQuickfixProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.RDLQuickfixProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.RDLQuickfixProvider.xtendbin new file mode 100644 index 0000000..4c24ac2 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/.RDLQuickfixProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/RDLQuickfixProvider.java b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/RDLQuickfixProvider.java new file mode 100644 index 0000000..0c744f1 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/xtend-gen/com/minres/rdl/ui/quickfix/RDLQuickfixProvider.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.ui.quickfix; + +import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; + +/** + * Custom quickfixes. + * + * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes + */ +@SuppressWarnings("all") +public class RDLQuickfixProvider extends DefaultQuickfixProvider { +} diff --git a/com.minres.rdl.parent/com.minres.rdl/.antlr-generator-3.2.0-patch.jar b/com.minres.rdl.parent/com.minres.rdl/.antlr-generator-3.2.0-patch.jar new file mode 100644 index 0000000..90516fd Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/.antlr-generator-3.2.0-patch.jar differ diff --git a/com.minres.rdl.parent/com.minres.rdl/.classpath b/com.minres.rdl.parent/com.minres.rdl/.classpath new file mode 100644 index 0000000..8d26fa5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl/.project b/com.minres.rdl.parent/com.minres.rdl/.project new file mode 100644 index 0000000..a16747c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/.project @@ -0,0 +1,40 @@ + + + com.minres.rdl + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/com.minres.rdl.parent/com.minres.rdl/.settings/org.eclipse.core.resources.prefs b/com.minres.rdl.parent/com.minres.rdl/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/com.minres.rdl.parent/com.minres.rdl/.settings/org.eclipse.jdt.core.prefs b/com.minres.rdl.parent/com.minres.rdl/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..0c68a61 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/com.minres.rdl.parent/com.minres.rdl/META-INF/MANIFEST.MF b/com.minres.rdl.parent/com.minres.rdl/META-INF/MANIFEST.MF new file mode 100644 index 0000000..9d568f2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/META-INF/MANIFEST.MF @@ -0,0 +1,30 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: com.minres.rdl +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: com.minres.rdl; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.xtext, + org.eclipse.xtext.xbase, + org.eclipse.equinox.common;bundle-version="3.5.0", + org.eclipse.emf.ecore, + org.eclipse.xtext.xbase.lib, + org.antlr.runtime, + org.eclipse.xtext.util, + org.eclipse.xtend.lib, + org.eclipse.emf.common, + org.eclipse.equinox.preferences +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: com.minres.rdl.parser.antlr, + com.minres.rdl, + com.minres.rdl.rdl.util, + com.minres.rdl.rdl, + com.minres.rdl.serializer, + com.minres.rdl.parser.antlr.internal, + com.minres.rdl.scoping, + com.minres.rdl.rdl.impl, + com.minres.rdl.validation, + com.minres.rdl.services, + com.minres.rdl.generator +Import-Package: org.apache.log4j diff --git a/com.minres.rdl.parent/com.minres.rdl/build.properties b/com.minres.rdl.parent/com.minres.rdl/build.properties new file mode 100644 index 0000000..18d540b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/build.properties @@ -0,0 +1,20 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = model/generated/,\ + .,\ + META-INF/,\ + plugin.xml +bin.excludes = **/*.mwe2,\ + **/*.xtend +additional.bundles = org.eclipse.xtext.xbase,\ + org.eclipse.xtext.common.types,\ + org.eclipse.xtext.xtext.generator,\ + org.eclipse.emf.codegen.ecore,\ + org.eclipse.emf.mwe.utils,\ + org.eclipse.emf.mwe2.launch,\ + org.eclipse.emf.mwe2.lib,\ + org.objectweb.asm,\ + org.apache.commons.logging,\ + org.apache.log4j,\ + com.ibm.icu 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 new file mode 100644 index 0000000..9bbde30 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.ecore @@ -0,0 +1,275 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 new file mode 100644 index 0000000..b8d3d57 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/model/generated/RDL.genmodel @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl/plugin.xml b/com.minres.rdl.parent/com.minres.rdl/plugin.xml new file mode 100644 index 0000000..ae28d82 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/plugin.xml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl/pom.xml b/com.minres.rdl.parent/com.minres.rdl/pom.xml new file mode 100644 index 0000000..4ddfbae --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/pom.xml @@ -0,0 +1,149 @@ + + 4.0.0 + + com.minres.rdl + com.minres.rdl.parent + 1.0.0-SNAPSHOT + + com.minres.rdl + eclipse-plugin + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + + mwe2Launcher + generate-sources + + java + + + + + org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher + + /${project.basedir}/src/com/minres/rdl/GenerateRDL.mwe2 + -p + rootPath=/${project.basedir}/.. + + compile + true + false + + + + org.eclipse.emf + org.eclipse.emf.mwe2.launch + 2.9.0.201605261059 + + + org.eclipse.xtext + org.eclipse.xtext.common.types + ${xtextVersion} + + + org.eclipse.xtext + org.eclipse.xtext.xtext.generator + ${xtextVersion} + + + org.eclipse.xtext + org.eclipse.xtext.xbase + ${xtextVersion} + + + org.eclipse.xtext + xtext-antlr-generator + [2.1.1, 3) + + + + + org.eclipse.xtend + xtend-maven-plugin + + + + org.apache.maven.plugins + maven-clean-plugin + + + + ${basedir}/../com.minres.rdl/src-gen/ + + **/* + + + + ${basedir}/../com.minres.rdl.tests/src-gen/ + + **/* + + + + ${basedir}/../com.minres.rdl.ide/src-gen/ + + **/* + + + + ${basedir}/../com.minres.rdl.ui/src-gen/ + + **/* + + + + ${basedir}/../com.minres.rdl.ui.tests/src-gen/ + + **/* + + + + ${basedir}/model/generated/ + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.codehaus.mojo + + + exec-maven-plugin + + + [1.2.1,) + + + java + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/AbstractRDLRuntimeModule.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/AbstractRDLRuntimeModule.java new file mode 100644 index 0000000..78b1008 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/AbstractRDLRuntimeModule.java @@ -0,0 +1,194 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl; + +import com.google.inject.Binder; +import com.google.inject.Provider; +import com.google.inject.name.Names; +import com.minres.rdl.generator.RDLGenerator; +import com.minres.rdl.parser.antlr.RDLAntlrTokenFileProvider; +import com.minres.rdl.parser.antlr.RDLParser; +import com.minres.rdl.parser.antlr.internal.InternalRDLLexer; +import com.minres.rdl.scoping.RDLScopeProvider; +import com.minres.rdl.serializer.RDLSemanticSequencer; +import com.minres.rdl.serializer.RDLSyntacticSequencer; +import com.minres.rdl.services.RDLGrammarAccess; +import com.minres.rdl.validation.RDLValidator; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.generator.IGenerator2; +import org.eclipse.xtext.naming.IQualifiedNameProvider; +import org.eclipse.xtext.naming.SimpleNameProvider; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.resource.IContainer; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider; +import org.eclipse.xtext.resource.containers.StateBasedContainerManager; +import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; +import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions; +import org.eclipse.xtext.scoping.IGlobalScopeProvider; +import org.eclipse.xtext.scoping.IScopeProvider; +import org.eclipse.xtext.scoping.IgnoreCaseLinking; +import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; +import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; +import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; +import org.eclipse.xtext.serializer.ISerializer; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.service.DefaultRuntimeModule; +import org.eclipse.xtext.service.SingletonBinding; + +/** + * Manual modifications go to {@link RDLRuntimeModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractRDLRuntimeModule extends DefaultRuntimeModule { + + protected Properties properties = null; + + @Override + public void configure(Binder binder) { + properties = tryBindProperties(binder, "com/minres/rdl/RDL.properties"); + super.configure(binder); + } + + public void configureLanguageName(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("com.minres.rdl.RDL"); + } + + public void configureFileExtensions(Binder binder) { + if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) + binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("rdl"); + } + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return RDLGrammarAccess.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return RDLSemanticSequencer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return RDLSyntacticSequencer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return RDLParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return RDLAntlrTokenFileProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalRDLLexer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalRDLLexer() { + return LexerProvider.create(InternalRDLLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalRDLLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 + @SingletonBinding(eager=true) + public Class bindRDLValidator() { + return RDLValidator.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIContainer$Manager() { + return StateBasedContainerManager.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIAllContainersState$Provider() { + return ResourceSetBasedAllContainersStateProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptions(Binder binder) { + binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptionsPersisted(Binder binder) { + binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public Class bindIGenerator2() { + return RDLGenerator.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public Class bindIScopeProvider() { + return RDLScopeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public void configureIScopeProviderDelegate(Binder binder) { + binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public Class bindIGlobalScopeProvider() { + return DefaultGlobalScopeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public void configureIgnoreCaseLinking(Binder binder) { + binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.SimpleNamesFragment2 + public Class bindIQualifiedNameProvider() { + return SimpleNameProvider.class; + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDL.xtextbin b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDL.xtextbin new file mode 100644 index 0000000..e8e370a Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDL.xtextbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDLStandaloneSetupGenerated.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDLStandaloneSetupGenerated.java new file mode 100644 index 0000000..a0e99ec --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDLStandaloneSetupGenerated.java @@ -0,0 +1,56 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.minres.rdl.rdl.RdlPackage; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl; +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; +import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.XtextPackage; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; +import org.eclipse.xtext.resource.impl.BinaryGrammarResourceFactoryImpl; + +@SuppressWarnings("all") +public class RDLStandaloneSetupGenerated implements ISetup { + + @Override + public Injector createInjectorAndDoEMFRegistration() { + // register default ePackages + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("ecore")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "ecore", new EcoreResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xmi")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xmi", new XMIResourceFactoryImpl()); + if (!Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().containsKey("xtextbin")) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put( + "xtextbin", new BinaryGrammarResourceFactoryImpl()); + if (!EPackage.Registry.INSTANCE.containsKey(XtextPackage.eNS_URI)) + EPackage.Registry.INSTANCE.put(XtextPackage.eNS_URI, XtextPackage.eINSTANCE); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + public Injector createInjector() { + return Guice.createInjector(new RDLRuntimeModule()); + } + + public void register(Injector injector) { + if (!EPackage.Registry.INSTANCE.containsKey("http://www.minres.com/rdl/RDL")) { + EPackage.Registry.INSTANCE.put("http://www.minres.com/rdl/RDL", RdlPackage.eINSTANCE); + } + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); + + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("rdl", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("rdl", serviceProvider); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/RDLAntlrTokenFileProvider.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/RDLAntlrTokenFileProvider.java new file mode 100644 index 0000000..8381355 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/RDLAntlrTokenFileProvider.java @@ -0,0 +1,16 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class RDLAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + @Override + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("com/minres/rdl/parser/antlr/internal/InternalRDL.tokens"); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/RDLParser.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/RDLParser.java new file mode 100644 index 0000000..cd6ee1a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/RDLParser.java @@ -0,0 +1,40 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.parser.antlr; + +import com.google.inject.Inject; +import com.minres.rdl.parser.antlr.internal.InternalRDLParser; +import com.minres.rdl.services.RDLGrammarAccess; +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; + +public class RDLParser extends AbstractAntlrParser { + + @Inject + private RDLGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); + } + + + @Override + protected InternalRDLParser createParser(XtextTokenStream stream) { + return new InternalRDLParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "Root"; + } + + public RDLGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(RDLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} 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 new file mode 100644 index 0000000..cfa6149 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.g @@ -0,0 +1,3585 @@ +/* + * generated by Xtext 2.12.0 + */ +grammar InternalRDL; + +options { + superClass=AbstractInternalAntlrParser; +} + +@lexer::header { +package com.minres.rdl.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +package com.minres.rdl.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.common.util.Enumerator; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import com.minres.rdl.services.RDLGrammarAccess; + +} + +@parser::members { + + private RDLGrammarAccess grammarAccess; + + public InternalRDLParser(TokenStream input, RDLGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "Root"; + } + + @Override + protected RDLGrammarAccess getGrammarAccess() { + return grammarAccess; + } + +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + +// Entry rule entryRuleRoot +entryRuleRoot returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRootRule()); } + iv_ruleRoot=ruleRoot + { $current=$iv_ruleRoot.current; } + EOF; + +// Rule Root +ruleRoot returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); + } + lv_includes_0_0=ruleInclude + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "includes", + lv_includes_0_0, + "com.minres.rdl.RDL.Include"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); + } + 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(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); + } + lv_enumDefinitions_2_0=ruleEnumDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "enumDefinitions", + lv_enumDefinitions_2_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); + } + lv_namedInstantiations_3_0=ruleNamedInstantiation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "namedInstantiations", + lv_namedInstantiations_3_0, + "com.minres.rdl.RDL.NamedInstantiation"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); + } + lv_propertyAssignments_4_0=rulePropertyAssignment + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "propertyAssignments", + lv_propertyAssignments_4_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); + } + lv_propertyDefinitions_5_0=rulePropertyDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "propertyDefinitions", + lv_propertyDefinitions_5_0, + "com.minres.rdl.RDL.PropertyDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* +; + +// Entry rule entryRuleInclude +entryRuleInclude returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIncludeRule()); } + iv_ruleInclude=ruleInclude + { $current=$iv_ruleInclude.current; } + EOF; + +// Rule Include +ruleInclude returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='`include' + { + newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + } + ( + ( + lv_importURI_1_0=RULE_STR + { + newLeafNode(lv_importURI_1_0, grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIncludeRule()); + } + setWithLastConsumed( + $current, + "importURI", + lv_importURI_1_0, + "com.minres.rdl.RDL.STR"); + } + ) + ) + ) +; + +// Entry rule entryRulePropertyDefinition +entryRulePropertyDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPropertyDefinitionRule()); } + iv_rulePropertyDefinition=rulePropertyDefinition + { $current=$iv_rulePropertyDefinition.current; } + EOF; + +// Rule PropertyDefinition +rulePropertyDefinition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='property' + { + newLeafNode(otherlv_0, grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyDefinitionRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + } + ) + ) + otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); + } + ( + ( + otherlv_3='type' + { + newLeafNode(otherlv_3, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + } + otherlv_4='=' + { + newLeafNode(otherlv_4, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); + } + lv_type_5_0=rulePropertyTypeName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "type", + lv_type_5_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); + } + ( + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0()); + } + lv_usage_7_0=rulePropertyUsage + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "usage", + lv_usage_7_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0()); + } + lv_default_8_0=rulePropertyDefault + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "default", + lv_default_8_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + } + ) + )? + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0()); + } + lv_default_9_0=rulePropertyDefault + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "default", + lv_default_9_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0()); + } + lv_usage_10_0=rulePropertyUsage + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "usage", + lv_usage_10_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); + } + lv_usage_11_0=rulePropertyUsage + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "usage", + lv_usage_11_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + otherlv_12='type' + { + newLeafNode(otherlv_12, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + } + otherlv_13='=' + { + newLeafNode(otherlv_13, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0()); + } + lv_type_14_0=rulePropertyTypeName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "type", + lv_type_14_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_15=';' + { + newLeafNode(otherlv_15, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0()); + } + lv_default_16_0=rulePropertyDefault + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "default", + lv_default_16_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + } + ) + )? + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0()); + } + lv_default_17_0=rulePropertyDefault + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "default", + lv_default_17_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_18='type' + { + newLeafNode(otherlv_18, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + } + otherlv_19='=' + { + newLeafNode(otherlv_19, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0()); + } + lv_type_20_0=rulePropertyTypeName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "type", + lv_type_20_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_21=';' + { + newLeafNode(otherlv_21, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + } + ) + ) + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); + } + lv_default_22_0=rulePropertyDefault + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "default", + lv_default_22_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + otherlv_23='type' + { + newLeafNode(otherlv_23, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + } + otherlv_24='=' + { + newLeafNode(otherlv_24, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0()); + } + lv_type_25_0=rulePropertyTypeName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "type", + lv_type_25_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_26=';' + { + newLeafNode(otherlv_26, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0()); + } + lv_usage_27_0=rulePropertyUsage + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "usage", + lv_usage_27_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0()); + } + lv_usage_28_0=rulePropertyUsage + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "usage", + lv_usage_28_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_29='type' + { + newLeafNode(otherlv_29, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + } + otherlv_30='=' + { + newLeafNode(otherlv_30, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0()); + } + lv_type_31_0=rulePropertyTypeName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + $current, + "type", + lv_type_31_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_32=';' + { + newLeafNode(otherlv_32, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + } + ) + ) + ) + ) + otherlv_33='}' + { + newLeafNode(otherlv_33, grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + } + otherlv_34=';' + { + newLeafNode(otherlv_34, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + } + ) +; + +// Entry rule entryRulePropertyDefault +entryRulePropertyDefault returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPropertyDefaultRule()); } + iv_rulePropertyDefault=rulePropertyDefault + { $current=$iv_rulePropertyDefault.current; } + EOF; + +// Rule PropertyDefault +rulePropertyDefault returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='default' + { + newLeafNode(otherlv_0, grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); + } + ( + ( + ( + lv_string_2_0=RULE_STR + { + newLeafNode(lv_string_2_0, grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed( + $current, + "string", + lv_string_2_0, + "com.minres.rdl.RDL.STR"); + } + ) + ) + | + ( + ( + lv_value_3_0=RULE_NUM + { + newLeafNode(lv_value_3_0, grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_3_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + | + ( + ( + lv_string_4_0='true' + { + newLeafNode(lv_string_4_0, grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed($current, "string", lv_string_4_0, "true"); + } + ) + ) + | + ( + ( + lv_string_5_0='false' + { + newLeafNode(lv_string_5_0, grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed($current, "string", lv_string_5_0, "false"); + } + ) + ) + ) + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + } + ) +; + +// Entry rule entryRulePropertyUsage +entryRulePropertyUsage returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPropertyUsageRule()); } + iv_rulePropertyUsage=rulePropertyUsage + { $current=$iv_rulePropertyUsage.current; } + EOF; + +// Rule PropertyUsage +rulePropertyUsage returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='component' + { + newLeafNode(otherlv_0, grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); + } + lv_components_2_0=rulePropertyComponent + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyUsageRule()); + } + add( + $current, + "components", + lv_components_2_0, + "com.minres.rdl.RDL.PropertyComponent"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3='|' + { + newLeafNode(otherlv_3, grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); + } + lv_components_4_0=rulePropertyComponent + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyUsageRule()); + } + add( + $current, + "components", + lv_components_4_0, + "com.minres.rdl.RDL.PropertyComponent"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_5=';' + { + newLeafNode(otherlv_5, grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + } + ) +; + +// Entry rule entryRuleComponentDefinition +entryRuleComponentDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getComponentDefinitionRule()); } + iv_ruleComponentDefinition=ruleComponentDefinition + { $current=$iv_ruleComponentDefinition.current; } + EOF; + +// Rule ComponentDefinition +ruleComponentDefinition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); + } + lv_type_0_0=ruleComponentDefinitionType + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + set( + $current, + "type", + lv_type_0_0, + "com.minres.rdl.RDL.ComponentDefinitionType"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComponentDefinitionRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + } + ) + )? + otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); + } + 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(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); + } + lv_namedInstantiations_4_0=ruleNamedInstantiation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + $current, + "namedInstantiations", + lv_namedInstantiations_4_0, + "com.minres.rdl.RDL.NamedInstantiation"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); + } + lv_propertyAssignments_5_0=rulePropertyAssignment + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + $current, + "propertyAssignments", + lv_propertyAssignments_5_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); + } + lv_enumDefinitions_6_0=ruleEnumDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + $current, + "enumDefinitions", + lv_enumDefinitions_6_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + 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()); + } + ) +; + +// Entry rule entryRuleNamedInstantiation +entryRuleNamedInstantiation returns [EObject current=null]: + { newCompositeNode(grammarAccess.getNamedInstantiationRule()); } + iv_ruleNamedInstantiation=ruleNamedInstantiation + { $current=$iv_ruleNamedInstantiation.current; } + EOF; + +// Rule NamedInstantiation +ruleNamedInstantiation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + 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()); + } + setWithLastConsumed( + $current, + "alias", + lv_alias_3_0, + "com.minres.rdl.RDL.ID"); + } + ) + ) + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNamedInstantiationRule()); + } + } + otherlv_4=RULE_ID + { + newLeafNode(otherlv_4, grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_0()); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_4_0()); + } + lv_componentInstances_5_0=ruleComponentInstance + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNamedInstantiationRule()); + } + add( + $current, + "componentInstances", + lv_componentInstances_5_0, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_6=',' + { + newLeafNode(otherlv_6, grammarAccess.getNamedInstantiationAccess().getCommaKeyword_5_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0()); + } + lv_componentInstances_7_0=ruleComponentInstance + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNamedInstantiationRule()); + } + 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, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) +; + +// Entry rule entryRuleComponentInstance +entryRuleComponentInstance returns [EObject current=null]: + { newCompositeNode(grammarAccess.getComponentInstanceRule()); } + iv_ruleComponentInstance=ruleComponentInstance + { $current=$iv_ruleComponentInstance.current; } + EOF; + +// Rule ComponentInstance +ruleComponentInstance returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_name_0_0=RULE_ID + { + newLeafNode(lv_name_0_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_0_0, + "com.minres.rdl.RDL.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); + } + lv_range_1_0=ruleRange + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); + } + set( + $current, + "range", + lv_range_1_0, + "com.minres.rdl.RDL.Range"); + afterParserOrEnumRuleCall(); + } + ) + )? + ( + otherlv_2='=' + { + newLeafNode(otherlv_2, grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); + } + ( + ( + lv_reset_3_0=RULE_NUM + { + newLeafNode(lv_reset_3_0, grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + $current, + "reset", + lv_reset_3_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + )? + ( + otherlv_4='@' + { + newLeafNode(otherlv_4, grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); + } + ( + ( + lv_address_5_0=RULE_NUM + { + 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_6='+=' + { + newLeafNode(otherlv_6, grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); + } + ( + ( + lv_addrInc_7_0=RULE_NUM + { + 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"); + } + ) + ) + )? + ( + otherlv_8='%=' + { + newLeafNode(otherlv_8, grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); + } + ( + ( + lv_addrMod_9_0=RULE_NUM + { + 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"); + } + ) + ) + )? + ) +; + +// Entry rule entryRuleRange +entryRuleRange returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRangeRule()); } + iv_ruleRange=ruleRange + { $current=$iv_ruleRange.current; } + EOF; + +// Rule Range +ruleRange returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='[' + { + newLeafNode(otherlv_0, grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); + } + ( + ( + ( + ( + lv_start_1_0=RULE_NUM + { + newLeafNode(lv_start_1_0, grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + $current, + "start", + lv_start_1_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + otherlv_2=':' + { + newLeafNode(otherlv_2, grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + } + ( + ( + lv_end_3_0=RULE_NUM + { + newLeafNode(lv_end_3_0, grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + $current, + "end", + lv_end_3_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + ) + | + ( + ( + lv_size_4_0=RULE_NUM + { + newLeafNode(lv_size_4_0, grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + $current, + "size", + lv_size_4_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + ) + otherlv_5=']' + { + newLeafNode(otherlv_5, grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + } + ) +; + +// Entry rule entryRulePropertyAssignment +entryRulePropertyAssignment returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPropertyAssignmentRule()); } + iv_rulePropertyAssignment=rulePropertyAssignment + { $current=$iv_rulePropertyAssignment.current; } + EOF; + +// Rule PropertyAssignment +rulePropertyAssignment returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + } + this_DefaultProperyAssignment_0=ruleDefaultProperyAssignment + { + $current = $this_DefaultProperyAssignment_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + } + this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment + { + $current = $this_ExplicitPropertyAssignment_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); + } + this_PostPropertyAssignment_2=rulePostPropertyAssignment + { + $current = $this_PostPropertyAssignment_2.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleDefaultProperyAssignment +entryRuleDefaultProperyAssignment returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDefaultProperyAssignmentRule()); } + iv_ruleDefaultProperyAssignment=ruleDefaultProperyAssignment + { $current=$iv_ruleDefaultProperyAssignment.current; } + EOF; + +// Rule DefaultProperyAssignment +ruleDefaultProperyAssignment returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='default' + { + newLeafNode(otherlv_0, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + } + { + newCompositeNode(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + } + this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment + { + $current = $this_ExplicitPropertyAssignment_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleExplicitPropertyAssignment +entryRuleExplicitPropertyAssignment returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExplicitPropertyAssignmentRule()); } + iv_ruleExplicitPropertyAssignment=ruleExplicitPropertyAssignment + { $current=$iv_ruleExplicitPropertyAssignment.current; } + EOF; + +// Rule ExplicitPropertyAssignment +ruleExplicitPropertyAssignment returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); + } + lv_modifier_0_0=rulePropertyModifier + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + $current, + "modifier", + lv_modifier_0_0, + "com.minres.rdl.RDL.PropertyModifier"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); + } + lv_name_1_0=ruleProperty + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + $current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2=';' + { + newLeafNode(otherlv_2, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + } + lv_name_3_0=ruleProperty + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + $current, + "name", + lv_name_3_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_4='=' + { + newLeafNode(otherlv_4, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + } + lv_rhs_5_0=rulePropertyAssignmentRhs + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + $current, + "rhs", + lv_rhs_5_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2()); + } + ) + ) +; + +// Entry rule entryRulePostPropertyAssignment +entryRulePostPropertyAssignment returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPostPropertyAssignmentRule()); } + iv_rulePostPropertyAssignment=rulePostPropertyAssignment + { $current=$iv_rulePostPropertyAssignment.current; } + EOF; + +// Rule PostPropertyAssignment +rulePostPropertyAssignment returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + ( + { + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); + } + lv_instance_0_0=ruleHierInstanceRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + $current, + "instance", + lv_instance_0_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1='->' + { + newLeafNode(otherlv_1, grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); + } + lv_propertyEnum_2_0=ruleProperty + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + $current, + "propertyEnum", + lv_propertyEnum_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPostPropertyAssignmentRule()); + } + } + otherlv_3=RULE_ID + { + newLeafNode(otherlv_3, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); + } + ) + ) + ) + ) + | + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPostPropertyAssignmentRule()); + } + } + otherlv_4=RULE_ID + { + newLeafNode(otherlv_4, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); + } + ) + ) + ) + ( + otherlv_5='=' + { + newLeafNode(otherlv_5, grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); + } + lv_rhs_6_0=rulePropertyAssignmentRhs + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + $current, + "rhs", + lv_rhs_6_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + otherlv_7=';' + { + newLeafNode(otherlv_7, grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2()); + } + ) +; + +// Entry rule entryRuleInstancePropertyRef +entryRuleInstancePropertyRef returns [EObject current=null]: + { newCompositeNode(grammarAccess.getInstancePropertyRefRule()); } + iv_ruleInstancePropertyRef=ruleInstancePropertyRef + { $current=$iv_ruleInstancePropertyRef.current; } + EOF; + +// Rule InstancePropertyRef +ruleInstancePropertyRef returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); + } + lv_instance_0_0=ruleInstanceRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule()); + } + set( + $current, + "instance", + lv_instance_0_0, + "com.minres.rdl.RDL.InstanceRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_1='->' + { + newLeafNode(otherlv_1, grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); + } + lv_propertyEnum_2_0=ruleProperty + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule()); + } + set( + $current, + "propertyEnum", + lv_propertyEnum_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getInstancePropertyRefRule()); + } + } + otherlv_3=RULE_ID + { + newLeafNode(otherlv_3, grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); + } + ) + ) + ) + )? + ) +; + +// Entry rule entryRuleInstanceRef +entryRuleInstanceRef returns [EObject current=null]: + { newCompositeNode(grammarAccess.getInstanceRefRule()); } + iv_ruleInstanceRef=ruleInstanceRef + { $current=$iv_ruleInstanceRef.current; } + EOF; + +// Rule InstanceRef +ruleInstanceRef returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getInstanceRefRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); + } + ) + ) + ( + otherlv_1='.' + { + newLeafNode(otherlv_1, grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + } + lv_tail_2_0=ruleHierInstanceRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstanceRefRule()); + } + set( + $current, + "tail", + lv_tail_2_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) +; + +// Entry rule entryRuleHierInstanceRef +entryRuleHierInstanceRef returns [EObject current=null]: + { newCompositeNode(grammarAccess.getHierInstanceRefRule()); } + iv_ruleHierInstanceRef=ruleHierInstanceRef + { $current=$iv_ruleHierInstanceRef.current; } + EOF; + +// Rule HierInstanceRef +ruleHierInstanceRef returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getHierInstanceRefRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); + } + ) + ) + ( + otherlv_1='.' + { + newLeafNode(otherlv_1, grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + } + lv_tail_2_0=ruleHierInstanceRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getHierInstanceRefRule()); + } + set( + $current, + "tail", + lv_tail_2_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) +; + +// Entry rule entryRulePropertyAssignmentRhs +entryRulePropertyAssignmentRhs returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPropertyAssignmentRhsRule()); } + iv_rulePropertyAssignmentRhs=rulePropertyAssignmentRhs + { $current=$iv_rulePropertyAssignmentRhs.current; } + EOF; + +// Rule PropertyAssignmentRhs +rulePropertyAssignmentRhs returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); + } + lv_value_0_0=rulePropertyRvalueConstant + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + $current, + "value", + lv_value_0_0, + "com.minres.rdl.RDL.PropertyRvalueConstant"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); + } + lv_instPropRef_1_0=ruleInstancePropertyRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + $current, + "instPropRef", + lv_instPropRef_1_0, + "com.minres.rdl.RDL.InstancePropertyRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyAssignmentRhsRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); + } + ) + ) + otherlv_3='enum' + { + newLeafNode(otherlv_3, grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); + } + lv_enums_4_0=ruleEnumBody + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + $current, + "enums", + lv_enums_4_0, + "com.minres.rdl.RDL.EnumBody"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); + } + lv_elements_5_0=ruleConcat + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + $current, + "elements", + lv_elements_5_0, + "com.minres.rdl.RDL.Concat"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleConcat +entryRuleConcat returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConcatRule()); } + iv_ruleConcat=ruleConcat + { $current=$iv_ruleConcat.current; } + EOF; + +// Rule Concat +ruleConcat returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); + } + lv_elements_1_0=ruleConcatElem + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConcatRule()); + } + add( + $current, + "elements", + lv_elements_1_0, + "com.minres.rdl.RDL.ConcatElem"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getConcatAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); + } + lv_elements_3_0=ruleConcatElem + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConcatRule()); + } + add( + $current, + "elements", + lv_elements_3_0, + "com.minres.rdl.RDL.ConcatElem"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleConcatElem +entryRuleConcatElem returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConcatElemRule()); } + iv_ruleConcatElem=ruleConcatElem + { $current=$iv_ruleConcatElem.current; } + EOF; + +// Rule ConcatElem +ruleConcatElem returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); + } + lv_instPropRef_0_0=ruleInstancePropertyRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConcatElemRule()); + } + set( + $current, + "instPropRef", + lv_instPropRef_0_0, + "com.minres.rdl.RDL.InstancePropertyRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + lv_value_1_0=RULE_NUM + { + newLeafNode(lv_value_1_0, grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConcatElemRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_1_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + ) +; + +// Entry rule entryRulePropertyRvalueConstant +entryRulePropertyRvalueConstant returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPropertyRvalueConstantRule()); } + iv_rulePropertyRvalueConstant=rulePropertyRvalueConstant + { $current=$iv_rulePropertyRvalueConstant.current; } + EOF; + +// Rule PropertyRvalueConstant +rulePropertyRvalueConstant returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); + } + lv_val_0_0=ruleRValueConstant + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPropertyRvalueConstantRule()); + } + set( + $current, + "val", + lv_val_0_0, + "com.minres.rdl.RDL.RValueConstant"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + lv_num_1_0=RULE_NUM + { + newLeafNode(lv_num_1_0, grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyRvalueConstantRule()); + } + setWithLastConsumed( + $current, + "num", + lv_num_1_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + | + ( + ( + lv_str_2_0=RULE_STR + { + newLeafNode(lv_str_2_0, grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPropertyRvalueConstantRule()); + } + setWithLastConsumed( + $current, + "str", + lv_str_2_0, + "com.minres.rdl.RDL.STR"); + } + ) + ) + ) +; + +// Entry rule entryRuleEnumDefinition +entryRuleEnumDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumDefinitionRule()); } + iv_ruleEnumDefinition=ruleEnumDefinition + { $current=$iv_ruleEnumDefinition.current; } + EOF; + +// Rule EnumDefinition +ruleEnumDefinition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='enum' + { + newLeafNode(otherlv_0, grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumDefinitionRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); + } + lv_body_2_0=ruleEnumBody + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumDefinitionRule()); + } + set( + $current, + "body", + lv_body_2_0, + "com.minres.rdl.RDL.EnumBody"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_3=';' + { + newLeafNode(otherlv_3, grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3()); + } + ) +; + +// Entry rule entryRuleEnumBody +entryRuleEnumBody returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumBodyRule()); } + iv_ruleEnumBody=ruleEnumBody + { $current=$iv_ruleEnumBody.current; } + EOF; + +// Rule EnumBody +ruleEnumBody returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + } + ( + { + $current = forceCreateModelElement( + grammarAccess.getEnumBodyAccess().getEnumBodyAction_1(), + $current); + } + ) + ( + ( + { + newCompositeNode(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); + } + lv_entries_2_0=ruleEnumEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumBodyRule()); + } + add( + $current, + "entries", + lv_entries_2_0, + "com.minres.rdl.RDL.EnumEntry"); + afterParserOrEnumRuleCall(); + } + ) + )* + otherlv_3='}' + { + newLeafNode(otherlv_3, grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleEnumEntry +entryRuleEnumEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumEntryRule()); } + iv_ruleEnumEntry=ruleEnumEntry + { $current=$iv_ruleEnumEntry.current; } + EOF; + +// Rule EnumEntry +ruleEnumEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_name_0_0=RULE_ID + { + newLeafNode(lv_name_0_0, grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumEntryRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_0_0, + "com.minres.rdl.RDL.ID"); + } + ) + ) + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_index_2_0=RULE_NUM + { + newLeafNode(lv_index_2_0, grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumEntryRule()); + } + setWithLastConsumed( + $current, + "index", + lv_index_2_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + ( + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); + } + lv_properties_4_0=ruleEnumProperty + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumEntryRule()); + } + add( + $current, + "properties", + lv_properties_4_0, + "com.minres.rdl.RDL.EnumProperty"); + afterParserOrEnumRuleCall(); + } + ) + )* + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + } + )? + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + } + ) +; + +// Entry rule entryRuleEnumProperty +entryRuleEnumProperty returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumPropertyRule()); } + iv_ruleEnumProperty=ruleEnumProperty + { $current=$iv_ruleEnumProperty.current; } + EOF; + +// Rule EnumProperty +ruleEnumProperty returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + ( + lv_name_0_0='name' + { + newLeafNode(lv_name_0_0, grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed($current, "name", lv_name_0_0, "name"); + } + ) + ) + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); + } + ( + ( + lv_value_2_0=RULE_STR + { + newLeafNode(lv_value_2_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_2_0, + "com.minres.rdl.RDL.STR"); + } + ) + ) + ) + | + ( + ( + ( + lv_name_3_0='desc' + { + newLeafNode(lv_name_3_0, grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed($current, "name", lv_name_3_0, "desc"); + } + ) + ) + otherlv_4='=' + { + newLeafNode(otherlv_4, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); + } + ( + ( + lv_value_5_0=RULE_STR + { + newLeafNode(lv_value_5_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_5_0, + "com.minres.rdl.RDL.STR"); + } + ) + ) + ) + ) + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + } + ) +; + +// Rule PropertyTypeName +rulePropertyTypeName returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='string' + { + $current = grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='number' + { + $current = grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='boolean' + { + $current = grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3='addrmap' + { + $current = grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + } + ) + | + ( + enumLiteral_4='reg' + { + $current = grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + } + ) + | + ( + enumLiteral_5='regfile' + { + $current = grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + } + ) + | + ( + enumLiteral_6='field' + { + $current = grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + } + ) + | + ( + enumLiteral_7='ref' + { + $current = grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); + } + ) + ) +; + +// Rule PropertyComponent +rulePropertyComponent returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='signal' + { + $current = grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='addrmap' + { + $current = grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='reg' + { + $current = grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3='regfile' + { + $current = grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + } + ) + | + ( + enumLiteral_4='field' + { + $current = grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + } + ) + | + ( + enumLiteral_5='all' + { + $current = grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); + } + ) + ) +; + +// Rule ComponentDefinitionType +ruleComponentDefinitionType returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='signal' + { + $current = grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='addrmap' + { + $current = grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='regfile' + { + $current = grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3='reg' + { + $current = grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + } + ) + | + ( + enumLiteral_4='field' + { + $current = grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); + } + ) + ) +; + +// Rule Property +ruleProperty returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='name' + { + $current = grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='desc' + { + $current = grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='arbiter' + { + $current = grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3='rset' + { + $current = grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + } + ) + | + ( + enumLiteral_4='rclr' + { + $current = grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + } + ) + | + ( + enumLiteral_5='woclr' + { + $current = grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + } + ) + | + ( + enumLiteral_6='woset' + { + $current = grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + } + ) + | + ( + enumLiteral_7='we' + { + $current = grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + } + ) + | + ( + enumLiteral_8='wel' + { + $current = grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_8, grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + } + ) + | + ( + enumLiteral_9='swwe' + { + $current = grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_9, grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + } + ) + | + ( + enumLiteral_10='swwel' + { + $current = grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_10, grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + } + ) + | + ( + enumLiteral_11='hwset' + { + $current = grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_11, grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + } + ) + | + ( + enumLiteral_12='hwclr' + { + $current = grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_12, grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + } + ) + | + ( + enumLiteral_13='swmod' + { + $current = grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_13, grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + } + ) + | + ( + enumLiteral_14='swacc' + { + $current = grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_14, grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + } + ) + | + ( + enumLiteral_15='sticky' + { + $current = grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_15, grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + } + ) + | + ( + enumLiteral_16='stickybit' + { + $current = grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_16, grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + } + ) + | + ( + enumLiteral_17='intr' + { + $current = grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_17, grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + } + ) + | + ( + enumLiteral_18='anded' + { + $current = grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_18, grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + } + ) + | + ( + enumLiteral_19='ored' + { + $current = grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_19, grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + } + ) + | + ( + enumLiteral_20='xored' + { + $current = grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_20, grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + } + ) + | + ( + enumLiteral_21='counter' + { + $current = grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_21, grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + } + ) + | + ( + enumLiteral_22='overflow' + { + $current = grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_22, grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + } + ) + | + ( + enumLiteral_23='sharedextbus' + { + $current = grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_23, grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + } + ) + | + ( + enumLiteral_24='errextbus' + { + $current = grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_24, grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + } + ) + | + ( + enumLiteral_25='reset' + { + $current = grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_25, grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + } + ) + | + ( + enumLiteral_26='littleendian' + { + $current = grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_26, grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + } + ) + | + ( + enumLiteral_27='bigendian' + { + $current = grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_27, grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + } + ) + | + ( + enumLiteral_28='rsvdset' + { + $current = grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_28, grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + } + ) + | + ( + enumLiteral_29='rsvdsetX' + { + $current = grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_29, grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + } + ) + | + ( + enumLiteral_30='bridge' + { + $current = grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_30, grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + } + ) + | + ( + enumLiteral_31='shared' + { + $current = grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_31, grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + } + ) + | + ( + enumLiteral_32='msb0' + { + $current = grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_32, grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + } + ) + | + ( + enumLiteral_33='lsb0' + { + $current = grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_33, grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + } + ) + | + ( + enumLiteral_34='sync' + { + $current = grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_34, grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + } + ) + | + ( + enumLiteral_35='async' + { + $current = grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_35, grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + } + ) + | + ( + enumLiteral_36='cpuif_reset' + { + $current = grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_36, grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + } + ) + | + ( + enumLiteral_37='field_reset' + { + $current = grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_37, grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + } + ) + | + ( + enumLiteral_38='activehigh' + { + $current = grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_38, grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + } + ) + | + ( + enumLiteral_39='activelow' + { + $current = grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_39, grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + } + ) + | + ( + enumLiteral_40='singlepulse' + { + $current = grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_40, grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + } + ) + | + ( + enumLiteral_41='underflow' + { + $current = grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_41, grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + } + ) + | + ( + enumLiteral_42='incr' + { + $current = grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_42, grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + } + ) + | + ( + enumLiteral_43='decr' + { + $current = grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_43, grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + } + ) + | + ( + enumLiteral_44='incrwidth' + { + $current = grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_44, grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + } + ) + | + ( + enumLiteral_45='decrwidth' + { + $current = grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_45, grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + } + ) + | + ( + enumLiteral_46='incrvalue' + { + $current = grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_46, grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + } + ) + | + ( + enumLiteral_47='decrvalue' + { + $current = grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_47, grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + } + ) + | + ( + enumLiteral_48='saturate' + { + $current = grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_48, grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + } + ) + | + ( + enumLiteral_49='decrsaturate' + { + $current = grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_49, grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + } + ) + | + ( + enumLiteral_50='threshold' + { + $current = grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_50, grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + } + ) + | + ( + enumLiteral_51='decrthreshold' + { + $current = grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_51, grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + } + ) + | + ( + enumLiteral_52='dontcompare' + { + $current = grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_52, grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + } + ) + | + ( + enumLiteral_53='donttest' + { + $current = grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_53, grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + } + ) + | + ( + enumLiteral_54='internal' + { + $current = grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_54, grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + } + ) + | + ( + enumLiteral_55='alignment' + { + $current = grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_55, grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + } + ) + | + ( + enumLiteral_56='regwidth' + { + $current = grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_56, grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + } + ) + | + ( + enumLiteral_57='fieldwidth' + { + $current = grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_57, grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + } + ) + | + ( + enumLiteral_58='signalwidth' + { + $current = grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_58, grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + } + ) + | + ( + enumLiteral_59='accesswidth' + { + $current = grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_59, grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + } + ) + | + ( + enumLiteral_60='sw' + { + $current = grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_60, grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + } + ) + | + ( + enumLiteral_61='hw' + { + $current = grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_61, grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + } + ) + | + ( + enumLiteral_62='addressing' + { + $current = grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_62, grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + } + ) + | + ( + enumLiteral_63='precedence' + { + $current = grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_63, grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + } + ) + | + ( + enumLiteral_64='encode' + { + $current = grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_64, grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + } + ) + | + ( + enumLiteral_65='resetsignal' + { + $current = grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_65, grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + } + ) + | + ( + enumLiteral_66='clock' + { + $current = grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_66, grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + } + ) + | + ( + enumLiteral_67='mask' + { + $current = grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_67, grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + } + ) + | + ( + enumLiteral_68='enable' + { + $current = grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_68, grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + } + ) + | + ( + enumLiteral_69='hwenable' + { + $current = grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_69, grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + } + ) + | + ( + enumLiteral_70='hwmask' + { + $current = grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_70, grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + } + ) + | + ( + enumLiteral_71='haltmask' + { + $current = grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_71, grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + } + ) + | + ( + enumLiteral_72='haltenable' + { + $current = grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_72, grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + } + ) + | + ( + enumLiteral_73='halt' + { + $current = grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_73, grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + } + ) + | + ( + enumLiteral_74='next' + { + $current = grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_74, grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); + } + ) + ) +; + +// Rule RValueConstant +ruleRValueConstant returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='UNDEFINED' + { + $current = grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='true' + { + $current = grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='false' + { + $current = grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3='rw' + { + $current = grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + } + ) + | + ( + enumLiteral_4='wr' + { + $current = grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + } + ) + | + ( + enumLiteral_5='r' + { + $current = grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + } + ) + | + ( + enumLiteral_6='w' + { + $current = grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + } + ) + | + ( + enumLiteral_7='na' + { + $current = grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + } + ) + | + ( + enumLiteral_8='compact' + { + $current = grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_8, grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + } + ) + | + ( + enumLiteral_9='regalign' + { + $current = grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_9, grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + } + ) + | + ( + enumLiteral_10='fullalign' + { + $current = grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_10, grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + } + ) + | + ( + enumLiteral_11='hw' + { + $current = grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_11, grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + } + ) + | + ( + enumLiteral_12='sw' + { + $current = grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_12, grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); + } + ) + ) +; + +// Rule PropertyModifier +rulePropertyModifier returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='UNDEFINED' + { + $current = grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='posedge' + { + $current = grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='negedge' + { + $current = grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3='bothedge' + { + $current = grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + } + ) + | + ( + enumLiteral_4='level' + { + $current = grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + } + ) + | + ( + enumLiteral_5='nonsticky' + { + $current = grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); + } + ) + ) +; + +RULE_ID : '\\'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ML_COMMENT : ('/*' ( options {greedy=false;} : . )*'*/'|'<%' ( options {greedy=false;} : . )*'%>'|'(' ( options {greedy=false;} : . )*')'); + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_NUM : (('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')+); + +RULE_STR : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'; 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 new file mode 100644 index 0000000..585e1dd --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.tokens @@ -0,0 +1,252 @@ +'%='=28 +'+='=27 +','=25 +'->'=32 +'.'=33 +':'=30 +';'=15 +'='=14 +'@'=26 +'UNDEFINED'=119 +'['=29 +']'=31 +'`include'=10 +'accesswidth'=103 +'activehigh'=83 +'activelow'=84 +'addressing'=106 +'addrmap'=40 +'alias'=24 +'alignment'=99 +'all'=46 +'anded'=63 +'arbiter'=47 +'async'=80 +'bigendian'=72 +'boolean'=39 +'bothedge'=130 +'bridge'=75 +'clock'=110 +'compact'=125 +'component'=20 +'counter'=66 +'cpuif_reset'=81 +'decr'=88 +'decrsaturate'=94 +'decrthreshold'=96 +'decrvalue'=92 +'decrwidth'=90 +'default'=17 +'desc'=36 +'dontcompare'=97 +'donttest'=98 +'enable'=112 +'encode'=108 +'enum'=34 +'errextbus'=69 +'external'=22 +'false'=19 +'field'=43 +'field_reset'=82 +'fieldwidth'=101 +'fullalign'=127 +'halt'=117 +'haltenable'=116 +'haltmask'=115 +'hw'=105 +'hwclr'=57 +'hwenable'=113 +'hwmask'=114 +'hwset'=56 +'incr'=87 +'incrvalue'=91 +'incrwidth'=89 +'internal'=23 +'intr'=62 +'level'=131 +'littleendian'=71 +'lsb0'=78 +'mask'=111 +'msb0'=77 +'na'=124 +'name'=35 +'negedge'=129 +'next'=118 +'nonsticky'=132 +'number'=38 +'ored'=64 +'overflow'=67 +'posedge'=128 +'precedence'=107 +'property'=11 +'r'=122 +'rclr'=49 +'ref'=44 +'reg'=41 +'regalign'=126 +'regfile'=42 +'regwidth'=100 +'reset'=70 +'resetsignal'=109 +'rset'=48 +'rsvdset'=73 +'rsvdsetX'=74 +'rw'=120 +'saturate'=93 +'shared'=76 +'sharedextbus'=68 +'signal'=45 +'signalwidth'=102 +'singlepulse'=85 +'sticky'=60 +'stickybit'=61 +'string'=37 +'sw'=104 +'swacc'=59 +'swmod'=58 +'swwe'=54 +'swwel'=55 +'sync'=79 +'threshold'=95 +'true'=18 +'type'=13 +'underflow'=86 +'w'=123 +'we'=52 +'wel'=53 +'woclr'=50 +'woset'=51 +'wr'=121 +'xored'=65 +'{'=12 +'|'=21 +'}'=16 +RULE_ID=5 +RULE_ML_COMMENT=8 +RULE_NUM=6 +RULE_SL_COMMENT=9 +RULE_STR=4 +RULE_WS=7 +T__100=100 +T__101=101 +T__102=102 +T__103=103 +T__104=104 +T__105=105 +T__106=106 +T__107=107 +T__108=108 +T__109=109 +T__10=10 +T__110=110 +T__111=111 +T__112=112 +T__113=113 +T__114=114 +T__115=115 +T__116=116 +T__117=117 +T__118=118 +T__119=119 +T__11=11 +T__120=120 +T__121=121 +T__122=122 +T__123=123 +T__124=124 +T__125=125 +T__126=126 +T__127=127 +T__128=128 +T__129=129 +T__12=12 +T__130=130 +T__131=131 +T__132=132 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 +T__64=64 +T__65=65 +T__66=66 +T__67=67 +T__68=68 +T__69=69 +T__70=70 +T__71=71 +T__72=72 +T__73=73 +T__74=74 +T__75=75 +T__76=76 +T__77=77 +T__78=78 +T__79=79 +T__80=80 +T__81=81 +T__82=82 +T__83=83 +T__84=84 +T__85=85 +T__86=86 +T__87=87 +T__88=88 +T__89=89 +T__90=90 +T__91=91 +T__92=92 +T__93=93 +T__94=94 +T__95=95 +T__96=96 +T__97=97 +T__98=98 +T__99=99 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 new file mode 100644 index 0000000..74a2fa2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLLexer.java @@ -0,0 +1,5284 @@ +package com.minres.rdl.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalRDLLexer extends Lexer { + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__132=132; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=5; + public static final int T__131=131; + public static final int T__130=130; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=8; + public static final int T__67=67; + public static final int T__129=129; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__126=126; + public static final int T__63=63; + public static final int T__125=125; + public static final int T__64=64; + public static final int T__128=128; + public static final int T__65=65; + public static final int T__127=127; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int RULE_STR=4; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__100=100; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__102=102; + public static final int T__94=94; + public static final int T__101=101; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__99=99; + public static final int RULE_NUM=6; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int T__97=97; + public static final int T__10=10; + public static final int T__98=98; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__122=122; + public static final int T__70=70; + public static final int T__121=121; + public static final int T__71=71; + public static final int T__124=124; + public static final int T__72=72; + public static final int T__123=123; + public static final int T__120=120; + public static final int RULE_SL_COMMENT=9; + public static final int T__77=77; + public static final int T__119=119; + public static final int T__78=78; + public static final int T__118=118; + public static final int T__79=79; + public static final int T__73=73; + public static final int T__115=115; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__114=114; + public static final int T__75=75; + public static final int T__117=117; + public static final int T__76=76; + public static final int T__116=116; + public static final int T__80=80; + public static final int T__111=111; + public static final int T__81=81; + public static final int T__110=110; + public static final int T__82=82; + public static final int T__113=113; + public static final int T__83=83; + public static final int T__112=112; + public static final int RULE_WS=7; + public static final int T__88=88; + public static final int T__108=108; + public static final int T__89=89; + public static final int T__107=107; + public static final int T__109=109; + public static final int T__84=84; + public static final int T__104=104; + public static final int T__85=85; + public static final int T__103=103; + public static final int T__86=86; + public static final int T__106=106; + public static final int T__87=87; + public static final int T__105=105; + + // delegates + // delegators + + public InternalRDLLexer() {;} + public InternalRDLLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalRDLLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalRDL.g"; } + + // $ANTLR start "T__10" + public final void mT__10() throws RecognitionException { + try { + int _type = T__10; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:11:7: ( '`include' ) + // InternalRDL.g:11:9: '`include' + { + match("`include"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__10" + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:12:7: ( 'property' ) + // InternalRDL.g:12:9: 'property' + { + match("property"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:13:7: ( '{' ) + // InternalRDL.g:13:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:14:7: ( 'type' ) + // InternalRDL.g:14:9: 'type' + { + match("type"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:15:7: ( '=' ) + // InternalRDL.g:15:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:16:7: ( ';' ) + // InternalRDL.g:16:9: ';' + { + match(';'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:17:7: ( '}' ) + // InternalRDL.g:17:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:18:7: ( 'default' ) + // InternalRDL.g:18:9: 'default' + { + match("default"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:19:7: ( 'true' ) + // InternalRDL.g:19:9: 'true' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:20:7: ( 'false' ) + // InternalRDL.g:20:9: 'false' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:21:7: ( 'component' ) + // InternalRDL.g:21:9: 'component' + { + match("component"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:22:7: ( '|' ) + // InternalRDL.g:22:9: '|' + { + match('|'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:23:7: ( 'external' ) + // InternalRDL.g:23:9: 'external' + { + match("external"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:24:7: ( 'internal' ) + // InternalRDL.g:24:9: 'internal' + { + match("internal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:25:7: ( 'alias' ) + // InternalRDL.g:25:9: 'alias' + { + match("alias"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:26:7: ( ',' ) + // InternalRDL.g:26:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:27:7: ( '@' ) + // InternalRDL.g:27:9: '@' + { + match('@'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:28:7: ( '+=' ) + // InternalRDL.g:28:9: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:29:7: ( '%=' ) + // InternalRDL.g:29:9: '%=' + { + match("%="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:30:7: ( '[' ) + // InternalRDL.g:30:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:31:7: ( ':' ) + // InternalRDL.g:31:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:32:7: ( ']' ) + // InternalRDL.g:32:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:33:7: ( '->' ) + // InternalRDL.g:33:9: '->' + { + match("->"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:34:7: ( '.' ) + // InternalRDL.g:34:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:35:7: ( 'enum' ) + // InternalRDL.g:35:9: 'enum' + { + match("enum"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:36:7: ( 'name' ) + // InternalRDL.g:36:9: 'name' + { + match("name"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:37:7: ( 'desc' ) + // InternalRDL.g:37:9: 'desc' + { + match("desc"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:38:7: ( 'string' ) + // InternalRDL.g:38:9: 'string' + { + match("string"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:39:7: ( 'number' ) + // InternalRDL.g:39:9: 'number' + { + match("number"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:40:7: ( 'boolean' ) + // InternalRDL.g:40:9: 'boolean' + { + match("boolean"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:41:7: ( 'addrmap' ) + // InternalRDL.g:41:9: 'addrmap' + { + match("addrmap"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:42:7: ( 'reg' ) + // InternalRDL.g:42:9: 'reg' + { + match("reg"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:43:7: ( 'regfile' ) + // InternalRDL.g:43:9: 'regfile' + { + match("regfile"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:44:7: ( 'field' ) + // InternalRDL.g:44:9: 'field' + { + match("field"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:45:7: ( 'ref' ) + // InternalRDL.g:45:9: 'ref' + { + match("ref"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:46:7: ( 'signal' ) + // InternalRDL.g:46:9: 'signal' + { + match("signal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:47:7: ( 'all' ) + // InternalRDL.g:47:9: 'all' + { + match("all"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:48:7: ( 'arbiter' ) + // InternalRDL.g:48:9: 'arbiter' + { + match("arbiter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:49:7: ( 'rset' ) + // InternalRDL.g:49:9: 'rset' + { + match("rset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__48" + + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:50:7: ( 'rclr' ) + // InternalRDL.g:50:9: 'rclr' + { + match("rclr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:51:7: ( 'woclr' ) + // InternalRDL.g:51:9: 'woclr' + { + match("woclr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:52:7: ( 'woset' ) + // InternalRDL.g:52:9: 'woset' + { + match("woset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:53:7: ( 'we' ) + // InternalRDL.g:53:9: 'we' + { + match("we"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:54:7: ( 'wel' ) + // InternalRDL.g:54:9: 'wel' + { + match("wel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:55:7: ( 'swwe' ) + // InternalRDL.g:55:9: 'swwe' + { + match("swwe"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:56:7: ( 'swwel' ) + // InternalRDL.g:56:9: 'swwel' + { + match("swwel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:57:7: ( 'hwset' ) + // InternalRDL.g:57:9: 'hwset' + { + match("hwset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:58:7: ( 'hwclr' ) + // InternalRDL.g:58:9: 'hwclr' + { + match("hwclr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:59:7: ( 'swmod' ) + // InternalRDL.g:59:9: 'swmod' + { + match("swmod"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:60:7: ( 'swacc' ) + // InternalRDL.g:60:9: 'swacc' + { + match("swacc"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:61:7: ( 'sticky' ) + // InternalRDL.g:61:9: 'sticky' + { + match("sticky"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:62:7: ( 'stickybit' ) + // InternalRDL.g:62:9: 'stickybit' + { + match("stickybit"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:63:7: ( 'intr' ) + // InternalRDL.g:63:9: 'intr' + { + match("intr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:64:7: ( 'anded' ) + // InternalRDL.g:64:9: 'anded' + { + match("anded"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:65:7: ( 'ored' ) + // InternalRDL.g:65:9: 'ored' + { + match("ored"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:66:7: ( 'xored' ) + // InternalRDL.g:66:9: 'xored' + { + match("xored"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:67:7: ( 'counter' ) + // InternalRDL.g:67:9: 'counter' + { + match("counter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:68:7: ( 'overflow' ) + // InternalRDL.g:68:9: 'overflow' + { + match("overflow"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:69:7: ( 'sharedextbus' ) + // InternalRDL.g:69:9: 'sharedextbus' + { + match("sharedextbus"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:70:7: ( 'errextbus' ) + // InternalRDL.g:70:9: 'errextbus' + { + match("errextbus"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:71:7: ( 'reset' ) + // InternalRDL.g:71:9: 'reset' + { + match("reset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:72:7: ( 'littleendian' ) + // InternalRDL.g:72:9: 'littleendian' + { + match("littleendian"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:73:7: ( 'bigendian' ) + // InternalRDL.g:73:9: 'bigendian' + { + match("bigendian"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:74:7: ( 'rsvdset' ) + // InternalRDL.g:74:9: 'rsvdset' + { + match("rsvdset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:75:7: ( 'rsvdsetX' ) + // InternalRDL.g:75:9: 'rsvdsetX' + { + match("rsvdsetX"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__74" + + // $ANTLR start "T__75" + public final void mT__75() throws RecognitionException { + try { + int _type = T__75; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:76:7: ( 'bridge' ) + // InternalRDL.g:76:9: 'bridge' + { + match("bridge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__75" + + // $ANTLR start "T__76" + public final void mT__76() throws RecognitionException { + try { + int _type = T__76; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:77:7: ( 'shared' ) + // InternalRDL.g:77:9: 'shared' + { + match("shared"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__76" + + // $ANTLR start "T__77" + public final void mT__77() throws RecognitionException { + try { + int _type = T__77; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:78:7: ( 'msb0' ) + // InternalRDL.g:78:9: 'msb0' + { + match("msb0"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__77" + + // $ANTLR start "T__78" + public final void mT__78() throws RecognitionException { + try { + int _type = T__78; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:79:7: ( 'lsb0' ) + // InternalRDL.g:79:9: 'lsb0' + { + match("lsb0"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__78" + + // $ANTLR start "T__79" + public final void mT__79() throws RecognitionException { + try { + int _type = T__79; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:80:7: ( 'sync' ) + // InternalRDL.g:80:9: 'sync' + { + match("sync"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__79" + + // $ANTLR start "T__80" + public final void mT__80() throws RecognitionException { + try { + int _type = T__80; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:81:7: ( 'async' ) + // InternalRDL.g:81:9: 'async' + { + match("async"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__80" + + // $ANTLR start "T__81" + public final void mT__81() throws RecognitionException { + try { + int _type = T__81; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:82:7: ( 'cpuif_reset' ) + // InternalRDL.g:82:9: 'cpuif_reset' + { + match("cpuif_reset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__81" + + // $ANTLR start "T__82" + public final void mT__82() throws RecognitionException { + try { + int _type = T__82; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:83:7: ( 'field_reset' ) + // InternalRDL.g:83:9: 'field_reset' + { + match("field_reset"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__82" + + // $ANTLR start "T__83" + public final void mT__83() throws RecognitionException { + try { + int _type = T__83; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:84:7: ( 'activehigh' ) + // InternalRDL.g:84:9: 'activehigh' + { + match("activehigh"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__83" + + // $ANTLR start "T__84" + public final void mT__84() throws RecognitionException { + try { + int _type = T__84; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:85:7: ( 'activelow' ) + // InternalRDL.g:85:9: 'activelow' + { + match("activelow"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__84" + + // $ANTLR start "T__85" + public final void mT__85() throws RecognitionException { + try { + int _type = T__85; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:86:7: ( 'singlepulse' ) + // InternalRDL.g:86:9: 'singlepulse' + { + match("singlepulse"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__85" + + // $ANTLR start "T__86" + public final void mT__86() throws RecognitionException { + try { + int _type = T__86; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:87:7: ( 'underflow' ) + // InternalRDL.g:87:9: 'underflow' + { + match("underflow"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__86" + + // $ANTLR start "T__87" + public final void mT__87() throws RecognitionException { + try { + int _type = T__87; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:88:7: ( 'incr' ) + // InternalRDL.g:88:9: 'incr' + { + match("incr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__87" + + // $ANTLR start "T__88" + public final void mT__88() throws RecognitionException { + try { + int _type = T__88; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:89:7: ( 'decr' ) + // InternalRDL.g:89:9: 'decr' + { + match("decr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__88" + + // $ANTLR start "T__89" + public final void mT__89() throws RecognitionException { + try { + int _type = T__89; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:90:7: ( 'incrwidth' ) + // InternalRDL.g:90:9: 'incrwidth' + { + match("incrwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__89" + + // $ANTLR start "T__90" + public final void mT__90() throws RecognitionException { + try { + int _type = T__90; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:91:7: ( 'decrwidth' ) + // InternalRDL.g:91:9: 'decrwidth' + { + match("decrwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__90" + + // $ANTLR start "T__91" + public final void mT__91() throws RecognitionException { + try { + int _type = T__91; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:92:7: ( 'incrvalue' ) + // InternalRDL.g:92:9: 'incrvalue' + { + match("incrvalue"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__91" + + // $ANTLR start "T__92" + public final void mT__92() throws RecognitionException { + try { + int _type = T__92; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:93:7: ( 'decrvalue' ) + // InternalRDL.g:93:9: 'decrvalue' + { + match("decrvalue"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__92" + + // $ANTLR start "T__93" + public final void mT__93() throws RecognitionException { + try { + int _type = T__93; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:94:7: ( 'saturate' ) + // InternalRDL.g:94:9: 'saturate' + { + match("saturate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__93" + + // $ANTLR start "T__94" + public final void mT__94() throws RecognitionException { + try { + int _type = T__94; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:95:7: ( 'decrsaturate' ) + // InternalRDL.g:95:9: 'decrsaturate' + { + match("decrsaturate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__94" + + // $ANTLR start "T__95" + public final void mT__95() throws RecognitionException { + try { + int _type = T__95; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:96:7: ( 'threshold' ) + // InternalRDL.g:96:9: 'threshold' + { + match("threshold"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__95" + + // $ANTLR start "T__96" + public final void mT__96() throws RecognitionException { + try { + int _type = T__96; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:97:7: ( 'decrthreshold' ) + // InternalRDL.g:97:9: 'decrthreshold' + { + match("decrthreshold"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__96" + + // $ANTLR start "T__97" + public final void mT__97() throws RecognitionException { + try { + int _type = T__97; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:98:7: ( 'dontcompare' ) + // InternalRDL.g:98:9: 'dontcompare' + { + match("dontcompare"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__97" + + // $ANTLR start "T__98" + public final void mT__98() throws RecognitionException { + try { + int _type = T__98; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:99:7: ( 'donttest' ) + // InternalRDL.g:99:9: 'donttest' + { + match("donttest"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__98" + + // $ANTLR start "T__99" + public final void mT__99() throws RecognitionException { + try { + int _type = T__99; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:100:7: ( 'alignment' ) + // InternalRDL.g:100:9: 'alignment' + { + match("alignment"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__99" + + // $ANTLR start "T__100" + public final void mT__100() throws RecognitionException { + try { + int _type = T__100; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:101:8: ( 'regwidth' ) + // InternalRDL.g:101:10: 'regwidth' + { + match("regwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__100" + + // $ANTLR start "T__101" + public final void mT__101() throws RecognitionException { + try { + int _type = T__101; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:102:8: ( 'fieldwidth' ) + // InternalRDL.g:102:10: 'fieldwidth' + { + match("fieldwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__101" + + // $ANTLR start "T__102" + public final void mT__102() throws RecognitionException { + try { + int _type = T__102; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:103:8: ( 'signalwidth' ) + // InternalRDL.g:103:10: 'signalwidth' + { + match("signalwidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__102" + + // $ANTLR start "T__103" + public final void mT__103() throws RecognitionException { + try { + int _type = T__103; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:104:8: ( 'accesswidth' ) + // InternalRDL.g:104:10: 'accesswidth' + { + match("accesswidth"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__103" + + // $ANTLR start "T__104" + public final void mT__104() throws RecognitionException { + try { + int _type = T__104; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:105:8: ( 'sw' ) + // InternalRDL.g:105:10: 'sw' + { + match("sw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__104" + + // $ANTLR start "T__105" + public final void mT__105() throws RecognitionException { + try { + int _type = T__105; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:106:8: ( 'hw' ) + // InternalRDL.g:106:10: 'hw' + { + match("hw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__105" + + // $ANTLR start "T__106" + public final void mT__106() throws RecognitionException { + try { + int _type = T__106; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:107:8: ( 'addressing' ) + // InternalRDL.g:107:10: 'addressing' + { + match("addressing"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__106" + + // $ANTLR start "T__107" + public final void mT__107() throws RecognitionException { + try { + int _type = T__107; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:108:8: ( 'precedence' ) + // InternalRDL.g:108:10: 'precedence' + { + match("precedence"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__107" + + // $ANTLR start "T__108" + public final void mT__108() throws RecognitionException { + try { + int _type = T__108; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:109:8: ( 'encode' ) + // InternalRDL.g:109:10: 'encode' + { + match("encode"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__108" + + // $ANTLR start "T__109" + public final void mT__109() throws RecognitionException { + try { + int _type = T__109; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:110:8: ( 'resetsignal' ) + // InternalRDL.g:110:10: 'resetsignal' + { + match("resetsignal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__109" + + // $ANTLR start "T__110" + public final void mT__110() throws RecognitionException { + try { + int _type = T__110; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:111:8: ( 'clock' ) + // InternalRDL.g:111:10: 'clock' + { + match("clock"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__110" + + // $ANTLR start "T__111" + public final void mT__111() throws RecognitionException { + try { + int _type = T__111; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:112:8: ( 'mask' ) + // InternalRDL.g:112:10: 'mask' + { + match("mask"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__111" + + // $ANTLR start "T__112" + public final void mT__112() throws RecognitionException { + try { + int _type = T__112; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:113:8: ( 'enable' ) + // InternalRDL.g:113:10: 'enable' + { + match("enable"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__112" + + // $ANTLR start "T__113" + public final void mT__113() throws RecognitionException { + try { + int _type = T__113; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:114:8: ( 'hwenable' ) + // InternalRDL.g:114:10: 'hwenable' + { + match("hwenable"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__113" + + // $ANTLR start "T__114" + public final void mT__114() throws RecognitionException { + try { + int _type = T__114; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:115:8: ( 'hwmask' ) + // InternalRDL.g:115:10: 'hwmask' + { + match("hwmask"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__114" + + // $ANTLR start "T__115" + public final void mT__115() throws RecognitionException { + try { + int _type = T__115; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:116:8: ( 'haltmask' ) + // InternalRDL.g:116:10: 'haltmask' + { + match("haltmask"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__115" + + // $ANTLR start "T__116" + public final void mT__116() throws RecognitionException { + try { + int _type = T__116; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:117:8: ( 'haltenable' ) + // InternalRDL.g:117:10: 'haltenable' + { + match("haltenable"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__116" + + // $ANTLR start "T__117" + public final void mT__117() throws RecognitionException { + try { + int _type = T__117; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:118:8: ( 'halt' ) + // InternalRDL.g:118:10: 'halt' + { + match("halt"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__117" + + // $ANTLR start "T__118" + public final void mT__118() throws RecognitionException { + try { + int _type = T__118; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:119:8: ( 'next' ) + // InternalRDL.g:119:10: 'next' + { + match("next"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__118" + + // $ANTLR start "T__119" + public final void mT__119() throws RecognitionException { + try { + int _type = T__119; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:120:8: ( 'UNDEFINED' ) + // InternalRDL.g:120:10: 'UNDEFINED' + { + match("UNDEFINED"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__119" + + // $ANTLR start "T__120" + public final void mT__120() throws RecognitionException { + try { + int _type = T__120; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:121:8: ( 'rw' ) + // InternalRDL.g:121:10: 'rw' + { + match("rw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__120" + + // $ANTLR start "T__121" + public final void mT__121() throws RecognitionException { + try { + int _type = T__121; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:122:8: ( 'wr' ) + // InternalRDL.g:122:10: 'wr' + { + match("wr"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__121" + + // $ANTLR start "T__122" + public final void mT__122() throws RecognitionException { + try { + int _type = T__122; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:123:8: ( 'r' ) + // InternalRDL.g:123:10: 'r' + { + match('r'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__122" + + // $ANTLR start "T__123" + public final void mT__123() throws RecognitionException { + try { + int _type = T__123; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:124:8: ( 'w' ) + // InternalRDL.g:124:10: 'w' + { + match('w'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__123" + + // $ANTLR start "T__124" + public final void mT__124() throws RecognitionException { + try { + int _type = T__124; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:125:8: ( 'na' ) + // InternalRDL.g:125:10: 'na' + { + match("na"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__124" + + // $ANTLR start "T__125" + public final void mT__125() throws RecognitionException { + try { + int _type = T__125; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:126:8: ( 'compact' ) + // InternalRDL.g:126:10: 'compact' + { + match("compact"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__125" + + // $ANTLR start "T__126" + public final void mT__126() throws RecognitionException { + try { + int _type = T__126; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:127:8: ( 'regalign' ) + // InternalRDL.g:127:10: 'regalign' + { + match("regalign"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__126" + + // $ANTLR start "T__127" + public final void mT__127() throws RecognitionException { + try { + int _type = T__127; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:128:8: ( 'fullalign' ) + // InternalRDL.g:128:10: 'fullalign' + { + match("fullalign"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__127" + + // $ANTLR start "T__128" + public final void mT__128() throws RecognitionException { + try { + int _type = T__128; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:129:8: ( 'posedge' ) + // InternalRDL.g:129:10: 'posedge' + { + match("posedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__128" + + // $ANTLR start "T__129" + public final void mT__129() throws RecognitionException { + try { + int _type = T__129; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:130:8: ( 'negedge' ) + // InternalRDL.g:130:10: 'negedge' + { + match("negedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__129" + + // $ANTLR start "T__130" + public final void mT__130() throws RecognitionException { + try { + int _type = T__130; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:131:8: ( 'bothedge' ) + // InternalRDL.g:131:10: 'bothedge' + { + match("bothedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__130" + + // $ANTLR start "T__131" + public final void mT__131() throws RecognitionException { + try { + int _type = T__131; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:132:8: ( 'level' ) + // InternalRDL.g:132:10: 'level' + { + match("level"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__131" + + // $ANTLR start "T__132" + public final void mT__132() throws RecognitionException { + try { + int _type = T__132; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:133:8: ( 'nonsticky' ) + // InternalRDL.g:133:10: 'nonsticky' + { + match("nonsticky"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__132" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + 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:3575:11: ( '\\\\' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='\\') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalRDL.g:3575:11: '\\\\' + { + match('\\'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalRDL.g:3575:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + 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:3577:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='\t' && LA3_0<='\n')||LA3_0=='\r'||LA3_0==' ') ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3579:17: ( ( '/*' ( options {greedy=false; } : . )* '*/' | '<%' ( options {greedy=false; } : . )* '%>' | '(' ( options {greedy=false; } : . )* ')' ) ) + // InternalRDL.g:3579:19: ( '/*' ( options {greedy=false; } : . )* '*/' | '<%' ( options {greedy=false; } : . )* '%>' | '(' ( options {greedy=false; } : . )* ')' ) + { + // InternalRDL.g:3579:19: ( '/*' ( options {greedy=false; } : . )* '*/' | '<%' ( options {greedy=false; } : . )* '%>' | '(' ( options {greedy=false; } : . )* ')' ) + int alt7=3; + switch ( input.LA(1) ) { + case '/': + { + alt7=1; + } + break; + case '<': + { + alt7=2; + } + break; + case '(': + { + alt7=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + switch (alt7) { + case 1 : + // InternalRDL.g:3579:20: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalRDL.g:3579:25: ( options {greedy=false; } : . )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='*') ) { + int LA4_1 = input.LA(2); + + if ( (LA4_1=='/') ) { + alt4=2; + } + else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { + alt4=1; + } + + + } + else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalRDL.g:3579:53: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + break; + case 2 : + // InternalRDL.g:3579:62: '<%' ( options {greedy=false; } : . )* '%>' + { + match("<%"); + + // InternalRDL.g:3579:67: ( options {greedy=false; } : . )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='%') ) { + int LA5_1 = input.LA(2); + + if ( (LA5_1=='>') ) { + alt5=2; + } + else if ( ((LA5_1>='\u0000' && LA5_1<='=')||(LA5_1>='?' && LA5_1<='\uFFFF')) ) { + alt5=1; + } + + + } + else if ( ((LA5_0>='\u0000' && LA5_0<='$')||(LA5_0>='&' && LA5_0<='\uFFFF')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalRDL.g:3579:95: . + { + matchAny(); + + } + break; + + default : + break loop5; + } + } while (true); + + match("%>"); + + + } + break; + case 3 : + // InternalRDL.g:3579:104: '(' ( options {greedy=false; } : . )* ')' + { + match('('); + // InternalRDL.g:3579:108: ( options {greedy=false; } : . )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==')') ) { + alt6=2; + } + else if ( ((LA6_0>='\u0000' && LA6_0<='(')||(LA6_0>='*' && LA6_0<='\uFFFF')) ) { + alt6=1; + } + + + switch (alt6) { + case 1 : + // InternalRDL.g:3579:136: . + { + matchAny(); + + } + break; + + default : + break loop6; + } + } while (true); + + match(')'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + 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' )? + { + match("//"); + + // InternalRDL.g:3581:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalRDL.g:3581: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(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop8; + } + } while (true); + + // InternalRDL.g:3581:40: ( ( '\\r' )? '\\n' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\n'||LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalRDL.g:3581:41: ( '\\r' )? '\\n' + { + // InternalRDL.g:3581:41: ( '\\r' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='\r') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalRDL.g:3581:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_NUM" + public final void mRULE_NUM() throws RecognitionException { + try { + int _type = RULE_NUM; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3583: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:3583: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:3583: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 alt21=6; + alt21 = dfa21.predict(input); + switch (alt21) { + case 1 : + // InternalRDL.g:3583:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ + { + // InternalRDL.g:3583:13: ( '0' .. '9' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='0' && LA11_0<='9')) ) { + alt11=1; + } + + + switch (alt11) { + case 1 : + // InternalRDL.g:3583:14: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + match("'b"); + + // InternalRDL.g:3583:31: ( '0' | '1' | '_' )+ + int cnt12=0; + loop12: + do { + int alt12=2; + int LA12_0 = input.LA(1); + + if ( ((LA12_0>='0' && LA12_0<='1')||LA12_0=='_') ) { + alt12=1; + } + + + switch (alt12) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='1')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt12 >= 1 ) break loop12; + EarlyExitException eee = + new EarlyExitException(12, input); + throw eee; + } + cnt12++; + } while (true); + + + } + break; + case 2 : + // InternalRDL.g:3583:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ + { + // InternalRDL.g:3583:46: ( '0' .. '9' )+ + int cnt13=0; + loop13: + do { + int alt13=2; + int LA13_0 = input.LA(1); + + if ( ((LA13_0>='0' && LA13_0<='9')) ) { + alt13=1; + } + + + switch (alt13) { + case 1 : + // InternalRDL.g:3583:47: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt13 >= 1 ) break loop13; + EarlyExitException eee = + new EarlyExitException(13, input); + throw eee; + } + cnt13++; + } while (true); + + match("'o"); + + // InternalRDL.g:3583:64: ( '0' .. '7' | '_' )+ + int cnt14=0; + loop14: + do { + int alt14=2; + int LA14_0 = input.LA(1); + + if ( ((LA14_0>='0' && LA14_0<='7')||LA14_0=='_') ) { + alt14=1; + } + + + switch (alt14) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='7')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt14 >= 1 ) break loop14; + EarlyExitException eee = + new EarlyExitException(14, input); + throw eee; + } + cnt14++; + } while (true); + + + } + break; + case 3 : + // InternalRDL.g:3583:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + { + // InternalRDL.g:3583:80: ( '0' .. '9' )+ + int cnt15=0; + loop15: + do { + int alt15=2; + int LA15_0 = input.LA(1); + + if ( ((LA15_0>='0' && LA15_0<='9')) ) { + alt15=1; + } + + + switch (alt15) { + case 1 : + // InternalRDL.g:3583:81: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt15 >= 1 ) break loop15; + EarlyExitException eee = + new EarlyExitException(15, input); + throw eee; + } + cnt15++; + } while (true); + + match("'h"); + + // InternalRDL.g:3583:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + int cnt16=0; + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( ((LA16_0>='0' && LA16_0<='9')||(LA16_0>='A' && LA16_0<='F')||LA16_0=='_'||(LA16_0>='a' && LA16_0<='f')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt16 >= 1 ) break loop16; + EarlyExitException eee = + new EarlyExitException(16, input); + throw eee; + } + cnt16++; + } while (true); + + + } + break; + case 4 : + // InternalRDL.g:3583:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ + { + // InternalRDL.g:3583:132: ( '0' .. '9' )+ + int cnt17=0; + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='0' && LA17_0<='9')) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // InternalRDL.g:3583:133: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt17 >= 1 ) break loop17; + EarlyExitException eee = + new EarlyExitException(17, input); + throw eee; + } + cnt17++; + } while (true); + + match("'d"); + + // InternalRDL.g:3583:150: ( '0' .. '9' | '_' )+ + int cnt18=0; + loop18: + do { + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>='0' && LA18_0<='9')||LA18_0=='_') ) { + alt18=1; + } + + + switch (alt18) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt18 >= 1 ) break loop18; + EarlyExitException eee = + new EarlyExitException(18, input); + throw eee; + } + cnt18++; + } while (true); + + + } + break; + case 5 : + // InternalRDL.g:3583:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + { + match("0x"); + + // InternalRDL.g:3583:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + int cnt19=0; + loop19: + do { + int alt19=2; + int LA19_0 = input.LA(1); + + if ( ((LA19_0>='0' && LA19_0<='9')||(LA19_0>='A' && LA19_0<='F')||(LA19_0>='a' && LA19_0<='f')) ) { + alt19=1; + } + + + switch (alt19) { + case 1 : + // InternalRDL.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt19 >= 1 ) break loop19; + EarlyExitException eee = + new EarlyExitException(19, input); + throw eee; + } + cnt19++; + } while (true); + + + } + break; + case 6 : + // InternalRDL.g:3583:201: ( '0' .. '9' )+ + { + // InternalRDL.g:3583:201: ( '0' .. '9' )+ + int cnt20=0; + loop20: + do { + int alt20=2; + int LA20_0 = input.LA(1); + + if ( ((LA20_0>='0' && LA20_0<='9')) ) { + alt20=1; + } + + + switch (alt20) { + case 1 : + // InternalRDL.g:3583:202: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt20 >= 1 ) break loop20; + EarlyExitException eee = + new EarlyExitException(20, input); + throw eee; + } + cnt20++; + } while (true); + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_NUM" + + // $ANTLR start "RULE_STR" + public final void mRULE_STR() throws RecognitionException { + try { + int _type = RULE_STR; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3585:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalRDL.g:3585:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalRDL.g:3585:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop22: + do { + int alt22=3; + int LA22_0 = input.LA(1); + + if ( (LA22_0=='\\') ) { + alt22=1; + } + else if ( ((LA22_0>='\u0000' && LA22_0<='!')||(LA22_0>='#' && LA22_0<='[')||(LA22_0>=']' && LA22_0<='\uFFFF')) ) { + alt22=2; + } + + + switch (alt22) { + case 1 : + // InternalRDL.g:3585: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') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // InternalRDL.g:3585:62: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop22; + } + } while (true); + + match('\"'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STR" + + public void mTokens() throws RecognitionException { + // InternalRDL.g:1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | T__115 | T__116 | T__117 | T__118 | T__119 | T__120 | T__121 | T__122 | T__123 | T__124 | T__125 | T__126 | T__127 | T__128 | T__129 | T__130 | T__131 | T__132 | RULE_ID | RULE_WS | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_NUM | RULE_STR ) + int alt23=129; + alt23 = dfa23.predict(input); + switch (alt23) { + case 1 : + // InternalRDL.g:1:10: T__10 + { + mT__10(); + + } + break; + case 2 : + // InternalRDL.g:1:16: T__11 + { + mT__11(); + + } + break; + case 3 : + // InternalRDL.g:1:22: T__12 + { + mT__12(); + + } + break; + case 4 : + // InternalRDL.g:1:28: T__13 + { + mT__13(); + + } + break; + case 5 : + // InternalRDL.g:1:34: T__14 + { + mT__14(); + + } + break; + case 6 : + // InternalRDL.g:1:40: T__15 + { + mT__15(); + + } + break; + case 7 : + // InternalRDL.g:1:46: T__16 + { + mT__16(); + + } + break; + case 8 : + // InternalRDL.g:1:52: T__17 + { + mT__17(); + + } + break; + case 9 : + // InternalRDL.g:1:58: T__18 + { + mT__18(); + + } + break; + case 10 : + // InternalRDL.g:1:64: T__19 + { + mT__19(); + + } + break; + case 11 : + // InternalRDL.g:1:70: T__20 + { + mT__20(); + + } + break; + case 12 : + // InternalRDL.g:1:76: T__21 + { + mT__21(); + + } + break; + case 13 : + // InternalRDL.g:1:82: T__22 + { + mT__22(); + + } + break; + case 14 : + // InternalRDL.g:1:88: T__23 + { + mT__23(); + + } + break; + case 15 : + // InternalRDL.g:1:94: T__24 + { + mT__24(); + + } + break; + case 16 : + // InternalRDL.g:1:100: T__25 + { + mT__25(); + + } + break; + case 17 : + // InternalRDL.g:1:106: T__26 + { + mT__26(); + + } + break; + case 18 : + // InternalRDL.g:1:112: T__27 + { + mT__27(); + + } + break; + case 19 : + // InternalRDL.g:1:118: T__28 + { + mT__28(); + + } + break; + case 20 : + // InternalRDL.g:1:124: T__29 + { + mT__29(); + + } + break; + case 21 : + // InternalRDL.g:1:130: T__30 + { + mT__30(); + + } + break; + case 22 : + // InternalRDL.g:1:136: T__31 + { + mT__31(); + + } + break; + case 23 : + // InternalRDL.g:1:142: T__32 + { + mT__32(); + + } + break; + case 24 : + // InternalRDL.g:1:148: T__33 + { + mT__33(); + + } + break; + case 25 : + // InternalRDL.g:1:154: T__34 + { + mT__34(); + + } + break; + case 26 : + // InternalRDL.g:1:160: T__35 + { + mT__35(); + + } + break; + case 27 : + // InternalRDL.g:1:166: T__36 + { + mT__36(); + + } + break; + case 28 : + // InternalRDL.g:1:172: T__37 + { + mT__37(); + + } + break; + case 29 : + // InternalRDL.g:1:178: T__38 + { + mT__38(); + + } + break; + case 30 : + // InternalRDL.g:1:184: T__39 + { + mT__39(); + + } + break; + case 31 : + // InternalRDL.g:1:190: T__40 + { + mT__40(); + + } + break; + case 32 : + // InternalRDL.g:1:196: T__41 + { + mT__41(); + + } + break; + case 33 : + // InternalRDL.g:1:202: T__42 + { + mT__42(); + + } + break; + case 34 : + // InternalRDL.g:1:208: T__43 + { + mT__43(); + + } + break; + case 35 : + // InternalRDL.g:1:214: T__44 + { + mT__44(); + + } + break; + case 36 : + // InternalRDL.g:1:220: T__45 + { + mT__45(); + + } + break; + case 37 : + // InternalRDL.g:1:226: T__46 + { + mT__46(); + + } + break; + case 38 : + // InternalRDL.g:1:232: T__47 + { + mT__47(); + + } + break; + case 39 : + // InternalRDL.g:1:238: T__48 + { + mT__48(); + + } + break; + case 40 : + // InternalRDL.g:1:244: T__49 + { + mT__49(); + + } + break; + case 41 : + // InternalRDL.g:1:250: T__50 + { + mT__50(); + + } + break; + case 42 : + // InternalRDL.g:1:256: T__51 + { + mT__51(); + + } + break; + case 43 : + // InternalRDL.g:1:262: T__52 + { + mT__52(); + + } + break; + case 44 : + // InternalRDL.g:1:268: T__53 + { + mT__53(); + + } + break; + case 45 : + // InternalRDL.g:1:274: T__54 + { + mT__54(); + + } + break; + case 46 : + // InternalRDL.g:1:280: T__55 + { + mT__55(); + + } + break; + case 47 : + // InternalRDL.g:1:286: T__56 + { + mT__56(); + + } + break; + case 48 : + // InternalRDL.g:1:292: T__57 + { + mT__57(); + + } + break; + case 49 : + // InternalRDL.g:1:298: T__58 + { + mT__58(); + + } + break; + case 50 : + // InternalRDL.g:1:304: T__59 + { + mT__59(); + + } + break; + case 51 : + // InternalRDL.g:1:310: T__60 + { + mT__60(); + + } + break; + case 52 : + // InternalRDL.g:1:316: T__61 + { + mT__61(); + + } + break; + case 53 : + // InternalRDL.g:1:322: T__62 + { + mT__62(); + + } + break; + case 54 : + // InternalRDL.g:1:328: T__63 + { + mT__63(); + + } + break; + case 55 : + // InternalRDL.g:1:334: T__64 + { + mT__64(); + + } + break; + case 56 : + // InternalRDL.g:1:340: T__65 + { + mT__65(); + + } + break; + case 57 : + // InternalRDL.g:1:346: T__66 + { + mT__66(); + + } + break; + case 58 : + // InternalRDL.g:1:352: T__67 + { + mT__67(); + + } + break; + case 59 : + // InternalRDL.g:1:358: T__68 + { + mT__68(); + + } + break; + case 60 : + // InternalRDL.g:1:364: T__69 + { + mT__69(); + + } + break; + case 61 : + // InternalRDL.g:1:370: T__70 + { + mT__70(); + + } + break; + case 62 : + // InternalRDL.g:1:376: T__71 + { + mT__71(); + + } + break; + case 63 : + // InternalRDL.g:1:382: T__72 + { + mT__72(); + + } + break; + case 64 : + // InternalRDL.g:1:388: T__73 + { + mT__73(); + + } + break; + case 65 : + // InternalRDL.g:1:394: T__74 + { + mT__74(); + + } + break; + case 66 : + // InternalRDL.g:1:400: T__75 + { + mT__75(); + + } + break; + case 67 : + // InternalRDL.g:1:406: T__76 + { + mT__76(); + + } + break; + case 68 : + // InternalRDL.g:1:412: T__77 + { + mT__77(); + + } + break; + case 69 : + // InternalRDL.g:1:418: T__78 + { + mT__78(); + + } + break; + case 70 : + // InternalRDL.g:1:424: T__79 + { + mT__79(); + + } + break; + case 71 : + // InternalRDL.g:1:430: T__80 + { + mT__80(); + + } + break; + case 72 : + // InternalRDL.g:1:436: T__81 + { + mT__81(); + + } + break; + case 73 : + // InternalRDL.g:1:442: T__82 + { + mT__82(); + + } + break; + case 74 : + // InternalRDL.g:1:448: T__83 + { + mT__83(); + + } + break; + case 75 : + // InternalRDL.g:1:454: T__84 + { + mT__84(); + + } + break; + case 76 : + // InternalRDL.g:1:460: T__85 + { + mT__85(); + + } + break; + case 77 : + // InternalRDL.g:1:466: T__86 + { + mT__86(); + + } + break; + case 78 : + // InternalRDL.g:1:472: T__87 + { + mT__87(); + + } + break; + case 79 : + // InternalRDL.g:1:478: T__88 + { + mT__88(); + + } + break; + case 80 : + // InternalRDL.g:1:484: T__89 + { + mT__89(); + + } + break; + case 81 : + // InternalRDL.g:1:490: T__90 + { + mT__90(); + + } + break; + case 82 : + // InternalRDL.g:1:496: T__91 + { + mT__91(); + + } + break; + case 83 : + // InternalRDL.g:1:502: T__92 + { + mT__92(); + + } + break; + case 84 : + // InternalRDL.g:1:508: T__93 + { + mT__93(); + + } + break; + case 85 : + // InternalRDL.g:1:514: T__94 + { + mT__94(); + + } + break; + case 86 : + // InternalRDL.g:1:520: T__95 + { + mT__95(); + + } + break; + case 87 : + // InternalRDL.g:1:526: T__96 + { + mT__96(); + + } + break; + case 88 : + // InternalRDL.g:1:532: T__97 + { + mT__97(); + + } + break; + case 89 : + // InternalRDL.g:1:538: T__98 + { + mT__98(); + + } + break; + case 90 : + // InternalRDL.g:1:544: T__99 + { + mT__99(); + + } + break; + case 91 : + // InternalRDL.g:1:550: T__100 + { + mT__100(); + + } + break; + case 92 : + // InternalRDL.g:1:557: T__101 + { + mT__101(); + + } + break; + case 93 : + // InternalRDL.g:1:564: T__102 + { + mT__102(); + + } + break; + case 94 : + // InternalRDL.g:1:571: T__103 + { + mT__103(); + + } + break; + case 95 : + // InternalRDL.g:1:578: T__104 + { + mT__104(); + + } + break; + case 96 : + // InternalRDL.g:1:585: T__105 + { + mT__105(); + + } + break; + case 97 : + // InternalRDL.g:1:592: T__106 + { + mT__106(); + + } + break; + case 98 : + // InternalRDL.g:1:599: T__107 + { + mT__107(); + + } + break; + case 99 : + // InternalRDL.g:1:606: T__108 + { + mT__108(); + + } + break; + case 100 : + // InternalRDL.g:1:613: T__109 + { + mT__109(); + + } + break; + case 101 : + // InternalRDL.g:1:620: T__110 + { + mT__110(); + + } + break; + case 102 : + // InternalRDL.g:1:627: T__111 + { + mT__111(); + + } + break; + case 103 : + // InternalRDL.g:1:634: T__112 + { + mT__112(); + + } + break; + case 104 : + // InternalRDL.g:1:641: T__113 + { + mT__113(); + + } + break; + case 105 : + // InternalRDL.g:1:648: T__114 + { + mT__114(); + + } + break; + case 106 : + // InternalRDL.g:1:655: T__115 + { + mT__115(); + + } + break; + case 107 : + // InternalRDL.g:1:662: T__116 + { + mT__116(); + + } + break; + case 108 : + // InternalRDL.g:1:669: T__117 + { + mT__117(); + + } + break; + case 109 : + // InternalRDL.g:1:676: T__118 + { + mT__118(); + + } + break; + case 110 : + // InternalRDL.g:1:683: T__119 + { + mT__119(); + + } + break; + case 111 : + // InternalRDL.g:1:690: T__120 + { + mT__120(); + + } + break; + case 112 : + // InternalRDL.g:1:697: T__121 + { + mT__121(); + + } + break; + case 113 : + // InternalRDL.g:1:704: T__122 + { + mT__122(); + + } + break; + case 114 : + // InternalRDL.g:1:711: T__123 + { + mT__123(); + + } + break; + case 115 : + // InternalRDL.g:1:718: T__124 + { + mT__124(); + + } + break; + case 116 : + // InternalRDL.g:1:725: T__125 + { + mT__125(); + + } + break; + case 117 : + // InternalRDL.g:1:732: T__126 + { + mT__126(); + + } + break; + case 118 : + // InternalRDL.g:1:739: T__127 + { + mT__127(); + + } + break; + case 119 : + // InternalRDL.g:1:746: T__128 + { + mT__128(); + + } + break; + case 120 : + // InternalRDL.g:1:753: T__129 + { + mT__129(); + + } + break; + case 121 : + // InternalRDL.g:1:760: T__130 + { + mT__130(); + + } + break; + case 122 : + // InternalRDL.g:1:767: T__131 + { + mT__131(); + + } + break; + case 123 : + // InternalRDL.g:1:774: T__132 + { + mT__132(); + + } + break; + case 124 : + // InternalRDL.g:1:781: RULE_ID + { + mRULE_ID(); + + } + break; + case 125 : + // InternalRDL.g:1:789: RULE_WS + { + mRULE_WS(); + + } + break; + case 126 : + // InternalRDL.g:1:797: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 127 : + // InternalRDL.g:1:813: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 128 : + // InternalRDL.g:1:829: RULE_NUM + { + mRULE_NUM(); + + } + break; + case 129 : + // InternalRDL.g:1:838: RULE_STR + { + mRULE_STR(); + + } + break; + + } + + } + + + protected DFA21 dfa21 = new DFA21(this); + protected DFA23 dfa23 = new DFA23(this); + static final String DFA21_eotS = + "\1\uffff\2\5\7\uffff"; + static final String DFA21_eofS = + "\12\uffff"; + static final String DFA21_minS = + "\1\60\2\47\1\uffff\1\142\5\uffff"; + static final String DFA21_maxS = + "\1\71\1\170\1\71\1\uffff\1\157\5\uffff"; + static final String DFA21_acceptS = + "\3\uffff\1\5\1\uffff\1\6\1\4\1\3\1\2\1\1"; + static final String DFA21_specialS = + "\12\uffff}>"; + static final String[] DFA21_transitionS = { + "\1\1\11\2", + "\1\4\10\uffff\12\2\76\uffff\1\3", + "\1\4\10\uffff\12\2", + "", + "\1\11\1\uffff\1\6\3\uffff\1\7\6\uffff\1\10", + "", + "", + "", + "", + "" + }; + + static final short[] DFA21_eot = DFA.unpackEncodedString(DFA21_eotS); + static final short[] DFA21_eof = DFA.unpackEncodedString(DFA21_eofS); + static final char[] DFA21_min = DFA.unpackEncodedStringToUnsignedChars(DFA21_minS); + static final char[] DFA21_max = DFA.unpackEncodedStringToUnsignedChars(DFA21_maxS); + static final short[] DFA21_accept = DFA.unpackEncodedString(DFA21_acceptS); + static final short[] DFA21_special = DFA.unpackEncodedString(DFA21_specialS); + static final short[][] DFA21_transition; + + static { + int numStates = DFA21_transitionS.length; + DFA21_transition = new short[numStates][]; + for (int i=0; i"; + static final String[] DFA23_transitionS = { + "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\51\2\uffff\1\22\2\uffff\1\47\2\uffff\1\21\1\17\1\26\1\27\1\46\12\50\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", + "", + "\1\53\2\uffff\1\52", + "", + "\1\56\11\uffff\1\55\6\uffff\1\54", + "", + "", + "", + "\1\57\11\uffff\1\60", + "\1\61\7\uffff\1\62\13\uffff\1\63", + "\1\66\2\uffff\1\64\1\65", + "", + "\1\70\3\uffff\1\71\5\uffff\1\67", + "\1\72", + "\1\100\1\74\7\uffff\1\73\1\uffff\1\76\3\uffff\1\75\1\77", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\101\3\uffff\1\103\11\uffff\1\104\5\uffff\1\102", + "\1\112\6\uffff\1\110\1\106\12\uffff\1\105\2\uffff\1\107\1\uffff\1\111", + "\1\114\5\uffff\1\113\2\uffff\1\115", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\2\44\1\120\1\44\1\116\15\44\1\117\3\44\1\121\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\124\11\44\1\123\2\44\1\125\10\44", + "\1\130\25\uffff\1\127", + "\1\131\3\uffff\1\132", + "\1\133", + "\1\136\3\uffff\1\134\11\uffff\1\135", + "\1\140\21\uffff\1\137", + "\1\141", + "\1\142", + "", + "", + "\1\47\4\uffff\1\143", + "", + "", + "", + "\1\145\11\uffff\1\144", + "\1\146", + "\1\147", + "\1\150", + "\1\151", + "\1\154\2\uffff\1\152\14\uffff\1\153", + "\1\155", + "\1\156", + "\1\157", + "\1\160", + "\1\161\7\uffff\1\162", + "\1\163", + "\1\164", + "\1\165", + "\1\170\1\uffff\1\167\21\uffff\1\166", + "\1\171", + "\1\173\20\uffff\1\172", + "\1\174\2\uffff\1\175", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", + "\1\u0083\20\uffff\1\u0082", + "\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\10\uffff\1\u008a", + "\1\u008c\6\uffff\1\u008d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u0090\13\44\1\u008f\11\44\1\u008e\3\44", + "\1\u0092", + "\1\u0093", + "\1\u0094", + "\1\u0095\4\uffff\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u009a\1\u0099\13\uffff\1\u009b", + "\1\u009c\20\uffff\1\u009d", + "\1\u009e", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u00a0\17\uffff\1\u00a1", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u00a2\16\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\2\44\1\u00a6\1\44\1\u00a7\7\44\1\u00a8\5\44\1\u00a5\7\44", + "\1\u00aa", + "\1\u00ab", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "", + "\1\u00b5", + "\1\u00b6", + "\1\u00b7", + "\1\u00b8", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\1\u00bc", + "\1\u00bd", + "\1\u00be", + "\1\u00bf", + "\1\u00c0", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\u00c8", + "\1\u00c9", + "\1\u00ca", + "\1\u00cb\14\uffff\1\u00cc", + "\1\u00cd", + "\1\u00ce\5\uffff\1\u00cf", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\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\u00dd", + "\1\u00de", + "\1\u00df", + "\1\u00e0", + "\1\u00e1", + "\1\u00e2", + "", + "\1\u00e3", + "\1\u00e4", + "\1\u00e5", + "\1\u00e6", + "\1\u00e7", + "\1\u00e8", + "\1\u00e9", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u00ec\4\44\1\u00ea\20\44\1\u00eb\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u00ef", + "\1\u00f0", + "\1\u00f1", + "\1\u00f2", + "", + "\1\u00f3", + "\1\u00f4", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u00f6", + "\1\u00f7", + "\1\u00f8", + "\1\u00f9", + "", + "\1\u00fa", + "\1\u00fb", + "\1\u00fc", + "\1\u00fd", + "\1\u00fe", + "\1\u00ff", + "\1\u0100", + "\1\u0101", + "\1\u0102", + "\1\u0103", + "\1\u0104", + "\1\u0105", + "\1\u0106", + "\1\u0107", + "\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\u010a", + "\1\u010b", + "\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\22\44\1\u010f\1\u0110\1\44\1\u010e\1\u010d\3\44", + "\1\u0112\20\uffff\1\u0113", + "\1\u0114", + "\1\u0115", + "\1\u0116", + "\1\u0118\15\uffff\1\u0117", + "\1\u0119", + "\1\u011a", + "\1\u011b", + "\1\u011c", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u011e", + "\1\u011f", + "\1\u0120", + "\1\u0121", + "\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\u0124\1\u0123\3\44", + "\1\u0126", + "\1\u0127", + "", + "\1\u0129\7\uffff\1\u0128", + "\1\u012a", + "\1\u012b", + "\1\u012c", + "\1\u012d", + "\1\u012e", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0130", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0132", + "\1\u0133", + "\1\u0134", + "\1\u0135", + "\1\u0136", + "\1\u0137", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u0138\16\44", + "\1\u013a", + "\1\u013b", + "\1\u013c", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u013e", + "\1\u013f", + "\1\u0140", + "\1\u0141", + "\1\u0142", + "\1\u0143", + "\1\u0144", + "\1\u0145", + "", + "", + "\1\u0146", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0148", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u014a", + "\1\u014b", + "", + "\1\u014c", + "\1\u014d", + "\1\u014e", + "\1\u014f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u0151\7\44\1\u0150\15\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0154", + "\1\u0155", + "\1\u0156", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0158", + "\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\u015b", + "\1\u015c", + "\1\u015d", + "\1\u015e", + "\1\u015f", + "", + "", + "\1\u0160", + "\1\u0161", + "", + "\1\u0162", + "\1\u0163", + "\1\u0164", + "\1\u0165", + "", + "\1\u0166", + "\1\u0167", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\u0169\1\uffff\26\44\1\u016a\3\44", + "\1\u016c", + "\1\u016d", + "\1\u016e", + "\1\u016f", + "\1\u0170", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0172", + "", + "\1\u0173", + "\1\u0174", + "\1\u0175", + "\1\u0176", + "", + "\1\u0177", + "\1\u0178", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u017a", + "\1\u017b", + "\1\u017c", + "\1\u017d", + "\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", + "\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\u018c", + "", + "\1\u018d", + "\1\u018e", + "\1\u018f", + "\1\u0190", + "\1\u0191", + "\1\u0192", + "\1\u0193", + "\1\u0194", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\22\44\1\u0195\7\44", + "", + "\1\u0197", + "", + "\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", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u019c", + "\1\u019d", + "\1\u019e", + "\1\u019f", + "", + "", + "\1\u01a0", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01a2", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u01a4", + "\1\u01a5", + "\1\u01a6", + "\1\u01a7", + "\1\u01a8", + "\1\u01a9", + "\1\u01aa", + "\1\u01ab", + "\1\u01ac", + "\1\u01ad", + "\1\u01ae", + "\1\u01af", + "\1\u01b0", + "", + "\1\u01b1", + "\1\u01b2", + "", + "\1\u01b3", + "\1\u01b4", + "\1\u01b5", + "\1\u01b6", + "\1\u01b7", + "", + "\1\u01b8", + "\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\u01bb", + "\1\u01bc", + "\1\u01bd", + "\1\u01be", + "", + "\1\u01bf", + "\1\u01c0", + "\1\u01c1", + "\1\u01c2", + "", + "", + "\1\u01c3\3\uffff\1\u01c4", + "\1\u01c5", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01c7", + "\1\u01c8", + "\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\1\44\1\u01ca\30\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\26\44\1\u01cc\3\44", + "\1\u01ce", + "", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u01cf\25\44", + "\1\u01d1", + "\1\u01d2", + "\1\u01d3", + "\1\u01d4", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01d6", + "\1\u01d7", + "\1\u01d8", + "\1\u01d9", + "", + "\1\u01da", + "", + "", + "", + "", + "\1\u01db", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01dd", + "\1\u01de", + "\1\u01df", + "", + "\1\u01e0", + "", + "\1\u01e1", + "\1\u01e2", + "\1\u01e3", + "\1\u01e4", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01e6", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01e8", + "\1\u01e9", + "\1\u01ea", + "\1\u01eb", + "\1\u01ec", + "\1\u01ed", + "\1\u01ee", + "\1\u01ef", + "\1\u01f0", + "\1\u01f1", + "\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\u01f4", + "\1\u01f5", + "", + "", + "\1\u01f6", + "\1\u01f7", + "\1\u01f8", + "\1\u01f9", + "\1\u01fa", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01fc", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01fe", + "\1\u01ff", + "\1\u0200", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0202", + "", + "\1\u0203", + "", + "\1\u0204", + "", + "\1\u0205", + "\1\u0206", + "", + "\1\u0207", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0209", + "\1\u020a", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u020c", + "\1\u020d", + "\1\u020e", + "\12\44\7\uffff\27\44\1\u020f\2\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0211", + "", + "\1\u0212", + "\1\u0213", + "\1\u0214", + "\1\u0215", + "\1\u0216", + "\1\u0217", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0219", + "", + "\1\u021a", + "", + "\1\u021b", + "\1\u021c", + "\1\u021d", + "\1\u021e", + "\1\u021f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0221", + "\1\u0222", + "\1\u0223", + "\1\u0224", + "", + "", + "\1\u0225", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0227", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0229", + "\1\u022a", + "\1\u022b", + "", + "\1\u022c", + "", + "\1\u022d", + "\1\u022e", + "\1\u022f", + "", + "\1\u0230", + "\1\u0231", + "\1\u0232", + "\1\u0233", + "\1\u0234", + "\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\u0237", + "", + "\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\u023a", + "\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\u023e", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0240", + "\1\u0241", + "\1\u0242", + "", + "\1\u0243", + "\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\u0247", + "\1\u0248", + "\1\u0249", + "", + "\1\u024a", + "\1\u024b", + "\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\u024e", + "", + "\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", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0253", + "\1\u0254", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\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", + "\1\u0259", + "\1\u025a", + "\1\u025b", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u025d", + "", + "", + "", + "\1\u025e", + "", + "\1\u025f", + "\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\u0263", + "\1\u0264", + "\1\u0265", + "\1\u0266", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u0268", + "", + "", + "", + "", + "\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\u026b", + "", + "", + "\1\u026c", + "\1\u026d", + "\1\u026e", + "", + "\1\u026f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0271", + "", + "", + "", + "\1\u0272", + "\1\u0273", + "\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", + "", + "", + "\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\u027a", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u027c", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u027e", + "", + "", + "", + "", + "", + "", + "\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", + "", + "", + "" + }; + + static final short[] DFA23_eot = DFA.unpackEncodedString(DFA23_eotS); + static final short[] DFA23_eof = DFA.unpackEncodedString(DFA23_eofS); + static final char[] DFA23_min = DFA.unpackEncodedStringToUnsignedChars(DFA23_minS); + static final char[] DFA23_max = DFA.unpackEncodedStringToUnsignedChars(DFA23_maxS); + static final short[] DFA23_accept = DFA.unpackEncodedString(DFA23_acceptS); + static final short[] DFA23_special = DFA.unpackEncodedString(DFA23_specialS); + static final short[][] DFA23_transition; + + static { + int numStates = DFA23_transitionS.length; + DFA23_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "'`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'" + }; + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__132=132; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=5; + public static final int T__131=131; + public static final int T__130=130; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=8; + public static final int T__67=67; + public static final int T__129=129; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__126=126; + public static final int T__63=63; + public static final int T__125=125; + public static final int T__64=64; + public static final int T__128=128; + public static final int T__65=65; + public static final int T__127=127; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int RULE_STR=4; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__100=100; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__102=102; + public static final int T__94=94; + public static final int T__101=101; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__99=99; + public static final int RULE_NUM=6; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int T__97=97; + public static final int T__10=10; + public static final int T__98=98; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__122=122; + public static final int T__70=70; + public static final int T__121=121; + public static final int T__71=71; + public static final int T__124=124; + public static final int T__72=72; + public static final int T__123=123; + public static final int T__120=120; + public static final int RULE_SL_COMMENT=9; + public static final int T__77=77; + public static final int T__119=119; + public static final int T__78=78; + public static final int T__118=118; + public static final int T__79=79; + public static final int T__73=73; + public static final int T__115=115; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__114=114; + public static final int T__75=75; + public static final int T__117=117; + public static final int T__76=76; + public static final int T__116=116; + public static final int T__80=80; + public static final int T__111=111; + public static final int T__81=81; + public static final int T__110=110; + public static final int T__82=82; + public static final int T__113=113; + public static final int T__83=83; + public static final int T__112=112; + public static final int RULE_WS=7; + public static final int T__88=88; + public static final int T__108=108; + public static final int T__89=89; + public static final int T__107=107; + public static final int T__109=109; + public static final int T__84=84; + public static final int T__104=104; + public static final int T__85=85; + public static final int T__103=103; + public static final int T__86=86; + public static final int T__106=106; + public static final int T__87=87; + public static final int T__105=105; + + // delegates + // delegators + + + public InternalRDLParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalRDLParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalRDLParser.tokenNames; } + public String getGrammarFileName() { return "InternalRDL.g"; } + + + + private RDLGrammarAccess grammarAccess; + + public InternalRDLParser(TokenStream input, RDLGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "Root"; + } + + @Override + protected RDLGrammarAccess getGrammarAccess() { + return grammarAccess; + } + + + + + // $ANTLR start "entryRuleRoot" + // InternalRDL.g:65:1: entryRuleRoot returns [EObject current=null] : iv_ruleRoot= ruleRoot EOF ; + public final EObject entryRuleRoot() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRoot = null; + + + try { + // InternalRDL.g:65:45: (iv_ruleRoot= ruleRoot EOF ) + // InternalRDL.g:66:2: iv_ruleRoot= ruleRoot EOF + { + newCompositeNode(grammarAccess.getRootRule()); + pushFollow(FOLLOW_1); + iv_ruleRoot=ruleRoot(); + + state._fsp--; + + current =iv_ruleRoot; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRoot" + + + // $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 ) ) )* ; + public final EObject ruleRoot() throws RecognitionException { + EObject current = null; + + EObject lv_includes_0_0 = null; + + EObject lv_componentDefinitions_1_0 = null; + + EObject lv_enumDefinitions_2_0 = null; + + EObject lv_namedInstantiations_3_0 = null; + + EObject lv_propertyAssignments_4_0 = null; + + EObject lv_propertyDefinitions_5_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: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 ) ) )* + loop1: + do { + int alt1=7; + alt1 = dfa1.predict(input); + switch (alt1) { + case 1 : + // InternalRDL.g:80: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:81:4: (lv_includes_0_0= ruleInclude ) + // InternalRDL.g:82:5: lv_includes_0_0= ruleInclude + { + + newCompositeNode(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); + + pushFollow(FOLLOW_3); + lv_includes_0_0=ruleInclude(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "includes", + lv_includes_0_0, + "com.minres.rdl.RDL.Include"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:100:3: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) + { + // InternalRDL.g:100:3: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) + // InternalRDL.g:101:4: (lv_componentDefinitions_1_0= ruleComponentDefinition ) + { + // InternalRDL.g:101:4: (lv_componentDefinitions_1_0= ruleComponentDefinition ) + // InternalRDL.g:102:5: lv_componentDefinitions_1_0= ruleComponentDefinition + { + + newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0()); + + pushFollow(FOLLOW_3); + lv_componentDefinitions_1_0=ruleComponentDefinition(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "componentDefinitions", + lv_componentDefinitions_1_0, + "com.minres.rdl.RDL.ComponentDefinition"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:120:3: ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) + { + // InternalRDL.g:120:3: ( (lv_enumDefinitions_2_0= ruleEnumDefinition ) ) + // InternalRDL.g:121:4: (lv_enumDefinitions_2_0= ruleEnumDefinition ) + { + // InternalRDL.g:121:4: (lv_enumDefinitions_2_0= ruleEnumDefinition ) + // InternalRDL.g:122:5: lv_enumDefinitions_2_0= ruleEnumDefinition + { + + newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0()); + + pushFollow(FOLLOW_3); + lv_enumDefinitions_2_0=ruleEnumDefinition(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "enumDefinitions", + lv_enumDefinitions_2_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 4 : + // InternalRDL.g:140:3: ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) + { + // InternalRDL.g:140:3: ( (lv_namedInstantiations_3_0= ruleNamedInstantiation ) ) + // InternalRDL.g:141:4: (lv_namedInstantiations_3_0= ruleNamedInstantiation ) + { + // InternalRDL.g:141:4: (lv_namedInstantiations_3_0= ruleNamedInstantiation ) + // InternalRDL.g:142:5: lv_namedInstantiations_3_0= ruleNamedInstantiation + { + + newCompositeNode(grammarAccess.getRootAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_0()); + + pushFollow(FOLLOW_3); + lv_namedInstantiations_3_0=ruleNamedInstantiation(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "namedInstantiations", + lv_namedInstantiations_3_0, + "com.minres.rdl.RDL.NamedInstantiation"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 5 : + // InternalRDL.g:160:3: ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) + { + // InternalRDL.g:160:3: ( (lv_propertyAssignments_4_0= rulePropertyAssignment ) ) + // InternalRDL.g:161:4: (lv_propertyAssignments_4_0= rulePropertyAssignment ) + { + // InternalRDL.g:161:4: (lv_propertyAssignments_4_0= rulePropertyAssignment ) + // InternalRDL.g:162:5: lv_propertyAssignments_4_0= rulePropertyAssignment + { + + newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0()); + + pushFollow(FOLLOW_3); + lv_propertyAssignments_4_0=rulePropertyAssignment(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "propertyAssignments", + lv_propertyAssignments_4_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 6 : + // InternalRDL.g:180:3: ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) + { + // InternalRDL.g:180:3: ( (lv_propertyDefinitions_5_0= rulePropertyDefinition ) ) + // InternalRDL.g:181:4: (lv_propertyDefinitions_5_0= rulePropertyDefinition ) + { + // InternalRDL.g:181:4: (lv_propertyDefinitions_5_0= rulePropertyDefinition ) + // InternalRDL.g:182:5: lv_propertyDefinitions_5_0= rulePropertyDefinition + { + + newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0()); + + pushFollow(FOLLOW_3); + lv_propertyDefinitions_5_0=rulePropertyDefinition(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "propertyDefinitions", + lv_propertyDefinitions_5_0, + "com.minres.rdl.RDL.PropertyDefinition"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRoot" + + + // $ANTLR start "entryRuleInclude" + // InternalRDL.g:203:1: entryRuleInclude returns [EObject current=null] : iv_ruleInclude= ruleInclude EOF ; + public final EObject entryRuleInclude() throws RecognitionException { + EObject current = null; + + EObject iv_ruleInclude = null; + + + try { + // InternalRDL.g:203:48: (iv_ruleInclude= ruleInclude EOF ) + // InternalRDL.g:204:2: iv_ruleInclude= ruleInclude EOF + { + newCompositeNode(grammarAccess.getIncludeRule()); + pushFollow(FOLLOW_1); + iv_ruleInclude=ruleInclude(); + + state._fsp--; + + current =iv_ruleInclude; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInclude" + + + // $ANTLR start "ruleInclude" + // InternalRDL.g:210:1: ruleInclude returns [EObject current=null] : (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) ; + public final EObject ruleInclude() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_importURI_1_0=null; + + + 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:217:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) + // InternalRDL.g:218:3: otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) + { + otherlv_0=(Token)match(input,10,FOLLOW_4); + + 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 ) + { + // InternalRDL.g:223:4: (lv_importURI_1_0= RULE_STR ) + // InternalRDL.g:224:5: lv_importURI_1_0= RULE_STR + { + lv_importURI_1_0=(Token)match(input,RULE_STR,FOLLOW_2); + + newLeafNode(lv_importURI_1_0, grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIncludeRule()); + } + setWithLastConsumed( + current, + "importURI", + lv_importURI_1_0, + "com.minres.rdl.RDL.STR"); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInclude" + + + // $ANTLR start "entryRulePropertyDefinition" + // InternalRDL.g:244:1: entryRulePropertyDefinition returns [EObject current=null] : iv_rulePropertyDefinition= rulePropertyDefinition EOF ; + public final EObject entryRulePropertyDefinition() throws RecognitionException { + EObject current = null; + + EObject iv_rulePropertyDefinition = null; + + + try { + // InternalRDL.g:244:59: (iv_rulePropertyDefinition= rulePropertyDefinition EOF ) + // InternalRDL.g:245:2: iv_rulePropertyDefinition= rulePropertyDefinition EOF + { + newCompositeNode(grammarAccess.getPropertyDefinitionRule()); + pushFollow(FOLLOW_1); + iv_rulePropertyDefinition=rulePropertyDefinition(); + + state._fsp--; + + current =iv_rulePropertyDefinition; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyDefinition" + + + // $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= ';' ) ; + public final EObject rulePropertyDefinition() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_12=null; + Token otherlv_13=null; + Token otherlv_15=null; + Token otherlv_18=null; + Token otherlv_19=null; + Token otherlv_21=null; + Token otherlv_23=null; + Token otherlv_24=null; + Token otherlv_26=null; + Token otherlv_29=null; + Token otherlv_30=null; + Token otherlv_32=null; + Token otherlv_33=null; + Token otherlv_34=null; + Enumerator lv_type_5_0 = null; + + EObject lv_usage_7_0 = null; + + EObject lv_default_8_0 = null; + + EObject lv_default_9_0 = null; + + EObject lv_usage_10_0 = null; + + EObject lv_usage_11_0 = null; + + Enumerator lv_type_14_0 = null; + + EObject lv_default_16_0 = null; + + EObject lv_default_17_0 = null; + + Enumerator lv_type_20_0 = null; + + EObject lv_default_22_0 = null; + + Enumerator lv_type_25_0 = null; + + EObject lv_usage_27_0 = null; + + EObject lv_usage_28_0 = null; + + Enumerator lv_type_31_0 = null; + + + + 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: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= ';' + { + otherlv_0=(Token)match(input,11,FOLLOW_5); + + 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 ) + { + // InternalRDL.g:264:4: (lv_name_1_0= RULE_ID ) + // InternalRDL.g:265:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_6); + + newLeafNode(lv_name_1_0, grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefinitionRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + + + } + + + } + + otherlv_2=(Token)match(input,12,FOLLOW_7); + + 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= ';' ) ) ) ) + int alt7=3; + switch ( input.LA(1) ) { + case 13: + { + alt7=1; + } + break; + case 20: + { + alt7=2; + } + break; + case 17: + { + alt7=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + 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: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 ) ) ) ) + { + otherlv_3=(Token)match(input,13,FOLLOW_8); + + newLeafNode(otherlv_3, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + + otherlv_4=(Token)match(input,14,FOLLOW_9); + + 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 ) + { + // InternalRDL.g:296:6: (lv_type_5_0= rulePropertyTypeName ) + // InternalRDL.g:297:7: lv_type_5_0= rulePropertyTypeName + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); + + pushFollow(FOLLOW_10); + lv_type_5_0=rulePropertyTypeName(); + + state._fsp--; + + + 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,15,FOLLOW_7); + + 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 ) ) ) ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==20) ) { + alt3=1; + } + else if ( (LA3_0==17) ) { + alt3=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // InternalRDL.g:319: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:320:7: ( (lv_usage_7_0= rulePropertyUsage ) ) + // InternalRDL.g:321:8: (lv_usage_7_0= rulePropertyUsage ) + { + // InternalRDL.g:321:8: (lv_usage_7_0= rulePropertyUsage ) + // InternalRDL.g:322:9: lv_usage_7_0= rulePropertyUsage + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0()); + + pushFollow(FOLLOW_11); + lv_usage_7_0=rulePropertyUsage(); + + state._fsp--; + + + 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 ) )? + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==17) ) { + alt2=1; + } + switch (alt2) { + case 1 : + // InternalRDL.g:340:8: (lv_default_8_0= rulePropertyDefault ) + { + // InternalRDL.g:340:8: (lv_default_8_0= rulePropertyDefault ) + // InternalRDL.g:341:9: lv_default_8_0= rulePropertyDefault + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0()); + + pushFollow(FOLLOW_12); + lv_default_8_0=rulePropertyDefault(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_8_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:360: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:361:7: ( (lv_default_9_0= rulePropertyDefault ) ) + // InternalRDL.g:362:8: (lv_default_9_0= rulePropertyDefault ) + { + // InternalRDL.g:362:8: (lv_default_9_0= rulePropertyDefault ) + // InternalRDL.g:363:9: lv_default_9_0= rulePropertyDefault + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0()); + + pushFollow(FOLLOW_13); + lv_default_9_0=rulePropertyDefault(); + + state._fsp--; + + + 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:381:8: (lv_usage_10_0= rulePropertyUsage ) + // InternalRDL.g:382:9: lv_usage_10_0= rulePropertyUsage + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0()); + + pushFollow(FOLLOW_12); + lv_usage_10_0=rulePropertyUsage(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_10_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + break; + + } + + + } + + + } + 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: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:404:5: ( (lv_usage_11_0= rulePropertyUsage ) ) + // InternalRDL.g:405:6: (lv_usage_11_0= rulePropertyUsage ) + { + // InternalRDL.g:405:6: (lv_usage_11_0= rulePropertyUsage ) + // InternalRDL.g:406:7: lv_usage_11_0= rulePropertyUsage + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); + + pushFollow(FOLLOW_7); + lv_usage_11_0=rulePropertyUsage(); + + state._fsp--; + + + 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= ';' ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==13) ) { + alt5=1; + } + else if ( (LA5_0==17) ) { + alt5=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + 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: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 ) )? + { + otherlv_12=(Token)match(input,13,FOLLOW_8); + + newLeafNode(otherlv_12, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + + otherlv_13=(Token)match(input,14,FOLLOW_9); + + 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 ) + { + // InternalRDL.g:434:8: (lv_type_14_0= rulePropertyTypeName ) + // InternalRDL.g:435:9: lv_type_14_0= rulePropertyTypeName + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0()); + + pushFollow(FOLLOW_10); + lv_type_14_0=rulePropertyTypeName(); + + state._fsp--; + + + 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,15,FOLLOW_11); + + newLeafNode(otherlv_15, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + + // InternalRDL.g:456:7: ( (lv_default_16_0= rulePropertyDefault ) )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==17) ) { + alt4=1; + } + switch (alt4) { + case 1 : + // InternalRDL.g:457:8: (lv_default_16_0= rulePropertyDefault ) + { + // InternalRDL.g:457:8: (lv_default_16_0= rulePropertyDefault ) + // InternalRDL.g:458:9: lv_default_16_0= rulePropertyDefault + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0()); + + pushFollow(FOLLOW_12); + lv_default_16_0=rulePropertyDefault(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_16_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + } + + + } + + + } + 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: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:478:7: ( (lv_default_17_0= rulePropertyDefault ) ) + // InternalRDL.g:479:8: (lv_default_17_0= rulePropertyDefault ) + { + // InternalRDL.g:479:8: (lv_default_17_0= rulePropertyDefault ) + // InternalRDL.g:480:9: lv_default_17_0= rulePropertyDefault + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0()); + + pushFollow(FOLLOW_14); + lv_default_17_0=rulePropertyDefault(); + + state._fsp--; + + + 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,13,FOLLOW_8); + + newLeafNode(otherlv_18, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + + otherlv_19=(Token)match(input,14,FOLLOW_9); + + 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 ) + { + // InternalRDL.g:506:8: (lv_type_20_0= rulePropertyTypeName ) + // InternalRDL.g:507:9: lv_type_20_0= rulePropertyTypeName + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0()); + + pushFollow(FOLLOW_10); + lv_type_20_0=rulePropertyTypeName(); + + state._fsp--; + + + 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,15,FOLLOW_12); + + newLeafNode(otherlv_21, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + + + } + + + } + break; + + } + + + } + + + } + 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: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:533:5: ( (lv_default_22_0= rulePropertyDefault ) ) + // InternalRDL.g:534:6: (lv_default_22_0= rulePropertyDefault ) + { + // InternalRDL.g:534:6: (lv_default_22_0= rulePropertyDefault ) + // InternalRDL.g:535:7: lv_default_22_0= rulePropertyDefault + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); + + pushFollow(FOLLOW_15); + lv_default_22_0=rulePropertyDefault(); + + state._fsp--; + + + 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= ';' ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==13) ) { + alt6=1; + } + else if ( (LA6_0==20) ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + 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: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 ) ) + { + otherlv_23=(Token)match(input,13,FOLLOW_8); + + newLeafNode(otherlv_23, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + + otherlv_24=(Token)match(input,14,FOLLOW_9); + + 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 ) + { + // InternalRDL.g:563:8: (lv_type_25_0= rulePropertyTypeName ) + // InternalRDL.g:564:9: lv_type_25_0= rulePropertyTypeName + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0()); + + pushFollow(FOLLOW_10); + lv_type_25_0=rulePropertyTypeName(); + + state._fsp--; + + + 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,15,FOLLOW_13); + + 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 ) + { + // InternalRDL.g:586:8: (lv_usage_27_0= rulePropertyUsage ) + // InternalRDL.g:587:9: lv_usage_27_0= rulePropertyUsage + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0()); + + pushFollow(FOLLOW_12); + lv_usage_27_0=rulePropertyUsage(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_27_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + 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: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:607:7: ( (lv_usage_28_0= rulePropertyUsage ) ) + // InternalRDL.g:608:8: (lv_usage_28_0= rulePropertyUsage ) + { + // InternalRDL.g:608:8: (lv_usage_28_0= rulePropertyUsage ) + // InternalRDL.g:609:9: lv_usage_28_0= rulePropertyUsage + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0()); + + pushFollow(FOLLOW_14); + lv_usage_28_0=rulePropertyUsage(); + + state._fsp--; + + + 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,13,FOLLOW_8); + + newLeafNode(otherlv_29, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + + otherlv_30=(Token)match(input,14,FOLLOW_9); + + 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 ) + { + // InternalRDL.g:635:8: (lv_type_31_0= rulePropertyTypeName ) + // InternalRDL.g:636:9: lv_type_31_0= rulePropertyTypeName + { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0()); + + pushFollow(FOLLOW_10); + lv_type_31_0=rulePropertyTypeName(); + + state._fsp--; + + + 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,15,FOLLOW_12); + + newLeafNode(otherlv_32, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + + + } + + + } + break; + + } + + + } + + + } + break; + + } + + otherlv_33=(Token)match(input,16,FOLLOW_10); + + newLeafNode(otherlv_33, grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + + otherlv_34=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_34, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyDefinition" + + + // $ANTLR start "entryRulePropertyDefault" + // InternalRDL.g:673:1: entryRulePropertyDefault returns [EObject current=null] : iv_rulePropertyDefault= rulePropertyDefault EOF ; + public final EObject entryRulePropertyDefault() throws RecognitionException { + EObject current = null; + + EObject iv_rulePropertyDefault = null; + + + try { + // InternalRDL.g:673:56: (iv_rulePropertyDefault= rulePropertyDefault EOF ) + // InternalRDL.g:674:2: iv_rulePropertyDefault= rulePropertyDefault EOF + { + newCompositeNode(grammarAccess.getPropertyDefaultRule()); + pushFollow(FOLLOW_1); + iv_rulePropertyDefault=rulePropertyDefault(); + + state._fsp--; + + current =iv_rulePropertyDefault; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyDefault" + + + // $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= ';' ) ; + public final EObject rulePropertyDefault() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token lv_string_2_0=null; + Token lv_value_3_0=null; + Token lv_string_4_0=null; + Token lv_string_5_0=null; + Token otherlv_6=null; + + + 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: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= ';' + { + otherlv_0=(Token)match(input,17,FOLLOW_8); + + newLeafNode(otherlv_0, grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + + otherlv_1=(Token)match(input,14,FOLLOW_16); + + 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' ) ) ) + int alt8=4; + switch ( input.LA(1) ) { + case RULE_STR: + { + alt8=1; + } + break; + case RULE_NUM: + { + alt8=2; + } + break; + case 18: + { + alt8=3; + } + break; + case 19: + { + alt8=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + + switch (alt8) { + case 1 : + // InternalRDL.g:697: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:698:5: (lv_string_2_0= RULE_STR ) + // InternalRDL.g:699:6: lv_string_2_0= RULE_STR + { + lv_string_2_0=(Token)match(input,RULE_STR,FOLLOW_10); + + newLeafNode(lv_string_2_0, grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed( + current, + "string", + lv_string_2_0, + "com.minres.rdl.RDL.STR"); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:716: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:717:5: (lv_value_3_0= RULE_NUM ) + // InternalRDL.g:718:6: lv_value_3_0= RULE_NUM + { + lv_value_3_0=(Token)match(input,RULE_NUM,FOLLOW_10); + + newLeafNode(lv_value_3_0, grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_3_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:735: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:736:5: (lv_string_4_0= 'true' ) + // InternalRDL.g:737:6: lv_string_4_0= 'true' + { + lv_string_4_0=(Token)match(input,18,FOLLOW_10); + + newLeafNode(lv_string_4_0, grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed(current, "string", lv_string_4_0, "true"); + + + } + + + } + + + } + break; + case 4 : + // InternalRDL.g:750: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:751:5: (lv_string_5_0= 'false' ) + // InternalRDL.g:752:6: lv_string_5_0= 'false' + { + lv_string_5_0=(Token)match(input,19,FOLLOW_10); + + newLeafNode(lv_string_5_0, grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed(current, "string", lv_string_5_0, "false"); + + + } + + + } + + + } + break; + + } + + otherlv_6=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_6, grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyDefault" + + + // $ANTLR start "entryRulePropertyUsage" + // InternalRDL.g:773:1: entryRulePropertyUsage returns [EObject current=null] : iv_rulePropertyUsage= rulePropertyUsage EOF ; + public final EObject entryRulePropertyUsage() throws RecognitionException { + EObject current = null; + + EObject iv_rulePropertyUsage = null; + + + try { + // InternalRDL.g:773:54: (iv_rulePropertyUsage= rulePropertyUsage EOF ) + // InternalRDL.g:774:2: iv_rulePropertyUsage= rulePropertyUsage EOF + { + newCompositeNode(grammarAccess.getPropertyUsageRule()); + pushFollow(FOLLOW_1); + iv_rulePropertyUsage=rulePropertyUsage(); + + state._fsp--; + + current =iv_rulePropertyUsage; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyUsage" + + + // $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= ';' ) ; + public final EObject rulePropertyUsage() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + Enumerator lv_components_2_0 = null; + + Enumerator lv_components_4_0 = null; + + + + 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: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= ';' + { + otherlv_0=(Token)match(input,20,FOLLOW_8); + + newLeafNode(otherlv_0, grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + + otherlv_1=(Token)match(input,14,FOLLOW_17); + + 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 ) + { + // InternalRDL.g:797:4: (lv_components_2_0= rulePropertyComponent ) + // InternalRDL.g:798:5: lv_components_2_0= rulePropertyComponent + { + + newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); + + pushFollow(FOLLOW_18); + lv_components_2_0=rulePropertyComponent(); + + state._fsp--; + + + 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 ) ) )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==21) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalRDL.g:816:4: otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) + { + otherlv_3=(Token)match(input,21,FOLLOW_17); + + 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 ) + { + // InternalRDL.g:821:5: (lv_components_4_0= rulePropertyComponent ) + // InternalRDL.g:822:6: lv_components_4_0= rulePropertyComponent + { + + newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); + + pushFollow(FOLLOW_18); + lv_components_4_0=rulePropertyComponent(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyUsageRule()); + } + add( + current, + "components", + lv_components_4_0, + "com.minres.rdl.RDL.PropertyComponent"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop9; + } + } while (true); + + otherlv_5=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyUsage" + + + // $ANTLR start "entryRuleComponentDefinition" + // InternalRDL.g:848:1: entryRuleComponentDefinition returns [EObject current=null] : iv_ruleComponentDefinition= ruleComponentDefinition EOF ; + public final EObject entryRuleComponentDefinition() throws RecognitionException { + EObject current = null; + + EObject iv_ruleComponentDefinition = null; + + + try { + // InternalRDL.g:848:60: (iv_ruleComponentDefinition= ruleComponentDefinition EOF ) + // InternalRDL.g:849:2: iv_ruleComponentDefinition= ruleComponentDefinition EOF + { + newCompositeNode(grammarAccess.getComponentDefinitionRule()); + pushFollow(FOLLOW_1); + iv_ruleComponentDefinition=ruleComponentDefinition(); + + state._fsp--; + + current =iv_ruleComponentDefinition; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleComponentDefinition" + + + // $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= ';' ) ; + 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; + Enumerator lv_type_0_0 = null; + + EObject lv_componentDefinitions_3_0 = null; + + EObject lv_namedInstantiations_4_0 = null; + + EObject lv_propertyAssignments_5_0 = null; + + EObject lv_enumDefinitions_6_0 = null; + + EObject lv_immediateInstantiation_8_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: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:863:3: ( (lv_type_0_0= ruleComponentDefinitionType ) ) + // InternalRDL.g:864:4: (lv_type_0_0= ruleComponentDefinitionType ) + { + // InternalRDL.g:864:4: (lv_type_0_0= ruleComponentDefinitionType ) + // InternalRDL.g:865:5: lv_type_0_0= ruleComponentDefinitionType + { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); + + pushFollow(FOLLOW_19); + lv_type_0_0=ruleComponentDefinitionType(); + + state._fsp--; + + + 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 ) )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==RULE_ID) ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalRDL.g:883: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 + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_6); + + newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getComponentDefinitionRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + + + } + + + } + break; + + } + + otherlv_2=(Token)match(input,12,FOLLOW_20); + + 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 ) ) )* + loop11: + do { + int alt11=5; + switch ( input.LA(1) ) { + case 40: + case 41: + case 42: + case 43: + case 45: + { + alt11=1; + } + break; + case 22: + case 24: + { + alt11=2; + } + break; + case 23: + { + int LA11_4 = input.LA(2); + + if ( (LA11_4==RULE_ID||LA11_4==24) ) { + alt11=2; + } + else if ( ((LA11_4>=14 && LA11_4<=15)) ) { + alt11=3; + } + + + } + break; + case RULE_ID: + { + int LA11_5 = input.LA(2); + + if ( ((LA11_5>=14 && LA11_5<=15)||(LA11_5>=32 && LA11_5<=33)) ) { + alt11=3; + } + else if ( (LA11_5==RULE_ID) ) { + alt11=2; + } + + + } + break; + case 17: + case 35: + case 36: + 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 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 128: + case 129: + case 130: + case 131: + case 132: + { + alt11=3; + } + break; + case 34: + { + alt11=4; + } + break; + + } + + switch (alt11) { + case 1 : + // InternalRDL.g:905:4: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) + { + // InternalRDL.g:905:4: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) + // InternalRDL.g:906:5: (lv_componentDefinitions_3_0= ruleComponentDefinition ) + { + // InternalRDL.g:906:5: (lv_componentDefinitions_3_0= ruleComponentDefinition ) + // InternalRDL.g:907:6: lv_componentDefinitions_3_0= ruleComponentDefinition + { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_20); + lv_componentDefinitions_3_0=ruleComponentDefinition(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "componentDefinitions", + lv_componentDefinitions_3_0, + "com.minres.rdl.RDL.ComponentDefinition"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:925:4: ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) + { + // InternalRDL.g:925:4: ( (lv_namedInstantiations_4_0= ruleNamedInstantiation ) ) + // InternalRDL.g:926:5: (lv_namedInstantiations_4_0= ruleNamedInstantiation ) + { + // InternalRDL.g:926:5: (lv_namedInstantiations_4_0= ruleNamedInstantiation ) + // InternalRDL.g:927:6: lv_namedInstantiations_4_0= ruleNamedInstantiation + { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_20); + lv_namedInstantiations_4_0=ruleNamedInstantiation(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "namedInstantiations", + lv_namedInstantiations_4_0, + "com.minres.rdl.RDL.NamedInstantiation"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:945:4: ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) + { + // InternalRDL.g:945:4: ( (lv_propertyAssignments_5_0= rulePropertyAssignment ) ) + // InternalRDL.g:946:5: (lv_propertyAssignments_5_0= rulePropertyAssignment ) + { + // InternalRDL.g:946:5: (lv_propertyAssignments_5_0= rulePropertyAssignment ) + // InternalRDL.g:947:6: lv_propertyAssignments_5_0= rulePropertyAssignment + { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0()); + + pushFollow(FOLLOW_20); + lv_propertyAssignments_5_0=rulePropertyAssignment(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "propertyAssignments", + lv_propertyAssignments_5_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 4 : + // InternalRDL.g:965:4: ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) + { + // InternalRDL.g:965:4: ( (lv_enumDefinitions_6_0= ruleEnumDefinition ) ) + // InternalRDL.g:966:5: (lv_enumDefinitions_6_0= ruleEnumDefinition ) + { + // InternalRDL.g:966:5: (lv_enumDefinitions_6_0= ruleEnumDefinition ) + // InternalRDL.g:967:6: lv_enumDefinitions_6_0= ruleEnumDefinition + { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0()); + + pushFollow(FOLLOW_20); + lv_enumDefinitions_6_0=ruleEnumDefinition(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "enumDefinitions", + lv_enumDefinitions_6_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop11; + } + } while (true); + + otherlv_7=(Token)match(input,16,FOLLOW_21); + + 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==22) ) { + alt12=1; + } + 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,15,FOLLOW_2); + + newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_6()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $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 { + EObject current = null; + + EObject iv_ruleNamedInstantiation = null; + + + try { + // InternalRDL.g:1016:59: (iv_ruleNamedInstantiation= ruleNamedInstantiation EOF ) + // InternalRDL.g:1017:2: iv_ruleNamedInstantiation= ruleNamedInstantiation EOF + { + newCompositeNode(grammarAccess.getNamedInstantiationRule()); + pushFollow(FOLLOW_1); + iv_ruleNamedInstantiation=ruleNamedInstantiation(); + + state._fsp--; + + current =iv_ruleNamedInstantiation; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleNamedInstantiation" + + + // $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 { + 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; + + EObject lv_componentInstances_7_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: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:1031:3: ( (lv_external_0_0= 'external' ) )? + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==22) ) { + 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,22,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==23) ) { + 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,23,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 ) ) )? + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==24) ) { + alt15=1; + } + switch (alt15) { + case 1 : + // InternalRDL.g:1060:4: otherlv_2= 'alias' ( (lv_alias_3_0= RULE_ID ) ) + { + otherlv_2=(Token)match(input,24,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:1065:5: (lv_alias_3_0= RULE_ID ) + // InternalRDL.g:1066:6: lv_alias_3_0= RULE_ID + { + lv_alias_3_0=(Token)match(input,RULE_ID,FOLLOW_5); + + newLeafNode(lv_alias_3_0, grammarAccess.getNamedInstantiationAccess().getAliasIDTerminalRuleCall_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getNamedInstantiationRule()); + } + setWithLastConsumed( + current, + "alias", + lv_alias_3_0, + "com.minres.rdl.RDL.ID"); + + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1083:3: ( (otherlv_4= RULE_ID ) ) + // InternalRDL.g:1084:4: (otherlv_4= RULE_ID ) + { + // InternalRDL.g:1084:4: (otherlv_4= RULE_ID ) + // InternalRDL.g:1085:5: otherlv_4= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getNamedInstantiationRule()); + } + + otherlv_4=(Token)match(input,RULE_ID,FOLLOW_24); + + newLeafNode(otherlv_4, grammarAccess.getNamedInstantiationAccess().getComponentComponentDefinitionCrossReference_3_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(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getNamedInstantiationRule()); + } + add( + current, + "componentInstances", + lv_componentInstances_5_0, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalRDL.g:1115:3: (otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) )* + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==25) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // InternalRDL.g:1116:4: otherlv_6= ',' ( (lv_componentInstances_7_0= ruleComponentInstance ) ) + { + otherlv_6=(Token)match(input,25,FOLLOW_24); + + 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 ) + { + // InternalRDL.g:1121:5: (lv_componentInstances_7_0= ruleComponentInstance ) + // InternalRDL.g:1122:6: lv_componentInstances_7_0= ruleComponentInstance + { + + newCompositeNode(grammarAccess.getNamedInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_5_1_0()); + + pushFollow(FOLLOW_25); + lv_componentInstances_7_0=ruleComponentInstance(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getNamedInstantiationRule()); + } + add( + current, + "componentInstances", + lv_componentInstances_7_0, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop16; + } + } while (true); + + otherlv_8=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_8, grammarAccess.getNamedInstantiationAccess().getSemicolonKeyword_6()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + 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==22) ) { + 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,22,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==25) ) { + alt18=1; + } + + + switch (alt18) { + case 1 : + // InternalRDL.g:1197:4: otherlv_2= ',' ( (lv_componentInstances_3_0= ruleComponentInstance ) ) + { + otherlv_2=(Token)match(input,25,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 start "entryRuleComponentInstance" + // InternalRDL.g:1225:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ; + public final EObject entryRuleComponentInstance() throws RecognitionException { + EObject current = null; + + EObject iv_ruleComponentInstance = null; + + + try { + // InternalRDL.g:1225:58: (iv_ruleComponentInstance= ruleComponentInstance EOF ) + // InternalRDL.g:1226:2: iv_ruleComponentInstance= ruleComponentInstance EOF + { + newCompositeNode(grammarAccess.getComponentInstanceRule()); + pushFollow(FOLLOW_1); + iv_ruleComponentInstance=ruleComponentInstance(); + + state._fsp--; + + current =iv_ruleComponentInstance; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleComponentInstance" + + + // $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 ) ) )? ) ; + public final EObject ruleComponentInstance() throws RecognitionException { + EObject current = null; + + Token lv_name_0_0=null; + Token otherlv_2=null; + Token lv_reset_3_0=null; + Token otherlv_4=null; + Token lv_address_5_0=null; + Token otherlv_6=null; + Token lv_addrInc_7_0=null; + Token otherlv_8=null; + Token lv_addrMod_9_0=null; + EObject lv_range_1_0 = null; + + + + 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: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:1240:3: ( (lv_name_0_0= RULE_ID ) ) + // InternalRDL.g:1241: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 + { + lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_27); + + newLeafNode(lv_name_0_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + + + 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 ) )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==29) ) { + alt19=1; + } + switch (alt19) { + case 1 : + // InternalRDL.g:1259:4: (lv_range_1_0= ruleRange ) + { + // InternalRDL.g:1259:4: (lv_range_1_0= ruleRange ) + // InternalRDL.g:1260:5: lv_range_1_0= ruleRange + { + + newCompositeNode(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); + + pushFollow(FOLLOW_28); + lv_range_1_0=ruleRange(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); + } + set( + current, + "range", + lv_range_1_0, + "com.minres.rdl.RDL.Range"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + } + + // InternalRDL.g:1277:3: (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==14) ) { + alt20=1; + } + switch (alt20) { + case 1 : + // InternalRDL.g:1278:4: otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) + { + otherlv_2=(Token)match(input,14,FOLLOW_29); + + 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 ) + { + // InternalRDL.g:1283:5: (lv_reset_3_0= RULE_NUM ) + // InternalRDL.g:1284:6: lv_reset_3_0= RULE_NUM + { + lv_reset_3_0=(Token)match(input,RULE_NUM,FOLLOW_30); + + newLeafNode(lv_reset_3_0, grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + current, + "reset", + lv_reset_3_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1301:3: (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==26) ) { + alt21=1; + } + switch (alt21) { + case 1 : + // InternalRDL.g:1302:4: otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) + { + otherlv_4=(Token)match(input,26,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"); + + + } + + + } + + + } + 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==27) ) { + alt22=1; + } + switch (alt22) { + case 1 : + // InternalRDL.g:1326:4: otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) + { + otherlv_6=(Token)match(input,27,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==28) ) { + alt23=1; + } + switch (alt23) { + case 1 : + // InternalRDL.g:1350:4: otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) + { + otherlv_8=(Token)match(input,28,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"); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleComponentInstance" + + + // $ANTLR start "entryRuleRange" + // InternalRDL.g:1377:1: entryRuleRange returns [EObject current=null] : iv_ruleRange= ruleRange EOF ; + public final EObject entryRuleRange() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRange = null; + + + try { + // InternalRDL.g:1377:46: (iv_ruleRange= ruleRange EOF ) + // InternalRDL.g:1378:2: iv_ruleRange= ruleRange EOF + { + newCompositeNode(grammarAccess.getRangeRule()); + pushFollow(FOLLOW_1); + iv_ruleRange=ruleRange(); + + state._fsp--; + + current =iv_ruleRange; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRange" + + + // $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= ']' ) ; + public final EObject ruleRange() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_start_1_0=null; + Token otherlv_2=null; + Token lv_end_3_0=null; + Token lv_size_4_0=null; + Token otherlv_5=null; + + + 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: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= ']' + { + otherlv_0=(Token)match(input,29,FOLLOW_29); + + 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); + + if ( (LA24_0==RULE_NUM) ) { + int LA24_1 = input.LA(2); + + if ( (LA24_1==30) ) { + alt24=1; + } + else if ( (LA24_1==31) ) { + alt24=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + switch (alt24) { + case 1 : + // InternalRDL.g:1397:4: ( ( (lv_start_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_end_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:1398:5: ( (lv_start_1_0= RULE_NUM ) ) + // InternalRDL.g:1399:6: (lv_start_1_0= RULE_NUM ) + { + // InternalRDL.g:1399:6: (lv_start_1_0= RULE_NUM ) + // InternalRDL.g:1400:7: lv_start_1_0= RULE_NUM + { + lv_start_1_0=(Token)match(input,RULE_NUM,FOLLOW_33); + + newLeafNode(lv_start_1_0, grammarAccess.getRangeAccess().getStartNUMTerminalRuleCall_1_0_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + current, + "start", + lv_start_1_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + otherlv_2=(Token)match(input,30,FOLLOW_29); + + 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 ) + { + // InternalRDL.g:1421:6: (lv_end_3_0= RULE_NUM ) + // InternalRDL.g:1422:7: lv_end_3_0= RULE_NUM + { + lv_end_3_0=(Token)match(input,RULE_NUM,FOLLOW_34); + + newLeafNode(lv_end_3_0, grammarAccess.getRangeAccess().getEndNUMTerminalRuleCall_1_0_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + current, + "end", + lv_end_3_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1440: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:1441:5: (lv_size_4_0= RULE_NUM ) + // InternalRDL.g:1442:6: lv_size_4_0= RULE_NUM + { + lv_size_4_0=(Token)match(input,RULE_NUM,FOLLOW_34); + + newLeafNode(lv_size_4_0, grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + current, + "size", + lv_size_4_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + + } + break; + + } + + otherlv_5=(Token)match(input,31,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRange" + + + // $ANTLR start "entryRulePropertyAssignment" + // InternalRDL.g:1467:1: entryRulePropertyAssignment returns [EObject current=null] : iv_rulePropertyAssignment= rulePropertyAssignment EOF ; + public final EObject entryRulePropertyAssignment() throws RecognitionException { + EObject current = null; + + EObject iv_rulePropertyAssignment = null; + + + try { + // InternalRDL.g:1467:59: (iv_rulePropertyAssignment= rulePropertyAssignment EOF ) + // InternalRDL.g:1468:2: iv_rulePropertyAssignment= rulePropertyAssignment EOF + { + newCompositeNode(grammarAccess.getPropertyAssignmentRule()); + pushFollow(FOLLOW_1); + iv_rulePropertyAssignment=rulePropertyAssignment(); + + state._fsp--; + + current =iv_rulePropertyAssignment; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyAssignment" + + + // $ANTLR start "rulePropertyAssignment" + // InternalRDL.g:1474: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; + + EObject this_DefaultProperyAssignment_0 = null; + + EObject this_ExplicitPropertyAssignment_1 = null; + + EObject this_PostPropertyAssignment_2 = null; + + + + 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:1481:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) + int alt25=3; + switch ( input.LA(1) ) { + case 17: + { + alt25=1; + } + break; + case 23: + case 35: + case 36: + 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 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 128: + case 129: + case 130: + case 131: + case 132: + { + alt25=2; + } + break; + case RULE_ID: + { + alt25=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + + switch (alt25) { + case 1 : + // InternalRDL.g:1482:3: this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment + { + + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_DefaultProperyAssignment_0=ruleDefaultProperyAssignment(); + + state._fsp--; + + + current = this_DefaultProperyAssignment_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalRDL.g:1491:3: this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment + { + + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment(); + + state._fsp--; + + + current = this_ExplicitPropertyAssignment_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalRDL.g:1500:3: this_PostPropertyAssignment_2= rulePostPropertyAssignment + { + + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_PostPropertyAssignment_2=rulePostPropertyAssignment(); + + state._fsp--; + + + current = this_PostPropertyAssignment_2; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyAssignment" + + + // $ANTLR start "entryRuleDefaultProperyAssignment" + // InternalRDL.g:1512:1: entryRuleDefaultProperyAssignment returns [EObject current=null] : iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF ; + public final EObject entryRuleDefaultProperyAssignment() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDefaultProperyAssignment = null; + + + try { + // InternalRDL.g:1512:65: (iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF ) + // InternalRDL.g:1513:2: iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF + { + newCompositeNode(grammarAccess.getDefaultProperyAssignmentRule()); + pushFollow(FOLLOW_1); + iv_ruleDefaultProperyAssignment=ruleDefaultProperyAssignment(); + + state._fsp--; + + current =iv_ruleDefaultProperyAssignment; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDefaultProperyAssignment" + + + // $ANTLR start "ruleDefaultProperyAssignment" + // InternalRDL.g:1519:1: ruleDefaultProperyAssignment returns [EObject current=null] : (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) ; + public final EObject ruleDefaultProperyAssignment() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + EObject this_ExplicitPropertyAssignment_1 = null; + + + + 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:1526:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) + // InternalRDL.g:1527:3: otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment + { + otherlv_0=(Token)match(input,17,FOLLOW_35); + + newLeafNode(otherlv_0, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + + + newCompositeNode(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment(); + + state._fsp--; + + + current = this_ExplicitPropertyAssignment_1; + afterParserOrEnumRuleCall(); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDefaultProperyAssignment" + + + // $ANTLR start "entryRuleExplicitPropertyAssignment" + // InternalRDL.g:1543:1: entryRuleExplicitPropertyAssignment returns [EObject current=null] : iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF ; + public final EObject entryRuleExplicitPropertyAssignment() throws RecognitionException { + EObject current = null; + + EObject iv_ruleExplicitPropertyAssignment = null; + + + try { + // InternalRDL.g:1543:67: (iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF ) + // InternalRDL.g:1544:2: iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentRule()); + pushFollow(FOLLOW_1); + iv_ruleExplicitPropertyAssignment=ruleExplicitPropertyAssignment(); + + state._fsp--; + + current =iv_ruleExplicitPropertyAssignment; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleExplicitPropertyAssignment" + + + // $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= ';' ) ) ; + public final EObject ruleExplicitPropertyAssignment() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Enumerator lv_modifier_0_0 = null; + + Enumerator lv_name_1_0 = null; + + Enumerator lv_name_3_0 = null; + + EObject lv_rhs_5_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: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); + + if ( (LA27_0==119||(LA27_0>=128 && LA27_0<=132)) ) { + alt27=1; + } + else if ( (LA27_0==23||(LA27_0>=35 && LA27_0<=36)||(LA27_0>=47 && LA27_0<=118)) ) { + alt27=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 27, 0, input); + + throw nvae; + } + switch (alt27) { + case 1 : + // InternalRDL.g:1558:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) otherlv_2= ';' ) + { + // 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:1559:4: ( (lv_modifier_0_0= rulePropertyModifier ) ) + // InternalRDL.g:1560:5: (lv_modifier_0_0= rulePropertyModifier ) + { + // InternalRDL.g:1560:5: (lv_modifier_0_0= rulePropertyModifier ) + // InternalRDL.g:1561:6: lv_modifier_0_0= rulePropertyModifier + { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); + + pushFollow(FOLLOW_35); + lv_modifier_0_0=rulePropertyModifier(); + + state._fsp--; + + + 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:1579:5: (lv_name_1_0= ruleProperty ) + // InternalRDL.g:1580:6: lv_name_1_0= ruleProperty + { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); + + pushFollow(FOLLOW_10); + lv_name_1_0=ruleProperty(); + + state._fsp--; + + + 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,15,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_0_2()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:1603:3: ( ( (lv_name_3_0= ruleProperty ) ) (otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) )? otherlv_6= ';' ) + { + // 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:1604:4: ( (lv_name_3_0= ruleProperty ) ) + // InternalRDL.g:1605:5: (lv_name_3_0= ruleProperty ) + { + // InternalRDL.g:1605:5: (lv_name_3_0= ruleProperty ) + // InternalRDL.g:1606:6: lv_name_3_0= ruleProperty + { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + + pushFollow(FOLLOW_36); + lv_name_3_0=ruleProperty(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + current, + "name", + lv_name_3_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); + + if ( (LA26_0==14) ) { + alt26=1; + } + switch (alt26) { + case 1 : + // InternalRDL.g:1624:5: otherlv_4= '=' ( (lv_rhs_5_0= rulePropertyAssignmentRhs ) ) + { + otherlv_4=(Token)match(input,14,FOLLOW_37); + + 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 ) + { + // InternalRDL.g:1629:6: (lv_rhs_5_0= rulePropertyAssignmentRhs ) + // InternalRDL.g:1630:7: lv_rhs_5_0= rulePropertyAssignmentRhs + { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + + pushFollow(FOLLOW_10); + lv_rhs_5_0=rulePropertyAssignmentRhs(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + current, + "rhs", + lv_rhs_5_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + otherlv_6=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_6, grammarAccess.getExplicitPropertyAssignmentAccess().getSemicolonKeyword_1_2()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExplicitPropertyAssignment" + + + // $ANTLR start "entryRulePostPropertyAssignment" + // InternalRDL.g:1657:1: entryRulePostPropertyAssignment returns [EObject current=null] : iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF ; + public final EObject entryRulePostPropertyAssignment() throws RecognitionException { + EObject current = null; + + EObject iv_rulePostPropertyAssignment = null; + + + try { + // InternalRDL.g:1657:63: (iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF ) + // InternalRDL.g:1658:2: iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF + { + newCompositeNode(grammarAccess.getPostPropertyAssignmentRule()); + pushFollow(FOLLOW_1); + iv_rulePostPropertyAssignment=rulePostPropertyAssignment(); + + state._fsp--; + + current =iv_rulePostPropertyAssignment; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePostPropertyAssignment" + + + // $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= ';' ) ; + public final EObject rulePostPropertyAssignment() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + 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; + + EObject lv_rhs_6_0 = null; + + + + 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: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: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); + + if ( (LA29_0==RULE_ID) ) { + int LA29_1 = input.LA(2); + + if ( ((LA29_1>=14 && LA29_1<=15)) ) { + alt29=2; + } + else if ( ((LA29_1>=32 && LA29_1<=33)) ) { + alt29=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 29, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 29, 0, input); + + throw nvae; + } + switch (alt29) { + case 1 : + // InternalRDL.g:1673: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:1674:5: ( (lv_instance_0_0= ruleHierInstanceRef ) ) + // InternalRDL.g:1675:6: (lv_instance_0_0= ruleHierInstanceRef ) + { + // InternalRDL.g:1675:6: (lv_instance_0_0= ruleHierInstanceRef ) + // InternalRDL.g:1676:7: lv_instance_0_0= ruleHierInstanceRef + { + + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); + + pushFollow(FOLLOW_38); + lv_instance_0_0=ruleHierInstanceRef(); + + state._fsp--; + + + 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,32,FOLLOW_39); + + 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==23||(LA28_0>=35 && LA28_0<=36)||(LA28_0>=47 && LA28_0<=118)) ) { + alt28=1; + } + else if ( (LA28_0==RULE_ID) ) { + alt28=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 28, 0, input); + + throw nvae; + } + switch (alt28) { + case 1 : + // InternalRDL.g:1698: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:1699:7: (lv_propertyEnum_2_0= ruleProperty ) + // InternalRDL.g:1700:8: lv_propertyEnum_2_0= ruleProperty + { + + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); + + pushFollow(FOLLOW_36); + lv_propertyEnum_2_0=ruleProperty(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + current, + "propertyEnum", + lv_propertyEnum_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1718:6: ( (otherlv_3= RULE_ID ) ) + { + // InternalRDL.g:1718:6: ( (otherlv_3= RULE_ID ) ) + // InternalRDL.g:1719:7: (otherlv_3= RULE_ID ) + { + // InternalRDL.g:1719:7: (otherlv_3= RULE_ID ) + // InternalRDL.g:1720:8: otherlv_3= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getPostPropertyAssignmentRule()); + } + + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_36); + + newLeafNode(otherlv_3, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); + + + } + + + } + + + } + break; + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1734:4: ( (otherlv_4= RULE_ID ) ) + { + // InternalRDL.g:1734:4: ( (otherlv_4= RULE_ID ) ) + // InternalRDL.g:1735:5: (otherlv_4= RULE_ID ) + { + // InternalRDL.g:1735:5: (otherlv_4= RULE_ID ) + // InternalRDL.g:1736:6: otherlv_4= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getPostPropertyAssignmentRule()); + } + + otherlv_4=(Token)match(input,RULE_ID,FOLLOW_36); + + newLeafNode(otherlv_4, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); + + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1748:3: (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==14) ) { + alt30=1; + } + switch (alt30) { + case 1 : + // InternalRDL.g:1749:4: otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) + { + otherlv_5=(Token)match(input,14,FOLLOW_37); + + 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 ) + { + // InternalRDL.g:1754:5: (lv_rhs_6_0= rulePropertyAssignmentRhs ) + // InternalRDL.g:1755:6: lv_rhs_6_0= rulePropertyAssignmentRhs + { + + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); + + pushFollow(FOLLOW_10); + lv_rhs_6_0=rulePropertyAssignmentRhs(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + current, + "rhs", + lv_rhs_6_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + otherlv_7=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_7, grammarAccess.getPostPropertyAssignmentAccess().getSemicolonKeyword_2()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePostPropertyAssignment" + + + // $ANTLR start "entryRuleInstancePropertyRef" + // InternalRDL.g:1781:1: entryRuleInstancePropertyRef returns [EObject current=null] : iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF ; + public final EObject entryRuleInstancePropertyRef() throws RecognitionException { + EObject current = null; + + EObject iv_ruleInstancePropertyRef = null; + + + try { + // InternalRDL.g:1781:60: (iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF ) + // InternalRDL.g:1782:2: iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF + { + newCompositeNode(grammarAccess.getInstancePropertyRefRule()); + pushFollow(FOLLOW_1); + iv_ruleInstancePropertyRef=ruleInstancePropertyRef(); + + state._fsp--; + + current =iv_ruleInstancePropertyRef; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInstancePropertyRef" + + + // $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 ) ) ) )? ) ; + public final EObject ruleInstancePropertyRef() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + EObject lv_instance_0_0 = null; + + Enumerator lv_propertyEnum_2_0 = null; + + + + 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: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:4: (lv_instance_0_0= ruleInstanceRef ) + // InternalRDL.g:1798:5: lv_instance_0_0= ruleInstanceRef + { + + newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); + + pushFollow(FOLLOW_40); + lv_instance_0_0=ruleInstanceRef(); + + state._fsp--; + + + 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); + + if ( (LA32_0==32) ) { + alt32=1; + } + switch (alt32) { + case 1 : + // InternalRDL.g:1816:4: otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) + { + otherlv_1=(Token)match(input,32,FOLLOW_39); + + 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==23||(LA31_0>=35 && LA31_0<=36)||(LA31_0>=47 && LA31_0<=118)) ) { + alt31=1; + } + else if ( (LA31_0==RULE_ID) ) { + alt31=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 31, 0, input); + + throw nvae; + } + switch (alt31) { + case 1 : + // InternalRDL.g:1821: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:6: (lv_propertyEnum_2_0= ruleProperty ) + // InternalRDL.g:1823:7: lv_propertyEnum_2_0= ruleProperty + { + + newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); + + pushFollow(FOLLOW_2); + lv_propertyEnum_2_0=ruleProperty(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule()); + } + set( + current, + "propertyEnum", + lv_propertyEnum_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1841:5: ( (otherlv_3= RULE_ID ) ) + { + // InternalRDL.g:1841:5: ( (otherlv_3= RULE_ID ) ) + // InternalRDL.g:1842:6: (otherlv_3= RULE_ID ) + { + // InternalRDL.g:1842:6: (otherlv_3= RULE_ID ) + // InternalRDL.g:1843:7: otherlv_3= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getInstancePropertyRefRule()); + } + + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_3, grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); + + + } + + + } + + + } + break; + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInstancePropertyRef" + + + // $ANTLR start "entryRuleInstanceRef" + // InternalRDL.g:1860:1: entryRuleInstanceRef returns [EObject current=null] : iv_ruleInstanceRef= ruleInstanceRef EOF ; + public final EObject entryRuleInstanceRef() throws RecognitionException { + EObject current = null; + + EObject iv_ruleInstanceRef = null; + + + try { + // InternalRDL.g:1860:52: (iv_ruleInstanceRef= ruleInstanceRef EOF ) + // InternalRDL.g:1861:2: iv_ruleInstanceRef= ruleInstanceRef EOF + { + newCompositeNode(grammarAccess.getInstanceRefRule()); + pushFollow(FOLLOW_1); + iv_ruleInstanceRef=ruleInstanceRef(); + + state._fsp--; + + current =iv_ruleInstanceRef; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInstanceRef" + + + // $ANTLR start "ruleInstanceRef" + // InternalRDL.g:1867: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; + + Token otherlv_0=null; + Token otherlv_1=null; + EObject lv_tail_2_0 = null; + + + + 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: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:1875:3: ( (otherlv_0= RULE_ID ) ) + // InternalRDL.g:1876:4: (otherlv_0= RULE_ID ) + { + // InternalRDL.g:1876:4: (otherlv_0= RULE_ID ) + // InternalRDL.g:1877:5: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getInstanceRefRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_41); + + 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); + + if ( (LA33_0==33) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalRDL.g:1889:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) + { + otherlv_1=(Token)match(input,33,FOLLOW_5); + + 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 ) + { + // InternalRDL.g:1894:5: (lv_tail_2_0= ruleHierInstanceRef ) + // InternalRDL.g:1895:6: lv_tail_2_0= ruleHierInstanceRef + { + + newCompositeNode(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + + pushFollow(FOLLOW_2); + lv_tail_2_0=ruleHierInstanceRef(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstanceRefRule()); + } + set( + current, + "tail", + lv_tail_2_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInstanceRef" + + + // $ANTLR start "entryRuleHierInstanceRef" + // InternalRDL.g:1917:1: entryRuleHierInstanceRef returns [EObject current=null] : iv_ruleHierInstanceRef= ruleHierInstanceRef EOF ; + public final EObject entryRuleHierInstanceRef() throws RecognitionException { + EObject current = null; + + EObject iv_ruleHierInstanceRef = null; + + + try { + // InternalRDL.g:1917:56: (iv_ruleHierInstanceRef= ruleHierInstanceRef EOF ) + // InternalRDL.g:1918:2: iv_ruleHierInstanceRef= ruleHierInstanceRef EOF + { + newCompositeNode(grammarAccess.getHierInstanceRefRule()); + pushFollow(FOLLOW_1); + iv_ruleHierInstanceRef=ruleHierInstanceRef(); + + state._fsp--; + + current =iv_ruleHierInstanceRef; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleHierInstanceRef" + + + // $ANTLR start "ruleHierInstanceRef" + // InternalRDL.g:1924: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; + + Token otherlv_0=null; + Token otherlv_1=null; + EObject lv_tail_2_0 = null; + + + + 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: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:1932:3: ( (otherlv_0= RULE_ID ) ) + // InternalRDL.g:1933:4: (otherlv_0= RULE_ID ) + { + // InternalRDL.g:1933:4: (otherlv_0= RULE_ID ) + // InternalRDL.g:1934:5: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getHierInstanceRefRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_41); + + 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); + + if ( (LA34_0==33) ) { + alt34=1; + } + switch (alt34) { + case 1 : + // InternalRDL.g:1946:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) + { + otherlv_1=(Token)match(input,33,FOLLOW_5); + + 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 ) + { + // InternalRDL.g:1951:5: (lv_tail_2_0= ruleHierInstanceRef ) + // InternalRDL.g:1952:6: lv_tail_2_0= ruleHierInstanceRef + { + + newCompositeNode(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + + pushFollow(FOLLOW_2); + lv_tail_2_0=ruleHierInstanceRef(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getHierInstanceRefRule()); + } + set( + current, + "tail", + lv_tail_2_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleHierInstanceRef" + + + // $ANTLR start "entryRulePropertyAssignmentRhs" + // InternalRDL.g:1974:1: entryRulePropertyAssignmentRhs returns [EObject current=null] : iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF ; + public final EObject entryRulePropertyAssignmentRhs() throws RecognitionException { + EObject current = null; + + EObject iv_rulePropertyAssignmentRhs = null; + + + try { + // InternalRDL.g:1974:62: (iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF ) + // InternalRDL.g:1975:2: iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF + { + newCompositeNode(grammarAccess.getPropertyAssignmentRhsRule()); + pushFollow(FOLLOW_1); + iv_rulePropertyAssignmentRhs=rulePropertyAssignmentRhs(); + + state._fsp--; + + current =iv_rulePropertyAssignmentRhs; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyAssignmentRhs" + + + // $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 ) ) ) ; + public final EObject rulePropertyAssignmentRhs() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + Token otherlv_3=null; + EObject lv_value_0_0 = null; + + EObject lv_instPropRef_1_0 = null; + + EObject lv_enums_4_0 = null; + + EObject lv_elements_5_0 = null; + + + + 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: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; + switch ( input.LA(1) ) { + case RULE_STR: + case RULE_NUM: + case 18: + case 19: + case 104: + case 105: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: + { + alt35=1; + } + break; + case RULE_ID: + { + int LA35_2 = input.LA(2); + + if ( (LA35_2==34) ) { + alt35=3; + } + else if ( (LA35_2==EOF||LA35_2==15||(LA35_2>=32 && LA35_2<=33)) ) { + alt35=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 35, 2, input); + + throw nvae; + } + } + break; + case 12: + { + alt35=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 35, 0, input); + + throw nvae; + } + + switch (alt35) { + case 1 : + // InternalRDL.g:1989: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:1990:4: (lv_value_0_0= rulePropertyRvalueConstant ) + // InternalRDL.g:1991:5: lv_value_0_0= rulePropertyRvalueConstant + { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); + + pushFollow(FOLLOW_2); + lv_value_0_0=rulePropertyRvalueConstant(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "value", + lv_value_0_0, + "com.minres.rdl.RDL.PropertyRvalueConstant"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2009: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:2010:4: (lv_instPropRef_1_0= ruleInstancePropertyRef ) + // InternalRDL.g:2011:5: lv_instPropRef_1_0= ruleInstancePropertyRef + { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); + + pushFollow(FOLLOW_2); + lv_instPropRef_1_0=ruleInstancePropertyRef(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "instPropRef", + lv_instPropRef_1_0, + "com.minres.rdl.RDL.InstancePropertyRef"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:2029: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:2030:4: ( (otherlv_2= RULE_ID ) ) + // InternalRDL.g:2031:5: (otherlv_2= RULE_ID ) + { + // InternalRDL.g:2031:5: (otherlv_2= RULE_ID ) + // InternalRDL.g:2032:6: otherlv_2= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyAssignmentRhsRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_42); + + newLeafNode(otherlv_2, grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); + + + } + + + } + + otherlv_3=(Token)match(input,34,FOLLOW_6); + + 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 ) + { + // InternalRDL.g:2048:5: (lv_enums_4_0= ruleEnumBody ) + // InternalRDL.g:2049:6: lv_enums_4_0= ruleEnumBody + { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); + + pushFollow(FOLLOW_2); + lv_enums_4_0=ruleEnumBody(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "enums", + lv_enums_4_0, + "com.minres.rdl.RDL.EnumBody"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + break; + case 4 : + // InternalRDL.g:2068: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:2069:4: (lv_elements_5_0= ruleConcat ) + // InternalRDL.g:2070:5: lv_elements_5_0= ruleConcat + { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); + + pushFollow(FOLLOW_2); + lv_elements_5_0=ruleConcat(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "elements", + lv_elements_5_0, + "com.minres.rdl.RDL.Concat"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyAssignmentRhs" + + + // $ANTLR start "entryRuleConcat" + // InternalRDL.g:2091:1: entryRuleConcat returns [EObject current=null] : iv_ruleConcat= ruleConcat EOF ; + public final EObject entryRuleConcat() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConcat = null; + + + try { + // InternalRDL.g:2091:47: (iv_ruleConcat= ruleConcat EOF ) + // InternalRDL.g:2092:2: iv_ruleConcat= ruleConcat EOF + { + newCompositeNode(grammarAccess.getConcatRule()); + pushFollow(FOLLOW_1); + iv_ruleConcat=ruleConcat(); + + state._fsp--; + + current =iv_ruleConcat; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConcat" + + + // $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= '}' ) ; + public final EObject ruleConcat() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_elements_1_0 = null; + + EObject lv_elements_3_0 = null; + + + + 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: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= '}' + { + otherlv_0=(Token)match(input,12,FOLLOW_43); + + 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 ) + { + // InternalRDL.g:2111:4: (lv_elements_1_0= ruleConcatElem ) + // InternalRDL.g:2112:5: lv_elements_1_0= ruleConcatElem + { + + newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); + + pushFollow(FOLLOW_44); + lv_elements_1_0=ruleConcatElem(); + + state._fsp--; + + + 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: + do { + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==25) ) { + alt36=1; + } + + + switch (alt36) { + case 1 : + // InternalRDL.g:2130:4: otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) + { + otherlv_2=(Token)match(input,25,FOLLOW_43); + + 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 ) + { + // InternalRDL.g:2135:5: (lv_elements_3_0= ruleConcatElem ) + // InternalRDL.g:2136:6: lv_elements_3_0= ruleConcatElem + { + + newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_44); + lv_elements_3_0=ruleConcatElem(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConcatRule()); + } + add( + current, + "elements", + lv_elements_3_0, + "com.minres.rdl.RDL.ConcatElem"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop36; + } + } while (true); + + otherlv_4=(Token)match(input,16,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConcat" + + + // $ANTLR start "entryRuleConcatElem" + // InternalRDL.g:2162:1: entryRuleConcatElem returns [EObject current=null] : iv_ruleConcatElem= ruleConcatElem EOF ; + public final EObject entryRuleConcatElem() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConcatElem = null; + + + try { + // InternalRDL.g:2162:51: (iv_ruleConcatElem= ruleConcatElem EOF ) + // InternalRDL.g:2163:2: iv_ruleConcatElem= ruleConcatElem EOF + { + newCompositeNode(grammarAccess.getConcatElemRule()); + pushFollow(FOLLOW_1); + iv_ruleConcatElem=ruleConcatElem(); + + state._fsp--; + + current =iv_ruleConcatElem; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConcatElem" + + + // $ANTLR start "ruleConcatElem" + // InternalRDL.g:2169: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; + + Token lv_value_1_0=null; + EObject lv_instPropRef_0_0 = null; + + + + 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:2176:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==RULE_ID) ) { + alt37=1; + } + else if ( (LA37_0==RULE_NUM) ) { + alt37=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 37, 0, input); + + throw nvae; + } + switch (alt37) { + case 1 : + // InternalRDL.g:2177: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:2178:4: (lv_instPropRef_0_0= ruleInstancePropertyRef ) + // InternalRDL.g:2179:5: lv_instPropRef_0_0= ruleInstancePropertyRef + { + + newCompositeNode(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); + + pushFollow(FOLLOW_2); + lv_instPropRef_0_0=ruleInstancePropertyRef(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConcatElemRule()); + } + set( + current, + "instPropRef", + lv_instPropRef_0_0, + "com.minres.rdl.RDL.InstancePropertyRef"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2197: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:2198:4: (lv_value_1_0= RULE_NUM ) + // InternalRDL.g:2199:5: lv_value_1_0= RULE_NUM + { + lv_value_1_0=(Token)match(input,RULE_NUM,FOLLOW_2); + + newLeafNode(lv_value_1_0, grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getConcatElemRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_1_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConcatElem" + + + // $ANTLR start "entryRulePropertyRvalueConstant" + // InternalRDL.g:2219:1: entryRulePropertyRvalueConstant returns [EObject current=null] : iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF ; + public final EObject entryRulePropertyRvalueConstant() throws RecognitionException { + EObject current = null; + + EObject iv_rulePropertyRvalueConstant = null; + + + try { + // InternalRDL.g:2219:63: (iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF ) + // InternalRDL.g:2220:2: iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF + { + newCompositeNode(grammarAccess.getPropertyRvalueConstantRule()); + pushFollow(FOLLOW_1); + iv_rulePropertyRvalueConstant=rulePropertyRvalueConstant(); + + state._fsp--; + + current =iv_rulePropertyRvalueConstant; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyRvalueConstant" + + + // $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 ) ) ) ; + public final EObject rulePropertyRvalueConstant() throws RecognitionException { + EObject current = null; + + Token lv_num_1_0=null; + Token lv_str_2_0=null; + Enumerator lv_val_0_0 = null; + + + + 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:2233:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) + int alt38=3; + switch ( input.LA(1) ) { + case 18: + case 19: + case 104: + case 105: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: + { + alt38=1; + } + break; + case RULE_NUM: + { + alt38=2; + } + break; + case RULE_STR: + { + alt38=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 38, 0, input); + + throw nvae; + } + + switch (alt38) { + case 1 : + // InternalRDL.g:2234: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:2235:4: (lv_val_0_0= ruleRValueConstant ) + // InternalRDL.g:2236:5: lv_val_0_0= ruleRValueConstant + { + + newCompositeNode(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); + + pushFollow(FOLLOW_2); + lv_val_0_0=ruleRValueConstant(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyRvalueConstantRule()); + } + set( + current, + "val", + lv_val_0_0, + "com.minres.rdl.RDL.RValueConstant"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2254: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:2255:4: (lv_num_1_0= RULE_NUM ) + // InternalRDL.g:2256:5: lv_num_1_0= RULE_NUM + { + lv_num_1_0=(Token)match(input,RULE_NUM,FOLLOW_2); + + newLeafNode(lv_num_1_0, grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyRvalueConstantRule()); + } + setWithLastConsumed( + current, + "num", + lv_num_1_0, + "com.minres.rdl.RDL.NUM"); + + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:2273: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:2274:4: (lv_str_2_0= RULE_STR ) + // InternalRDL.g:2275:5: lv_str_2_0= RULE_STR + { + lv_str_2_0=(Token)match(input,RULE_STR,FOLLOW_2); + + newLeafNode(lv_str_2_0, grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyRvalueConstantRule()); + } + setWithLastConsumed( + current, + "str", + lv_str_2_0, + "com.minres.rdl.RDL.STR"); + + + } + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyRvalueConstant" + + + // $ANTLR start "entryRuleEnumDefinition" + // InternalRDL.g:2295:1: entryRuleEnumDefinition returns [EObject current=null] : iv_ruleEnumDefinition= ruleEnumDefinition EOF ; + public final EObject entryRuleEnumDefinition() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEnumDefinition = null; + + + try { + // InternalRDL.g:2295:55: (iv_ruleEnumDefinition= ruleEnumDefinition EOF ) + // InternalRDL.g:2296:2: iv_ruleEnumDefinition= ruleEnumDefinition EOF + { + newCompositeNode(grammarAccess.getEnumDefinitionRule()); + pushFollow(FOLLOW_1); + iv_ruleEnumDefinition=ruleEnumDefinition(); + + state._fsp--; + + current =iv_ruleEnumDefinition; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumDefinition" + + + // $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= ';' ) ; + 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; + + + + 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: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= ';' + { + otherlv_0=(Token)match(input,34,FOLLOW_5); + + 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 ) + { + // InternalRDL.g:2315:4: (lv_name_1_0= RULE_ID ) + // InternalRDL.g:2316:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_6); + + newLeafNode(lv_name_1_0, grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + + 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:2333:4: (lv_body_2_0= ruleEnumBody ) + // InternalRDL.g:2334:5: lv_body_2_0= ruleEnumBody + { + + newCompositeNode(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); + + pushFollow(FOLLOW_10); + lv_body_2_0=ruleEnumBody(); + + state._fsp--; + + + 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,15,FOLLOW_2); + + newLeafNode(otherlv_3, grammarAccess.getEnumDefinitionAccess().getSemicolonKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumDefinition" + + + // $ANTLR start "entryRuleEnumBody" + // InternalRDL.g:2359:1: entryRuleEnumBody returns [EObject current=null] : iv_ruleEnumBody= ruleEnumBody EOF ; + public final EObject entryRuleEnumBody() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEnumBody = null; + + + try { + // InternalRDL.g:2359:49: (iv_ruleEnumBody= ruleEnumBody EOF ) + // InternalRDL.g:2360:2: iv_ruleEnumBody= ruleEnumBody EOF + { + newCompositeNode(grammarAccess.getEnumBodyRule()); + pushFollow(FOLLOW_1); + iv_ruleEnumBody=ruleEnumBody(); + + state._fsp--; + + current =iv_ruleEnumBody; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumBody" + + + // $ANTLR start "ruleEnumBody" + // InternalRDL.g:2366:1: ruleEnumBody returns [EObject current=null] : (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) ; + public final EObject ruleEnumBody() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_3=null; + EObject lv_entries_2_0 = null; + + + + 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:2373:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) + // InternalRDL.g:2374:3: otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' + { + otherlv_0=(Token)match(input,12,FOLLOW_45); + + newLeafNode(otherlv_0, grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + + // InternalRDL.g:2378:3: () + // InternalRDL.g:2379:4: + { + + current = forceCreateModelElement( + grammarAccess.getEnumBodyAccess().getEnumBodyAction_1(), + current); + + + } + + // InternalRDL.g:2385:3: ( (lv_entries_2_0= ruleEnumEntry ) )* + loop39: + do { + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==RULE_ID) ) { + alt39=1; + } + + + switch (alt39) { + case 1 : + // InternalRDL.g:2386:4: (lv_entries_2_0= ruleEnumEntry ) + { + // InternalRDL.g:2386:4: (lv_entries_2_0= ruleEnumEntry ) + // InternalRDL.g:2387:5: lv_entries_2_0= ruleEnumEntry + { + + newCompositeNode(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); + + pushFollow(FOLLOW_45); + lv_entries_2_0=ruleEnumEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumBodyRule()); + } + add( + current, + "entries", + lv_entries_2_0, + "com.minres.rdl.RDL.EnumEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop39; + } + } while (true); + + otherlv_3=(Token)match(input,16,FOLLOW_2); + + newLeafNode(otherlv_3, grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumBody" + + + // $ANTLR start "entryRuleEnumEntry" + // InternalRDL.g:2412:1: entryRuleEnumEntry returns [EObject current=null] : iv_ruleEnumEntry= ruleEnumEntry EOF ; + public final EObject entryRuleEnumEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEnumEntry = null; + + + try { + // InternalRDL.g:2412:50: (iv_ruleEnumEntry= ruleEnumEntry EOF ) + // InternalRDL.g:2413:2: iv_ruleEnumEntry= ruleEnumEntry EOF + { + newCompositeNode(grammarAccess.getEnumEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleEnumEntry=ruleEnumEntry(); + + state._fsp--; + + current =iv_ruleEnumEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumEntry" + + + // $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= ';' ) ; + public final EObject ruleEnumEntry() throws RecognitionException { + EObject current = null; + + Token lv_name_0_0=null; + Token otherlv_1=null; + Token lv_index_2_0=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_6=null; + EObject lv_properties_4_0 = null; + + + + 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: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:2427:3: ( (lv_name_0_0= RULE_ID ) ) + // InternalRDL.g:2428: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 + { + lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_8); + + newLeafNode(lv_name_0_0, grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumEntryRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_0, + "com.minres.rdl.RDL.ID"); + + + } + + + } + + otherlv_1=(Token)match(input,14,FOLLOW_29); + + 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 ) + { + // InternalRDL.g:2450:4: (lv_index_2_0= RULE_NUM ) + // InternalRDL.g:2451:5: lv_index_2_0= RULE_NUM + { + lv_index_2_0=(Token)match(input,RULE_NUM,FOLLOW_46); + + newLeafNode(lv_index_2_0, grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + + + 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); + + if ( (LA41_0==12) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // InternalRDL.g:2468:4: otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' + { + otherlv_3=(Token)match(input,12,FOLLOW_47); + + newLeafNode(otherlv_3, grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + + // InternalRDL.g:2472:4: ( (lv_properties_4_0= ruleEnumProperty ) )* + loop40: + do { + int alt40=2; + int LA40_0 = input.LA(1); + + if ( ((LA40_0>=35 && LA40_0<=36)) ) { + alt40=1; + } + + + switch (alt40) { + case 1 : + // InternalRDL.g:2473:5: (lv_properties_4_0= ruleEnumProperty ) + { + // InternalRDL.g:2473:5: (lv_properties_4_0= ruleEnumProperty ) + // InternalRDL.g:2474:6: lv_properties_4_0= ruleEnumProperty + { + + newCompositeNode(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_47); + lv_properties_4_0=ruleEnumProperty(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumEntryRule()); + } + add( + current, + "properties", + lv_properties_4_0, + "com.minres.rdl.RDL.EnumProperty"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop40; + } + } while (true); + + otherlv_5=(Token)match(input,16,FOLLOW_10); + + newLeafNode(otherlv_5, grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + + + } + break; + + } + + otherlv_6=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_6, grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumEntry" + + + // $ANTLR start "entryRuleEnumProperty" + // InternalRDL.g:2504:1: entryRuleEnumProperty returns [EObject current=null] : iv_ruleEnumProperty= ruleEnumProperty EOF ; + public final EObject entryRuleEnumProperty() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEnumProperty = null; + + + try { + // InternalRDL.g:2504:53: (iv_ruleEnumProperty= ruleEnumProperty EOF ) + // InternalRDL.g:2505:2: iv_ruleEnumProperty= ruleEnumProperty EOF + { + newCompositeNode(grammarAccess.getEnumPropertyRule()); + pushFollow(FOLLOW_1); + iv_ruleEnumProperty=ruleEnumProperty(); + + state._fsp--; + + current =iv_ruleEnumProperty; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumProperty" + + + // $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= ';' ) ; + public final EObject ruleEnumProperty() throws RecognitionException { + EObject current = null; + + Token lv_name_0_0=null; + Token otherlv_1=null; + Token lv_value_2_0=null; + Token lv_name_3_0=null; + Token otherlv_4=null; + Token lv_value_5_0=null; + Token otherlv_6=null; + + + 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: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: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); + + if ( (LA42_0==35) ) { + alt42=1; + } + else if ( (LA42_0==36) ) { + alt42=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 42, 0, input); + + throw nvae; + } + switch (alt42) { + case 1 : + // InternalRDL.g:2520: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:2521:5: ( (lv_name_0_0= 'name' ) ) + // InternalRDL.g:2522:6: (lv_name_0_0= 'name' ) + { + // InternalRDL.g:2522:6: (lv_name_0_0= 'name' ) + // InternalRDL.g:2523:7: lv_name_0_0= 'name' + { + lv_name_0_0=(Token)match(input,35,FOLLOW_8); + + newLeafNode(lv_name_0_0, grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed(current, "name", lv_name_0_0, "name"); + + + } + + + } + + otherlv_1=(Token)match(input,14,FOLLOW_4); + + 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 ) + { + // InternalRDL.g:2540:6: (lv_value_2_0= RULE_STR ) + // InternalRDL.g:2541:7: lv_value_2_0= RULE_STR + { + lv_value_2_0=(Token)match(input,RULE_STR,FOLLOW_10); + + newLeafNode(lv_value_2_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_2_0, + "com.minres.rdl.RDL.STR"); + + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2559: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:2560:5: ( (lv_name_3_0= 'desc' ) ) + // InternalRDL.g:2561:6: (lv_name_3_0= 'desc' ) + { + // InternalRDL.g:2561:6: (lv_name_3_0= 'desc' ) + // InternalRDL.g:2562:7: lv_name_3_0= 'desc' + { + lv_name_3_0=(Token)match(input,36,FOLLOW_8); + + newLeafNode(lv_name_3_0, grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed(current, "name", lv_name_3_0, "desc"); + + + } + + + } + + otherlv_4=(Token)match(input,14,FOLLOW_4); + + 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 ) + { + // InternalRDL.g:2579:6: (lv_value_5_0= RULE_STR ) + // InternalRDL.g:2580:7: lv_value_5_0= RULE_STR + { + lv_value_5_0=(Token)match(input,RULE_STR,FOLLOW_10); + + newLeafNode(lv_value_5_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_5_0, + "com.minres.rdl.RDL.STR"); + + + } + + + } + + + } + + + } + break; + + } + + otherlv_6=(Token)match(input,15,FOLLOW_2); + + newLeafNode(otherlv_6, grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumProperty" + + + // $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' ) ) ; + public final Enumerator rulePropertyTypeName() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + Token enumLiteral_5=null; + Token enumLiteral_6=null; + Token enumLiteral_7=null; + + + 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: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; + switch ( input.LA(1) ) { + case 37: + { + alt43=1; + } + break; + case 38: + { + alt43=2; + } + break; + case 39: + { + alt43=3; + } + break; + case 40: + { + alt43=4; + } + break; + case 41: + { + alt43=5; + } + break; + case 42: + { + alt43=6; + } + break; + case 43: + { + alt43=7; + } + break; + case 44: + { + alt43=8; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 43, 0, input); + + throw nvae; + } + + switch (alt43) { + case 1 : + // InternalRDL.g:2614:3: (enumLiteral_0= 'string' ) + { + // InternalRDL.g:2614:3: (enumLiteral_0= 'string' ) + // InternalRDL.g:2615:4: enumLiteral_0= 'string' + { + enumLiteral_0=(Token)match(input,37,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:2622:3: (enumLiteral_1= 'number' ) + { + // InternalRDL.g:2622:3: (enumLiteral_1= 'number' ) + // InternalRDL.g:2623:4: enumLiteral_1= 'number' + { + enumLiteral_1=(Token)match(input,38,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalRDL.g:2630:3: (enumLiteral_2= 'boolean' ) + { + // InternalRDL.g:2630:3: (enumLiteral_2= 'boolean' ) + // InternalRDL.g:2631:4: enumLiteral_2= 'boolean' + { + enumLiteral_2=(Token)match(input,39,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalRDL.g:2638:3: (enumLiteral_3= 'addrmap' ) + { + // InternalRDL.g:2638:3: (enumLiteral_3= 'addrmap' ) + // InternalRDL.g:2639:4: enumLiteral_3= 'addrmap' + { + enumLiteral_3=(Token)match(input,40,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + + + } + + + } + break; + case 5 : + // InternalRDL.g:2646:3: (enumLiteral_4= 'reg' ) + { + // InternalRDL.g:2646:3: (enumLiteral_4= 'reg' ) + // InternalRDL.g:2647:4: enumLiteral_4= 'reg' + { + enumLiteral_4=(Token)match(input,41,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + + + } + + + } + break; + case 6 : + // InternalRDL.g:2654:3: (enumLiteral_5= 'regfile' ) + { + // InternalRDL.g:2654:3: (enumLiteral_5= 'regfile' ) + // InternalRDL.g:2655:4: enumLiteral_5= 'regfile' + { + enumLiteral_5=(Token)match(input,42,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + + + } + + + } + break; + case 7 : + // InternalRDL.g:2662:3: (enumLiteral_6= 'field' ) + { + // InternalRDL.g:2662:3: (enumLiteral_6= 'field' ) + // InternalRDL.g:2663:4: enumLiteral_6= 'field' + { + enumLiteral_6=(Token)match(input,43,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + + + } + + + } + break; + case 8 : + // InternalRDL.g:2670:3: (enumLiteral_7= 'ref' ) + { + // InternalRDL.g:2670:3: (enumLiteral_7= 'ref' ) + // InternalRDL.g:2671:4: enumLiteral_7= 'ref' + { + enumLiteral_7=(Token)match(input,44,FOLLOW_2); + + current = grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyTypeName" + + + // $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' ) ) ; + public final Enumerator rulePropertyComponent() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + Token enumLiteral_5=null; + + + 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:2688:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) + int alt44=6; + switch ( input.LA(1) ) { + case 45: + { + alt44=1; + } + break; + case 40: + { + alt44=2; + } + break; + case 41: + { + alt44=3; + } + break; + case 42: + { + alt44=4; + } + break; + case 43: + { + alt44=5; + } + break; + case 46: + { + alt44=6; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 44, 0, input); + + throw nvae; + } + + switch (alt44) { + case 1 : + // InternalRDL.g:2689:3: (enumLiteral_0= 'signal' ) + { + // InternalRDL.g:2689:3: (enumLiteral_0= 'signal' ) + // InternalRDL.g:2690:4: enumLiteral_0= 'signal' + { + enumLiteral_0=(Token)match(input,45,FOLLOW_2); + + current = grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:2697:3: (enumLiteral_1= 'addrmap' ) + { + // InternalRDL.g:2697:3: (enumLiteral_1= 'addrmap' ) + // InternalRDL.g:2698:4: enumLiteral_1= 'addrmap' + { + enumLiteral_1=(Token)match(input,40,FOLLOW_2); + + current = grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalRDL.g:2705:3: (enumLiteral_2= 'reg' ) + { + // InternalRDL.g:2705:3: (enumLiteral_2= 'reg' ) + // InternalRDL.g:2706:4: enumLiteral_2= 'reg' + { + enumLiteral_2=(Token)match(input,41,FOLLOW_2); + + current = grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalRDL.g:2713:3: (enumLiteral_3= 'regfile' ) + { + // InternalRDL.g:2713:3: (enumLiteral_3= 'regfile' ) + // InternalRDL.g:2714:4: enumLiteral_3= 'regfile' + { + enumLiteral_3=(Token)match(input,42,FOLLOW_2); + + current = grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + + + } + + + } + break; + case 5 : + // InternalRDL.g:2721:3: (enumLiteral_4= 'field' ) + { + // InternalRDL.g:2721:3: (enumLiteral_4= 'field' ) + // InternalRDL.g:2722:4: enumLiteral_4= 'field' + { + enumLiteral_4=(Token)match(input,43,FOLLOW_2); + + current = grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + + + } + + + } + break; + case 6 : + // InternalRDL.g:2729:3: (enumLiteral_5= 'all' ) + { + // InternalRDL.g:2729:3: (enumLiteral_5= 'all' ) + // InternalRDL.g:2730:4: enumLiteral_5= 'all' + { + enumLiteral_5=(Token)match(input,46,FOLLOW_2); + + current = grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyComponent" + + + // $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' ) ) ; + public final Enumerator ruleComponentDefinitionType() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + + + 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:2747:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) + int alt45=5; + switch ( input.LA(1) ) { + case 45: + { + alt45=1; + } + break; + case 40: + { + alt45=2; + } + break; + case 42: + { + alt45=3; + } + break; + case 41: + { + alt45=4; + } + break; + case 43: + { + alt45=5; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 45, 0, input); + + throw nvae; + } + + switch (alt45) { + case 1 : + // InternalRDL.g:2748:3: (enumLiteral_0= 'signal' ) + { + // InternalRDL.g:2748:3: (enumLiteral_0= 'signal' ) + // InternalRDL.g:2749:4: enumLiteral_0= 'signal' + { + enumLiteral_0=(Token)match(input,45,FOLLOW_2); + + current = grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:2756:3: (enumLiteral_1= 'addrmap' ) + { + // InternalRDL.g:2756:3: (enumLiteral_1= 'addrmap' ) + // InternalRDL.g:2757:4: enumLiteral_1= 'addrmap' + { + enumLiteral_1=(Token)match(input,40,FOLLOW_2); + + current = grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalRDL.g:2764:3: (enumLiteral_2= 'regfile' ) + { + // InternalRDL.g:2764:3: (enumLiteral_2= 'regfile' ) + // InternalRDL.g:2765:4: enumLiteral_2= 'regfile' + { + enumLiteral_2=(Token)match(input,42,FOLLOW_2); + + current = grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalRDL.g:2772:3: (enumLiteral_3= 'reg' ) + { + // InternalRDL.g:2772:3: (enumLiteral_3= 'reg' ) + // InternalRDL.g:2773:4: enumLiteral_3= 'reg' + { + enumLiteral_3=(Token)match(input,41,FOLLOW_2); + + current = grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + + + } + + + } + break; + case 5 : + // InternalRDL.g:2780:3: (enumLiteral_4= 'field' ) + { + // InternalRDL.g:2780:3: (enumLiteral_4= 'field' ) + // InternalRDL.g:2781:4: enumLiteral_4= 'field' + { + enumLiteral_4=(Token)match(input,43,FOLLOW_2); + + current = grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleComponentDefinitionType" + + + // $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' ) ) ; + public final Enumerator ruleProperty() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + Token enumLiteral_5=null; + Token enumLiteral_6=null; + Token enumLiteral_7=null; + Token enumLiteral_8=null; + Token enumLiteral_9=null; + Token enumLiteral_10=null; + Token enumLiteral_11=null; + Token enumLiteral_12=null; + Token enumLiteral_13=null; + Token enumLiteral_14=null; + Token enumLiteral_15=null; + Token enumLiteral_16=null; + Token enumLiteral_17=null; + Token enumLiteral_18=null; + Token enumLiteral_19=null; + Token enumLiteral_20=null; + Token enumLiteral_21=null; + Token enumLiteral_22=null; + Token enumLiteral_23=null; + Token enumLiteral_24=null; + Token enumLiteral_25=null; + Token enumLiteral_26=null; + Token enumLiteral_27=null; + Token enumLiteral_28=null; + Token enumLiteral_29=null; + Token enumLiteral_30=null; + Token enumLiteral_31=null; + Token enumLiteral_32=null; + Token enumLiteral_33=null; + Token enumLiteral_34=null; + Token enumLiteral_35=null; + Token enumLiteral_36=null; + Token enumLiteral_37=null; + Token enumLiteral_38=null; + Token enumLiteral_39=null; + Token enumLiteral_40=null; + Token enumLiteral_41=null; + Token enumLiteral_42=null; + Token enumLiteral_43=null; + Token enumLiteral_44=null; + Token enumLiteral_45=null; + Token enumLiteral_46=null; + Token enumLiteral_47=null; + Token enumLiteral_48=null; + Token enumLiteral_49=null; + Token enumLiteral_50=null; + Token enumLiteral_51=null; + Token enumLiteral_52=null; + Token enumLiteral_53=null; + Token enumLiteral_54=null; + Token enumLiteral_55=null; + Token enumLiteral_56=null; + Token enumLiteral_57=null; + Token enumLiteral_58=null; + Token enumLiteral_59=null; + Token enumLiteral_60=null; + Token enumLiteral_61=null; + Token enumLiteral_62=null; + Token enumLiteral_63=null; + Token enumLiteral_64=null; + Token enumLiteral_65=null; + Token enumLiteral_66=null; + Token enumLiteral_67=null; + Token enumLiteral_68=null; + Token enumLiteral_69=null; + Token enumLiteral_70=null; + Token enumLiteral_71=null; + Token enumLiteral_72=null; + Token enumLiteral_73=null; + Token enumLiteral_74=null; + + + 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: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; + switch ( input.LA(1) ) { + case 35: + { + alt46=1; + } + break; + case 36: + { + alt46=2; + } + break; + case 47: + { + alt46=3; + } + break; + case 48: + { + alt46=4; + } + break; + case 49: + { + alt46=5; + } + break; + case 50: + { + alt46=6; + } + break; + case 51: + { + alt46=7; + } + break; + case 52: + { + alt46=8; + } + break; + case 53: + { + alt46=9; + } + break; + case 54: + { + alt46=10; + } + break; + case 55: + { + alt46=11; + } + break; + case 56: + { + alt46=12; + } + break; + case 57: + { + alt46=13; + } + break; + case 58: + { + alt46=14; + } + break; + case 59: + { + alt46=15; + } + break; + case 60: + { + alt46=16; + } + break; + case 61: + { + alt46=17; + } + break; + case 62: + { + alt46=18; + } + break; + case 63: + { + alt46=19; + } + break; + case 64: + { + alt46=20; + } + break; + case 65: + { + alt46=21; + } + break; + case 66: + { + alt46=22; + } + break; + case 67: + { + alt46=23; + } + break; + case 68: + { + alt46=24; + } + break; + case 69: + { + alt46=25; + } + break; + case 70: + { + alt46=26; + } + break; + case 71: + { + alt46=27; + } + break; + case 72: + { + alt46=28; + } + break; + case 73: + { + alt46=29; + } + break; + case 74: + { + alt46=30; + } + break; + case 75: + { + alt46=31; + } + break; + case 76: + { + alt46=32; + } + break; + case 77: + { + alt46=33; + } + break; + case 78: + { + alt46=34; + } + break; + case 79: + { + alt46=35; + } + break; + case 80: + { + alt46=36; + } + break; + case 81: + { + alt46=37; + } + break; + case 82: + { + alt46=38; + } + break; + case 83: + { + alt46=39; + } + break; + case 84: + { + alt46=40; + } + break; + case 85: + { + alt46=41; + } + break; + case 86: + { + alt46=42; + } + break; + case 87: + { + alt46=43; + } + break; + case 88: + { + alt46=44; + } + break; + case 89: + { + alt46=45; + } + break; + case 90: + { + alt46=46; + } + break; + case 91: + { + alt46=47; + } + break; + case 92: + { + alt46=48; + } + break; + case 93: + { + alt46=49; + } + break; + case 94: + { + alt46=50; + } + break; + case 95: + { + alt46=51; + } + break; + case 96: + { + alt46=52; + } + break; + case 97: + { + alt46=53; + } + break; + case 98: + { + alt46=54; + } + break; + case 23: + { + alt46=55; + } + break; + case 99: + { + alt46=56; + } + break; + case 100: + { + alt46=57; + } + break; + case 101: + { + alt46=58; + } + break; + case 102: + { + alt46=59; + } + break; + case 103: + { + alt46=60; + } + break; + case 104: + { + alt46=61; + } + break; + case 105: + { + alt46=62; + } + break; + case 106: + { + alt46=63; + } + break; + case 107: + { + alt46=64; + } + break; + case 108: + { + alt46=65; + } + break; + case 109: + { + alt46=66; + } + break; + case 110: + { + alt46=67; + } + break; + case 111: + { + alt46=68; + } + break; + case 112: + { + alt46=69; + } + break; + case 113: + { + alt46=70; + } + break; + case 114: + { + alt46=71; + } + break; + case 115: + { + alt46=72; + } + break; + case 116: + { + alt46=73; + } + break; + case 117: + { + alt46=74; + } + break; + case 118: + { + alt46=75; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 46, 0, input); + + throw nvae; + } + + switch (alt46) { + case 1 : + // InternalRDL.g:2799:3: (enumLiteral_0= 'name' ) + { + // InternalRDL.g:2799:3: (enumLiteral_0= 'name' ) + // InternalRDL.g:2800:4: enumLiteral_0= 'name' + { + enumLiteral_0=(Token)match(input,35,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:2807:3: (enumLiteral_1= 'desc' ) + { + // InternalRDL.g:2807:3: (enumLiteral_1= 'desc' ) + // InternalRDL.g:2808:4: enumLiteral_1= 'desc' + { + enumLiteral_1=(Token)match(input,36,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalRDL.g:2815:3: (enumLiteral_2= 'arbiter' ) + { + // InternalRDL.g:2815:3: (enumLiteral_2= 'arbiter' ) + // InternalRDL.g:2816:4: enumLiteral_2= 'arbiter' + { + enumLiteral_2=(Token)match(input,47,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalRDL.g:2823:3: (enumLiteral_3= 'rset' ) + { + // InternalRDL.g:2823:3: (enumLiteral_3= 'rset' ) + // InternalRDL.g:2824:4: enumLiteral_3= 'rset' + { + enumLiteral_3=(Token)match(input,48,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + + + } + + + } + break; + case 5 : + // InternalRDL.g:2831:3: (enumLiteral_4= 'rclr' ) + { + // InternalRDL.g:2831:3: (enumLiteral_4= 'rclr' ) + // InternalRDL.g:2832:4: enumLiteral_4= 'rclr' + { + enumLiteral_4=(Token)match(input,49,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + + + } + + + } + break; + case 6 : + // InternalRDL.g:2839:3: (enumLiteral_5= 'woclr' ) + { + // InternalRDL.g:2839:3: (enumLiteral_5= 'woclr' ) + // InternalRDL.g:2840:4: enumLiteral_5= 'woclr' + { + enumLiteral_5=(Token)match(input,50,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + + + } + + + } + break; + case 7 : + // InternalRDL.g:2847:3: (enumLiteral_6= 'woset' ) + { + // InternalRDL.g:2847:3: (enumLiteral_6= 'woset' ) + // InternalRDL.g:2848:4: enumLiteral_6= 'woset' + { + enumLiteral_6=(Token)match(input,51,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + + + } + + + } + break; + case 8 : + // InternalRDL.g:2855:3: (enumLiteral_7= 'we' ) + { + // InternalRDL.g:2855:3: (enumLiteral_7= 'we' ) + // InternalRDL.g:2856:4: enumLiteral_7= 'we' + { + enumLiteral_7=(Token)match(input,52,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + + + } + + + } + break; + case 9 : + // InternalRDL.g:2863:3: (enumLiteral_8= 'wel' ) + { + // InternalRDL.g:2863:3: (enumLiteral_8= 'wel' ) + // InternalRDL.g:2864:4: enumLiteral_8= 'wel' + { + enumLiteral_8=(Token)match(input,53,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_8, grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + + + } + + + } + break; + case 10 : + // InternalRDL.g:2871:3: (enumLiteral_9= 'swwe' ) + { + // InternalRDL.g:2871:3: (enumLiteral_9= 'swwe' ) + // InternalRDL.g:2872:4: enumLiteral_9= 'swwe' + { + enumLiteral_9=(Token)match(input,54,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_9, grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + + + } + + + } + break; + case 11 : + // InternalRDL.g:2879:3: (enumLiteral_10= 'swwel' ) + { + // InternalRDL.g:2879:3: (enumLiteral_10= 'swwel' ) + // InternalRDL.g:2880:4: enumLiteral_10= 'swwel' + { + enumLiteral_10=(Token)match(input,55,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_10, grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + + + } + + + } + break; + case 12 : + // InternalRDL.g:2887:3: (enumLiteral_11= 'hwset' ) + { + // InternalRDL.g:2887:3: (enumLiteral_11= 'hwset' ) + // InternalRDL.g:2888:4: enumLiteral_11= 'hwset' + { + enumLiteral_11=(Token)match(input,56,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_11, grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + + + } + + + } + break; + case 13 : + // InternalRDL.g:2895:3: (enumLiteral_12= 'hwclr' ) + { + // InternalRDL.g:2895:3: (enumLiteral_12= 'hwclr' ) + // InternalRDL.g:2896:4: enumLiteral_12= 'hwclr' + { + enumLiteral_12=(Token)match(input,57,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_12, grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + + + } + + + } + break; + case 14 : + // InternalRDL.g:2903:3: (enumLiteral_13= 'swmod' ) + { + // InternalRDL.g:2903:3: (enumLiteral_13= 'swmod' ) + // InternalRDL.g:2904:4: enumLiteral_13= 'swmod' + { + enumLiteral_13=(Token)match(input,58,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_13, grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + + + } + + + } + break; + case 15 : + // InternalRDL.g:2911:3: (enumLiteral_14= 'swacc' ) + { + // InternalRDL.g:2911:3: (enumLiteral_14= 'swacc' ) + // InternalRDL.g:2912:4: enumLiteral_14= 'swacc' + { + enumLiteral_14=(Token)match(input,59,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_14, grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + + + } + + + } + break; + case 16 : + // InternalRDL.g:2919:3: (enumLiteral_15= 'sticky' ) + { + // InternalRDL.g:2919:3: (enumLiteral_15= 'sticky' ) + // InternalRDL.g:2920:4: enumLiteral_15= 'sticky' + { + enumLiteral_15=(Token)match(input,60,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_15, grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + + + } + + + } + break; + case 17 : + // InternalRDL.g:2927:3: (enumLiteral_16= 'stickybit' ) + { + // InternalRDL.g:2927:3: (enumLiteral_16= 'stickybit' ) + // InternalRDL.g:2928:4: enumLiteral_16= 'stickybit' + { + enumLiteral_16=(Token)match(input,61,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_16, grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + + + } + + + } + break; + case 18 : + // InternalRDL.g:2935:3: (enumLiteral_17= 'intr' ) + { + // InternalRDL.g:2935:3: (enumLiteral_17= 'intr' ) + // InternalRDL.g:2936:4: enumLiteral_17= 'intr' + { + enumLiteral_17=(Token)match(input,62,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_17, grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + + + } + + + } + break; + case 19 : + // InternalRDL.g:2943:3: (enumLiteral_18= 'anded' ) + { + // InternalRDL.g:2943:3: (enumLiteral_18= 'anded' ) + // InternalRDL.g:2944:4: enumLiteral_18= 'anded' + { + enumLiteral_18=(Token)match(input,63,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_18, grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + + + } + + + } + break; + case 20 : + // InternalRDL.g:2951:3: (enumLiteral_19= 'ored' ) + { + // InternalRDL.g:2951:3: (enumLiteral_19= 'ored' ) + // InternalRDL.g:2952:4: enumLiteral_19= 'ored' + { + enumLiteral_19=(Token)match(input,64,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_19, grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + + + } + + + } + break; + case 21 : + // InternalRDL.g:2959:3: (enumLiteral_20= 'xored' ) + { + // InternalRDL.g:2959:3: (enumLiteral_20= 'xored' ) + // InternalRDL.g:2960:4: enumLiteral_20= 'xored' + { + enumLiteral_20=(Token)match(input,65,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_20, grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + + + } + + + } + break; + case 22 : + // InternalRDL.g:2967:3: (enumLiteral_21= 'counter' ) + { + // InternalRDL.g:2967:3: (enumLiteral_21= 'counter' ) + // InternalRDL.g:2968:4: enumLiteral_21= 'counter' + { + enumLiteral_21=(Token)match(input,66,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_21, grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + + + } + + + } + break; + case 23 : + // InternalRDL.g:2975:3: (enumLiteral_22= 'overflow' ) + { + // InternalRDL.g:2975:3: (enumLiteral_22= 'overflow' ) + // InternalRDL.g:2976:4: enumLiteral_22= 'overflow' + { + enumLiteral_22=(Token)match(input,67,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_22, grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + + + } + + + } + break; + case 24 : + // InternalRDL.g:2983:3: (enumLiteral_23= 'sharedextbus' ) + { + // InternalRDL.g:2983:3: (enumLiteral_23= 'sharedextbus' ) + // InternalRDL.g:2984:4: enumLiteral_23= 'sharedextbus' + { + enumLiteral_23=(Token)match(input,68,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_23, grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + + + } + + + } + break; + case 25 : + // InternalRDL.g:2991:3: (enumLiteral_24= 'errextbus' ) + { + // InternalRDL.g:2991:3: (enumLiteral_24= 'errextbus' ) + // InternalRDL.g:2992:4: enumLiteral_24= 'errextbus' + { + enumLiteral_24=(Token)match(input,69,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_24, grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + + + } + + + } + break; + case 26 : + // InternalRDL.g:2999:3: (enumLiteral_25= 'reset' ) + { + // InternalRDL.g:2999:3: (enumLiteral_25= 'reset' ) + // InternalRDL.g:3000:4: enumLiteral_25= 'reset' + { + enumLiteral_25=(Token)match(input,70,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_25, grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + + + } + + + } + break; + case 27 : + // InternalRDL.g:3007:3: (enumLiteral_26= 'littleendian' ) + { + // InternalRDL.g:3007:3: (enumLiteral_26= 'littleendian' ) + // InternalRDL.g:3008:4: enumLiteral_26= 'littleendian' + { + enumLiteral_26=(Token)match(input,71,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_26, grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + + + } + + + } + break; + case 28 : + // InternalRDL.g:3015:3: (enumLiteral_27= 'bigendian' ) + { + // InternalRDL.g:3015:3: (enumLiteral_27= 'bigendian' ) + // InternalRDL.g:3016:4: enumLiteral_27= 'bigendian' + { + enumLiteral_27=(Token)match(input,72,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_27, grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + + + } + + + } + break; + case 29 : + // InternalRDL.g:3023:3: (enumLiteral_28= 'rsvdset' ) + { + // InternalRDL.g:3023:3: (enumLiteral_28= 'rsvdset' ) + // InternalRDL.g:3024:4: enumLiteral_28= 'rsvdset' + { + enumLiteral_28=(Token)match(input,73,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_28, grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + + + } + + + } + break; + case 30 : + // InternalRDL.g:3031:3: (enumLiteral_29= 'rsvdsetX' ) + { + // InternalRDL.g:3031:3: (enumLiteral_29= 'rsvdsetX' ) + // InternalRDL.g:3032:4: enumLiteral_29= 'rsvdsetX' + { + enumLiteral_29=(Token)match(input,74,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_29, grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + + + } + + + } + break; + case 31 : + // InternalRDL.g:3039:3: (enumLiteral_30= 'bridge' ) + { + // InternalRDL.g:3039:3: (enumLiteral_30= 'bridge' ) + // InternalRDL.g:3040:4: enumLiteral_30= 'bridge' + { + enumLiteral_30=(Token)match(input,75,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_30, grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + + + } + + + } + break; + case 32 : + // InternalRDL.g:3047:3: (enumLiteral_31= 'shared' ) + { + // InternalRDL.g:3047:3: (enumLiteral_31= 'shared' ) + // InternalRDL.g:3048:4: enumLiteral_31= 'shared' + { + enumLiteral_31=(Token)match(input,76,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_31, grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + + + } + + + } + break; + case 33 : + // InternalRDL.g:3055:3: (enumLiteral_32= 'msb0' ) + { + // InternalRDL.g:3055:3: (enumLiteral_32= 'msb0' ) + // InternalRDL.g:3056:4: enumLiteral_32= 'msb0' + { + enumLiteral_32=(Token)match(input,77,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_32, grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + + + } + + + } + break; + case 34 : + // InternalRDL.g:3063:3: (enumLiteral_33= 'lsb0' ) + { + // InternalRDL.g:3063:3: (enumLiteral_33= 'lsb0' ) + // InternalRDL.g:3064:4: enumLiteral_33= 'lsb0' + { + enumLiteral_33=(Token)match(input,78,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_33, grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + + + } + + + } + break; + case 35 : + // InternalRDL.g:3071:3: (enumLiteral_34= 'sync' ) + { + // InternalRDL.g:3071:3: (enumLiteral_34= 'sync' ) + // InternalRDL.g:3072:4: enumLiteral_34= 'sync' + { + enumLiteral_34=(Token)match(input,79,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_34, grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + + + } + + + } + break; + case 36 : + // InternalRDL.g:3079:3: (enumLiteral_35= 'async' ) + { + // InternalRDL.g:3079:3: (enumLiteral_35= 'async' ) + // InternalRDL.g:3080:4: enumLiteral_35= 'async' + { + enumLiteral_35=(Token)match(input,80,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_35, grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + + + } + + + } + break; + case 37 : + // InternalRDL.g:3087:3: (enumLiteral_36= 'cpuif_reset' ) + { + // InternalRDL.g:3087:3: (enumLiteral_36= 'cpuif_reset' ) + // InternalRDL.g:3088:4: enumLiteral_36= 'cpuif_reset' + { + enumLiteral_36=(Token)match(input,81,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_36, grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + + + } + + + } + break; + case 38 : + // InternalRDL.g:3095:3: (enumLiteral_37= 'field_reset' ) + { + // InternalRDL.g:3095:3: (enumLiteral_37= 'field_reset' ) + // InternalRDL.g:3096:4: enumLiteral_37= 'field_reset' + { + enumLiteral_37=(Token)match(input,82,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_37, grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + + + } + + + } + break; + case 39 : + // InternalRDL.g:3103:3: (enumLiteral_38= 'activehigh' ) + { + // InternalRDL.g:3103:3: (enumLiteral_38= 'activehigh' ) + // InternalRDL.g:3104:4: enumLiteral_38= 'activehigh' + { + enumLiteral_38=(Token)match(input,83,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_38, grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + + + } + + + } + break; + case 40 : + // InternalRDL.g:3111:3: (enumLiteral_39= 'activelow' ) + { + // InternalRDL.g:3111:3: (enumLiteral_39= 'activelow' ) + // InternalRDL.g:3112:4: enumLiteral_39= 'activelow' + { + enumLiteral_39=(Token)match(input,84,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_39, grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + + + } + + + } + break; + case 41 : + // InternalRDL.g:3119:3: (enumLiteral_40= 'singlepulse' ) + { + // InternalRDL.g:3119:3: (enumLiteral_40= 'singlepulse' ) + // InternalRDL.g:3120:4: enumLiteral_40= 'singlepulse' + { + enumLiteral_40=(Token)match(input,85,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_40, grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + + + } + + + } + break; + case 42 : + // InternalRDL.g:3127:3: (enumLiteral_41= 'underflow' ) + { + // InternalRDL.g:3127:3: (enumLiteral_41= 'underflow' ) + // InternalRDL.g:3128:4: enumLiteral_41= 'underflow' + { + enumLiteral_41=(Token)match(input,86,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_41, grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + + + } + + + } + break; + case 43 : + // InternalRDL.g:3135:3: (enumLiteral_42= 'incr' ) + { + // InternalRDL.g:3135:3: (enumLiteral_42= 'incr' ) + // InternalRDL.g:3136:4: enumLiteral_42= 'incr' + { + enumLiteral_42=(Token)match(input,87,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_42, grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + + + } + + + } + break; + case 44 : + // InternalRDL.g:3143:3: (enumLiteral_43= 'decr' ) + { + // InternalRDL.g:3143:3: (enumLiteral_43= 'decr' ) + // InternalRDL.g:3144:4: enumLiteral_43= 'decr' + { + enumLiteral_43=(Token)match(input,88,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_43, grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + + + } + + + } + break; + case 45 : + // InternalRDL.g:3151:3: (enumLiteral_44= 'incrwidth' ) + { + // InternalRDL.g:3151:3: (enumLiteral_44= 'incrwidth' ) + // InternalRDL.g:3152:4: enumLiteral_44= 'incrwidth' + { + enumLiteral_44=(Token)match(input,89,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_44, grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + + + } + + + } + break; + case 46 : + // InternalRDL.g:3159:3: (enumLiteral_45= 'decrwidth' ) + { + // InternalRDL.g:3159:3: (enumLiteral_45= 'decrwidth' ) + // InternalRDL.g:3160:4: enumLiteral_45= 'decrwidth' + { + enumLiteral_45=(Token)match(input,90,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_45, grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + + + } + + + } + break; + case 47 : + // InternalRDL.g:3167:3: (enumLiteral_46= 'incrvalue' ) + { + // InternalRDL.g:3167:3: (enumLiteral_46= 'incrvalue' ) + // InternalRDL.g:3168:4: enumLiteral_46= 'incrvalue' + { + enumLiteral_46=(Token)match(input,91,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_46, grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + + + } + + + } + break; + case 48 : + // InternalRDL.g:3175:3: (enumLiteral_47= 'decrvalue' ) + { + // InternalRDL.g:3175:3: (enumLiteral_47= 'decrvalue' ) + // InternalRDL.g:3176:4: enumLiteral_47= 'decrvalue' + { + enumLiteral_47=(Token)match(input,92,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_47, grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + + + } + + + } + break; + case 49 : + // InternalRDL.g:3183:3: (enumLiteral_48= 'saturate' ) + { + // InternalRDL.g:3183:3: (enumLiteral_48= 'saturate' ) + // InternalRDL.g:3184:4: enumLiteral_48= 'saturate' + { + enumLiteral_48=(Token)match(input,93,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_48, grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + + + } + + + } + break; + case 50 : + // InternalRDL.g:3191:3: (enumLiteral_49= 'decrsaturate' ) + { + // InternalRDL.g:3191:3: (enumLiteral_49= 'decrsaturate' ) + // InternalRDL.g:3192:4: enumLiteral_49= 'decrsaturate' + { + enumLiteral_49=(Token)match(input,94,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_49, grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + + + } + + + } + break; + case 51 : + // InternalRDL.g:3199:3: (enumLiteral_50= 'threshold' ) + { + // InternalRDL.g:3199:3: (enumLiteral_50= 'threshold' ) + // InternalRDL.g:3200:4: enumLiteral_50= 'threshold' + { + enumLiteral_50=(Token)match(input,95,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_50, grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + + + } + + + } + break; + case 52 : + // InternalRDL.g:3207:3: (enumLiteral_51= 'decrthreshold' ) + { + // InternalRDL.g:3207:3: (enumLiteral_51= 'decrthreshold' ) + // InternalRDL.g:3208:4: enumLiteral_51= 'decrthreshold' + { + enumLiteral_51=(Token)match(input,96,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_51, grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + + + } + + + } + break; + case 53 : + // InternalRDL.g:3215:3: (enumLiteral_52= 'dontcompare' ) + { + // InternalRDL.g:3215:3: (enumLiteral_52= 'dontcompare' ) + // InternalRDL.g:3216:4: enumLiteral_52= 'dontcompare' + { + enumLiteral_52=(Token)match(input,97,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_52, grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + + + } + + + } + break; + case 54 : + // InternalRDL.g:3223:3: (enumLiteral_53= 'donttest' ) + { + // InternalRDL.g:3223:3: (enumLiteral_53= 'donttest' ) + // InternalRDL.g:3224:4: enumLiteral_53= 'donttest' + { + enumLiteral_53=(Token)match(input,98,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_53, grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + + + } + + + } + break; + case 55 : + // InternalRDL.g:3231:3: (enumLiteral_54= 'internal' ) + { + // InternalRDL.g:3231:3: (enumLiteral_54= 'internal' ) + // InternalRDL.g:3232:4: enumLiteral_54= 'internal' + { + enumLiteral_54=(Token)match(input,23,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_54, grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + + + } + + + } + break; + case 56 : + // InternalRDL.g:3239:3: (enumLiteral_55= 'alignment' ) + { + // InternalRDL.g:3239:3: (enumLiteral_55= 'alignment' ) + // InternalRDL.g:3240:4: enumLiteral_55= 'alignment' + { + enumLiteral_55=(Token)match(input,99,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_55, grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + + + } + + + } + break; + case 57 : + // InternalRDL.g:3247:3: (enumLiteral_56= 'regwidth' ) + { + // InternalRDL.g:3247:3: (enumLiteral_56= 'regwidth' ) + // InternalRDL.g:3248:4: enumLiteral_56= 'regwidth' + { + enumLiteral_56=(Token)match(input,100,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_56, grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + + + } + + + } + break; + case 58 : + // InternalRDL.g:3255:3: (enumLiteral_57= 'fieldwidth' ) + { + // InternalRDL.g:3255:3: (enumLiteral_57= 'fieldwidth' ) + // InternalRDL.g:3256:4: enumLiteral_57= 'fieldwidth' + { + enumLiteral_57=(Token)match(input,101,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_57, grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + + + } + + + } + break; + case 59 : + // InternalRDL.g:3263:3: (enumLiteral_58= 'signalwidth' ) + { + // InternalRDL.g:3263:3: (enumLiteral_58= 'signalwidth' ) + // InternalRDL.g:3264:4: enumLiteral_58= 'signalwidth' + { + enumLiteral_58=(Token)match(input,102,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_58, grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + + + } + + + } + break; + case 60 : + // InternalRDL.g:3271:3: (enumLiteral_59= 'accesswidth' ) + { + // InternalRDL.g:3271:3: (enumLiteral_59= 'accesswidth' ) + // InternalRDL.g:3272:4: enumLiteral_59= 'accesswidth' + { + enumLiteral_59=(Token)match(input,103,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_59, grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + + + } + + + } + break; + case 61 : + // InternalRDL.g:3279:3: (enumLiteral_60= 'sw' ) + { + // InternalRDL.g:3279:3: (enumLiteral_60= 'sw' ) + // InternalRDL.g:3280:4: enumLiteral_60= 'sw' + { + enumLiteral_60=(Token)match(input,104,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_60, grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + + + } + + + } + break; + case 62 : + // InternalRDL.g:3287:3: (enumLiteral_61= 'hw' ) + { + // InternalRDL.g:3287:3: (enumLiteral_61= 'hw' ) + // InternalRDL.g:3288:4: enumLiteral_61= 'hw' + { + enumLiteral_61=(Token)match(input,105,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_61, grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + + + } + + + } + break; + case 63 : + // InternalRDL.g:3295:3: (enumLiteral_62= 'addressing' ) + { + // InternalRDL.g:3295:3: (enumLiteral_62= 'addressing' ) + // InternalRDL.g:3296:4: enumLiteral_62= 'addressing' + { + enumLiteral_62=(Token)match(input,106,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_62, grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + + + } + + + } + break; + case 64 : + // InternalRDL.g:3303:3: (enumLiteral_63= 'precedence' ) + { + // InternalRDL.g:3303:3: (enumLiteral_63= 'precedence' ) + // InternalRDL.g:3304:4: enumLiteral_63= 'precedence' + { + enumLiteral_63=(Token)match(input,107,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_63, grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + + + } + + + } + break; + case 65 : + // InternalRDL.g:3311:3: (enumLiteral_64= 'encode' ) + { + // InternalRDL.g:3311:3: (enumLiteral_64= 'encode' ) + // InternalRDL.g:3312:4: enumLiteral_64= 'encode' + { + enumLiteral_64=(Token)match(input,108,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_64, grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + + + } + + + } + break; + case 66 : + // InternalRDL.g:3319:3: (enumLiteral_65= 'resetsignal' ) + { + // InternalRDL.g:3319:3: (enumLiteral_65= 'resetsignal' ) + // InternalRDL.g:3320:4: enumLiteral_65= 'resetsignal' + { + enumLiteral_65=(Token)match(input,109,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_65, grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + + + } + + + } + break; + case 67 : + // InternalRDL.g:3327:3: (enumLiteral_66= 'clock' ) + { + // InternalRDL.g:3327:3: (enumLiteral_66= 'clock' ) + // InternalRDL.g:3328:4: enumLiteral_66= 'clock' + { + enumLiteral_66=(Token)match(input,110,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_66, grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + + + } + + + } + break; + case 68 : + // InternalRDL.g:3335:3: (enumLiteral_67= 'mask' ) + { + // InternalRDL.g:3335:3: (enumLiteral_67= 'mask' ) + // InternalRDL.g:3336:4: enumLiteral_67= 'mask' + { + enumLiteral_67=(Token)match(input,111,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_67, grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + + + } + + + } + break; + case 69 : + // InternalRDL.g:3343:3: (enumLiteral_68= 'enable' ) + { + // InternalRDL.g:3343:3: (enumLiteral_68= 'enable' ) + // InternalRDL.g:3344:4: enumLiteral_68= 'enable' + { + enumLiteral_68=(Token)match(input,112,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_68, grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + + + } + + + } + break; + case 70 : + // InternalRDL.g:3351:3: (enumLiteral_69= 'hwenable' ) + { + // InternalRDL.g:3351:3: (enumLiteral_69= 'hwenable' ) + // InternalRDL.g:3352:4: enumLiteral_69= 'hwenable' + { + enumLiteral_69=(Token)match(input,113,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_69, grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + + + } + + + } + break; + case 71 : + // InternalRDL.g:3359:3: (enumLiteral_70= 'hwmask' ) + { + // InternalRDL.g:3359:3: (enumLiteral_70= 'hwmask' ) + // InternalRDL.g:3360:4: enumLiteral_70= 'hwmask' + { + enumLiteral_70=(Token)match(input,114,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_70, grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + + + } + + + } + break; + case 72 : + // InternalRDL.g:3367:3: (enumLiteral_71= 'haltmask' ) + { + // InternalRDL.g:3367:3: (enumLiteral_71= 'haltmask' ) + // InternalRDL.g:3368:4: enumLiteral_71= 'haltmask' + { + enumLiteral_71=(Token)match(input,115,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_71, grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + + + } + + + } + break; + case 73 : + // InternalRDL.g:3375:3: (enumLiteral_72= 'haltenable' ) + { + // InternalRDL.g:3375:3: (enumLiteral_72= 'haltenable' ) + // InternalRDL.g:3376:4: enumLiteral_72= 'haltenable' + { + enumLiteral_72=(Token)match(input,116,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_72, grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + + + } + + + } + break; + case 74 : + // InternalRDL.g:3383:3: (enumLiteral_73= 'halt' ) + { + // InternalRDL.g:3383:3: (enumLiteral_73= 'halt' ) + // InternalRDL.g:3384:4: enumLiteral_73= 'halt' + { + enumLiteral_73=(Token)match(input,117,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_73, grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + + + } + + + } + break; + case 75 : + // InternalRDL.g:3391:3: (enumLiteral_74= 'next' ) + { + // InternalRDL.g:3391:3: (enumLiteral_74= 'next' ) + // InternalRDL.g:3392:4: enumLiteral_74= 'next' + { + enumLiteral_74=(Token)match(input,118,FOLLOW_2); + + current = grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_74, grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleProperty" + + + // $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' ) ) ; + public final Enumerator ruleRValueConstant() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + Token enumLiteral_5=null; + Token enumLiteral_6=null; + Token enumLiteral_7=null; + Token enumLiteral_8=null; + Token enumLiteral_9=null; + Token enumLiteral_10=null; + Token enumLiteral_11=null; + Token enumLiteral_12=null; + + + 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: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; + switch ( input.LA(1) ) { + case 119: + { + alt47=1; + } + break; + case 18: + { + alt47=2; + } + break; + case 19: + { + alt47=3; + } + break; + case 120: + { + alt47=4; + } + break; + case 121: + { + alt47=5; + } + break; + case 122: + { + alt47=6; + } + break; + case 123: + { + alt47=7; + } + break; + case 124: + { + alt47=8; + } + break; + case 125: + { + alt47=9; + } + break; + case 126: + { + alt47=10; + } + break; + case 127: + { + alt47=11; + } + break; + case 105: + { + alt47=12; + } + break; + case 104: + { + alt47=13; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 47, 0, input); + + throw nvae; + } + + switch (alt47) { + case 1 : + // InternalRDL.g:3410:3: (enumLiteral_0= 'UNDEFINED' ) + { + // InternalRDL.g:3410:3: (enumLiteral_0= 'UNDEFINED' ) + // InternalRDL.g:3411:4: enumLiteral_0= 'UNDEFINED' + { + enumLiteral_0=(Token)match(input,119,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:3418:3: (enumLiteral_1= 'true' ) + { + // InternalRDL.g:3418:3: (enumLiteral_1= 'true' ) + // InternalRDL.g:3419:4: enumLiteral_1= 'true' + { + enumLiteral_1=(Token)match(input,18,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalRDL.g:3426:3: (enumLiteral_2= 'false' ) + { + // InternalRDL.g:3426:3: (enumLiteral_2= 'false' ) + // InternalRDL.g:3427:4: enumLiteral_2= 'false' + { + enumLiteral_2=(Token)match(input,19,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalRDL.g:3434:3: (enumLiteral_3= 'rw' ) + { + // InternalRDL.g:3434:3: (enumLiteral_3= 'rw' ) + // InternalRDL.g:3435:4: enumLiteral_3= 'rw' + { + enumLiteral_3=(Token)match(input,120,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + + + } + + + } + break; + case 5 : + // InternalRDL.g:3442:3: (enumLiteral_4= 'wr' ) + { + // InternalRDL.g:3442:3: (enumLiteral_4= 'wr' ) + // InternalRDL.g:3443:4: enumLiteral_4= 'wr' + { + enumLiteral_4=(Token)match(input,121,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + + + } + + + } + break; + case 6 : + // InternalRDL.g:3450:3: (enumLiteral_5= 'r' ) + { + // InternalRDL.g:3450:3: (enumLiteral_5= 'r' ) + // InternalRDL.g:3451:4: enumLiteral_5= 'r' + { + enumLiteral_5=(Token)match(input,122,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + + + } + + + } + break; + case 7 : + // InternalRDL.g:3458:3: (enumLiteral_6= 'w' ) + { + // InternalRDL.g:3458:3: (enumLiteral_6= 'w' ) + // InternalRDL.g:3459:4: enumLiteral_6= 'w' + { + enumLiteral_6=(Token)match(input,123,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + + + } + + + } + break; + case 8 : + // InternalRDL.g:3466:3: (enumLiteral_7= 'na' ) + { + // InternalRDL.g:3466:3: (enumLiteral_7= 'na' ) + // InternalRDL.g:3467:4: enumLiteral_7= 'na' + { + enumLiteral_7=(Token)match(input,124,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + + + } + + + } + break; + case 9 : + // InternalRDL.g:3474:3: (enumLiteral_8= 'compact' ) + { + // InternalRDL.g:3474:3: (enumLiteral_8= 'compact' ) + // InternalRDL.g:3475:4: enumLiteral_8= 'compact' + { + enumLiteral_8=(Token)match(input,125,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_8, grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + + + } + + + } + break; + case 10 : + // InternalRDL.g:3482:3: (enumLiteral_9= 'regalign' ) + { + // InternalRDL.g:3482:3: (enumLiteral_9= 'regalign' ) + // InternalRDL.g:3483:4: enumLiteral_9= 'regalign' + { + enumLiteral_9=(Token)match(input,126,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_9, grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + + + } + + + } + break; + case 11 : + // InternalRDL.g:3490:3: (enumLiteral_10= 'fullalign' ) + { + // InternalRDL.g:3490:3: (enumLiteral_10= 'fullalign' ) + // InternalRDL.g:3491:4: enumLiteral_10= 'fullalign' + { + enumLiteral_10=(Token)match(input,127,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_10, grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + + + } + + + } + break; + case 12 : + // InternalRDL.g:3498:3: (enumLiteral_11= 'hw' ) + { + // InternalRDL.g:3498:3: (enumLiteral_11= 'hw' ) + // InternalRDL.g:3499:4: enumLiteral_11= 'hw' + { + enumLiteral_11=(Token)match(input,105,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_11, grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + + + } + + + } + break; + case 13 : + // InternalRDL.g:3506:3: (enumLiteral_12= 'sw' ) + { + // InternalRDL.g:3506:3: (enumLiteral_12= 'sw' ) + // InternalRDL.g:3507:4: enumLiteral_12= 'sw' + { + enumLiteral_12=(Token)match(input,104,FOLLOW_2); + + current = grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_12, grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRValueConstant" + + + // $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' ) ) ; + public final Enumerator rulePropertyModifier() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + Token enumLiteral_5=null; + + + 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:3524:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) + int alt48=6; + switch ( input.LA(1) ) { + case 119: + { + alt48=1; + } + break; + case 128: + { + alt48=2; + } + break; + case 129: + { + alt48=3; + } + break; + case 130: + { + alt48=4; + } + break; + case 131: + { + alt48=5; + } + break; + case 132: + { + alt48=6; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 48, 0, input); + + throw nvae; + } + + switch (alt48) { + case 1 : + // InternalRDL.g:3525:3: (enumLiteral_0= 'UNDEFINED' ) + { + // InternalRDL.g:3525:3: (enumLiteral_0= 'UNDEFINED' ) + // InternalRDL.g:3526:4: enumLiteral_0= 'UNDEFINED' + { + enumLiteral_0=(Token)match(input,119,FOLLOW_2); + + current = grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalRDL.g:3533:3: (enumLiteral_1= 'posedge' ) + { + // InternalRDL.g:3533:3: (enumLiteral_1= 'posedge' ) + // InternalRDL.g:3534:4: enumLiteral_1= 'posedge' + { + enumLiteral_1=(Token)match(input,128,FOLLOW_2); + + current = grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalRDL.g:3541:3: (enumLiteral_2= 'negedge' ) + { + // InternalRDL.g:3541:3: (enumLiteral_2= 'negedge' ) + // InternalRDL.g:3542:4: enumLiteral_2= 'negedge' + { + enumLiteral_2=(Token)match(input,129,FOLLOW_2); + + current = grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalRDL.g:3549:3: (enumLiteral_3= 'bothedge' ) + { + // InternalRDL.g:3549:3: (enumLiteral_3= 'bothedge' ) + // InternalRDL.g:3550:4: enumLiteral_3= 'bothedge' + { + enumLiteral_3=(Token)match(input,130,FOLLOW_2); + + current = grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + + + } + + + } + break; + case 5 : + // InternalRDL.g:3557:3: (enumLiteral_4= 'level' ) + { + // InternalRDL.g:3557:3: (enumLiteral_4= 'level' ) + // InternalRDL.g:3558:4: enumLiteral_4= 'level' + { + enumLiteral_4=(Token)match(input,131,FOLLOW_2); + + current = grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + + + } + + + } + break; + case 6 : + // InternalRDL.g:3565:3: (enumLiteral_5= 'nonsticky' ) + { + // InternalRDL.g:3565:3: (enumLiteral_5= 'nonsticky' ) + // InternalRDL.g:3566:4: enumLiteral_5= 'nonsticky' + { + enumLiteral_5=(Token)match(input,132,FOLLOW_2); + + current = grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyModifier" + + // Delegated rules + + + 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\u0084\5\uffff\1\30\1\41\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}>"; + static final String[] dfa_7s = { + "\1\7\4\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\5\10\uffff\2\10\10\uffff\1\5", + "\1\5\10\uffff\2\10\20\uffff\2\10", + "", + "" + }; + + static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); + static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s); + static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); + static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s); + static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); + static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s); + static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s); + + class DFA1 extends DFA { + + public DFA1(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 1; + this.eot = dfa_1; + this.eof = dfa_2; + this.min = dfa_3; + this.max = dfa_4; + this.accept = dfa_5; + this.special = dfa_6; + 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 ) ) )*"; + } + } + + + 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[]{0xFFFFAF1C01C20C22L,0x00FFFFFFFFFFFFFFL,0x000000000000001FL}); + 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[]{0x0000000000001000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000122000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00001FE000000000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000132000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000102000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000000C0050L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x00006F0000000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000208000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000001020L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0xFFFFAF1C01C30020L,0x00FFFFFFFFFFFFFFL,0x000000000000001FL}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000408020L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000001800020L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000400020L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000002008000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000002000002L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x000000003C004002L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x000000001C004002L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x000000001C000002L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000018000002L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000010000002L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0xFFFF801800800000L,0x00FFFFFFFFFFFFFFL,0x000000000000001FL}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x000000000000C000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x00000000000C1070L,0xFF80030000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0xFFFF801800800020L,0x00FFFFFFFFFFFFFFL,0x000000000000001FL}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000100000002L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000200000002L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000060L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000002010000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000010020L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000009000L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000001800010000L}); + +} \ 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 new file mode 100644 index 0000000..2ab9890 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java @@ -0,0 +1,179 @@ +/** + * 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 'Component Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@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#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() + * @model + * @generated + */ +public interface ComponentDefinition extends EObject +{ + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.ComponentDefinitionType}. + * + *

+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Type' attribute. + * @see com.minres.rdl.rdl.ComponentDefinitionType + * @see #setType(ComponentDefinitionType) + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_Type() + * @model + * @generated + */ + ComponentDefinitionType getType(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentDefinition#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see com.minres.rdl.rdl.ComponentDefinitionType + * @see #getType() + * @generated + */ + void setType(ComponentDefinitionType value); + + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Component Definitions' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.ComponentDefinition}. + * + *

+ * If the meaning of the 'Component Definitions' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Component Definitions' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_ComponentDefinitions() + * @model containment="true" + * @generated + */ + EList getComponentDefinitions(); + + /** + * Returns the value of the 'Named Instantiations' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.NamedInstantiation}. + * + *

+ * If the meaning of the 'Named 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() + * @model containment="true" + * @generated + */ + EList getNamedInstantiations(); + + /** + * Returns the value of the 'Property Assignments' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.PropertyAssignment}. + * + *

+ * If the meaning of the 'Property Assignments' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property Assignments' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_PropertyAssignments() + * @model containment="true" + * @generated + */ + EList getPropertyAssignments(); + + /** + * Returns the value of the 'Enum Definitions' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.EnumDefinition}. + * + *

+ * If the meaning of the 'Enum Definitions' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Enum Definitions' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_EnumDefinitions() + * @model containment="true" + * @generated + */ + 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/ComponentDefinitionType.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinitionType.java new file mode 100644 index 0000000..31141da --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinitionType.java @@ -0,0 +1,311 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Component Definition Type', + * and utility methods for working with them. + * + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinitionType() + * @model + * @generated + */ +public enum ComponentDefinitionType implements Enumerator +{ + /** + * The 'SIGNAL' literal object. + * + * + * @see #SIGNAL_VALUE + * @generated + * @ordered + */ + SIGNAL(0, "SIGNAL", "signal"), + + /** + * The 'ADDRMAP' literal object. + * + * + * @see #ADDRMAP_VALUE + * @generated + * @ordered + */ + ADDRMAP(1, "ADDRMAP", "addrmap"), + + /** + * The 'REGFILE' literal object. + * + * + * @see #REGFILE_VALUE + * @generated + * @ordered + */ + REGFILE(2, "REGFILE", "regfile"), + + /** + * The 'REG' literal object. + * + * + * @see #REG_VALUE + * @generated + * @ordered + */ + REG(3, "REG", "reg"), + + /** + * The 'FIELD' literal object. + * + * + * @see #FIELD_VALUE + * @generated + * @ordered + */ + FIELD(4, "FIELD", "field"); + + /** + * The 'SIGNAL' literal value. + * + *

+ * If the meaning of 'SIGNAL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SIGNAL + * @model literal="signal" + * @generated + * @ordered + */ + public static final int SIGNAL_VALUE = 0; + + /** + * The 'ADDRMAP' literal value. + * + *

+ * If the meaning of 'ADDRMAP' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ADDRMAP + * @model literal="addrmap" + * @generated + * @ordered + */ + public static final int ADDRMAP_VALUE = 1; + + /** + * The 'REGFILE' literal value. + * + *

+ * If the meaning of 'REGFILE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REGFILE + * @model literal="regfile" + * @generated + * @ordered + */ + public static final int REGFILE_VALUE = 2; + + /** + * The 'REG' literal value. + * + *

+ * If the meaning of 'REG' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REG + * @model literal="reg" + * @generated + * @ordered + */ + public static final int REG_VALUE = 3; + + /** + * The 'FIELD' literal value. + * + *

+ * If the meaning of 'FIELD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FIELD + * @model literal="field" + * @generated + * @ordered + */ + public static final int FIELD_VALUE = 4; + + /** + * An array of all the 'Component Definition Type' enumerators. + * + * + * @generated + */ + private static final ComponentDefinitionType[] VALUES_ARRAY = + new ComponentDefinitionType[] + { + SIGNAL, + ADDRMAP, + REGFILE, + REG, + FIELD, + }; + + /** + * A public read-only list of all the 'Component Definition Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Component Definition Type' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static ComponentDefinitionType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + ComponentDefinitionType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Component Definition Type' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static ComponentDefinitionType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + ComponentDefinitionType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Component Definition Type' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static ComponentDefinitionType get(int value) + { + switch (value) + { + case SIGNAL_VALUE: return SIGNAL; + case ADDRMAP_VALUE: return ADDRMAP; + case REGFILE_VALUE: return REGFILE; + case REG_VALUE: return REG; + case FIELD_VALUE: return FIELD; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private ComponentDefinitionType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //ComponentDefinitionType diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentInstance.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentInstance.java new file mode 100644 index 0000000..ed2e6fb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentInstance.java @@ -0,0 +1,159 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + + +/** + * + * A representation of the model object 'Component Instance'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.ComponentInstance#getRange Range}
  • + *
  • {@link com.minres.rdl.rdl.ComponentInstance#getReset Reset}
  • + *
  • {@link com.minres.rdl.rdl.ComponentInstance#getAddress Address}
  • + *
  • {@link com.minres.rdl.rdl.ComponentInstance#getAddrInc Addr Inc}
  • + *
  • {@link com.minres.rdl.rdl.ComponentInstance#getAddrMod Addr Mod}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getComponentInstance() + * @model + * @generated + */ +public interface ComponentInstance extends Entity +{ + /** + * Returns the value of the 'Range' containment reference. + * + *

+ * If the meaning of the 'Range' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Range' containment reference. + * @see #setRange(Range) + * @see com.minres.rdl.rdl.RdlPackage#getComponentInstance_Range() + * @model containment="true" + * @generated + */ + Range getRange(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentInstance#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(Range value); + + /** + * Returns the value of the 'Reset' attribute. + * + *

+ * If the meaning of the 'Reset' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Reset' attribute. + * @see #setReset(Object) + * @see com.minres.rdl.rdl.RdlPackage#getComponentInstance_Reset() + * @model + * @generated + */ + Object getReset(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentInstance#getReset Reset}' attribute. + * + * + * @param value the new value of the 'Reset' attribute. + * @see #getReset() + * @generated + */ + void setReset(Object value); + + /** + * Returns the value of the 'Address' attribute. + * + *

+ * If the meaning of the 'Address' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Address' attribute. + * @see #setAddress(Object) + * @see com.minres.rdl.rdl.RdlPackage#getComponentInstance_Address() + * @model + * @generated + */ + Object getAddress(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentInstance#getAddress Address}' attribute. + * + * + * @param value the new value of the 'Address' attribute. + * @see #getAddress() + * @generated + */ + void setAddress(Object value); + + /** + * Returns the value of the 'Addr Inc' attribute. + * + *

+ * If the meaning of the 'Addr Inc' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Addr Inc' attribute. + * @see #setAddrInc(Object) + * @see com.minres.rdl.rdl.RdlPackage#getComponentInstance_AddrInc() + * @model + * @generated + */ + Object getAddrInc(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentInstance#getAddrInc Addr Inc}' attribute. + * + * + * @param value the new value of the 'Addr Inc' attribute. + * @see #getAddrInc() + * @generated + */ + void setAddrInc(Object value); + + /** + * Returns the value of the 'Addr Mod' attribute. + * + *

+ * If the meaning of the 'Addr Mod' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Addr Mod' attribute. + * @see #setAddrMod(Object) + * @see com.minres.rdl.rdl.RdlPackage#getComponentInstance_AddrMod() + * @model + * @generated + */ + Object getAddrMod(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ComponentInstance#getAddrMod Addr Mod}' attribute. + * + * + * @param value the new value of the 'Addr Mod' attribute. + * @see #getAddrMod() + * @generated + */ + void setAddrMod(Object value); + +} // ComponentInstance diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Concat.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Concat.java new file mode 100644 index 0000000..50d3d46 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Concat.java @@ -0,0 +1,44 @@ +/** + * 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 'Concat'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.Concat#getElements Elements}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getConcat() + * @model + * @generated + */ +public interface Concat extends EObject +{ + /** + * Returns the value of the 'Elements' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.ConcatElem}. + * + *

+ * If the meaning of the 'Elements' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Elements' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getConcat_Elements() + * @model containment="true" + * @generated + */ + EList getElements(); + +} // Concat diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ConcatElem.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ConcatElem.java new file mode 100644 index 0000000..d509f16 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ConcatElem.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 'Concat Elem'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.ConcatElem#getInstPropRef Inst Prop Ref}
  • + *
  • {@link com.minres.rdl.rdl.ConcatElem#getValue Value}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getConcatElem() + * @model + * @generated + */ +public interface ConcatElem extends EObject +{ + /** + * Returns the value of the 'Inst Prop Ref' containment reference. + * + *

+ * If the meaning of the 'Inst Prop Ref' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Inst Prop Ref' containment reference. + * @see #setInstPropRef(InstancePropertyRef) + * @see com.minres.rdl.rdl.RdlPackage#getConcatElem_InstPropRef() + * @model containment="true" + * @generated + */ + InstancePropertyRef getInstPropRef(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ConcatElem#getInstPropRef Inst Prop Ref}' containment reference. + * + * + * @param value the new value of the 'Inst Prop Ref' containment reference. + * @see #getInstPropRef() + * @generated + */ + void setInstPropRef(InstancePropertyRef value); + + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(Object) + * @see com.minres.rdl.rdl.RdlPackage#getConcatElem_Value() + * @model + * @generated + */ + Object getValue(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ConcatElem#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(Object value); + +} // ConcatElem diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/DefaultProperyAssignment.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/DefaultProperyAssignment.java new file mode 100644 index 0000000..31b2985 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/DefaultProperyAssignment.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + + +/** + * + * A representation of the model object 'Default Propery Assignment'. + * + * + * + * @see com.minres.rdl.rdl.RdlPackage#getDefaultProperyAssignment() + * @model + * @generated + */ +public interface DefaultProperyAssignment extends PropertyAssignment +{ +} // DefaultProperyAssignment diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Entity.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Entity.java new file mode 100644 index 0000000..4290198 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Entity.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Entity'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.Entity#getName Name}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getEntity() + * @model + * @generated + */ +public interface Entity extends EObject +{ + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see com.minres.rdl.rdl.RdlPackage#getEntity_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Entity#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // Entity diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumBody.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumBody.java new file mode 100644 index 0000000..676139a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumBody.java @@ -0,0 +1,44 @@ +/** + * 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 'Enum Body'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.EnumBody#getEntries Entries}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getEnumBody() + * @model + * @generated + */ +public interface EnumBody extends EObject +{ + /** + * Returns the value of the 'Entries' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.EnumEntry}. + * + *

+ * If the meaning of the 'Entries' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Entries' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getEnumBody_Entries() + * @model containment="true" + * @generated + */ + EList getEntries(); + +} // EnumBody diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumDefinition.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumDefinition.java new file mode 100644 index 0000000..4cb38e0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumDefinition.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + + +/** + * + * A representation of the model object 'Enum Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.EnumDefinition#getBody Body}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getEnumDefinition() + * @model + * @generated + */ +public interface EnumDefinition extends Entity +{ + /** + * Returns the value of the 'Body' containment reference. + * + *

+ * If the meaning of the 'Body' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Body' containment reference. + * @see #setBody(EnumBody) + * @see com.minres.rdl.rdl.RdlPackage#getEnumDefinition_Body() + * @model containment="true" + * @generated + */ + EnumBody getBody(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumDefinition#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(EnumBody value); + +} // EnumDefinition diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumEntry.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumEntry.java new file mode 100644 index 0000000..d988ff6 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumEntry.java @@ -0,0 +1,98 @@ +/** + * 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 'Enum Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.EnumEntry#getName Name}
  • + *
  • {@link com.minres.rdl.rdl.EnumEntry#getIndex Index}
  • + *
  • {@link com.minres.rdl.rdl.EnumEntry#getProperties Properties}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getEnumEntry() + * @model + * @generated + */ +public interface EnumEntry extends EObject +{ + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see com.minres.rdl.rdl.RdlPackage#getEnumEntry_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumEntry#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Index' attribute. + * + *

+ * If the meaning of the 'Index' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Index' attribute. + * @see #setIndex(Object) + * @see com.minres.rdl.rdl.RdlPackage#getEnumEntry_Index() + * @model + * @generated + */ + Object getIndex(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumEntry#getIndex Index}' attribute. + * + * + * @param value the new value of the 'Index' attribute. + * @see #getIndex() + * @generated + */ + void setIndex(Object value); + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.EnumProperty}. + * + *

+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Properties' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getEnumEntry_Properties() + * @model containment="true" + * @generated + */ + EList getProperties(); + +} // EnumEntry diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumProperty.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumProperty.java new file mode 100644 index 0000000..881d27c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumProperty.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 Property'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.EnumProperty#getName Name}
  • + *
  • {@link com.minres.rdl.rdl.EnumProperty#getValue Value}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getEnumProperty() + * @model + * @generated + */ +public interface EnumProperty extends EObject +{ + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see com.minres.rdl.rdl.RdlPackage#getEnumProperty_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumProperty#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see com.minres.rdl.rdl.RdlPackage#getEnumProperty_Value() + * @model + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumProperty#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // EnumProperty diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ExplicitPropertyAssignment.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ExplicitPropertyAssignment.java new file mode 100644 index 0000000..98e6ed8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ExplicitPropertyAssignment.java @@ -0,0 +1,111 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + + +/** + * + * A representation of the model object 'Explicit Property Assignment'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getModifier Modifier}
  • + *
  • {@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getName Name}
  • + *
  • {@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getRhs Rhs}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getExplicitPropertyAssignment() + * @model + * @generated + */ +public interface ExplicitPropertyAssignment extends PropertyAssignment, DefaultProperyAssignment +{ + /** + * Returns the value of the 'Modifier' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.PropertyModifier}. + * + *

+ * If the meaning of the 'Modifier' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Modifier' attribute. + * @see com.minres.rdl.rdl.PropertyModifier + * @see #setModifier(PropertyModifier) + * @see com.minres.rdl.rdl.RdlPackage#getExplicitPropertyAssignment_Modifier() + * @model + * @generated + */ + PropertyModifier getModifier(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getModifier Modifier}' attribute. + * + * + * @param value the new value of the 'Modifier' attribute. + * @see com.minres.rdl.rdl.PropertyModifier + * @see #getModifier() + * @generated + */ + void setModifier(PropertyModifier value); + + /** + * Returns the value of the 'Name' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.PropertyEnum}. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see com.minres.rdl.rdl.PropertyEnum + * @see #setName(PropertyEnum) + * @see com.minres.rdl.rdl.RdlPackage#getExplicitPropertyAssignment_Name() + * @model + * @generated + */ + PropertyEnum getName(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see com.minres.rdl.rdl.PropertyEnum + * @see #getName() + * @generated + */ + void setName(PropertyEnum value); + + /** + * Returns the value of the 'Rhs' containment reference. + * + *

+ * If the meaning of the 'Rhs' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Rhs' containment reference. + * @see #setRhs(PropertyAssignmentRhs) + * @see com.minres.rdl.rdl.RdlPackage#getExplicitPropertyAssignment_Rhs() + * @model containment="true" + * @generated + */ + PropertyAssignmentRhs getRhs(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getRhs Rhs}' containment reference. + * + * + * @param value the new value of the 'Rhs' containment reference. + * @see #getRhs() + * @generated + */ + void setRhs(PropertyAssignmentRhs value); + +} // ExplicitPropertyAssignment 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 new file mode 100644 index 0000000..aca8f85 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ImmediateInstantiation.java @@ -0,0 +1,71 @@ +/** + * 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/Include.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Include.java new file mode 100644 index 0000000..79dca21 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Include.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Include'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.Include#getImportURI Import URI}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getInclude() + * @model + * @generated + */ +public interface Include extends EObject +{ + /** + * Returns the value of the 'Import URI' attribute. + * + *

+ * If the meaning of the 'Import URI' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Import URI' attribute. + * @see #setImportURI(String) + * @see com.minres.rdl.rdl.RdlPackage#getInclude_ImportURI() + * @model + * @generated + */ + String getImportURI(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Include#getImportURI Import URI}' attribute. + * + * + * @param value the new value of the 'Import URI' attribute. + * @see #getImportURI() + * @generated + */ + void setImportURI(String value); + +} // Include diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstancePropertyRef.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstancePropertyRef.java new file mode 100644 index 0000000..90dc246 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstancePropertyRef.java @@ -0,0 +1,109 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Instance Property Ref'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.InstancePropertyRef#getInstance Instance}
  • + *
  • {@link com.minres.rdl.rdl.InstancePropertyRef#getPropertyEnum Property Enum}
  • + *
  • {@link com.minres.rdl.rdl.InstancePropertyRef#getProperty Property}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getInstancePropertyRef() + * @model + * @generated + */ +public interface InstancePropertyRef extends EObject +{ + /** + * Returns the value of the 'Instance' containment reference. + * + *

+ * If the meaning of the 'Instance' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Instance' containment reference. + * @see #setInstance(InstanceRef) + * @see com.minres.rdl.rdl.RdlPackage#getInstancePropertyRef_Instance() + * @model containment="true" + * @generated + */ + InstanceRef getInstance(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.InstancePropertyRef#getInstance Instance}' containment reference. + * + * + * @param value the new value of the 'Instance' containment reference. + * @see #getInstance() + * @generated + */ + void setInstance(InstanceRef value); + + /** + * Returns the value of the 'Property Enum' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.PropertyEnum}. + * + *

+ * If the meaning of the 'Property Enum' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property Enum' attribute. + * @see com.minres.rdl.rdl.PropertyEnum + * @see #setPropertyEnum(PropertyEnum) + * @see com.minres.rdl.rdl.RdlPackage#getInstancePropertyRef_PropertyEnum() + * @model + * @generated + */ + PropertyEnum getPropertyEnum(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.InstancePropertyRef#getPropertyEnum Property Enum}' attribute. + * + * + * @param value the new value of the 'Property Enum' attribute. + * @see com.minres.rdl.rdl.PropertyEnum + * @see #getPropertyEnum() + * @generated + */ + void setPropertyEnum(PropertyEnum value); + + /** + * Returns the value of the 'Property' reference. + * + *

+ * If the meaning of the 'Property' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property' reference. + * @see #setProperty(PropertyDefinition) + * @see com.minres.rdl.rdl.RdlPackage#getInstancePropertyRef_Property() + * @model + * @generated + */ + PropertyDefinition getProperty(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.InstancePropertyRef#getProperty Property}' reference. + * + * + * @param value the new value of the 'Property' reference. + * @see #getProperty() + * @generated + */ + void setProperty(PropertyDefinition value); + +} // InstancePropertyRef diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstanceRef.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstanceRef.java new file mode 100644 index 0000000..ca64679 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstanceRef.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 'Instance Ref'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.InstanceRef#getInstance Instance}
  • + *
  • {@link com.minres.rdl.rdl.InstanceRef#getTail Tail}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getInstanceRef() + * @model + * @generated + */ +public interface InstanceRef extends EObject +{ + /** + * Returns the value of the 'Instance' reference. + * + *

+ * If the meaning of the 'Instance' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Instance' reference. + * @see #setInstance(Entity) + * @see com.minres.rdl.rdl.RdlPackage#getInstanceRef_Instance() + * @model + * @generated + */ + Entity getInstance(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.InstanceRef#getInstance Instance}' reference. + * + * + * @param value the new value of the 'Instance' reference. + * @see #getInstance() + * @generated + */ + void setInstance(Entity value); + + /** + * Returns the value of the 'Tail' containment reference. + * + *

+ * If the meaning of the 'Tail' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Tail' containment reference. + * @see #setTail(InstanceRef) + * @see com.minres.rdl.rdl.RdlPackage#getInstanceRef_Tail() + * @model containment="true" + * @generated + */ + InstanceRef getTail(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.InstanceRef#getTail Tail}' containment reference. + * + * + * @param value the new value of the 'Tail' containment reference. + * @see #getTail() + * @generated + */ + void setTail(InstanceRef value); + +} // InstanceRef 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 new file mode 100644 index 0000000..a6aff67 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/NamedInstantiation.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 '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/PostPropertyAssignment.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PostPropertyAssignment.java new file mode 100644 index 0000000..6fe7b48 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PostPropertyAssignment.java @@ -0,0 +1,135 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + + +/** + * + * A representation of the model object 'Post Property Assignment'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.PostPropertyAssignment#getInstance Instance}
  • + *
  • {@link com.minres.rdl.rdl.PostPropertyAssignment#getPropertyEnum Property Enum}
  • + *
  • {@link com.minres.rdl.rdl.PostPropertyAssignment#getProperty Property}
  • + *
  • {@link com.minres.rdl.rdl.PostPropertyAssignment#getRhs Rhs}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getPostPropertyAssignment() + * @model + * @generated + */ +public interface PostPropertyAssignment extends PropertyAssignment +{ + /** + * Returns the value of the 'Instance' containment reference. + * + *

+ * If the meaning of the 'Instance' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Instance' containment reference. + * @see #setInstance(InstanceRef) + * @see com.minres.rdl.rdl.RdlPackage#getPostPropertyAssignment_Instance() + * @model containment="true" + * @generated + */ + InstanceRef getInstance(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PostPropertyAssignment#getInstance Instance}' containment reference. + * + * + * @param value the new value of the 'Instance' containment reference. + * @see #getInstance() + * @generated + */ + void setInstance(InstanceRef value); + + /** + * Returns the value of the 'Property Enum' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.PropertyEnum}. + * + *

+ * If the meaning of the 'Property Enum' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property Enum' attribute. + * @see com.minres.rdl.rdl.PropertyEnum + * @see #setPropertyEnum(PropertyEnum) + * @see com.minres.rdl.rdl.RdlPackage#getPostPropertyAssignment_PropertyEnum() + * @model + * @generated + */ + PropertyEnum getPropertyEnum(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PostPropertyAssignment#getPropertyEnum Property Enum}' attribute. + * + * + * @param value the new value of the 'Property Enum' attribute. + * @see com.minres.rdl.rdl.PropertyEnum + * @see #getPropertyEnum() + * @generated + */ + void setPropertyEnum(PropertyEnum value); + + /** + * Returns the value of the 'Property' reference. + * + *

+ * If the meaning of the 'Property' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property' reference. + * @see #setProperty(PropertyDefinition) + * @see com.minres.rdl.rdl.RdlPackage#getPostPropertyAssignment_Property() + * @model + * @generated + */ + PropertyDefinition getProperty(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PostPropertyAssignment#getProperty Property}' reference. + * + * + * @param value the new value of the 'Property' reference. + * @see #getProperty() + * @generated + */ + void setProperty(PropertyDefinition value); + + /** + * Returns the value of the 'Rhs' containment reference. + * + *

+ * If the meaning of the 'Rhs' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Rhs' containment reference. + * @see #setRhs(PropertyAssignmentRhs) + * @see com.minres.rdl.rdl.RdlPackage#getPostPropertyAssignment_Rhs() + * @model containment="true" + * @generated + */ + PropertyAssignmentRhs getRhs(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PostPropertyAssignment#getRhs Rhs}' containment reference. + * + * + * @param value the new value of the 'Rhs' containment reference. + * @see #getRhs() + * @generated + */ + void setRhs(PropertyAssignmentRhs value); + +} // PostPropertyAssignment diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignment.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignment.java new file mode 100644 index 0000000..5fa9bc2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignment.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Property Assignment'. + * + * + * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignment() + * @model + * @generated + */ +public interface PropertyAssignment extends EObject +{ +} // PropertyAssignment diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignmentRhs.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignmentRhs.java new file mode 100644 index 0000000..e1886f2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignmentRhs.java @@ -0,0 +1,160 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Property Assignment Rhs'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.PropertyAssignmentRhs#getValue Value}
  • + *
  • {@link com.minres.rdl.rdl.PropertyAssignmentRhs#getInstPropRef Inst Prop Ref}
  • + *
  • {@link com.minres.rdl.rdl.PropertyAssignmentRhs#getEnumRef Enum Ref}
  • + *
  • {@link com.minres.rdl.rdl.PropertyAssignmentRhs#getEnums Enums}
  • + *
  • {@link com.minres.rdl.rdl.PropertyAssignmentRhs#getElements Elements}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignmentRhs() + * @model + * @generated + */ +public interface PropertyAssignmentRhs extends EObject +{ + /** + * Returns the value of the 'Value' containment reference. + * + *

+ * If the meaning of the 'Value' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' containment reference. + * @see #setValue(RValue) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignmentRhs_Value() + * @model containment="true" + * @generated + */ + RValue getValue(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(RValue value); + + /** + * Returns the value of the 'Inst Prop Ref' containment reference. + * + *

+ * If the meaning of the 'Inst Prop Ref' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Inst Prop Ref' containment reference. + * @see #setInstPropRef(InstancePropertyRef) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignmentRhs_InstPropRef() + * @model containment="true" + * @generated + */ + InstancePropertyRef getInstPropRef(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getInstPropRef Inst Prop Ref}' containment reference. + * + * + * @param value the new value of the 'Inst Prop Ref' containment reference. + * @see #getInstPropRef() + * @generated + */ + void setInstPropRef(InstancePropertyRef value); + + /** + * Returns the value of the 'Enum Ref' reference. + * + *

+ * If the meaning of the 'Enum Ref' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Enum Ref' reference. + * @see #setEnumRef(EnumDefinition) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignmentRhs_EnumRef() + * @model + * @generated + */ + EnumDefinition getEnumRef(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getEnumRef Enum Ref}' reference. + * + * + * @param value the new value of the 'Enum Ref' reference. + * @see #getEnumRef() + * @generated + */ + void setEnumRef(EnumDefinition value); + + /** + * Returns the value of the 'Enums' containment reference. + * + *

+ * If the meaning of the 'Enums' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Enums' containment reference. + * @see #setEnums(EnumBody) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignmentRhs_Enums() + * @model containment="true" + * @generated + */ + EnumBody getEnums(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getEnums Enums}' containment reference. + * + * + * @param value the new value of the 'Enums' containment reference. + * @see #getEnums() + * @generated + */ + void setEnums(EnumBody value); + + /** + * Returns the value of the 'Elements' containment reference. + * + *

+ * If the meaning of the 'Elements' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Elements' containment reference. + * @see #setElements(Concat) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyAssignmentRhs_Elements() + * @model containment="true" + * @generated + */ + Concat getElements(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getElements Elements}' containment reference. + * + * + * @param value the new value of the 'Elements' containment reference. + * @see #getElements() + * @generated + */ + void setElements(Concat value); + +} // PropertyAssignmentRhs diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyComponent.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyComponent.java new file mode 100644 index 0000000..9616d30 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyComponent.java @@ -0,0 +1,338 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Property Component', + * and utility methods for working with them. + * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyComponent() + * @model + * @generated + */ +public enum PropertyComponent implements Enumerator +{ + /** + * The 'SIGNAL' literal object. + * + * + * @see #SIGNAL_VALUE + * @generated + * @ordered + */ + SIGNAL(0, "SIGNAL", "signal"), + + /** + * The 'ADDRMAP' literal object. + * + * + * @see #ADDRMAP_VALUE + * @generated + * @ordered + */ + ADDRMAP(1, "ADDRMAP", "addrmap"), + + /** + * The 'REG' literal object. + * + * + * @see #REG_VALUE + * @generated + * @ordered + */ + REG(2, "REG", "reg"), + + /** + * The 'REGFILE' literal object. + * + * + * @see #REGFILE_VALUE + * @generated + * @ordered + */ + REGFILE(3, "REGFILE", "regfile"), + + /** + * The 'FIELD' literal object. + * + * + * @see #FIELD_VALUE + * @generated + * @ordered + */ + FIELD(4, "FIELD", "field"), + + /** + * The 'ALL' literal object. + * + * + * @see #ALL_VALUE + * @generated + * @ordered + */ + ALL(5, "ALL", "all"); + + /** + * The 'SIGNAL' literal value. + * + *

+ * If the meaning of 'SIGNAL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SIGNAL + * @model literal="signal" + * @generated + * @ordered + */ + public static final int SIGNAL_VALUE = 0; + + /** + * The 'ADDRMAP' literal value. + * + *

+ * If the meaning of 'ADDRMAP' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ADDRMAP + * @model literal="addrmap" + * @generated + * @ordered + */ + public static final int ADDRMAP_VALUE = 1; + + /** + * The 'REG' literal value. + * + *

+ * If the meaning of 'REG' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REG + * @model literal="reg" + * @generated + * @ordered + */ + public static final int REG_VALUE = 2; + + /** + * The 'REGFILE' literal value. + * + *

+ * If the meaning of 'REGFILE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REGFILE + * @model literal="regfile" + * @generated + * @ordered + */ + public static final int REGFILE_VALUE = 3; + + /** + * The 'FIELD' literal value. + * + *

+ * If the meaning of 'FIELD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FIELD + * @model literal="field" + * @generated + * @ordered + */ + public static final int FIELD_VALUE = 4; + + /** + * The 'ALL' literal value. + * + *

+ * If the meaning of 'ALL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ALL + * @model literal="all" + * @generated + * @ordered + */ + public static final int ALL_VALUE = 5; + + /** + * An array of all the 'Property Component' enumerators. + * + * + * @generated + */ + private static final PropertyComponent[] VALUES_ARRAY = + new PropertyComponent[] + { + SIGNAL, + ADDRMAP, + REG, + REGFILE, + FIELD, + ALL, + }; + + /** + * A public read-only list of all the 'Property Component' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Property Component' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyComponent get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyComponent result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Component' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyComponent getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyComponent result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Component' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyComponent get(int value) + { + switch (value) + { + case SIGNAL_VALUE: return SIGNAL; + case ADDRMAP_VALUE: return ADDRMAP; + case REG_VALUE: return REG; + case REGFILE_VALUE: return REGFILE; + case FIELD_VALUE: return FIELD; + case ALL_VALUE: return ALL; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private PropertyComponent(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //PropertyComponent diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefault.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefault.java new file mode 100644 index 0000000..b9d3729 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefault.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 'Property Default'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.PropertyDefault#getString String}
  • + *
  • {@link com.minres.rdl.rdl.PropertyDefault#getValue Value}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefault() + * @model + * @generated + */ +public interface PropertyDefault extends EObject +{ + /** + * Returns the value of the 'String' attribute. + * + *

+ * If the meaning of the 'String' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'String' attribute. + * @see #setString(String) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefault_String() + * @model + * @generated + */ + String getString(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyDefault#getString String}' attribute. + * + * + * @param value the new value of the 'String' attribute. + * @see #getString() + * @generated + */ + void setString(String value); + + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(Object) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefault_Value() + * @model + * @generated + */ + Object getValue(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyDefault#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(Object value); + +} // PropertyDefault diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefinition.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefinition.java new file mode 100644 index 0000000..b4415e9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefinition.java @@ -0,0 +1,108 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + + +/** + * + * A representation of the model object 'Property Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.PropertyDefinition#getType Type}
  • + *
  • {@link com.minres.rdl.rdl.PropertyDefinition#getUsage Usage}
  • + *
  • {@link com.minres.rdl.rdl.PropertyDefinition#getDefault Default}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefinition() + * @model + * @generated + */ +public interface PropertyDefinition extends Entity +{ + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.PropertyTypeName}. + * + *

+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Type' attribute. + * @see com.minres.rdl.rdl.PropertyTypeName + * @see #setType(PropertyTypeName) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefinition_Type() + * @model + * @generated + */ + PropertyTypeName getType(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyDefinition#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see com.minres.rdl.rdl.PropertyTypeName + * @see #getType() + * @generated + */ + void setType(PropertyTypeName value); + + /** + * Returns the value of the 'Usage' containment reference. + * + *

+ * If the meaning of the 'Usage' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Usage' containment reference. + * @see #setUsage(PropertyUsage) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefinition_Usage() + * @model containment="true" + * @generated + */ + PropertyUsage getUsage(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyDefinition#getUsage Usage}' containment reference. + * + * + * @param value the new value of the 'Usage' containment reference. + * @see #getUsage() + * @generated + */ + void setUsage(PropertyUsage value); + + /** + * Returns the value of the 'Default' containment reference. + * + *

+ * If the meaning of the 'Default' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Default' containment reference. + * @see #setDefault(PropertyDefault) + * @see com.minres.rdl.rdl.RdlPackage#getPropertyDefinition_Default() + * @model containment="true" + * @generated + */ + PropertyDefault getDefault(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.PropertyDefinition#getDefault Default}' containment reference. + * + * + * @param value the new value of the 'Default' containment reference. + * @see #getDefault() + * @generated + */ + void setDefault(PropertyDefault value); + +} // PropertyDefinition diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyEnum.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyEnum.java new file mode 100644 index 0000000..3cc35ef --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyEnum.java @@ -0,0 +1,2228 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Property Enum', + * and utility methods for working with them. + * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyEnum() + * @model + * @generated + */ +public enum PropertyEnum implements Enumerator +{ + /** + * The 'UNSPECIFIED' literal object. + * + * + * @see #UNSPECIFIED_VALUE + * @generated + * @ordered + */ + UNSPECIFIED(0, "UNSPECIFIED", "UNSPECIFIED"), + + /** + * The 'NAME' literal object. + * + * + * @see #NAME_VALUE + * @generated + * @ordered + */ + NAME(1, "NAME", "name"), + + /** + * The 'DESC' literal object. + * + * + * @see #DESC_VALUE + * @generated + * @ordered + */ + DESC(2, "DESC", "desc"), + + /** + * The 'ARBITER' literal object. + * + * + * @see #ARBITER_VALUE + * @generated + * @ordered + */ + ARBITER(3, "ARBITER", "arbiter"), + + /** + * The 'RSET' literal object. + * + * + * @see #RSET_VALUE + * @generated + * @ordered + */ + RSET(4, "RSET", "rset"), + + /** + * The 'RCLR' literal object. + * + * + * @see #RCLR_VALUE + * @generated + * @ordered + */ + RCLR(5, "RCLR", "rclr"), + + /** + * The 'WOCLR' literal object. + * + * + * @see #WOCLR_VALUE + * @generated + * @ordered + */ + WOCLR(6, "WOCLR", "woclr"), + + /** + * The 'WOSET' literal object. + * + * + * @see #WOSET_VALUE + * @generated + * @ordered + */ + WOSET(7, "WOSET", "woset"), + + /** + * The 'WE' literal object. + * + * + * @see #WE_VALUE + * @generated + * @ordered + */ + WE(8, "WE", "we"), + + /** + * The 'WEL' literal object. + * + * + * @see #WEL_VALUE + * @generated + * @ordered + */ + WEL(9, "WEL", "wel"), + + /** + * The 'SWWE' literal object. + * + * + * @see #SWWE_VALUE + * @generated + * @ordered + */ + SWWE(10, "SWWE", "swwe"), + + /** + * The 'SWWEL' literal object. + * + * + * @see #SWWEL_VALUE + * @generated + * @ordered + */ + SWWEL(11, "SWWEL", "swwel"), + + /** + * The 'HWSET' literal object. + * + * + * @see #HWSET_VALUE + * @generated + * @ordered + */ + HWSET(12, "HWSET", "hwset"), + + /** + * The 'HWCLR' literal object. + * + * + * @see #HWCLR_VALUE + * @generated + * @ordered + */ + HWCLR(13, "HWCLR", "hwclr"), + + /** + * The 'SWMOD' literal object. + * + * + * @see #SWMOD_VALUE + * @generated + * @ordered + */ + SWMOD(14, "SWMOD", "swmod"), + + /** + * The 'SWACC' literal object. + * + * + * @see #SWACC_VALUE + * @generated + * @ordered + */ + SWACC(15, "SWACC", "swacc"), + + /** + * The 'STICKY' literal object. + * + * + * @see #STICKY_VALUE + * @generated + * @ordered + */ + STICKY(16, "STICKY", "sticky"), + + /** + * The 'STICKYBIT' literal object. + * + * + * @see #STICKYBIT_VALUE + * @generated + * @ordered + */ + STICKYBIT(17, "STICKYBIT", "stickybit"), + + /** + * The 'INTR' literal object. + * + * + * @see #INTR_VALUE + * @generated + * @ordered + */ + INTR(18, "INTR", "intr"), + + /** + * The 'ANDED' literal object. + * + * + * @see #ANDED_VALUE + * @generated + * @ordered + */ + ANDED(19, "ANDED", "anded"), + + /** + * The 'ORED' literal object. + * + * + * @see #ORED_VALUE + * @generated + * @ordered + */ + ORED(20, "ORED", "ored"), + + /** + * The 'XORED' literal object. + * + * + * @see #XORED_VALUE + * @generated + * @ordered + */ + XORED(21, "XORED", "xored"), + + /** + * The 'COUNTER' literal object. + * + * + * @see #COUNTER_VALUE + * @generated + * @ordered + */ + COUNTER(22, "COUNTER", "counter"), + + /** + * The 'OVERFLOW' literal object. + * + * + * @see #OVERFLOW_VALUE + * @generated + * @ordered + */ + OVERFLOW(23, "OVERFLOW", "overflow"), + + /** + * The 'SHAREDEXTBUS' literal object. + * + * + * @see #SHAREDEXTBUS_VALUE + * @generated + * @ordered + */ + SHAREDEXTBUS(24, "SHAREDEXTBUS", "sharedextbus"), + + /** + * The 'ERREXTBUS' literal object. + * + * + * @see #ERREXTBUS_VALUE + * @generated + * @ordered + */ + ERREXTBUS(25, "ERREXTBUS", "errextbus"), + + /** + * The 'RESET' literal object. + * + * + * @see #RESET_VALUE + * @generated + * @ordered + */ + RESET(26, "RESET", "reset"), + + /** + * The 'LITTLEENDIAN' literal object. + * + * + * @see #LITTLEENDIAN_VALUE + * @generated + * @ordered + */ + LITTLEENDIAN(27, "LITTLEENDIAN", "littleendian"), + + /** + * The 'BIGENDIAN' literal object. + * + * + * @see #BIGENDIAN_VALUE + * @generated + * @ordered + */ + BIGENDIAN(28, "BIGENDIAN", "bigendian"), + + /** + * The 'RSVDSET' literal object. + * + * + * @see #RSVDSET_VALUE + * @generated + * @ordered + */ + RSVDSET(29, "RSVDSET", "rsvdset"), + + /** + * The 'RSVDSETX' literal object. + * + * + * @see #RSVDSETX_VALUE + * @generated + * @ordered + */ + RSVDSETX(30, "RSVDSETX", "rsvdsetX"), + + /** + * The 'BRIDGE' literal object. + * + * + * @see #BRIDGE_VALUE + * @generated + * @ordered + */ + BRIDGE(31, "BRIDGE", "bridge"), + + /** + * The 'SHARED' literal object. + * + * + * @see #SHARED_VALUE + * @generated + * @ordered + */ + SHARED(32, "SHARED", "shared"), + + /** + * The 'MSB0' literal object. + * + * + * @see #MSB0_VALUE + * @generated + * @ordered + */ + MSB0(33, "MSB0", "msb0"), + + /** + * The 'LSB0' literal object. + * + * + * @see #LSB0_VALUE + * @generated + * @ordered + */ + LSB0(34, "LSB0", "lsb0"), + + /** + * The 'SYNC' literal object. + * + * + * @see #SYNC_VALUE + * @generated + * @ordered + */ + SYNC(35, "SYNC", "sync"), + + /** + * The 'ASYNC' literal object. + * + * + * @see #ASYNC_VALUE + * @generated + * @ordered + */ + ASYNC(36, "ASYNC", "async"), + + /** + * The 'CPUIF RESET' literal object. + * + * + * @see #CPUIF_RESET_VALUE + * @generated + * @ordered + */ + CPUIF_RESET(37, "CPUIF_RESET", "cpuif_reset"), + + /** + * The 'FIELD RESET' literal object. + * + * + * @see #FIELD_RESET_VALUE + * @generated + * @ordered + */ + FIELD_RESET(38, "FIELD_RESET", "field_reset"), + + /** + * The 'ACTIVEHIGH' literal object. + * + * + * @see #ACTIVEHIGH_VALUE + * @generated + * @ordered + */ + ACTIVEHIGH(39, "ACTIVEHIGH", "activehigh"), + + /** + * The 'ACTIVELOW' literal object. + * + * + * @see #ACTIVELOW_VALUE + * @generated + * @ordered + */ + ACTIVELOW(40, "ACTIVELOW", "activelow"), + + /** + * The 'SINGLEPULSE' literal object. + * + * + * @see #SINGLEPULSE_VALUE + * @generated + * @ordered + */ + SINGLEPULSE(41, "SINGLEPULSE", "singlepulse"), + + /** + * The 'UNDERFLOW' literal object. + * + * + * @see #UNDERFLOW_VALUE + * @generated + * @ordered + */ + UNDERFLOW(42, "UNDERFLOW", "underflow"), + + /** + * The 'INCR' literal object. + * + * + * @see #INCR_VALUE + * @generated + * @ordered + */ + INCR(43, "INCR", "incr"), + + /** + * The 'DECR' literal object. + * + * + * @see #DECR_VALUE + * @generated + * @ordered + */ + DECR(44, "DECR", "decr"), + + /** + * The 'INCRWIDTH' literal object. + * + * + * @see #INCRWIDTH_VALUE + * @generated + * @ordered + */ + INCRWIDTH(45, "INCRWIDTH", "incrwidth"), + + /** + * The 'DECRWIDTH' literal object. + * + * + * @see #DECRWIDTH_VALUE + * @generated + * @ordered + */ + DECRWIDTH(46, "DECRWIDTH", "decrwidth"), + + /** + * The 'INCRVALUE' literal object. + * + * + * @see #INCRVALUE_VALUE + * @generated + * @ordered + */ + INCRVALUE(47, "INCRVALUE", "incrvalue"), + + /** + * The 'DECRVALUE' literal object. + * + * + * @see #DECRVALUE_VALUE + * @generated + * @ordered + */ + DECRVALUE(48, "DECRVALUE", "decrvalue"), + + /** + * The 'SATURATE' literal object. + * + * + * @see #SATURATE_VALUE + * @generated + * @ordered + */ + SATURATE(49, "SATURATE", "saturate"), + + /** + * The 'DECRSATURATE' literal object. + * + * + * @see #DECRSATURATE_VALUE + * @generated + * @ordered + */ + DECRSATURATE(50, "DECRSATURATE", "decrsaturate"), + + /** + * The 'THRESHOLD' literal object. + * + * + * @see #THRESHOLD_VALUE + * @generated + * @ordered + */ + THRESHOLD(51, "THRESHOLD", "threshold"), + + /** + * The 'DECRTHRESHOLD' literal object. + * + * + * @see #DECRTHRESHOLD_VALUE + * @generated + * @ordered + */ + DECRTHRESHOLD(52, "DECRTHRESHOLD", "decrthreshold"), + + /** + * The 'DONTCOMPARE' literal object. + * + * + * @see #DONTCOMPARE_VALUE + * @generated + * @ordered + */ + DONTCOMPARE(53, "DONTCOMPARE", "dontcompare"), + + /** + * The 'DONTTEST' literal object. + * + * + * @see #DONTTEST_VALUE + * @generated + * @ordered + */ + DONTTEST(54, "DONTTEST", "donttest"), + + /** + * The 'INTERNAL' literal object. + * + * + * @see #INTERNAL_VALUE + * @generated + * @ordered + */ + INTERNAL(55, "INTERNAL", "internal"), + + /** + * The 'ALIGNMENT' literal object. + * + * + * @see #ALIGNMENT_VALUE + * @generated + * @ordered + */ + ALIGNMENT(56, "ALIGNMENT", "alignment"), + + /** + * The 'REGWIDTH' literal object. + * + * + * @see #REGWIDTH_VALUE + * @generated + * @ordered + */ + REGWIDTH(57, "REGWIDTH", "regwidth"), + + /** + * The 'FIELDWIDTH' literal object. + * + * + * @see #FIELDWIDTH_VALUE + * @generated + * @ordered + */ + FIELDWIDTH(58, "FIELDWIDTH", "fieldwidth"), + + /** + * The 'SIGNALWIDTH' literal object. + * + * + * @see #SIGNALWIDTH_VALUE + * @generated + * @ordered + */ + SIGNALWIDTH(59, "SIGNALWIDTH", "signalwidth"), + + /** + * The 'ACCESSWIDTH' literal object. + * + * + * @see #ACCESSWIDTH_VALUE + * @generated + * @ordered + */ + ACCESSWIDTH(60, "ACCESSWIDTH", "accesswidth"), + + /** + * The 'SW' literal object. + * + * + * @see #SW_VALUE + * @generated + * @ordered + */ + SW(61, "SW", "sw"), + + /** + * The 'HW' literal object. + * + * + * @see #HW_VALUE + * @generated + * @ordered + */ + HW(62, "HW", "hw"), + + /** + * The 'ADDRESSING' literal object. + * + * + * @see #ADDRESSING_VALUE + * @generated + * @ordered + */ + ADDRESSING(63, "ADDRESSING", "addressing"), + + /** + * The 'PRECEDENCE' literal object. + * + * + * @see #PRECEDENCE_VALUE + * @generated + * @ordered + */ + PRECEDENCE(64, "PRECEDENCE", "precedence"), + + /** + * The 'ENCODE' literal object. + * + * + * @see #ENCODE_VALUE + * @generated + * @ordered + */ + ENCODE(65, "ENCODE", "encode"), + + /** + * The 'RESETSIGNAL' literal object. + * + * + * @see #RESETSIGNAL_VALUE + * @generated + * @ordered + */ + RESETSIGNAL(66, "RESETSIGNAL", "resetsignal"), + + /** + * The 'CLOCK' literal object. + * + * + * @see #CLOCK_VALUE + * @generated + * @ordered + */ + CLOCK(67, "CLOCK", "clock"), + + /** + * The 'MASK' literal object. + * + * + * @see #MASK_VALUE + * @generated + * @ordered + */ + MASK(68, "MASK", "mask"), + + /** + * The 'ENABLE' literal object. + * + * + * @see #ENABLE_VALUE + * @generated + * @ordered + */ + ENABLE(69, "ENABLE", "enable"), + + /** + * The 'HWENABLE' literal object. + * + * + * @see #HWENABLE_VALUE + * @generated + * @ordered + */ + HWENABLE(70, "HWENABLE", "hwenable"), + + /** + * The 'HWMASK' literal object. + * + * + * @see #HWMASK_VALUE + * @generated + * @ordered + */ + HWMASK(71, "HWMASK", "hwmask"), + + /** + * The 'HALTMASK' literal object. + * + * + * @see #HALTMASK_VALUE + * @generated + * @ordered + */ + HALTMASK(72, "HALTMASK", "haltmask"), + + /** + * The 'HALTENABLE' literal object. + * + * + * @see #HALTENABLE_VALUE + * @generated + * @ordered + */ + HALTENABLE(73, "HALTENABLE", "haltenable"), + + /** + * The 'HALT' literal object. + * + * + * @see #HALT_VALUE + * @generated + * @ordered + */ + HALT(74, "HALT", "halt"), + + /** + * The 'NEXT' literal object. + * + * + * @see #NEXT_VALUE + * @generated + * @ordered + */ + NEXT(75, "NEXT", "next"); + + /** + * The 'UNSPECIFIED' literal value. + * + *

+ * If the meaning of 'UNSPECIFIED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #UNSPECIFIED + * @model + * @generated + * @ordered + */ + public static final int UNSPECIFIED_VALUE = 0; + + /** + * The 'NAME' literal value. + * + *

+ * If the meaning of 'NAME' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NAME + * @model literal="name" + * @generated + * @ordered + */ + public static final int NAME_VALUE = 1; + + /** + * The 'DESC' literal value. + * + *

+ * If the meaning of 'DESC' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DESC + * @model literal="desc" + * @generated + * @ordered + */ + public static final int DESC_VALUE = 2; + + /** + * The 'ARBITER' literal value. + * + *

+ * If the meaning of 'ARBITER' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ARBITER + * @model literal="arbiter" + * @generated + * @ordered + */ + public static final int ARBITER_VALUE = 3; + + /** + * The 'RSET' literal value. + * + *

+ * If the meaning of 'RSET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RSET + * @model literal="rset" + * @generated + * @ordered + */ + public static final int RSET_VALUE = 4; + + /** + * The 'RCLR' literal value. + * + *

+ * If the meaning of 'RCLR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RCLR + * @model literal="rclr" + * @generated + * @ordered + */ + public static final int RCLR_VALUE = 5; + + /** + * The 'WOCLR' literal value. + * + *

+ * If the meaning of 'WOCLR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #WOCLR + * @model literal="woclr" + * @generated + * @ordered + */ + public static final int WOCLR_VALUE = 6; + + /** + * The 'WOSET' literal value. + * + *

+ * If the meaning of 'WOSET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #WOSET + * @model literal="woset" + * @generated + * @ordered + */ + public static final int WOSET_VALUE = 7; + + /** + * The 'WE' literal value. + * + *

+ * If the meaning of 'WE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #WE + * @model literal="we" + * @generated + * @ordered + */ + public static final int WE_VALUE = 8; + + /** + * The 'WEL' literal value. + * + *

+ * If the meaning of 'WEL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #WEL + * @model literal="wel" + * @generated + * @ordered + */ + public static final int WEL_VALUE = 9; + + /** + * The 'SWWE' literal value. + * + *

+ * If the meaning of 'SWWE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SWWE + * @model literal="swwe" + * @generated + * @ordered + */ + public static final int SWWE_VALUE = 10; + + /** + * The 'SWWEL' literal value. + * + *

+ * If the meaning of 'SWWEL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SWWEL + * @model literal="swwel" + * @generated + * @ordered + */ + public static final int SWWEL_VALUE = 11; + + /** + * The 'HWSET' literal value. + * + *

+ * If the meaning of 'HWSET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HWSET + * @model literal="hwset" + * @generated + * @ordered + */ + public static final int HWSET_VALUE = 12; + + /** + * The 'HWCLR' literal value. + * + *

+ * If the meaning of 'HWCLR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HWCLR + * @model literal="hwclr" + * @generated + * @ordered + */ + public static final int HWCLR_VALUE = 13; + + /** + * The 'SWMOD' literal value. + * + *

+ * If the meaning of 'SWMOD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SWMOD + * @model literal="swmod" + * @generated + * @ordered + */ + public static final int SWMOD_VALUE = 14; + + /** + * The 'SWACC' literal value. + * + *

+ * If the meaning of 'SWACC' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SWACC + * @model literal="swacc" + * @generated + * @ordered + */ + public static final int SWACC_VALUE = 15; + + /** + * The 'STICKY' literal value. + * + *

+ * If the meaning of 'STICKY' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #STICKY + * @model literal="sticky" + * @generated + * @ordered + */ + public static final int STICKY_VALUE = 16; + + /** + * The 'STICKYBIT' literal value. + * + *

+ * If the meaning of 'STICKYBIT' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #STICKYBIT + * @model literal="stickybit" + * @generated + * @ordered + */ + public static final int STICKYBIT_VALUE = 17; + + /** + * The 'INTR' literal value. + * + *

+ * If the meaning of 'INTR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INTR + * @model literal="intr" + * @generated + * @ordered + */ + public static final int INTR_VALUE = 18; + + /** + * The 'ANDED' literal value. + * + *

+ * If the meaning of 'ANDED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ANDED + * @model literal="anded" + * @generated + * @ordered + */ + public static final int ANDED_VALUE = 19; + + /** + * The 'ORED' literal value. + * + *

+ * If the meaning of 'ORED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ORED + * @model literal="ored" + * @generated + * @ordered + */ + public static final int ORED_VALUE = 20; + + /** + * The 'XORED' literal value. + * + *

+ * If the meaning of 'XORED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #XORED + * @model literal="xored" + * @generated + * @ordered + */ + public static final int XORED_VALUE = 21; + + /** + * The 'COUNTER' literal value. + * + *

+ * If the meaning of 'COUNTER' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #COUNTER + * @model literal="counter" + * @generated + * @ordered + */ + public static final int COUNTER_VALUE = 22; + + /** + * The 'OVERFLOW' literal value. + * + *

+ * If the meaning of 'OVERFLOW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #OVERFLOW + * @model literal="overflow" + * @generated + * @ordered + */ + public static final int OVERFLOW_VALUE = 23; + + /** + * The 'SHAREDEXTBUS' literal value. + * + *

+ * If the meaning of 'SHAREDEXTBUS' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SHAREDEXTBUS + * @model literal="sharedextbus" + * @generated + * @ordered + */ + public static final int SHAREDEXTBUS_VALUE = 24; + + /** + * The 'ERREXTBUS' literal value. + * + *

+ * If the meaning of 'ERREXTBUS' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ERREXTBUS + * @model literal="errextbus" + * @generated + * @ordered + */ + public static final int ERREXTBUS_VALUE = 25; + + /** + * The 'RESET' literal value. + * + *

+ * If the meaning of 'RESET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RESET + * @model literal="reset" + * @generated + * @ordered + */ + public static final int RESET_VALUE = 26; + + /** + * The 'LITTLEENDIAN' literal value. + * + *

+ * If the meaning of 'LITTLEENDIAN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #LITTLEENDIAN + * @model literal="littleendian" + * @generated + * @ordered + */ + public static final int LITTLEENDIAN_VALUE = 27; + + /** + * The 'BIGENDIAN' literal value. + * + *

+ * If the meaning of 'BIGENDIAN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #BIGENDIAN + * @model literal="bigendian" + * @generated + * @ordered + */ + public static final int BIGENDIAN_VALUE = 28; + + /** + * The 'RSVDSET' literal value. + * + *

+ * If the meaning of 'RSVDSET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RSVDSET + * @model literal="rsvdset" + * @generated + * @ordered + */ + public static final int RSVDSET_VALUE = 29; + + /** + * The 'RSVDSETX' literal value. + * + *

+ * If the meaning of 'RSVDSETX' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RSVDSETX + * @model literal="rsvdsetX" + * @generated + * @ordered + */ + public static final int RSVDSETX_VALUE = 30; + + /** + * The 'BRIDGE' literal value. + * + *

+ * If the meaning of 'BRIDGE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #BRIDGE + * @model literal="bridge" + * @generated + * @ordered + */ + public static final int BRIDGE_VALUE = 31; + + /** + * The 'SHARED' literal value. + * + *

+ * If the meaning of 'SHARED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SHARED + * @model literal="shared" + * @generated + * @ordered + */ + public static final int SHARED_VALUE = 32; + + /** + * The 'MSB0' literal value. + * + *

+ * If the meaning of 'MSB0' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #MSB0 + * @model literal="msb0" + * @generated + * @ordered + */ + public static final int MSB0_VALUE = 33; + + /** + * The 'LSB0' literal value. + * + *

+ * If the meaning of 'LSB0' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #LSB0 + * @model literal="lsb0" + * @generated + * @ordered + */ + public static final int LSB0_VALUE = 34; + + /** + * The 'SYNC' literal value. + * + *

+ * If the meaning of 'SYNC' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SYNC + * @model literal="sync" + * @generated + * @ordered + */ + public static final int SYNC_VALUE = 35; + + /** + * The 'ASYNC' literal value. + * + *

+ * If the meaning of 'ASYNC' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ASYNC + * @model literal="async" + * @generated + * @ordered + */ + public static final int ASYNC_VALUE = 36; + + /** + * The 'CPUIF RESET' literal value. + * + *

+ * If the meaning of 'CPUIF RESET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #CPUIF_RESET + * @model literal="cpuif_reset" + * @generated + * @ordered + */ + public static final int CPUIF_RESET_VALUE = 37; + + /** + * The 'FIELD RESET' literal value. + * + *

+ * If the meaning of 'FIELD RESET' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FIELD_RESET + * @model literal="field_reset" + * @generated + * @ordered + */ + public static final int FIELD_RESET_VALUE = 38; + + /** + * The 'ACTIVEHIGH' literal value. + * + *

+ * If the meaning of 'ACTIVEHIGH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ACTIVEHIGH + * @model literal="activehigh" + * @generated + * @ordered + */ + public static final int ACTIVEHIGH_VALUE = 39; + + /** + * The 'ACTIVELOW' literal value. + * + *

+ * If the meaning of 'ACTIVELOW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ACTIVELOW + * @model literal="activelow" + * @generated + * @ordered + */ + public static final int ACTIVELOW_VALUE = 40; + + /** + * The 'SINGLEPULSE' literal value. + * + *

+ * If the meaning of 'SINGLEPULSE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SINGLEPULSE + * @model literal="singlepulse" + * @generated + * @ordered + */ + public static final int SINGLEPULSE_VALUE = 41; + + /** + * The 'UNDERFLOW' literal value. + * + *

+ * If the meaning of 'UNDERFLOW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #UNDERFLOW + * @model literal="underflow" + * @generated + * @ordered + */ + public static final int UNDERFLOW_VALUE = 42; + + /** + * The 'INCR' literal value. + * + *

+ * If the meaning of 'INCR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INCR + * @model literal="incr" + * @generated + * @ordered + */ + public static final int INCR_VALUE = 43; + + /** + * The 'DECR' literal value. + * + *

+ * If the meaning of 'DECR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DECR + * @model literal="decr" + * @generated + * @ordered + */ + public static final int DECR_VALUE = 44; + + /** + * The 'INCRWIDTH' literal value. + * + *

+ * If the meaning of 'INCRWIDTH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INCRWIDTH + * @model literal="incrwidth" + * @generated + * @ordered + */ + public static final int INCRWIDTH_VALUE = 45; + + /** + * The 'DECRWIDTH' literal value. + * + *

+ * If the meaning of 'DECRWIDTH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DECRWIDTH + * @model literal="decrwidth" + * @generated + * @ordered + */ + public static final int DECRWIDTH_VALUE = 46; + + /** + * The 'INCRVALUE' literal value. + * + *

+ * If the meaning of 'INCRVALUE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INCRVALUE + * @model literal="incrvalue" + * @generated + * @ordered + */ + public static final int INCRVALUE_VALUE = 47; + + /** + * The 'DECRVALUE' literal value. + * + *

+ * If the meaning of 'DECRVALUE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DECRVALUE + * @model literal="decrvalue" + * @generated + * @ordered + */ + public static final int DECRVALUE_VALUE = 48; + + /** + * The 'SATURATE' literal value. + * + *

+ * If the meaning of 'SATURATE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SATURATE + * @model literal="saturate" + * @generated + * @ordered + */ + public static final int SATURATE_VALUE = 49; + + /** + * The 'DECRSATURATE' literal value. + * + *

+ * If the meaning of 'DECRSATURATE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DECRSATURATE + * @model literal="decrsaturate" + * @generated + * @ordered + */ + public static final int DECRSATURATE_VALUE = 50; + + /** + * The 'THRESHOLD' literal value. + * + *

+ * If the meaning of 'THRESHOLD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #THRESHOLD + * @model literal="threshold" + * @generated + * @ordered + */ + public static final int THRESHOLD_VALUE = 51; + + /** + * The 'DECRTHRESHOLD' literal value. + * + *

+ * If the meaning of 'DECRTHRESHOLD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DECRTHRESHOLD + * @model literal="decrthreshold" + * @generated + * @ordered + */ + public static final int DECRTHRESHOLD_VALUE = 52; + + /** + * The 'DONTCOMPARE' literal value. + * + *

+ * If the meaning of 'DONTCOMPARE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DONTCOMPARE + * @model literal="dontcompare" + * @generated + * @ordered + */ + public static final int DONTCOMPARE_VALUE = 53; + + /** + * The 'DONTTEST' literal value. + * + *

+ * If the meaning of 'DONTTEST' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #DONTTEST + * @model literal="donttest" + * @generated + * @ordered + */ + public static final int DONTTEST_VALUE = 54; + + /** + * The 'INTERNAL' literal value. + * + *

+ * If the meaning of 'INTERNAL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INTERNAL + * @model literal="internal" + * @generated + * @ordered + */ + public static final int INTERNAL_VALUE = 55; + + /** + * The 'ALIGNMENT' literal value. + * + *

+ * If the meaning of 'ALIGNMENT' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ALIGNMENT + * @model literal="alignment" + * @generated + * @ordered + */ + public static final int ALIGNMENT_VALUE = 56; + + /** + * The 'REGWIDTH' literal value. + * + *

+ * If the meaning of 'REGWIDTH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REGWIDTH + * @model literal="regwidth" + * @generated + * @ordered + */ + public static final int REGWIDTH_VALUE = 57; + + /** + * The 'FIELDWIDTH' literal value. + * + *

+ * If the meaning of 'FIELDWIDTH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FIELDWIDTH + * @model literal="fieldwidth" + * @generated + * @ordered + */ + public static final int FIELDWIDTH_VALUE = 58; + + /** + * The 'SIGNALWIDTH' literal value. + * + *

+ * If the meaning of 'SIGNALWIDTH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SIGNALWIDTH + * @model literal="signalwidth" + * @generated + * @ordered + */ + public static final int SIGNALWIDTH_VALUE = 59; + + /** + * The 'ACCESSWIDTH' literal value. + * + *

+ * If the meaning of 'ACCESSWIDTH' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ACCESSWIDTH + * @model literal="accesswidth" + * @generated + * @ordered + */ + public static final int ACCESSWIDTH_VALUE = 60; + + /** + * The 'SW' literal value. + * + *

+ * If the meaning of 'SW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SW + * @model literal="sw" + * @generated + * @ordered + */ + public static final int SW_VALUE = 61; + + /** + * The 'HW' literal value. + * + *

+ * If the meaning of 'HW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HW + * @model literal="hw" + * @generated + * @ordered + */ + public static final int HW_VALUE = 62; + + /** + * The 'ADDRESSING' literal value. + * + *

+ * If the meaning of 'ADDRESSING' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ADDRESSING + * @model literal="addressing" + * @generated + * @ordered + */ + public static final int ADDRESSING_VALUE = 63; + + /** + * The 'PRECEDENCE' literal value. + * + *

+ * If the meaning of 'PRECEDENCE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #PRECEDENCE + * @model literal="precedence" + * @generated + * @ordered + */ + public static final int PRECEDENCE_VALUE = 64; + + /** + * The 'ENCODE' literal value. + * + *

+ * If the meaning of 'ENCODE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ENCODE + * @model literal="encode" + * @generated + * @ordered + */ + public static final int ENCODE_VALUE = 65; + + /** + * The 'RESETSIGNAL' literal value. + * + *

+ * If the meaning of 'RESETSIGNAL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RESETSIGNAL + * @model literal="resetsignal" + * @generated + * @ordered + */ + public static final int RESETSIGNAL_VALUE = 66; + + /** + * The 'CLOCK' literal value. + * + *

+ * If the meaning of 'CLOCK' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #CLOCK + * @model literal="clock" + * @generated + * @ordered + */ + public static final int CLOCK_VALUE = 67; + + /** + * The 'MASK' literal value. + * + *

+ * If the meaning of 'MASK' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #MASK + * @model literal="mask" + * @generated + * @ordered + */ + public static final int MASK_VALUE = 68; + + /** + * The 'ENABLE' literal value. + * + *

+ * If the meaning of 'ENABLE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ENABLE + * @model literal="enable" + * @generated + * @ordered + */ + public static final int ENABLE_VALUE = 69; + + /** + * The 'HWENABLE' literal value. + * + *

+ * If the meaning of 'HWENABLE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HWENABLE + * @model literal="hwenable" + * @generated + * @ordered + */ + public static final int HWENABLE_VALUE = 70; + + /** + * The 'HWMASK' literal value. + * + *

+ * If the meaning of 'HWMASK' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HWMASK + * @model literal="hwmask" + * @generated + * @ordered + */ + public static final int HWMASK_VALUE = 71; + + /** + * The 'HALTMASK' literal value. + * + *

+ * If the meaning of 'HALTMASK' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HALTMASK + * @model literal="haltmask" + * @generated + * @ordered + */ + public static final int HALTMASK_VALUE = 72; + + /** + * The 'HALTENABLE' literal value. + * + *

+ * If the meaning of 'HALTENABLE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HALTENABLE + * @model literal="haltenable" + * @generated + * @ordered + */ + public static final int HALTENABLE_VALUE = 73; + + /** + * The 'HALT' literal value. + * + *

+ * If the meaning of 'HALT' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HALT + * @model literal="halt" + * @generated + * @ordered + */ + public static final int HALT_VALUE = 74; + + /** + * The 'NEXT' literal value. + * + *

+ * If the meaning of 'NEXT' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NEXT + * @model literal="next" + * @generated + * @ordered + */ + public static final int NEXT_VALUE = 75; + + /** + * An array of all the 'Property Enum' enumerators. + * + * + * @generated + */ + private static final PropertyEnum[] VALUES_ARRAY = + new PropertyEnum[] + { + UNSPECIFIED, + 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, + }; + + /** + * A public read-only list of all the 'Property Enum' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Property Enum' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyEnum get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyEnum result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Enum' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyEnum getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyEnum result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Enum' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyEnum get(int value) + { + switch (value) + { + case UNSPECIFIED_VALUE: return UNSPECIFIED; + case NAME_VALUE: return NAME; + case DESC_VALUE: return DESC; + case ARBITER_VALUE: return ARBITER; + case RSET_VALUE: return RSET; + case RCLR_VALUE: return RCLR; + case WOCLR_VALUE: return WOCLR; + case WOSET_VALUE: return WOSET; + case WE_VALUE: return WE; + case WEL_VALUE: return WEL; + case SWWE_VALUE: return SWWE; + case SWWEL_VALUE: return SWWEL; + case HWSET_VALUE: return HWSET; + case HWCLR_VALUE: return HWCLR; + case SWMOD_VALUE: return SWMOD; + case SWACC_VALUE: return SWACC; + case STICKY_VALUE: return STICKY; + case STICKYBIT_VALUE: return STICKYBIT; + case INTR_VALUE: return INTR; + case ANDED_VALUE: return ANDED; + case ORED_VALUE: return ORED; + case XORED_VALUE: return XORED; + case COUNTER_VALUE: return COUNTER; + case OVERFLOW_VALUE: return OVERFLOW; + case SHAREDEXTBUS_VALUE: return SHAREDEXTBUS; + case ERREXTBUS_VALUE: return ERREXTBUS; + case RESET_VALUE: return RESET; + case LITTLEENDIAN_VALUE: return LITTLEENDIAN; + case BIGENDIAN_VALUE: return BIGENDIAN; + case RSVDSET_VALUE: return RSVDSET; + case RSVDSETX_VALUE: return RSVDSETX; + case BRIDGE_VALUE: return BRIDGE; + case SHARED_VALUE: return SHARED; + case MSB0_VALUE: return MSB0; + case LSB0_VALUE: return LSB0; + case SYNC_VALUE: return SYNC; + case ASYNC_VALUE: return ASYNC; + case CPUIF_RESET_VALUE: return CPUIF_RESET; + case FIELD_RESET_VALUE: return FIELD_RESET; + case ACTIVEHIGH_VALUE: return ACTIVEHIGH; + case ACTIVELOW_VALUE: return ACTIVELOW; + case SINGLEPULSE_VALUE: return SINGLEPULSE; + case UNDERFLOW_VALUE: return UNDERFLOW; + case INCR_VALUE: return INCR; + case DECR_VALUE: return DECR; + case INCRWIDTH_VALUE: return INCRWIDTH; + case DECRWIDTH_VALUE: return DECRWIDTH; + case INCRVALUE_VALUE: return INCRVALUE; + case DECRVALUE_VALUE: return DECRVALUE; + case SATURATE_VALUE: return SATURATE; + case DECRSATURATE_VALUE: return DECRSATURATE; + case THRESHOLD_VALUE: return THRESHOLD; + case DECRTHRESHOLD_VALUE: return DECRTHRESHOLD; + case DONTCOMPARE_VALUE: return DONTCOMPARE; + case DONTTEST_VALUE: return DONTTEST; + case INTERNAL_VALUE: return INTERNAL; + case ALIGNMENT_VALUE: return ALIGNMENT; + case REGWIDTH_VALUE: return REGWIDTH; + case FIELDWIDTH_VALUE: return FIELDWIDTH; + case SIGNALWIDTH_VALUE: return SIGNALWIDTH; + case ACCESSWIDTH_VALUE: return ACCESSWIDTH; + case SW_VALUE: return SW; + case HW_VALUE: return HW; + case ADDRESSING_VALUE: return ADDRESSING; + case PRECEDENCE_VALUE: return PRECEDENCE; + case ENCODE_VALUE: return ENCODE; + case RESETSIGNAL_VALUE: return RESETSIGNAL; + case CLOCK_VALUE: return CLOCK; + case MASK_VALUE: return MASK; + case ENABLE_VALUE: return ENABLE; + case HWENABLE_VALUE: return HWENABLE; + case HWMASK_VALUE: return HWMASK; + case HALTMASK_VALUE: return HALTMASK; + case HALTENABLE_VALUE: return HALTENABLE; + case HALT_VALUE: return HALT; + case NEXT_VALUE: return NEXT; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private PropertyEnum(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //PropertyEnum diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyModifier.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyModifier.java new file mode 100644 index 0000000..e911557 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyModifier.java @@ -0,0 +1,338 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Property Modifier', + * and utility methods for working with them. + * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyModifier() + * @model + * @generated + */ +public enum PropertyModifier implements Enumerator +{ + /** + * The 'UNDEFINED' literal object. + * + * + * @see #UNDEFINED_VALUE + * @generated + * @ordered + */ + UNDEFINED(0, "UNDEFINED", "UNDEFINED"), + + /** + * The 'POSEDGE' literal object. + * + * + * @see #POSEDGE_VALUE + * @generated + * @ordered + */ + POSEDGE(1, "POSEDGE", "posedge"), + + /** + * The 'NEGEDGE' literal object. + * + * + * @see #NEGEDGE_VALUE + * @generated + * @ordered + */ + NEGEDGE(2, "NEGEDGE", "negedge"), + + /** + * The 'BOTHEDGE' literal object. + * + * + * @see #BOTHEDGE_VALUE + * @generated + * @ordered + */ + BOTHEDGE(3, "BOTHEDGE", "bothedge"), + + /** + * The 'LEVEL' literal object. + * + * + * @see #LEVEL_VALUE + * @generated + * @ordered + */ + LEVEL(4, "LEVEL", "level"), + + /** + * The 'NONSTICKY' literal object. + * + * + * @see #NONSTICKY_VALUE + * @generated + * @ordered + */ + NONSTICKY(5, "NONSTICKY", "nonsticky"); + + /** + * The 'UNDEFINED' literal value. + * + *

+ * If the meaning of 'UNDEFINED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #UNDEFINED + * @model + * @generated + * @ordered + */ + public static final int UNDEFINED_VALUE = 0; + + /** + * The 'POSEDGE' literal value. + * + *

+ * If the meaning of 'POSEDGE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #POSEDGE + * @model literal="posedge" + * @generated + * @ordered + */ + public static final int POSEDGE_VALUE = 1; + + /** + * The 'NEGEDGE' literal value. + * + *

+ * If the meaning of 'NEGEDGE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NEGEDGE + * @model literal="negedge" + * @generated + * @ordered + */ + public static final int NEGEDGE_VALUE = 2; + + /** + * The 'BOTHEDGE' literal value. + * + *

+ * If the meaning of 'BOTHEDGE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #BOTHEDGE + * @model literal="bothedge" + * @generated + * @ordered + */ + public static final int BOTHEDGE_VALUE = 3; + + /** + * The 'LEVEL' literal value. + * + *

+ * If the meaning of 'LEVEL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #LEVEL + * @model literal="level" + * @generated + * @ordered + */ + public static final int LEVEL_VALUE = 4; + + /** + * The 'NONSTICKY' literal value. + * + *

+ * If the meaning of 'NONSTICKY' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NONSTICKY + * @model literal="nonsticky" + * @generated + * @ordered + */ + public static final int NONSTICKY_VALUE = 5; + + /** + * An array of all the 'Property Modifier' enumerators. + * + * + * @generated + */ + private static final PropertyModifier[] VALUES_ARRAY = + new PropertyModifier[] + { + UNDEFINED, + POSEDGE, + NEGEDGE, + BOTHEDGE, + LEVEL, + NONSTICKY, + }; + + /** + * A public read-only list of all the 'Property Modifier' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Property Modifier' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyModifier get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyModifier result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Modifier' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyModifier getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyModifier result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Modifier' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyModifier get(int value) + { + switch (value) + { + case UNDEFINED_VALUE: return UNDEFINED; + case POSEDGE_VALUE: return POSEDGE; + case NEGEDGE_VALUE: return NEGEDGE; + case BOTHEDGE_VALUE: return BOTHEDGE; + case LEVEL_VALUE: return LEVEL; + case NONSTICKY_VALUE: return NONSTICKY; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private PropertyModifier(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //PropertyModifier diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyTypeName.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyTypeName.java new file mode 100644 index 0000000..34cd303 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyTypeName.java @@ -0,0 +1,392 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Property Type Name', + * and utility methods for working with them. + * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyTypeName() + * @model + * @generated + */ +public enum PropertyTypeName implements Enumerator +{ + /** + * The 'STRING' literal object. + * + * + * @see #STRING_VALUE + * @generated + * @ordered + */ + STRING(0, "STRING", "string"), + + /** + * The 'NUMBER' literal object. + * + * + * @see #NUMBER_VALUE + * @generated + * @ordered + */ + NUMBER(1, "NUMBER", "number"), + + /** + * The 'BOOLEAN' literal object. + * + * + * @see #BOOLEAN_VALUE + * @generated + * @ordered + */ + BOOLEAN(2, "BOOLEAN", "boolean"), + + /** + * The 'ADDRMAP' literal object. + * + * + * @see #ADDRMAP_VALUE + * @generated + * @ordered + */ + ADDRMAP(3, "ADDRMAP", "addrmap"), + + /** + * The 'REG' literal object. + * + * + * @see #REG_VALUE + * @generated + * @ordered + */ + REG(4, "REG", "reg"), + + /** + * The 'REGFILE' literal object. + * + * + * @see #REGFILE_VALUE + * @generated + * @ordered + */ + REGFILE(5, "REGFILE", "regfile"), + + /** + * The 'FIELD' literal object. + * + * + * @see #FIELD_VALUE + * @generated + * @ordered + */ + FIELD(6, "FIELD", "field"), + + /** + * The 'REF' literal object. + * + * + * @see #REF_VALUE + * @generated + * @ordered + */ + REF(7, "REF", "ref"); + + /** + * The 'STRING' literal value. + * + *

+ * If the meaning of 'STRING' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #STRING + * @model literal="string" + * @generated + * @ordered + */ + public static final int STRING_VALUE = 0; + + /** + * The 'NUMBER' literal value. + * + *

+ * If the meaning of 'NUMBER' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NUMBER + * @model literal="number" + * @generated + * @ordered + */ + public static final int NUMBER_VALUE = 1; + + /** + * The 'BOOLEAN' literal value. + * + *

+ * If the meaning of 'BOOLEAN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #BOOLEAN + * @model literal="boolean" + * @generated + * @ordered + */ + public static final int BOOLEAN_VALUE = 2; + + /** + * The 'ADDRMAP' literal value. + * + *

+ * If the meaning of 'ADDRMAP' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ADDRMAP + * @model literal="addrmap" + * @generated + * @ordered + */ + public static final int ADDRMAP_VALUE = 3; + + /** + * The 'REG' literal value. + * + *

+ * If the meaning of 'REG' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REG + * @model literal="reg" + * @generated + * @ordered + */ + public static final int REG_VALUE = 4; + + /** + * The 'REGFILE' literal value. + * + *

+ * If the meaning of 'REGFILE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REGFILE + * @model literal="regfile" + * @generated + * @ordered + */ + public static final int REGFILE_VALUE = 5; + + /** + * The 'FIELD' literal value. + * + *

+ * If the meaning of 'FIELD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FIELD + * @model literal="field" + * @generated + * @ordered + */ + public static final int FIELD_VALUE = 6; + + /** + * The 'REF' literal value. + * + *

+ * If the meaning of 'REF' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REF + * @model literal="ref" + * @generated + * @ordered + */ + public static final int REF_VALUE = 7; + + /** + * An array of all the 'Property Type Name' enumerators. + * + * + * @generated + */ + private static final PropertyTypeName[] VALUES_ARRAY = + new PropertyTypeName[] + { + STRING, + NUMBER, + BOOLEAN, + ADDRMAP, + REG, + REGFILE, + FIELD, + REF, + }; + + /** + * A public read-only list of all the 'Property Type Name' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Property Type Name' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyTypeName get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyTypeName result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Type Name' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyTypeName getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + PropertyTypeName result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Property Type Name' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static PropertyTypeName get(int value) + { + switch (value) + { + case STRING_VALUE: return STRING; + case NUMBER_VALUE: return NUMBER; + case BOOLEAN_VALUE: return BOOLEAN; + case ADDRMAP_VALUE: return ADDRMAP; + case REG_VALUE: return REG; + case REGFILE_VALUE: return REGFILE; + case FIELD_VALUE: return FIELD; + case REF_VALUE: return REF; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private PropertyTypeName(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //PropertyTypeName diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyUsage.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyUsage.java new file mode 100644 index 0000000..ce6da71 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyUsage.java @@ -0,0 +1,46 @@ +/** + * 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 'Property Usage'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.PropertyUsage#getComponents Components}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getPropertyUsage() + * @model + * @generated + */ +public interface PropertyUsage extends EObject +{ + /** + * Returns the value of the 'Components' attribute list. + * The list contents are of type {@link com.minres.rdl.rdl.PropertyComponent}. + * The literals are from the enumeration {@link com.minres.rdl.rdl.PropertyComponent}. + * + *

+ * If the meaning of the 'Components' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Components' attribute list. + * @see com.minres.rdl.rdl.PropertyComponent + * @see com.minres.rdl.rdl.RdlPackage#getPropertyUsage_Components() + * @model unique="false" + * @generated + */ + EList getComponents(); + +} // PropertyUsage diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValue.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValue.java new file mode 100644 index 0000000..f5c262f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValue.java @@ -0,0 +1,109 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'RValue'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.RValue#getVal Val}
  • + *
  • {@link com.minres.rdl.rdl.RValue#getNum Num}
  • + *
  • {@link com.minres.rdl.rdl.RValue#getStr Str}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getRValue() + * @model + * @generated + */ +public interface RValue extends EObject +{ + /** + * Returns the value of the 'Val' attribute. + * The literals are from the enumeration {@link com.minres.rdl.rdl.RValueConstant}. + * + *

+ * If the meaning of the 'Val' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Val' attribute. + * @see com.minres.rdl.rdl.RValueConstant + * @see #setVal(RValueConstant) + * @see com.minres.rdl.rdl.RdlPackage#getRValue_Val() + * @model + * @generated + */ + RValueConstant getVal(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.RValue#getVal Val}' attribute. + * + * + * @param value the new value of the 'Val' attribute. + * @see com.minres.rdl.rdl.RValueConstant + * @see #getVal() + * @generated + */ + void setVal(RValueConstant value); + + /** + * Returns the value of the 'Num' attribute. + * + *

+ * If the meaning of the 'Num' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Num' attribute. + * @see #setNum(Object) + * @see com.minres.rdl.rdl.RdlPackage#getRValue_Num() + * @model + * @generated + */ + Object getNum(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.RValue#getNum Num}' attribute. + * + * + * @param value the new value of the 'Num' attribute. + * @see #getNum() + * @generated + */ + void setNum(Object value); + + /** + * Returns the value of the 'Str' attribute. + * + *

+ * If the meaning of the 'Str' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Str' attribute. + * @see #setStr(String) + * @see com.minres.rdl.rdl.RdlPackage#getRValue_Str() + * @model + * @generated + */ + String getStr(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.RValue#getStr Str}' attribute. + * + * + * @param value the new value of the 'Str' attribute. + * @see #getStr() + * @generated + */ + void setStr(String value); + +} // RValue diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValueConstant.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValueConstant.java new file mode 100644 index 0000000..db05d42 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValueConstant.java @@ -0,0 +1,527 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'RValue Constant', + * and utility methods for working with them. + * + * @see com.minres.rdl.rdl.RdlPackage#getRValueConstant() + * @model + * @generated + */ +public enum RValueConstant implements Enumerator +{ + /** + * The 'UNDEFINED' literal object. + * + * + * @see #UNDEFINED_VALUE + * @generated + * @ordered + */ + UNDEFINED(0, "UNDEFINED", "UNDEFINED"), + + /** + * The 'TRUE' literal object. + * + * + * @see #TRUE_VALUE + * @generated + * @ordered + */ + TRUE(1, "TRUE", "true"), + + /** + * The 'FALSE' literal object. + * + * + * @see #FALSE_VALUE + * @generated + * @ordered + */ + FALSE(2, "FALSE", "false"), + + /** + * The 'RW' literal object. + * + * + * @see #RW_VALUE + * @generated + * @ordered + */ + RW(3, "RW", "rw"), + + /** + * The 'WR' literal object. + * + * + * @see #WR_VALUE + * @generated + * @ordered + */ + WR(4, "WR", "wr"), + + /** + * The 'R' literal object. + * + * + * @see #R_VALUE + * @generated + * @ordered + */ + R(5, "R", "r"), + + /** + * The 'W' literal object. + * + * + * @see #W_VALUE + * @generated + * @ordered + */ + W(6, "W", "w"), + + /** + * The 'NA' literal object. + * + * + * @see #NA_VALUE + * @generated + * @ordered + */ + NA(7, "NA", "na"), + + /** + * The 'COMPACT' literal object. + * + * + * @see #COMPACT_VALUE + * @generated + * @ordered + */ + COMPACT(8, "COMPACT", "compact"), + + /** + * The 'REGALIGN' literal object. + * + * + * @see #REGALIGN_VALUE + * @generated + * @ordered + */ + REGALIGN(9, "REGALIGN", "regalign"), + + /** + * The 'FULLALIGN' literal object. + * + * + * @see #FULLALIGN_VALUE + * @generated + * @ordered + */ + FULLALIGN(10, "FULLALIGN", "fullalign"), + + /** + * The 'HW' literal object. + * + * + * @see #HW_VALUE + * @generated + * @ordered + */ + HW(11, "HW", "hw"), + + /** + * The 'SW' literal object. + * + * + * @see #SW_VALUE + * @generated + * @ordered + */ + SW(12, "SW", "sw"); + + /** + * The 'UNDEFINED' literal value. + * + *

+ * If the meaning of 'UNDEFINED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #UNDEFINED + * @model + * @generated + * @ordered + */ + public static final int UNDEFINED_VALUE = 0; + + /** + * The 'TRUE' literal value. + * + *

+ * If the meaning of 'TRUE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #TRUE + * @model literal="true" + * @generated + * @ordered + */ + public static final int TRUE_VALUE = 1; + + /** + * The 'FALSE' literal value. + * + *

+ * If the meaning of 'FALSE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FALSE + * @model literal="false" + * @generated + * @ordered + */ + public static final int FALSE_VALUE = 2; + + /** + * The 'RW' literal value. + * + *

+ * If the meaning of 'RW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #RW + * @model literal="rw" + * @generated + * @ordered + */ + public static final int RW_VALUE = 3; + + /** + * The 'WR' literal value. + * + *

+ * If the meaning of 'WR' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #WR + * @model literal="wr" + * @generated + * @ordered + */ + public static final int WR_VALUE = 4; + + /** + * The 'R' literal value. + * + *

+ * If the meaning of 'R' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #R + * @model literal="r" + * @generated + * @ordered + */ + public static final int R_VALUE = 5; + + /** + * The 'W' literal value. + * + *

+ * If the meaning of 'W' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #W + * @model literal="w" + * @generated + * @ordered + */ + public static final int W_VALUE = 6; + + /** + * The 'NA' literal value. + * + *

+ * If the meaning of 'NA' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NA + * @model literal="na" + * @generated + * @ordered + */ + public static final int NA_VALUE = 7; + + /** + * The 'COMPACT' literal value. + * + *

+ * If the meaning of 'COMPACT' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #COMPACT + * @model literal="compact" + * @generated + * @ordered + */ + public static final int COMPACT_VALUE = 8; + + /** + * The 'REGALIGN' literal value. + * + *

+ * If the meaning of 'REGALIGN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #REGALIGN + * @model literal="regalign" + * @generated + * @ordered + */ + public static final int REGALIGN_VALUE = 9; + + /** + * The 'FULLALIGN' literal value. + * + *

+ * If the meaning of 'FULLALIGN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FULLALIGN + * @model literal="fullalign" + * @generated + * @ordered + */ + public static final int FULLALIGN_VALUE = 10; + + /** + * The 'HW' literal value. + * + *

+ * If the meaning of 'HW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #HW + * @model literal="hw" + * @generated + * @ordered + */ + public static final int HW_VALUE = 11; + + /** + * The 'SW' literal value. + * + *

+ * If the meaning of 'SW' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SW + * @model literal="sw" + * @generated + * @ordered + */ + public static final int SW_VALUE = 12; + + /** + * An array of all the 'RValue Constant' enumerators. + * + * + * @generated + */ + private static final RValueConstant[] VALUES_ARRAY = + new RValueConstant[] + { + UNDEFINED, + TRUE, + FALSE, + RW, + WR, + R, + W, + NA, + COMPACT, + REGALIGN, + FULLALIGN, + HW, + SW, + }; + + /** + * A public read-only list of all the 'RValue Constant' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'RValue Constant' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static RValueConstant get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + RValueConstant result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'RValue Constant' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static RValueConstant getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + RValueConstant result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'RValue Constant' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static RValueConstant get(int value) + { + switch (value) + { + case UNDEFINED_VALUE: return UNDEFINED; + case TRUE_VALUE: return TRUE; + case FALSE_VALUE: return FALSE; + case RW_VALUE: return RW; + case WR_VALUE: return WR; + case R_VALUE: return R; + case W_VALUE: return W; + case NA_VALUE: return NA; + case COMPACT_VALUE: return COMPACT; + case REGALIGN_VALUE: return REGALIGN; + case FULLALIGN_VALUE: return FULLALIGN; + case HW_VALUE: return HW; + case SW_VALUE: return SW; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private RValueConstant(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //RValueConstant 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 new file mode 100644 index 0000000..3bba5f9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Range.java @@ -0,0 +1,106 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Range'. + * + * + *

+ * 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#getSize Size}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getRange() + * @model + * @generated + */ +public interface Range extends EObject +{ + /** + * Returns the value of the 'Start' attribute. + * + *

+ * If the meaning of the 'Start' 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() + * @model + * @generated + */ + Object getStart(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Range#getStart Start}' attribute. + * + * + * @param value the new value of the 'Start' attribute. + * @see #getStart() + * @generated + */ + void setStart(Object value); + + /** + * Returns the value of the 'End' attribute. + * + *

+ * If the meaning of the 'End' 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() + * @model + * @generated + */ + Object getEnd(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Range#getEnd End}' attribute. + * + * + * @param value the new value of the 'End' attribute. + * @see #getEnd() + * @generated + */ + void setEnd(Object value); + + /** + * Returns the value of the 'Size' attribute. + * + *

+ * If the meaning of the 'Size' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Size' attribute. + * @see #setSize(Object) + * @see com.minres.rdl.rdl.RdlPackage#getRange_Size() + * @model + * @generated + */ + Object getSize(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Range#getSize Size}' attribute. + * + * + * @param value the new value of the 'Size' attribute. + * @see #getSize() + * @generated + */ + void setSize(Object value); + +} // Range 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 new file mode 100644 index 0000000..f0d8366 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlFactory.java @@ -0,0 +1,260 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see com.minres.rdl.rdl.RdlPackage + * @generated + */ +public interface RdlFactory extends EFactory +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + RdlFactory eINSTANCE = com.minres.rdl.rdl.impl.RdlFactoryImpl.init(); + + /** + * Returns a new object of class 'Root'. + * + * + * @return a new object of class 'Root'. + * @generated + */ + Root createRoot(); + + /** + * Returns a new object of class 'Include'. + * + * + * @return a new object of class 'Include'. + * @generated + */ + Include createInclude(); + + /** + * Returns a new object of class 'Property Definition'. + * + * + * @return a new object of class 'Property Definition'. + * @generated + */ + PropertyDefinition createPropertyDefinition(); + + /** + * Returns a new object of class 'Property Default'. + * + * + * @return a new object of class 'Property Default'. + * @generated + */ + PropertyDefault createPropertyDefault(); + + /** + * Returns a new object of class 'Property Usage'. + * + * + * @return a new object of class 'Property Usage'. + * @generated + */ + PropertyUsage createPropertyUsage(); + + /** + * Returns a new object of class 'Component Definition'. + * + * + * @return a new object of class 'Component Definition'. + * @generated + */ + ComponentDefinition createComponentDefinition(); + + /** + * Returns a new object of class 'Named Instantiation'. + * + * + * @return a new object of class 'Named Instantiation'. + * @generated + */ + NamedInstantiation createNamedInstantiation(); + + /** + * Returns a new object of class 'Immediate Instantiation'. + * + * + * @return a new object of class 'Immediate Instantiation'. + * @generated + */ + ImmediateInstantiation createImmediateInstantiation(); + + /** + * Returns a new object of class 'Component Instance'. + * + * + * @return a new object of class 'Component Instance'. + * @generated + */ + ComponentInstance createComponentInstance(); + + /** + * Returns a new object of class 'Range'. + * + * + * @return a new object of class 'Range'. + * @generated + */ + Range createRange(); + + /** + * Returns a new object of class 'Property Assignment'. + * + * + * @return a new object of class 'Property Assignment'. + * @generated + */ + PropertyAssignment createPropertyAssignment(); + + /** + * Returns a new object of class 'Default Propery Assignment'. + * + * + * @return a new object of class 'Default Propery Assignment'. + * @generated + */ + DefaultProperyAssignment createDefaultProperyAssignment(); + + /** + * Returns a new object of class 'Explicit Property Assignment'. + * + * + * @return a new object of class 'Explicit Property Assignment'. + * @generated + */ + ExplicitPropertyAssignment createExplicitPropertyAssignment(); + + /** + * Returns a new object of class 'Post Property Assignment'. + * + * + * @return a new object of class 'Post Property Assignment'. + * @generated + */ + PostPropertyAssignment createPostPropertyAssignment(); + + /** + * Returns a new object of class 'Instance Property Ref'. + * + * + * @return a new object of class 'Instance Property Ref'. + * @generated + */ + InstancePropertyRef createInstancePropertyRef(); + + /** + * Returns a new object of class 'Entity'. + * + * + * @return a new object of class 'Entity'. + * @generated + */ + Entity createEntity(); + + /** + * Returns a new object of class 'Instance Ref'. + * + * + * @return a new object of class 'Instance Ref'. + * @generated + */ + InstanceRef createInstanceRef(); + + /** + * Returns a new object of class 'Property Assignment Rhs'. + * + * + * @return a new object of class 'Property Assignment Rhs'. + * @generated + */ + PropertyAssignmentRhs createPropertyAssignmentRhs(); + + /** + * Returns a new object of class 'Concat'. + * + * + * @return a new object of class 'Concat'. + * @generated + */ + Concat createConcat(); + + /** + * Returns a new object of class 'Concat Elem'. + * + * + * @return a new object of class 'Concat Elem'. + * @generated + */ + ConcatElem createConcatElem(); + + /** + * Returns a new object of class 'RValue'. + * + * + * @return a new object of class 'RValue'. + * @generated + */ + RValue createRValue(); + + /** + * Returns a new object of class 'Enum Definition'. + * + * + * @return a new object of class 'Enum Definition'. + * @generated + */ + EnumDefinition createEnumDefinition(); + + /** + * Returns a new object of class 'Enum Body'. + * + * + * @return a new object of class 'Enum Body'. + * @generated + */ + EnumBody createEnumBody(); + + /** + * Returns a new object of class 'Enum Entry'. + * + * + * @return a new object of class 'Enum Entry'. + * @generated + */ + EnumEntry createEnumEntry(); + + /** + * Returns a new object of class 'Enum Property'. + * + * + * @return a new object of class 'Enum Property'. + * @generated + */ + EnumProperty createEnumProperty(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + RdlPackage getRdlPackage(); + +} //RdlFactory 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 new file mode 100644 index 0000000..7300698 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlPackage.java @@ -0,0 +1,3117 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see com.minres.rdl.rdl.RdlFactory + * @model kind="package" + * @generated + */ +public interface RdlPackage extends EPackage +{ + /** + * The package name. + * + * + * @generated + */ + String eNAME = "rdl"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.minres.com/rdl/RDL"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "rdl"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + RdlPackage eINSTANCE = com.minres.rdl.rdl.impl.RdlPackageImpl.init(); + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.RootImpl Root}' class. + * + * + * @see com.minres.rdl.rdl.impl.RootImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRoot() + * @generated + */ + int ROOT = 0; + + /** + * The feature id for the 'Includes' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__INCLUDES = 0; + + /** + * The feature id for the 'Component Definitions' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__COMPONENT_DEFINITIONS = 1; + + /** + * The feature id for the 'Enum Definitions' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__ENUM_DEFINITIONS = 2; + + /** + * The feature id for the 'Named Instantiations' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__NAMED_INSTANTIATIONS = 3; + + /** + * The feature id for the 'Property Assignments' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__PROPERTY_ASSIGNMENTS = 4; + + /** + * The feature id for the 'Property Definitions' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__PROPERTY_DEFINITIONS = 5; + + /** + * The number of structural features of the 'Root' class. + * + * + * @generated + * @ordered + */ + int ROOT_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.IncludeImpl Include}' class. + * + * + * @see com.minres.rdl.rdl.impl.IncludeImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInclude() + * @generated + */ + int INCLUDE = 1; + + /** + * The feature id for the 'Import URI' attribute. + * + * + * @generated + * @ordered + */ + int INCLUDE__IMPORT_URI = 0; + + /** + * The number of structural features of the 'Include' class. + * + * + * @generated + * @ordered + */ + int INCLUDE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.EntityImpl Entity}' class. + * + * + * @see com.minres.rdl.rdl.impl.EntityImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEntity() + * @generated + */ + int ENTITY = 15; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ENTITY__NAME = 0; + + /** + * The number of structural features of the 'Entity' class. + * + * + * @generated + * @ordered + */ + int ENTITY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.PropertyDefinitionImpl Property Definition}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyDefinitionImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyDefinition() + * @generated + */ + int PROPERTY_DEFINITION = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFINITION__NAME = ENTITY__NAME; + + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFINITION__TYPE = ENTITY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Usage' containment reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFINITION__USAGE = ENTITY_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Default' containment reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFINITION__DEFAULT = ENTITY_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Property Definition' class. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFINITION_FEATURE_COUNT = ENTITY_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.PropertyDefaultImpl Property Default}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyDefaultImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyDefault() + * @generated + */ + int PROPERTY_DEFAULT = 3; + + /** + * The feature id for the 'String' attribute. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFAULT__STRING = 0; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFAULT__VALUE = 1; + + /** + * The number of structural features of the 'Property Default' class. + * + * + * @generated + * @ordered + */ + int PROPERTY_DEFAULT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.PropertyUsageImpl Property Usage}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyUsageImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyUsage() + * @generated + */ + int PROPERTY_USAGE = 4; + + /** + * The feature id for the 'Components' attribute list. + * + * + * @generated + * @ordered + */ + int PROPERTY_USAGE__COMPONENTS = 0; + + /** + * The number of structural features of the 'Property Usage' class. + * + * + * @generated + * @ordered + */ + int PROPERTY_USAGE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl Component Definition}' class. + * + * + * @see com.minres.rdl.rdl.impl.ComponentDefinitionImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentDefinition() + * @generated + */ + int COMPONENT_DEFINITION = 5; + + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION__TYPE = 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION__NAME = 1; + + /** + * The feature id for the 'Component Definitions' containment reference list. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION__COMPONENT_DEFINITIONS = 2; + + /** + * The feature id for the 'Named Instantiations' containment reference list. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION__NAMED_INSTANTIATIONS = 3; + + /** + * The feature id for the 'Property Assignments' containment reference list. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS = 4; + + /** + * The feature id for the 'Enum Definitions' containment reference list. + * + * + * @generated + * @ordered + */ + 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. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION_FEATURE_COUNT = 7; + + /** + * The meta object id 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 + */ + int NAMED_INSTANTIATION = 6; + + /** + * The feature id for the 'External' attribute. + * + * + * @generated + * @ordered + */ + int NAMED_INSTANTIATION__EXTERNAL = 0; + + /** + * The feature id for the 'Internal' attribute. + * + * + * @generated + * @ordered + */ + int NAMED_INSTANTIATION__INTERNAL = 1; + + /** + * The feature id for the 'Alias' attribute. + * + * + * @generated + * @ordered + */ + int NAMED_INSTANTIATION__ALIAS = 2; + + /** + * The feature id for the 'Component' reference. + * + * + * @generated + * @ordered + */ + int NAMED_INSTANTIATION__COMPONENT = 3; + + /** + * The feature id for the 'Component Instances' containment reference list. + * + * + * @generated + * @ordered + */ + int NAMED_INSTANTIATION__COMPONENT_INSTANCES = 4; + + /** + * The number of structural features of the 'Named 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; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.ComponentInstanceImpl Component Instance}' class. + * + * + * @see com.minres.rdl.rdl.impl.ComponentInstanceImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentInstance() + * @generated + */ + int COMPONENT_INSTANCE = 8; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE__NAME = ENTITY__NAME; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE__RANGE = ENTITY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Reset' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE__RESET = ENTITY_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Address' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE__ADDRESS = ENTITY_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Addr Inc' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE__ADDR_INC = ENTITY_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Addr Mod' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE__ADDR_MOD = ENTITY_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'Component Instance' class. + * + * + * @generated + * @ordered + */ + int COMPONENT_INSTANCE_FEATURE_COUNT = ENTITY_FEATURE_COUNT + 5; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.RangeImpl Range}' class. + * + * + * @see com.minres.rdl.rdl.impl.RangeImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRange() + * @generated + */ + int RANGE = 9; + + /** + * The feature id for the 'Start' attribute. + * + * + * @generated + * @ordered + */ + int RANGE__START = 0; + + /** + * The feature id for the 'End' attribute. + * + * + * @generated + * @ordered + */ + int RANGE__END = 1; + + /** + * The feature id for the 'Size' attribute. + * + * + * @generated + * @ordered + */ + int RANGE__SIZE = 2; + + /** + * The number of structural features of the 'Range' class. + * + * + * @generated + * @ordered + */ + int RANGE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.PropertyAssignmentImpl Property Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyAssignment() + * @generated + */ + int PROPERTY_ASSIGNMENT = 10; + + /** + * The number of structural features of the 'Property Assignment' class. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.DefaultProperyAssignmentImpl Default Propery Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.DefaultProperyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getDefaultProperyAssignment() + * @generated + */ + int DEFAULT_PROPERY_ASSIGNMENT = 11; + + /** + * The number of structural features of the 'Default Propery Assignment' class. + * + * + * @generated + * @ordered + */ + int DEFAULT_PROPERY_ASSIGNMENT_FEATURE_COUNT = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl Explicit Property Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getExplicitPropertyAssignment() + * @generated + */ + int EXPLICIT_PROPERTY_ASSIGNMENT = 12; + + /** + * The feature id for the 'Modifier' attribute. + * + * + * @generated + * @ordered + */ + int EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXPLICIT_PROPERTY_ASSIGNMENT__NAME = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Rhs' containment reference. + * + * + * @generated + * @ordered + */ + int EXPLICIT_PROPERTY_ASSIGNMENT__RHS = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Explicit Property Assignment' class. + * + * + * @generated + * @ordered + */ + int EXPLICIT_PROPERTY_ASSIGNMENT_FEATURE_COUNT = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl Post Property Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPostPropertyAssignment() + * @generated + */ + int POST_PROPERTY_ASSIGNMENT = 13; + + /** + * The feature id for the 'Instance' containment reference. + * + * + * @generated + * @ordered + */ + int POST_PROPERTY_ASSIGNMENT__INSTANCE = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Property Enum' attribute. + * + * + * @generated + * @ordered + */ + int POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Property' reference. + * + * + * @generated + * @ordered + */ + int POST_PROPERTY_ASSIGNMENT__PROPERTY = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Rhs' containment reference. + * + * + * @generated + * @ordered + */ + int POST_PROPERTY_ASSIGNMENT__RHS = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Post Property Assignment' class. + * + * + * @generated + * @ordered + */ + int POST_PROPERTY_ASSIGNMENT_FEATURE_COUNT = PROPERTY_ASSIGNMENT_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.InstancePropertyRefImpl Instance Property Ref}' class. + * + * + * @see com.minres.rdl.rdl.impl.InstancePropertyRefImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstancePropertyRef() + * @generated + */ + int INSTANCE_PROPERTY_REF = 14; + + /** + * The feature id for the 'Instance' containment reference. + * + * + * @generated + * @ordered + */ + int INSTANCE_PROPERTY_REF__INSTANCE = 0; + + /** + * The feature id for the 'Property Enum' attribute. + * + * + * @generated + * @ordered + */ + int INSTANCE_PROPERTY_REF__PROPERTY_ENUM = 1; + + /** + * The feature id for the 'Property' reference. + * + * + * @generated + * @ordered + */ + int INSTANCE_PROPERTY_REF__PROPERTY = 2; + + /** + * The number of structural features of the 'Instance Property Ref' class. + * + * + * @generated + * @ordered + */ + int INSTANCE_PROPERTY_REF_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.InstanceRefImpl Instance Ref}' class. + * + * + * @see com.minres.rdl.rdl.impl.InstanceRefImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstanceRef() + * @generated + */ + int INSTANCE_REF = 16; + + /** + * The feature id for the 'Instance' reference. + * + * + * @generated + * @ordered + */ + int INSTANCE_REF__INSTANCE = 0; + + /** + * The feature id for the 'Tail' containment reference. + * + * + * @generated + * @ordered + */ + int INSTANCE_REF__TAIL = 1; + + /** + * The number of structural features of the 'Instance Ref' class. + * + * + * @generated + * @ordered + */ + int INSTANCE_REF_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl Property Assignment Rhs}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyAssignmentRhs() + * @generated + */ + int PROPERTY_ASSIGNMENT_RHS = 17; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_RHS__VALUE = 0; + + /** + * The feature id for the 'Inst Prop Ref' containment reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF = 1; + + /** + * The feature id for the 'Enum Ref' reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_RHS__ENUM_REF = 2; + + /** + * The feature id for the 'Enums' containment reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_RHS__ENUMS = 3; + + /** + * The feature id for the 'Elements' containment reference. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_RHS__ELEMENTS = 4; + + /** + * The number of structural features of the 'Property Assignment Rhs' class. + * + * + * @generated + * @ordered + */ + int PROPERTY_ASSIGNMENT_RHS_FEATURE_COUNT = 5; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.ConcatImpl Concat}' class. + * + * + * @see com.minres.rdl.rdl.impl.ConcatImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getConcat() + * @generated + */ + int CONCAT = 18; + + /** + * The feature id for the 'Elements' containment reference list. + * + * + * @generated + * @ordered + */ + int CONCAT__ELEMENTS = 0; + + /** + * The number of structural features of the 'Concat' class. + * + * + * @generated + * @ordered + */ + int CONCAT_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.ConcatElemImpl Concat Elem}' class. + * + * + * @see com.minres.rdl.rdl.impl.ConcatElemImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getConcatElem() + * @generated + */ + int CONCAT_ELEM = 19; + + /** + * The feature id for the 'Inst Prop Ref' containment reference. + * + * + * @generated + * @ordered + */ + int CONCAT_ELEM__INST_PROP_REF = 0; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int CONCAT_ELEM__VALUE = 1; + + /** + * The number of structural features of the 'Concat Elem' class. + * + * + * @generated + * @ordered + */ + int CONCAT_ELEM_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.RValueImpl RValue}' class. + * + * + * @see com.minres.rdl.rdl.impl.RValueImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRValue() + * @generated + */ + int RVALUE = 20; + + /** + * The feature id for the 'Val' attribute. + * + * + * @generated + * @ordered + */ + int RVALUE__VAL = 0; + + /** + * The feature id for the 'Num' attribute. + * + * + * @generated + * @ordered + */ + int RVALUE__NUM = 1; + + /** + * The feature id for the 'Str' attribute. + * + * + * @generated + * @ordered + */ + int RVALUE__STR = 2; + + /** + * The number of structural features of the 'RValue' class. + * + * + * @generated + * @ordered + */ + int RVALUE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.EnumDefinitionImpl Enum Definition}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumDefinitionImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumDefinition() + * @generated + */ + int ENUM_DEFINITION = 21; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_DEFINITION__NAME = ENTITY__NAME; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int ENUM_DEFINITION__BODY = ENTITY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Enum Definition' class. + * + * + * @generated + * @ordered + */ + int ENUM_DEFINITION_FEATURE_COUNT = ENTITY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.EnumBodyImpl Enum Body}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumBodyImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumBody() + * @generated + */ + int ENUM_BODY = 22; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int ENUM_BODY__ENTRIES = 0; + + /** + * The number of structural features of the 'Enum Body' class. + * + * + * @generated + * @ordered + */ + int ENUM_BODY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.EnumEntryImpl Enum Entry}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumEntryImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumEntry() + * @generated + */ + int ENUM_ENTRY = 23; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_ENTRY__NAME = 0; + + /** + * The feature id for the 'Index' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_ENTRY__INDEX = 1; + + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + int ENUM_ENTRY__PROPERTIES = 2; + + /** + * The number of structural features of the 'Enum Entry' class. + * + * + * @generated + * @ordered + */ + int ENUM_ENTRY_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.EnumPropertyImpl Enum Property}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumPropertyImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumProperty() + * @generated + */ + int ENUM_PROPERTY = 24; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_PROPERTY__NAME = 0; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_PROPERTY__VALUE = 1; + + /** + * The number of structural features of the 'Enum Property' class. + * + * + * @generated + * @ordered + */ + int ENUM_PROPERTY_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyTypeName + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyTypeName() + * @generated + */ + int PROPERTY_TYPE_NAME = 25; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.PropertyComponent Property Component}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyComponent + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyComponent() + * @generated + */ + int PROPERTY_COMPONENT = 26; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.ComponentDefinitionType Component Definition Type}' enum. + * + * + * @see com.minres.rdl.rdl.ComponentDefinitionType + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentDefinitionType() + * @generated + */ + int COMPONENT_DEFINITION_TYPE = 27; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.PropertyEnum Property Enum}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyEnum + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyEnum() + * @generated + */ + int PROPERTY_ENUM = 28; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.RValueConstant RValue Constant}' enum. + * + * + * @see com.minres.rdl.rdl.RValueConstant + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRValueConstant() + * @generated + */ + int RVALUE_CONSTANT = 29; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.PropertyModifier Property Modifier}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyModifier + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyModifier() + * @generated + */ + int PROPERTY_MODIFIER = 30; + + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.Root Root}'. + * + * + * @return the meta object for class 'Root'. + * @see com.minres.rdl.rdl.Root + * @generated + */ + EClass getRoot(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getIncludes Includes}'. + * + * + * @return the meta object for the containment reference list 'Includes'. + * @see com.minres.rdl.rdl.Root#getIncludes() + * @see #getRoot() + * @generated + */ + EReference getRoot_Includes(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getComponentDefinitions Component Definitions}'. + * + * + * @return the meta object for the containment reference list 'Component Definitions'. + * @see com.minres.rdl.rdl.Root#getComponentDefinitions() + * @see #getRoot() + * @generated + */ + EReference getRoot_ComponentDefinitions(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getEnumDefinitions Enum Definitions}'. + * + * + * @return the meta object for the containment reference list 'Enum Definitions'. + * @see com.minres.rdl.rdl.Root#getEnumDefinitions() + * @see #getRoot() + * @generated + */ + EReference getRoot_EnumDefinitions(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getNamedInstantiations Named Instantiations}'. + * + * + * @return the meta object for the containment reference list 'Named Instantiations'. + * @see com.minres.rdl.rdl.Root#getNamedInstantiations() + * @see #getRoot() + * @generated + */ + EReference getRoot_NamedInstantiations(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getPropertyAssignments Property Assignments}'. + * + * + * @return the meta object for the containment reference list 'Property Assignments'. + * @see com.minres.rdl.rdl.Root#getPropertyAssignments() + * @see #getRoot() + * @generated + */ + EReference getRoot_PropertyAssignments(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Root#getPropertyDefinitions Property Definitions}'. + * + * + * @return the meta object for the containment reference list 'Property Definitions'. + * @see com.minres.rdl.rdl.Root#getPropertyDefinitions() + * @see #getRoot() + * @generated + */ + EReference getRoot_PropertyDefinitions(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.Include Include}'. + * + * + * @return the meta object for class 'Include'. + * @see com.minres.rdl.rdl.Include + * @generated + */ + EClass getInclude(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Include#getImportURI Import URI}'. + * + * + * @return the meta object for the attribute 'Import URI'. + * @see com.minres.rdl.rdl.Include#getImportURI() + * @see #getInclude() + * @generated + */ + EAttribute getInclude_ImportURI(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.PropertyDefinition Property Definition}'. + * + * + * @return the meta object for class 'Property Definition'. + * @see com.minres.rdl.rdl.PropertyDefinition + * @generated + */ + EClass getPropertyDefinition(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.PropertyDefinition#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see com.minres.rdl.rdl.PropertyDefinition#getType() + * @see #getPropertyDefinition() + * @generated + */ + EAttribute getPropertyDefinition_Type(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PropertyDefinition#getUsage Usage}'. + * + * + * @return the meta object for the containment reference 'Usage'. + * @see com.minres.rdl.rdl.PropertyDefinition#getUsage() + * @see #getPropertyDefinition() + * @generated + */ + EReference getPropertyDefinition_Usage(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PropertyDefinition#getDefault Default}'. + * + * + * @return the meta object for the containment reference 'Default'. + * @see com.minres.rdl.rdl.PropertyDefinition#getDefault() + * @see #getPropertyDefinition() + * @generated + */ + EReference getPropertyDefinition_Default(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.PropertyDefault Property Default}'. + * + * + * @return the meta object for class 'Property Default'. + * @see com.minres.rdl.rdl.PropertyDefault + * @generated + */ + EClass getPropertyDefault(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.PropertyDefault#getString String}'. + * + * + * @return the meta object for the attribute 'String'. + * @see com.minres.rdl.rdl.PropertyDefault#getString() + * @see #getPropertyDefault() + * @generated + */ + EAttribute getPropertyDefault_String(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.PropertyDefault#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see com.minres.rdl.rdl.PropertyDefault#getValue() + * @see #getPropertyDefault() + * @generated + */ + EAttribute getPropertyDefault_Value(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.PropertyUsage Property Usage}'. + * + * + * @return the meta object for class 'Property Usage'. + * @see com.minres.rdl.rdl.PropertyUsage + * @generated + */ + EClass getPropertyUsage(); + + /** + * Returns the meta object for the attribute list '{@link com.minres.rdl.rdl.PropertyUsage#getComponents Components}'. + * + * + * @return the meta object for the attribute list 'Components'. + * @see com.minres.rdl.rdl.PropertyUsage#getComponents() + * @see #getPropertyUsage() + * @generated + */ + EAttribute getPropertyUsage_Components(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.ComponentDefinition Component Definition}'. + * + * + * @return the meta object for class 'Component Definition'. + * @see com.minres.rdl.rdl.ComponentDefinition + * @generated + */ + EClass getComponentDefinition(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ComponentDefinition#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see com.minres.rdl.rdl.ComponentDefinition#getType() + * @see #getComponentDefinition() + * @generated + */ + EAttribute getComponentDefinition_Type(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ComponentDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see com.minres.rdl.rdl.ComponentDefinition#getName() + * @see #getComponentDefinition() + * @generated + */ + EAttribute getComponentDefinition_Name(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getComponentDefinitions Component Definitions}'. + * + * + * @return the meta object for the containment reference list 'Component Definitions'. + * @see com.minres.rdl.rdl.ComponentDefinition#getComponentDefinitions() + * @see #getComponentDefinition() + * @generated + */ + EReference getComponentDefinition_ComponentDefinitions(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getNamedInstantiations Named Instantiations}'. + * + * + * @return the meta object for the containment reference list 'Named Instantiations'. + * @see com.minres.rdl.rdl.ComponentDefinition#getNamedInstantiations() + * @see #getComponentDefinition() + * @generated + */ + EReference getComponentDefinition_NamedInstantiations(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getPropertyAssignments Property Assignments}'. + * + * + * @return the meta object for the containment reference list 'Property Assignments'. + * @see com.minres.rdl.rdl.ComponentDefinition#getPropertyAssignments() + * @see #getComponentDefinition() + * @generated + */ + EReference getComponentDefinition_PropertyAssignments(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.ComponentDefinition#getEnumDefinitions Enum Definitions}'. + * + * + * @return the meta object for the containment reference list 'Enum Definitions'. + * @see com.minres.rdl.rdl.ComponentDefinition#getEnumDefinitions() + * @see #getComponentDefinition() + * @generated + */ + EReference getComponentDefinition_EnumDefinitions(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.ComponentDefinition#getImmediateInstantiation Immediate Instantiation}'. + * + * + * @return the meta object for the containment reference 'Immediate Instantiation'. + * @see com.minres.rdl.rdl.ComponentDefinition#getImmediateInstantiation() + * @see #getComponentDefinition() + * @generated + */ + EReference getComponentDefinition_ImmediateInstantiation(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.NamedInstantiation Named Instantiation}'. + * + * + * @return the meta object for class 'Named Instantiation'. + * @see com.minres.rdl.rdl.NamedInstantiation + * @generated + */ + EClass getNamedInstantiation(); + + /** + * 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}'. + * + * + * @return the meta object for the attribute 'Alias'. + * @see com.minres.rdl.rdl.NamedInstantiation#getAlias() + * @see #getNamedInstantiation() + * @generated + */ + EAttribute getNamedInstantiation_Alias(); + + /** + * Returns the meta object for the reference '{@link com.minres.rdl.rdl.NamedInstantiation#getComponent Component}'. + * + * + * @return the meta object for the reference 'Component'. + * @see com.minres.rdl.rdl.NamedInstantiation#getComponent() + * @see #getNamedInstantiation() + * @generated + */ + EReference getNamedInstantiation_Component(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.NamedInstantiation#getComponentInstances Component Instances}'. + * + * + * @return the meta object for the containment reference list 'Component Instances'. + * @see com.minres.rdl.rdl.NamedInstantiation#getComponentInstances() + * @see #getNamedInstantiation() + * @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(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.ComponentInstance Component Instance}'. + * + * + * @return the meta object for class 'Component Instance'. + * @see com.minres.rdl.rdl.ComponentInstance + * @generated + */ + EClass getComponentInstance(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.ComponentInstance#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see com.minres.rdl.rdl.ComponentInstance#getRange() + * @see #getComponentInstance() + * @generated + */ + EReference getComponentInstance_Range(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ComponentInstance#getReset Reset}'. + * + * + * @return the meta object for the attribute 'Reset'. + * @see com.minres.rdl.rdl.ComponentInstance#getReset() + * @see #getComponentInstance() + * @generated + */ + EAttribute getComponentInstance_Reset(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ComponentInstance#getAddress Address}'. + * + * + * @return the meta object for the attribute 'Address'. + * @see com.minres.rdl.rdl.ComponentInstance#getAddress() + * @see #getComponentInstance() + * @generated + */ + EAttribute getComponentInstance_Address(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ComponentInstance#getAddrInc Addr Inc}'. + * + * + * @return the meta object for the attribute 'Addr Inc'. + * @see com.minres.rdl.rdl.ComponentInstance#getAddrInc() + * @see #getComponentInstance() + * @generated + */ + EAttribute getComponentInstance_AddrInc(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ComponentInstance#getAddrMod Addr Mod}'. + * + * + * @return the meta object for the attribute 'Addr Mod'. + * @see com.minres.rdl.rdl.ComponentInstance#getAddrMod() + * @see #getComponentInstance() + * @generated + */ + EAttribute getComponentInstance_AddrMod(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.Range Range}'. + * + * + * @return the meta object for class 'Range'. + * @see com.minres.rdl.rdl.Range + * @generated + */ + EClass getRange(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getStart Start}'. + * + * + * @return the meta object for the attribute 'Start'. + * @see com.minres.rdl.rdl.Range#getStart() + * @see #getRange() + * @generated + */ + EAttribute getRange_Start(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getEnd End}'. + * + * + * @return the meta object for the attribute 'End'. + * @see com.minres.rdl.rdl.Range#getEnd() + * @see #getRange() + * @generated + */ + EAttribute getRange_End(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getSize Size}'. + * + * + * @return the meta object for the attribute 'Size'. + * @see com.minres.rdl.rdl.Range#getSize() + * @see #getRange() + * @generated + */ + EAttribute getRange_Size(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.PropertyAssignment Property Assignment}'. + * + * + * @return the meta object for class 'Property Assignment'. + * @see com.minres.rdl.rdl.PropertyAssignment + * @generated + */ + EClass getPropertyAssignment(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.DefaultProperyAssignment Default Propery Assignment}'. + * + * + * @return the meta object for class 'Default Propery Assignment'. + * @see com.minres.rdl.rdl.DefaultProperyAssignment + * @generated + */ + EClass getDefaultProperyAssignment(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment Explicit Property Assignment}'. + * + * + * @return the meta object for class 'Explicit Property Assignment'. + * @see com.minres.rdl.rdl.ExplicitPropertyAssignment + * @generated + */ + EClass getExplicitPropertyAssignment(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getModifier Modifier}'. + * + * + * @return the meta object for the attribute 'Modifier'. + * @see com.minres.rdl.rdl.ExplicitPropertyAssignment#getModifier() + * @see #getExplicitPropertyAssignment() + * @generated + */ + EAttribute getExplicitPropertyAssignment_Modifier(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see com.minres.rdl.rdl.ExplicitPropertyAssignment#getName() + * @see #getExplicitPropertyAssignment() + * @generated + */ + EAttribute getExplicitPropertyAssignment_Name(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment#getRhs Rhs}'. + * + * + * @return the meta object for the containment reference 'Rhs'. + * @see com.minres.rdl.rdl.ExplicitPropertyAssignment#getRhs() + * @see #getExplicitPropertyAssignment() + * @generated + */ + EReference getExplicitPropertyAssignment_Rhs(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.PostPropertyAssignment Post Property Assignment}'. + * + * + * @return the meta object for class 'Post Property Assignment'. + * @see com.minres.rdl.rdl.PostPropertyAssignment + * @generated + */ + EClass getPostPropertyAssignment(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PostPropertyAssignment#getInstance Instance}'. + * + * + * @return the meta object for the containment reference 'Instance'. + * @see com.minres.rdl.rdl.PostPropertyAssignment#getInstance() + * @see #getPostPropertyAssignment() + * @generated + */ + EReference getPostPropertyAssignment_Instance(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.PostPropertyAssignment#getPropertyEnum Property Enum}'. + * + * + * @return the meta object for the attribute 'Property Enum'. + * @see com.minres.rdl.rdl.PostPropertyAssignment#getPropertyEnum() + * @see #getPostPropertyAssignment() + * @generated + */ + EAttribute getPostPropertyAssignment_PropertyEnum(); + + /** + * Returns the meta object for the reference '{@link com.minres.rdl.rdl.PostPropertyAssignment#getProperty Property}'. + * + * + * @return the meta object for the reference 'Property'. + * @see com.minres.rdl.rdl.PostPropertyAssignment#getProperty() + * @see #getPostPropertyAssignment() + * @generated + */ + EReference getPostPropertyAssignment_Property(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PostPropertyAssignment#getRhs Rhs}'. + * + * + * @return the meta object for the containment reference 'Rhs'. + * @see com.minres.rdl.rdl.PostPropertyAssignment#getRhs() + * @see #getPostPropertyAssignment() + * @generated + */ + EReference getPostPropertyAssignment_Rhs(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.InstancePropertyRef Instance Property Ref}'. + * + * + * @return the meta object for class 'Instance Property Ref'. + * @see com.minres.rdl.rdl.InstancePropertyRef + * @generated + */ + EClass getInstancePropertyRef(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.InstancePropertyRef#getInstance Instance}'. + * + * + * @return the meta object for the containment reference 'Instance'. + * @see com.minres.rdl.rdl.InstancePropertyRef#getInstance() + * @see #getInstancePropertyRef() + * @generated + */ + EReference getInstancePropertyRef_Instance(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.InstancePropertyRef#getPropertyEnum Property Enum}'. + * + * + * @return the meta object for the attribute 'Property Enum'. + * @see com.minres.rdl.rdl.InstancePropertyRef#getPropertyEnum() + * @see #getInstancePropertyRef() + * @generated + */ + EAttribute getInstancePropertyRef_PropertyEnum(); + + /** + * Returns the meta object for the reference '{@link com.minres.rdl.rdl.InstancePropertyRef#getProperty Property}'. + * + * + * @return the meta object for the reference 'Property'. + * @see com.minres.rdl.rdl.InstancePropertyRef#getProperty() + * @see #getInstancePropertyRef() + * @generated + */ + EReference getInstancePropertyRef_Property(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.Entity Entity}'. + * + * + * @return the meta object for class 'Entity'. + * @see com.minres.rdl.rdl.Entity + * @generated + */ + EClass getEntity(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Entity#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see com.minres.rdl.rdl.Entity#getName() + * @see #getEntity() + * @generated + */ + EAttribute getEntity_Name(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.InstanceRef Instance Ref}'. + * + * + * @return the meta object for class 'Instance Ref'. + * @see com.minres.rdl.rdl.InstanceRef + * @generated + */ + EClass getInstanceRef(); + + /** + * Returns the meta object for the reference '{@link com.minres.rdl.rdl.InstanceRef#getInstance Instance}'. + * + * + * @return the meta object for the reference 'Instance'. + * @see com.minres.rdl.rdl.InstanceRef#getInstance() + * @see #getInstanceRef() + * @generated + */ + EReference getInstanceRef_Instance(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.InstanceRef#getTail Tail}'. + * + * + * @return the meta object for the containment reference 'Tail'. + * @see com.minres.rdl.rdl.InstanceRef#getTail() + * @see #getInstanceRef() + * @generated + */ + EReference getInstanceRef_Tail(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.PropertyAssignmentRhs Property Assignment Rhs}'. + * + * + * @return the meta object for class 'Property Assignment Rhs'. + * @see com.minres.rdl.rdl.PropertyAssignmentRhs + * @generated + */ + EClass getPropertyAssignmentRhs(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see com.minres.rdl.rdl.PropertyAssignmentRhs#getValue() + * @see #getPropertyAssignmentRhs() + * @generated + */ + EReference getPropertyAssignmentRhs_Value(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getInstPropRef Inst Prop Ref}'. + * + * + * @return the meta object for the containment reference 'Inst Prop Ref'. + * @see com.minres.rdl.rdl.PropertyAssignmentRhs#getInstPropRef() + * @see #getPropertyAssignmentRhs() + * @generated + */ + EReference getPropertyAssignmentRhs_InstPropRef(); + + /** + * Returns the meta object for the reference '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getEnumRef Enum Ref}'. + * + * + * @return the meta object for the reference 'Enum Ref'. + * @see com.minres.rdl.rdl.PropertyAssignmentRhs#getEnumRef() + * @see #getPropertyAssignmentRhs() + * @generated + */ + EReference getPropertyAssignmentRhs_EnumRef(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getEnums Enums}'. + * + * + * @return the meta object for the containment reference 'Enums'. + * @see com.minres.rdl.rdl.PropertyAssignmentRhs#getEnums() + * @see #getPropertyAssignmentRhs() + * @generated + */ + EReference getPropertyAssignmentRhs_Enums(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.PropertyAssignmentRhs#getElements Elements}'. + * + * + * @return the meta object for the containment reference 'Elements'. + * @see com.minres.rdl.rdl.PropertyAssignmentRhs#getElements() + * @see #getPropertyAssignmentRhs() + * @generated + */ + EReference getPropertyAssignmentRhs_Elements(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.Concat Concat}'. + * + * + * @return the meta object for class 'Concat'. + * @see com.minres.rdl.rdl.Concat + * @generated + */ + EClass getConcat(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Concat#getElements Elements}'. + * + * + * @return the meta object for the containment reference list 'Elements'. + * @see com.minres.rdl.rdl.Concat#getElements() + * @see #getConcat() + * @generated + */ + EReference getConcat_Elements(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.ConcatElem Concat Elem}'. + * + * + * @return the meta object for class 'Concat Elem'. + * @see com.minres.rdl.rdl.ConcatElem + * @generated + */ + EClass getConcatElem(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.ConcatElem#getInstPropRef Inst Prop Ref}'. + * + * + * @return the meta object for the containment reference 'Inst Prop Ref'. + * @see com.minres.rdl.rdl.ConcatElem#getInstPropRef() + * @see #getConcatElem() + * @generated + */ + EReference getConcatElem_InstPropRef(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.ConcatElem#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see com.minres.rdl.rdl.ConcatElem#getValue() + * @see #getConcatElem() + * @generated + */ + EAttribute getConcatElem_Value(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.RValue RValue}'. + * + * + * @return the meta object for class 'RValue'. + * @see com.minres.rdl.rdl.RValue + * @generated + */ + EClass getRValue(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.RValue#getVal Val}'. + * + * + * @return the meta object for the attribute 'Val'. + * @see com.minres.rdl.rdl.RValue#getVal() + * @see #getRValue() + * @generated + */ + EAttribute getRValue_Val(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.RValue#getNum Num}'. + * + * + * @return the meta object for the attribute 'Num'. + * @see com.minres.rdl.rdl.RValue#getNum() + * @see #getRValue() + * @generated + */ + EAttribute getRValue_Num(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.RValue#getStr Str}'. + * + * + * @return the meta object for the attribute 'Str'. + * @see com.minres.rdl.rdl.RValue#getStr() + * @see #getRValue() + * @generated + */ + EAttribute getRValue_Str(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.EnumDefinition Enum Definition}'. + * + * + * @return the meta object for class 'Enum Definition'. + * @see com.minres.rdl.rdl.EnumDefinition + * @generated + */ + EClass getEnumDefinition(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.EnumDefinition#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see com.minres.rdl.rdl.EnumDefinition#getBody() + * @see #getEnumDefinition() + * @generated + */ + EReference getEnumDefinition_Body(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.EnumBody Enum Body}'. + * + * + * @return the meta object for class 'Enum Body'. + * @see com.minres.rdl.rdl.EnumBody + * @generated + */ + EClass getEnumBody(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.EnumBody#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see com.minres.rdl.rdl.EnumBody#getEntries() + * @see #getEnumBody() + * @generated + */ + EReference getEnumBody_Entries(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.EnumEntry Enum Entry}'. + * + * + * @return the meta object for class 'Enum Entry'. + * @see com.minres.rdl.rdl.EnumEntry + * @generated + */ + EClass getEnumEntry(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumEntry#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see com.minres.rdl.rdl.EnumEntry#getName() + * @see #getEnumEntry() + * @generated + */ + EAttribute getEnumEntry_Name(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumEntry#getIndex Index}'. + * + * + * @return the meta object for the attribute 'Index'. + * @see com.minres.rdl.rdl.EnumEntry#getIndex() + * @see #getEnumEntry() + * @generated + */ + EAttribute getEnumEntry_Index(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.EnumEntry#getProperties Properties}'. + * + * + * @return the meta object for the containment reference list 'Properties'. + * @see com.minres.rdl.rdl.EnumEntry#getProperties() + * @see #getEnumEntry() + * @generated + */ + EReference getEnumEntry_Properties(); + + /** + * Returns the meta object for class '{@link com.minres.rdl.rdl.EnumProperty Enum Property}'. + * + * + * @return the meta object for class 'Enum Property'. + * @see com.minres.rdl.rdl.EnumProperty + * @generated + */ + EClass getEnumProperty(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumProperty#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see com.minres.rdl.rdl.EnumProperty#getName() + * @see #getEnumProperty() + * @generated + */ + EAttribute getEnumProperty_Name(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumProperty#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see com.minres.rdl.rdl.EnumProperty#getValue() + * @see #getEnumProperty() + * @generated + */ + EAttribute getEnumProperty_Value(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name}'. + * + * + * @return the meta object for enum 'Property Type Name'. + * @see com.minres.rdl.rdl.PropertyTypeName + * @generated + */ + EEnum getPropertyTypeName(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.PropertyComponent Property Component}'. + * + * + * @return the meta object for enum 'Property Component'. + * @see com.minres.rdl.rdl.PropertyComponent + * @generated + */ + EEnum getPropertyComponent(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.ComponentDefinitionType Component Definition Type}'. + * + * + * @return the meta object for enum 'Component Definition Type'. + * @see com.minres.rdl.rdl.ComponentDefinitionType + * @generated + */ + EEnum getComponentDefinitionType(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.PropertyEnum Property Enum}'. + * + * + * @return the meta object for enum 'Property Enum'. + * @see com.minres.rdl.rdl.PropertyEnum + * @generated + */ + EEnum getPropertyEnum(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.RValueConstant RValue Constant}'. + * + * + * @return the meta object for enum 'RValue Constant'. + * @see com.minres.rdl.rdl.RValueConstant + * @generated + */ + EEnum getRValueConstant(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.PropertyModifier Property Modifier}'. + * + * + * @return the meta object for enum 'Property Modifier'. + * @see com.minres.rdl.rdl.PropertyModifier + * @generated + */ + EEnum getPropertyModifier(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + RdlFactory getRdlFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals + { + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.RootImpl Root}' class. + * + * + * @see com.minres.rdl.rdl.impl.RootImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRoot() + * @generated + */ + EClass ROOT = eINSTANCE.getRoot(); + + /** + * The meta object literal for the 'Includes' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__INCLUDES = eINSTANCE.getRoot_Includes(); + + /** + * The meta object literal for the 'Component Definitions' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__COMPONENT_DEFINITIONS = eINSTANCE.getRoot_ComponentDefinitions(); + + /** + * The meta object literal for the 'Enum Definitions' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__ENUM_DEFINITIONS = eINSTANCE.getRoot_EnumDefinitions(); + + /** + * The meta object literal for the 'Named Instantiations' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__NAMED_INSTANTIATIONS = eINSTANCE.getRoot_NamedInstantiations(); + + /** + * The meta object literal for the 'Property Assignments' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__PROPERTY_ASSIGNMENTS = eINSTANCE.getRoot_PropertyAssignments(); + + /** + * The meta object literal for the 'Property Definitions' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__PROPERTY_DEFINITIONS = eINSTANCE.getRoot_PropertyDefinitions(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.IncludeImpl Include}' class. + * + * + * @see com.minres.rdl.rdl.impl.IncludeImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInclude() + * @generated + */ + EClass INCLUDE = eINSTANCE.getInclude(); + + /** + * The meta object literal for the 'Import URI' attribute feature. + * + * + * @generated + */ + EAttribute INCLUDE__IMPORT_URI = eINSTANCE.getInclude_ImportURI(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.PropertyDefinitionImpl Property Definition}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyDefinitionImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyDefinition() + * @generated + */ + EClass PROPERTY_DEFINITION = eINSTANCE.getPropertyDefinition(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + EAttribute PROPERTY_DEFINITION__TYPE = eINSTANCE.getPropertyDefinition_Type(); + + /** + * The meta object literal for the 'Usage' containment reference feature. + * + * + * @generated + */ + EReference PROPERTY_DEFINITION__USAGE = eINSTANCE.getPropertyDefinition_Usage(); + + /** + * The meta object literal for the 'Default' containment reference feature. + * + * + * @generated + */ + EReference PROPERTY_DEFINITION__DEFAULT = eINSTANCE.getPropertyDefinition_Default(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.PropertyDefaultImpl Property Default}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyDefaultImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyDefault() + * @generated + */ + EClass PROPERTY_DEFAULT = eINSTANCE.getPropertyDefault(); + + /** + * The meta object literal for the 'String' attribute feature. + * + * + * @generated + */ + EAttribute PROPERTY_DEFAULT__STRING = eINSTANCE.getPropertyDefault_String(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute PROPERTY_DEFAULT__VALUE = eINSTANCE.getPropertyDefault_Value(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.PropertyUsageImpl Property Usage}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyUsageImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyUsage() + * @generated + */ + EClass PROPERTY_USAGE = eINSTANCE.getPropertyUsage(); + + /** + * The meta object literal for the 'Components' attribute list feature. + * + * + * @generated + */ + EAttribute PROPERTY_USAGE__COMPONENTS = eINSTANCE.getPropertyUsage_Components(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl Component Definition}' class. + * + * + * @see com.minres.rdl.rdl.impl.ComponentDefinitionImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentDefinition() + * @generated + */ + EClass COMPONENT_DEFINITION = eINSTANCE.getComponentDefinition(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT_DEFINITION__TYPE = eINSTANCE.getComponentDefinition_Type(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT_DEFINITION__NAME = eINSTANCE.getComponentDefinition_Name(); + + /** + * The meta object literal for the 'Component Definitions' containment reference list feature. + * + * + * @generated + */ + EReference COMPONENT_DEFINITION__COMPONENT_DEFINITIONS = eINSTANCE.getComponentDefinition_ComponentDefinitions(); + + /** + * The meta object literal for the 'Named Instantiations' containment reference list feature. + * + * + * @generated + */ + EReference COMPONENT_DEFINITION__NAMED_INSTANTIATIONS = eINSTANCE.getComponentDefinition_NamedInstantiations(); + + /** + * The meta object literal for the 'Property Assignments' containment reference list feature. + * + * + * @generated + */ + EReference COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS = eINSTANCE.getComponentDefinition_PropertyAssignments(); + + /** + * The meta object literal for the 'Enum Definitions' containment reference list feature. + * + * + * @generated + */ + EReference COMPONENT_DEFINITION__ENUM_DEFINITIONS = eINSTANCE.getComponentDefinition_EnumDefinitions(); + + /** + * The meta object literal for the 'Immediate Instantiation' containment reference feature. + * + * + * @generated + */ + EReference COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION = eINSTANCE.getComponentDefinition_ImmediateInstantiation(); + + /** + * 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. + * + * + * @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(); + + /** + * The meta object literal for the 'Alias' attribute feature. + * + * + * @generated + */ + EAttribute NAMED_INSTANTIATION__ALIAS = eINSTANCE.getNamedInstantiation_Alias(); + + /** + * The meta object literal for the 'Component' reference feature. + * + * + * @generated + */ + EReference NAMED_INSTANTIATION__COMPONENT = eINSTANCE.getNamedInstantiation_Component(); + + /** + * The meta object literal for the 'Component Instances' containment reference list feature. + * + * + * @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(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.ComponentInstanceImpl Component Instance}' class. + * + * + * @see com.minres.rdl.rdl.impl.ComponentInstanceImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentInstance() + * @generated + */ + EClass COMPONENT_INSTANCE = eINSTANCE.getComponentInstance(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference COMPONENT_INSTANCE__RANGE = eINSTANCE.getComponentInstance_Range(); + + /** + * The meta object literal for the 'Reset' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT_INSTANCE__RESET = eINSTANCE.getComponentInstance_Reset(); + + /** + * The meta object literal for the 'Address' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT_INSTANCE__ADDRESS = eINSTANCE.getComponentInstance_Address(); + + /** + * The meta object literal for the 'Addr Inc' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT_INSTANCE__ADDR_INC = eINSTANCE.getComponentInstance_AddrInc(); + + /** + * The meta object literal for the 'Addr Mod' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT_INSTANCE__ADDR_MOD = eINSTANCE.getComponentInstance_AddrMod(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.RangeImpl Range}' class. + * + * + * @see com.minres.rdl.rdl.impl.RangeImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRange() + * @generated + */ + EClass RANGE = eINSTANCE.getRange(); + + /** + * The meta object literal for the 'Start' attribute feature. + * + * + * @generated + */ + EAttribute RANGE__START = eINSTANCE.getRange_Start(); + + /** + * The meta object literal for the 'End' attribute feature. + * + * + * @generated + */ + EAttribute RANGE__END = eINSTANCE.getRange_End(); + + /** + * The meta object literal for the 'Size' attribute feature. + * + * + * @generated + */ + EAttribute RANGE__SIZE = eINSTANCE.getRange_Size(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.PropertyAssignmentImpl Property Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyAssignment() + * @generated + */ + EClass PROPERTY_ASSIGNMENT = eINSTANCE.getPropertyAssignment(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.DefaultProperyAssignmentImpl Default Propery Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.DefaultProperyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getDefaultProperyAssignment() + * @generated + */ + EClass DEFAULT_PROPERY_ASSIGNMENT = eINSTANCE.getDefaultProperyAssignment(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl Explicit Property Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getExplicitPropertyAssignment() + * @generated + */ + EClass EXPLICIT_PROPERTY_ASSIGNMENT = eINSTANCE.getExplicitPropertyAssignment(); + + /** + * The meta object literal for the 'Modifier' attribute feature. + * + * + * @generated + */ + EAttribute EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER = eINSTANCE.getExplicitPropertyAssignment_Modifier(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute EXPLICIT_PROPERTY_ASSIGNMENT__NAME = eINSTANCE.getExplicitPropertyAssignment_Name(); + + /** + * The meta object literal for the 'Rhs' containment reference feature. + * + * + * @generated + */ + EReference EXPLICIT_PROPERTY_ASSIGNMENT__RHS = eINSTANCE.getExplicitPropertyAssignment_Rhs(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl Post Property Assignment}' class. + * + * + * @see com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPostPropertyAssignment() + * @generated + */ + EClass POST_PROPERTY_ASSIGNMENT = eINSTANCE.getPostPropertyAssignment(); + + /** + * The meta object literal for the 'Instance' containment reference feature. + * + * + * @generated + */ + EReference POST_PROPERTY_ASSIGNMENT__INSTANCE = eINSTANCE.getPostPropertyAssignment_Instance(); + + /** + * The meta object literal for the 'Property Enum' attribute feature. + * + * + * @generated + */ + EAttribute POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM = eINSTANCE.getPostPropertyAssignment_PropertyEnum(); + + /** + * The meta object literal for the 'Property' reference feature. + * + * + * @generated + */ + EReference POST_PROPERTY_ASSIGNMENT__PROPERTY = eINSTANCE.getPostPropertyAssignment_Property(); + + /** + * The meta object literal for the 'Rhs' containment reference feature. + * + * + * @generated + */ + EReference POST_PROPERTY_ASSIGNMENT__RHS = eINSTANCE.getPostPropertyAssignment_Rhs(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.InstancePropertyRefImpl Instance Property Ref}' class. + * + * + * @see com.minres.rdl.rdl.impl.InstancePropertyRefImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstancePropertyRef() + * @generated + */ + EClass INSTANCE_PROPERTY_REF = eINSTANCE.getInstancePropertyRef(); + + /** + * The meta object literal for the 'Instance' containment reference feature. + * + * + * @generated + */ + EReference INSTANCE_PROPERTY_REF__INSTANCE = eINSTANCE.getInstancePropertyRef_Instance(); + + /** + * The meta object literal for the 'Property Enum' attribute feature. + * + * + * @generated + */ + EAttribute INSTANCE_PROPERTY_REF__PROPERTY_ENUM = eINSTANCE.getInstancePropertyRef_PropertyEnum(); + + /** + * The meta object literal for the 'Property' reference feature. + * + * + * @generated + */ + EReference INSTANCE_PROPERTY_REF__PROPERTY = eINSTANCE.getInstancePropertyRef_Property(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.EntityImpl Entity}' class. + * + * + * @see com.minres.rdl.rdl.impl.EntityImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEntity() + * @generated + */ + EClass ENTITY = eINSTANCE.getEntity(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute ENTITY__NAME = eINSTANCE.getEntity_Name(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.InstanceRefImpl Instance Ref}' class. + * + * + * @see com.minres.rdl.rdl.impl.InstanceRefImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstanceRef() + * @generated + */ + EClass INSTANCE_REF = eINSTANCE.getInstanceRef(); + + /** + * The meta object literal for the 'Instance' reference feature. + * + * + * @generated + */ + EReference INSTANCE_REF__INSTANCE = eINSTANCE.getInstanceRef_Instance(); + + /** + * The meta object literal for the 'Tail' containment reference feature. + * + * + * @generated + */ + EReference INSTANCE_REF__TAIL = eINSTANCE.getInstanceRef_Tail(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl Property Assignment Rhs}' class. + * + * + * @see com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyAssignmentRhs() + * @generated + */ + EClass PROPERTY_ASSIGNMENT_RHS = eINSTANCE.getPropertyAssignmentRhs(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference PROPERTY_ASSIGNMENT_RHS__VALUE = eINSTANCE.getPropertyAssignmentRhs_Value(); + + /** + * The meta object literal for the 'Inst Prop Ref' containment reference feature. + * + * + * @generated + */ + EReference PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF = eINSTANCE.getPropertyAssignmentRhs_InstPropRef(); + + /** + * The meta object literal for the 'Enum Ref' reference feature. + * + * + * @generated + */ + EReference PROPERTY_ASSIGNMENT_RHS__ENUM_REF = eINSTANCE.getPropertyAssignmentRhs_EnumRef(); + + /** + * The meta object literal for the 'Enums' containment reference feature. + * + * + * @generated + */ + EReference PROPERTY_ASSIGNMENT_RHS__ENUMS = eINSTANCE.getPropertyAssignmentRhs_Enums(); + + /** + * The meta object literal for the 'Elements' containment reference feature. + * + * + * @generated + */ + EReference PROPERTY_ASSIGNMENT_RHS__ELEMENTS = eINSTANCE.getPropertyAssignmentRhs_Elements(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.ConcatImpl Concat}' class. + * + * + * @see com.minres.rdl.rdl.impl.ConcatImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getConcat() + * @generated + */ + EClass CONCAT = eINSTANCE.getConcat(); + + /** + * The meta object literal for the 'Elements' containment reference list feature. + * + * + * @generated + */ + EReference CONCAT__ELEMENTS = eINSTANCE.getConcat_Elements(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.ConcatElemImpl Concat Elem}' class. + * + * + * @see com.minres.rdl.rdl.impl.ConcatElemImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getConcatElem() + * @generated + */ + EClass CONCAT_ELEM = eINSTANCE.getConcatElem(); + + /** + * The meta object literal for the 'Inst Prop Ref' containment reference feature. + * + * + * @generated + */ + EReference CONCAT_ELEM__INST_PROP_REF = eINSTANCE.getConcatElem_InstPropRef(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute CONCAT_ELEM__VALUE = eINSTANCE.getConcatElem_Value(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.RValueImpl RValue}' class. + * + * + * @see com.minres.rdl.rdl.impl.RValueImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRValue() + * @generated + */ + EClass RVALUE = eINSTANCE.getRValue(); + + /** + * The meta object literal for the 'Val' attribute feature. + * + * + * @generated + */ + EAttribute RVALUE__VAL = eINSTANCE.getRValue_Val(); + + /** + * The meta object literal for the 'Num' attribute feature. + * + * + * @generated + */ + EAttribute RVALUE__NUM = eINSTANCE.getRValue_Num(); + + /** + * The meta object literal for the 'Str' attribute feature. + * + * + * @generated + */ + EAttribute RVALUE__STR = eINSTANCE.getRValue_Str(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.EnumDefinitionImpl Enum Definition}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumDefinitionImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumDefinition() + * @generated + */ + EClass ENUM_DEFINITION = eINSTANCE.getEnumDefinition(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference ENUM_DEFINITION__BODY = eINSTANCE.getEnumDefinition_Body(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.EnumBodyImpl Enum Body}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumBodyImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumBody() + * @generated + */ + EClass ENUM_BODY = eINSTANCE.getEnumBody(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference ENUM_BODY__ENTRIES = eINSTANCE.getEnumBody_Entries(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.EnumEntryImpl Enum Entry}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumEntryImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumEntry() + * @generated + */ + EClass ENUM_ENTRY = eINSTANCE.getEnumEntry(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_ENTRY__NAME = eINSTANCE.getEnumEntry_Name(); + + /** + * The meta object literal for the 'Index' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_ENTRY__INDEX = eINSTANCE.getEnumEntry_Index(); + + /** + * The meta object literal for the 'Properties' containment reference list feature. + * + * + * @generated + */ + EReference ENUM_ENTRY__PROPERTIES = eINSTANCE.getEnumEntry_Properties(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.impl.EnumPropertyImpl Enum Property}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumPropertyImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumProperty() + * @generated + */ + EClass ENUM_PROPERTY = eINSTANCE.getEnumProperty(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_PROPERTY__NAME = eINSTANCE.getEnumProperty_Name(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_PROPERTY__VALUE = eINSTANCE.getEnumProperty_Value(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyTypeName + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyTypeName() + * @generated + */ + EEnum PROPERTY_TYPE_NAME = eINSTANCE.getPropertyTypeName(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.PropertyComponent Property Component}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyComponent + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyComponent() + * @generated + */ + EEnum PROPERTY_COMPONENT = eINSTANCE.getPropertyComponent(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.ComponentDefinitionType Component Definition Type}' enum. + * + * + * @see com.minres.rdl.rdl.ComponentDefinitionType + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getComponentDefinitionType() + * @generated + */ + EEnum COMPONENT_DEFINITION_TYPE = eINSTANCE.getComponentDefinitionType(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.PropertyEnum Property Enum}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyEnum + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyEnum() + * @generated + */ + EEnum PROPERTY_ENUM = eINSTANCE.getPropertyEnum(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.RValueConstant RValue Constant}' enum. + * + * + * @see com.minres.rdl.rdl.RValueConstant + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getRValueConstant() + * @generated + */ + EEnum RVALUE_CONSTANT = eINSTANCE.getRValueConstant(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.PropertyModifier Property Modifier}' enum. + * + * + * @see com.minres.rdl.rdl.PropertyModifier + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getPropertyModifier() + * @generated + */ + EEnum PROPERTY_MODIFIER = eINSTANCE.getPropertyModifier(); + + } + +} //RdlPackage 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 new file mode 100644 index 0000000..13056ec --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Root.java @@ -0,0 +1,129 @@ +/** + * 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 'Root'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@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#getPropertyAssignments Property Assignments}
  • + *
  • {@link com.minres.rdl.rdl.Root#getPropertyDefinitions Property Definitions}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getRoot() + * @model + * @generated + */ +public interface Root extends EObject +{ + /** + * Returns the value of the 'Includes' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.Include}. + * + *

+ * If the meaning of the 'Includes' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Includes' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getRoot_Includes() + * @model containment="true" + * @generated + */ + EList getIncludes(); + + /** + * Returns the value of the 'Component Definitions' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.ComponentDefinition}. + * + *

+ * If the meaning of the 'Component Definitions' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Component Definitions' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getRoot_ComponentDefinitions() + * @model containment="true" + * @generated + */ + EList getComponentDefinitions(); + + /** + * Returns the value of the 'Enum Definitions' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.EnumDefinition}. + * + *

+ * If the meaning of the 'Enum Definitions' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Enum Definitions' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getRoot_EnumDefinitions() + * @model containment="true" + * @generated + */ + EList getEnumDefinitions(); + + /** + * Returns the value of the 'Named Instantiations' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.NamedInstantiation}. + * + *

+ * If the meaning of the 'Named 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() + * @model containment="true" + * @generated + */ + EList getNamedInstantiations(); + + /** + * Returns the value of the 'Property Assignments' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.PropertyAssignment}. + * + *

+ * If the meaning of the 'Property Assignments' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property Assignments' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getRoot_PropertyAssignments() + * @model containment="true" + * @generated + */ + EList getPropertyAssignments(); + + /** + * Returns the value of the 'Property Definitions' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.PropertyDefinition}. + * + *

+ * If the meaning of the 'Property Definitions' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property Definitions' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getRoot_PropertyDefinitions() + * @model containment="true" + * @generated + */ + EList getPropertyDefinitions(); + +} // Root 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 new file mode 100644 index 0000000..e075f1f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentDefinitionImpl.java @@ -0,0 +1,486 @@ +/** + * generated by Xtext 2.12.0 + */ +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.PropertyAssignment; +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 'Component Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@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#getPropertyAssignments Property Assignments}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getEnumDefinitions Enum Definitions}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getImmediateInstantiation Immediate Instantiation}
  • + *
+ * + * @generated + */ +public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implements ComponentDefinition +{ + /** + * The default value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected static final ComponentDefinitionType TYPE_EDEFAULT = ComponentDefinitionType.SIGNAL; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected ComponentDefinitionType type = TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getComponentDefinitions() Component Definitions}' containment reference list. + * + * + * @see #getComponentDefinitions() + * @generated + * @ordered + */ + protected EList componentDefinitions; + + /** + * The cached value of the '{@link #getNamedInstantiations() Named Instantiations}' containment reference list. + * + * + * @see #getNamedInstantiations() + * @generated + * @ordered + */ + protected EList namedInstantiations; + + /** + * The cached value of the '{@link #getPropertyAssignments() Property Assignments}' containment reference list. + * + * + * @see #getPropertyAssignments() + * @generated + * @ordered + */ + protected EList propertyAssignments; + + /** + * The cached value of the '{@link #getEnumDefinitions() Enum Definitions}' containment reference list. + * + * + * @see #getEnumDefinitions() + * @generated + * @ordered + */ + protected EList enumDefinitions; + + /** + * The cached value of the '{@link #getImmediateInstantiation() Immediate Instantiation}' containment reference. + * + * + * @see #getImmediateInstantiation() + * @generated + * @ordered + */ + protected ImmediateInstantiation immediateInstantiation; + + /** + * + * + * @generated + */ + protected ComponentDefinitionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.COMPONENT_DEFINITION; + } + + /** + * + * + * @generated + */ + public ComponentDefinitionType getType() + { + return type; + } + + /** + * + * + * @generated + */ + public void setType(ComponentDefinitionType newType) + { + ComponentDefinitionType oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public EList getComponentDefinitions() + { + if (componentDefinitions == null) + { + componentDefinitions = new EObjectContainmentEList(ComponentDefinition.class, this, RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS); + } + return componentDefinitions; + } + + /** + * + * + * @generated + */ + public EList getNamedInstantiations() + { + if (namedInstantiations == null) + { + namedInstantiations = new EObjectContainmentEList(NamedInstantiation.class, this, RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS); + } + return namedInstantiations; + } + + /** + * + * + * @generated + */ + public EList getPropertyAssignments() + { + if (propertyAssignments == null) + { + propertyAssignments = new EObjectContainmentEList(PropertyAssignment.class, this, RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS); + } + return propertyAssignments; + } + + /** + * + * + * @generated + */ + public EList getEnumDefinitions() + { + if (enumDefinitions == null) + { + enumDefinitions = new EObjectContainmentEList(EnumDefinition.class, this, RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS); + } + 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)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + 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__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); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.COMPONENT_DEFINITION__TYPE: + return getType(); + case RdlPackage.COMPONENT_DEFINITION__NAME: + return getName(); + case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS: + return getComponentDefinitions(); + case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS: + return getNamedInstantiations(); + 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); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.COMPONENT_DEFINITION__TYPE: + setType((ComponentDefinitionType)newValue); + return; + case RdlPackage.COMPONENT_DEFINITION__NAME: + setName((String)newValue); + return; + case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS: + getComponentDefinitions().clear(); + getComponentDefinitions().addAll((Collection)newValue); + return; + case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS: + getNamedInstantiations().clear(); + getNamedInstantiations().addAll((Collection)newValue); + return; + case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS: + getPropertyAssignments().clear(); + getPropertyAssignments().addAll((Collection)newValue); + return; + case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS: + getEnumDefinitions().clear(); + getEnumDefinitions().addAll((Collection)newValue); + return; + case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION: + setImmediateInstantiation((ImmediateInstantiation)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.COMPONENT_DEFINITION__TYPE: + setType(TYPE_EDEFAULT); + return; + case RdlPackage.COMPONENT_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS: + getComponentDefinitions().clear(); + return; + case RdlPackage.COMPONENT_DEFINITION__NAMED_INSTANTIATIONS: + getNamedInstantiations().clear(); + return; + case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS: + getPropertyAssignments().clear(); + return; + case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS: + getEnumDefinitions().clear(); + return; + case RdlPackage.COMPONENT_DEFINITION__IMMEDIATE_INSTANTIATION: + setImmediateInstantiation((ImmediateInstantiation)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.COMPONENT_DEFINITION__TYPE: + return type != TYPE_EDEFAULT; + case RdlPackage.COMPONENT_DEFINITION__NAME: + 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__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); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (type: "); + result.append(type); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ComponentDefinitionImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentInstanceImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentInstanceImpl.java new file mode 100644 index 0000000..ae038c6 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentInstanceImpl.java @@ -0,0 +1,433 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.ComponentInstance; +import com.minres.rdl.rdl.Range; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Component Instance'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.ComponentInstanceImpl#getRange Range}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentInstanceImpl#getReset Reset}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentInstanceImpl#getAddress Address}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentInstanceImpl#getAddrInc Addr Inc}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentInstanceImpl#getAddrMod Addr Mod}
  • + *
+ * + * @generated + */ +public class ComponentInstanceImpl extends EntityImpl implements ComponentInstance +{ + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected Range range; + + /** + * The default value of the '{@link #getReset() Reset}' attribute. + * + * + * @see #getReset() + * @generated + * @ordered + */ + protected static final Object RESET_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReset() Reset}' attribute. + * + * + * @see #getReset() + * @generated + * @ordered + */ + protected Object reset = RESET_EDEFAULT; + + /** + * The default value of the '{@link #getAddress() Address}' attribute. + * + * + * @see #getAddress() + * @generated + * @ordered + */ + protected static final Object ADDRESS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAddress() Address}' attribute. + * + * + * @see #getAddress() + * @generated + * @ordered + */ + protected Object address = ADDRESS_EDEFAULT; + + /** + * The default value of the '{@link #getAddrInc() Addr Inc}' attribute. + * + * + * @see #getAddrInc() + * @generated + * @ordered + */ + protected static final Object ADDR_INC_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAddrInc() Addr Inc}' attribute. + * + * + * @see #getAddrInc() + * @generated + * @ordered + */ + protected Object addrInc = ADDR_INC_EDEFAULT; + + /** + * The default value of the '{@link #getAddrMod() Addr Mod}' attribute. + * + * + * @see #getAddrMod() + * @generated + * @ordered + */ + protected static final Object ADDR_MOD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAddrMod() Addr Mod}' attribute. + * + * + * @see #getAddrMod() + * @generated + * @ordered + */ + protected Object addrMod = ADDR_MOD_EDEFAULT; + + /** + * + * + * @generated + */ + protected ComponentInstanceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.COMPONENT_INSTANCE; + } + + /** + * + * + * @generated + */ + public Range getRange() + { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(Range newRange, NotificationChain msgs) + { + Range oldRange = range; + range = newRange; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_INSTANCE__RANGE, oldRange, newRange); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRange(Range newRange) + { + if (newRange != range) + { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.COMPONENT_INSTANCE__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.COMPONENT_INSTANCE__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_INSTANCE__RANGE, newRange, newRange)); + } + + /** + * + * + * @generated + */ + public Object getReset() + { + return reset; + } + + /** + * + * + * @generated + */ + public void setReset(Object newReset) + { + Object oldReset = reset; + reset = newReset; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_INSTANCE__RESET, oldReset, reset)); + } + + /** + * + * + * @generated + */ + public Object getAddress() + { + return address; + } + + /** + * + * + * @generated + */ + public void setAddress(Object newAddress) + { + Object oldAddress = address; + address = newAddress; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_INSTANCE__ADDRESS, oldAddress, address)); + } + + /** + * + * + * @generated + */ + public Object getAddrInc() + { + return addrInc; + } + + /** + * + * + * @generated + */ + public void setAddrInc(Object newAddrInc) + { + Object oldAddrInc = addrInc; + addrInc = newAddrInc; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_INSTANCE__ADDR_INC, oldAddrInc, addrInc)); + } + + /** + * + * + * @generated + */ + public Object getAddrMod() + { + return addrMod; + } + + /** + * + * + * @generated + */ + public void setAddrMod(Object newAddrMod) + { + Object oldAddrMod = addrMod; + addrMod = newAddrMod; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.COMPONENT_INSTANCE__ADDR_MOD, oldAddrMod, addrMod)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.COMPONENT_INSTANCE__RANGE: + return basicSetRange(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.COMPONENT_INSTANCE__RANGE: + return getRange(); + case RdlPackage.COMPONENT_INSTANCE__RESET: + return getReset(); + case RdlPackage.COMPONENT_INSTANCE__ADDRESS: + return getAddress(); + case RdlPackage.COMPONENT_INSTANCE__ADDR_INC: + return getAddrInc(); + case RdlPackage.COMPONENT_INSTANCE__ADDR_MOD: + return getAddrMod(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.COMPONENT_INSTANCE__RANGE: + setRange((Range)newValue); + return; + case RdlPackage.COMPONENT_INSTANCE__RESET: + setReset(newValue); + return; + case RdlPackage.COMPONENT_INSTANCE__ADDRESS: + setAddress(newValue); + return; + case RdlPackage.COMPONENT_INSTANCE__ADDR_INC: + setAddrInc(newValue); + return; + case RdlPackage.COMPONENT_INSTANCE__ADDR_MOD: + setAddrMod(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.COMPONENT_INSTANCE__RANGE: + setRange((Range)null); + return; + case RdlPackage.COMPONENT_INSTANCE__RESET: + setReset(RESET_EDEFAULT); + return; + case RdlPackage.COMPONENT_INSTANCE__ADDRESS: + setAddress(ADDRESS_EDEFAULT); + return; + case RdlPackage.COMPONENT_INSTANCE__ADDR_INC: + setAddrInc(ADDR_INC_EDEFAULT); + return; + case RdlPackage.COMPONENT_INSTANCE__ADDR_MOD: + setAddrMod(ADDR_MOD_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.COMPONENT_INSTANCE__RANGE: + return range != null; + case RdlPackage.COMPONENT_INSTANCE__RESET: + return RESET_EDEFAULT == null ? reset != null : !RESET_EDEFAULT.equals(reset); + case RdlPackage.COMPONENT_INSTANCE__ADDRESS: + return ADDRESS_EDEFAULT == null ? address != null : !ADDRESS_EDEFAULT.equals(address); + case RdlPackage.COMPONENT_INSTANCE__ADDR_INC: + return ADDR_INC_EDEFAULT == null ? addrInc != null : !ADDR_INC_EDEFAULT.equals(addrInc); + case RdlPackage.COMPONENT_INSTANCE__ADDR_MOD: + return ADDR_MOD_EDEFAULT == null ? addrMod != null : !ADDR_MOD_EDEFAULT.equals(addrMod); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (reset: "); + result.append(reset); + result.append(", address: "); + result.append(address); + result.append(", addrInc: "); + result.append(addrInc); + result.append(", addrMod: "); + result.append(addrMod); + result.append(')'); + return result.toString(); + } + +} //ComponentInstanceImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatElemImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatElemImpl.java new file mode 100644 index 0000000..03f92ab --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatElemImpl.java @@ -0,0 +1,266 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.ConcatElem; +import com.minres.rdl.rdl.InstancePropertyRef; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +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; + +/** + * + * An implementation of the model object 'Concat Elem'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.ConcatElemImpl#getInstPropRef Inst Prop Ref}
  • + *
  • {@link com.minres.rdl.rdl.impl.ConcatElemImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class ConcatElemImpl extends MinimalEObjectImpl.Container implements ConcatElem +{ + /** + * The cached value of the '{@link #getInstPropRef() Inst Prop Ref}' containment reference. + * + * + * @see #getInstPropRef() + * @generated + * @ordered + */ + protected InstancePropertyRef instPropRef; + + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final Object VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Object value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected ConcatElemImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.CONCAT_ELEM; + } + + /** + * + * + * @generated + */ + public InstancePropertyRef getInstPropRef() + { + return instPropRef; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstPropRef(InstancePropertyRef newInstPropRef, NotificationChain msgs) + { + InstancePropertyRef oldInstPropRef = instPropRef; + instPropRef = newInstPropRef; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.CONCAT_ELEM__INST_PROP_REF, oldInstPropRef, newInstPropRef); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setInstPropRef(InstancePropertyRef newInstPropRef) + { + if (newInstPropRef != instPropRef) + { + NotificationChain msgs = null; + if (instPropRef != null) + msgs = ((InternalEObject)instPropRef).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.CONCAT_ELEM__INST_PROP_REF, null, msgs); + if (newInstPropRef != null) + msgs = ((InternalEObject)newInstPropRef).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.CONCAT_ELEM__INST_PROP_REF, null, msgs); + msgs = basicSetInstPropRef(newInstPropRef, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.CONCAT_ELEM__INST_PROP_REF, newInstPropRef, newInstPropRef)); + } + + /** + * + * + * @generated + */ + public Object getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(Object newValue) + { + Object oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.CONCAT_ELEM__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.CONCAT_ELEM__INST_PROP_REF: + return basicSetInstPropRef(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.CONCAT_ELEM__INST_PROP_REF: + return getInstPropRef(); + case RdlPackage.CONCAT_ELEM__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.CONCAT_ELEM__INST_PROP_REF: + setInstPropRef((InstancePropertyRef)newValue); + return; + case RdlPackage.CONCAT_ELEM__VALUE: + setValue(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.CONCAT_ELEM__INST_PROP_REF: + setInstPropRef((InstancePropertyRef)null); + return; + case RdlPackage.CONCAT_ELEM__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.CONCAT_ELEM__INST_PROP_REF: + return instPropRef != null; + case RdlPackage.CONCAT_ELEM__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //ConcatElemImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatImpl.java new file mode 100644 index 0000000..5f0e58e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatImpl.java @@ -0,0 +1,168 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.Concat; +import com.minres.rdl.rdl.ConcatElem; +import com.minres.rdl.rdl.RdlPackage; + +import java.util.Collection; + +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.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Concat'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.ConcatImpl#getElements Elements}
  • + *
+ * + * @generated + */ +public class ConcatImpl extends MinimalEObjectImpl.Container implements Concat +{ + /** + * The cached value of the '{@link #getElements() Elements}' containment reference list. + * + * + * @see #getElements() + * @generated + * @ordered + */ + protected EList elements; + + /** + * + * + * @generated + */ + protected ConcatImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.CONCAT; + } + + /** + * + * + * @generated + */ + public EList getElements() + { + if (elements == null) + { + elements = new EObjectContainmentEList(ConcatElem.class, this, RdlPackage.CONCAT__ELEMENTS); + } + return elements; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.CONCAT__ELEMENTS: + return ((InternalEList)getElements()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.CONCAT__ELEMENTS: + return getElements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.CONCAT__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.CONCAT__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.CONCAT__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ConcatImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/DefaultProperyAssignmentImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/DefaultProperyAssignmentImpl.java new file mode 100644 index 0000000..c3eb89b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/DefaultProperyAssignmentImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.DefaultProperyAssignment; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Default Propery Assignment'. + * + * + * @generated + */ +public class DefaultProperyAssignmentImpl extends PropertyAssignmentImpl implements DefaultProperyAssignment +{ + /** + * + * + * @generated + */ + protected DefaultProperyAssignmentImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.DEFAULT_PROPERY_ASSIGNMENT; + } + +} //DefaultProperyAssignmentImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EntityImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EntityImpl.java new file mode 100644 index 0000000..c071b6e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EntityImpl.java @@ -0,0 +1,178 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.Entity; +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 'Entity'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.EntityImpl#getName Name}
  • + *
+ * + * @generated + */ +public class EntityImpl extends MinimalEObjectImpl.Container implements Entity +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected EntityImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ENTITY; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENTITY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ENTITY__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ENTITY__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ENTITY__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ENTITY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //EntityImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumBodyImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumBodyImpl.java new file mode 100644 index 0000000..70dc047 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumBodyImpl.java @@ -0,0 +1,168 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.EnumBody; +import com.minres.rdl.rdl.EnumEntry; +import com.minres.rdl.rdl.RdlPackage; + +import java.util.Collection; + +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.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Enum Body'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.EnumBodyImpl#getEntries Entries}
  • + *
+ * + * @generated + */ +public class EnumBodyImpl extends MinimalEObjectImpl.Container implements EnumBody +{ + /** + * The cached value of the '{@link #getEntries() Entries}' containment reference list. + * + * + * @see #getEntries() + * @generated + * @ordered + */ + protected EList entries; + + /** + * + * + * @generated + */ + protected EnumBodyImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ENUM_BODY; + } + + /** + * + * + * @generated + */ + public EList getEntries() + { + if (entries == null) + { + entries = new EObjectContainmentEList(EnumEntry.class, this, RdlPackage.ENUM_BODY__ENTRIES); + } + return entries; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.ENUM_BODY__ENTRIES: + return ((InternalEList)getEntries()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ENUM_BODY__ENTRIES: + return getEntries(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ENUM_BODY__ENTRIES: + getEntries().clear(); + getEntries().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_BODY__ENTRIES: + getEntries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_BODY__ENTRIES: + return entries != null && !entries.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //EnumBodyImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumDefinitionImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumDefinitionImpl.java new file mode 100644 index 0000000..da4fc13 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumDefinitionImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.EnumBody; +import com.minres.rdl.rdl.EnumDefinition; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Enum Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.EnumDefinitionImpl#getBody Body}
  • + *
+ * + * @generated + */ +public class EnumDefinitionImpl extends EntityImpl implements EnumDefinition +{ + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected EnumBody body; + + /** + * + * + * @generated + */ + protected EnumDefinitionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ENUM_DEFINITION; + } + + /** + * + * + * @generated + */ + public EnumBody getBody() + { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(EnumBody newBody, NotificationChain msgs) + { + EnumBody oldBody = body; + body = newBody; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_DEFINITION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(EnumBody newBody) + { + if (newBody != body) + { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.ENUM_DEFINITION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.ENUM_DEFINITION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_DEFINITION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.ENUM_DEFINITION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ENUM_DEFINITION__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ENUM_DEFINITION__BODY: + setBody((EnumBody)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_DEFINITION__BODY: + setBody((EnumBody)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_DEFINITION__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //EnumDefinitionImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumEntryImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumEntryImpl.java new file mode 100644 index 0000000..9169c46 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumEntryImpl.java @@ -0,0 +1,297 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.EnumEntry; +import com.minres.rdl.rdl.EnumProperty; +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 'Enum Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.EnumEntryImpl#getName Name}
  • + *
  • {@link com.minres.rdl.rdl.impl.EnumEntryImpl#getIndex Index}
  • + *
  • {@link com.minres.rdl.rdl.impl.EnumEntryImpl#getProperties Properties}
  • + *
+ * + * @generated + */ +public class EnumEntryImpl extends MinimalEObjectImpl.Container implements EnumEntry +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getIndex() Index}' attribute. + * + * + * @see #getIndex() + * @generated + * @ordered + */ + protected static final Object INDEX_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIndex() Index}' attribute. + * + * + * @see #getIndex() + * @generated + * @ordered + */ + protected Object index = INDEX_EDEFAULT; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList properties; + + /** + * + * + * @generated + */ + protected EnumEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ENUM_ENTRY; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_ENTRY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public Object getIndex() + { + return index; + } + + /** + * + * + * @generated + */ + public void setIndex(Object newIndex) + { + Object oldIndex = index; + index = newIndex; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_ENTRY__INDEX, oldIndex, index)); + } + + /** + * + * + * @generated + */ + public EList getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(EnumProperty.class, this, RdlPackage.ENUM_ENTRY__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.ENUM_ENTRY__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ENUM_ENTRY__NAME: + return getName(); + case RdlPackage.ENUM_ENTRY__INDEX: + return getIndex(); + case RdlPackage.ENUM_ENTRY__PROPERTIES: + return getProperties(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ENUM_ENTRY__NAME: + setName((String)newValue); + return; + case RdlPackage.ENUM_ENTRY__INDEX: + setIndex(newValue); + return; + case RdlPackage.ENUM_ENTRY__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_ENTRY__NAME: + setName(NAME_EDEFAULT); + return; + case RdlPackage.ENUM_ENTRY__INDEX: + setIndex(INDEX_EDEFAULT); + return; + case RdlPackage.ENUM_ENTRY__PROPERTIES: + getProperties().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_ENTRY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case RdlPackage.ENUM_ENTRY__INDEX: + return INDEX_EDEFAULT == null ? index != null : !INDEX_EDEFAULT.equals(index); + case RdlPackage.ENUM_ENTRY__PROPERTIES: + return properties != null && !properties.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", index: "); + result.append(index); + result.append(')'); + return result.toString(); + } + +} //EnumEntryImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumPropertyImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumPropertyImpl.java new file mode 100644 index 0000000..8b564e8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumPropertyImpl.java @@ -0,0 +1,234 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.EnumProperty; +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 Property'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.EnumPropertyImpl#getName Name}
  • + *
  • {@link com.minres.rdl.rdl.impl.EnumPropertyImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class EnumPropertyImpl extends MinimalEObjectImpl.Container implements EnumProperty +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected EnumPropertyImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ENUM_PROPERTY; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_PROPERTY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public String getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(String newValue) + { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_PROPERTY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ENUM_PROPERTY__NAME: + return getName(); + case RdlPackage.ENUM_PROPERTY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ENUM_PROPERTY__NAME: + setName((String)newValue); + return; + case RdlPackage.ENUM_PROPERTY__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_PROPERTY__NAME: + setName(NAME_EDEFAULT); + return; + case RdlPackage.ENUM_PROPERTY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_PROPERTY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case RdlPackage.ENUM_PROPERTY__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //EnumPropertyImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ExplicitPropertyAssignmentImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ExplicitPropertyAssignmentImpl.java new file mode 100644 index 0000000..b631f6f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ExplicitPropertyAssignmentImpl.java @@ -0,0 +1,323 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.ExplicitPropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignmentRhs; +import com.minres.rdl.rdl.PropertyEnum; +import com.minres.rdl.rdl.PropertyModifier; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Explicit Property Assignment'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl#getModifier Modifier}
  • + *
  • {@link com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl#getName Name}
  • + *
  • {@link com.minres.rdl.rdl.impl.ExplicitPropertyAssignmentImpl#getRhs Rhs}
  • + *
+ * + * @generated + */ +public class ExplicitPropertyAssignmentImpl extends PropertyAssignmentImpl implements ExplicitPropertyAssignment +{ + /** + * The default value of the '{@link #getModifier() Modifier}' attribute. + * + * + * @see #getModifier() + * @generated + * @ordered + */ + protected static final PropertyModifier MODIFIER_EDEFAULT = PropertyModifier.UNDEFINED; + + /** + * The cached value of the '{@link #getModifier() Modifier}' attribute. + * + * + * @see #getModifier() + * @generated + * @ordered + */ + protected PropertyModifier modifier = MODIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final PropertyEnum NAME_EDEFAULT = PropertyEnum.UNSPECIFIED; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected PropertyEnum name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getRhs() Rhs}' containment reference. + * + * + * @see #getRhs() + * @generated + * @ordered + */ + protected PropertyAssignmentRhs rhs; + + /** + * + * + * @generated + */ + protected ExplicitPropertyAssignmentImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.EXPLICIT_PROPERTY_ASSIGNMENT; + } + + /** + * + * + * @generated + */ + public PropertyModifier getModifier() + { + return modifier; + } + + /** + * + * + * @generated + */ + public void setModifier(PropertyModifier newModifier) + { + PropertyModifier oldModifier = modifier; + modifier = newModifier == null ? MODIFIER_EDEFAULT : newModifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER, oldModifier, modifier)); + } + + /** + * + * + * @generated + */ + public PropertyEnum getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(PropertyEnum newName) + { + PropertyEnum oldName = name; + name = newName == null ? NAME_EDEFAULT : newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public PropertyAssignmentRhs getRhs() + { + return rhs; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRhs(PropertyAssignmentRhs newRhs, NotificationChain msgs) + { + PropertyAssignmentRhs oldRhs = rhs; + rhs = newRhs; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS, oldRhs, newRhs); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRhs(PropertyAssignmentRhs newRhs) + { + if (newRhs != rhs) + { + NotificationChain msgs = null; + if (rhs != null) + msgs = ((InternalEObject)rhs).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS, null, msgs); + if (newRhs != null) + msgs = ((InternalEObject)newRhs).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS, null, msgs); + msgs = basicSetRhs(newRhs, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS, newRhs, newRhs)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS: + return basicSetRhs(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER: + return getModifier(); + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__NAME: + return getName(); + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS: + return getRhs(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER: + setModifier((PropertyModifier)newValue); + return; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__NAME: + setName((PropertyEnum)newValue); + return; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS: + setRhs((PropertyAssignmentRhs)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER: + setModifier(MODIFIER_EDEFAULT); + return; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__NAME: + setName(NAME_EDEFAULT); + return; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS: + setRhs((PropertyAssignmentRhs)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER: + return modifier != MODIFIER_EDEFAULT; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__NAME: + return name != NAME_EDEFAULT; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT__RHS: + return rhs != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (modifier: "); + result.append(modifier); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ExplicitPropertyAssignmentImpl 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 new file mode 100644 index 0000000..2c7502f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ImmediateInstantiationImpl.java @@ -0,0 +1,241 @@ +/** + * 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)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/IncludeImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/IncludeImpl.java new file mode 100644 index 0000000..2f1e281 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/IncludeImpl.java @@ -0,0 +1,178 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.Include; +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 'Include'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.IncludeImpl#getImportURI Import URI}
  • + *
+ * + * @generated + */ +public class IncludeImpl extends MinimalEObjectImpl.Container implements Include +{ + /** + * The default value of the '{@link #getImportURI() Import URI}' attribute. + * + * + * @see #getImportURI() + * @generated + * @ordered + */ + protected static final String IMPORT_URI_EDEFAULT = null; + + /** + * The cached value of the '{@link #getImportURI() Import URI}' attribute. + * + * + * @see #getImportURI() + * @generated + * @ordered + */ + protected String importURI = IMPORT_URI_EDEFAULT; + + /** + * + * + * @generated + */ + protected IncludeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.INCLUDE; + } + + /** + * + * + * @generated + */ + public String getImportURI() + { + return importURI; + } + + /** + * + * + * @generated + */ + public void setImportURI(String newImportURI) + { + String oldImportURI = importURI; + importURI = newImportURI; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INCLUDE__IMPORT_URI, oldImportURI, importURI)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.INCLUDE__IMPORT_URI: + return getImportURI(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.INCLUDE__IMPORT_URI: + setImportURI((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.INCLUDE__IMPORT_URI: + setImportURI(IMPORT_URI_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.INCLUDE__IMPORT_URI: + return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (importURI: "); + result.append(importURI); + result.append(')'); + return result.toString(); + } + +} //IncludeImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstancePropertyRefImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstancePropertyRefImpl.java new file mode 100644 index 0000000..710b457 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstancePropertyRefImpl.java @@ -0,0 +1,333 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.InstancePropertyRef; +import com.minres.rdl.rdl.InstanceRef; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.PropertyEnum; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +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; + +/** + * + * An implementation of the model object 'Instance Property Ref'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.InstancePropertyRefImpl#getInstance Instance}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstancePropertyRefImpl#getPropertyEnum Property Enum}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstancePropertyRefImpl#getProperty Property}
  • + *
+ * + * @generated + */ +public class InstancePropertyRefImpl extends MinimalEObjectImpl.Container implements InstancePropertyRef +{ + /** + * The cached value of the '{@link #getInstance() Instance}' containment reference. + * + * + * @see #getInstance() + * @generated + * @ordered + */ + protected InstanceRef instance; + + /** + * The default value of the '{@link #getPropertyEnum() Property Enum}' attribute. + * + * + * @see #getPropertyEnum() + * @generated + * @ordered + */ + protected static final PropertyEnum PROPERTY_ENUM_EDEFAULT = PropertyEnum.UNSPECIFIED; + + /** + * The cached value of the '{@link #getPropertyEnum() Property Enum}' attribute. + * + * + * @see #getPropertyEnum() + * @generated + * @ordered + */ + protected PropertyEnum propertyEnum = PROPERTY_ENUM_EDEFAULT; + + /** + * The cached value of the '{@link #getProperty() Property}' reference. + * + * + * @see #getProperty() + * @generated + * @ordered + */ + protected PropertyDefinition property; + + /** + * + * + * @generated + */ + protected InstancePropertyRefImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.INSTANCE_PROPERTY_REF; + } + + /** + * + * + * @generated + */ + public InstanceRef getInstance() + { + return instance; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstance(InstanceRef newInstance, NotificationChain msgs) + { + InstanceRef oldInstance = instance; + instance = newInstance; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE, oldInstance, newInstance); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setInstance(InstanceRef newInstance) + { + if (newInstance != instance) + { + NotificationChain msgs = null; + if (instance != null) + msgs = ((InternalEObject)instance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE, null, msgs); + if (newInstance != null) + msgs = ((InternalEObject)newInstance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE, null, msgs); + msgs = basicSetInstance(newInstance, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE, newInstance, newInstance)); + } + + /** + * + * + * @generated + */ + public PropertyEnum getPropertyEnum() + { + return propertyEnum; + } + + /** + * + * + * @generated + */ + public void setPropertyEnum(PropertyEnum newPropertyEnum) + { + PropertyEnum oldPropertyEnum = propertyEnum; + propertyEnum = newPropertyEnum == null ? PROPERTY_ENUM_EDEFAULT : newPropertyEnum; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY_ENUM, oldPropertyEnum, propertyEnum)); + } + + /** + * + * + * @generated + */ + public PropertyDefinition getProperty() + { + if (property != null && property.eIsProxy()) + { + InternalEObject oldProperty = (InternalEObject)property; + property = (PropertyDefinition)eResolveProxy(oldProperty); + if (property != oldProperty) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY, oldProperty, property)); + } + } + return property; + } + + /** + * + * + * @generated + */ + public PropertyDefinition basicGetProperty() + { + return property; + } + + /** + * + * + * @generated + */ + public void setProperty(PropertyDefinition newProperty) + { + PropertyDefinition oldProperty = property; + property = newProperty; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY, oldProperty, property)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE: + return basicSetInstance(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE: + return getInstance(); + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY_ENUM: + return getPropertyEnum(); + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY: + if (resolve) return getProperty(); + return basicGetProperty(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE: + setInstance((InstanceRef)newValue); + return; + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY_ENUM: + setPropertyEnum((PropertyEnum)newValue); + return; + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY: + setProperty((PropertyDefinition)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE: + setInstance((InstanceRef)null); + return; + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY_ENUM: + setPropertyEnum(PROPERTY_ENUM_EDEFAULT); + return; + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY: + setProperty((PropertyDefinition)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.INSTANCE_PROPERTY_REF__INSTANCE: + return instance != null; + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY_ENUM: + return propertyEnum != PROPERTY_ENUM_EDEFAULT; + case RdlPackage.INSTANCE_PROPERTY_REF__PROPERTY: + return property != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (propertyEnum: "); + result.append(propertyEnum); + result.append(')'); + return result.toString(); + } + +} //InstancePropertyRefImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstanceRefImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstanceRefImpl.java new file mode 100644 index 0000000..dbc57b0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstanceRefImpl.java @@ -0,0 +1,260 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.Entity; +import com.minres.rdl.rdl.InstanceRef; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +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; + +/** + * + * An implementation of the model object 'Instance Ref'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.InstanceRefImpl#getInstance Instance}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstanceRefImpl#getTail Tail}
  • + *
+ * + * @generated + */ +public class InstanceRefImpl extends MinimalEObjectImpl.Container implements InstanceRef +{ + /** + * The cached value of the '{@link #getInstance() Instance}' reference. + * + * + * @see #getInstance() + * @generated + * @ordered + */ + protected Entity instance; + + /** + * The cached value of the '{@link #getTail() Tail}' containment reference. + * + * + * @see #getTail() + * @generated + * @ordered + */ + protected InstanceRef tail; + + /** + * + * + * @generated + */ + protected InstanceRefImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.INSTANCE_REF; + } + + /** + * + * + * @generated + */ + public Entity getInstance() + { + if (instance != null && instance.eIsProxy()) + { + InternalEObject oldInstance = (InternalEObject)instance; + instance = (Entity)eResolveProxy(oldInstance); + if (instance != oldInstance) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.INSTANCE_REF__INSTANCE, oldInstance, instance)); + } + } + return instance; + } + + /** + * + * + * @generated + */ + public Entity basicGetInstance() + { + return instance; + } + + /** + * + * + * @generated + */ + public void setInstance(Entity newInstance) + { + Entity oldInstance = instance; + instance = newInstance; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_REF__INSTANCE, oldInstance, instance)); + } + + /** + * + * + * @generated + */ + public InstanceRef getTail() + { + return tail; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTail(InstanceRef newTail, NotificationChain msgs) + { + InstanceRef oldTail = tail; + tail = newTail; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_REF__TAIL, oldTail, newTail); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTail(InstanceRef newTail) + { + if (newTail != tail) + { + NotificationChain msgs = null; + if (tail != null) + msgs = ((InternalEObject)tail).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANCE_REF__TAIL, null, msgs); + if (newTail != null) + msgs = ((InternalEObject)newTail).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANCE_REF__TAIL, null, msgs); + msgs = basicSetTail(newTail, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANCE_REF__TAIL, newTail, newTail)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.INSTANCE_REF__TAIL: + return basicSetTail(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.INSTANCE_REF__INSTANCE: + if (resolve) return getInstance(); + return basicGetInstance(); + case RdlPackage.INSTANCE_REF__TAIL: + return getTail(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.INSTANCE_REF__INSTANCE: + setInstance((Entity)newValue); + return; + case RdlPackage.INSTANCE_REF__TAIL: + setTail((InstanceRef)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.INSTANCE_REF__INSTANCE: + setInstance((Entity)null); + return; + case RdlPackage.INSTANCE_REF__TAIL: + setTail((InstanceRef)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.INSTANCE_REF__INSTANCE: + return instance != null; + case RdlPackage.INSTANCE_REF__TAIL: + return tail != null; + } + return super.eIsSet(featureID); + } + +} //InstanceRefImpl 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/NamedInstantiationImpl.java new file mode 100644 index 0000000..906671e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/NamedInstantiationImpl.java @@ -0,0 +1,419 @@ +/** + * generated by Xtext 2.12.0 + */ +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.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 'Named 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}
  • + *
+ * + * @generated + */ +public class NamedInstantiationImpl extends MinimalEObjectImpl.Container implements NamedInstantiation +{ + /** + * 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 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; + + /** + * The default value of the '{@link #getAlias() Alias}' attribute. + * + * + * @see #getAlias() + * @generated + * @ordered + */ + protected static final String ALIAS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAlias() Alias}' attribute. + * + * + * @see #getAlias() + * @generated + * @ordered + */ + protected String alias = ALIAS_EDEFAULT; + + /** + * The cached value of the '{@link #getComponent() Component}' reference. + * + * + * @see #getComponent() + * @generated + * @ordered + */ + protected ComponentDefinition component; + + /** + * The cached value of the '{@link #getComponentInstances() Component Instances}' containment reference list. + * + * + * @see #getComponentInstances() + * @generated + * @ordered + */ + protected EList componentInstances; + + /** + * + * + * @generated + */ + protected NamedInstantiationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.NAMED_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.NAMED_INSTANTIATION__EXTERNAL, oldExternal, external)); + } + + /** + * + * + * @generated + */ + public boolean isInternal() + { + 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)); + } + + /** + * + * + * @generated + */ + public String getAlias() + { + return alias; + } + + /** + * + * + * @generated + */ + public void setAlias(String newAlias) + { + String oldAlias = alias; + alias = newAlias; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.NAMED_INSTANTIATION__ALIAS, oldAlias, alias)); + } + + /** + * + * + * @generated + */ + 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; + } + + /** + * + * + * @generated + */ + public ComponentDefinition basicGetComponent() + { + return component; + } + + /** + * + * + * @generated + */ + public void setComponent(ComponentDefinition newComponent) + { + ComponentDefinition oldComponent = component; + component = newComponent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.NAMED_INSTANTIATION__COMPONENT, oldComponent, component)); + } + + /** + * + * + * @generated + */ + public EList getComponentInstances() + { + if (componentInstances == null) + { + componentInstances = new EObjectContainmentEList(ComponentInstance.class, this, RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES); + } + return componentInstances; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.NAMED_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.NAMED_INSTANTIATION__EXTERNAL: + return isExternal(); + case RdlPackage.NAMED_INSTANTIATION__INTERNAL: + return isInternal(); + case RdlPackage.NAMED_INSTANTIATION__ALIAS: + return getAlias(); + case RdlPackage.NAMED_INSTANTIATION__COMPONENT: + if (resolve) return getComponent(); + return basicGetComponent(); + case RdlPackage.NAMED_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.NAMED_INSTANTIATION__EXTERNAL: + setExternal((Boolean)newValue); + return; + case RdlPackage.NAMED_INSTANTIATION__INTERNAL: + setInternal((Boolean)newValue); + return; + case RdlPackage.NAMED_INSTANTIATION__ALIAS: + setAlias((String)newValue); + return; + case RdlPackage.NAMED_INSTANTIATION__COMPONENT: + setComponent((ComponentDefinition)newValue); + return; + case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES: + getComponentInstances().clear(); + getComponentInstances().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.NAMED_INSTANTIATION__EXTERNAL: + setExternal(EXTERNAL_EDEFAULT); + return; + case RdlPackage.NAMED_INSTANTIATION__INTERNAL: + setInternal(INTERNAL_EDEFAULT); + return; + case RdlPackage.NAMED_INSTANTIATION__ALIAS: + setAlias(ALIAS_EDEFAULT); + return; + case RdlPackage.NAMED_INSTANTIATION__COMPONENT: + setComponent((ComponentDefinition)null); + return; + case RdlPackage.NAMED_INSTANTIATION__COMPONENT_INSTANCES: + getComponentInstances().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + 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: + return ALIAS_EDEFAULT == null ? alias != null : !ALIAS_EDEFAULT.equals(alias); + case RdlPackage.NAMED_INSTANTIATION__COMPONENT: + return component != null; + case RdlPackage.NAMED_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(", internal: "); + result.append(internal); + result.append(", alias: "); + result.append(alias); + result.append(')'); + return result.toString(); + } + +} //NamedInstantiationImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PostPropertyAssignmentImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PostPropertyAssignmentImpl.java new file mode 100644 index 0000000..ecef2d4 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PostPropertyAssignmentImpl.java @@ -0,0 +1,404 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.InstanceRef; +import com.minres.rdl.rdl.PostPropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignmentRhs; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.PropertyEnum; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Post Property Assignment'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl#getInstance Instance}
  • + *
  • {@link com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl#getPropertyEnum Property Enum}
  • + *
  • {@link com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl#getProperty Property}
  • + *
  • {@link com.minres.rdl.rdl.impl.PostPropertyAssignmentImpl#getRhs Rhs}
  • + *
+ * + * @generated + */ +public class PostPropertyAssignmentImpl extends PropertyAssignmentImpl implements PostPropertyAssignment +{ + /** + * The cached value of the '{@link #getInstance() Instance}' containment reference. + * + * + * @see #getInstance() + * @generated + * @ordered + */ + protected InstanceRef instance; + + /** + * The default value of the '{@link #getPropertyEnum() Property Enum}' attribute. + * + * + * @see #getPropertyEnum() + * @generated + * @ordered + */ + protected static final PropertyEnum PROPERTY_ENUM_EDEFAULT = PropertyEnum.UNSPECIFIED; + + /** + * The cached value of the '{@link #getPropertyEnum() Property Enum}' attribute. + * + * + * @see #getPropertyEnum() + * @generated + * @ordered + */ + protected PropertyEnum propertyEnum = PROPERTY_ENUM_EDEFAULT; + + /** + * The cached value of the '{@link #getProperty() Property}' reference. + * + * + * @see #getProperty() + * @generated + * @ordered + */ + protected PropertyDefinition property; + + /** + * The cached value of the '{@link #getRhs() Rhs}' containment reference. + * + * + * @see #getRhs() + * @generated + * @ordered + */ + protected PropertyAssignmentRhs rhs; + + /** + * + * + * @generated + */ + protected PostPropertyAssignmentImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.POST_PROPERTY_ASSIGNMENT; + } + + /** + * + * + * @generated + */ + public InstanceRef getInstance() + { + return instance; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstance(InstanceRef newInstance, NotificationChain msgs) + { + InstanceRef oldInstance = instance; + instance = newInstance; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE, oldInstance, newInstance); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setInstance(InstanceRef newInstance) + { + if (newInstance != instance) + { + NotificationChain msgs = null; + if (instance != null) + msgs = ((InternalEObject)instance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE, null, msgs); + if (newInstance != null) + msgs = ((InternalEObject)newInstance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE, null, msgs); + msgs = basicSetInstance(newInstance, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE, newInstance, newInstance)); + } + + /** + * + * + * @generated + */ + public PropertyEnum getPropertyEnum() + { + return propertyEnum; + } + + /** + * + * + * @generated + */ + public void setPropertyEnum(PropertyEnum newPropertyEnum) + { + PropertyEnum oldPropertyEnum = propertyEnum; + propertyEnum = newPropertyEnum == null ? PROPERTY_ENUM_EDEFAULT : newPropertyEnum; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM, oldPropertyEnum, propertyEnum)); + } + + /** + * + * + * @generated + */ + public PropertyDefinition getProperty() + { + if (property != null && property.eIsProxy()) + { + InternalEObject oldProperty = (InternalEObject)property; + property = (PropertyDefinition)eResolveProxy(oldProperty); + if (property != oldProperty) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY, oldProperty, property)); + } + } + return property; + } + + /** + * + * + * @generated + */ + public PropertyDefinition basicGetProperty() + { + return property; + } + + /** + * + * + * @generated + */ + public void setProperty(PropertyDefinition newProperty) + { + PropertyDefinition oldProperty = property; + property = newProperty; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY, oldProperty, property)); + } + + /** + * + * + * @generated + */ + public PropertyAssignmentRhs getRhs() + { + return rhs; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRhs(PropertyAssignmentRhs newRhs, NotificationChain msgs) + { + PropertyAssignmentRhs oldRhs = rhs; + rhs = newRhs; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS, oldRhs, newRhs); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRhs(PropertyAssignmentRhs newRhs) + { + if (newRhs != rhs) + { + NotificationChain msgs = null; + if (rhs != null) + msgs = ((InternalEObject)rhs).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS, null, msgs); + if (newRhs != null) + msgs = ((InternalEObject)newRhs).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS, null, msgs); + msgs = basicSetRhs(newRhs, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS, newRhs, newRhs)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE: + return basicSetInstance(null, msgs); + case RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS: + return basicSetRhs(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE: + return getInstance(); + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM: + return getPropertyEnum(); + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY: + if (resolve) return getProperty(); + return basicGetProperty(); + case RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS: + return getRhs(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE: + setInstance((InstanceRef)newValue); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM: + setPropertyEnum((PropertyEnum)newValue); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY: + setProperty((PropertyDefinition)newValue); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS: + setRhs((PropertyAssignmentRhs)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE: + setInstance((InstanceRef)null); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM: + setPropertyEnum(PROPERTY_ENUM_EDEFAULT); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY: + setProperty((PropertyDefinition)null); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS: + setRhs((PropertyAssignmentRhs)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.POST_PROPERTY_ASSIGNMENT__INSTANCE: + return instance != null; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM: + return propertyEnum != PROPERTY_ENUM_EDEFAULT; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__PROPERTY: + return property != null; + case RdlPackage.POST_PROPERTY_ASSIGNMENT__RHS: + return rhs != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (propertyEnum: "); + result.append(propertyEnum); + result.append(')'); + return result.toString(); + } + +} //PostPropertyAssignmentImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentImpl.java new file mode 100644 index 0000000..c77cea9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.PropertyAssignment; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Property Assignment'. + * + * + * @generated + */ +public class PropertyAssignmentImpl extends MinimalEObjectImpl.Container implements PropertyAssignment +{ + /** + * + * + * @generated + */ + protected PropertyAssignmentImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.PROPERTY_ASSIGNMENT; + } + +} //PropertyAssignmentImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentRhsImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentRhsImpl.java new file mode 100644 index 0000000..0f331c4 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentRhsImpl.java @@ -0,0 +1,477 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.Concat; +import com.minres.rdl.rdl.EnumBody; +import com.minres.rdl.rdl.EnumDefinition; +import com.minres.rdl.rdl.InstancePropertyRef; +import com.minres.rdl.rdl.PropertyAssignmentRhs; +import com.minres.rdl.rdl.RValue; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +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; + +/** + * + * An implementation of the model object 'Property Assignment Rhs'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl#getValue Value}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl#getInstPropRef Inst Prop Ref}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl#getEnumRef Enum Ref}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl#getEnums Enums}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyAssignmentRhsImpl#getElements Elements}
  • + *
+ * + * @generated + */ +public class PropertyAssignmentRhsImpl extends MinimalEObjectImpl.Container implements PropertyAssignmentRhs +{ + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected RValue value; + + /** + * The cached value of the '{@link #getInstPropRef() Inst Prop Ref}' containment reference. + * + * + * @see #getInstPropRef() + * @generated + * @ordered + */ + protected InstancePropertyRef instPropRef; + + /** + * The cached value of the '{@link #getEnumRef() Enum Ref}' reference. + * + * + * @see #getEnumRef() + * @generated + * @ordered + */ + protected EnumDefinition enumRef; + + /** + * The cached value of the '{@link #getEnums() Enums}' containment reference. + * + * + * @see #getEnums() + * @generated + * @ordered + */ + protected EnumBody enums; + + /** + * The cached value of the '{@link #getElements() Elements}' containment reference. + * + * + * @see #getElements() + * @generated + * @ordered + */ + protected Concat elements; + + /** + * + * + * @generated + */ + protected PropertyAssignmentRhsImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.PROPERTY_ASSIGNMENT_RHS; + } + + /** + * + * + * @generated + */ + public RValue getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(RValue newValue, NotificationChain msgs) + { + RValue oldValue = value; + value = newValue; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(RValue newValue) + { + if (newValue != value) + { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + public InstancePropertyRef getInstPropRef() + { + return instPropRef; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstPropRef(InstancePropertyRef newInstPropRef, NotificationChain msgs) + { + InstancePropertyRef oldInstPropRef = instPropRef; + instPropRef = newInstPropRef; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF, oldInstPropRef, newInstPropRef); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setInstPropRef(InstancePropertyRef newInstPropRef) + { + if (newInstPropRef != instPropRef) + { + NotificationChain msgs = null; + if (instPropRef != null) + msgs = ((InternalEObject)instPropRef).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF, null, msgs); + if (newInstPropRef != null) + msgs = ((InternalEObject)newInstPropRef).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF, null, msgs); + msgs = basicSetInstPropRef(newInstPropRef, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF, newInstPropRef, newInstPropRef)); + } + + /** + * + * + * @generated + */ + public EnumDefinition getEnumRef() + { + if (enumRef != null && enumRef.eIsProxy()) + { + InternalEObject oldEnumRef = (InternalEObject)enumRef; + enumRef = (EnumDefinition)eResolveProxy(oldEnumRef); + if (enumRef != oldEnumRef) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUM_REF, oldEnumRef, enumRef)); + } + } + return enumRef; + } + + /** + * + * + * @generated + */ + public EnumDefinition basicGetEnumRef() + { + return enumRef; + } + + /** + * + * + * @generated + */ + public void setEnumRef(EnumDefinition newEnumRef) + { + EnumDefinition oldEnumRef = enumRef; + enumRef = newEnumRef; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUM_REF, oldEnumRef, enumRef)); + } + + /** + * + * + * @generated + */ + public EnumBody getEnums() + { + return enums; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetEnums(EnumBody newEnums, NotificationChain msgs) + { + EnumBody oldEnums = enums; + enums = newEnums; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS, oldEnums, newEnums); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setEnums(EnumBody newEnums) + { + if (newEnums != enums) + { + NotificationChain msgs = null; + if (enums != null) + msgs = ((InternalEObject)enums).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS, null, msgs); + if (newEnums != null) + msgs = ((InternalEObject)newEnums).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS, null, msgs); + msgs = basicSetEnums(newEnums, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS, newEnums, newEnums)); + } + + /** + * + * + * @generated + */ + public Concat getElements() + { + return elements; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetElements(Concat newElements, NotificationChain msgs) + { + Concat oldElements = elements; + elements = newElements; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS, oldElements, newElements); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setElements(Concat newElements) + { + if (newElements != elements) + { + NotificationChain msgs = null; + if (elements != null) + msgs = ((InternalEObject)elements).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS, null, msgs); + if (newElements != null) + msgs = ((InternalEObject)newElements).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS, null, msgs); + msgs = basicSetElements(newElements, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS, newElements, newElements)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE: + return basicSetValue(null, msgs); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF: + return basicSetInstPropRef(null, msgs); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS: + return basicSetEnums(null, msgs); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS: + return basicSetElements(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE: + return getValue(); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF: + return getInstPropRef(); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUM_REF: + if (resolve) return getEnumRef(); + return basicGetEnumRef(); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS: + return getEnums(); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS: + return getElements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE: + setValue((RValue)newValue); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF: + setInstPropRef((InstancePropertyRef)newValue); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUM_REF: + setEnumRef((EnumDefinition)newValue); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS: + setEnums((EnumBody)newValue); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS: + setElements((Concat)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE: + setValue((RValue)null); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF: + setInstPropRef((InstancePropertyRef)null); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUM_REF: + setEnumRef((EnumDefinition)null); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS: + setEnums((EnumBody)null); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS: + setElements((Concat)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__VALUE: + return value != null; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF: + return instPropRef != null; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUM_REF: + return enumRef != null; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ENUMS: + return enums != null; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS__ELEMENTS: + return elements != null; + } + return super.eIsSet(featureID); + } + +} //PropertyAssignmentRhsImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefaultImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefaultImpl.java new file mode 100644 index 0000000..1a76f4c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefaultImpl.java @@ -0,0 +1,234 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.PropertyDefault; +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 'Property Default'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.PropertyDefaultImpl#getString String}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyDefaultImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class PropertyDefaultImpl extends MinimalEObjectImpl.Container implements PropertyDefault +{ + /** + * The default value of the '{@link #getString() String}' attribute. + * + * + * @see #getString() + * @generated + * @ordered + */ + protected static final String STRING_EDEFAULT = null; + + /** + * The cached value of the '{@link #getString() String}' attribute. + * + * + * @see #getString() + * @generated + * @ordered + */ + protected String string = STRING_EDEFAULT; + + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final Object VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Object value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected PropertyDefaultImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.PROPERTY_DEFAULT; + } + + /** + * + * + * @generated + */ + public String getString() + { + return string; + } + + /** + * + * + * @generated + */ + public void setString(String newString) + { + String oldString = string; + string = newString; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFAULT__STRING, oldString, string)); + } + + /** + * + * + * @generated + */ + public Object getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(Object newValue) + { + Object oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFAULT__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFAULT__STRING: + return getString(); + case RdlPackage.PROPERTY_DEFAULT__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFAULT__STRING: + setString((String)newValue); + return; + case RdlPackage.PROPERTY_DEFAULT__VALUE: + setValue(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFAULT__STRING: + setString(STRING_EDEFAULT); + return; + case RdlPackage.PROPERTY_DEFAULT__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFAULT__STRING: + return STRING_EDEFAULT == null ? string != null : !STRING_EDEFAULT.equals(string); + case RdlPackage.PROPERTY_DEFAULT__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (string: "); + result.append(string); + result.append(", value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //PropertyDefaultImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefinitionImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefinitionImpl.java new file mode 100644 index 0000000..98b6551 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefinitionImpl.java @@ -0,0 +1,338 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.PropertyDefault; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.PropertyTypeName; +import com.minres.rdl.rdl.PropertyUsage; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Property Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.PropertyDefinitionImpl#getType Type}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyDefinitionImpl#getUsage Usage}
  • + *
  • {@link com.minres.rdl.rdl.impl.PropertyDefinitionImpl#getDefault Default}
  • + *
+ * + * @generated + */ +public class PropertyDefinitionImpl extends EntityImpl implements PropertyDefinition +{ + /** + * The default value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected static final PropertyTypeName TYPE_EDEFAULT = PropertyTypeName.STRING; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected PropertyTypeName type = TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getUsage() Usage}' containment reference. + * + * + * @see #getUsage() + * @generated + * @ordered + */ + protected PropertyUsage usage; + + /** + * The cached value of the '{@link #getDefault() Default}' containment reference. + * + * + * @see #getDefault() + * @generated + * @ordered + */ + protected PropertyDefault default_; + + /** + * + * + * @generated + */ + protected PropertyDefinitionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.PROPERTY_DEFINITION; + } + + /** + * + * + * @generated + */ + public PropertyTypeName getType() + { + return type; + } + + /** + * + * + * @generated + */ + public void setType(PropertyTypeName newType) + { + PropertyTypeName oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + public PropertyUsage getUsage() + { + return usage; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetUsage(PropertyUsage newUsage, NotificationChain msgs) + { + PropertyUsage oldUsage = usage; + usage = newUsage; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFINITION__USAGE, oldUsage, newUsage); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setUsage(PropertyUsage newUsage) + { + if (newUsage != usage) + { + NotificationChain msgs = null; + if (usage != null) + msgs = ((InternalEObject)usage).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_DEFINITION__USAGE, null, msgs); + if (newUsage != null) + msgs = ((InternalEObject)newUsage).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_DEFINITION__USAGE, null, msgs); + msgs = basicSetUsage(newUsage, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFINITION__USAGE, newUsage, newUsage)); + } + + /** + * + * + * @generated + */ + public PropertyDefault getDefault() + { + return default_; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetDefault(PropertyDefault newDefault, NotificationChain msgs) + { + PropertyDefault oldDefault = default_; + default_ = newDefault; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFINITION__DEFAULT, oldDefault, newDefault); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setDefault(PropertyDefault newDefault) + { + if (newDefault != default_) + { + NotificationChain msgs = null; + if (default_ != null) + msgs = ((InternalEObject)default_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_DEFINITION__DEFAULT, null, msgs); + if (newDefault != null) + msgs = ((InternalEObject)newDefault).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.PROPERTY_DEFINITION__DEFAULT, null, msgs); + msgs = basicSetDefault(newDefault, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.PROPERTY_DEFINITION__DEFAULT, newDefault, newDefault)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFINITION__USAGE: + return basicSetUsage(null, msgs); + case RdlPackage.PROPERTY_DEFINITION__DEFAULT: + return basicSetDefault(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFINITION__TYPE: + return getType(); + case RdlPackage.PROPERTY_DEFINITION__USAGE: + return getUsage(); + case RdlPackage.PROPERTY_DEFINITION__DEFAULT: + return getDefault(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFINITION__TYPE: + setType((PropertyTypeName)newValue); + return; + case RdlPackage.PROPERTY_DEFINITION__USAGE: + setUsage((PropertyUsage)newValue); + return; + case RdlPackage.PROPERTY_DEFINITION__DEFAULT: + setDefault((PropertyDefault)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFINITION__TYPE: + setType(TYPE_EDEFAULT); + return; + case RdlPackage.PROPERTY_DEFINITION__USAGE: + setUsage((PropertyUsage)null); + return; + case RdlPackage.PROPERTY_DEFINITION__DEFAULT: + setDefault((PropertyDefault)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_DEFINITION__TYPE: + return type != TYPE_EDEFAULT; + case RdlPackage.PROPERTY_DEFINITION__USAGE: + return usage != null; + case RdlPackage.PROPERTY_DEFINITION__DEFAULT: + return default_ != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (type: "); + result.append(type); + result.append(')'); + return result.toString(); + } + +} //PropertyDefinitionImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyUsageImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyUsageImpl.java new file mode 100644 index 0000000..1360213 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyUsageImpl.java @@ -0,0 +1,165 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.PropertyComponent; +import com.minres.rdl.rdl.PropertyUsage; +import com.minres.rdl.rdl.RdlPackage; + +import java.util.Collection; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EDataTypeEList; + +/** + * + * An implementation of the model object 'Property Usage'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.PropertyUsageImpl#getComponents Components}
  • + *
+ * + * @generated + */ +public class PropertyUsageImpl extends MinimalEObjectImpl.Container implements PropertyUsage +{ + /** + * The cached value of the '{@link #getComponents() Components}' attribute list. + * + * + * @see #getComponents() + * @generated + * @ordered + */ + protected EList components; + + /** + * + * + * @generated + */ + protected PropertyUsageImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.PROPERTY_USAGE; + } + + /** + * + * + * @generated + */ + public EList getComponents() + { + if (components == null) + { + components = new EDataTypeEList(PropertyComponent.class, this, RdlPackage.PROPERTY_USAGE__COMPONENTS); + } + return components; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.PROPERTY_USAGE__COMPONENTS: + return getComponents(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.PROPERTY_USAGE__COMPONENTS: + getComponents().clear(); + getComponents().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_USAGE__COMPONENTS: + getComponents().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.PROPERTY_USAGE__COMPONENTS: + return components != null && !components.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (components: "); + result.append(components); + result.append(')'); + return result.toString(); + } + +} //PropertyUsageImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RValueImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RValueImpl.java new file mode 100644 index 0000000..5a5d8c8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RValueImpl.java @@ -0,0 +1,291 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.RValue; +import com.minres.rdl.rdl.RValueConstant; +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 'RValue'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.RValueImpl#getVal Val}
  • + *
  • {@link com.minres.rdl.rdl.impl.RValueImpl#getNum Num}
  • + *
  • {@link com.minres.rdl.rdl.impl.RValueImpl#getStr Str}
  • + *
+ * + * @generated + */ +public class RValueImpl extends MinimalEObjectImpl.Container implements RValue +{ + /** + * The default value of the '{@link #getVal() Val}' attribute. + * + * + * @see #getVal() + * @generated + * @ordered + */ + protected static final RValueConstant VAL_EDEFAULT = RValueConstant.UNDEFINED; + + /** + * The cached value of the '{@link #getVal() Val}' attribute. + * + * + * @see #getVal() + * @generated + * @ordered + */ + protected RValueConstant val = VAL_EDEFAULT; + + /** + * The default value of the '{@link #getNum() Num}' attribute. + * + * + * @see #getNum() + * @generated + * @ordered + */ + protected static final Object NUM_EDEFAULT = null; + + /** + * The cached value of the '{@link #getNum() Num}' attribute. + * + * + * @see #getNum() + * @generated + * @ordered + */ + protected Object num = NUM_EDEFAULT; + + /** + * The default value of the '{@link #getStr() Str}' attribute. + * + * + * @see #getStr() + * @generated + * @ordered + */ + protected static final String STR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getStr() Str}' attribute. + * + * + * @see #getStr() + * @generated + * @ordered + */ + protected String str = STR_EDEFAULT; + + /** + * + * + * @generated + */ + protected RValueImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.RVALUE; + } + + /** + * + * + * @generated + */ + public RValueConstant getVal() + { + return val; + } + + /** + * + * + * @generated + */ + public void setVal(RValueConstant newVal) + { + RValueConstant oldVal = val; + val = newVal == null ? VAL_EDEFAULT : newVal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RVALUE__VAL, oldVal, val)); + } + + /** + * + * + * @generated + */ + public Object getNum() + { + return num; + } + + /** + * + * + * @generated + */ + public void setNum(Object newNum) + { + Object oldNum = num; + num = newNum; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RVALUE__NUM, oldNum, num)); + } + + /** + * + * + * @generated + */ + public String getStr() + { + return str; + } + + /** + * + * + * @generated + */ + public void setStr(String newStr) + { + String oldStr = str; + str = newStr; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RVALUE__STR, oldStr, str)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.RVALUE__VAL: + return getVal(); + case RdlPackage.RVALUE__NUM: + return getNum(); + case RdlPackage.RVALUE__STR: + return getStr(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.RVALUE__VAL: + setVal((RValueConstant)newValue); + return; + case RdlPackage.RVALUE__NUM: + setNum(newValue); + return; + case RdlPackage.RVALUE__STR: + setStr((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.RVALUE__VAL: + setVal(VAL_EDEFAULT); + return; + case RdlPackage.RVALUE__NUM: + setNum(NUM_EDEFAULT); + return; + case RdlPackage.RVALUE__STR: + setStr(STR_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.RVALUE__VAL: + return val != VAL_EDEFAULT; + case RdlPackage.RVALUE__NUM: + return NUM_EDEFAULT == null ? num != null : !NUM_EDEFAULT.equals(num); + case RdlPackage.RVALUE__STR: + return STR_EDEFAULT == null ? str != null : !STR_EDEFAULT.equals(str); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (val: "); + result.append(val); + result.append(", num: "); + result.append(num); + result.append(", str: "); + result.append(str); + result.append(')'); + return result.toString(); + } + +} //RValueImpl 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 new file mode 100644 index 0000000..cc28627 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RangeImpl.java @@ -0,0 +1,290 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.Range; +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 'Range'. + * + *

+ * 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#getSize Size}
  • + *
+ * + * @generated + */ +public class RangeImpl extends MinimalEObjectImpl.Container implements Range +{ + /** + * The default value of the '{@link #getStart() Start}' attribute. + * + * + * @see #getStart() + * @generated + * @ordered + */ + protected static final Object START_EDEFAULT = null; + + /** + * The cached value of the '{@link #getStart() Start}' attribute. + * + * + * @see #getStart() + * @generated + * @ordered + */ + protected Object start = START_EDEFAULT; + + /** + * The default value of the '{@link #getEnd() End}' attribute. + * + * + * @see #getEnd() + * @generated + * @ordered + */ + protected static final Object END_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEnd() End}' attribute. + * + * + * @see #getEnd() + * @generated + * @ordered + */ + protected Object end = END_EDEFAULT; + + /** + * The default value of the '{@link #getSize() Size}' attribute. + * + * + * @see #getSize() + * @generated + * @ordered + */ + protected static final Object SIZE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSize() Size}' attribute. + * + * + * @see #getSize() + * @generated + * @ordered + */ + protected Object size = SIZE_EDEFAULT; + + /** + * + * + * @generated + */ + protected RangeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.RANGE; + } + + /** + * + * + * @generated + */ + public Object getStart() + { + return start; + } + + /** + * + * + * @generated + */ + public void setStart(Object newStart) + { + Object oldStart = start; + start = newStart; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__START, oldStart, start)); + } + + /** + * + * + * @generated + */ + public Object getEnd() + { + return end; + } + + /** + * + * + * @generated + */ + public void setEnd(Object newEnd) + { + Object oldEnd = end; + end = newEnd; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__END, oldEnd, end)); + } + + /** + * + * + * @generated + */ + public Object getSize() + { + return size; + } + + /** + * + * + * @generated + */ + public void setSize(Object newSize) + { + Object oldSize = size; + size = newSize; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__SIZE, oldSize, size)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.RANGE__START: + return getStart(); + case RdlPackage.RANGE__END: + return getEnd(); + case RdlPackage.RANGE__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.RANGE__START: + setStart(newValue); + return; + case RdlPackage.RANGE__END: + setEnd(newValue); + return; + case RdlPackage.RANGE__SIZE: + setSize(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.RANGE__START: + setStart(START_EDEFAULT); + return; + case RdlPackage.RANGE__END: + setEnd(END_EDEFAULT); + return; + case RdlPackage.RANGE__SIZE: + setSize(SIZE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + 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__SIZE: + return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + 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(", size: "); + result.append(size); + result.append(')'); + return result.toString(); + } + +} //RangeImpl 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 new file mode 100644 index 0000000..506ea3e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlFactoryImpl.java @@ -0,0 +1,582 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class RdlFactoryImpl extends EFactoryImpl implements RdlFactory +{ + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static RdlFactory init() + { + try + { + RdlFactory theRdlFactory = (RdlFactory)EPackage.Registry.INSTANCE.getEFactory(RdlPackage.eNS_URI); + if (theRdlFactory != null) + { + return theRdlFactory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new RdlFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public RdlFactoryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + case RdlPackage.ROOT: return createRoot(); + case RdlPackage.INCLUDE: return createInclude(); + case RdlPackage.PROPERTY_DEFINITION: return createPropertyDefinition(); + 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.COMPONENT_INSTANCE: return createComponentInstance(); + case RdlPackage.RANGE: return createRange(); + case RdlPackage.PROPERTY_ASSIGNMENT: return createPropertyAssignment(); + case RdlPackage.DEFAULT_PROPERY_ASSIGNMENT: return createDefaultProperyAssignment(); + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT: return createExplicitPropertyAssignment(); + case RdlPackage.POST_PROPERTY_ASSIGNMENT: return createPostPropertyAssignment(); + case RdlPackage.INSTANCE_PROPERTY_REF: return createInstancePropertyRef(); + case RdlPackage.ENTITY: return createEntity(); + case RdlPackage.INSTANCE_REF: return createInstanceRef(); + case RdlPackage.PROPERTY_ASSIGNMENT_RHS: return createPropertyAssignmentRhs(); + case RdlPackage.CONCAT: return createConcat(); + case RdlPackage.CONCAT_ELEM: return createConcatElem(); + case RdlPackage.RVALUE: return createRValue(); + case RdlPackage.ENUM_DEFINITION: return createEnumDefinition(); + case RdlPackage.ENUM_BODY: return createEnumBody(); + case RdlPackage.ENUM_ENTRY: return createEnumEntry(); + case RdlPackage.ENUM_PROPERTY: return createEnumProperty(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case RdlPackage.PROPERTY_TYPE_NAME: + return createPropertyTypeNameFromString(eDataType, initialValue); + case RdlPackage.PROPERTY_COMPONENT: + return createPropertyComponentFromString(eDataType, initialValue); + case RdlPackage.COMPONENT_DEFINITION_TYPE: + return createComponentDefinitionTypeFromString(eDataType, initialValue); + case RdlPackage.PROPERTY_ENUM: + return createPropertyEnumFromString(eDataType, initialValue); + case RdlPackage.RVALUE_CONSTANT: + return createRValueConstantFromString(eDataType, initialValue); + case RdlPackage.PROPERTY_MODIFIER: + return createPropertyModifierFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case RdlPackage.PROPERTY_TYPE_NAME: + return convertPropertyTypeNameToString(eDataType, instanceValue); + case RdlPackage.PROPERTY_COMPONENT: + return convertPropertyComponentToString(eDataType, instanceValue); + case RdlPackage.COMPONENT_DEFINITION_TYPE: + return convertComponentDefinitionTypeToString(eDataType, instanceValue); + case RdlPackage.PROPERTY_ENUM: + return convertPropertyEnumToString(eDataType, instanceValue); + case RdlPackage.RVALUE_CONSTANT: + return convertRValueConstantToString(eDataType, instanceValue); + case RdlPackage.PROPERTY_MODIFIER: + return convertPropertyModifierToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public Root createRoot() + { + RootImpl root = new RootImpl(); + return root; + } + + /** + * + * + * @generated + */ + public Include createInclude() + { + IncludeImpl include = new IncludeImpl(); + return include; + } + + /** + * + * + * @generated + */ + public PropertyDefinition createPropertyDefinition() + { + PropertyDefinitionImpl propertyDefinition = new PropertyDefinitionImpl(); + return propertyDefinition; + } + + /** + * + * + * @generated + */ + public PropertyDefault createPropertyDefault() + { + PropertyDefaultImpl propertyDefault = new PropertyDefaultImpl(); + return propertyDefault; + } + + /** + * + * + * @generated + */ + public PropertyUsage createPropertyUsage() + { + PropertyUsageImpl propertyUsage = new PropertyUsageImpl(); + return propertyUsage; + } + + /** + * + * + * @generated + */ + public ComponentDefinition createComponentDefinition() + { + ComponentDefinitionImpl componentDefinition = new ComponentDefinitionImpl(); + return componentDefinition; + } + + /** + * + * + * @generated + */ + public NamedInstantiation createNamedInstantiation() + { + NamedInstantiationImpl namedInstantiation = new NamedInstantiationImpl(); + return namedInstantiation; + } + + /** + * + * + * @generated + */ + public ImmediateInstantiation createImmediateInstantiation() + { + ImmediateInstantiationImpl immediateInstantiation = new ImmediateInstantiationImpl(); + return immediateInstantiation; + } + + /** + * + * + * @generated + */ + public ComponentInstance createComponentInstance() + { + ComponentInstanceImpl componentInstance = new ComponentInstanceImpl(); + return componentInstance; + } + + /** + * + * + * @generated + */ + public Range createRange() + { + RangeImpl range = new RangeImpl(); + return range; + } + + /** + * + * + * @generated + */ + public PropertyAssignment createPropertyAssignment() + { + PropertyAssignmentImpl propertyAssignment = new PropertyAssignmentImpl(); + return propertyAssignment; + } + + /** + * + * + * @generated + */ + public DefaultProperyAssignment createDefaultProperyAssignment() + { + DefaultProperyAssignmentImpl defaultProperyAssignment = new DefaultProperyAssignmentImpl(); + return defaultProperyAssignment; + } + + /** + * + * + * @generated + */ + public ExplicitPropertyAssignment createExplicitPropertyAssignment() + { + ExplicitPropertyAssignmentImpl explicitPropertyAssignment = new ExplicitPropertyAssignmentImpl(); + return explicitPropertyAssignment; + } + + /** + * + * + * @generated + */ + public PostPropertyAssignment createPostPropertyAssignment() + { + PostPropertyAssignmentImpl postPropertyAssignment = new PostPropertyAssignmentImpl(); + return postPropertyAssignment; + } + + /** + * + * + * @generated + */ + public InstancePropertyRef createInstancePropertyRef() + { + InstancePropertyRefImpl instancePropertyRef = new InstancePropertyRefImpl(); + return instancePropertyRef; + } + + /** + * + * + * @generated + */ + public Entity createEntity() + { + EntityImpl entity = new EntityImpl(); + return entity; + } + + /** + * + * + * @generated + */ + public InstanceRef createInstanceRef() + { + InstanceRefImpl instanceRef = new InstanceRefImpl(); + return instanceRef; + } + + /** + * + * + * @generated + */ + public PropertyAssignmentRhs createPropertyAssignmentRhs() + { + PropertyAssignmentRhsImpl propertyAssignmentRhs = new PropertyAssignmentRhsImpl(); + return propertyAssignmentRhs; + } + + /** + * + * + * @generated + */ + public Concat createConcat() + { + ConcatImpl concat = new ConcatImpl(); + return concat; + } + + /** + * + * + * @generated + */ + public ConcatElem createConcatElem() + { + ConcatElemImpl concatElem = new ConcatElemImpl(); + return concatElem; + } + + /** + * + * + * @generated + */ + public RValue createRValue() + { + RValueImpl rValue = new RValueImpl(); + return rValue; + } + + /** + * + * + * @generated + */ + public EnumDefinition createEnumDefinition() + { + EnumDefinitionImpl enumDefinition = new EnumDefinitionImpl(); + return enumDefinition; + } + + /** + * + * + * @generated + */ + public EnumBody createEnumBody() + { + EnumBodyImpl enumBody = new EnumBodyImpl(); + return enumBody; + } + + /** + * + * + * @generated + */ + public EnumEntry createEnumEntry() + { + EnumEntryImpl enumEntry = new EnumEntryImpl(); + return enumEntry; + } + + /** + * + * + * @generated + */ + public EnumProperty createEnumProperty() + { + EnumPropertyImpl enumProperty = new EnumPropertyImpl(); + return enumProperty; + } + + /** + * + * + * @generated + */ + public PropertyTypeName createPropertyTypeNameFromString(EDataType eDataType, String initialValue) + { + PropertyTypeName result = PropertyTypeName.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertPropertyTypeNameToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public PropertyComponent createPropertyComponentFromString(EDataType eDataType, String initialValue) + { + PropertyComponent result = PropertyComponent.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertPropertyComponentToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public ComponentDefinitionType createComponentDefinitionTypeFromString(EDataType eDataType, String initialValue) + { + ComponentDefinitionType result = ComponentDefinitionType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertComponentDefinitionTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public PropertyEnum createPropertyEnumFromString(EDataType eDataType, String initialValue) + { + PropertyEnum result = PropertyEnum.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertPropertyEnumToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public RValueConstant createRValueConstantFromString(EDataType eDataType, String initialValue) + { + RValueConstant result = RValueConstant.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertRValueConstantToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public PropertyModifier createPropertyModifierFromString(EDataType eDataType, String initialValue) + { + PropertyModifier result = PropertyModifier.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertPropertyModifierToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public RdlPackage getRdlPackage() + { + return (RdlPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static RdlPackage getPackage() + { + return RdlPackage.eINSTANCE; + } + +} //RdlFactoryImpl 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 new file mode 100644 index 0000000..14104de --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlPackageImpl.java @@ -0,0 +1,1746 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.ComponentDefinition; +import com.minres.rdl.rdl.ComponentDefinitionType; +import com.minres.rdl.rdl.ComponentInstance; +import com.minres.rdl.rdl.Concat; +import com.minres.rdl.rdl.ConcatElem; +import com.minres.rdl.rdl.DefaultProperyAssignment; +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.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.PostPropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignmentRhs; +import com.minres.rdl.rdl.PropertyComponent; +import com.minres.rdl.rdl.PropertyDefault; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.PropertyEnum; +import com.minres.rdl.rdl.PropertyModifier; +import com.minres.rdl.rdl.PropertyTypeName; +import com.minres.rdl.rdl.PropertyUsage; +import com.minres.rdl.rdl.RValue; +import com.minres.rdl.rdl.RValueConstant; +import com.minres.rdl.rdl.Range; +import com.minres.rdl.rdl.RdlFactory; +import com.minres.rdl.rdl.RdlPackage; +import com.minres.rdl.rdl.Root; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class RdlPackageImpl extends EPackageImpl implements RdlPackage +{ + /** + * + * + * @generated + */ + private EClass rootEClass = null; + + /** + * + * + * @generated + */ + private EClass includeEClass = null; + + /** + * + * + * @generated + */ + private EClass propertyDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass propertyDefaultEClass = null; + + /** + * + * + * @generated + */ + private EClass propertyUsageEClass = null; + + /** + * + * + * @generated + */ + private EClass componentDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass namedInstantiationEClass = null; + + /** + * + * + * @generated + */ + private EClass immediateInstantiationEClass = null; + + /** + * + * + * @generated + */ + private EClass componentInstanceEClass = null; + + /** + * + * + * @generated + */ + private EClass rangeEClass = null; + + /** + * + * + * @generated + */ + private EClass propertyAssignmentEClass = null; + + /** + * + * + * @generated + */ + private EClass defaultProperyAssignmentEClass = null; + + /** + * + * + * @generated + */ + private EClass explicitPropertyAssignmentEClass = null; + + /** + * + * + * @generated + */ + private EClass postPropertyAssignmentEClass = null; + + /** + * + * + * @generated + */ + private EClass instancePropertyRefEClass = null; + + /** + * + * + * @generated + */ + private EClass entityEClass = null; + + /** + * + * + * @generated + */ + private EClass instanceRefEClass = null; + + /** + * + * + * @generated + */ + private EClass propertyAssignmentRhsEClass = null; + + /** + * + * + * @generated + */ + private EClass concatEClass = null; + + /** + * + * + * @generated + */ + private EClass concatElemEClass = null; + + /** + * + * + * @generated + */ + private EClass rValueEClass = null; + + /** + * + * + * @generated + */ + private EClass enumDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass enumBodyEClass = null; + + /** + * + * + * @generated + */ + private EClass enumEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass enumPropertyEClass = null; + + /** + * + * + * @generated + */ + private EEnum propertyTypeNameEEnum = null; + + /** + * + * + * @generated + */ + private EEnum propertyComponentEEnum = null; + + /** + * + * + * @generated + */ + private EEnum componentDefinitionTypeEEnum = null; + + /** + * + * + * @generated + */ + private EEnum propertyEnumEEnum = null; + + /** + * + * + * @generated + */ + private EEnum rValueConstantEEnum = null; + + /** + * + * + * @generated + */ + private EEnum propertyModifierEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see com.minres.rdl.rdl.RdlPackage#eNS_URI + * @see #init() + * @generated + */ + private RdlPackageImpl() + { + super(eNS_URI, RdlFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link RdlPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static RdlPackage init() + { + if (isInited) return (RdlPackage)EPackage.Registry.INSTANCE.getEPackage(RdlPackage.eNS_URI); + + // Obtain or create and register package + RdlPackageImpl theRdlPackage = (RdlPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RdlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RdlPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theRdlPackage.createPackageContents(); + + // Initialize created meta-data + theRdlPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theRdlPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(RdlPackage.eNS_URI, theRdlPackage); + return theRdlPackage; + } + + /** + * + * + * @generated + */ + public EClass getRoot() + { + return rootEClass; + } + + /** + * + * + * @generated + */ + public EReference getRoot_Includes() + { + return (EReference)rootEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getRoot_ComponentDefinitions() + { + return (EReference)rootEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getRoot_EnumDefinitions() + { + return (EReference)rootEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getRoot_NamedInstantiations() + { + return (EReference)rootEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getRoot_PropertyAssignments() + { + return (EReference)rootEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getRoot_PropertyDefinitions() + { + return (EReference)rootEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getInclude() + { + return includeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getInclude_ImportURI() + { + return (EAttribute)includeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPropertyDefinition() + { + return propertyDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPropertyDefinition_Type() + { + return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getPropertyDefinition_Usage() + { + return (EReference)propertyDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getPropertyDefinition_Default() + { + return (EReference)propertyDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getPropertyDefault() + { + return propertyDefaultEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPropertyDefault_String() + { + return (EAttribute)propertyDefaultEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPropertyDefault_Value() + { + return (EAttribute)propertyDefaultEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getPropertyUsage() + { + return propertyUsageEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getPropertyUsage_Components() + { + return (EAttribute)propertyUsageEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getComponentDefinition() + { + return componentDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getComponentDefinition_Type() + { + return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getComponentDefinition_Name() + { + return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getComponentDefinition_ComponentDefinitions() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getComponentDefinition_NamedInstantiations() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getComponentDefinition_PropertyAssignments() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getComponentDefinition_EnumDefinitions() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getComponentDefinition_ImmediateInstantiation() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EClass getNamedInstantiation() + { + return namedInstantiationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getNamedInstantiation_External() + { + return (EAttribute)namedInstantiationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getNamedInstantiation_Internal() + { + return (EAttribute)namedInstantiationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getNamedInstantiation_Alias() + { + return (EAttribute)namedInstantiationEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getNamedInstantiation_Component() + { + 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); + } + + /** + * + * + * @generated + */ + public EClass getComponentInstance() + { + return componentInstanceEClass; + } + + /** + * + * + * @generated + */ + public EReference getComponentInstance_Range() + { + return (EReference)componentInstanceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getComponentInstance_Reset() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getComponentInstance_Address() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getComponentInstance_AddrInc() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getComponentInstance_AddrMod() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getRange() + { + return rangeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRange_Start() + { + return (EAttribute)rangeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getRange_End() + { + return (EAttribute)rangeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getRange_Size() + { + return (EAttribute)rangeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getPropertyAssignment() + { + return propertyAssignmentEClass; + } + + /** + * + * + * @generated + */ + public EClass getDefaultProperyAssignment() + { + return defaultProperyAssignmentEClass; + } + + /** + * + * + * @generated + */ + public EClass getExplicitPropertyAssignment() + { + return explicitPropertyAssignmentEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getExplicitPropertyAssignment_Modifier() + { + return (EAttribute)explicitPropertyAssignmentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getExplicitPropertyAssignment_Name() + { + return (EAttribute)explicitPropertyAssignmentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getExplicitPropertyAssignment_Rhs() + { + return (EReference)explicitPropertyAssignmentEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getPostPropertyAssignment() + { + return postPropertyAssignmentEClass; + } + + /** + * + * + * @generated + */ + public EReference getPostPropertyAssignment_Instance() + { + return (EReference)postPropertyAssignmentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPostPropertyAssignment_PropertyEnum() + { + return (EAttribute)postPropertyAssignmentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getPostPropertyAssignment_Property() + { + return (EReference)postPropertyAssignmentEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getPostPropertyAssignment_Rhs() + { + return (EReference)postPropertyAssignmentEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getInstancePropertyRef() + { + return instancePropertyRefEClass; + } + + /** + * + * + * @generated + */ + public EReference getInstancePropertyRef_Instance() + { + return (EReference)instancePropertyRefEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getInstancePropertyRef_PropertyEnum() + { + return (EAttribute)instancePropertyRefEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getInstancePropertyRef_Property() + { + return (EReference)instancePropertyRefEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getEntity() + { + return entityEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getEntity_Name() + { + return (EAttribute)entityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getInstanceRef() + { + return instanceRefEClass; + } + + /** + * + * + * @generated + */ + public EReference getInstanceRef_Instance() + { + return (EReference)instanceRefEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getInstanceRef_Tail() + { + return (EReference)instanceRefEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getPropertyAssignmentRhs() + { + return propertyAssignmentRhsEClass; + } + + /** + * + * + * @generated + */ + public EReference getPropertyAssignmentRhs_Value() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getPropertyAssignmentRhs_InstPropRef() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getPropertyAssignmentRhs_EnumRef() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getPropertyAssignmentRhs_Enums() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getPropertyAssignmentRhs_Elements() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getConcat() + { + return concatEClass; + } + + /** + * + * + * @generated + */ + public EReference getConcat_Elements() + { + return (EReference)concatEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getConcatElem() + { + return concatElemEClass; + } + + /** + * + * + * @generated + */ + public EReference getConcatElem_InstPropRef() + { + return (EReference)concatElemEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getConcatElem_Value() + { + return (EAttribute)concatElemEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getRValue() + { + return rValueEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRValue_Val() + { + return (EAttribute)rValueEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getRValue_Num() + { + return (EAttribute)rValueEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getRValue_Str() + { + return (EAttribute)rValueEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getEnumDefinition() + { + return enumDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EReference getEnumDefinition_Body() + { + return (EReference)enumDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getEnumBody() + { + return enumBodyEClass; + } + + /** + * + * + * @generated + */ + public EReference getEnumBody_Entries() + { + return (EReference)enumBodyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getEnumEntry() + { + return enumEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getEnumEntry_Name() + { + return (EAttribute)enumEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getEnumEntry_Index() + { + return (EAttribute)enumEntryEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getEnumEntry_Properties() + { + return (EReference)enumEntryEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getEnumProperty() + { + return enumPropertyEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getEnumProperty_Name() + { + return (EAttribute)enumPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getEnumProperty_Value() + { + return (EAttribute)enumPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EEnum getPropertyTypeName() + { + return propertyTypeNameEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getPropertyComponent() + { + return propertyComponentEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getComponentDefinitionType() + { + return componentDefinitionTypeEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getPropertyEnum() + { + return propertyEnumEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getRValueConstant() + { + return rValueConstantEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getPropertyModifier() + { + return propertyModifierEEnum; + } + + /** + * + * + * @generated + */ + public RdlFactory getRdlFactory() + { + return (RdlFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() + { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + rootEClass = createEClass(ROOT); + createEReference(rootEClass, ROOT__INCLUDES); + createEReference(rootEClass, ROOT__COMPONENT_DEFINITIONS); + createEReference(rootEClass, ROOT__ENUM_DEFINITIONS); + createEReference(rootEClass, ROOT__NAMED_INSTANTIATIONS); + createEReference(rootEClass, ROOT__PROPERTY_ASSIGNMENTS); + createEReference(rootEClass, ROOT__PROPERTY_DEFINITIONS); + + includeEClass = createEClass(INCLUDE); + createEAttribute(includeEClass, INCLUDE__IMPORT_URI); + + propertyDefinitionEClass = createEClass(PROPERTY_DEFINITION); + createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__TYPE); + createEReference(propertyDefinitionEClass, PROPERTY_DEFINITION__USAGE); + createEReference(propertyDefinitionEClass, PROPERTY_DEFINITION__DEFAULT); + + propertyDefaultEClass = createEClass(PROPERTY_DEFAULT); + createEAttribute(propertyDefaultEClass, PROPERTY_DEFAULT__STRING); + createEAttribute(propertyDefaultEClass, PROPERTY_DEFAULT__VALUE); + + propertyUsageEClass = createEClass(PROPERTY_USAGE); + createEAttribute(propertyUsageEClass, PROPERTY_USAGE__COMPONENTS); + + componentDefinitionEClass = createEClass(COMPONENT_DEFINITION); + 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__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); + + componentInstanceEClass = createEClass(COMPONENT_INSTANCE); + createEReference(componentInstanceEClass, COMPONENT_INSTANCE__RANGE); + createEAttribute(componentInstanceEClass, COMPONENT_INSTANCE__RESET); + createEAttribute(componentInstanceEClass, COMPONENT_INSTANCE__ADDRESS); + createEAttribute(componentInstanceEClass, COMPONENT_INSTANCE__ADDR_INC); + createEAttribute(componentInstanceEClass, COMPONENT_INSTANCE__ADDR_MOD); + + rangeEClass = createEClass(RANGE); + createEAttribute(rangeEClass, RANGE__START); + createEAttribute(rangeEClass, RANGE__END); + createEAttribute(rangeEClass, RANGE__SIZE); + + propertyAssignmentEClass = createEClass(PROPERTY_ASSIGNMENT); + + defaultProperyAssignmentEClass = createEClass(DEFAULT_PROPERY_ASSIGNMENT); + + explicitPropertyAssignmentEClass = createEClass(EXPLICIT_PROPERTY_ASSIGNMENT); + createEAttribute(explicitPropertyAssignmentEClass, EXPLICIT_PROPERTY_ASSIGNMENT__MODIFIER); + createEAttribute(explicitPropertyAssignmentEClass, EXPLICIT_PROPERTY_ASSIGNMENT__NAME); + createEReference(explicitPropertyAssignmentEClass, EXPLICIT_PROPERTY_ASSIGNMENT__RHS); + + postPropertyAssignmentEClass = createEClass(POST_PROPERTY_ASSIGNMENT); + createEReference(postPropertyAssignmentEClass, POST_PROPERTY_ASSIGNMENT__INSTANCE); + createEAttribute(postPropertyAssignmentEClass, POST_PROPERTY_ASSIGNMENT__PROPERTY_ENUM); + createEReference(postPropertyAssignmentEClass, POST_PROPERTY_ASSIGNMENT__PROPERTY); + createEReference(postPropertyAssignmentEClass, POST_PROPERTY_ASSIGNMENT__RHS); + + instancePropertyRefEClass = createEClass(INSTANCE_PROPERTY_REF); + createEReference(instancePropertyRefEClass, INSTANCE_PROPERTY_REF__INSTANCE); + createEAttribute(instancePropertyRefEClass, INSTANCE_PROPERTY_REF__PROPERTY_ENUM); + createEReference(instancePropertyRefEClass, INSTANCE_PROPERTY_REF__PROPERTY); + + entityEClass = createEClass(ENTITY); + createEAttribute(entityEClass, ENTITY__NAME); + + instanceRefEClass = createEClass(INSTANCE_REF); + createEReference(instanceRefEClass, INSTANCE_REF__INSTANCE); + createEReference(instanceRefEClass, INSTANCE_REF__TAIL); + + propertyAssignmentRhsEClass = createEClass(PROPERTY_ASSIGNMENT_RHS); + createEReference(propertyAssignmentRhsEClass, PROPERTY_ASSIGNMENT_RHS__VALUE); + createEReference(propertyAssignmentRhsEClass, PROPERTY_ASSIGNMENT_RHS__INST_PROP_REF); + createEReference(propertyAssignmentRhsEClass, PROPERTY_ASSIGNMENT_RHS__ENUM_REF); + createEReference(propertyAssignmentRhsEClass, PROPERTY_ASSIGNMENT_RHS__ENUMS); + createEReference(propertyAssignmentRhsEClass, PROPERTY_ASSIGNMENT_RHS__ELEMENTS); + + concatEClass = createEClass(CONCAT); + createEReference(concatEClass, CONCAT__ELEMENTS); + + concatElemEClass = createEClass(CONCAT_ELEM); + createEReference(concatElemEClass, CONCAT_ELEM__INST_PROP_REF); + createEAttribute(concatElemEClass, CONCAT_ELEM__VALUE); + + rValueEClass = createEClass(RVALUE); + createEAttribute(rValueEClass, RVALUE__VAL); + createEAttribute(rValueEClass, RVALUE__NUM); + createEAttribute(rValueEClass, RVALUE__STR); + + enumDefinitionEClass = createEClass(ENUM_DEFINITION); + createEReference(enumDefinitionEClass, ENUM_DEFINITION__BODY); + + enumBodyEClass = createEClass(ENUM_BODY); + createEReference(enumBodyEClass, ENUM_BODY__ENTRIES); + + enumEntryEClass = createEClass(ENUM_ENTRY); + createEAttribute(enumEntryEClass, ENUM_ENTRY__NAME); + createEAttribute(enumEntryEClass, ENUM_ENTRY__INDEX); + createEReference(enumEntryEClass, ENUM_ENTRY__PROPERTIES); + + enumPropertyEClass = createEClass(ENUM_PROPERTY); + createEAttribute(enumPropertyEClass, ENUM_PROPERTY__NAME); + createEAttribute(enumPropertyEClass, ENUM_PROPERTY__VALUE); + + // Create enums + propertyTypeNameEEnum = createEEnum(PROPERTY_TYPE_NAME); + propertyComponentEEnum = createEEnum(PROPERTY_COMPONENT); + componentDefinitionTypeEEnum = createEEnum(COMPONENT_DEFINITION_TYPE); + propertyEnumEEnum = createEEnum(PROPERTY_ENUM); + rValueConstantEEnum = createEEnum(RVALUE_CONSTANT); + propertyModifierEEnum = createEEnum(PROPERTY_MODIFIER); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() + { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + propertyDefinitionEClass.getESuperTypes().add(this.getEntity()); + componentInstanceEClass.getESuperTypes().add(this.getEntity()); + defaultProperyAssignmentEClass.getESuperTypes().add(this.getPropertyAssignment()); + explicitPropertyAssignmentEClass.getESuperTypes().add(this.getPropertyAssignment()); + explicitPropertyAssignmentEClass.getESuperTypes().add(this.getDefaultProperyAssignment()); + postPropertyAssignmentEClass.getESuperTypes().add(this.getPropertyAssignment()); + enumDefinitionEClass.getESuperTypes().add(this.getEntity()); + + // Initialize classes and features; add operations and parameters + initEClass(rootEClass, Root.class, "Root", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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_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); + + initEClass(includeEClass, Include.class, "Include", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getInclude_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Include.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyDefinitionEClass, PropertyDefinition.class, "PropertyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyDefinition_Type(), this.getPropertyTypeName(), "type", null, 0, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyDefinition_Usage(), this.getPropertyUsage(), null, "usage", null, 0, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyDefinition_Default(), this.getPropertyDefault(), null, "default", null, 0, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyDefaultEClass, PropertyDefault.class, "PropertyDefault", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyDefault_String(), ecorePackage.getEString(), "string", null, 0, 1, PropertyDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyDefault_Value(), ecorePackage.getEJavaObject(), "value", null, 0, 1, PropertyDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyUsageEClass, PropertyUsage.class, "PropertyUsage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyUsage_Components(), this.getPropertyComponent(), "components", null, 0, -1, PropertyUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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_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(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); + initEAttribute(getComponentInstance_Reset(), ecorePackage.getEJavaObject(), "reset", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentInstance_Address(), ecorePackage.getEJavaObject(), "address", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentInstance_AddrInc(), ecorePackage.getEJavaObject(), "addrInc", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + 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_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); + + initEClass(defaultProperyAssignmentEClass, DefaultProperyAssignment.class, "DefaultProperyAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(explicitPropertyAssignmentEClass, ExplicitPropertyAssignment.class, "ExplicitPropertyAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExplicitPropertyAssignment_Modifier(), this.getPropertyModifier(), "modifier", null, 0, 1, ExplicitPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getExplicitPropertyAssignment_Name(), this.getPropertyEnum(), "name", null, 0, 1, ExplicitPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getExplicitPropertyAssignment_Rhs(), this.getPropertyAssignmentRhs(), null, "rhs", null, 0, 1, ExplicitPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(postPropertyAssignmentEClass, PostPropertyAssignment.class, "PostPropertyAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPostPropertyAssignment_Instance(), this.getInstanceRef(), null, "instance", null, 0, 1, PostPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPostPropertyAssignment_PropertyEnum(), this.getPropertyEnum(), "propertyEnum", null, 0, 1, PostPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPostPropertyAssignment_Property(), this.getPropertyDefinition(), null, "property", null, 0, 1, PostPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPostPropertyAssignment_Rhs(), this.getPropertyAssignmentRhs(), null, "rhs", null, 0, 1, PostPropertyAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(instancePropertyRefEClass, InstancePropertyRef.class, "InstancePropertyRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInstancePropertyRef_Instance(), this.getInstanceRef(), null, "instance", null, 0, 1, InstancePropertyRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getInstancePropertyRef_PropertyEnum(), this.getPropertyEnum(), "propertyEnum", null, 0, 1, InstancePropertyRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInstancePropertyRef_Property(), this.getPropertyDefinition(), null, "property", null, 0, 1, InstancePropertyRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(entityEClass, Entity.class, "Entity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEntity_Name(), ecorePackage.getEString(), "name", null, 0, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(instanceRefEClass, InstanceRef.class, "InstanceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInstanceRef_Instance(), this.getEntity(), null, "instance", null, 0, 1, InstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInstanceRef_Tail(), this.getInstanceRef(), null, "tail", null, 0, 1, InstanceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyAssignmentRhsEClass, PropertyAssignmentRhs.class, "PropertyAssignmentRhs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPropertyAssignmentRhs_Value(), this.getRValue(), null, "value", null, 0, 1, PropertyAssignmentRhs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyAssignmentRhs_InstPropRef(), this.getInstancePropertyRef(), null, "instPropRef", null, 0, 1, PropertyAssignmentRhs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyAssignmentRhs_EnumRef(), this.getEnumDefinition(), null, "enumRef", null, 0, 1, PropertyAssignmentRhs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyAssignmentRhs_Enums(), this.getEnumBody(), null, "enums", null, 0, 1, PropertyAssignmentRhs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyAssignmentRhs_Elements(), this.getConcat(), null, "elements", null, 0, 1, PropertyAssignmentRhs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(concatEClass, Concat.class, "Concat", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConcat_Elements(), this.getConcatElem(), null, "elements", null, 0, -1, Concat.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(concatElemEClass, ConcatElem.class, "ConcatElem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConcatElem_InstPropRef(), this.getInstancePropertyRef(), null, "instPropRef", null, 0, 1, ConcatElem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getConcatElem_Value(), ecorePackage.getEJavaObject(), "value", null, 0, 1, ConcatElem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(rValueEClass, RValue.class, "RValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRValue_Val(), this.getRValueConstant(), "val", null, 0, 1, RValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRValue_Num(), ecorePackage.getEJavaObject(), "num", null, 0, 1, RValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRValue_Str(), ecorePackage.getEString(), "str", null, 0, 1, RValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(enumDefinitionEClass, EnumDefinition.class, "EnumDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getEnumDefinition_Body(), this.getEnumBody(), null, "body", null, 0, 1, EnumDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(enumBodyEClass, EnumBody.class, "EnumBody", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getEnumBody_Entries(), this.getEnumEntry(), null, "entries", null, 0, -1, EnumBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(enumEntryEClass, EnumEntry.class, "EnumEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEnumEntry_Name(), ecorePackage.getEString(), "name", null, 0, 1, EnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEnumEntry_Index(), ecorePackage.getEJavaObject(), "index", null, 0, 1, EnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEnumEntry_Properties(), this.getEnumProperty(), null, "properties", null, 0, -1, EnumEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(enumPropertyEClass, EnumProperty.class, "EnumProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + + // Initialize enums and add enum literals + initEEnum(propertyTypeNameEEnum, PropertyTypeName.class, "PropertyTypeName"); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.STRING); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.NUMBER); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.BOOLEAN); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.ADDRMAP); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.REG); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.REGFILE); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.FIELD); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.REF); + + initEEnum(propertyComponentEEnum, PropertyComponent.class, "PropertyComponent"); + addEEnumLiteral(propertyComponentEEnum, PropertyComponent.SIGNAL); + addEEnumLiteral(propertyComponentEEnum, PropertyComponent.ADDRMAP); + addEEnumLiteral(propertyComponentEEnum, PropertyComponent.REG); + addEEnumLiteral(propertyComponentEEnum, PropertyComponent.REGFILE); + addEEnumLiteral(propertyComponentEEnum, PropertyComponent.FIELD); + addEEnumLiteral(propertyComponentEEnum, PropertyComponent.ALL); + + initEEnum(componentDefinitionTypeEEnum, ComponentDefinitionType.class, "ComponentDefinitionType"); + addEEnumLiteral(componentDefinitionTypeEEnum, ComponentDefinitionType.SIGNAL); + addEEnumLiteral(componentDefinitionTypeEEnum, ComponentDefinitionType.ADDRMAP); + addEEnumLiteral(componentDefinitionTypeEEnum, ComponentDefinitionType.REGFILE); + addEEnumLiteral(componentDefinitionTypeEEnum, ComponentDefinitionType.REG); + addEEnumLiteral(componentDefinitionTypeEEnum, ComponentDefinitionType.FIELD); + + initEEnum(propertyEnumEEnum, PropertyEnum.class, "PropertyEnum"); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.UNSPECIFIED); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.NAME); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DESC); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ARBITER); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.RSET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.RCLR); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.WOCLR); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.WOSET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.WE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.WEL); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SWWE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SWWEL); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HWSET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HWCLR); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SWMOD); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SWACC); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.STICKY); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.STICKYBIT); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.INTR); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ANDED); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ORED); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.XORED); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.COUNTER); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.OVERFLOW); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SHAREDEXTBUS); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ERREXTBUS); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.RESET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.LITTLEENDIAN); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.BIGENDIAN); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.RSVDSET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.RSVDSETX); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.BRIDGE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SHARED); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.MSB0); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.LSB0); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SYNC); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ASYNC); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.CPUIF_RESET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.FIELD_RESET); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ACTIVEHIGH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ACTIVELOW); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SINGLEPULSE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.UNDERFLOW); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.INCR); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DECR); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.INCRWIDTH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DECRWIDTH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.INCRVALUE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DECRVALUE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SATURATE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DECRSATURATE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.THRESHOLD); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DECRTHRESHOLD); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DONTCOMPARE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.DONTTEST); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.INTERNAL); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ALIGNMENT); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.REGWIDTH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.FIELDWIDTH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SIGNALWIDTH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ACCESSWIDTH); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.SW); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HW); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ADDRESSING); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.PRECEDENCE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ENCODE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.RESETSIGNAL); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.CLOCK); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.MASK); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.ENABLE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HWENABLE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HWMASK); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HALTMASK); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HALTENABLE); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.HALT); + addEEnumLiteral(propertyEnumEEnum, PropertyEnum.NEXT); + + initEEnum(rValueConstantEEnum, RValueConstant.class, "RValueConstant"); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.UNDEFINED); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.TRUE); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.FALSE); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.RW); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.WR); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.R); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.W); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.NA); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.COMPACT); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.REGALIGN); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.FULLALIGN); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.HW); + addEEnumLiteral(rValueConstantEEnum, RValueConstant.SW); + + initEEnum(propertyModifierEEnum, PropertyModifier.class, "PropertyModifier"); + addEEnumLiteral(propertyModifierEEnum, PropertyModifier.UNDEFINED); + addEEnumLiteral(propertyModifierEEnum, PropertyModifier.POSEDGE); + addEEnumLiteral(propertyModifierEEnum, PropertyModifier.NEGEDGE); + addEEnumLiteral(propertyModifierEEnum, PropertyModifier.BOTHEDGE); + addEEnumLiteral(propertyModifierEEnum, PropertyModifier.LEVEL); + addEEnumLiteral(propertyModifierEEnum, PropertyModifier.NONSTICKY); + + // Create resource + createResource(eNS_URI); + } + +} //RdlPackageImpl 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 new file mode 100644 index 0000000..6bd4daf --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RootImpl.java @@ -0,0 +1,363 @@ +/** + * generated by Xtext 2.12.0 + */ +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.PropertyAssignment; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.RdlPackage; +import com.minres.rdl.rdl.Root; + +import java.util.Collection; + +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.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Root'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@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#getPropertyAssignments Property Assignments}
  • + *
  • {@link com.minres.rdl.rdl.impl.RootImpl#getPropertyDefinitions Property Definitions}
  • + *
+ * + * @generated + */ +public class RootImpl extends MinimalEObjectImpl.Container implements Root +{ + /** + * The cached value of the '{@link #getIncludes() Includes}' containment reference list. + * + * + * @see #getIncludes() + * @generated + * @ordered + */ + protected EList includes; + + /** + * The cached value of the '{@link #getComponentDefinitions() Component Definitions}' containment reference list. + * + * + * @see #getComponentDefinitions() + * @generated + * @ordered + */ + protected EList componentDefinitions; + + /** + * The cached value of the '{@link #getEnumDefinitions() Enum Definitions}' containment reference list. + * + * + * @see #getEnumDefinitions() + * @generated + * @ordered + */ + protected EList enumDefinitions; + + /** + * The cached value of the '{@link #getNamedInstantiations() Named Instantiations}' containment reference list. + * + * + * @see #getNamedInstantiations() + * @generated + * @ordered + */ + protected EList namedInstantiations; + + /** + * The cached value of the '{@link #getPropertyAssignments() Property Assignments}' containment reference list. + * + * + * @see #getPropertyAssignments() + * @generated + * @ordered + */ + protected EList propertyAssignments; + + /** + * The cached value of the '{@link #getPropertyDefinitions() Property Definitions}' containment reference list. + * + * + * @see #getPropertyDefinitions() + * @generated + * @ordered + */ + protected EList propertyDefinitions; + + /** + * + * + * @generated + */ + protected RootImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ROOT; + } + + /** + * + * + * @generated + */ + public EList getIncludes() + { + if (includes == null) + { + includes = new EObjectContainmentEList(Include.class, this, RdlPackage.ROOT__INCLUDES); + } + return includes; + } + + /** + * + * + * @generated + */ + public EList getComponentDefinitions() + { + if (componentDefinitions == null) + { + componentDefinitions = new EObjectContainmentEList(ComponentDefinition.class, this, RdlPackage.ROOT__COMPONENT_DEFINITIONS); + } + return componentDefinitions; + } + + /** + * + * + * @generated + */ + public EList getEnumDefinitions() + { + if (enumDefinitions == null) + { + enumDefinitions = new EObjectContainmentEList(EnumDefinition.class, this, RdlPackage.ROOT__ENUM_DEFINITIONS); + } + return enumDefinitions; + } + + /** + * + * + * @generated + */ + public EList getNamedInstantiations() + { + if (namedInstantiations == null) + { + namedInstantiations = new EObjectContainmentEList(NamedInstantiation.class, this, RdlPackage.ROOT__NAMED_INSTANTIATIONS); + } + return namedInstantiations; + } + + /** + * + * + * @generated + */ + public EList getPropertyAssignments() + { + if (propertyAssignments == null) + { + propertyAssignments = new EObjectContainmentEList(PropertyAssignment.class, this, RdlPackage.ROOT__PROPERTY_ASSIGNMENTS); + } + return propertyAssignments; + } + + /** + * + * + * @generated + */ + public EList getPropertyDefinitions() + { + if (propertyDefinitions == null) + { + propertyDefinitions = new EObjectContainmentEList(PropertyDefinition.class, this, RdlPackage.ROOT__PROPERTY_DEFINITIONS); + } + return propertyDefinitions; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.ROOT__INCLUDES: + return ((InternalEList)getIncludes()).basicRemove(otherEnd, msgs); + case RdlPackage.ROOT__COMPONENT_DEFINITIONS: + 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__PROPERTY_ASSIGNMENTS: + return ((InternalEList)getPropertyAssignments()).basicRemove(otherEnd, msgs); + case RdlPackage.ROOT__PROPERTY_DEFINITIONS: + return ((InternalEList)getPropertyDefinitions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ROOT__INCLUDES: + return getIncludes(); + case RdlPackage.ROOT__COMPONENT_DEFINITIONS: + return getComponentDefinitions(); + case RdlPackage.ROOT__ENUM_DEFINITIONS: + return getEnumDefinitions(); + case RdlPackage.ROOT__NAMED_INSTANTIATIONS: + return getNamedInstantiations(); + case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS: + return getPropertyAssignments(); + case RdlPackage.ROOT__PROPERTY_DEFINITIONS: + return getPropertyDefinitions(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ROOT__INCLUDES: + getIncludes().clear(); + getIncludes().addAll((Collection)newValue); + return; + case RdlPackage.ROOT__COMPONENT_DEFINITIONS: + getComponentDefinitions().clear(); + getComponentDefinitions().addAll((Collection)newValue); + return; + case RdlPackage.ROOT__ENUM_DEFINITIONS: + getEnumDefinitions().clear(); + getEnumDefinitions().addAll((Collection)newValue); + return; + case RdlPackage.ROOT__NAMED_INSTANTIATIONS: + getNamedInstantiations().clear(); + getNamedInstantiations().addAll((Collection)newValue); + return; + case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS: + getPropertyAssignments().clear(); + getPropertyAssignments().addAll((Collection)newValue); + return; + case RdlPackage.ROOT__PROPERTY_DEFINITIONS: + getPropertyDefinitions().clear(); + getPropertyDefinitions().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ROOT__INCLUDES: + getIncludes().clear(); + return; + case RdlPackage.ROOT__COMPONENT_DEFINITIONS: + getComponentDefinitions().clear(); + return; + case RdlPackage.ROOT__ENUM_DEFINITIONS: + getEnumDefinitions().clear(); + return; + case RdlPackage.ROOT__NAMED_INSTANTIATIONS: + getNamedInstantiations().clear(); + return; + case RdlPackage.ROOT__PROPERTY_ASSIGNMENTS: + getPropertyAssignments().clear(); + return; + case RdlPackage.ROOT__PROPERTY_DEFINITIONS: + getPropertyDefinitions().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ROOT__INCLUDES: + return includes != null && !includes.isEmpty(); + case RdlPackage.ROOT__COMPONENT_DEFINITIONS: + 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__PROPERTY_ASSIGNMENTS: + return propertyAssignments != null && !propertyAssignments.isEmpty(); + case RdlPackage.ROOT__PROPERTY_DEFINITIONS: + return propertyDefinitions != null && !propertyDefinitions.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //RootImpl 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 new file mode 100644 index 0000000..58f23a8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlAdapterFactory.java @@ -0,0 +1,613 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.util; + +import com.minres.rdl.rdl.*; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see com.minres.rdl.rdl.RdlPackage + * @generated + */ +public class RdlAdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. + * + * + * @generated + */ + protected static RdlPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public RdlAdapterFactory() + { + if (modelPackage == null) + { + modelPackage = RdlPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) + { + if (object == modelPackage) + { + return true; + } + if (object instanceof EObject) + { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected RdlSwitch modelSwitch = + new RdlSwitch() + { + @Override + public Adapter caseRoot(Root object) + { + return createRootAdapter(); + } + @Override + public Adapter caseInclude(Include object) + { + return createIncludeAdapter(); + } + @Override + public Adapter casePropertyDefinition(PropertyDefinition object) + { + return createPropertyDefinitionAdapter(); + } + @Override + public Adapter casePropertyDefault(PropertyDefault object) + { + return createPropertyDefaultAdapter(); + } + @Override + public Adapter casePropertyUsage(PropertyUsage object) + { + return createPropertyUsageAdapter(); + } + @Override + public Adapter caseComponentDefinition(ComponentDefinition object) + { + return createComponentDefinitionAdapter(); + } + @Override + public Adapter caseNamedInstantiation(NamedInstantiation object) + { + return createNamedInstantiationAdapter(); + } + @Override + public Adapter caseImmediateInstantiation(ImmediateInstantiation object) + { + return createImmediateInstantiationAdapter(); + } + @Override + public Adapter caseComponentInstance(ComponentInstance object) + { + return createComponentInstanceAdapter(); + } + @Override + public Adapter caseRange(Range object) + { + return createRangeAdapter(); + } + @Override + public Adapter casePropertyAssignment(PropertyAssignment object) + { + return createPropertyAssignmentAdapter(); + } + @Override + public Adapter caseDefaultProperyAssignment(DefaultProperyAssignment object) + { + return createDefaultProperyAssignmentAdapter(); + } + @Override + public Adapter caseExplicitPropertyAssignment(ExplicitPropertyAssignment object) + { + return createExplicitPropertyAssignmentAdapter(); + } + @Override + public Adapter casePostPropertyAssignment(PostPropertyAssignment object) + { + return createPostPropertyAssignmentAdapter(); + } + @Override + public Adapter caseInstancePropertyRef(InstancePropertyRef object) + { + return createInstancePropertyRefAdapter(); + } + @Override + public Adapter caseEntity(Entity object) + { + return createEntityAdapter(); + } + @Override + public Adapter caseInstanceRef(InstanceRef object) + { + return createInstanceRefAdapter(); + } + @Override + public Adapter casePropertyAssignmentRhs(PropertyAssignmentRhs object) + { + return createPropertyAssignmentRhsAdapter(); + } + @Override + public Adapter caseConcat(Concat object) + { + return createConcatAdapter(); + } + @Override + public Adapter caseConcatElem(ConcatElem object) + { + return createConcatElemAdapter(); + } + @Override + public Adapter caseRValue(RValue object) + { + return createRValueAdapter(); + } + @Override + public Adapter caseEnumDefinition(EnumDefinition object) + { + return createEnumDefinitionAdapter(); + } + @Override + public Adapter caseEnumBody(EnumBody object) + { + return createEnumBodyAdapter(); + } + @Override + public Adapter caseEnumEntry(EnumEntry object) + { + return createEnumEntryAdapter(); + } + @Override + public Adapter caseEnumProperty(EnumProperty object) + { + return createEnumPropertyAdapter(); + } + @Override + public Adapter defaultCase(EObject object) + { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) + { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.Root Root}'. + * + * 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.Root + * @generated + */ + public Adapter createRootAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.Include Include}'. + * + * 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.Include + * @generated + */ + public Adapter createIncludeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.PropertyDefinition Property Definition}'. + * + * 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.PropertyDefinition + * @generated + */ + public Adapter createPropertyDefinitionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.PropertyDefault Property Default}'. + * + * 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.PropertyDefault + * @generated + */ + public Adapter createPropertyDefaultAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.PropertyUsage Property Usage}'. + * + * 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.PropertyUsage + * @generated + */ + public Adapter createPropertyUsageAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.ComponentDefinition Component Definition}'. + * + * 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.ComponentDefinition + * @generated + */ + public Adapter createComponentDefinitionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.NamedInstantiation Named 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 + * @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() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.ComponentInstance Component Instance}'. + * + * 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.ComponentInstance + * @generated + */ + public Adapter createComponentInstanceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.Range Range}'. + * + * 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.Range + * @generated + */ + public Adapter createRangeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.PropertyAssignment Property Assignment}'. + * + * 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.PropertyAssignment + * @generated + */ + public Adapter createPropertyAssignmentAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.DefaultProperyAssignment Default Propery Assignment}'. + * + * 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.DefaultProperyAssignment + * @generated + */ + public Adapter createDefaultProperyAssignmentAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.ExplicitPropertyAssignment Explicit Property Assignment}'. + * + * 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.ExplicitPropertyAssignment + * @generated + */ + public Adapter createExplicitPropertyAssignmentAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.PostPropertyAssignment Post Property Assignment}'. + * + * 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.PostPropertyAssignment + * @generated + */ + public Adapter createPostPropertyAssignmentAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.InstancePropertyRef Instance Property Ref}'. + * + * 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.InstancePropertyRef + * @generated + */ + public Adapter createInstancePropertyRefAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.Entity Entity}'. + * + * 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.Entity + * @generated + */ + public Adapter createEntityAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.InstanceRef Instance Ref}'. + * + * 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.InstanceRef + * @generated + */ + public Adapter createInstanceRefAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.PropertyAssignmentRhs Property Assignment Rhs}'. + * + * 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.PropertyAssignmentRhs + * @generated + */ + public Adapter createPropertyAssignmentRhsAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.Concat Concat}'. + * + * 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.Concat + * @generated + */ + public Adapter createConcatAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.ConcatElem Concat Elem}'. + * + * 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.ConcatElem + * @generated + */ + public Adapter createConcatElemAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.RValue RValue}'. + * + * 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.RValue + * @generated + */ + public Adapter createRValueAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.EnumDefinition Enum Definition}'. + * + * 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.EnumDefinition + * @generated + */ + public Adapter createEnumDefinitionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.EnumBody Enum Body}'. + * + * 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.EnumBody + * @generated + */ + public Adapter createEnumBodyAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.EnumEntry Enum Entry}'. + * + * 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.EnumEntry + * @generated + */ + public Adapter createEnumEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link com.minres.rdl.rdl.EnumProperty Enum Property}'. + * + * 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.EnumProperty + * @generated + */ + public Adapter createEnumPropertyAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() + { + return null; + } + +} //RdlAdapterFactory 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 new file mode 100644 index 0000000..d2bf740 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/util/RdlSwitch.java @@ -0,0 +1,679 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.rdl.util; + +import com.minres.rdl.rdl.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see com.minres.rdl.rdl.RdlPackage + * @generated + */ +public class RdlSwitch extends Switch +{ + /** + * The cached model package + * + * + * @generated + */ + protected static RdlPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public RdlSwitch() + { + if (modelPackage == null) + { + modelPackage = RdlPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) + { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case RdlPackage.ROOT: + { + Root root = (Root)theEObject; + T result = caseRoot(root); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.INCLUDE: + { + Include include = (Include)theEObject; + T result = caseInclude(include); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.PROPERTY_DEFINITION: + { + PropertyDefinition propertyDefinition = (PropertyDefinition)theEObject; + T result = casePropertyDefinition(propertyDefinition); + if (result == null) result = caseEntity(propertyDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.PROPERTY_DEFAULT: + { + PropertyDefault propertyDefault = (PropertyDefault)theEObject; + T result = casePropertyDefault(propertyDefault); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.PROPERTY_USAGE: + { + PropertyUsage propertyUsage = (PropertyUsage)theEObject; + T result = casePropertyUsage(propertyUsage); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.COMPONENT_DEFINITION: + { + ComponentDefinition componentDefinition = (ComponentDefinition)theEObject; + T result = caseComponentDefinition(componentDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.NAMED_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); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.COMPONENT_INSTANCE: + { + ComponentInstance componentInstance = (ComponentInstance)theEObject; + T result = caseComponentInstance(componentInstance); + if (result == null) result = caseEntity(componentInstance); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.RANGE: + { + Range range = (Range)theEObject; + T result = caseRange(range); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.PROPERTY_ASSIGNMENT: + { + PropertyAssignment propertyAssignment = (PropertyAssignment)theEObject; + T result = casePropertyAssignment(propertyAssignment); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.DEFAULT_PROPERY_ASSIGNMENT: + { + DefaultProperyAssignment defaultProperyAssignment = (DefaultProperyAssignment)theEObject; + T result = caseDefaultProperyAssignment(defaultProperyAssignment); + if (result == null) result = casePropertyAssignment(defaultProperyAssignment); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT: + { + ExplicitPropertyAssignment explicitPropertyAssignment = (ExplicitPropertyAssignment)theEObject; + T result = caseExplicitPropertyAssignment(explicitPropertyAssignment); + if (result == null) result = caseDefaultProperyAssignment(explicitPropertyAssignment); + if (result == null) result = casePropertyAssignment(explicitPropertyAssignment); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.POST_PROPERTY_ASSIGNMENT: + { + PostPropertyAssignment postPropertyAssignment = (PostPropertyAssignment)theEObject; + T result = casePostPropertyAssignment(postPropertyAssignment); + if (result == null) result = casePropertyAssignment(postPropertyAssignment); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.INSTANCE_PROPERTY_REF: + { + InstancePropertyRef instancePropertyRef = (InstancePropertyRef)theEObject; + T result = caseInstancePropertyRef(instancePropertyRef); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.ENTITY: + { + Entity entity = (Entity)theEObject; + T result = caseEntity(entity); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.INSTANCE_REF: + { + InstanceRef instanceRef = (InstanceRef)theEObject; + T result = caseInstanceRef(instanceRef); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.PROPERTY_ASSIGNMENT_RHS: + { + PropertyAssignmentRhs propertyAssignmentRhs = (PropertyAssignmentRhs)theEObject; + T result = casePropertyAssignmentRhs(propertyAssignmentRhs); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.CONCAT: + { + Concat concat = (Concat)theEObject; + T result = caseConcat(concat); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.CONCAT_ELEM: + { + ConcatElem concatElem = (ConcatElem)theEObject; + T result = caseConcatElem(concatElem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.RVALUE: + { + RValue rValue = (RValue)theEObject; + T result = caseRValue(rValue); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.ENUM_DEFINITION: + { + EnumDefinition enumDefinition = (EnumDefinition)theEObject; + T result = caseEnumDefinition(enumDefinition); + if (result == null) result = caseEntity(enumDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.ENUM_BODY: + { + EnumBody enumBody = (EnumBody)theEObject; + T result = caseEnumBody(enumBody); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.ENUM_ENTRY: + { + EnumEntry enumEntry = (EnumEntry)theEObject; + T result = caseEnumEntry(enumEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RdlPackage.ENUM_PROPERTY: + { + EnumProperty enumProperty = (EnumProperty)theEObject; + T result = caseEnumProperty(enumProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Root'. + * + * 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 'Root'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRoot(Root object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Include'. + * + * 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 'Include'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInclude(Include object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Property Definition'. + * + * 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 'Property Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyDefinition(PropertyDefinition object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Property Default'. + * + * 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 'Property Default'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyDefault(PropertyDefault object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Property Usage'. + * + * 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 'Property Usage'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyUsage(PropertyUsage object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Component Definition'. + * + * 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 'Component Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseComponentDefinition(ComponentDefinition object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Named 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'. + * @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) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Component Instance'. + * + * 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 'Component Instance'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseComponentInstance(ComponentInstance object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Range'. + * + * 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 'Range'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRange(Range object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Property Assignment'. + * + * 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 'Property Assignment'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyAssignment(PropertyAssignment object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Default Propery Assignment'. + * + * 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 'Default Propery Assignment'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDefaultProperyAssignment(DefaultProperyAssignment object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Explicit Property Assignment'. + * + * 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 'Explicit Property Assignment'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExplicitPropertyAssignment(ExplicitPropertyAssignment object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Post Property Assignment'. + * + * 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 'Post Property Assignment'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePostPropertyAssignment(PostPropertyAssignment object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Instance Property Ref'. + * + * 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 'Instance Property Ref'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInstancePropertyRef(InstancePropertyRef object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Entity'. + * + * 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 'Entity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEntity(Entity object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Instance Ref'. + * + * 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 'Instance Ref'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInstanceRef(InstanceRef object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Property Assignment Rhs'. + * + * 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 'Property Assignment Rhs'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyAssignmentRhs(PropertyAssignmentRhs object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Concat'. + * + * 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 'Concat'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConcat(Concat object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Concat Elem'. + * + * 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 'Concat Elem'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConcatElem(ConcatElem object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'RValue'. + * + * 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 'RValue'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRValue(RValue object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Enum Definition'. + * + * 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 Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumDefinition(EnumDefinition object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Enum Body'. + * + * 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 Body'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumBody(EnumBody object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Enum Entry'. + * + * 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 Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumEntry(EnumEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Enum Property'. + * + * 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 Property'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumProperty(EnumProperty object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) + { + return null; + } + +} //RdlSwitch diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/scoping/AbstractRDLScopeProvider.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/scoping/AbstractRDLScopeProvider.java new file mode 100644 index 0000000..148e43a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/scoping/AbstractRDLScopeProvider.java @@ -0,0 +1,9 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.scoping; + +import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider; + +public abstract class AbstractRDLScopeProvider extends DelegatingScopeProvider { +} 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 new file mode 100644 index 0000000..57062a5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSemanticSequencer.java @@ -0,0 +1,472 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.serializer; + +import com.google.inject.Inject; +import com.minres.rdl.rdl.ComponentDefinition; +import com.minres.rdl.rdl.ComponentInstance; +import com.minres.rdl.rdl.Concat; +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.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.PostPropertyAssignment; +import com.minres.rdl.rdl.PropertyAssignmentRhs; +import com.minres.rdl.rdl.PropertyDefault; +import com.minres.rdl.rdl.PropertyDefinition; +import com.minres.rdl.rdl.PropertyUsage; +import com.minres.rdl.rdl.RValue; +import com.minres.rdl.rdl.Range; +import com.minres.rdl.rdl.RdlPackage; +import com.minres.rdl.rdl.Root; +import com.minres.rdl.services.RDLGrammarAccess; +import java.util.Set; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Parameter; +import org.eclipse.xtext.ParserRule; +import org.eclipse.xtext.serializer.ISerializationContext; +import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; +import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; + +@SuppressWarnings("all") +public class RDLSemanticSequencer extends AbstractDelegatingSemanticSequencer { + + @Inject + private RDLGrammarAccess grammarAccess; + + @Override + public void sequence(ISerializationContext context, EObject semanticObject) { + EPackage epackage = semanticObject.eClass().getEPackage(); + ParserRule rule = context.getParserRule(); + Action action = context.getAssignedAction(); + Set parameters = context.getEnabledBooleanParameters(); + if (epackage == RdlPackage.eINSTANCE) + switch (semanticObject.eClass().getClassifierID()) { + case RdlPackage.COMPONENT_DEFINITION: + sequence_ComponentDefinition(context, (ComponentDefinition) semanticObject); + return; + case RdlPackage.COMPONENT_INSTANCE: + sequence_ComponentInstance(context, (ComponentInstance) semanticObject); + return; + case RdlPackage.CONCAT: + sequence_Concat(context, (Concat) semanticObject); + return; + case RdlPackage.CONCAT_ELEM: + sequence_ConcatElem(context, (ConcatElem) semanticObject); + return; + case RdlPackage.ENUM_BODY: + sequence_EnumBody(context, (EnumBody) semanticObject); + return; + case RdlPackage.ENUM_DEFINITION: + sequence_EnumDefinition(context, (EnumDefinition) semanticObject); + return; + case RdlPackage.ENUM_ENTRY: + sequence_EnumEntry(context, (EnumEntry) 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; + case RdlPackage.INSTANCE_PROPERTY_REF: + sequence_InstancePropertyRef(context, (InstancePropertyRef) semanticObject); + return; + case RdlPackage.INSTANCE_REF: + if (rule == grammarAccess.getHierInstanceRefRule()) { + sequence_HierInstanceRef(context, (InstanceRef) semanticObject); + return; + } + else if (rule == grammarAccess.getInstanceRefRule()) { + sequence_InstanceRef(context, (InstanceRef) semanticObject); + return; + } + else break; + case RdlPackage.NAMED_INSTANTIATION: + sequence_NamedInstantiation(context, (NamedInstantiation) semanticObject); + return; + case RdlPackage.POST_PROPERTY_ASSIGNMENT: + sequence_PostPropertyAssignment(context, (PostPropertyAssignment) semanticObject); + return; + case RdlPackage.PROPERTY_ASSIGNMENT_RHS: + sequence_PropertyAssignmentRhs(context, (PropertyAssignmentRhs) semanticObject); + return; + case RdlPackage.PROPERTY_DEFAULT: + sequence_PropertyDefault(context, (PropertyDefault) semanticObject); + return; + case RdlPackage.PROPERTY_DEFINITION: + sequence_PropertyDefinition(context, (PropertyDefinition) semanticObject); + return; + case RdlPackage.PROPERTY_USAGE: + sequence_PropertyUsage(context, (PropertyUsage) semanticObject); + return; + case RdlPackage.RVALUE: + sequence_PropertyRvalueConstant(context, (RValue) semanticObject); + return; + case RdlPackage.RANGE: + sequence_Range(context, (Range) semanticObject); + return; + case RdlPackage.ROOT: + sequence_Root(context, (Root) semanticObject); + return; + } + if (errorAcceptor != null) + errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + } + + /** + * Contexts: + * ComponentDefinition returns ComponentDefinition + * + * Constraint: + * ( + * type=ComponentDefinitionType + * name=ID? + * ( + * componentDefinitions+=ComponentDefinition | + * namedInstantiations+=NamedInstantiation | + * propertyAssignments+=PropertyAssignment | + * enumDefinitions+=EnumDefinition + * )* + * immediateInstantiation=ImmediateInstantiation? + * ) + */ + protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ComponentInstance returns ComponentInstance + * Entity returns ComponentInstance + * + * Constraint: + * ( + * name=ID + * range=Range? + * reset=NUM? + * address=NUM? + * addrInc=NUM? + * addrMod=NUM? + * ) + */ + protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ConcatElem returns ConcatElem + * + * Constraint: + * (instPropRef=InstancePropertyRef | value=NUM) + */ + protected void sequence_ConcatElem(ISerializationContext context, ConcatElem semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Concat returns Concat + * + * Constraint: + * (elements+=ConcatElem elements+=ConcatElem*) + */ + protected void sequence_Concat(ISerializationContext context, Concat semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * EnumBody returns EnumBody + * + * Constraint: + * entries+=EnumEntry* + */ + protected void sequence_EnumBody(ISerializationContext context, EnumBody semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Entity returns EnumDefinition + * EnumDefinition returns EnumDefinition + * + * Constraint: + * (name=ID body=EnumBody) + */ + protected void sequence_EnumDefinition(ISerializationContext context, EnumDefinition semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, RdlPackage.Literals.ENTITY__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, RdlPackage.Literals.ENTITY__NAME)); + if (transientValues.isValueTransient(semanticObject, RdlPackage.Literals.ENUM_DEFINITION__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, RdlPackage.Literals.ENUM_DEFINITION__BODY)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0(), semanticObject.getBody()); + feeder.finish(); + } + + + /** + * Contexts: + * EnumEntry returns EnumEntry + * + * Constraint: + * (name=ID index=NUM properties+=EnumProperty*) + */ + protected void sequence_EnumEntry(ISerializationContext context, EnumEntry semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * EnumProperty returns EnumProperty + * + * Constraint: + * ((name='name' value=STR) | (name='desc' value=STR)) + */ + protected void sequence_EnumProperty(ISerializationContext context, EnumProperty semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyAssignment returns ExplicitPropertyAssignment + * DefaultProperyAssignment returns ExplicitPropertyAssignment + * ExplicitPropertyAssignment returns ExplicitPropertyAssignment + * + * Constraint: + * ((modifier=PropertyModifier name=Property) | (name=Property rhs=PropertyAssignmentRhs?)) + */ + protected void sequence_ExplicitPropertyAssignment(ISerializationContext context, ExplicitPropertyAssignment semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * HierInstanceRef returns InstanceRef + * + * Constraint: + * (instance=[ComponentInstance|ID] tail=HierInstanceRef?) + */ + protected void sequence_HierInstanceRef(ISerializationContext context, InstanceRef semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * 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 + * + * Constraint: + * importURI=STR + */ + protected void sequence_Include(ISerializationContext context, Include semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, RdlPackage.Literals.INCLUDE__IMPORT_URI) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, RdlPackage.Literals.INCLUDE__IMPORT_URI)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0(), semanticObject.getImportURI()); + feeder.finish(); + } + + + /** + * Contexts: + * InstancePropertyRef returns InstancePropertyRef + * + * Constraint: + * (instance=InstanceRef (propertyEnum=Property | property=[PropertyDefinition|ID])?) + */ + protected void sequence_InstancePropertyRef(ISerializationContext context, InstancePropertyRef semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * InstanceRef returns InstanceRef + * + * Constraint: + * (instance=[Entity|ID] tail=HierInstanceRef?) + */ + protected void sequence_InstanceRef(ISerializationContext context, InstanceRef semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * NamedInstantiation returns NamedInstantiation + * + * Constraint: + * ( + * external?='external'? + * internal?='internal'? + * alias=ID? + * component=[ComponentDefinition|ID] + * componentInstances+=ComponentInstance + * componentInstances+=ComponentInstance* + * ) + */ + protected void sequence_NamedInstantiation(ISerializationContext context, NamedInstantiation semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyAssignment returns PostPropertyAssignment + * PostPropertyAssignment returns PostPropertyAssignment + * + * Constraint: + * ( + * ((instance=HierInstanceRef (propertyEnum=Property | property=[PropertyDefinition|ID])) | property=[PropertyDefinition|ID]) + * rhs=PropertyAssignmentRhs? + * ) + */ + protected void sequence_PostPropertyAssignment(ISerializationContext context, PostPropertyAssignment semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyAssignmentRhs returns PropertyAssignmentRhs + * + * Constraint: + * (value=PropertyRvalueConstant | instPropRef=InstancePropertyRef | (enumRef=[EnumDefinition|ID] enums=EnumBody) | elements=Concat) + */ + protected void sequence_PropertyAssignmentRhs(ISerializationContext context, PropertyAssignmentRhs semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyDefault returns PropertyDefault + * + * Constraint: + * (string=STR | value=NUM | string='true' | string='false') + */ + protected void sequence_PropertyDefault(ISerializationContext context, PropertyDefault semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyDefinition returns PropertyDefinition + * Entity returns PropertyDefinition + * + * Constraint: + * ( + * name=ID + * ( + * (type=PropertyTypeName ((usage=PropertyUsage default=PropertyDefault?) | (default=PropertyDefault usage=PropertyUsage))) | + * (usage=PropertyUsage ((type=PropertyTypeName default=PropertyDefault?) | (default=PropertyDefault type=PropertyTypeName))) | + * (default=PropertyDefault ((type=PropertyTypeName usage=PropertyUsage) | (usage=PropertyUsage type=PropertyTypeName))) + * ) + * ) + */ + protected void sequence_PropertyDefinition(ISerializationContext context, PropertyDefinition semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyRvalueConstant returns RValue + * + * Constraint: + * (val=RValueConstant | num=NUM | str=STR) + */ + protected void sequence_PropertyRvalueConstant(ISerializationContext context, RValue semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PropertyUsage returns PropertyUsage + * + * Constraint: + * (components+=PropertyComponent components+=PropertyComponent*) + */ + protected void sequence_PropertyUsage(ISerializationContext context, PropertyUsage semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Range returns Range + * + * Constraint: + * ((start=NUM end=NUM) | size=NUM) + */ + protected void sequence_Range(ISerializationContext context, Range semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Root returns Root + * + * Constraint: + * ( + * includes+=Include | + * componentDefinitions+=ComponentDefinition | + * enumDefinitions+=EnumDefinition | + * namedInstantiations+=NamedInstantiation | + * propertyAssignments+=PropertyAssignment | + * propertyDefinitions+=PropertyDefinition + * )+ + */ + protected void sequence_Root(ISerializationContext context, Root semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSyntacticSequencer.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSyntacticSequencer.java new file mode 100644 index 0000000..c48de30 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSyntacticSequencer.java @@ -0,0 +1,77 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.serializer; + +import com.google.inject.Inject; +import com.minres.rdl.services.RDLGrammarAccess; +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; +import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; + +@SuppressWarnings("all") +public class RDLSyntacticSequencer extends AbstractSyntacticSequencer { + + protected RDLGrammarAccess grammarAccess; + protected AbstractElementAlias match_DefaultProperyAssignment_DefaultKeyword_0_q; + protected AbstractElementAlias match_EnumEntry___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q; + + @Inject + protected void init(IGrammarAccess access) { + grammarAccess = (RDLGrammarAccess) access; + match_DefaultProperyAssignment_DefaultKeyword_0_q = new TokenAlias(false, true, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + match_EnumEntry___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2())); + } + + @Override + protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { + return ""; + } + + + @Override + protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { + if (transition.getAmbiguousSyntaxes().isEmpty()) return; + List transitionNodes = collectNodes(fromNode, toNode); + for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { + List syntaxNodes = getNodesFor(transitionNodes, syntax); + if (match_DefaultProperyAssignment_DefaultKeyword_0_q.equals(syntax)) + emit_DefaultProperyAssignment_DefaultKeyword_0_q(semanticObject, getLastNavigableState(), syntaxNodes); + else if (match_EnumEntry___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q.equals(syntax)) + emit_EnumEntry___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes); + else acceptNodes(getLastNavigableState(), syntaxNodes); + } + } + + /** + * Ambiguous syntax: + * 'default'? + * + * This ambiguous syntax occurs at: + * (rule start) (ambiguity) modifier=PropertyModifier + * (rule start) (ambiguity) name=Property + */ + protected void emit_DefaultProperyAssignment_DefaultKeyword_0_q(EObject semanticObject, ISynNavigable transition, List nodes) { + acceptNodes(transition, nodes); + } + + /** + * Ambiguous syntax: + * ('{' '}')? + * + * This ambiguous syntax occurs at: + * index=NUM (ambiguity) ';' (rule end) + */ + protected void emit_EnumEntry___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List nodes) { + acceptNodes(transition, nodes); + } + +} 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 new file mode 100644 index 0000000..11db4f2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/services/RDLGrammarAccess.java @@ -0,0 +1,3991 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.services; + +import com.google.inject.Inject; +import com.google.inject.Singleton; +import java.util.List; +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.EnumLiteralDeclaration; +import org.eclipse.xtext.EnumRule; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +import org.eclipse.xtext.Keyword; +import org.eclipse.xtext.ParserRule; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.TerminalRule; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; + +@Singleton +public class RDLGrammarAccess extends AbstractGrammarElementFinder { + + public class RootElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Root"); + 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); + + //Root: + // (includes+=Include | componentDefinitions+=ComponentDefinition | enumDefinitions+=EnumDefinition | + // namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment | + // propertyDefinitions+=PropertyDefinition)*; + @Override public ParserRule getRule() { return rule; } + + //(includes+=Include | componentDefinitions+=ComponentDefinition | enumDefinitions+=EnumDefinition | + //namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment | + //propertyDefinitions+=PropertyDefinition)* + public Alternatives getAlternatives() { return cAlternatives; } + + //includes+=Include + public Assignment getIncludesAssignment_0() { return cIncludesAssignment_0; } + + //Include + public RuleCall getIncludesIncludeParserRuleCall_0_0() { return cIncludesIncludeParserRuleCall_0_0; } + + //componentDefinitions+=ComponentDefinition + public Assignment getComponentDefinitionsAssignment_1() { return cComponentDefinitionsAssignment_1; } + + //ComponentDefinition + public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_1_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_1_0; } + + //enumDefinitions+=EnumDefinition + public Assignment getEnumDefinitionsAssignment_2() { return cEnumDefinitionsAssignment_2; } + + //EnumDefinition + public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_2_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_2_0; } + + //namedInstantiations+=NamedInstantiation + public Assignment getNamedInstantiationsAssignment_3() { return cNamedInstantiationsAssignment_3; } + + //NamedInstantiation + public RuleCall getNamedInstantiationsNamedInstantiationParserRuleCall_3_0() { return cNamedInstantiationsNamedInstantiationParserRuleCall_3_0; } + + //propertyAssignments+=PropertyAssignment + public Assignment getPropertyAssignmentsAssignment_4() { return cPropertyAssignmentsAssignment_4; } + + //PropertyAssignment + public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0; } + + //propertyDefinitions+=PropertyDefinition + public Assignment getPropertyDefinitionsAssignment_5() { return cPropertyDefinitionsAssignment_5; } + + //PropertyDefinition + public RuleCall getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0() { return cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0; } + } + public class IncludeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Include"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cIncludeKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cImportURIAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cImportURISTRTerminalRuleCall_1_0 = (RuleCall)cImportURIAssignment_1.eContents().get(0); + + //Include: + // '`include' importURI=STR; + @Override public ParserRule getRule() { return rule; } + + //'`include' importURI=STR + public Group getGroup() { return cGroup; } + + //'`include' + public Keyword getIncludeKeyword_0() { return cIncludeKeyword_0; } + + //importURI=STR + public Assignment getImportURIAssignment_1() { return cImportURIAssignment_1; } + + //STR + public RuleCall getImportURISTRTerminalRuleCall_1_0() { return cImportURISTRTerminalRuleCall_1_0; } + } + public class PropertyDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyDefinition"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPropertyKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); + private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0); + private final Keyword cTypeKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); + private final Assignment cTypeAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2); + private final RuleCall cTypePropertyTypeNameEnumRuleCall_3_0_2_0 = (RuleCall)cTypeAssignment_3_0_2.eContents().get(0); + private final Keyword cSemicolonKeyword_3_0_3 = (Keyword)cGroup_3_0.eContents().get(3); + private final Alternatives cAlternatives_3_0_4 = (Alternatives)cGroup_3_0.eContents().get(4); + private final Group cGroup_3_0_4_0 = (Group)cAlternatives_3_0_4.eContents().get(0); + private final Assignment cUsageAssignment_3_0_4_0_0 = (Assignment)cGroup_3_0_4_0.eContents().get(0); + private final RuleCall cUsagePropertyUsageParserRuleCall_3_0_4_0_0_0 = (RuleCall)cUsageAssignment_3_0_4_0_0.eContents().get(0); + private final Assignment cDefaultAssignment_3_0_4_0_1 = (Assignment)cGroup_3_0_4_0.eContents().get(1); + private final RuleCall cDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0 = (RuleCall)cDefaultAssignment_3_0_4_0_1.eContents().get(0); + private final Group cGroup_3_0_4_1 = (Group)cAlternatives_3_0_4.eContents().get(1); + private final Assignment cDefaultAssignment_3_0_4_1_0 = (Assignment)cGroup_3_0_4_1.eContents().get(0); + private final RuleCall cDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0 = (RuleCall)cDefaultAssignment_3_0_4_1_0.eContents().get(0); + private final Assignment cUsageAssignment_3_0_4_1_1 = (Assignment)cGroup_3_0_4_1.eContents().get(1); + private final RuleCall cUsagePropertyUsageParserRuleCall_3_0_4_1_1_0 = (RuleCall)cUsageAssignment_3_0_4_1_1.eContents().get(0); + private final Group cGroup_3_1 = (Group)cAlternatives_3.eContents().get(1); + private final Assignment cUsageAssignment_3_1_0 = (Assignment)cGroup_3_1.eContents().get(0); + private final RuleCall cUsagePropertyUsageParserRuleCall_3_1_0_0 = (RuleCall)cUsageAssignment_3_1_0.eContents().get(0); + private final Alternatives cAlternatives_3_1_1 = (Alternatives)cGroup_3_1.eContents().get(1); + private final Group cGroup_3_1_1_0 = (Group)cAlternatives_3_1_1.eContents().get(0); + private final Keyword cTypeKeyword_3_1_1_0_0 = (Keyword)cGroup_3_1_1_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_1_1_0_1 = (Keyword)cGroup_3_1_1_0.eContents().get(1); + private final Assignment cTypeAssignment_3_1_1_0_2 = (Assignment)cGroup_3_1_1_0.eContents().get(2); + private final RuleCall cTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0 = (RuleCall)cTypeAssignment_3_1_1_0_2.eContents().get(0); + private final Keyword cSemicolonKeyword_3_1_1_0_3 = (Keyword)cGroup_3_1_1_0.eContents().get(3); + private final Assignment cDefaultAssignment_3_1_1_0_4 = (Assignment)cGroup_3_1_1_0.eContents().get(4); + private final RuleCall cDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0 = (RuleCall)cDefaultAssignment_3_1_1_0_4.eContents().get(0); + private final Group cGroup_3_1_1_1 = (Group)cAlternatives_3_1_1.eContents().get(1); + private final Assignment cDefaultAssignment_3_1_1_1_0 = (Assignment)cGroup_3_1_1_1.eContents().get(0); + private final RuleCall cDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0 = (RuleCall)cDefaultAssignment_3_1_1_1_0.eContents().get(0); + private final Keyword cTypeKeyword_3_1_1_1_1 = (Keyword)cGroup_3_1_1_1.eContents().get(1); + private final Keyword cEqualsSignKeyword_3_1_1_1_2 = (Keyword)cGroup_3_1_1_1.eContents().get(2); + private final Assignment cTypeAssignment_3_1_1_1_3 = (Assignment)cGroup_3_1_1_1.eContents().get(3); + private final RuleCall cTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0 = (RuleCall)cTypeAssignment_3_1_1_1_3.eContents().get(0); + private final Keyword cSemicolonKeyword_3_1_1_1_4 = (Keyword)cGroup_3_1_1_1.eContents().get(4); + private final Group cGroup_3_2 = (Group)cAlternatives_3.eContents().get(2); + private final Assignment cDefaultAssignment_3_2_0 = (Assignment)cGroup_3_2.eContents().get(0); + private final RuleCall cDefaultPropertyDefaultParserRuleCall_3_2_0_0 = (RuleCall)cDefaultAssignment_3_2_0.eContents().get(0); + private final Alternatives cAlternatives_3_2_1 = (Alternatives)cGroup_3_2.eContents().get(1); + private final Group cGroup_3_2_1_0 = (Group)cAlternatives_3_2_1.eContents().get(0); + private final Keyword cTypeKeyword_3_2_1_0_0 = (Keyword)cGroup_3_2_1_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_2_1_0_1 = (Keyword)cGroup_3_2_1_0.eContents().get(1); + private final Assignment cTypeAssignment_3_2_1_0_2 = (Assignment)cGroup_3_2_1_0.eContents().get(2); + private final RuleCall cTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0 = (RuleCall)cTypeAssignment_3_2_1_0_2.eContents().get(0); + private final Keyword cSemicolonKeyword_3_2_1_0_3 = (Keyword)cGroup_3_2_1_0.eContents().get(3); + private final Assignment cUsageAssignment_3_2_1_0_4 = (Assignment)cGroup_3_2_1_0.eContents().get(4); + private final RuleCall cUsagePropertyUsageParserRuleCall_3_2_1_0_4_0 = (RuleCall)cUsageAssignment_3_2_1_0_4.eContents().get(0); + private final Group cGroup_3_2_1_1 = (Group)cAlternatives_3_2_1.eContents().get(1); + private final Assignment cUsageAssignment_3_2_1_1_0 = (Assignment)cGroup_3_2_1_1.eContents().get(0); + private final RuleCall cUsagePropertyUsageParserRuleCall_3_2_1_1_0_0 = (RuleCall)cUsageAssignment_3_2_1_1_0.eContents().get(0); + private final Keyword cTypeKeyword_3_2_1_1_1 = (Keyword)cGroup_3_2_1_1.eContents().get(1); + private final Keyword cEqualsSignKeyword_3_2_1_1_2 = (Keyword)cGroup_3_2_1_1.eContents().get(2); + private final Assignment cTypeAssignment_3_2_1_1_3 = (Assignment)cGroup_3_2_1_1.eContents().get(3); + private final RuleCall cTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0 = (RuleCall)cTypeAssignment_3_2_1_1_3.eContents().get(0); + private final Keyword cSemicolonKeyword_3_2_1_1_4 = (Keyword)cGroup_3_2_1_1.eContents().get(4); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + private final Keyword cSemicolonKeyword_5 = (Keyword)cGroup.eContents().get(5); + + //PropertyDefinition: + // 'property' name=ID '{' ("type" '=' type=PropertyTypeName ';' (usage=PropertyUsage default=PropertyDefault? | + // default=PropertyDefault usage=PropertyUsage) | usage=PropertyUsage ("type" '=' type=PropertyTypeName ';' + // default=PropertyDefault? | default=PropertyDefault "type" '=' type=PropertyTypeName ';') | default=PropertyDefault + // ("type" '=' type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' type=PropertyTypeName ';')) + // '}' ';'; + @Override public ParserRule getRule() { return rule; } + + //'property' name=ID '{' ("type" '=' type=PropertyTypeName ';' (usage=PropertyUsage default=PropertyDefault? | + //default=PropertyDefault usage=PropertyUsage) | usage=PropertyUsage ("type" '=' type=PropertyTypeName ';' + //default=PropertyDefault? | default=PropertyDefault "type" '=' type=PropertyTypeName ';') | default=PropertyDefault + //("type" '=' type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' type=PropertyTypeName ';')) + //'}' ';' + public Group getGroup() { return cGroup; } + + //'property' + public Keyword getPropertyKeyword_0() { return cPropertyKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //"type" '=' type=PropertyTypeName ';' (usage=PropertyUsage default=PropertyDefault? | default=PropertyDefault + //usage=PropertyUsage) | usage=PropertyUsage ("type" '=' type=PropertyTypeName ';' default=PropertyDefault? | + //default=PropertyDefault "type" '=' type=PropertyTypeName ';') | default=PropertyDefault ("type" '=' + //type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' type=PropertyTypeName ';') + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //"type" '=' type=PropertyTypeName ';' (usage=PropertyUsage default=PropertyDefault? | default=PropertyDefault + //usage=PropertyUsage) + public Group getGroup_3_0() { return cGroup_3_0; } + + //"type" + public Keyword getTypeKeyword_3_0_0() { return cTypeKeyword_3_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; } + + //type=PropertyTypeName + public Assignment getTypeAssignment_3_0_2() { return cTypeAssignment_3_0_2; } + + //PropertyTypeName + public RuleCall getTypePropertyTypeNameEnumRuleCall_3_0_2_0() { return cTypePropertyTypeNameEnumRuleCall_3_0_2_0; } + + //';' + public Keyword getSemicolonKeyword_3_0_3() { return cSemicolonKeyword_3_0_3; } + + //usage=PropertyUsage default=PropertyDefault? | default=PropertyDefault usage=PropertyUsage + public Alternatives getAlternatives_3_0_4() { return cAlternatives_3_0_4; } + + //usage=PropertyUsage default=PropertyDefault? + public Group getGroup_3_0_4_0() { return cGroup_3_0_4_0; } + + //usage=PropertyUsage + public Assignment getUsageAssignment_3_0_4_0_0() { return cUsageAssignment_3_0_4_0_0; } + + //PropertyUsage + public RuleCall getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0() { return cUsagePropertyUsageParserRuleCall_3_0_4_0_0_0; } + + //default=PropertyDefault? + public Assignment getDefaultAssignment_3_0_4_0_1() { return cDefaultAssignment_3_0_4_0_1; } + + //PropertyDefault + public RuleCall getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0() { return cDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0; } + + //default=PropertyDefault usage=PropertyUsage + public Group getGroup_3_0_4_1() { return cGroup_3_0_4_1; } + + //default=PropertyDefault + public Assignment getDefaultAssignment_3_0_4_1_0() { return cDefaultAssignment_3_0_4_1_0; } + + //PropertyDefault + public RuleCall getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0() { return cDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0; } + + //usage=PropertyUsage + public Assignment getUsageAssignment_3_0_4_1_1() { return cUsageAssignment_3_0_4_1_1; } + + //PropertyUsage + public RuleCall getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0() { return cUsagePropertyUsageParserRuleCall_3_0_4_1_1_0; } + + //usage=PropertyUsage ("type" '=' type=PropertyTypeName ';' default=PropertyDefault? | default=PropertyDefault "type" '=' + //type=PropertyTypeName ';') + public Group getGroup_3_1() { return cGroup_3_1; } + + //usage=PropertyUsage + public Assignment getUsageAssignment_3_1_0() { return cUsageAssignment_3_1_0; } + + //PropertyUsage + public RuleCall getUsagePropertyUsageParserRuleCall_3_1_0_0() { return cUsagePropertyUsageParserRuleCall_3_1_0_0; } + + //"type" '=' type=PropertyTypeName ';' default=PropertyDefault? | default=PropertyDefault "type" '=' type=PropertyTypeName + //';' + public Alternatives getAlternatives_3_1_1() { return cAlternatives_3_1_1; } + + //"type" '=' type=PropertyTypeName ';' default=PropertyDefault? + public Group getGroup_3_1_1_0() { return cGroup_3_1_1_0; } + + //"type" + public Keyword getTypeKeyword_3_1_1_0_0() { return cTypeKeyword_3_1_1_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_1_1_0_1() { return cEqualsSignKeyword_3_1_1_0_1; } + + //type=PropertyTypeName + public Assignment getTypeAssignment_3_1_1_0_2() { return cTypeAssignment_3_1_1_0_2; } + + //PropertyTypeName + public RuleCall getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0() { return cTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0; } + + //';' + public Keyword getSemicolonKeyword_3_1_1_0_3() { return cSemicolonKeyword_3_1_1_0_3; } + + //default=PropertyDefault? + public Assignment getDefaultAssignment_3_1_1_0_4() { return cDefaultAssignment_3_1_1_0_4; } + + //PropertyDefault + public RuleCall getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0() { return cDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0; } + + //default=PropertyDefault "type" '=' type=PropertyTypeName ';' + public Group getGroup_3_1_1_1() { return cGroup_3_1_1_1; } + + //default=PropertyDefault + public Assignment getDefaultAssignment_3_1_1_1_0() { return cDefaultAssignment_3_1_1_1_0; } + + //PropertyDefault + public RuleCall getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0() { return cDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0; } + + //"type" + public Keyword getTypeKeyword_3_1_1_1_1() { return cTypeKeyword_3_1_1_1_1; } + + //'=' + public Keyword getEqualsSignKeyword_3_1_1_1_2() { return cEqualsSignKeyword_3_1_1_1_2; } + + //type=PropertyTypeName + public Assignment getTypeAssignment_3_1_1_1_3() { return cTypeAssignment_3_1_1_1_3; } + + //PropertyTypeName + public RuleCall getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0() { return cTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0; } + + //';' + public Keyword getSemicolonKeyword_3_1_1_1_4() { return cSemicolonKeyword_3_1_1_1_4; } + + //default=PropertyDefault ("type" '=' type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' + //type=PropertyTypeName ';') + public Group getGroup_3_2() { return cGroup_3_2; } + + //default=PropertyDefault + public Assignment getDefaultAssignment_3_2_0() { return cDefaultAssignment_3_2_0; } + + //PropertyDefault + public RuleCall getDefaultPropertyDefaultParserRuleCall_3_2_0_0() { return cDefaultPropertyDefaultParserRuleCall_3_2_0_0; } + + //"type" '=' type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' type=PropertyTypeName ';' + public Alternatives getAlternatives_3_2_1() { return cAlternatives_3_2_1; } + + //"type" '=' type=PropertyTypeName ';' usage=PropertyUsage + public Group getGroup_3_2_1_0() { return cGroup_3_2_1_0; } + + //"type" + public Keyword getTypeKeyword_3_2_1_0_0() { return cTypeKeyword_3_2_1_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_2_1_0_1() { return cEqualsSignKeyword_3_2_1_0_1; } + + //type=PropertyTypeName + public Assignment getTypeAssignment_3_2_1_0_2() { return cTypeAssignment_3_2_1_0_2; } + + //PropertyTypeName + public RuleCall getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0() { return cTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0; } + + //';' + public Keyword getSemicolonKeyword_3_2_1_0_3() { return cSemicolonKeyword_3_2_1_0_3; } + + //usage=PropertyUsage + public Assignment getUsageAssignment_3_2_1_0_4() { return cUsageAssignment_3_2_1_0_4; } + + //PropertyUsage + public RuleCall getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0() { return cUsagePropertyUsageParserRuleCall_3_2_1_0_4_0; } + + //usage=PropertyUsage "type" '=' type=PropertyTypeName ';' + public Group getGroup_3_2_1_1() { return cGroup_3_2_1_1; } + + //usage=PropertyUsage + public Assignment getUsageAssignment_3_2_1_1_0() { return cUsageAssignment_3_2_1_1_0; } + + //PropertyUsage + public RuleCall getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0() { return cUsagePropertyUsageParserRuleCall_3_2_1_1_0_0; } + + //"type" + public Keyword getTypeKeyword_3_2_1_1_1() { return cTypeKeyword_3_2_1_1_1; } + + //'=' + public Keyword getEqualsSignKeyword_3_2_1_1_2() { return cEqualsSignKeyword_3_2_1_1_2; } + + //type=PropertyTypeName + public Assignment getTypeAssignment_3_2_1_1_3() { return cTypeAssignment_3_2_1_1_3; } + + //PropertyTypeName + public RuleCall getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0() { return cTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0; } + + //';' + public Keyword getSemicolonKeyword_3_2_1_1_4() { return cSemicolonKeyword_3_2_1_1_4; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + + //';' + public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; } + } + public class PropertyDefaultElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyDefault"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cDefaultKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); + private final Assignment cStringAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); + private final RuleCall cStringSTRTerminalRuleCall_2_0_0 = (RuleCall)cStringAssignment_2_0.eContents().get(0); + private final Assignment cValueAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); + private final RuleCall cValueNUMTerminalRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0); + private final Assignment cStringAssignment_2_2 = (Assignment)cAlternatives_2.eContents().get(2); + private final Keyword cStringTrueKeyword_2_2_0 = (Keyword)cStringAssignment_2_2.eContents().get(0); + private final Assignment cStringAssignment_2_3 = (Assignment)cAlternatives_2.eContents().get(3); + private final Keyword cStringFalseKeyword_2_3_0 = (Keyword)cStringAssignment_2_3.eContents().get(0); + private final Keyword cSemicolonKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //PropertyDefault: + // "default" '=' (string=STR | value=NUM | string="true" | string="false") ';'; + @Override public ParserRule getRule() { return rule; } + + //"default" '=' (string=STR | value=NUM | string="true" | string="false") ';' + public Group getGroup() { return cGroup; } + + //"default" + public Keyword getDefaultKeyword_0() { return cDefaultKeyword_0; } + + //'=' + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //string=STR | value=NUM | string="true" | string="false" + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //string=STR + public Assignment getStringAssignment_2_0() { return cStringAssignment_2_0; } + + //STR + public RuleCall getStringSTRTerminalRuleCall_2_0_0() { return cStringSTRTerminalRuleCall_2_0_0; } + + //value=NUM + public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; } + + //NUM + public RuleCall getValueNUMTerminalRuleCall_2_1_0() { return cValueNUMTerminalRuleCall_2_1_0; } + + //string="true" + public Assignment getStringAssignment_2_2() { return cStringAssignment_2_2; } + + //"true" + public Keyword getStringTrueKeyword_2_2_0() { return cStringTrueKeyword_2_2_0; } + + //string="false" + public Assignment getStringAssignment_2_3() { return cStringAssignment_2_3; } + + //"false" + public Keyword getStringFalseKeyword_2_3_0() { return cStringFalseKeyword_2_3_0; } + + //';' + public Keyword getSemicolonKeyword_3() { return cSemicolonKeyword_3; } + } + public class PropertyUsageElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyUsage"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cComponentKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cComponentsAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cComponentsPropertyComponentEnumRuleCall_2_0 = (RuleCall)cComponentsAssignment_2.eContents().get(0); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Keyword cVerticalLineKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cComponentsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cComponentsPropertyComponentEnumRuleCall_3_1_0 = (RuleCall)cComponentsAssignment_3_1.eContents().get(0); + private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //PropertyUsage: + // "component" '=' components+=PropertyComponent ('|' components+=PropertyComponent)* ';'; + @Override public ParserRule getRule() { return rule; } + + //"component" '=' components+=PropertyComponent ('|' components+=PropertyComponent)* ';' + public Group getGroup() { return cGroup; } + + //"component" + public Keyword getComponentKeyword_0() { return cComponentKeyword_0; } + + //'=' + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //components+=PropertyComponent + public Assignment getComponentsAssignment_2() { return cComponentsAssignment_2; } + + //PropertyComponent + public RuleCall getComponentsPropertyComponentEnumRuleCall_2_0() { return cComponentsPropertyComponentEnumRuleCall_2_0; } + + //('|' components+=PropertyComponent)* + public Group getGroup_3() { return cGroup_3; } + + //'|' + public Keyword getVerticalLineKeyword_3_0() { return cVerticalLineKeyword_3_0; } + + //components+=PropertyComponent + public Assignment getComponentsAssignment_3_1() { return cComponentsAssignment_3_1; } + + //PropertyComponent + public RuleCall getComponentsPropertyComponentEnumRuleCall_3_1_0() { return cComponentsPropertyComponentEnumRuleCall_3_1_0; } + + //';' + public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } + } + public class ComponentDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ComponentDefinition"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cTypeComponentDefinitionTypeEnumRuleCall_0_0 = (RuleCall)cTypeAssignment_0.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final 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 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? ';'; + @Override public ParserRule getRule() { return rule; } + + //type=ComponentDefinitionType name=ID? '{' (componentDefinitions+=ComponentDefinition | + //namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment | enumDefinitions+=EnumDefinition)* + //'}' immediateInstantiation=ImmediateInstantiation? ';' + public Group getGroup() { return cGroup; } + + //type=ComponentDefinitionType + public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } + + //ComponentDefinitionType + public RuleCall getTypeComponentDefinitionTypeEnumRuleCall_0_0() { return cTypeComponentDefinitionTypeEnumRuleCall_0_0; } + + //name=ID? + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //(componentDefinitions+=ComponentDefinition | namedInstantiations+=NamedInstantiation | + //propertyAssignments+=PropertyAssignment | enumDefinitions+=EnumDefinition)* + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //componentDefinitions+=ComponentDefinition + public Assignment getComponentDefinitionsAssignment_3_0() { return cComponentDefinitionsAssignment_3_0; } + + //ComponentDefinition + public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0; } + + //namedInstantiations+=NamedInstantiation + public Assignment getNamedInstantiationsAssignment_3_1() { return cNamedInstantiationsAssignment_3_1; } + + //NamedInstantiation + public RuleCall getNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0() { return cNamedInstantiationsNamedInstantiationParserRuleCall_3_1_0; } + + //propertyAssignments+=PropertyAssignment + public Assignment getPropertyAssignmentsAssignment_3_2() { return cPropertyAssignmentsAssignment_3_2; } + + //PropertyAssignment + public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0; } + + //enumDefinitions+=EnumDefinition + public Assignment getEnumDefinitionsAssignment_3_3() { return cEnumDefinitionsAssignment_3_3; } + + //EnumDefinition + public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0; } + + //'}' + 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"); + 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 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); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + 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)*; + @Override public ParserRule getRule() { return rule; } + + //external?="external"? 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; } + + //componentInstances+=ComponentInstance + public Assignment getComponentInstancesAssignment_1() { return cComponentInstancesAssignment_1; } + + //ComponentInstance + public RuleCall getComponentInstancesComponentInstanceParserRuleCall_1_0() { return cComponentInstancesComponentInstanceParserRuleCall_1_0; } + + //(',' componentInstances+=ComponentInstance)* + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //componentInstances+=ComponentInstance + public Assignment getComponentInstancesAssignment_2_1() { return cComponentInstancesAssignment_2_1; } + + //ComponentInstance + public RuleCall getComponentInstancesComponentInstanceParserRuleCall_2_1_0() { return cComponentInstancesComponentInstanceParserRuleCall_2_1_0; } + } + public class ComponentInstanceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ComponentInstance"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); + private final Assignment cRangeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cRangeRangeParserRuleCall_1_0 = (RuleCall)cRangeAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cResetAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cResetNUMTerminalRuleCall_2_1_0 = (RuleCall)cResetAssignment_2_1.eContents().get(0); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Keyword cCommercialAtKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cAddressAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cAddressNUMTerminalRuleCall_3_1_0 = (RuleCall)cAddressAssignment_3_1.eContents().get(0); + private final Group cGroup_4 = (Group)cGroup.eContents().get(4); + private final Keyword cPlusSignEqualsSignKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Assignment cAddrIncAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); + private final RuleCall cAddrIncNUMTerminalRuleCall_4_1_0 = (RuleCall)cAddrIncAssignment_4_1.eContents().get(0); + private final Group cGroup_5 = (Group)cGroup.eContents().get(5); + private final Keyword cPercentSignEqualsSignKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); + private final Assignment cAddrModAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); + private final RuleCall cAddrModNUMTerminalRuleCall_5_1_0 = (RuleCall)cAddrModAssignment_5_1.eContents().get(0); + + //ComponentInstance: + // name=ID range=Range? ('=' reset=NUM)? ('@' address=NUM)? ('+=' addrInc=NUM)? ('%=' addrMod=NUM)?; + @Override public ParserRule getRule() { return rule; } + + //name=ID range=Range? ('=' reset=NUM)? ('@' address=NUM)? ('+=' addrInc=NUM)? ('%=' addrMod=NUM)? + public Group getGroup() { return cGroup; } + + //name=ID + public Assignment getNameAssignment_0() { return cNameAssignment_0; } + + //ID + public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } + + //range=Range? + public Assignment getRangeAssignment_1() { return cRangeAssignment_1; } + + //Range + public RuleCall getRangeRangeParserRuleCall_1_0() { return cRangeRangeParserRuleCall_1_0; } + + //('=' reset=NUM)? + public Group getGroup_2() { return cGroup_2; } + + //'=' + public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; } + + //reset=NUM + public Assignment getResetAssignment_2_1() { return cResetAssignment_2_1; } + + //NUM + public RuleCall getResetNUMTerminalRuleCall_2_1_0() { return cResetNUMTerminalRuleCall_2_1_0; } + + //('@' address=NUM)? + public Group getGroup_3() { return cGroup_3; } + + //'@' + public Keyword getCommercialAtKeyword_3_0() { return cCommercialAtKeyword_3_0; } + + //address=NUM + public Assignment getAddressAssignment_3_1() { return cAddressAssignment_3_1; } + + //NUM + public RuleCall getAddressNUMTerminalRuleCall_3_1_0() { return cAddressNUMTerminalRuleCall_3_1_0; } + + //('+=' addrInc=NUM)? + public Group getGroup_4() { return cGroup_4; } + + //'+=' + public Keyword getPlusSignEqualsSignKeyword_4_0() { return cPlusSignEqualsSignKeyword_4_0; } + + //addrInc=NUM + public Assignment getAddrIncAssignment_4_1() { return cAddrIncAssignment_4_1; } + + //NUM + public RuleCall getAddrIncNUMTerminalRuleCall_4_1_0() { return cAddrIncNUMTerminalRuleCall_4_1_0; } + + //('%=' addrMod=NUM)? + public Group getGroup_5() { return cGroup_5; } + + //'%=' + public Keyword getPercentSignEqualsSignKeyword_5_0() { return cPercentSignEqualsSignKeyword_5_0; } + + //addrMod=NUM + public Assignment getAddrModAssignment_5_1() { return cAddrModAssignment_5_1; } + + //NUM + public RuleCall getAddrModNUMTerminalRuleCall_5_1_0() { return cAddrModNUMTerminalRuleCall_5_1_0; } + } + public class RangeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Range"); + private final Group cGroup = (Group)rule.eContents().get(1); + 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 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 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) ']'; + @Override public ParserRule getRule() { return rule; } + + //'[' (start=NUM ':' end=NUM | size=NUM) ']' + public Group getGroup() { return cGroup; } + + //'[' + public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } + + //start=NUM ':' end=NUM | size=NUM + public Alternatives getAlternatives_1() { return cAlternatives_1; } + + //start=NUM ':' end=NUM + public Group getGroup_1_0() { return cGroup_1_0; } + + //start=NUM + public Assignment getStartAssignment_1_0_0() { return cStartAssignment_1_0_0; } + + //NUM + public RuleCall getStartNUMTerminalRuleCall_1_0_0_0() { return cStartNUMTerminalRuleCall_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; } + + //NUM + public RuleCall getEndNUMTerminalRuleCall_1_0_2_0() { return cEndNUMTerminalRuleCall_1_0_2_0; } + + //size=NUM + public Assignment getSizeAssignment_1_1() { return cSizeAssignment_1_1; } + + //NUM + public RuleCall getSizeNUMTerminalRuleCall_1_1_0() { return cSizeNUMTerminalRuleCall_1_1_0; } + + //']' + public Keyword getRightSquareBracketKeyword_2() { return cRightSquareBracketKeyword_2; } + } + public class PropertyAssignmentElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyAssignment"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cDefaultProperyAssignmentParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cExplicitPropertyAssignmentParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cPostPropertyAssignmentParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + + //PropertyAssignment: + // DefaultProperyAssignment | ExplicitPropertyAssignment | PostPropertyAssignment; + @Override public ParserRule getRule() { return rule; } + + //DefaultProperyAssignment | ExplicitPropertyAssignment | PostPropertyAssignment + public Alternatives getAlternatives() { return cAlternatives; } + + //DefaultProperyAssignment + public RuleCall getDefaultProperyAssignmentParserRuleCall_0() { return cDefaultProperyAssignmentParserRuleCall_0; } + + //ExplicitPropertyAssignment + public RuleCall getExplicitPropertyAssignmentParserRuleCall_1() { return cExplicitPropertyAssignmentParserRuleCall_1; } + + //PostPropertyAssignment + public RuleCall getPostPropertyAssignmentParserRuleCall_2() { return cPostPropertyAssignmentParserRuleCall_2; } + } + public class DefaultProperyAssignmentElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.DefaultProperyAssignment"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cDefaultKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final RuleCall cExplicitPropertyAssignmentParserRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + + //DefaultProperyAssignment: + // "default" ExplicitPropertyAssignment; + @Override public ParserRule getRule() { return rule; } + + //"default" ExplicitPropertyAssignment + public Group getGroup() { return cGroup; } + + //"default" + public Keyword getDefaultKeyword_0() { return cDefaultKeyword_0; } + + //ExplicitPropertyAssignment + public RuleCall getExplicitPropertyAssignmentParserRuleCall_1() { return cExplicitPropertyAssignmentParserRuleCall_1; } + } + public class ExplicitPropertyAssignmentElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ExplicitPropertyAssignment"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); + private final Assignment cModifierAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); + 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); + private final Group cGroup_1_1 = (Group)cGroup_1.eContents().get(1); + 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)? ';'; + @Override public ParserRule getRule() { return rule; } + + //modifier=PropertyModifier name=Property ';' | name=Property ('=' rhs=PropertyAssignmentRhs)? ';' + public Alternatives getAlternatives() { return cAlternatives; } + + //modifier=PropertyModifier name=Property ';' + public Group getGroup_0() { return cGroup_0; } + + //modifier=PropertyModifier + public Assignment getModifierAssignment_0_0() { return cModifierAssignment_0_0; } + + //PropertyModifier + public RuleCall getModifierPropertyModifierEnumRuleCall_0_0_0() { return cModifierPropertyModifierEnumRuleCall_0_0_0; } + + //name=Property + public Assignment getNameAssignment_0_1() { return cNameAssignment_0_1; } + + //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)? ';' + public Group getGroup_1() { return cGroup_1; } + + //name=Property + public Assignment getNameAssignment_1_0() { return cNameAssignment_1_0; } + + //Property + public RuleCall getNamePropertyEnumRuleCall_1_0_0() { return cNamePropertyEnumRuleCall_1_0_0; } + + //('=' rhs=PropertyAssignmentRhs)? + public Group getGroup_1_1() { return cGroup_1_1; } + + //'=' + public Keyword getEqualsSignKeyword_1_1_0() { return cEqualsSignKeyword_1_1_0; } + + //rhs=PropertyAssignmentRhs + public Assignment getRhsAssignment_1_1_1() { return cRhsAssignment_1_1_1; } + + //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"); + private final Group cGroup = (Group)rule.eContents().get(1); + 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 cInstanceAssignment_0_0_0 = (Assignment)cGroup_0_0.eContents().get(0); + private final RuleCall cInstanceHierInstanceRefParserRuleCall_0_0_0_0 = (RuleCall)cInstanceAssignment_0_0_0.eContents().get(0); + private final Keyword cHyphenMinusGreaterThanSignKeyword_0_0_1 = (Keyword)cGroup_0_0.eContents().get(1); + private final Alternatives cAlternatives_0_0_2 = (Alternatives)cGroup_0_0.eContents().get(2); + private final Assignment cPropertyEnumAssignment_0_0_2_0 = (Assignment)cAlternatives_0_0_2.eContents().get(0); + private final RuleCall cPropertyEnumPropertyEnumRuleCall_0_0_2_0_0 = (RuleCall)cPropertyEnumAssignment_0_0_2_0.eContents().get(0); + private final Assignment cPropertyAssignment_0_0_2_1 = (Assignment)cAlternatives_0_0_2.eContents().get(1); + private final CrossReference cPropertyPropertyDefinitionCrossReference_0_0_2_1_0 = (CrossReference)cPropertyAssignment_0_0_2_1.eContents().get(0); + private final RuleCall cPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1 = (RuleCall)cPropertyPropertyDefinitionCrossReference_0_0_2_1_0.eContents().get(1); + private final Assignment cPropertyAssignment_0_1 = (Assignment)cAlternatives_0.eContents().get(1); + private final CrossReference cPropertyPropertyDefinitionCrossReference_0_1_0 = (CrossReference)cPropertyAssignment_0_1.eContents().get(0); + private final RuleCall cPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1 = (RuleCall)cPropertyPropertyDefinitionCrossReference_0_1_0.eContents().get(1); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + 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)? ';'; + @Override public ParserRule getRule() { return rule; } + + //(instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) | property=[PropertyDefinition]) + //('=' rhs=PropertyAssignmentRhs)? ';' + public Group getGroup() { return cGroup; } + + //instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) | property=[PropertyDefinition] + public Alternatives getAlternatives_0() { return cAlternatives_0; } + + //instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) + public Group getGroup_0_0() { return cGroup_0_0; } + + //instance=HierInstanceRef + public Assignment getInstanceAssignment_0_0_0() { return cInstanceAssignment_0_0_0; } + + //HierInstanceRef + public RuleCall getInstanceHierInstanceRefParserRuleCall_0_0_0_0() { return cInstanceHierInstanceRefParserRuleCall_0_0_0_0; } + + //'->' + public Keyword getHyphenMinusGreaterThanSignKeyword_0_0_1() { return cHyphenMinusGreaterThanSignKeyword_0_0_1; } + + //propertyEnum=Property | property=[PropertyDefinition] + public Alternatives getAlternatives_0_0_2() { return cAlternatives_0_0_2; } + + //propertyEnum=Property + public Assignment getPropertyEnumAssignment_0_0_2_0() { return cPropertyEnumAssignment_0_0_2_0; } + + //Property + public RuleCall getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0() { return cPropertyEnumPropertyEnumRuleCall_0_0_2_0_0; } + + //property=[PropertyDefinition] + public Assignment getPropertyAssignment_0_0_2_1() { return cPropertyAssignment_0_0_2_1; } + + //[PropertyDefinition] + public CrossReference getPropertyPropertyDefinitionCrossReference_0_0_2_1_0() { return cPropertyPropertyDefinitionCrossReference_0_0_2_1_0; } + + //ID + public RuleCall getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1() { return cPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1; } + + //property=[PropertyDefinition] + public Assignment getPropertyAssignment_0_1() { return cPropertyAssignment_0_1; } + + //[PropertyDefinition] + public CrossReference getPropertyPropertyDefinitionCrossReference_0_1_0() { return cPropertyPropertyDefinitionCrossReference_0_1_0; } + + //ID + public RuleCall getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1() { return cPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1; } + + //('=' rhs=PropertyAssignmentRhs)? + public Group getGroup_1() { return cGroup_1; } + + //'=' + public Keyword getEqualsSignKeyword_1_0() { return cEqualsSignKeyword_1_0; } + + //rhs=PropertyAssignmentRhs + public Assignment getRhsAssignment_1_1() { return cRhsAssignment_1_1; } + + //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"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cInstanceAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cInstanceInstanceRefParserRuleCall_0_0 = (RuleCall)cInstanceAssignment_0.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cHyphenMinusGreaterThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1); + private final Assignment cPropertyEnumAssignment_1_1_0 = (Assignment)cAlternatives_1_1.eContents().get(0); + private final RuleCall cPropertyEnumPropertyEnumRuleCall_1_1_0_0 = (RuleCall)cPropertyEnumAssignment_1_1_0.eContents().get(0); + private final Assignment cPropertyAssignment_1_1_1 = (Assignment)cAlternatives_1_1.eContents().get(1); + private final CrossReference cPropertyPropertyDefinitionCrossReference_1_1_1_0 = (CrossReference)cPropertyAssignment_1_1_1.eContents().get(0); + private final RuleCall cPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1 = (RuleCall)cPropertyPropertyDefinitionCrossReference_1_1_1_0.eContents().get(1); + + //InstancePropertyRef: + // instance=InstanceRef ('->' (propertyEnum=Property | property=[PropertyDefinition]))?; + @Override public ParserRule getRule() { return rule; } + + //instance=InstanceRef ('->' (propertyEnum=Property | property=[PropertyDefinition]))? + public Group getGroup() { return cGroup; } + + //instance=InstanceRef + public Assignment getInstanceAssignment_0() { return cInstanceAssignment_0; } + + //InstanceRef + public RuleCall getInstanceInstanceRefParserRuleCall_0_0() { return cInstanceInstanceRefParserRuleCall_0_0; } + + //('->' (propertyEnum=Property | property=[PropertyDefinition]))? + public Group getGroup_1() { return cGroup_1; } + + //'->' + public Keyword getHyphenMinusGreaterThanSignKeyword_1_0() { return cHyphenMinusGreaterThanSignKeyword_1_0; } + + //propertyEnum=Property | property=[PropertyDefinition] + public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; } + + //propertyEnum=Property + public Assignment getPropertyEnumAssignment_1_1_0() { return cPropertyEnumAssignment_1_1_0; } + + //Property + public RuleCall getPropertyEnumPropertyEnumRuleCall_1_1_0_0() { return cPropertyEnumPropertyEnumRuleCall_1_1_0_0; } + + //property=[PropertyDefinition] + public Assignment getPropertyAssignment_1_1_1() { return cPropertyAssignment_1_1_1; } + + //[PropertyDefinition] + public CrossReference getPropertyPropertyDefinitionCrossReference_1_1_1_0() { return cPropertyPropertyDefinitionCrossReference_1_1_1_0; } + + //ID + public RuleCall getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1() { return cPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1; } + } + public class EntityElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Entity"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cComponentInstanceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + 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 + //Entity: + // ComponentInstance | EnumDefinition | PropertyDefinition; + @Override public ParserRule getRule() { return rule; } + + //ComponentInstance | EnumDefinition | PropertyDefinition + public Alternatives getAlternatives() { return cAlternatives; } + + //ComponentInstance + public RuleCall getComponentInstanceParserRuleCall_0() { return cComponentInstanceParserRuleCall_0; } + + //EnumDefinition + public RuleCall getEnumDefinitionParserRuleCall_1() { return cEnumDefinitionParserRuleCall_1; } + + //PropertyDefinition + public RuleCall getPropertyDefinitionParserRuleCall_2() { return cPropertyDefinitionParserRuleCall_2; } + } + public class InstanceRefElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.InstanceRef"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cInstanceAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cInstanceEntityCrossReference_0_0 = (CrossReference)cInstanceAssignment_0.eContents().get(0); + private final RuleCall cInstanceEntityIDTerminalRuleCall_0_0_1 = (RuleCall)cInstanceEntityCrossReference_0_0.eContents().get(1); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final Assignment cTailAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); + private final RuleCall cTailHierInstanceRefParserRuleCall_1_1_0 = (RuleCall)cTailAssignment_1_1.eContents().get(0); + + //InstanceRef: + // instance=[Entity] ("." tail=HierInstanceRef)?; + @Override public ParserRule getRule() { return rule; } + + //instance=[Entity] ("." tail=HierInstanceRef)? + public Group getGroup() { return cGroup; } + + //instance=[Entity] + public Assignment getInstanceAssignment_0() { return cInstanceAssignment_0; } + + //[Entity] + public CrossReference getInstanceEntityCrossReference_0_0() { return cInstanceEntityCrossReference_0_0; } + + //ID + public RuleCall getInstanceEntityIDTerminalRuleCall_0_0_1() { return cInstanceEntityIDTerminalRuleCall_0_0_1; } + + //("." tail=HierInstanceRef)? + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //tail=HierInstanceRef + public Assignment getTailAssignment_1_1() { return cTailAssignment_1_1; } + + //HierInstanceRef + public RuleCall getTailHierInstanceRefParserRuleCall_1_1_0() { return cTailHierInstanceRefParserRuleCall_1_1_0; } + } + public class HierInstanceRefElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.HierInstanceRef"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cInstanceAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cInstanceComponentInstanceCrossReference_0_0 = (CrossReference)cInstanceAssignment_0.eContents().get(0); + private final RuleCall cInstanceComponentInstanceIDTerminalRuleCall_0_0_1 = (RuleCall)cInstanceComponentInstanceCrossReference_0_0.eContents().get(1); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final Assignment cTailAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); + private final RuleCall cTailHierInstanceRefParserRuleCall_1_1_0 = (RuleCall)cTailAssignment_1_1.eContents().get(0); + + //HierInstanceRef InstanceRef: + // instance=[ComponentInstance] ("." tail=HierInstanceRef)?; + @Override public ParserRule getRule() { return rule; } + + //instance=[ComponentInstance] ("." tail=HierInstanceRef)? + public Group getGroup() { return cGroup; } + + //instance=[ComponentInstance] + public Assignment getInstanceAssignment_0() { return cInstanceAssignment_0; } + + //[ComponentInstance] + public CrossReference getInstanceComponentInstanceCrossReference_0_0() { return cInstanceComponentInstanceCrossReference_0_0; } + + //ID + public RuleCall getInstanceComponentInstanceIDTerminalRuleCall_0_0_1() { return cInstanceComponentInstanceIDTerminalRuleCall_0_0_1; } + + //("." tail=HierInstanceRef)? + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //tail=HierInstanceRef + public Assignment getTailAssignment_1_1() { return cTailAssignment_1_1; } + + //HierInstanceRef + public RuleCall getTailHierInstanceRefParserRuleCall_1_1_0() { return cTailHierInstanceRefParserRuleCall_1_1_0; } + } + public class PropertyAssignmentRhsElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyAssignmentRhs"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final Assignment cValueAssignment_0 = (Assignment)cAlternatives.eContents().get(0); + private final RuleCall cValuePropertyRvalueConstantParserRuleCall_0_0 = (RuleCall)cValueAssignment_0.eContents().get(0); + private final Assignment cInstPropRefAssignment_1 = (Assignment)cAlternatives.eContents().get(1); + private final RuleCall cInstPropRefInstancePropertyRefParserRuleCall_1_0 = (RuleCall)cInstPropRefAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2); + private final Assignment cEnumRefAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final CrossReference cEnumRefEnumDefinitionCrossReference_2_0_0 = (CrossReference)cEnumRefAssignment_2_0.eContents().get(0); + private final RuleCall cEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1 = (RuleCall)cEnumRefEnumDefinitionCrossReference_2_0_0.eContents().get(1); + private final Keyword cEnumKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cEnumsAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cEnumsEnumBodyParserRuleCall_2_2_0 = (RuleCall)cEnumsAssignment_2_2.eContents().get(0); + private final Assignment cElementsAssignment_3 = (Assignment)cAlternatives.eContents().get(3); + private final RuleCall cElementsConcatParserRuleCall_3_0 = (RuleCall)cElementsAssignment_3.eContents().get(0); + + //PropertyAssignmentRhs: + // value=PropertyRvalueConstant | instPropRef=InstancePropertyRef | enumRef=[EnumDefinition] + // "enum" enums=EnumBody | elements=Concat; + @Override public ParserRule getRule() { return rule; } + + //value=PropertyRvalueConstant | instPropRef=InstancePropertyRef | enumRef=[EnumDefinition] "enum" enums=EnumBody | + //elements=Concat + public Alternatives getAlternatives() { return cAlternatives; } + + //value=PropertyRvalueConstant + public Assignment getValueAssignment_0() { return cValueAssignment_0; } + + //PropertyRvalueConstant + public RuleCall getValuePropertyRvalueConstantParserRuleCall_0_0() { return cValuePropertyRvalueConstantParserRuleCall_0_0; } + + //instPropRef=InstancePropertyRef + public Assignment getInstPropRefAssignment_1() { return cInstPropRefAssignment_1; } + + //InstancePropertyRef + public RuleCall getInstPropRefInstancePropertyRefParserRuleCall_1_0() { return cInstPropRefInstancePropertyRefParserRuleCall_1_0; } + + //enumRef=[EnumDefinition] "enum" enums=EnumBody + public Group getGroup_2() { return cGroup_2; } + + //enumRef=[EnumDefinition] + public Assignment getEnumRefAssignment_2_0() { return cEnumRefAssignment_2_0; } + + //[EnumDefinition] + public CrossReference getEnumRefEnumDefinitionCrossReference_2_0_0() { return cEnumRefEnumDefinitionCrossReference_2_0_0; } + + //ID + public RuleCall getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1() { return cEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1; } + + //"enum" + public Keyword getEnumKeyword_2_1() { return cEnumKeyword_2_1; } + + //enums=EnumBody + public Assignment getEnumsAssignment_2_2() { return cEnumsAssignment_2_2; } + + //EnumBody + public RuleCall getEnumsEnumBodyParserRuleCall_2_2_0() { return cEnumsEnumBodyParserRuleCall_2_2_0; } + + //elements=Concat + public Assignment getElementsAssignment_3() { return cElementsAssignment_3; } + + //Concat + public RuleCall getElementsConcatParserRuleCall_3_0() { return cElementsConcatParserRuleCall_3_0; } + } + public class ConcatElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Concat"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cElementsAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cElementsConcatElemParserRuleCall_1_0 = (RuleCall)cElementsAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cElementsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cElementsConcatElemParserRuleCall_2_1_0 = (RuleCall)cElementsAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //Concat: + // '{' elements+=ConcatElem (',' elements+=ConcatElem)* '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' elements+=ConcatElem (',' elements+=ConcatElem)* '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //elements+=ConcatElem + public Assignment getElementsAssignment_1() { return cElementsAssignment_1; } + + //ConcatElem + public RuleCall getElementsConcatElemParserRuleCall_1_0() { return cElementsConcatElemParserRuleCall_1_0; } + + //(',' elements+=ConcatElem)* + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //elements+=ConcatElem + public Assignment getElementsAssignment_2_1() { return cElementsAssignment_2_1; } + + //ConcatElem + public RuleCall getElementsConcatElemParserRuleCall_2_1_0() { return cElementsConcatElemParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class ConcatElemElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ConcatElem"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final Assignment cInstPropRefAssignment_0 = (Assignment)cAlternatives.eContents().get(0); + private final RuleCall cInstPropRefInstancePropertyRefParserRuleCall_0_0 = (RuleCall)cInstPropRefAssignment_0.eContents().get(0); + private final Assignment cValueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); + private final RuleCall cValueNUMTerminalRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); + + //ConcatElem: + // instPropRef=InstancePropertyRef | value=NUM; + @Override public ParserRule getRule() { return rule; } + + //instPropRef=InstancePropertyRef | value=NUM + public Alternatives getAlternatives() { return cAlternatives; } + + //instPropRef=InstancePropertyRef + public Assignment getInstPropRefAssignment_0() { return cInstPropRefAssignment_0; } + + //InstancePropertyRef + public RuleCall getInstPropRefInstancePropertyRefParserRuleCall_0_0() { return cInstPropRefInstancePropertyRefParserRuleCall_0_0; } + + //value=NUM + public Assignment getValueAssignment_1() { return cValueAssignment_1; } + + //NUM + public RuleCall getValueNUMTerminalRuleCall_1_0() { return cValueNUMTerminalRuleCall_1_0; } + } + public class PropertyRvalueConstantElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyRvalueConstant"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final Assignment cValAssignment_0 = (Assignment)cAlternatives.eContents().get(0); + private final RuleCall cValRValueConstantEnumRuleCall_0_0 = (RuleCall)cValAssignment_0.eContents().get(0); + private final Assignment cNumAssignment_1 = (Assignment)cAlternatives.eContents().get(1); + private final RuleCall cNumNUMTerminalRuleCall_1_0 = (RuleCall)cNumAssignment_1.eContents().get(0); + private final Assignment cStrAssignment_2 = (Assignment)cAlternatives.eContents().get(2); + private final RuleCall cStrSTRTerminalRuleCall_2_0 = (RuleCall)cStrAssignment_2.eContents().get(0); + + //PropertyRvalueConstant RValue: + // val=RValueConstant | num=NUM | str=STR; + @Override public ParserRule getRule() { return rule; } + + //val=RValueConstant | num=NUM | str=STR + public Alternatives getAlternatives() { return cAlternatives; } + + //val=RValueConstant + public Assignment getValAssignment_0() { return cValAssignment_0; } + + //RValueConstant + public RuleCall getValRValueConstantEnumRuleCall_0_0() { return cValRValueConstantEnumRuleCall_0_0; } + + //num=NUM + public Assignment getNumAssignment_1() { return cNumAssignment_1; } + + //NUM + public RuleCall getNumNUMTerminalRuleCall_1_0() { return cNumNUMTerminalRuleCall_1_0; } + + //str=STR + public Assignment getStrAssignment_2() { return cStrAssignment_2; } + + //STR + public RuleCall getStrSTRTerminalRuleCall_2_0() { return cStrSTRTerminalRuleCall_2_0; } + } + public class EnumDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.EnumDefinition"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cEnumKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final 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 ';'; + @Override public ParserRule getRule() { return rule; } + + //"enum" name=ID body=EnumBody ';' + public Group getGroup() { return cGroup; } + + //"enum" + public Keyword getEnumKeyword_0() { return cEnumKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //body=EnumBody + public Assignment getBodyAssignment_2() { return cBodyAssignment_2; } + + //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"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Action cEnumBodyAction_1 = (Action)cGroup.eContents().get(1); + private final Assignment cEntriesAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cEntriesEnumEntryParserRuleCall_2_0 = (RuleCall)cEntriesAssignment_2.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //EnumBody: + // '{' {EnumBody} entries+=EnumEntry* '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' {EnumBody} entries+=EnumEntry* '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //{EnumBody} + public Action getEnumBodyAction_1() { return cEnumBodyAction_1; } + + //entries+=EnumEntry* + public Assignment getEntriesAssignment_2() { return cEntriesAssignment_2; } + + //EnumEntry + public RuleCall getEntriesEnumEntryParserRuleCall_2_0() { return cEntriesEnumEntryParserRuleCall_2_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class EnumEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.EnumEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cIndexAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cIndexNUMTerminalRuleCall_2_0 = (RuleCall)cIndexAssignment_2.eContents().get(0); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cPropertiesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cPropertiesEnumPropertyParserRuleCall_3_1_0 = (RuleCall)cPropertiesAssignment_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2); + private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //EnumEntry: + // name=ID '=' index=NUM ('{' properties+=EnumProperty* '}')? ';'; + @Override public ParserRule getRule() { return rule; } + + //name=ID '=' index=NUM ('{' properties+=EnumProperty* '}')? ';' + public Group getGroup() { return cGroup; } + + //name=ID + public Assignment getNameAssignment_0() { return cNameAssignment_0; } + + //ID + public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //index=NUM + public Assignment getIndexAssignment_2() { return cIndexAssignment_2; } + + //NUM + public RuleCall getIndexNUMTerminalRuleCall_2_0() { return cIndexNUMTerminalRuleCall_2_0; } + + //('{' properties+=EnumProperty* '}')? + public Group getGroup_3() { return cGroup_3; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; } + + //properties+=EnumProperty* + public Assignment getPropertiesAssignment_3_1() { return cPropertiesAssignment_3_1; } + + //EnumProperty + public RuleCall getPropertiesEnumPropertyParserRuleCall_3_1_0() { return cPropertiesEnumPropertyParserRuleCall_3_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; } + + //';' + public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; } + } + public class EnumPropertyElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.EnumProperty"); + private final Group cGroup = (Group)rule.eContents().get(1); + 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 cNameAssignment_0_0_0 = (Assignment)cGroup_0_0.eContents().get(0); + private final Keyword cNameNameKeyword_0_0_0_0 = (Keyword)cNameAssignment_0_0_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_0_0_1 = (Keyword)cGroup_0_0.eContents().get(1); + private final Assignment cValueAssignment_0_0_2 = (Assignment)cGroup_0_0.eContents().get(2); + private final RuleCall cValueSTRTerminalRuleCall_0_0_2_0 = (RuleCall)cValueAssignment_0_0_2.eContents().get(0); + private final Group cGroup_0_1 = (Group)cAlternatives_0.eContents().get(1); + private final Assignment cNameAssignment_0_1_0 = (Assignment)cGroup_0_1.eContents().get(0); + private final Keyword cNameDescKeyword_0_1_0_0 = (Keyword)cNameAssignment_0_1_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_0_1_1 = (Keyword)cGroup_0_1.eContents().get(1); + private final Assignment cValueAssignment_0_1_2 = (Assignment)cGroup_0_1.eContents().get(2); + private final RuleCall cValueSTRTerminalRuleCall_0_1_2_0 = (RuleCall)cValueAssignment_0_1_2.eContents().get(0); + private final Keyword cSemicolonKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //EnumProperty: + // (name='name' '=' value=STR | name='desc' '=' value=STR) ';'; + @Override public ParserRule getRule() { return rule; } + + //(name='name' '=' value=STR | name='desc' '=' value=STR) ';' + public Group getGroup() { return cGroup; } + + //name='name' '=' value=STR | name='desc' '=' value=STR + public Alternatives getAlternatives_0() { return cAlternatives_0; } + + //name='name' '=' value=STR + public Group getGroup_0_0() { return cGroup_0_0; } + + //name='name' + public Assignment getNameAssignment_0_0_0() { return cNameAssignment_0_0_0; } + + //'name' + public Keyword getNameNameKeyword_0_0_0_0() { return cNameNameKeyword_0_0_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_0_0_1() { return cEqualsSignKeyword_0_0_1; } + + //value=STR + public Assignment getValueAssignment_0_0_2() { return cValueAssignment_0_0_2; } + + //STR + public RuleCall getValueSTRTerminalRuleCall_0_0_2_0() { return cValueSTRTerminalRuleCall_0_0_2_0; } + + //name='desc' '=' value=STR + public Group getGroup_0_1() { return cGroup_0_1; } + + //name='desc' + public Assignment getNameAssignment_0_1_0() { return cNameAssignment_0_1_0; } + + //'desc' + public Keyword getNameDescKeyword_0_1_0_0() { return cNameDescKeyword_0_1_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_0_1_1() { return cEqualsSignKeyword_0_1_1; } + + //value=STR + public Assignment getValueAssignment_0_1_2() { return cValueAssignment_0_1_2; } + + //STR + public RuleCall getValueSTRTerminalRuleCall_0_1_2_0() { return cValueSTRTerminalRuleCall_0_1_2_0; } + + //';' + public Keyword getSemicolonKeyword_1() { return cSemicolonKeyword_1; } + } + + public class PropertyTypeNameElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyTypeName"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cSTRINGEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cSTRINGStringKeyword_0_0 = (Keyword)cSTRINGEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cNUMBEREnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cNUMBERNumberKeyword_1_0 = (Keyword)cNUMBEREnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cBOOLEANEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cBOOLEANBooleanKeyword_2_0 = (Keyword)cBOOLEANEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cADDRMAPEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cADDRMAPAddrmapKeyword_3_0 = (Keyword)cADDRMAPEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cREGEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cREGRegKeyword_4_0 = (Keyword)cREGEnumLiteralDeclaration_4.eContents().get(0); + private final EnumLiteralDeclaration cREGFILEEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cREGFILERegfileKeyword_5_0 = (Keyword)cREGFILEEnumLiteralDeclaration_5.eContents().get(0); + private final EnumLiteralDeclaration cFIELDEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); + private final Keyword cFIELDFieldKeyword_6_0 = (Keyword)cFIELDEnumLiteralDeclaration_6.eContents().get(0); + private final EnumLiteralDeclaration cREFEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); + private final Keyword cREFRefKeyword_7_0 = (Keyword)cREFEnumLiteralDeclaration_7.eContents().get(0); + + //enum PropertyTypeName: + // STRING="string" | NUMBER="number" | BOOLEAN="boolean" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | + // FIELD="field" | REF="ref"; + public EnumRule getRule() { return rule; } + + //STRING="string" | NUMBER="number" | BOOLEAN="boolean" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | + //FIELD="field" | REF="ref" + public Alternatives getAlternatives() { return cAlternatives; } + + //STRING="string" + public EnumLiteralDeclaration getSTRINGEnumLiteralDeclaration_0() { return cSTRINGEnumLiteralDeclaration_0; } + + //"string" + public Keyword getSTRINGStringKeyword_0_0() { return cSTRINGStringKeyword_0_0; } + + //NUMBER="number" + public EnumLiteralDeclaration getNUMBEREnumLiteralDeclaration_1() { return cNUMBEREnumLiteralDeclaration_1; } + + //"number" + public Keyword getNUMBERNumberKeyword_1_0() { return cNUMBERNumberKeyword_1_0; } + + //BOOLEAN="boolean" + public EnumLiteralDeclaration getBOOLEANEnumLiteralDeclaration_2() { return cBOOLEANEnumLiteralDeclaration_2; } + + //"boolean" + public Keyword getBOOLEANBooleanKeyword_2_0() { return cBOOLEANBooleanKeyword_2_0; } + + //ADDRMAP="addrmap" + public EnumLiteralDeclaration getADDRMAPEnumLiteralDeclaration_3() { return cADDRMAPEnumLiteralDeclaration_3; } + + //"addrmap" + public Keyword getADDRMAPAddrmapKeyword_3_0() { return cADDRMAPAddrmapKeyword_3_0; } + + //REG="reg" + public EnumLiteralDeclaration getREGEnumLiteralDeclaration_4() { return cREGEnumLiteralDeclaration_4; } + + //"reg" + public Keyword getREGRegKeyword_4_0() { return cREGRegKeyword_4_0; } + + //REGFILE="regfile" + public EnumLiteralDeclaration getREGFILEEnumLiteralDeclaration_5() { return cREGFILEEnumLiteralDeclaration_5; } + + //"regfile" + public Keyword getREGFILERegfileKeyword_5_0() { return cREGFILERegfileKeyword_5_0; } + + //FIELD="field" + public EnumLiteralDeclaration getFIELDEnumLiteralDeclaration_6() { return cFIELDEnumLiteralDeclaration_6; } + + //"field" + public Keyword getFIELDFieldKeyword_6_0() { return cFIELDFieldKeyword_6_0; } + + //REF="ref" + public EnumLiteralDeclaration getREFEnumLiteralDeclaration_7() { return cREFEnumLiteralDeclaration_7; } + + //"ref" + public Keyword getREFRefKeyword_7_0() { return cREFRefKeyword_7_0; } + } + public class PropertyComponentElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyComponent"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cSIGNALEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cSIGNALSignalKeyword_0_0 = (Keyword)cSIGNALEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cADDRMAPEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cADDRMAPAddrmapKeyword_1_0 = (Keyword)cADDRMAPEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cREGEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cREGRegKeyword_2_0 = (Keyword)cREGEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cREGFILEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cREGFILERegfileKeyword_3_0 = (Keyword)cREGFILEEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cFIELDEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cFIELDFieldKeyword_4_0 = (Keyword)cFIELDEnumLiteralDeclaration_4.eContents().get(0); + private final EnumLiteralDeclaration cALLEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cALLAllKeyword_5_0 = (Keyword)cALLEnumLiteralDeclaration_5.eContents().get(0); + + //enum PropertyComponent: + // SIGNAL="signal" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | FIELD="field" | ALL="all"; + public EnumRule getRule() { return rule; } + + //SIGNAL="signal" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | FIELD="field" | ALL="all" + public Alternatives getAlternatives() { return cAlternatives; } + + //SIGNAL="signal" + public EnumLiteralDeclaration getSIGNALEnumLiteralDeclaration_0() { return cSIGNALEnumLiteralDeclaration_0; } + + //"signal" + public Keyword getSIGNALSignalKeyword_0_0() { return cSIGNALSignalKeyword_0_0; } + + //ADDRMAP="addrmap" + public EnumLiteralDeclaration getADDRMAPEnumLiteralDeclaration_1() { return cADDRMAPEnumLiteralDeclaration_1; } + + //"addrmap" + public Keyword getADDRMAPAddrmapKeyword_1_0() { return cADDRMAPAddrmapKeyword_1_0; } + + //REG="reg" + public EnumLiteralDeclaration getREGEnumLiteralDeclaration_2() { return cREGEnumLiteralDeclaration_2; } + + //"reg" + public Keyword getREGRegKeyword_2_0() { return cREGRegKeyword_2_0; } + + //REGFILE="regfile" + public EnumLiteralDeclaration getREGFILEEnumLiteralDeclaration_3() { return cREGFILEEnumLiteralDeclaration_3; } + + //"regfile" + public Keyword getREGFILERegfileKeyword_3_0() { return cREGFILERegfileKeyword_3_0; } + + //FIELD="field" + public EnumLiteralDeclaration getFIELDEnumLiteralDeclaration_4() { return cFIELDEnumLiteralDeclaration_4; } + + //"field" + public Keyword getFIELDFieldKeyword_4_0() { return cFIELDFieldKeyword_4_0; } + + //ALL="all" + public EnumLiteralDeclaration getALLEnumLiteralDeclaration_5() { return cALLEnumLiteralDeclaration_5; } + + //"all" + public Keyword getALLAllKeyword_5_0() { return cALLAllKeyword_5_0; } + } + public class ComponentDefinitionTypeElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ComponentDefinitionType"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cSIGNALEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cSIGNALSignalKeyword_0_0 = (Keyword)cSIGNALEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cADDRMAPEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cADDRMAPAddrmapKeyword_1_0 = (Keyword)cADDRMAPEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cREGFILEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cREGFILERegfileKeyword_2_0 = (Keyword)cREGFILEEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cREGEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cREGRegKeyword_3_0 = (Keyword)cREGEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cFIELDEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cFIELDFieldKeyword_4_0 = (Keyword)cFIELDEnumLiteralDeclaration_4.eContents().get(0); + + //enum ComponentDefinitionType: + // SIGNAL="signal" | ADDRMAP="addrmap" | REGFILE="regfile" | REG="reg" | FIELD="field"; + public EnumRule getRule() { return rule; } + + //SIGNAL="signal" | ADDRMAP="addrmap" | REGFILE="regfile" | REG="reg" | FIELD="field" + public Alternatives getAlternatives() { return cAlternatives; } + + //SIGNAL="signal" + public EnumLiteralDeclaration getSIGNALEnumLiteralDeclaration_0() { return cSIGNALEnumLiteralDeclaration_0; } + + //"signal" + public Keyword getSIGNALSignalKeyword_0_0() { return cSIGNALSignalKeyword_0_0; } + + //ADDRMAP="addrmap" + public EnumLiteralDeclaration getADDRMAPEnumLiteralDeclaration_1() { return cADDRMAPEnumLiteralDeclaration_1; } + + //"addrmap" + public Keyword getADDRMAPAddrmapKeyword_1_0() { return cADDRMAPAddrmapKeyword_1_0; } + + //REGFILE="regfile" + public EnumLiteralDeclaration getREGFILEEnumLiteralDeclaration_2() { return cREGFILEEnumLiteralDeclaration_2; } + + //"regfile" + public Keyword getREGFILERegfileKeyword_2_0() { return cREGFILERegfileKeyword_2_0; } + + //REG="reg" + public EnumLiteralDeclaration getREGEnumLiteralDeclaration_3() { return cREGEnumLiteralDeclaration_3; } + + //"reg" + public Keyword getREGRegKeyword_3_0() { return cREGRegKeyword_3_0; } + + //FIELD="field" + public EnumLiteralDeclaration getFIELDEnumLiteralDeclaration_4() { return cFIELDEnumLiteralDeclaration_4; } + + //"field" + public Keyword getFIELDFieldKeyword_4_0() { return cFIELDFieldKeyword_4_0; } + } + public class PropertyEnumElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyEnum"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cUNSPECIFIEDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cUNSPECIFIEDUNSPECIFIEDKeyword_0_0 = (Keyword)cUNSPECIFIEDEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cNAMEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cNAMENameKeyword_1_0 = (Keyword)cNAMEEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cDESCEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cDESCDescKeyword_2_0 = (Keyword)cDESCEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cARBITEREnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cARBITERArbiterKeyword_3_0 = (Keyword)cARBITEREnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cRSETEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cRSETRsetKeyword_4_0 = (Keyword)cRSETEnumLiteralDeclaration_4.eContents().get(0); + private final EnumLiteralDeclaration cRCLREnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cRCLRRclrKeyword_5_0 = (Keyword)cRCLREnumLiteralDeclaration_5.eContents().get(0); + private final EnumLiteralDeclaration cWOCLREnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); + private final Keyword cWOCLRWoclrKeyword_6_0 = (Keyword)cWOCLREnumLiteralDeclaration_6.eContents().get(0); + private final EnumLiteralDeclaration cWOSETEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); + private final Keyword cWOSETWosetKeyword_7_0 = (Keyword)cWOSETEnumLiteralDeclaration_7.eContents().get(0); + private final EnumLiteralDeclaration cWEEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); + private final Keyword cWEWeKeyword_8_0 = (Keyword)cWEEnumLiteralDeclaration_8.eContents().get(0); + private final EnumLiteralDeclaration cWELEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); + private final Keyword cWELWelKeyword_9_0 = (Keyword)cWELEnumLiteralDeclaration_9.eContents().get(0); + private final EnumLiteralDeclaration cSWWEEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); + private final Keyword cSWWESwweKeyword_10_0 = (Keyword)cSWWEEnumLiteralDeclaration_10.eContents().get(0); + private final EnumLiteralDeclaration cSWWELEnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); + private final Keyword cSWWELSwwelKeyword_11_0 = (Keyword)cSWWELEnumLiteralDeclaration_11.eContents().get(0); + private final EnumLiteralDeclaration cHWSETEnumLiteralDeclaration_12 = (EnumLiteralDeclaration)cAlternatives.eContents().get(12); + private final Keyword cHWSETHwsetKeyword_12_0 = (Keyword)cHWSETEnumLiteralDeclaration_12.eContents().get(0); + private final EnumLiteralDeclaration cHWCLREnumLiteralDeclaration_13 = (EnumLiteralDeclaration)cAlternatives.eContents().get(13); + private final Keyword cHWCLRHwclrKeyword_13_0 = (Keyword)cHWCLREnumLiteralDeclaration_13.eContents().get(0); + private final EnumLiteralDeclaration cSWMODEnumLiteralDeclaration_14 = (EnumLiteralDeclaration)cAlternatives.eContents().get(14); + private final Keyword cSWMODSwmodKeyword_14_0 = (Keyword)cSWMODEnumLiteralDeclaration_14.eContents().get(0); + private final EnumLiteralDeclaration cSWACCEnumLiteralDeclaration_15 = (EnumLiteralDeclaration)cAlternatives.eContents().get(15); + private final Keyword cSWACCSwaccKeyword_15_0 = (Keyword)cSWACCEnumLiteralDeclaration_15.eContents().get(0); + private final EnumLiteralDeclaration cSTICKYEnumLiteralDeclaration_16 = (EnumLiteralDeclaration)cAlternatives.eContents().get(16); + private final Keyword cSTICKYStickyKeyword_16_0 = (Keyword)cSTICKYEnumLiteralDeclaration_16.eContents().get(0); + private final EnumLiteralDeclaration cSTICKYBITEnumLiteralDeclaration_17 = (EnumLiteralDeclaration)cAlternatives.eContents().get(17); + private final Keyword cSTICKYBITStickybitKeyword_17_0 = (Keyword)cSTICKYBITEnumLiteralDeclaration_17.eContents().get(0); + private final EnumLiteralDeclaration cINTREnumLiteralDeclaration_18 = (EnumLiteralDeclaration)cAlternatives.eContents().get(18); + private final Keyword cINTRIntrKeyword_18_0 = (Keyword)cINTREnumLiteralDeclaration_18.eContents().get(0); + private final EnumLiteralDeclaration cANDEDEnumLiteralDeclaration_19 = (EnumLiteralDeclaration)cAlternatives.eContents().get(19); + private final Keyword cANDEDAndedKeyword_19_0 = (Keyword)cANDEDEnumLiteralDeclaration_19.eContents().get(0); + private final EnumLiteralDeclaration cOREDEnumLiteralDeclaration_20 = (EnumLiteralDeclaration)cAlternatives.eContents().get(20); + private final Keyword cOREDOredKeyword_20_0 = (Keyword)cOREDEnumLiteralDeclaration_20.eContents().get(0); + private final EnumLiteralDeclaration cXOREDEnumLiteralDeclaration_21 = (EnumLiteralDeclaration)cAlternatives.eContents().get(21); + private final Keyword cXOREDXoredKeyword_21_0 = (Keyword)cXOREDEnumLiteralDeclaration_21.eContents().get(0); + private final EnumLiteralDeclaration cCOUNTEREnumLiteralDeclaration_22 = (EnumLiteralDeclaration)cAlternatives.eContents().get(22); + private final Keyword cCOUNTERCounterKeyword_22_0 = (Keyword)cCOUNTEREnumLiteralDeclaration_22.eContents().get(0); + private final EnumLiteralDeclaration cOVERFLOWEnumLiteralDeclaration_23 = (EnumLiteralDeclaration)cAlternatives.eContents().get(23); + private final Keyword cOVERFLOWOverflowKeyword_23_0 = (Keyword)cOVERFLOWEnumLiteralDeclaration_23.eContents().get(0); + private final EnumLiteralDeclaration cSHAREDEXTBUSEnumLiteralDeclaration_24 = (EnumLiteralDeclaration)cAlternatives.eContents().get(24); + private final Keyword cSHAREDEXTBUSSharedextbusKeyword_24_0 = (Keyword)cSHAREDEXTBUSEnumLiteralDeclaration_24.eContents().get(0); + private final EnumLiteralDeclaration cERREXTBUSEnumLiteralDeclaration_25 = (EnumLiteralDeclaration)cAlternatives.eContents().get(25); + private final Keyword cERREXTBUSErrextbusKeyword_25_0 = (Keyword)cERREXTBUSEnumLiteralDeclaration_25.eContents().get(0); + private final EnumLiteralDeclaration cRESETEnumLiteralDeclaration_26 = (EnumLiteralDeclaration)cAlternatives.eContents().get(26); + private final Keyword cRESETResetKeyword_26_0 = (Keyword)cRESETEnumLiteralDeclaration_26.eContents().get(0); + private final EnumLiteralDeclaration cLITTLEENDIANEnumLiteralDeclaration_27 = (EnumLiteralDeclaration)cAlternatives.eContents().get(27); + private final Keyword cLITTLEENDIANLittleendianKeyword_27_0 = (Keyword)cLITTLEENDIANEnumLiteralDeclaration_27.eContents().get(0); + private final EnumLiteralDeclaration cBIGENDIANEnumLiteralDeclaration_28 = (EnumLiteralDeclaration)cAlternatives.eContents().get(28); + private final Keyword cBIGENDIANBigendianKeyword_28_0 = (Keyword)cBIGENDIANEnumLiteralDeclaration_28.eContents().get(0); + private final EnumLiteralDeclaration cRSVDSETEnumLiteralDeclaration_29 = (EnumLiteralDeclaration)cAlternatives.eContents().get(29); + private final Keyword cRSVDSETRsvdsetKeyword_29_0 = (Keyword)cRSVDSETEnumLiteralDeclaration_29.eContents().get(0); + private final EnumLiteralDeclaration cRSVDSETXEnumLiteralDeclaration_30 = (EnumLiteralDeclaration)cAlternatives.eContents().get(30); + private final Keyword cRSVDSETXRsvdsetXKeyword_30_0 = (Keyword)cRSVDSETXEnumLiteralDeclaration_30.eContents().get(0); + private final EnumLiteralDeclaration cBRIDGEEnumLiteralDeclaration_31 = (EnumLiteralDeclaration)cAlternatives.eContents().get(31); + private final Keyword cBRIDGEBridgeKeyword_31_0 = (Keyword)cBRIDGEEnumLiteralDeclaration_31.eContents().get(0); + private final EnumLiteralDeclaration cSHAREDEnumLiteralDeclaration_32 = (EnumLiteralDeclaration)cAlternatives.eContents().get(32); + private final Keyword cSHAREDSharedKeyword_32_0 = (Keyword)cSHAREDEnumLiteralDeclaration_32.eContents().get(0); + private final EnumLiteralDeclaration cMSB0EnumLiteralDeclaration_33 = (EnumLiteralDeclaration)cAlternatives.eContents().get(33); + private final Keyword cMSB0Msb0Keyword_33_0 = (Keyword)cMSB0EnumLiteralDeclaration_33.eContents().get(0); + private final EnumLiteralDeclaration cLSB0EnumLiteralDeclaration_34 = (EnumLiteralDeclaration)cAlternatives.eContents().get(34); + private final Keyword cLSB0Lsb0Keyword_34_0 = (Keyword)cLSB0EnumLiteralDeclaration_34.eContents().get(0); + private final EnumLiteralDeclaration cSYNCEnumLiteralDeclaration_35 = (EnumLiteralDeclaration)cAlternatives.eContents().get(35); + private final Keyword cSYNCSyncKeyword_35_0 = (Keyword)cSYNCEnumLiteralDeclaration_35.eContents().get(0); + private final EnumLiteralDeclaration cASYNCEnumLiteralDeclaration_36 = (EnumLiteralDeclaration)cAlternatives.eContents().get(36); + private final Keyword cASYNCAsyncKeyword_36_0 = (Keyword)cASYNCEnumLiteralDeclaration_36.eContents().get(0); + private final EnumLiteralDeclaration cCPUIF_RESETEnumLiteralDeclaration_37 = (EnumLiteralDeclaration)cAlternatives.eContents().get(37); + private final Keyword cCPUIF_RESETCpuif_resetKeyword_37_0 = (Keyword)cCPUIF_RESETEnumLiteralDeclaration_37.eContents().get(0); + private final EnumLiteralDeclaration cFIELD_RESETEnumLiteralDeclaration_38 = (EnumLiteralDeclaration)cAlternatives.eContents().get(38); + private final Keyword cFIELD_RESETField_resetKeyword_38_0 = (Keyword)cFIELD_RESETEnumLiteralDeclaration_38.eContents().get(0); + private final EnumLiteralDeclaration cACTIVEHIGHEnumLiteralDeclaration_39 = (EnumLiteralDeclaration)cAlternatives.eContents().get(39); + private final Keyword cACTIVEHIGHActivehighKeyword_39_0 = (Keyword)cACTIVEHIGHEnumLiteralDeclaration_39.eContents().get(0); + private final EnumLiteralDeclaration cACTIVELOWEnumLiteralDeclaration_40 = (EnumLiteralDeclaration)cAlternatives.eContents().get(40); + private final Keyword cACTIVELOWActivelowKeyword_40_0 = (Keyword)cACTIVELOWEnumLiteralDeclaration_40.eContents().get(0); + private final EnumLiteralDeclaration cSINGLEPULSEEnumLiteralDeclaration_41 = (EnumLiteralDeclaration)cAlternatives.eContents().get(41); + private final Keyword cSINGLEPULSESinglepulseKeyword_41_0 = (Keyword)cSINGLEPULSEEnumLiteralDeclaration_41.eContents().get(0); + private final EnumLiteralDeclaration cUNDERFLOWEnumLiteralDeclaration_42 = (EnumLiteralDeclaration)cAlternatives.eContents().get(42); + private final Keyword cUNDERFLOWUnderflowKeyword_42_0 = (Keyword)cUNDERFLOWEnumLiteralDeclaration_42.eContents().get(0); + private final EnumLiteralDeclaration cINCREnumLiteralDeclaration_43 = (EnumLiteralDeclaration)cAlternatives.eContents().get(43); + private final Keyword cINCRIncrKeyword_43_0 = (Keyword)cINCREnumLiteralDeclaration_43.eContents().get(0); + private final EnumLiteralDeclaration cDECREnumLiteralDeclaration_44 = (EnumLiteralDeclaration)cAlternatives.eContents().get(44); + private final Keyword cDECRDecrKeyword_44_0 = (Keyword)cDECREnumLiteralDeclaration_44.eContents().get(0); + private final EnumLiteralDeclaration cINCRWIDTHEnumLiteralDeclaration_45 = (EnumLiteralDeclaration)cAlternatives.eContents().get(45); + private final Keyword cINCRWIDTHIncrwidthKeyword_45_0 = (Keyword)cINCRWIDTHEnumLiteralDeclaration_45.eContents().get(0); + private final EnumLiteralDeclaration cDECRWIDTHEnumLiteralDeclaration_46 = (EnumLiteralDeclaration)cAlternatives.eContents().get(46); + private final Keyword cDECRWIDTHDecrwidthKeyword_46_0 = (Keyword)cDECRWIDTHEnumLiteralDeclaration_46.eContents().get(0); + private final EnumLiteralDeclaration cINCRVALUEEnumLiteralDeclaration_47 = (EnumLiteralDeclaration)cAlternatives.eContents().get(47); + private final Keyword cINCRVALUEIncrvalueKeyword_47_0 = (Keyword)cINCRVALUEEnumLiteralDeclaration_47.eContents().get(0); + private final EnumLiteralDeclaration cDECRVALUEEnumLiteralDeclaration_48 = (EnumLiteralDeclaration)cAlternatives.eContents().get(48); + private final Keyword cDECRVALUEDecrvalueKeyword_48_0 = (Keyword)cDECRVALUEEnumLiteralDeclaration_48.eContents().get(0); + private final EnumLiteralDeclaration cSATURATEEnumLiteralDeclaration_49 = (EnumLiteralDeclaration)cAlternatives.eContents().get(49); + private final Keyword cSATURATESaturateKeyword_49_0 = (Keyword)cSATURATEEnumLiteralDeclaration_49.eContents().get(0); + private final EnumLiteralDeclaration cDECRSATURATEEnumLiteralDeclaration_50 = (EnumLiteralDeclaration)cAlternatives.eContents().get(50); + private final Keyword cDECRSATURATEDecrsaturateKeyword_50_0 = (Keyword)cDECRSATURATEEnumLiteralDeclaration_50.eContents().get(0); + private final EnumLiteralDeclaration cTHRESHOLDEnumLiteralDeclaration_51 = (EnumLiteralDeclaration)cAlternatives.eContents().get(51); + private final Keyword cTHRESHOLDThresholdKeyword_51_0 = (Keyword)cTHRESHOLDEnumLiteralDeclaration_51.eContents().get(0); + private final EnumLiteralDeclaration cDECRTHRESHOLDEnumLiteralDeclaration_52 = (EnumLiteralDeclaration)cAlternatives.eContents().get(52); + private final Keyword cDECRTHRESHOLDDecrthresholdKeyword_52_0 = (Keyword)cDECRTHRESHOLDEnumLiteralDeclaration_52.eContents().get(0); + private final EnumLiteralDeclaration cDONTCOMPAREEnumLiteralDeclaration_53 = (EnumLiteralDeclaration)cAlternatives.eContents().get(53); + private final Keyword cDONTCOMPAREDontcompareKeyword_53_0 = (Keyword)cDONTCOMPAREEnumLiteralDeclaration_53.eContents().get(0); + private final EnumLiteralDeclaration cDONTTESTEnumLiteralDeclaration_54 = (EnumLiteralDeclaration)cAlternatives.eContents().get(54); + private final Keyword cDONTTESTDonttestKeyword_54_0 = (Keyword)cDONTTESTEnumLiteralDeclaration_54.eContents().get(0); + private final EnumLiteralDeclaration cINTERNALEnumLiteralDeclaration_55 = (EnumLiteralDeclaration)cAlternatives.eContents().get(55); + private final Keyword cINTERNALInternalKeyword_55_0 = (Keyword)cINTERNALEnumLiteralDeclaration_55.eContents().get(0); + private final EnumLiteralDeclaration cALIGNMENTEnumLiteralDeclaration_56 = (EnumLiteralDeclaration)cAlternatives.eContents().get(56); + private final Keyword cALIGNMENTAlignmentKeyword_56_0 = (Keyword)cALIGNMENTEnumLiteralDeclaration_56.eContents().get(0); + private final EnumLiteralDeclaration cREGWIDTHEnumLiteralDeclaration_57 = (EnumLiteralDeclaration)cAlternatives.eContents().get(57); + private final Keyword cREGWIDTHRegwidthKeyword_57_0 = (Keyword)cREGWIDTHEnumLiteralDeclaration_57.eContents().get(0); + private final EnumLiteralDeclaration cFIELDWIDTHEnumLiteralDeclaration_58 = (EnumLiteralDeclaration)cAlternatives.eContents().get(58); + private final Keyword cFIELDWIDTHFieldwidthKeyword_58_0 = (Keyword)cFIELDWIDTHEnumLiteralDeclaration_58.eContents().get(0); + private final EnumLiteralDeclaration cSIGNALWIDTHEnumLiteralDeclaration_59 = (EnumLiteralDeclaration)cAlternatives.eContents().get(59); + private final Keyword cSIGNALWIDTHSignalwidthKeyword_59_0 = (Keyword)cSIGNALWIDTHEnumLiteralDeclaration_59.eContents().get(0); + private final EnumLiteralDeclaration cACCESSWIDTHEnumLiteralDeclaration_60 = (EnumLiteralDeclaration)cAlternatives.eContents().get(60); + private final Keyword cACCESSWIDTHAccesswidthKeyword_60_0 = (Keyword)cACCESSWIDTHEnumLiteralDeclaration_60.eContents().get(0); + private final EnumLiteralDeclaration cSWEnumLiteralDeclaration_61 = (EnumLiteralDeclaration)cAlternatives.eContents().get(61); + private final Keyword cSWSwKeyword_61_0 = (Keyword)cSWEnumLiteralDeclaration_61.eContents().get(0); + private final EnumLiteralDeclaration cHWEnumLiteralDeclaration_62 = (EnumLiteralDeclaration)cAlternatives.eContents().get(62); + private final Keyword cHWHwKeyword_62_0 = (Keyword)cHWEnumLiteralDeclaration_62.eContents().get(0); + private final EnumLiteralDeclaration cADDRESSINGEnumLiteralDeclaration_63 = (EnumLiteralDeclaration)cAlternatives.eContents().get(63); + private final Keyword cADDRESSINGAddressingKeyword_63_0 = (Keyword)cADDRESSINGEnumLiteralDeclaration_63.eContents().get(0); + private final EnumLiteralDeclaration cPRECEDENCEEnumLiteralDeclaration_64 = (EnumLiteralDeclaration)cAlternatives.eContents().get(64); + private final Keyword cPRECEDENCEPrecedenceKeyword_64_0 = (Keyword)cPRECEDENCEEnumLiteralDeclaration_64.eContents().get(0); + private final EnumLiteralDeclaration cENCODEEnumLiteralDeclaration_65 = (EnumLiteralDeclaration)cAlternatives.eContents().get(65); + private final Keyword cENCODEEncodeKeyword_65_0 = (Keyword)cENCODEEnumLiteralDeclaration_65.eContents().get(0); + private final EnumLiteralDeclaration cRESETSIGNALEnumLiteralDeclaration_66 = (EnumLiteralDeclaration)cAlternatives.eContents().get(66); + private final Keyword cRESETSIGNALResetsignalKeyword_66_0 = (Keyword)cRESETSIGNALEnumLiteralDeclaration_66.eContents().get(0); + private final EnumLiteralDeclaration cCLOCKEnumLiteralDeclaration_67 = (EnumLiteralDeclaration)cAlternatives.eContents().get(67); + private final Keyword cCLOCKClockKeyword_67_0 = (Keyword)cCLOCKEnumLiteralDeclaration_67.eContents().get(0); + private final EnumLiteralDeclaration cMASKEnumLiteralDeclaration_68 = (EnumLiteralDeclaration)cAlternatives.eContents().get(68); + private final Keyword cMASKMaskKeyword_68_0 = (Keyword)cMASKEnumLiteralDeclaration_68.eContents().get(0); + private final EnumLiteralDeclaration cENABLEEnumLiteralDeclaration_69 = (EnumLiteralDeclaration)cAlternatives.eContents().get(69); + private final Keyword cENABLEEnableKeyword_69_0 = (Keyword)cENABLEEnumLiteralDeclaration_69.eContents().get(0); + private final EnumLiteralDeclaration cHWENABLEEnumLiteralDeclaration_70 = (EnumLiteralDeclaration)cAlternatives.eContents().get(70); + private final Keyword cHWENABLEHwenableKeyword_70_0 = (Keyword)cHWENABLEEnumLiteralDeclaration_70.eContents().get(0); + private final EnumLiteralDeclaration cHWMASKEnumLiteralDeclaration_71 = (EnumLiteralDeclaration)cAlternatives.eContents().get(71); + private final Keyword cHWMASKHwmaskKeyword_71_0 = (Keyword)cHWMASKEnumLiteralDeclaration_71.eContents().get(0); + private final EnumLiteralDeclaration cHALTMASKEnumLiteralDeclaration_72 = (EnumLiteralDeclaration)cAlternatives.eContents().get(72); + private final Keyword cHALTMASKHaltmaskKeyword_72_0 = (Keyword)cHALTMASKEnumLiteralDeclaration_72.eContents().get(0); + private final EnumLiteralDeclaration cHALTENABLEEnumLiteralDeclaration_73 = (EnumLiteralDeclaration)cAlternatives.eContents().get(73); + private final Keyword cHALTENABLEHaltenableKeyword_73_0 = (Keyword)cHALTENABLEEnumLiteralDeclaration_73.eContents().get(0); + private final EnumLiteralDeclaration cHALTEnumLiteralDeclaration_74 = (EnumLiteralDeclaration)cAlternatives.eContents().get(74); + private final Keyword cHALTHaltKeyword_74_0 = (Keyword)cHALTEnumLiteralDeclaration_74.eContents().get(0); + private final EnumLiteralDeclaration cNEXTEnumLiteralDeclaration_75 = (EnumLiteralDeclaration)cAlternatives.eContents().get(75); + private final Keyword cNEXTNextKeyword_75_0 = (Keyword)cNEXTEnumLiteralDeclaration_75.eContents().get(0); + + //enum PropertyEnum: + // UNSPECIFIED | + // NAME="name" | + // DESC="desc" | + // ARBITER="arbiter" | + // RSET="rset" | + // RCLR="rclr" | + // WOCLR="woclr" | + // WOSET="woset" | + // WE="we" | + // WEL="wel" | + // SWWE="swwe" | + // SWWEL="swwel" | + // HWSET="hwset" | + // HWCLR="hwclr" | + // SWMOD="swmod" | + // SWACC="swacc" | + // STICKY="sticky" | + // STICKYBIT="stickybit" | + // INTR="intr" | + // ANDED="anded" | + // ORED="ored" | + // XORED="xored" | + // COUNTER="counter" | + // OVERFLOW="overflow" | + // SHAREDEXTBUS="sharedextbus" | + // ERREXTBUS="errextbus" | + // RESET="reset" | + // LITTLEENDIAN="littleendian" | + // BIGENDIAN="bigendian" | + // RSVDSET="rsvdset" | + // RSVDSETX="rsvdsetX" | + // BRIDGE="bridge" | + // SHARED="shared" | + // MSB0="msb0" | + // LSB0="lsb0" | + // SYNC="sync" | + // ASYNC="async" | + // CPUIF_RESET="cpuif_reset" | + // FIELD_RESET="field_reset" | + // ACTIVEHIGH="activehigh" | + // ACTIVELOW="activelow" | + // SINGLEPULSE="singlepulse" | + // UNDERFLOW="underflow" | + // INCR="incr" | + // DECR="decr" | + // INCRWIDTH="incrwidth" | + // DECRWIDTH="decrwidth" | + // INCRVALUE="incrvalue" | + // DECRVALUE="decrvalue" | + // SATURATE="saturate" | + // DECRSATURATE="decrsaturate" | + // THRESHOLD="threshold" | + // DECRTHRESHOLD="decrthreshold" | + // DONTCOMPARE="dontcompare" | + // DONTTEST="donttest" | + // INTERNAL="internal" | + // ALIGNMENT="alignment" | + // REGWIDTH="regwidth" | + // FIELDWIDTH="fieldwidth" | + // SIGNALWIDTH="signalwidth" | + // ACCESSWIDTH="accesswidth" | + // SW="sw" | + // HW="hw" | + // ADDRESSING="addressing" | + // PRECEDENCE="precedence" | + // ENCODE="encode" | + // RESETSIGNAL="resetsignal" | + // CLOCK="clock" | + // MASK="mask" | + // ENABLE="enable" | + // HWENABLE="hwenable" | + // HWMASK="hwmask" | + // HALTMASK="haltmask" | + // HALTENABLE="haltenable" | + // HALT="halt" | + // NEXT="next"; + public EnumRule getRule() { return rule; } + + //UNSPECIFIED | NAME="name" | DESC="desc" | ARBITER="arbiter" | RSET="rset" | RCLR="rclr" | WOCLR="woclr" | WOSET="woset" + //| WE="we" | WEL="wel" | SWWE="swwe" | SWWEL="swwel" | HWSET="hwset" | HWCLR="hwclr" | SWMOD="swmod" | SWACC="swacc" | + //STICKY="sticky" | STICKYBIT="stickybit" | INTR="intr" | ANDED="anded" | ORED="ored" | XORED="xored" | COUNTER="counter" + //| OVERFLOW="overflow" | SHAREDEXTBUS="sharedextbus" | ERREXTBUS="errextbus" | RESET="reset" | + //LITTLEENDIAN="littleendian" | BIGENDIAN="bigendian" | RSVDSET="rsvdset" | RSVDSETX="rsvdsetX" | BRIDGE="bridge" | + //SHARED="shared" | MSB0="msb0" | LSB0="lsb0" | SYNC="sync" | ASYNC="async" | CPUIF_RESET="cpuif_reset" | + //FIELD_RESET="field_reset" | ACTIVEHIGH="activehigh" | ACTIVELOW="activelow" | SINGLEPULSE="singlepulse" | + //UNDERFLOW="underflow" | INCR="incr" | DECR="decr" | INCRWIDTH="incrwidth" | DECRWIDTH="decrwidth" | + //INCRVALUE="incrvalue" | DECRVALUE="decrvalue" | SATURATE="saturate" | DECRSATURATE="decrsaturate" | + //THRESHOLD="threshold" | DECRTHRESHOLD="decrthreshold" | DONTCOMPARE="dontcompare" | DONTTEST="donttest" | + //INTERNAL="internal" | ALIGNMENT="alignment" | REGWIDTH="regwidth" | FIELDWIDTH="fieldwidth" | SIGNALWIDTH="signalwidth" + //| ACCESSWIDTH="accesswidth" | SW="sw" | HW="hw" | ADDRESSING="addressing" | PRECEDENCE="precedence" | ENCODE="encode" | + //RESETSIGNAL="resetsignal" | CLOCK="clock" | MASK="mask" | ENABLE="enable" | HWENABLE="hwenable" | HWMASK="hwmask" | + //HALTMASK="haltmask" | HALTENABLE="haltenable" | HALT="halt" | NEXT="next" + public Alternatives getAlternatives() { return cAlternatives; } + + //UNSPECIFIED + public EnumLiteralDeclaration getUNSPECIFIEDEnumLiteralDeclaration_0() { return cUNSPECIFIEDEnumLiteralDeclaration_0; } + + //"UNSPECIFIED" + public Keyword getUNSPECIFIEDUNSPECIFIEDKeyword_0_0() { return cUNSPECIFIEDUNSPECIFIEDKeyword_0_0; } + + //NAME="name" + public EnumLiteralDeclaration getNAMEEnumLiteralDeclaration_1() { return cNAMEEnumLiteralDeclaration_1; } + + //"name" + public Keyword getNAMENameKeyword_1_0() { return cNAMENameKeyword_1_0; } + + //DESC="desc" + public EnumLiteralDeclaration getDESCEnumLiteralDeclaration_2() { return cDESCEnumLiteralDeclaration_2; } + + //"desc" + public Keyword getDESCDescKeyword_2_0() { return cDESCDescKeyword_2_0; } + + //ARBITER="arbiter" + public EnumLiteralDeclaration getARBITEREnumLiteralDeclaration_3() { return cARBITEREnumLiteralDeclaration_3; } + + //"arbiter" + public Keyword getARBITERArbiterKeyword_3_0() { return cARBITERArbiterKeyword_3_0; } + + //RSET="rset" + public EnumLiteralDeclaration getRSETEnumLiteralDeclaration_4() { return cRSETEnumLiteralDeclaration_4; } + + //"rset" + public Keyword getRSETRsetKeyword_4_0() { return cRSETRsetKeyword_4_0; } + + //RCLR="rclr" + public EnumLiteralDeclaration getRCLREnumLiteralDeclaration_5() { return cRCLREnumLiteralDeclaration_5; } + + //"rclr" + public Keyword getRCLRRclrKeyword_5_0() { return cRCLRRclrKeyword_5_0; } + + //WOCLR="woclr" + public EnumLiteralDeclaration getWOCLREnumLiteralDeclaration_6() { return cWOCLREnumLiteralDeclaration_6; } + + //"woclr" + public Keyword getWOCLRWoclrKeyword_6_0() { return cWOCLRWoclrKeyword_6_0; } + + //WOSET="woset" + public EnumLiteralDeclaration getWOSETEnumLiteralDeclaration_7() { return cWOSETEnumLiteralDeclaration_7; } + + //"woset" + public Keyword getWOSETWosetKeyword_7_0() { return cWOSETWosetKeyword_7_0; } + + //WE="we" + public EnumLiteralDeclaration getWEEnumLiteralDeclaration_8() { return cWEEnumLiteralDeclaration_8; } + + //"we" + public Keyword getWEWeKeyword_8_0() { return cWEWeKeyword_8_0; } + + //WEL="wel" + public EnumLiteralDeclaration getWELEnumLiteralDeclaration_9() { return cWELEnumLiteralDeclaration_9; } + + //"wel" + public Keyword getWELWelKeyword_9_0() { return cWELWelKeyword_9_0; } + + //SWWE="swwe" + public EnumLiteralDeclaration getSWWEEnumLiteralDeclaration_10() { return cSWWEEnumLiteralDeclaration_10; } + + //"swwe" + public Keyword getSWWESwweKeyword_10_0() { return cSWWESwweKeyword_10_0; } + + //SWWEL="swwel" + public EnumLiteralDeclaration getSWWELEnumLiteralDeclaration_11() { return cSWWELEnumLiteralDeclaration_11; } + + //"swwel" + public Keyword getSWWELSwwelKeyword_11_0() { return cSWWELSwwelKeyword_11_0; } + + //HWSET="hwset" + public EnumLiteralDeclaration getHWSETEnumLiteralDeclaration_12() { return cHWSETEnumLiteralDeclaration_12; } + + //"hwset" + public Keyword getHWSETHwsetKeyword_12_0() { return cHWSETHwsetKeyword_12_0; } + + //HWCLR="hwclr" + public EnumLiteralDeclaration getHWCLREnumLiteralDeclaration_13() { return cHWCLREnumLiteralDeclaration_13; } + + //"hwclr" + public Keyword getHWCLRHwclrKeyword_13_0() { return cHWCLRHwclrKeyword_13_0; } + + //SWMOD="swmod" + public EnumLiteralDeclaration getSWMODEnumLiteralDeclaration_14() { return cSWMODEnumLiteralDeclaration_14; } + + //"swmod" + public Keyword getSWMODSwmodKeyword_14_0() { return cSWMODSwmodKeyword_14_0; } + + //SWACC="swacc" + public EnumLiteralDeclaration getSWACCEnumLiteralDeclaration_15() { return cSWACCEnumLiteralDeclaration_15; } + + //"swacc" + public Keyword getSWACCSwaccKeyword_15_0() { return cSWACCSwaccKeyword_15_0; } + + //STICKY="sticky" + public EnumLiteralDeclaration getSTICKYEnumLiteralDeclaration_16() { return cSTICKYEnumLiteralDeclaration_16; } + + //"sticky" + public Keyword getSTICKYStickyKeyword_16_0() { return cSTICKYStickyKeyword_16_0; } + + //STICKYBIT="stickybit" + public EnumLiteralDeclaration getSTICKYBITEnumLiteralDeclaration_17() { return cSTICKYBITEnumLiteralDeclaration_17; } + + //"stickybit" + public Keyword getSTICKYBITStickybitKeyword_17_0() { return cSTICKYBITStickybitKeyword_17_0; } + + //INTR="intr" + public EnumLiteralDeclaration getINTREnumLiteralDeclaration_18() { return cINTREnumLiteralDeclaration_18; } + + //"intr" + public Keyword getINTRIntrKeyword_18_0() { return cINTRIntrKeyword_18_0; } + + //ANDED="anded" + public EnumLiteralDeclaration getANDEDEnumLiteralDeclaration_19() { return cANDEDEnumLiteralDeclaration_19; } + + //"anded" + public Keyword getANDEDAndedKeyword_19_0() { return cANDEDAndedKeyword_19_0; } + + //ORED="ored" + public EnumLiteralDeclaration getOREDEnumLiteralDeclaration_20() { return cOREDEnumLiteralDeclaration_20; } + + //"ored" + public Keyword getOREDOredKeyword_20_0() { return cOREDOredKeyword_20_0; } + + //XORED="xored" + public EnumLiteralDeclaration getXOREDEnumLiteralDeclaration_21() { return cXOREDEnumLiteralDeclaration_21; } + + //"xored" + public Keyword getXOREDXoredKeyword_21_0() { return cXOREDXoredKeyword_21_0; } + + //COUNTER="counter" + public EnumLiteralDeclaration getCOUNTEREnumLiteralDeclaration_22() { return cCOUNTEREnumLiteralDeclaration_22; } + + //"counter" + public Keyword getCOUNTERCounterKeyword_22_0() { return cCOUNTERCounterKeyword_22_0; } + + //OVERFLOW="overflow" + public EnumLiteralDeclaration getOVERFLOWEnumLiteralDeclaration_23() { return cOVERFLOWEnumLiteralDeclaration_23; } + + //"overflow" + public Keyword getOVERFLOWOverflowKeyword_23_0() { return cOVERFLOWOverflowKeyword_23_0; } + + //SHAREDEXTBUS="sharedextbus" + public EnumLiteralDeclaration getSHAREDEXTBUSEnumLiteralDeclaration_24() { return cSHAREDEXTBUSEnumLiteralDeclaration_24; } + + //"sharedextbus" + public Keyword getSHAREDEXTBUSSharedextbusKeyword_24_0() { return cSHAREDEXTBUSSharedextbusKeyword_24_0; } + + //ERREXTBUS="errextbus" + public EnumLiteralDeclaration getERREXTBUSEnumLiteralDeclaration_25() { return cERREXTBUSEnumLiteralDeclaration_25; } + + //"errextbus" + public Keyword getERREXTBUSErrextbusKeyword_25_0() { return cERREXTBUSErrextbusKeyword_25_0; } + + //RESET="reset" + public EnumLiteralDeclaration getRESETEnumLiteralDeclaration_26() { return cRESETEnumLiteralDeclaration_26; } + + //"reset" + public Keyword getRESETResetKeyword_26_0() { return cRESETResetKeyword_26_0; } + + //LITTLEENDIAN="littleendian" + public EnumLiteralDeclaration getLITTLEENDIANEnumLiteralDeclaration_27() { return cLITTLEENDIANEnumLiteralDeclaration_27; } + + //"littleendian" + public Keyword getLITTLEENDIANLittleendianKeyword_27_0() { return cLITTLEENDIANLittleendianKeyword_27_0; } + + //BIGENDIAN="bigendian" + public EnumLiteralDeclaration getBIGENDIANEnumLiteralDeclaration_28() { return cBIGENDIANEnumLiteralDeclaration_28; } + + //"bigendian" + public Keyword getBIGENDIANBigendianKeyword_28_0() { return cBIGENDIANBigendianKeyword_28_0; } + + //RSVDSET="rsvdset" + public EnumLiteralDeclaration getRSVDSETEnumLiteralDeclaration_29() { return cRSVDSETEnumLiteralDeclaration_29; } + + //"rsvdset" + public Keyword getRSVDSETRsvdsetKeyword_29_0() { return cRSVDSETRsvdsetKeyword_29_0; } + + //RSVDSETX="rsvdsetX" + public EnumLiteralDeclaration getRSVDSETXEnumLiteralDeclaration_30() { return cRSVDSETXEnumLiteralDeclaration_30; } + + //"rsvdsetX" + public Keyword getRSVDSETXRsvdsetXKeyword_30_0() { return cRSVDSETXRsvdsetXKeyword_30_0; } + + //BRIDGE="bridge" + public EnumLiteralDeclaration getBRIDGEEnumLiteralDeclaration_31() { return cBRIDGEEnumLiteralDeclaration_31; } + + //"bridge" + public Keyword getBRIDGEBridgeKeyword_31_0() { return cBRIDGEBridgeKeyword_31_0; } + + //SHARED="shared" + public EnumLiteralDeclaration getSHAREDEnumLiteralDeclaration_32() { return cSHAREDEnumLiteralDeclaration_32; } + + //"shared" + public Keyword getSHAREDSharedKeyword_32_0() { return cSHAREDSharedKeyword_32_0; } + + //MSB0="msb0" + public EnumLiteralDeclaration getMSB0EnumLiteralDeclaration_33() { return cMSB0EnumLiteralDeclaration_33; } + + //"msb0" + public Keyword getMSB0Msb0Keyword_33_0() { return cMSB0Msb0Keyword_33_0; } + + //LSB0="lsb0" + public EnumLiteralDeclaration getLSB0EnumLiteralDeclaration_34() { return cLSB0EnumLiteralDeclaration_34; } + + //"lsb0" + public Keyword getLSB0Lsb0Keyword_34_0() { return cLSB0Lsb0Keyword_34_0; } + + //SYNC="sync" + public EnumLiteralDeclaration getSYNCEnumLiteralDeclaration_35() { return cSYNCEnumLiteralDeclaration_35; } + + //"sync" + public Keyword getSYNCSyncKeyword_35_0() { return cSYNCSyncKeyword_35_0; } + + //ASYNC="async" + public EnumLiteralDeclaration getASYNCEnumLiteralDeclaration_36() { return cASYNCEnumLiteralDeclaration_36; } + + //"async" + public Keyword getASYNCAsyncKeyword_36_0() { return cASYNCAsyncKeyword_36_0; } + + //CPUIF_RESET="cpuif_reset" + public EnumLiteralDeclaration getCPUIF_RESETEnumLiteralDeclaration_37() { return cCPUIF_RESETEnumLiteralDeclaration_37; } + + //"cpuif_reset" + public Keyword getCPUIF_RESETCpuif_resetKeyword_37_0() { return cCPUIF_RESETCpuif_resetKeyword_37_0; } + + //FIELD_RESET="field_reset" + public EnumLiteralDeclaration getFIELD_RESETEnumLiteralDeclaration_38() { return cFIELD_RESETEnumLiteralDeclaration_38; } + + //"field_reset" + public Keyword getFIELD_RESETField_resetKeyword_38_0() { return cFIELD_RESETField_resetKeyword_38_0; } + + //ACTIVEHIGH="activehigh" + public EnumLiteralDeclaration getACTIVEHIGHEnumLiteralDeclaration_39() { return cACTIVEHIGHEnumLiteralDeclaration_39; } + + //"activehigh" + public Keyword getACTIVEHIGHActivehighKeyword_39_0() { return cACTIVEHIGHActivehighKeyword_39_0; } + + //ACTIVELOW="activelow" + public EnumLiteralDeclaration getACTIVELOWEnumLiteralDeclaration_40() { return cACTIVELOWEnumLiteralDeclaration_40; } + + //"activelow" + public Keyword getACTIVELOWActivelowKeyword_40_0() { return cACTIVELOWActivelowKeyword_40_0; } + + //SINGLEPULSE="singlepulse" + public EnumLiteralDeclaration getSINGLEPULSEEnumLiteralDeclaration_41() { return cSINGLEPULSEEnumLiteralDeclaration_41; } + + //"singlepulse" + public Keyword getSINGLEPULSESinglepulseKeyword_41_0() { return cSINGLEPULSESinglepulseKeyword_41_0; } + + //UNDERFLOW="underflow" + public EnumLiteralDeclaration getUNDERFLOWEnumLiteralDeclaration_42() { return cUNDERFLOWEnumLiteralDeclaration_42; } + + //"underflow" + public Keyword getUNDERFLOWUnderflowKeyword_42_0() { return cUNDERFLOWUnderflowKeyword_42_0; } + + //INCR="incr" + public EnumLiteralDeclaration getINCREnumLiteralDeclaration_43() { return cINCREnumLiteralDeclaration_43; } + + //"incr" + public Keyword getINCRIncrKeyword_43_0() { return cINCRIncrKeyword_43_0; } + + //DECR="decr" + public EnumLiteralDeclaration getDECREnumLiteralDeclaration_44() { return cDECREnumLiteralDeclaration_44; } + + //"decr" + public Keyword getDECRDecrKeyword_44_0() { return cDECRDecrKeyword_44_0; } + + //INCRWIDTH="incrwidth" + public EnumLiteralDeclaration getINCRWIDTHEnumLiteralDeclaration_45() { return cINCRWIDTHEnumLiteralDeclaration_45; } + + //"incrwidth" + public Keyword getINCRWIDTHIncrwidthKeyword_45_0() { return cINCRWIDTHIncrwidthKeyword_45_0; } + + //DECRWIDTH="decrwidth" + public EnumLiteralDeclaration getDECRWIDTHEnumLiteralDeclaration_46() { return cDECRWIDTHEnumLiteralDeclaration_46; } + + //"decrwidth" + public Keyword getDECRWIDTHDecrwidthKeyword_46_0() { return cDECRWIDTHDecrwidthKeyword_46_0; } + + //INCRVALUE="incrvalue" + public EnumLiteralDeclaration getINCRVALUEEnumLiteralDeclaration_47() { return cINCRVALUEEnumLiteralDeclaration_47; } + + //"incrvalue" + public Keyword getINCRVALUEIncrvalueKeyword_47_0() { return cINCRVALUEIncrvalueKeyword_47_0; } + + //DECRVALUE="decrvalue" + public EnumLiteralDeclaration getDECRVALUEEnumLiteralDeclaration_48() { return cDECRVALUEEnumLiteralDeclaration_48; } + + //"decrvalue" + public Keyword getDECRVALUEDecrvalueKeyword_48_0() { return cDECRVALUEDecrvalueKeyword_48_0; } + + //SATURATE="saturate" + public EnumLiteralDeclaration getSATURATEEnumLiteralDeclaration_49() { return cSATURATEEnumLiteralDeclaration_49; } + + //"saturate" + public Keyword getSATURATESaturateKeyword_49_0() { return cSATURATESaturateKeyword_49_0; } + + //DECRSATURATE="decrsaturate" + public EnumLiteralDeclaration getDECRSATURATEEnumLiteralDeclaration_50() { return cDECRSATURATEEnumLiteralDeclaration_50; } + + //"decrsaturate" + public Keyword getDECRSATURATEDecrsaturateKeyword_50_0() { return cDECRSATURATEDecrsaturateKeyword_50_0; } + + //THRESHOLD="threshold" + public EnumLiteralDeclaration getTHRESHOLDEnumLiteralDeclaration_51() { return cTHRESHOLDEnumLiteralDeclaration_51; } + + //"threshold" + public Keyword getTHRESHOLDThresholdKeyword_51_0() { return cTHRESHOLDThresholdKeyword_51_0; } + + //DECRTHRESHOLD="decrthreshold" + public EnumLiteralDeclaration getDECRTHRESHOLDEnumLiteralDeclaration_52() { return cDECRTHRESHOLDEnumLiteralDeclaration_52; } + + //"decrthreshold" + public Keyword getDECRTHRESHOLDDecrthresholdKeyword_52_0() { return cDECRTHRESHOLDDecrthresholdKeyword_52_0; } + + //DONTCOMPARE="dontcompare" + public EnumLiteralDeclaration getDONTCOMPAREEnumLiteralDeclaration_53() { return cDONTCOMPAREEnumLiteralDeclaration_53; } + + //"dontcompare" + public Keyword getDONTCOMPAREDontcompareKeyword_53_0() { return cDONTCOMPAREDontcompareKeyword_53_0; } + + //DONTTEST="donttest" + public EnumLiteralDeclaration getDONTTESTEnumLiteralDeclaration_54() { return cDONTTESTEnumLiteralDeclaration_54; } + + //"donttest" + public Keyword getDONTTESTDonttestKeyword_54_0() { return cDONTTESTDonttestKeyword_54_0; } + + //INTERNAL="internal" + public EnumLiteralDeclaration getINTERNALEnumLiteralDeclaration_55() { return cINTERNALEnumLiteralDeclaration_55; } + + //"internal" + public Keyword getINTERNALInternalKeyword_55_0() { return cINTERNALInternalKeyword_55_0; } + + //ALIGNMENT="alignment" + public EnumLiteralDeclaration getALIGNMENTEnumLiteralDeclaration_56() { return cALIGNMENTEnumLiteralDeclaration_56; } + + //"alignment" + public Keyword getALIGNMENTAlignmentKeyword_56_0() { return cALIGNMENTAlignmentKeyword_56_0; } + + //REGWIDTH="regwidth" + public EnumLiteralDeclaration getREGWIDTHEnumLiteralDeclaration_57() { return cREGWIDTHEnumLiteralDeclaration_57; } + + //"regwidth" + public Keyword getREGWIDTHRegwidthKeyword_57_0() { return cREGWIDTHRegwidthKeyword_57_0; } + + //FIELDWIDTH="fieldwidth" + public EnumLiteralDeclaration getFIELDWIDTHEnumLiteralDeclaration_58() { return cFIELDWIDTHEnumLiteralDeclaration_58; } + + //"fieldwidth" + public Keyword getFIELDWIDTHFieldwidthKeyword_58_0() { return cFIELDWIDTHFieldwidthKeyword_58_0; } + + //SIGNALWIDTH="signalwidth" + public EnumLiteralDeclaration getSIGNALWIDTHEnumLiteralDeclaration_59() { return cSIGNALWIDTHEnumLiteralDeclaration_59; } + + //"signalwidth" + public Keyword getSIGNALWIDTHSignalwidthKeyword_59_0() { return cSIGNALWIDTHSignalwidthKeyword_59_0; } + + //ACCESSWIDTH="accesswidth" + public EnumLiteralDeclaration getACCESSWIDTHEnumLiteralDeclaration_60() { return cACCESSWIDTHEnumLiteralDeclaration_60; } + + //"accesswidth" + public Keyword getACCESSWIDTHAccesswidthKeyword_60_0() { return cACCESSWIDTHAccesswidthKeyword_60_0; } + + //SW="sw" + public EnumLiteralDeclaration getSWEnumLiteralDeclaration_61() { return cSWEnumLiteralDeclaration_61; } + + //"sw" + public Keyword getSWSwKeyword_61_0() { return cSWSwKeyword_61_0; } + + //HW="hw" + public EnumLiteralDeclaration getHWEnumLiteralDeclaration_62() { return cHWEnumLiteralDeclaration_62; } + + //"hw" + public Keyword getHWHwKeyword_62_0() { return cHWHwKeyword_62_0; } + + //ADDRESSING="addressing" + public EnumLiteralDeclaration getADDRESSINGEnumLiteralDeclaration_63() { return cADDRESSINGEnumLiteralDeclaration_63; } + + //"addressing" + public Keyword getADDRESSINGAddressingKeyword_63_0() { return cADDRESSINGAddressingKeyword_63_0; } + + //PRECEDENCE="precedence" + public EnumLiteralDeclaration getPRECEDENCEEnumLiteralDeclaration_64() { return cPRECEDENCEEnumLiteralDeclaration_64; } + + //"precedence" + public Keyword getPRECEDENCEPrecedenceKeyword_64_0() { return cPRECEDENCEPrecedenceKeyword_64_0; } + + //ENCODE="encode" + public EnumLiteralDeclaration getENCODEEnumLiteralDeclaration_65() { return cENCODEEnumLiteralDeclaration_65; } + + //"encode" + public Keyword getENCODEEncodeKeyword_65_0() { return cENCODEEncodeKeyword_65_0; } + + //RESETSIGNAL="resetsignal" + public EnumLiteralDeclaration getRESETSIGNALEnumLiteralDeclaration_66() { return cRESETSIGNALEnumLiteralDeclaration_66; } + + //"resetsignal" + public Keyword getRESETSIGNALResetsignalKeyword_66_0() { return cRESETSIGNALResetsignalKeyword_66_0; } + + //CLOCK="clock" + public EnumLiteralDeclaration getCLOCKEnumLiteralDeclaration_67() { return cCLOCKEnumLiteralDeclaration_67; } + + //"clock" + public Keyword getCLOCKClockKeyword_67_0() { return cCLOCKClockKeyword_67_0; } + + //MASK="mask" + public EnumLiteralDeclaration getMASKEnumLiteralDeclaration_68() { return cMASKEnumLiteralDeclaration_68; } + + //"mask" + public Keyword getMASKMaskKeyword_68_0() { return cMASKMaskKeyword_68_0; } + + //ENABLE="enable" + public EnumLiteralDeclaration getENABLEEnumLiteralDeclaration_69() { return cENABLEEnumLiteralDeclaration_69; } + + //"enable" + public Keyword getENABLEEnableKeyword_69_0() { return cENABLEEnableKeyword_69_0; } + + //HWENABLE="hwenable" + public EnumLiteralDeclaration getHWENABLEEnumLiteralDeclaration_70() { return cHWENABLEEnumLiteralDeclaration_70; } + + //"hwenable" + public Keyword getHWENABLEHwenableKeyword_70_0() { return cHWENABLEHwenableKeyword_70_0; } + + //HWMASK="hwmask" + public EnumLiteralDeclaration getHWMASKEnumLiteralDeclaration_71() { return cHWMASKEnumLiteralDeclaration_71; } + + //"hwmask" + public Keyword getHWMASKHwmaskKeyword_71_0() { return cHWMASKHwmaskKeyword_71_0; } + + //HALTMASK="haltmask" + public EnumLiteralDeclaration getHALTMASKEnumLiteralDeclaration_72() { return cHALTMASKEnumLiteralDeclaration_72; } + + //"haltmask" + public Keyword getHALTMASKHaltmaskKeyword_72_0() { return cHALTMASKHaltmaskKeyword_72_0; } + + //HALTENABLE="haltenable" + public EnumLiteralDeclaration getHALTENABLEEnumLiteralDeclaration_73() { return cHALTENABLEEnumLiteralDeclaration_73; } + + //"haltenable" + public Keyword getHALTENABLEHaltenableKeyword_73_0() { return cHALTENABLEHaltenableKeyword_73_0; } + + //HALT="halt" + public EnumLiteralDeclaration getHALTEnumLiteralDeclaration_74() { return cHALTEnumLiteralDeclaration_74; } + + //"halt" + public Keyword getHALTHaltKeyword_74_0() { return cHALTHaltKeyword_74_0; } + + //NEXT="next" + public EnumLiteralDeclaration getNEXTEnumLiteralDeclaration_75() { return cNEXTEnumLiteralDeclaration_75; } + + //"next" + public Keyword getNEXTNextKeyword_75_0() { return cNEXTNextKeyword_75_0; } + } + public class PropertyElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Property"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cNAMEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cNAMENameKeyword_0_0 = (Keyword)cNAMEEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cDESCEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cDESCDescKeyword_1_0 = (Keyword)cDESCEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cARBITEREnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cARBITERArbiterKeyword_2_0 = (Keyword)cARBITEREnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cRSETEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cRSETRsetKeyword_3_0 = (Keyword)cRSETEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cRCLREnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cRCLRRclrKeyword_4_0 = (Keyword)cRCLREnumLiteralDeclaration_4.eContents().get(0); + private final EnumLiteralDeclaration cWOCLREnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cWOCLRWoclrKeyword_5_0 = (Keyword)cWOCLREnumLiteralDeclaration_5.eContents().get(0); + private final EnumLiteralDeclaration cWOSETEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); + private final Keyword cWOSETWosetKeyword_6_0 = (Keyword)cWOSETEnumLiteralDeclaration_6.eContents().get(0); + private final EnumLiteralDeclaration cWEEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); + private final Keyword cWEWeKeyword_7_0 = (Keyword)cWEEnumLiteralDeclaration_7.eContents().get(0); + private final EnumLiteralDeclaration cWELEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); + private final Keyword cWELWelKeyword_8_0 = (Keyword)cWELEnumLiteralDeclaration_8.eContents().get(0); + private final EnumLiteralDeclaration cSWWEEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); + private final Keyword cSWWESwweKeyword_9_0 = (Keyword)cSWWEEnumLiteralDeclaration_9.eContents().get(0); + private final EnumLiteralDeclaration cSWWELEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); + private final Keyword cSWWELSwwelKeyword_10_0 = (Keyword)cSWWELEnumLiteralDeclaration_10.eContents().get(0); + private final EnumLiteralDeclaration cHWSETEnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); + private final Keyword cHWSETHwsetKeyword_11_0 = (Keyword)cHWSETEnumLiteralDeclaration_11.eContents().get(0); + private final EnumLiteralDeclaration cHWCLREnumLiteralDeclaration_12 = (EnumLiteralDeclaration)cAlternatives.eContents().get(12); + private final Keyword cHWCLRHwclrKeyword_12_0 = (Keyword)cHWCLREnumLiteralDeclaration_12.eContents().get(0); + private final EnumLiteralDeclaration cSWMODEnumLiteralDeclaration_13 = (EnumLiteralDeclaration)cAlternatives.eContents().get(13); + private final Keyword cSWMODSwmodKeyword_13_0 = (Keyword)cSWMODEnumLiteralDeclaration_13.eContents().get(0); + private final EnumLiteralDeclaration cSWACCEnumLiteralDeclaration_14 = (EnumLiteralDeclaration)cAlternatives.eContents().get(14); + private final Keyword cSWACCSwaccKeyword_14_0 = (Keyword)cSWACCEnumLiteralDeclaration_14.eContents().get(0); + private final EnumLiteralDeclaration cSTICKYEnumLiteralDeclaration_15 = (EnumLiteralDeclaration)cAlternatives.eContents().get(15); + private final Keyword cSTICKYStickyKeyword_15_0 = (Keyword)cSTICKYEnumLiteralDeclaration_15.eContents().get(0); + private final EnumLiteralDeclaration cSTICKYBITEnumLiteralDeclaration_16 = (EnumLiteralDeclaration)cAlternatives.eContents().get(16); + private final Keyword cSTICKYBITStickybitKeyword_16_0 = (Keyword)cSTICKYBITEnumLiteralDeclaration_16.eContents().get(0); + private final EnumLiteralDeclaration cINTREnumLiteralDeclaration_17 = (EnumLiteralDeclaration)cAlternatives.eContents().get(17); + private final Keyword cINTRIntrKeyword_17_0 = (Keyword)cINTREnumLiteralDeclaration_17.eContents().get(0); + private final EnumLiteralDeclaration cANDEDEnumLiteralDeclaration_18 = (EnumLiteralDeclaration)cAlternatives.eContents().get(18); + private final Keyword cANDEDAndedKeyword_18_0 = (Keyword)cANDEDEnumLiteralDeclaration_18.eContents().get(0); + private final EnumLiteralDeclaration cOREDEnumLiteralDeclaration_19 = (EnumLiteralDeclaration)cAlternatives.eContents().get(19); + private final Keyword cOREDOredKeyword_19_0 = (Keyword)cOREDEnumLiteralDeclaration_19.eContents().get(0); + private final EnumLiteralDeclaration cXOREDEnumLiteralDeclaration_20 = (EnumLiteralDeclaration)cAlternatives.eContents().get(20); + private final Keyword cXOREDXoredKeyword_20_0 = (Keyword)cXOREDEnumLiteralDeclaration_20.eContents().get(0); + private final EnumLiteralDeclaration cCOUNTEREnumLiteralDeclaration_21 = (EnumLiteralDeclaration)cAlternatives.eContents().get(21); + private final Keyword cCOUNTERCounterKeyword_21_0 = (Keyword)cCOUNTEREnumLiteralDeclaration_21.eContents().get(0); + private final EnumLiteralDeclaration cOVERFLOWEnumLiteralDeclaration_22 = (EnumLiteralDeclaration)cAlternatives.eContents().get(22); + private final Keyword cOVERFLOWOverflowKeyword_22_0 = (Keyword)cOVERFLOWEnumLiteralDeclaration_22.eContents().get(0); + private final EnumLiteralDeclaration cSHAREDEXTBUSEnumLiteralDeclaration_23 = (EnumLiteralDeclaration)cAlternatives.eContents().get(23); + private final Keyword cSHAREDEXTBUSSharedextbusKeyword_23_0 = (Keyword)cSHAREDEXTBUSEnumLiteralDeclaration_23.eContents().get(0); + private final EnumLiteralDeclaration cERREXTBUSEnumLiteralDeclaration_24 = (EnumLiteralDeclaration)cAlternatives.eContents().get(24); + private final Keyword cERREXTBUSErrextbusKeyword_24_0 = (Keyword)cERREXTBUSEnumLiteralDeclaration_24.eContents().get(0); + private final EnumLiteralDeclaration cRESETEnumLiteralDeclaration_25 = (EnumLiteralDeclaration)cAlternatives.eContents().get(25); + private final Keyword cRESETResetKeyword_25_0 = (Keyword)cRESETEnumLiteralDeclaration_25.eContents().get(0); + private final EnumLiteralDeclaration cLITTLEENDIANEnumLiteralDeclaration_26 = (EnumLiteralDeclaration)cAlternatives.eContents().get(26); + private final Keyword cLITTLEENDIANLittleendianKeyword_26_0 = (Keyword)cLITTLEENDIANEnumLiteralDeclaration_26.eContents().get(0); + private final EnumLiteralDeclaration cBIGENDIANEnumLiteralDeclaration_27 = (EnumLiteralDeclaration)cAlternatives.eContents().get(27); + private final Keyword cBIGENDIANBigendianKeyword_27_0 = (Keyword)cBIGENDIANEnumLiteralDeclaration_27.eContents().get(0); + private final EnumLiteralDeclaration cRSVDSETEnumLiteralDeclaration_28 = (EnumLiteralDeclaration)cAlternatives.eContents().get(28); + private final Keyword cRSVDSETRsvdsetKeyword_28_0 = (Keyword)cRSVDSETEnumLiteralDeclaration_28.eContents().get(0); + private final EnumLiteralDeclaration cRSVDSETXEnumLiteralDeclaration_29 = (EnumLiteralDeclaration)cAlternatives.eContents().get(29); + private final Keyword cRSVDSETXRsvdsetXKeyword_29_0 = (Keyword)cRSVDSETXEnumLiteralDeclaration_29.eContents().get(0); + private final EnumLiteralDeclaration cBRIDGEEnumLiteralDeclaration_30 = (EnumLiteralDeclaration)cAlternatives.eContents().get(30); + private final Keyword cBRIDGEBridgeKeyword_30_0 = (Keyword)cBRIDGEEnumLiteralDeclaration_30.eContents().get(0); + private final EnumLiteralDeclaration cSHAREDEnumLiteralDeclaration_31 = (EnumLiteralDeclaration)cAlternatives.eContents().get(31); + private final Keyword cSHAREDSharedKeyword_31_0 = (Keyword)cSHAREDEnumLiteralDeclaration_31.eContents().get(0); + private final EnumLiteralDeclaration cMSB0EnumLiteralDeclaration_32 = (EnumLiteralDeclaration)cAlternatives.eContents().get(32); + private final Keyword cMSB0Msb0Keyword_32_0 = (Keyword)cMSB0EnumLiteralDeclaration_32.eContents().get(0); + private final EnumLiteralDeclaration cLSB0EnumLiteralDeclaration_33 = (EnumLiteralDeclaration)cAlternatives.eContents().get(33); + private final Keyword cLSB0Lsb0Keyword_33_0 = (Keyword)cLSB0EnumLiteralDeclaration_33.eContents().get(0); + private final EnumLiteralDeclaration cSYNCEnumLiteralDeclaration_34 = (EnumLiteralDeclaration)cAlternatives.eContents().get(34); + private final Keyword cSYNCSyncKeyword_34_0 = (Keyword)cSYNCEnumLiteralDeclaration_34.eContents().get(0); + private final EnumLiteralDeclaration cASYNCEnumLiteralDeclaration_35 = (EnumLiteralDeclaration)cAlternatives.eContents().get(35); + private final Keyword cASYNCAsyncKeyword_35_0 = (Keyword)cASYNCEnumLiteralDeclaration_35.eContents().get(0); + private final EnumLiteralDeclaration cCPUIF_RESETEnumLiteralDeclaration_36 = (EnumLiteralDeclaration)cAlternatives.eContents().get(36); + private final Keyword cCPUIF_RESETCpuif_resetKeyword_36_0 = (Keyword)cCPUIF_RESETEnumLiteralDeclaration_36.eContents().get(0); + private final EnumLiteralDeclaration cFIELD_RESETEnumLiteralDeclaration_37 = (EnumLiteralDeclaration)cAlternatives.eContents().get(37); + private final Keyword cFIELD_RESETField_resetKeyword_37_0 = (Keyword)cFIELD_RESETEnumLiteralDeclaration_37.eContents().get(0); + private final EnumLiteralDeclaration cACTIVEHIGHEnumLiteralDeclaration_38 = (EnumLiteralDeclaration)cAlternatives.eContents().get(38); + private final Keyword cACTIVEHIGHActivehighKeyword_38_0 = (Keyword)cACTIVEHIGHEnumLiteralDeclaration_38.eContents().get(0); + private final EnumLiteralDeclaration cACTIVELOWEnumLiteralDeclaration_39 = (EnumLiteralDeclaration)cAlternatives.eContents().get(39); + private final Keyword cACTIVELOWActivelowKeyword_39_0 = (Keyword)cACTIVELOWEnumLiteralDeclaration_39.eContents().get(0); + private final EnumLiteralDeclaration cSINGLEPULSEEnumLiteralDeclaration_40 = (EnumLiteralDeclaration)cAlternatives.eContents().get(40); + private final Keyword cSINGLEPULSESinglepulseKeyword_40_0 = (Keyword)cSINGLEPULSEEnumLiteralDeclaration_40.eContents().get(0); + private final EnumLiteralDeclaration cUNDERFLOWEnumLiteralDeclaration_41 = (EnumLiteralDeclaration)cAlternatives.eContents().get(41); + private final Keyword cUNDERFLOWUnderflowKeyword_41_0 = (Keyword)cUNDERFLOWEnumLiteralDeclaration_41.eContents().get(0); + private final EnumLiteralDeclaration cINCREnumLiteralDeclaration_42 = (EnumLiteralDeclaration)cAlternatives.eContents().get(42); + private final Keyword cINCRIncrKeyword_42_0 = (Keyword)cINCREnumLiteralDeclaration_42.eContents().get(0); + private final EnumLiteralDeclaration cDECREnumLiteralDeclaration_43 = (EnumLiteralDeclaration)cAlternatives.eContents().get(43); + private final Keyword cDECRDecrKeyword_43_0 = (Keyword)cDECREnumLiteralDeclaration_43.eContents().get(0); + private final EnumLiteralDeclaration cINCRWIDTHEnumLiteralDeclaration_44 = (EnumLiteralDeclaration)cAlternatives.eContents().get(44); + private final Keyword cINCRWIDTHIncrwidthKeyword_44_0 = (Keyword)cINCRWIDTHEnumLiteralDeclaration_44.eContents().get(0); + private final EnumLiteralDeclaration cDECRWIDTHEnumLiteralDeclaration_45 = (EnumLiteralDeclaration)cAlternatives.eContents().get(45); + private final Keyword cDECRWIDTHDecrwidthKeyword_45_0 = (Keyword)cDECRWIDTHEnumLiteralDeclaration_45.eContents().get(0); + private final EnumLiteralDeclaration cINCRVALUEEnumLiteralDeclaration_46 = (EnumLiteralDeclaration)cAlternatives.eContents().get(46); + private final Keyword cINCRVALUEIncrvalueKeyword_46_0 = (Keyword)cINCRVALUEEnumLiteralDeclaration_46.eContents().get(0); + private final EnumLiteralDeclaration cDECRVALUEEnumLiteralDeclaration_47 = (EnumLiteralDeclaration)cAlternatives.eContents().get(47); + private final Keyword cDECRVALUEDecrvalueKeyword_47_0 = (Keyword)cDECRVALUEEnumLiteralDeclaration_47.eContents().get(0); + private final EnumLiteralDeclaration cSATURATEEnumLiteralDeclaration_48 = (EnumLiteralDeclaration)cAlternatives.eContents().get(48); + private final Keyword cSATURATESaturateKeyword_48_0 = (Keyword)cSATURATEEnumLiteralDeclaration_48.eContents().get(0); + private final EnumLiteralDeclaration cDECRSATURATEEnumLiteralDeclaration_49 = (EnumLiteralDeclaration)cAlternatives.eContents().get(49); + private final Keyword cDECRSATURATEDecrsaturateKeyword_49_0 = (Keyword)cDECRSATURATEEnumLiteralDeclaration_49.eContents().get(0); + private final EnumLiteralDeclaration cTHRESHOLDEnumLiteralDeclaration_50 = (EnumLiteralDeclaration)cAlternatives.eContents().get(50); + private final Keyword cTHRESHOLDThresholdKeyword_50_0 = (Keyword)cTHRESHOLDEnumLiteralDeclaration_50.eContents().get(0); + private final EnumLiteralDeclaration cDECRTHRESHOLDEnumLiteralDeclaration_51 = (EnumLiteralDeclaration)cAlternatives.eContents().get(51); + private final Keyword cDECRTHRESHOLDDecrthresholdKeyword_51_0 = (Keyword)cDECRTHRESHOLDEnumLiteralDeclaration_51.eContents().get(0); + private final EnumLiteralDeclaration cDONTCOMPAREEnumLiteralDeclaration_52 = (EnumLiteralDeclaration)cAlternatives.eContents().get(52); + private final Keyword cDONTCOMPAREDontcompareKeyword_52_0 = (Keyword)cDONTCOMPAREEnumLiteralDeclaration_52.eContents().get(0); + private final EnumLiteralDeclaration cDONTTESTEnumLiteralDeclaration_53 = (EnumLiteralDeclaration)cAlternatives.eContents().get(53); + private final Keyword cDONTTESTDonttestKeyword_53_0 = (Keyword)cDONTTESTEnumLiteralDeclaration_53.eContents().get(0); + private final EnumLiteralDeclaration cINTERNALEnumLiteralDeclaration_54 = (EnumLiteralDeclaration)cAlternatives.eContents().get(54); + private final Keyword cINTERNALInternalKeyword_54_0 = (Keyword)cINTERNALEnumLiteralDeclaration_54.eContents().get(0); + private final EnumLiteralDeclaration cALIGNMENTEnumLiteralDeclaration_55 = (EnumLiteralDeclaration)cAlternatives.eContents().get(55); + private final Keyword cALIGNMENTAlignmentKeyword_55_0 = (Keyword)cALIGNMENTEnumLiteralDeclaration_55.eContents().get(0); + private final EnumLiteralDeclaration cREGWIDTHEnumLiteralDeclaration_56 = (EnumLiteralDeclaration)cAlternatives.eContents().get(56); + private final Keyword cREGWIDTHRegwidthKeyword_56_0 = (Keyword)cREGWIDTHEnumLiteralDeclaration_56.eContents().get(0); + private final EnumLiteralDeclaration cFIELDWIDTHEnumLiteralDeclaration_57 = (EnumLiteralDeclaration)cAlternatives.eContents().get(57); + private final Keyword cFIELDWIDTHFieldwidthKeyword_57_0 = (Keyword)cFIELDWIDTHEnumLiteralDeclaration_57.eContents().get(0); + private final EnumLiteralDeclaration cSIGNALWIDTHEnumLiteralDeclaration_58 = (EnumLiteralDeclaration)cAlternatives.eContents().get(58); + private final Keyword cSIGNALWIDTHSignalwidthKeyword_58_0 = (Keyword)cSIGNALWIDTHEnumLiteralDeclaration_58.eContents().get(0); + private final EnumLiteralDeclaration cACCESSWIDTHEnumLiteralDeclaration_59 = (EnumLiteralDeclaration)cAlternatives.eContents().get(59); + private final Keyword cACCESSWIDTHAccesswidthKeyword_59_0 = (Keyword)cACCESSWIDTHEnumLiteralDeclaration_59.eContents().get(0); + private final EnumLiteralDeclaration cSWEnumLiteralDeclaration_60 = (EnumLiteralDeclaration)cAlternatives.eContents().get(60); + private final Keyword cSWSwKeyword_60_0 = (Keyword)cSWEnumLiteralDeclaration_60.eContents().get(0); + private final EnumLiteralDeclaration cHWEnumLiteralDeclaration_61 = (EnumLiteralDeclaration)cAlternatives.eContents().get(61); + private final Keyword cHWHwKeyword_61_0 = (Keyword)cHWEnumLiteralDeclaration_61.eContents().get(0); + private final EnumLiteralDeclaration cADDRESSINGEnumLiteralDeclaration_62 = (EnumLiteralDeclaration)cAlternatives.eContents().get(62); + private final Keyword cADDRESSINGAddressingKeyword_62_0 = (Keyword)cADDRESSINGEnumLiteralDeclaration_62.eContents().get(0); + private final EnumLiteralDeclaration cPRECEDENCEEnumLiteralDeclaration_63 = (EnumLiteralDeclaration)cAlternatives.eContents().get(63); + private final Keyword cPRECEDENCEPrecedenceKeyword_63_0 = (Keyword)cPRECEDENCEEnumLiteralDeclaration_63.eContents().get(0); + private final EnumLiteralDeclaration cENCODEEnumLiteralDeclaration_64 = (EnumLiteralDeclaration)cAlternatives.eContents().get(64); + private final Keyword cENCODEEncodeKeyword_64_0 = (Keyword)cENCODEEnumLiteralDeclaration_64.eContents().get(0); + private final EnumLiteralDeclaration cRESETSIGNALEnumLiteralDeclaration_65 = (EnumLiteralDeclaration)cAlternatives.eContents().get(65); + private final Keyword cRESETSIGNALResetsignalKeyword_65_0 = (Keyword)cRESETSIGNALEnumLiteralDeclaration_65.eContents().get(0); + private final EnumLiteralDeclaration cCLOCKEnumLiteralDeclaration_66 = (EnumLiteralDeclaration)cAlternatives.eContents().get(66); + private final Keyword cCLOCKClockKeyword_66_0 = (Keyword)cCLOCKEnumLiteralDeclaration_66.eContents().get(0); + private final EnumLiteralDeclaration cMASKEnumLiteralDeclaration_67 = (EnumLiteralDeclaration)cAlternatives.eContents().get(67); + private final Keyword cMASKMaskKeyword_67_0 = (Keyword)cMASKEnumLiteralDeclaration_67.eContents().get(0); + private final EnumLiteralDeclaration cENABLEEnumLiteralDeclaration_68 = (EnumLiteralDeclaration)cAlternatives.eContents().get(68); + private final Keyword cENABLEEnableKeyword_68_0 = (Keyword)cENABLEEnumLiteralDeclaration_68.eContents().get(0); + private final EnumLiteralDeclaration cHWENABLEEnumLiteralDeclaration_69 = (EnumLiteralDeclaration)cAlternatives.eContents().get(69); + private final Keyword cHWENABLEHwenableKeyword_69_0 = (Keyword)cHWENABLEEnumLiteralDeclaration_69.eContents().get(0); + private final EnumLiteralDeclaration cHWMASKEnumLiteralDeclaration_70 = (EnumLiteralDeclaration)cAlternatives.eContents().get(70); + private final Keyword cHWMASKHwmaskKeyword_70_0 = (Keyword)cHWMASKEnumLiteralDeclaration_70.eContents().get(0); + private final EnumLiteralDeclaration cHALTMASKEnumLiteralDeclaration_71 = (EnumLiteralDeclaration)cAlternatives.eContents().get(71); + private final Keyword cHALTMASKHaltmaskKeyword_71_0 = (Keyword)cHALTMASKEnumLiteralDeclaration_71.eContents().get(0); + private final EnumLiteralDeclaration cHALTENABLEEnumLiteralDeclaration_72 = (EnumLiteralDeclaration)cAlternatives.eContents().get(72); + private final Keyword cHALTENABLEHaltenableKeyword_72_0 = (Keyword)cHALTENABLEEnumLiteralDeclaration_72.eContents().get(0); + private final EnumLiteralDeclaration cHALTEnumLiteralDeclaration_73 = (EnumLiteralDeclaration)cAlternatives.eContents().get(73); + private final Keyword cHALTHaltKeyword_73_0 = (Keyword)cHALTEnumLiteralDeclaration_73.eContents().get(0); + private final EnumLiteralDeclaration cNEXTEnumLiteralDeclaration_74 = (EnumLiteralDeclaration)cAlternatives.eContents().get(74); + private final Keyword cNEXTNextKeyword_74_0 = (Keyword)cNEXTEnumLiteralDeclaration_74.eContents().get(0); + + //enum Property returns PropertyEnum: + // NAME="name" | + // DESC="desc" | + // ARBITER="arbiter" | + // RSET="rset" | + // RCLR="rclr" | + // WOCLR="woclr" | + // WOSET="woset" | + // WE="we" | + // WEL="wel" | + // SWWE="swwe" | + // SWWEL="swwel" | + // HWSET="hwset" | + // HWCLR="hwclr" | + // SWMOD="swmod" | + // SWACC="swacc" | + // STICKY="sticky" | + // STICKYBIT="stickybit" | + // INTR="intr" | + // ANDED="anded" | + // ORED="ored" | + // XORED="xored" | + // COUNTER="counter" | + // OVERFLOW="overflow" | + // SHAREDEXTBUS="sharedextbus" | + // ERREXTBUS="errextbus" | + // RESET="reset" | + // LITTLEENDIAN="littleendian" | + // BIGENDIAN="bigendian" | + // RSVDSET="rsvdset" | + // RSVDSETX="rsvdsetX" | + // BRIDGE="bridge" | + // SHARED="shared" | + // MSB0="msb0" | + // LSB0="lsb0" | + // SYNC="sync" | + // ASYNC="async" | + // CPUIF_RESET="cpuif_reset" | + // FIELD_RESET="field_reset" | + // ACTIVEHIGH="activehigh" | + // ACTIVELOW="activelow" | + // SINGLEPULSE="singlepulse" | + // UNDERFLOW="underflow" | + // INCR="incr" | + // DECR="decr" | + // INCRWIDTH="incrwidth" | + // DECRWIDTH="decrwidth" | + // INCRVALUE="incrvalue" | + // DECRVALUE="decrvalue" | + // SATURATE="saturate" | + // DECRSATURATE="decrsaturate" | + // THRESHOLD="threshold" | + // DECRTHRESHOLD="decrthreshold" | + // DONTCOMPARE="dontcompare" | + // DONTTEST="donttest" | + // INTERNAL="internal" | + // ALIGNMENT="alignment" | + // REGWIDTH="regwidth" | + // FIELDWIDTH="fieldwidth" | + // SIGNALWIDTH="signalwidth" | + // ACCESSWIDTH="accesswidth" | + // SW="sw" | + // HW="hw" | + // ADDRESSING="addressing" | + // PRECEDENCE="precedence" | + // ENCODE="encode" | + // RESETSIGNAL="resetsignal" | + // CLOCK="clock" | + // MASK="mask" | + // ENABLE="enable" | + // HWENABLE="hwenable" | + // HWMASK="hwmask" | + // HALTMASK="haltmask" | + // HALTENABLE="haltenable" | + // HALT="halt" | + // NEXT="next"; + public EnumRule getRule() { return rule; } + + //NAME="name" | DESC="desc" | ARBITER="arbiter" | RSET="rset" | RCLR="rclr" | WOCLR="woclr" | WOSET="woset" | WE="we" | + //WEL="wel" | SWWE="swwe" | SWWEL="swwel" | HWSET="hwset" | HWCLR="hwclr" | SWMOD="swmod" | SWACC="swacc" | + //STICKY="sticky" | STICKYBIT="stickybit" | INTR="intr" | ANDED="anded" | ORED="ored" | XORED="xored" | COUNTER="counter" + //| OVERFLOW="overflow" | SHAREDEXTBUS="sharedextbus" | ERREXTBUS="errextbus" | RESET="reset" | + //LITTLEENDIAN="littleendian" | BIGENDIAN="bigendian" | RSVDSET="rsvdset" | RSVDSETX="rsvdsetX" | BRIDGE="bridge" | + //SHARED="shared" | MSB0="msb0" | LSB0="lsb0" | SYNC="sync" | ASYNC="async" | CPUIF_RESET="cpuif_reset" | + //FIELD_RESET="field_reset" | ACTIVEHIGH="activehigh" | ACTIVELOW="activelow" | SINGLEPULSE="singlepulse" | + //UNDERFLOW="underflow" | INCR="incr" | DECR="decr" | INCRWIDTH="incrwidth" | DECRWIDTH="decrwidth" | + //INCRVALUE="incrvalue" | DECRVALUE="decrvalue" | SATURATE="saturate" | DECRSATURATE="decrsaturate" | + //THRESHOLD="threshold" | DECRTHRESHOLD="decrthreshold" | DONTCOMPARE="dontcompare" | DONTTEST="donttest" | + //INTERNAL="internal" | ALIGNMENT="alignment" | REGWIDTH="regwidth" | FIELDWIDTH="fieldwidth" | SIGNALWIDTH="signalwidth" + //| ACCESSWIDTH="accesswidth" | SW="sw" | HW="hw" | ADDRESSING="addressing" | PRECEDENCE="precedence" | ENCODE="encode" | + //RESETSIGNAL="resetsignal" | CLOCK="clock" | MASK="mask" | ENABLE="enable" | HWENABLE="hwenable" | HWMASK="hwmask" | + //HALTMASK="haltmask" | HALTENABLE="haltenable" | HALT="halt" | NEXT="next" + public Alternatives getAlternatives() { return cAlternatives; } + + //NAME="name" + public EnumLiteralDeclaration getNAMEEnumLiteralDeclaration_0() { return cNAMEEnumLiteralDeclaration_0; } + + //"name" + public Keyword getNAMENameKeyword_0_0() { return cNAMENameKeyword_0_0; } + + //DESC="desc" + public EnumLiteralDeclaration getDESCEnumLiteralDeclaration_1() { return cDESCEnumLiteralDeclaration_1; } + + //"desc" + public Keyword getDESCDescKeyword_1_0() { return cDESCDescKeyword_1_0; } + + //ARBITER="arbiter" + public EnumLiteralDeclaration getARBITEREnumLiteralDeclaration_2() { return cARBITEREnumLiteralDeclaration_2; } + + //"arbiter" + public Keyword getARBITERArbiterKeyword_2_0() { return cARBITERArbiterKeyword_2_0; } + + //RSET="rset" + public EnumLiteralDeclaration getRSETEnumLiteralDeclaration_3() { return cRSETEnumLiteralDeclaration_3; } + + //"rset" + public Keyword getRSETRsetKeyword_3_0() { return cRSETRsetKeyword_3_0; } + + //RCLR="rclr" + public EnumLiteralDeclaration getRCLREnumLiteralDeclaration_4() { return cRCLREnumLiteralDeclaration_4; } + + //"rclr" + public Keyword getRCLRRclrKeyword_4_0() { return cRCLRRclrKeyword_4_0; } + + //WOCLR="woclr" + public EnumLiteralDeclaration getWOCLREnumLiteralDeclaration_5() { return cWOCLREnumLiteralDeclaration_5; } + + //"woclr" + public Keyword getWOCLRWoclrKeyword_5_0() { return cWOCLRWoclrKeyword_5_0; } + + //WOSET="woset" + public EnumLiteralDeclaration getWOSETEnumLiteralDeclaration_6() { return cWOSETEnumLiteralDeclaration_6; } + + //"woset" + public Keyword getWOSETWosetKeyword_6_0() { return cWOSETWosetKeyword_6_0; } + + //WE="we" + public EnumLiteralDeclaration getWEEnumLiteralDeclaration_7() { return cWEEnumLiteralDeclaration_7; } + + //"we" + public Keyword getWEWeKeyword_7_0() { return cWEWeKeyword_7_0; } + + //WEL="wel" + public EnumLiteralDeclaration getWELEnumLiteralDeclaration_8() { return cWELEnumLiteralDeclaration_8; } + + //"wel" + public Keyword getWELWelKeyword_8_0() { return cWELWelKeyword_8_0; } + + //SWWE="swwe" + public EnumLiteralDeclaration getSWWEEnumLiteralDeclaration_9() { return cSWWEEnumLiteralDeclaration_9; } + + //"swwe" + public Keyword getSWWESwweKeyword_9_0() { return cSWWESwweKeyword_9_0; } + + //SWWEL="swwel" + public EnumLiteralDeclaration getSWWELEnumLiteralDeclaration_10() { return cSWWELEnumLiteralDeclaration_10; } + + //"swwel" + public Keyword getSWWELSwwelKeyword_10_0() { return cSWWELSwwelKeyword_10_0; } + + //HWSET="hwset" + public EnumLiteralDeclaration getHWSETEnumLiteralDeclaration_11() { return cHWSETEnumLiteralDeclaration_11; } + + //"hwset" + public Keyword getHWSETHwsetKeyword_11_0() { return cHWSETHwsetKeyword_11_0; } + + //HWCLR="hwclr" + public EnumLiteralDeclaration getHWCLREnumLiteralDeclaration_12() { return cHWCLREnumLiteralDeclaration_12; } + + //"hwclr" + public Keyword getHWCLRHwclrKeyword_12_0() { return cHWCLRHwclrKeyword_12_0; } + + //SWMOD="swmod" + public EnumLiteralDeclaration getSWMODEnumLiteralDeclaration_13() { return cSWMODEnumLiteralDeclaration_13; } + + //"swmod" + public Keyword getSWMODSwmodKeyword_13_0() { return cSWMODSwmodKeyword_13_0; } + + //SWACC="swacc" + public EnumLiteralDeclaration getSWACCEnumLiteralDeclaration_14() { return cSWACCEnumLiteralDeclaration_14; } + + //"swacc" + public Keyword getSWACCSwaccKeyword_14_0() { return cSWACCSwaccKeyword_14_0; } + + //STICKY="sticky" + public EnumLiteralDeclaration getSTICKYEnumLiteralDeclaration_15() { return cSTICKYEnumLiteralDeclaration_15; } + + //"sticky" + public Keyword getSTICKYStickyKeyword_15_0() { return cSTICKYStickyKeyword_15_0; } + + //STICKYBIT="stickybit" + public EnumLiteralDeclaration getSTICKYBITEnumLiteralDeclaration_16() { return cSTICKYBITEnumLiteralDeclaration_16; } + + //"stickybit" + public Keyword getSTICKYBITStickybitKeyword_16_0() { return cSTICKYBITStickybitKeyword_16_0; } + + //INTR="intr" + public EnumLiteralDeclaration getINTREnumLiteralDeclaration_17() { return cINTREnumLiteralDeclaration_17; } + + //"intr" + public Keyword getINTRIntrKeyword_17_0() { return cINTRIntrKeyword_17_0; } + + //ANDED="anded" + public EnumLiteralDeclaration getANDEDEnumLiteralDeclaration_18() { return cANDEDEnumLiteralDeclaration_18; } + + //"anded" + public Keyword getANDEDAndedKeyword_18_0() { return cANDEDAndedKeyword_18_0; } + + //ORED="ored" + public EnumLiteralDeclaration getOREDEnumLiteralDeclaration_19() { return cOREDEnumLiteralDeclaration_19; } + + //"ored" + public Keyword getOREDOredKeyword_19_0() { return cOREDOredKeyword_19_0; } + + //XORED="xored" + public EnumLiteralDeclaration getXOREDEnumLiteralDeclaration_20() { return cXOREDEnumLiteralDeclaration_20; } + + //"xored" + public Keyword getXOREDXoredKeyword_20_0() { return cXOREDXoredKeyword_20_0; } + + //COUNTER="counter" + public EnumLiteralDeclaration getCOUNTEREnumLiteralDeclaration_21() { return cCOUNTEREnumLiteralDeclaration_21; } + + //"counter" + public Keyword getCOUNTERCounterKeyword_21_0() { return cCOUNTERCounterKeyword_21_0; } + + //OVERFLOW="overflow" + public EnumLiteralDeclaration getOVERFLOWEnumLiteralDeclaration_22() { return cOVERFLOWEnumLiteralDeclaration_22; } + + //"overflow" + public Keyword getOVERFLOWOverflowKeyword_22_0() { return cOVERFLOWOverflowKeyword_22_0; } + + //SHAREDEXTBUS="sharedextbus" + public EnumLiteralDeclaration getSHAREDEXTBUSEnumLiteralDeclaration_23() { return cSHAREDEXTBUSEnumLiteralDeclaration_23; } + + //"sharedextbus" + public Keyword getSHAREDEXTBUSSharedextbusKeyword_23_0() { return cSHAREDEXTBUSSharedextbusKeyword_23_0; } + + //ERREXTBUS="errextbus" + public EnumLiteralDeclaration getERREXTBUSEnumLiteralDeclaration_24() { return cERREXTBUSEnumLiteralDeclaration_24; } + + //"errextbus" + public Keyword getERREXTBUSErrextbusKeyword_24_0() { return cERREXTBUSErrextbusKeyword_24_0; } + + //RESET="reset" + public EnumLiteralDeclaration getRESETEnumLiteralDeclaration_25() { return cRESETEnumLiteralDeclaration_25; } + + //"reset" + public Keyword getRESETResetKeyword_25_0() { return cRESETResetKeyword_25_0; } + + //LITTLEENDIAN="littleendian" + public EnumLiteralDeclaration getLITTLEENDIANEnumLiteralDeclaration_26() { return cLITTLEENDIANEnumLiteralDeclaration_26; } + + //"littleendian" + public Keyword getLITTLEENDIANLittleendianKeyword_26_0() { return cLITTLEENDIANLittleendianKeyword_26_0; } + + //BIGENDIAN="bigendian" + public EnumLiteralDeclaration getBIGENDIANEnumLiteralDeclaration_27() { return cBIGENDIANEnumLiteralDeclaration_27; } + + //"bigendian" + public Keyword getBIGENDIANBigendianKeyword_27_0() { return cBIGENDIANBigendianKeyword_27_0; } + + //RSVDSET="rsvdset" + public EnumLiteralDeclaration getRSVDSETEnumLiteralDeclaration_28() { return cRSVDSETEnumLiteralDeclaration_28; } + + //"rsvdset" + public Keyword getRSVDSETRsvdsetKeyword_28_0() { return cRSVDSETRsvdsetKeyword_28_0; } + + //RSVDSETX="rsvdsetX" + public EnumLiteralDeclaration getRSVDSETXEnumLiteralDeclaration_29() { return cRSVDSETXEnumLiteralDeclaration_29; } + + //"rsvdsetX" + public Keyword getRSVDSETXRsvdsetXKeyword_29_0() { return cRSVDSETXRsvdsetXKeyword_29_0; } + + //BRIDGE="bridge" + public EnumLiteralDeclaration getBRIDGEEnumLiteralDeclaration_30() { return cBRIDGEEnumLiteralDeclaration_30; } + + //"bridge" + public Keyword getBRIDGEBridgeKeyword_30_0() { return cBRIDGEBridgeKeyword_30_0; } + + //SHARED="shared" + public EnumLiteralDeclaration getSHAREDEnumLiteralDeclaration_31() { return cSHAREDEnumLiteralDeclaration_31; } + + //"shared" + public Keyword getSHAREDSharedKeyword_31_0() { return cSHAREDSharedKeyword_31_0; } + + //MSB0="msb0" + public EnumLiteralDeclaration getMSB0EnumLiteralDeclaration_32() { return cMSB0EnumLiteralDeclaration_32; } + + //"msb0" + public Keyword getMSB0Msb0Keyword_32_0() { return cMSB0Msb0Keyword_32_0; } + + //LSB0="lsb0" + public EnumLiteralDeclaration getLSB0EnumLiteralDeclaration_33() { return cLSB0EnumLiteralDeclaration_33; } + + //"lsb0" + public Keyword getLSB0Lsb0Keyword_33_0() { return cLSB0Lsb0Keyword_33_0; } + + //SYNC="sync" + public EnumLiteralDeclaration getSYNCEnumLiteralDeclaration_34() { return cSYNCEnumLiteralDeclaration_34; } + + //"sync" + public Keyword getSYNCSyncKeyword_34_0() { return cSYNCSyncKeyword_34_0; } + + //ASYNC="async" + public EnumLiteralDeclaration getASYNCEnumLiteralDeclaration_35() { return cASYNCEnumLiteralDeclaration_35; } + + //"async" + public Keyword getASYNCAsyncKeyword_35_0() { return cASYNCAsyncKeyword_35_0; } + + //CPUIF_RESET="cpuif_reset" + public EnumLiteralDeclaration getCPUIF_RESETEnumLiteralDeclaration_36() { return cCPUIF_RESETEnumLiteralDeclaration_36; } + + //"cpuif_reset" + public Keyword getCPUIF_RESETCpuif_resetKeyword_36_0() { return cCPUIF_RESETCpuif_resetKeyword_36_0; } + + //FIELD_RESET="field_reset" + public EnumLiteralDeclaration getFIELD_RESETEnumLiteralDeclaration_37() { return cFIELD_RESETEnumLiteralDeclaration_37; } + + //"field_reset" + public Keyword getFIELD_RESETField_resetKeyword_37_0() { return cFIELD_RESETField_resetKeyword_37_0; } + + //ACTIVEHIGH="activehigh" + public EnumLiteralDeclaration getACTIVEHIGHEnumLiteralDeclaration_38() { return cACTIVEHIGHEnumLiteralDeclaration_38; } + + //"activehigh" + public Keyword getACTIVEHIGHActivehighKeyword_38_0() { return cACTIVEHIGHActivehighKeyword_38_0; } + + //ACTIVELOW="activelow" + public EnumLiteralDeclaration getACTIVELOWEnumLiteralDeclaration_39() { return cACTIVELOWEnumLiteralDeclaration_39; } + + //"activelow" + public Keyword getACTIVELOWActivelowKeyword_39_0() { return cACTIVELOWActivelowKeyword_39_0; } + + //SINGLEPULSE="singlepulse" + public EnumLiteralDeclaration getSINGLEPULSEEnumLiteralDeclaration_40() { return cSINGLEPULSEEnumLiteralDeclaration_40; } + + //"singlepulse" + public Keyword getSINGLEPULSESinglepulseKeyword_40_0() { return cSINGLEPULSESinglepulseKeyword_40_0; } + + //UNDERFLOW="underflow" + public EnumLiteralDeclaration getUNDERFLOWEnumLiteralDeclaration_41() { return cUNDERFLOWEnumLiteralDeclaration_41; } + + //"underflow" + public Keyword getUNDERFLOWUnderflowKeyword_41_0() { return cUNDERFLOWUnderflowKeyword_41_0; } + + //INCR="incr" + public EnumLiteralDeclaration getINCREnumLiteralDeclaration_42() { return cINCREnumLiteralDeclaration_42; } + + //"incr" + public Keyword getINCRIncrKeyword_42_0() { return cINCRIncrKeyword_42_0; } + + //DECR="decr" + public EnumLiteralDeclaration getDECREnumLiteralDeclaration_43() { return cDECREnumLiteralDeclaration_43; } + + //"decr" + public Keyword getDECRDecrKeyword_43_0() { return cDECRDecrKeyword_43_0; } + + //INCRWIDTH="incrwidth" + public EnumLiteralDeclaration getINCRWIDTHEnumLiteralDeclaration_44() { return cINCRWIDTHEnumLiteralDeclaration_44; } + + //"incrwidth" + public Keyword getINCRWIDTHIncrwidthKeyword_44_0() { return cINCRWIDTHIncrwidthKeyword_44_0; } + + //DECRWIDTH="decrwidth" + public EnumLiteralDeclaration getDECRWIDTHEnumLiteralDeclaration_45() { return cDECRWIDTHEnumLiteralDeclaration_45; } + + //"decrwidth" + public Keyword getDECRWIDTHDecrwidthKeyword_45_0() { return cDECRWIDTHDecrwidthKeyword_45_0; } + + //INCRVALUE="incrvalue" + public EnumLiteralDeclaration getINCRVALUEEnumLiteralDeclaration_46() { return cINCRVALUEEnumLiteralDeclaration_46; } + + //"incrvalue" + public Keyword getINCRVALUEIncrvalueKeyword_46_0() { return cINCRVALUEIncrvalueKeyword_46_0; } + + //DECRVALUE="decrvalue" + public EnumLiteralDeclaration getDECRVALUEEnumLiteralDeclaration_47() { return cDECRVALUEEnumLiteralDeclaration_47; } + + //"decrvalue" + public Keyword getDECRVALUEDecrvalueKeyword_47_0() { return cDECRVALUEDecrvalueKeyword_47_0; } + + //SATURATE="saturate" + public EnumLiteralDeclaration getSATURATEEnumLiteralDeclaration_48() { return cSATURATEEnumLiteralDeclaration_48; } + + //"saturate" + public Keyword getSATURATESaturateKeyword_48_0() { return cSATURATESaturateKeyword_48_0; } + + //DECRSATURATE="decrsaturate" + public EnumLiteralDeclaration getDECRSATURATEEnumLiteralDeclaration_49() { return cDECRSATURATEEnumLiteralDeclaration_49; } + + //"decrsaturate" + public Keyword getDECRSATURATEDecrsaturateKeyword_49_0() { return cDECRSATURATEDecrsaturateKeyword_49_0; } + + //THRESHOLD="threshold" + public EnumLiteralDeclaration getTHRESHOLDEnumLiteralDeclaration_50() { return cTHRESHOLDEnumLiteralDeclaration_50; } + + //"threshold" + public Keyword getTHRESHOLDThresholdKeyword_50_0() { return cTHRESHOLDThresholdKeyword_50_0; } + + //DECRTHRESHOLD="decrthreshold" + public EnumLiteralDeclaration getDECRTHRESHOLDEnumLiteralDeclaration_51() { return cDECRTHRESHOLDEnumLiteralDeclaration_51; } + + //"decrthreshold" + public Keyword getDECRTHRESHOLDDecrthresholdKeyword_51_0() { return cDECRTHRESHOLDDecrthresholdKeyword_51_0; } + + //DONTCOMPARE="dontcompare" + public EnumLiteralDeclaration getDONTCOMPAREEnumLiteralDeclaration_52() { return cDONTCOMPAREEnumLiteralDeclaration_52; } + + //"dontcompare" + public Keyword getDONTCOMPAREDontcompareKeyword_52_0() { return cDONTCOMPAREDontcompareKeyword_52_0; } + + //DONTTEST="donttest" + public EnumLiteralDeclaration getDONTTESTEnumLiteralDeclaration_53() { return cDONTTESTEnumLiteralDeclaration_53; } + + //"donttest" + public Keyword getDONTTESTDonttestKeyword_53_0() { return cDONTTESTDonttestKeyword_53_0; } + + //INTERNAL="internal" + public EnumLiteralDeclaration getINTERNALEnumLiteralDeclaration_54() { return cINTERNALEnumLiteralDeclaration_54; } + + //"internal" + public Keyword getINTERNALInternalKeyword_54_0() { return cINTERNALInternalKeyword_54_0; } + + //ALIGNMENT="alignment" + public EnumLiteralDeclaration getALIGNMENTEnumLiteralDeclaration_55() { return cALIGNMENTEnumLiteralDeclaration_55; } + + //"alignment" + public Keyword getALIGNMENTAlignmentKeyword_55_0() { return cALIGNMENTAlignmentKeyword_55_0; } + + //REGWIDTH="regwidth" + public EnumLiteralDeclaration getREGWIDTHEnumLiteralDeclaration_56() { return cREGWIDTHEnumLiteralDeclaration_56; } + + //"regwidth" + public Keyword getREGWIDTHRegwidthKeyword_56_0() { return cREGWIDTHRegwidthKeyword_56_0; } + + //FIELDWIDTH="fieldwidth" + public EnumLiteralDeclaration getFIELDWIDTHEnumLiteralDeclaration_57() { return cFIELDWIDTHEnumLiteralDeclaration_57; } + + //"fieldwidth" + public Keyword getFIELDWIDTHFieldwidthKeyword_57_0() { return cFIELDWIDTHFieldwidthKeyword_57_0; } + + //SIGNALWIDTH="signalwidth" + public EnumLiteralDeclaration getSIGNALWIDTHEnumLiteralDeclaration_58() { return cSIGNALWIDTHEnumLiteralDeclaration_58; } + + //"signalwidth" + public Keyword getSIGNALWIDTHSignalwidthKeyword_58_0() { return cSIGNALWIDTHSignalwidthKeyword_58_0; } + + //ACCESSWIDTH="accesswidth" + public EnumLiteralDeclaration getACCESSWIDTHEnumLiteralDeclaration_59() { return cACCESSWIDTHEnumLiteralDeclaration_59; } + + //"accesswidth" + public Keyword getACCESSWIDTHAccesswidthKeyword_59_0() { return cACCESSWIDTHAccesswidthKeyword_59_0; } + + //SW="sw" + public EnumLiteralDeclaration getSWEnumLiteralDeclaration_60() { return cSWEnumLiteralDeclaration_60; } + + //"sw" + public Keyword getSWSwKeyword_60_0() { return cSWSwKeyword_60_0; } + + //HW="hw" + public EnumLiteralDeclaration getHWEnumLiteralDeclaration_61() { return cHWEnumLiteralDeclaration_61; } + + //"hw" + public Keyword getHWHwKeyword_61_0() { return cHWHwKeyword_61_0; } + + //ADDRESSING="addressing" + public EnumLiteralDeclaration getADDRESSINGEnumLiteralDeclaration_62() { return cADDRESSINGEnumLiteralDeclaration_62; } + + //"addressing" + public Keyword getADDRESSINGAddressingKeyword_62_0() { return cADDRESSINGAddressingKeyword_62_0; } + + //PRECEDENCE="precedence" + public EnumLiteralDeclaration getPRECEDENCEEnumLiteralDeclaration_63() { return cPRECEDENCEEnumLiteralDeclaration_63; } + + //"precedence" + public Keyword getPRECEDENCEPrecedenceKeyword_63_0() { return cPRECEDENCEPrecedenceKeyword_63_0; } + + //ENCODE="encode" + public EnumLiteralDeclaration getENCODEEnumLiteralDeclaration_64() { return cENCODEEnumLiteralDeclaration_64; } + + //"encode" + public Keyword getENCODEEncodeKeyword_64_0() { return cENCODEEncodeKeyword_64_0; } + + //RESETSIGNAL="resetsignal" + public EnumLiteralDeclaration getRESETSIGNALEnumLiteralDeclaration_65() { return cRESETSIGNALEnumLiteralDeclaration_65; } + + //"resetsignal" + public Keyword getRESETSIGNALResetsignalKeyword_65_0() { return cRESETSIGNALResetsignalKeyword_65_0; } + + //CLOCK="clock" + public EnumLiteralDeclaration getCLOCKEnumLiteralDeclaration_66() { return cCLOCKEnumLiteralDeclaration_66; } + + //"clock" + public Keyword getCLOCKClockKeyword_66_0() { return cCLOCKClockKeyword_66_0; } + + //MASK="mask" + public EnumLiteralDeclaration getMASKEnumLiteralDeclaration_67() { return cMASKEnumLiteralDeclaration_67; } + + //"mask" + public Keyword getMASKMaskKeyword_67_0() { return cMASKMaskKeyword_67_0; } + + //ENABLE="enable" + public EnumLiteralDeclaration getENABLEEnumLiteralDeclaration_68() { return cENABLEEnumLiteralDeclaration_68; } + + //"enable" + public Keyword getENABLEEnableKeyword_68_0() { return cENABLEEnableKeyword_68_0; } + + //HWENABLE="hwenable" + public EnumLiteralDeclaration getHWENABLEEnumLiteralDeclaration_69() { return cHWENABLEEnumLiteralDeclaration_69; } + + //"hwenable" + public Keyword getHWENABLEHwenableKeyword_69_0() { return cHWENABLEHwenableKeyword_69_0; } + + //HWMASK="hwmask" + public EnumLiteralDeclaration getHWMASKEnumLiteralDeclaration_70() { return cHWMASKEnumLiteralDeclaration_70; } + + //"hwmask" + public Keyword getHWMASKHwmaskKeyword_70_0() { return cHWMASKHwmaskKeyword_70_0; } + + //HALTMASK="haltmask" + public EnumLiteralDeclaration getHALTMASKEnumLiteralDeclaration_71() { return cHALTMASKEnumLiteralDeclaration_71; } + + //"haltmask" + public Keyword getHALTMASKHaltmaskKeyword_71_0() { return cHALTMASKHaltmaskKeyword_71_0; } + + //HALTENABLE="haltenable" + public EnumLiteralDeclaration getHALTENABLEEnumLiteralDeclaration_72() { return cHALTENABLEEnumLiteralDeclaration_72; } + + //"haltenable" + public Keyword getHALTENABLEHaltenableKeyword_72_0() { return cHALTENABLEHaltenableKeyword_72_0; } + + //HALT="halt" + public EnumLiteralDeclaration getHALTEnumLiteralDeclaration_73() { return cHALTEnumLiteralDeclaration_73; } + + //"halt" + public Keyword getHALTHaltKeyword_73_0() { return cHALTHaltKeyword_73_0; } + + //NEXT="next" + public EnumLiteralDeclaration getNEXTEnumLiteralDeclaration_74() { return cNEXTEnumLiteralDeclaration_74; } + + //"next" + public Keyword getNEXTNextKeyword_74_0() { return cNEXTNextKeyword_74_0; } + } + public class RValueConstantElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.RValueConstant"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cUNDEFINEDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cUNDEFINEDUNDEFINEDKeyword_0_0 = (Keyword)cUNDEFINEDEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cTRUEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cTRUETrueKeyword_1_0 = (Keyword)cTRUEEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cFALSEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cFALSEFalseKeyword_2_0 = (Keyword)cFALSEEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cRWEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cRWRwKeyword_3_0 = (Keyword)cRWEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cWREnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cWRWrKeyword_4_0 = (Keyword)cWREnumLiteralDeclaration_4.eContents().get(0); + private final EnumLiteralDeclaration cREnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cRRKeyword_5_0 = (Keyword)cREnumLiteralDeclaration_5.eContents().get(0); + private final EnumLiteralDeclaration cWEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); + private final Keyword cWWKeyword_6_0 = (Keyword)cWEnumLiteralDeclaration_6.eContents().get(0); + private final EnumLiteralDeclaration cNAEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); + private final Keyword cNANaKeyword_7_0 = (Keyword)cNAEnumLiteralDeclaration_7.eContents().get(0); + private final EnumLiteralDeclaration cCOMPACTEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); + private final Keyword cCOMPACTCompactKeyword_8_0 = (Keyword)cCOMPACTEnumLiteralDeclaration_8.eContents().get(0); + private final EnumLiteralDeclaration cREGALIGNEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); + private final Keyword cREGALIGNRegalignKeyword_9_0 = (Keyword)cREGALIGNEnumLiteralDeclaration_9.eContents().get(0); + private final EnumLiteralDeclaration cFULLALIGNEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); + private final Keyword cFULLALIGNFullalignKeyword_10_0 = (Keyword)cFULLALIGNEnumLiteralDeclaration_10.eContents().get(0); + private final EnumLiteralDeclaration cHWEnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); + private final Keyword cHWHwKeyword_11_0 = (Keyword)cHWEnumLiteralDeclaration_11.eContents().get(0); + private final EnumLiteralDeclaration cSWEnumLiteralDeclaration_12 = (EnumLiteralDeclaration)cAlternatives.eContents().get(12); + private final Keyword cSWSwKeyword_12_0 = (Keyword)cSWEnumLiteralDeclaration_12.eContents().get(0); + + //enum RValueConstant: + // UNDEFINED | TRUE="true" | FALSE="false" | RW="rw" | WR="wr" | R="r" | W="w" | NA="na" | COMPACT="compact" | + // REGALIGN="regalign" | FULLALIGN="fullalign" | HW="hw" | SW="sw"; + public EnumRule getRule() { return rule; } + + //UNDEFINED | TRUE="true" | FALSE="false" | RW="rw" | WR="wr" | R="r" | W="w" | NA="na" | COMPACT="compact" | + //REGALIGN="regalign" | FULLALIGN="fullalign" | HW="hw" | SW="sw" + public Alternatives getAlternatives() { return cAlternatives; } + + //UNDEFINED + public EnumLiteralDeclaration getUNDEFINEDEnumLiteralDeclaration_0() { return cUNDEFINEDEnumLiteralDeclaration_0; } + + //"UNDEFINED" + public Keyword getUNDEFINEDUNDEFINEDKeyword_0_0() { return cUNDEFINEDUNDEFINEDKeyword_0_0; } + + //TRUE="true" + public EnumLiteralDeclaration getTRUEEnumLiteralDeclaration_1() { return cTRUEEnumLiteralDeclaration_1; } + + //"true" + public Keyword getTRUETrueKeyword_1_0() { return cTRUETrueKeyword_1_0; } + + //FALSE="false" + public EnumLiteralDeclaration getFALSEEnumLiteralDeclaration_2() { return cFALSEEnumLiteralDeclaration_2; } + + //"false" + public Keyword getFALSEFalseKeyword_2_0() { return cFALSEFalseKeyword_2_0; } + + //RW="rw" + public EnumLiteralDeclaration getRWEnumLiteralDeclaration_3() { return cRWEnumLiteralDeclaration_3; } + + //"rw" + public Keyword getRWRwKeyword_3_0() { return cRWRwKeyword_3_0; } + + //WR="wr" + public EnumLiteralDeclaration getWREnumLiteralDeclaration_4() { return cWREnumLiteralDeclaration_4; } + + //"wr" + public Keyword getWRWrKeyword_4_0() { return cWRWrKeyword_4_0; } + + //R="r" + public EnumLiteralDeclaration getREnumLiteralDeclaration_5() { return cREnumLiteralDeclaration_5; } + + //"r" + public Keyword getRRKeyword_5_0() { return cRRKeyword_5_0; } + + //W="w" + public EnumLiteralDeclaration getWEnumLiteralDeclaration_6() { return cWEnumLiteralDeclaration_6; } + + //"w" + public Keyword getWWKeyword_6_0() { return cWWKeyword_6_0; } + + //NA="na" + public EnumLiteralDeclaration getNAEnumLiteralDeclaration_7() { return cNAEnumLiteralDeclaration_7; } + + //"na" + public Keyword getNANaKeyword_7_0() { return cNANaKeyword_7_0; } + + //COMPACT="compact" + public EnumLiteralDeclaration getCOMPACTEnumLiteralDeclaration_8() { return cCOMPACTEnumLiteralDeclaration_8; } + + //"compact" + public Keyword getCOMPACTCompactKeyword_8_0() { return cCOMPACTCompactKeyword_8_0; } + + //REGALIGN="regalign" + public EnumLiteralDeclaration getREGALIGNEnumLiteralDeclaration_9() { return cREGALIGNEnumLiteralDeclaration_9; } + + //"regalign" + public Keyword getREGALIGNRegalignKeyword_9_0() { return cREGALIGNRegalignKeyword_9_0; } + + //FULLALIGN="fullalign" + public EnumLiteralDeclaration getFULLALIGNEnumLiteralDeclaration_10() { return cFULLALIGNEnumLiteralDeclaration_10; } + + //"fullalign" + public Keyword getFULLALIGNFullalignKeyword_10_0() { return cFULLALIGNFullalignKeyword_10_0; } + + //HW="hw" + public EnumLiteralDeclaration getHWEnumLiteralDeclaration_11() { return cHWEnumLiteralDeclaration_11; } + + //"hw" + public Keyword getHWHwKeyword_11_0() { return cHWHwKeyword_11_0; } + + //SW="sw" + public EnumLiteralDeclaration getSWEnumLiteralDeclaration_12() { return cSWEnumLiteralDeclaration_12; } + + //"sw" + public Keyword getSWSwKeyword_12_0() { return cSWSwKeyword_12_0; } + } + public class PropertyModifierElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.PropertyModifier"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cUNDEFINEDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cUNDEFINEDUNDEFINEDKeyword_0_0 = (Keyword)cUNDEFINEDEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cPOSEDGEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cPOSEDGEPosedgeKeyword_1_0 = (Keyword)cPOSEDGEEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cNEGEDGEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cNEGEDGENegedgeKeyword_2_0 = (Keyword)cNEGEDGEEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cBOTHEDGEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cBOTHEDGEBothedgeKeyword_3_0 = (Keyword)cBOTHEDGEEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cLEVELEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); + private final Keyword cLEVELLevelKeyword_4_0 = (Keyword)cLEVELEnumLiteralDeclaration_4.eContents().get(0); + private final EnumLiteralDeclaration cNONSTICKYEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cNONSTICKYNonstickyKeyword_5_0 = (Keyword)cNONSTICKYEnumLiteralDeclaration_5.eContents().get(0); + + //enum PropertyModifier: + // UNDEFINED | POSEDGE="posedge" | NEGEDGE="negedge" | BOTHEDGE="bothedge" | LEVEL="level" | NONSTICKY="nonsticky"; + public EnumRule getRule() { return rule; } + + //UNDEFINED | POSEDGE="posedge" | NEGEDGE="negedge" | BOTHEDGE="bothedge" | LEVEL="level" | NONSTICKY="nonsticky" + public Alternatives getAlternatives() { return cAlternatives; } + + //UNDEFINED + public EnumLiteralDeclaration getUNDEFINEDEnumLiteralDeclaration_0() { return cUNDEFINEDEnumLiteralDeclaration_0; } + + //"UNDEFINED" + public Keyword getUNDEFINEDUNDEFINEDKeyword_0_0() { return cUNDEFINEDUNDEFINEDKeyword_0_0; } + + //POSEDGE="posedge" + public EnumLiteralDeclaration getPOSEDGEEnumLiteralDeclaration_1() { return cPOSEDGEEnumLiteralDeclaration_1; } + + //"posedge" + public Keyword getPOSEDGEPosedgeKeyword_1_0() { return cPOSEDGEPosedgeKeyword_1_0; } + + //NEGEDGE="negedge" + public EnumLiteralDeclaration getNEGEDGEEnumLiteralDeclaration_2() { return cNEGEDGEEnumLiteralDeclaration_2; } + + //"negedge" + public Keyword getNEGEDGENegedgeKeyword_2_0() { return cNEGEDGENegedgeKeyword_2_0; } + + //BOTHEDGE="bothedge" + public EnumLiteralDeclaration getBOTHEDGEEnumLiteralDeclaration_3() { return cBOTHEDGEEnumLiteralDeclaration_3; } + + //"bothedge" + public Keyword getBOTHEDGEBothedgeKeyword_3_0() { return cBOTHEDGEBothedgeKeyword_3_0; } + + //LEVEL="level" + public EnumLiteralDeclaration getLEVELEnumLiteralDeclaration_4() { return cLEVELEnumLiteralDeclaration_4; } + + //"level" + public Keyword getLEVELLevelKeyword_4_0() { return cLEVELLevelKeyword_4_0; } + + //NONSTICKY="nonsticky" + public EnumLiteralDeclaration getNONSTICKYEnumLiteralDeclaration_5() { return cNONSTICKYEnumLiteralDeclaration_5; } + + //"nonsticky" + public Keyword getNONSTICKYNonstickyKeyword_5_0() { return cNONSTICKYNonstickyKeyword_5_0; } + } + + private final RootElements pRoot; + private final IncludeElements pInclude; + private final PropertyDefinitionElements pPropertyDefinition; + private final PropertyTypeNameElements ePropertyTypeName; + private final PropertyDefaultElements pPropertyDefault; + private final PropertyUsageElements pPropertyUsage; + private final PropertyComponentElements ePropertyComponent; + private final ComponentDefinitionElements pComponentDefinition; + private final ComponentDefinitionTypeElements eComponentDefinitionType; + private final NamedInstantiationElements pNamedInstantiation; + private final ImmediateInstantiationElements pImmediateInstantiation; + private final ComponentInstanceElements pComponentInstance; + private final RangeElements pRange; + private final PropertyAssignmentElements pPropertyAssignment; + private final DefaultProperyAssignmentElements pDefaultProperyAssignment; + private final ExplicitPropertyAssignmentElements pExplicitPropertyAssignment; + private final PostPropertyAssignmentElements pPostPropertyAssignment; + private final InstancePropertyRefElements pInstancePropertyRef; + private final EntityElements pEntity; + private final InstanceRefElements pInstanceRef; + private final HierInstanceRefElements pHierInstanceRef; + private final PropertyAssignmentRhsElements pPropertyAssignmentRhs; + private final ConcatElements pConcat; + private final ConcatElemElements pConcatElem; + private final PropertyEnumElements ePropertyEnum; + private final PropertyElements eProperty; + private final PropertyRvalueConstantElements pPropertyRvalueConstant; + private final RValueConstantElements eRValueConstant; + private final PropertyModifierElements ePropertyModifier; + private final EnumDefinitionElements pEnumDefinition; + private final EnumBodyElements pEnumBody; + private final EnumEntryElements pEnumEntry; + private final EnumPropertyElements pEnumProperty; + private final TerminalRule tID; + private final TerminalRule tWS; + private final TerminalRule tML_COMMENT; + private final TerminalRule tSL_COMMENT; + private final TerminalRule tNUM; + private final TerminalRule tSTR; + + private final Grammar grammar; + + @Inject + public RDLGrammarAccess(GrammarProvider grammarProvider) { + this.grammar = internalFindGrammar(grammarProvider); + this.pRoot = new RootElements(); + this.pInclude = new IncludeElements(); + this.pPropertyDefinition = new PropertyDefinitionElements(); + this.ePropertyTypeName = new PropertyTypeNameElements(); + this.pPropertyDefault = new PropertyDefaultElements(); + this.pPropertyUsage = new PropertyUsageElements(); + this.ePropertyComponent = new PropertyComponentElements(); + this.pComponentDefinition = new ComponentDefinitionElements(); + this.eComponentDefinitionType = new ComponentDefinitionTypeElements(); + this.pNamedInstantiation = new NamedInstantiationElements(); + this.pImmediateInstantiation = new ImmediateInstantiationElements(); + this.pComponentInstance = new ComponentInstanceElements(); + this.pRange = new RangeElements(); + this.pPropertyAssignment = new PropertyAssignmentElements(); + this.pDefaultProperyAssignment = new DefaultProperyAssignmentElements(); + this.pExplicitPropertyAssignment = new ExplicitPropertyAssignmentElements(); + this.pPostPropertyAssignment = new PostPropertyAssignmentElements(); + this.pInstancePropertyRef = new InstancePropertyRefElements(); + this.pEntity = new EntityElements(); + this.pInstanceRef = new InstanceRefElements(); + this.pHierInstanceRef = new HierInstanceRefElements(); + this.pPropertyAssignmentRhs = new PropertyAssignmentRhsElements(); + this.pConcat = new ConcatElements(); + this.pConcatElem = new ConcatElemElements(); + this.ePropertyEnum = new PropertyEnumElements(); + this.eProperty = new PropertyElements(); + this.pPropertyRvalueConstant = new PropertyRvalueConstantElements(); + this.eRValueConstant = new RValueConstantElements(); + this.ePropertyModifier = new PropertyModifierElements(); + this.pEnumDefinition = new EnumDefinitionElements(); + this.pEnumBody = new EnumBodyElements(); + this.pEnumEntry = new EnumEntryElements(); + this.pEnumProperty = new EnumPropertyElements(); + 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"); + this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.SL_COMMENT"); + this.tNUM = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.NUM"); + this.tSTR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.STR"); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("com.minres.rdl.RDL".equals(grammar.getName())) { + return grammar; + } + List grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + @Override + public Grammar getGrammar() { + return grammar; + } + + + + //Root: + // (includes+=Include | componentDefinitions+=ComponentDefinition | enumDefinitions+=EnumDefinition | + // namedInstantiations+=NamedInstantiation | propertyAssignments+=PropertyAssignment | + // propertyDefinitions+=PropertyDefinition)*; + public RootElements getRootAccess() { + return pRoot; + } + + public ParserRule getRootRule() { + return getRootAccess().getRule(); + } + + //Include: + // '`include' importURI=STR; + public IncludeElements getIncludeAccess() { + return pInclude; + } + + public ParserRule getIncludeRule() { + return getIncludeAccess().getRule(); + } + + //PropertyDefinition: + // 'property' name=ID '{' ("type" '=' type=PropertyTypeName ';' (usage=PropertyUsage default=PropertyDefault? | + // default=PropertyDefault usage=PropertyUsage) | usage=PropertyUsage ("type" '=' type=PropertyTypeName ';' + // default=PropertyDefault? | default=PropertyDefault "type" '=' type=PropertyTypeName ';') | default=PropertyDefault + // ("type" '=' type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' type=PropertyTypeName ';')) + // '}' ';'; + public PropertyDefinitionElements getPropertyDefinitionAccess() { + return pPropertyDefinition; + } + + public ParserRule getPropertyDefinitionRule() { + return getPropertyDefinitionAccess().getRule(); + } + + //enum PropertyTypeName: + // STRING="string" | NUMBER="number" | BOOLEAN="boolean" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | + // FIELD="field" | REF="ref"; + public PropertyTypeNameElements getPropertyTypeNameAccess() { + return ePropertyTypeName; + } + + public EnumRule getPropertyTypeNameRule() { + return getPropertyTypeNameAccess().getRule(); + } + + //PropertyDefault: + // "default" '=' (string=STR | value=NUM | string="true" | string="false") ';'; + public PropertyDefaultElements getPropertyDefaultAccess() { + return pPropertyDefault; + } + + public ParserRule getPropertyDefaultRule() { + return getPropertyDefaultAccess().getRule(); + } + + //PropertyUsage: + // "component" '=' components+=PropertyComponent ('|' components+=PropertyComponent)* ';'; + public PropertyUsageElements getPropertyUsageAccess() { + return pPropertyUsage; + } + + public ParserRule getPropertyUsageRule() { + return getPropertyUsageAccess().getRule(); + } + + //enum PropertyComponent: + // SIGNAL="signal" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | FIELD="field" | ALL="all"; + public PropertyComponentElements getPropertyComponentAccess() { + return ePropertyComponent; + } + + public EnumRule getPropertyComponentRule() { + return getPropertyComponentAccess().getRule(); + } + + //ComponentDefinition: + // type=ComponentDefinitionType name=ID? + // '{' (componentDefinitions+=ComponentDefinition + // | namedInstantiations+=NamedInstantiation + // | propertyAssignments+=PropertyAssignment + // | enumDefinitions+=EnumDefinition)* '}' immediateInstantiation=ImmediateInstantiation? ';'; + public ComponentDefinitionElements getComponentDefinitionAccess() { + return pComponentDefinition; + } + + public ParserRule getComponentDefinitionRule() { + return getComponentDefinitionAccess().getRule(); + } + + //enum ComponentDefinitionType: + // SIGNAL="signal" | ADDRMAP="addrmap" | REGFILE="regfile" | REG="reg" | FIELD="field"; + public ComponentDefinitionTypeElements getComponentDefinitionTypeAccess() { + return eComponentDefinitionType; + } + + public EnumRule getComponentDefinitionTypeRule() { + 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; + } + + public ParserRule getNamedInstantiationRule() { + return getNamedInstantiationAccess().getRule(); + } + + //ImmediateInstantiation: + // external?="external"? componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)*; + public ImmediateInstantiationElements getImmediateInstantiationAccess() { + return pImmediateInstantiation; + } + + public ParserRule getImmediateInstantiationRule() { + return getImmediateInstantiationAccess().getRule(); + } + + //ComponentInstance: + // name=ID range=Range? ('=' reset=NUM)? ('@' address=NUM)? ('+=' addrInc=NUM)? ('%=' addrMod=NUM)?; + public ComponentInstanceElements getComponentInstanceAccess() { + return pComponentInstance; + } + + public ParserRule getComponentInstanceRule() { + return getComponentInstanceAccess().getRule(); + } + + //Range: + // '[' (start=NUM ':' end=NUM | size=NUM) ']'; + public RangeElements getRangeAccess() { + return pRange; + } + + public ParserRule getRangeRule() { + return getRangeAccess().getRule(); + } + + //PropertyAssignment: + // DefaultProperyAssignment | ExplicitPropertyAssignment | PostPropertyAssignment; + public PropertyAssignmentElements getPropertyAssignmentAccess() { + return pPropertyAssignment; + } + + public ParserRule getPropertyAssignmentRule() { + return getPropertyAssignmentAccess().getRule(); + } + + //DefaultProperyAssignment: + // "default" ExplicitPropertyAssignment; + public DefaultProperyAssignmentElements getDefaultProperyAssignmentAccess() { + return pDefaultProperyAssignment; + } + + public ParserRule getDefaultProperyAssignmentRule() { + return getDefaultProperyAssignmentAccess().getRule(); + } + + //ExplicitPropertyAssignment: + // modifier=PropertyModifier name=Property ';' | name=Property ('=' rhs=PropertyAssignmentRhs)? ';'; + public ExplicitPropertyAssignmentElements getExplicitPropertyAssignmentAccess() { + return pExplicitPropertyAssignment; + } + + public ParserRule getExplicitPropertyAssignmentRule() { + return getExplicitPropertyAssignmentAccess().getRule(); + } + + //PostPropertyAssignment: + // (instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) | + // property=[PropertyDefinition]) ('=' rhs=PropertyAssignmentRhs)? ';'; + public PostPropertyAssignmentElements getPostPropertyAssignmentAccess() { + return pPostPropertyAssignment; + } + + public ParserRule getPostPropertyAssignmentRule() { + return getPostPropertyAssignmentAccess().getRule(); + } + + //InstancePropertyRef: + // instance=InstanceRef ('->' (propertyEnum=Property | property=[PropertyDefinition]))?; + public InstancePropertyRefElements getInstancePropertyRefAccess() { + return pInstancePropertyRef; + } + + public ParserRule getInstancePropertyRefRule() { + return getInstancePropertyRefAccess().getRule(); + } + + //// unused rules to infer inheritance + //Entity: + // ComponentInstance | EnumDefinition | PropertyDefinition; + public EntityElements getEntityAccess() { + return pEntity; + } + + public ParserRule getEntityRule() { + return getEntityAccess().getRule(); + } + + //InstanceRef: + // instance=[Entity] ("." tail=HierInstanceRef)?; + public InstanceRefElements getInstanceRefAccess() { + return pInstanceRef; + } + + public ParserRule getInstanceRefRule() { + return getInstanceRefAccess().getRule(); + } + + //HierInstanceRef InstanceRef: + // instance=[ComponentInstance] ("." tail=HierInstanceRef)?; + public HierInstanceRefElements getHierInstanceRefAccess() { + return pHierInstanceRef; + } + + public ParserRule getHierInstanceRefRule() { + return getHierInstanceRefAccess().getRule(); + } + + //PropertyAssignmentRhs: + // value=PropertyRvalueConstant | instPropRef=InstancePropertyRef | enumRef=[EnumDefinition] + // "enum" enums=EnumBody | elements=Concat; + public PropertyAssignmentRhsElements getPropertyAssignmentRhsAccess() { + return pPropertyAssignmentRhs; + } + + public ParserRule getPropertyAssignmentRhsRule() { + return getPropertyAssignmentRhsAccess().getRule(); + } + + //Concat: + // '{' elements+=ConcatElem (',' elements+=ConcatElem)* '}'; + public ConcatElements getConcatAccess() { + return pConcat; + } + + public ParserRule getConcatRule() { + return getConcatAccess().getRule(); + } + + //ConcatElem: + // instPropRef=InstancePropertyRef | value=NUM; + public ConcatElemElements getConcatElemAccess() { + return pConcatElem; + } + + public ParserRule getConcatElemRule() { + return getConcatElemAccess().getRule(); + } + + //enum PropertyEnum: + // UNSPECIFIED | + // NAME="name" | + // DESC="desc" | + // ARBITER="arbiter" | + // RSET="rset" | + // RCLR="rclr" | + // WOCLR="woclr" | + // WOSET="woset" | + // WE="we" | + // WEL="wel" | + // SWWE="swwe" | + // SWWEL="swwel" | + // HWSET="hwset" | + // HWCLR="hwclr" | + // SWMOD="swmod" | + // SWACC="swacc" | + // STICKY="sticky" | + // STICKYBIT="stickybit" | + // INTR="intr" | + // ANDED="anded" | + // ORED="ored" | + // XORED="xored" | + // COUNTER="counter" | + // OVERFLOW="overflow" | + // SHAREDEXTBUS="sharedextbus" | + // ERREXTBUS="errextbus" | + // RESET="reset" | + // LITTLEENDIAN="littleendian" | + // BIGENDIAN="bigendian" | + // RSVDSET="rsvdset" | + // RSVDSETX="rsvdsetX" | + // BRIDGE="bridge" | + // SHARED="shared" | + // MSB0="msb0" | + // LSB0="lsb0" | + // SYNC="sync" | + // ASYNC="async" | + // CPUIF_RESET="cpuif_reset" | + // FIELD_RESET="field_reset" | + // ACTIVEHIGH="activehigh" | + // ACTIVELOW="activelow" | + // SINGLEPULSE="singlepulse" | + // UNDERFLOW="underflow" | + // INCR="incr" | + // DECR="decr" | + // INCRWIDTH="incrwidth" | + // DECRWIDTH="decrwidth" | + // INCRVALUE="incrvalue" | + // DECRVALUE="decrvalue" | + // SATURATE="saturate" | + // DECRSATURATE="decrsaturate" | + // THRESHOLD="threshold" | + // DECRTHRESHOLD="decrthreshold" | + // DONTCOMPARE="dontcompare" | + // DONTTEST="donttest" | + // INTERNAL="internal" | + // ALIGNMENT="alignment" | + // REGWIDTH="regwidth" | + // FIELDWIDTH="fieldwidth" | + // SIGNALWIDTH="signalwidth" | + // ACCESSWIDTH="accesswidth" | + // SW="sw" | + // HW="hw" | + // ADDRESSING="addressing" | + // PRECEDENCE="precedence" | + // ENCODE="encode" | + // RESETSIGNAL="resetsignal" | + // CLOCK="clock" | + // MASK="mask" | + // ENABLE="enable" | + // HWENABLE="hwenable" | + // HWMASK="hwmask" | + // HALTMASK="haltmask" | + // HALTENABLE="haltenable" | + // HALT="halt" | + // NEXT="next"; + public PropertyEnumElements getPropertyEnumAccess() { + return ePropertyEnum; + } + + public EnumRule getPropertyEnumRule() { + return getPropertyEnumAccess().getRule(); + } + + //enum Property returns PropertyEnum: + // NAME="name" | + // DESC="desc" | + // ARBITER="arbiter" | + // RSET="rset" | + // RCLR="rclr" | + // WOCLR="woclr" | + // WOSET="woset" | + // WE="we" | + // WEL="wel" | + // SWWE="swwe" | + // SWWEL="swwel" | + // HWSET="hwset" | + // HWCLR="hwclr" | + // SWMOD="swmod" | + // SWACC="swacc" | + // STICKY="sticky" | + // STICKYBIT="stickybit" | + // INTR="intr" | + // ANDED="anded" | + // ORED="ored" | + // XORED="xored" | + // COUNTER="counter" | + // OVERFLOW="overflow" | + // SHAREDEXTBUS="sharedextbus" | + // ERREXTBUS="errextbus" | + // RESET="reset" | + // LITTLEENDIAN="littleendian" | + // BIGENDIAN="bigendian" | + // RSVDSET="rsvdset" | + // RSVDSETX="rsvdsetX" | + // BRIDGE="bridge" | + // SHARED="shared" | + // MSB0="msb0" | + // LSB0="lsb0" | + // SYNC="sync" | + // ASYNC="async" | + // CPUIF_RESET="cpuif_reset" | + // FIELD_RESET="field_reset" | + // ACTIVEHIGH="activehigh" | + // ACTIVELOW="activelow" | + // SINGLEPULSE="singlepulse" | + // UNDERFLOW="underflow" | + // INCR="incr" | + // DECR="decr" | + // INCRWIDTH="incrwidth" | + // DECRWIDTH="decrwidth" | + // INCRVALUE="incrvalue" | + // DECRVALUE="decrvalue" | + // SATURATE="saturate" | + // DECRSATURATE="decrsaturate" | + // THRESHOLD="threshold" | + // DECRTHRESHOLD="decrthreshold" | + // DONTCOMPARE="dontcompare" | + // DONTTEST="donttest" | + // INTERNAL="internal" | + // ALIGNMENT="alignment" | + // REGWIDTH="regwidth" | + // FIELDWIDTH="fieldwidth" | + // SIGNALWIDTH="signalwidth" | + // ACCESSWIDTH="accesswidth" | + // SW="sw" | + // HW="hw" | + // ADDRESSING="addressing" | + // PRECEDENCE="precedence" | + // ENCODE="encode" | + // RESETSIGNAL="resetsignal" | + // CLOCK="clock" | + // MASK="mask" | + // ENABLE="enable" | + // HWENABLE="hwenable" | + // HWMASK="hwmask" | + // HALTMASK="haltmask" | + // HALTENABLE="haltenable" | + // HALT="halt" | + // NEXT="next"; + public PropertyElements getPropertyAccess() { + return eProperty; + } + + public EnumRule getPropertyRule() { + return getPropertyAccess().getRule(); + } + + //PropertyRvalueConstant RValue: + // val=RValueConstant | num=NUM | str=STR; + public PropertyRvalueConstantElements getPropertyRvalueConstantAccess() { + return pPropertyRvalueConstant; + } + + public ParserRule getPropertyRvalueConstantRule() { + return getPropertyRvalueConstantAccess().getRule(); + } + + //enum RValueConstant: + // UNDEFINED | TRUE="true" | FALSE="false" | RW="rw" | WR="wr" | R="r" | W="w" | NA="na" | COMPACT="compact" | + // REGALIGN="regalign" | FULLALIGN="fullalign" | HW="hw" | SW="sw"; + public RValueConstantElements getRValueConstantAccess() { + return eRValueConstant; + } + + public EnumRule getRValueConstantRule() { + return getRValueConstantAccess().getRule(); + } + + //enum PropertyModifier: + // UNDEFINED | POSEDGE="posedge" | NEGEDGE="negedge" | BOTHEDGE="bothedge" | LEVEL="level" | NONSTICKY="nonsticky"; + public PropertyModifierElements getPropertyModifierAccess() { + return ePropertyModifier; + } + + public EnumRule getPropertyModifierRule() { + return getPropertyModifierAccess().getRule(); + } + + //EnumDefinition: + // "enum" name=ID body=EnumBody ';'; + public EnumDefinitionElements getEnumDefinitionAccess() { + return pEnumDefinition; + } + + public ParserRule getEnumDefinitionRule() { + return getEnumDefinitionAccess().getRule(); + } + + //EnumBody: + // '{' {EnumBody} entries+=EnumEntry* '}'; + public EnumBodyElements getEnumBodyAccess() { + return pEnumBody; + } + + public ParserRule getEnumBodyRule() { + return getEnumBodyAccess().getRule(); + } + + //EnumEntry: + // name=ID '=' index=NUM ('{' properties+=EnumProperty* '}')? ';'; + public EnumEntryElements getEnumEntryAccess() { + return pEnumEntry; + } + + public ParserRule getEnumEntryRule() { + return getEnumEntryAccess().getRule(); + } + + //EnumProperty: + // (name='name' '=' value=STR | name='desc' '=' value=STR) ';'; + public EnumPropertyElements getEnumPropertyAccess() { + return pEnumProperty; + } + + public ParserRule getEnumPropertyRule() { + return getEnumPropertyAccess().getRule(); + } + + //terminal ID: + // '\\'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; + public TerminalRule getIDRule() { + return tID; + } + + //terminal WS: + // ' ' | '\t' | '\r' | '\n'+; + public TerminalRule getWSRule() { + return tWS; + } + + //terminal ML_COMMENT: + // '/*'->'*/' | '<%'->'%>' | '('->')'; + public TerminalRule getML_COMMENTRule() { + return tML_COMMENT; + } + + //terminal SL_COMMENT: + // '//' !('\n' | '\r')* ('\r'? '\n')?; + public TerminalRule getSL_COMMENTRule() { + return tSL_COMMENT; + } + + //terminal NUM returns ecore::EJavaObject: // <= verilog like numbers with size and base (16'123 'h1fff, ...====================================================================================> <= hexa decimal numbers =============> + ////'0'..'9'* '\'' ( 'b' ('0' | '1' | '_')+ | 'd'? ('0'..'9' | '_')+ | 'o' ('0'..'7' | '_')+ | 'h' ('0'..'9' | 'a'..'f' | 'A'..'F' | '_')+) | "0x" ('0'..'9' | 'a'..'f' | 'A'..'F')+ | '0'..'9'+; + // '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'+; + public TerminalRule getNUMRule() { + return tNUM; + } + + //terminal STR: + // '"' ('\\' ('b' | 't' | 'n' | 'f' | 'r' | 'u' | '"' | "'" | '\\') | !('\\' | '"'))* '"' //| + // // "'" ( '\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') | !('\\'|"'") )* "'" + //; + public TerminalRule getSTRRule() { + return tSTR; + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/validation/AbstractRDLValidator.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/validation/AbstractRDLValidator.java new file mode 100644 index 0000000..5a07d9b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/validation/AbstractRDLValidator.java @@ -0,0 +1,20 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.validation; + +import java.util.ArrayList; +import java.util.List; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.validation.AbstractDeclarativeValidator; + +public abstract class AbstractRDLValidator extends AbstractDeclarativeValidator { + + @Override + protected List getEPackages() { + List result = new ArrayList(); + result.add(com.minres.rdl.rdl.RdlPackage.eINSTANCE); + return result; + } + +} 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 new file mode 100644 index 0000000..8d457e9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/GenerateRDL.mwe2 @@ -0,0 +1,48 @@ +module com.minres.rdl.GenerateRDL + +import org.eclipse.xtext.xtext.generator.* +import org.eclipse.xtext.xtext.generator.model.project.* + +var rootPath = ".." + +Workflow { + + component = XtextGenerator { + configuration = { + project = StandardProjectConfig { + baseName = "com.minres.rdl" + rootPath = rootPath + runtimeTest = { + enabled = true + } + eclipsePlugin = { + enabled = true + } + eclipsePluginTest = { + enabled = true + } + createEclipseMetaData = true + } + code = { + encoding = "UTF-8" + lineDelimiter = "\n" + fileHeader = "/*\n * generated by Xtext \${version}\n */" + } + } + language = StandardLanguage { + name = "com.minres.rdl.RDL" + fileExtensions = "rdl" + + fragment = scoping.ImportNamespacesScopingFragment2 auto-inject {} + fragment = exporting.SimpleNamesFragment2 auto-inject {} + + + serializer = { + generateStub = false + } + validator = { + // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" + } + } + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/IntegerWithRadix.java b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/IntegerWithRadix.java new file mode 100644 index 0000000..cfe270c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/IntegerWithRadix.java @@ -0,0 +1,121 @@ +package com.minres.rdl; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +public class IntegerWithRadix { + + private static final Pattern bin = Pattern.compile("([0-9]+)?'b([01_]+)"); + private static final Pattern oct = Pattern.compile("([0-9]+)?'o([0-7_]+)"); + private static final Pattern dec = Pattern.compile("([0-9]+)?'d([0-9_]+)"); + private static final Pattern hex = Pattern.compile("([0-9]+)?'h([0-9a-fA-F_]+)"); + + public long value; + public int length; + public int radix; + + + public IntegerWithRadix(Integer valueOf) { + this.value=valueOf; + this.radix=10; + this.length=0; + } + public IntegerWithRadix(Integer valueOf, int radix) { + this.value=valueOf; + this.radix=radix; + this.length=0; + } + + public IntegerWithRadix(Integer valueOf, int radix, int len) { + this.value=valueOf; + this.radix=radix; + this.length=len; + } + + public IntegerWithRadix(String string) { + radix=10; + if(string.contains("'")){ + Matcher matcher=hex.matcher(string); + if(matcher.matches()){ + radix = 16; + if(matcher.groupCount()==2){ + length=Integer.valueOf(matcher.group(1)); + string=matcher.group(2).replaceAll("_", ""); + } else + string=matcher.group(1).replaceAll("_", ""); + value=Long.parseLong(string, radix); + } + matcher =bin.matcher(string); + if(matcher.matches()){ + radix = 2; + if(matcher.groupCount()==2){ + length=Integer.valueOf(matcher.group(1)); + string=matcher.group(2).replaceAll("_", ""); + } else + string=matcher.group(1).replaceAll("_", ""); + value=Long.parseLong(string, radix); + } + matcher =dec.matcher(string); + if(matcher.matches()){ + radix = 10; + if(matcher.groupCount()==2){ + length=Integer.valueOf(matcher.group(1)); + string=matcher.group(2).replaceAll("_", ""); + } else + string=matcher.group(1).replaceAll("_", ""); + value=Long.parseLong(string, radix); + } + matcher =oct.matcher(string); + if(matcher.matches()){ + radix = 8; + if(matcher.groupCount()==2){ + length=Integer.valueOf(matcher.group(1)); + string=matcher.group(2).replaceAll("_", ""); + } else + string=matcher.group(1).replaceAll("_", ""); + value=Long.parseLong(string, radix); + } + } else if(string.startsWith("0x") || string.startsWith("0X")) { + radix = 16; + string = string.substring(2); + } else if(string.startsWith("0") && string.length()>1) { + radix=8; + } + value=Long.parseLong(string, radix); + } + + public String toString(){ + StringBuilder sb = new StringBuilder(); + if(length>0){ + sb.append(length); + switch(radix){ + case 16: + sb.append("'h").append(Long.toHexString(value)); + break; + case 8: + sb.append("'o").append(Long.toOctalString(value)); + break; + case 2: + sb.append("'b").append(Long.toBinaryString(value)); + break; + default: + sb.append("'d").append(value); + break; + } + } else{ + switch(radix){ + case 16: + sb.append("0x").append(Long.toHexString(value)); + break; + case 8: + sb.append("0").append(Long.toOctalString(value)); + break; + default: + sb.append(value); + break; + } + } + return sb.toString(); + } +} + 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 new file mode 100644 index 0000000..a2fa3f7 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDL.xtext @@ -0,0 +1,405 @@ +//grammar com.minres.rdl.RDL with org.eclipse.xtext.common.Terminals +grammar com.minres.rdl.RDL hidden(WS, ML_COMMENT, SL_COMMENT, ESCAPE_JSP, ESCAPE_ORDL) + +import "http://www.eclipse.org/emf/2002/Ecore" as ecore + +generate rdl "http://www.minres.com/rdl/RDL" + +Root: + ( + includes+=Include | + componentDefinitions+=ComponentDefinition | + enumDefinitions+=EnumDefinition | + namedInstantiations+=NamedInstantiation | + propertyAssignments+=PropertyAssignment | + propertyDefinitions+=PropertyDefinition + )* + ; + +Include: + '`include' importURI=STR + ; + +PropertyDefinition: + 'property' name=ID '{' + ( + "type" '=' type=PropertyTypeName ';' (usage=PropertyUsage default=PropertyDefault? | default=PropertyDefault usage=PropertyUsage) | + usage=PropertyUsage ("type" '=' type=PropertyTypeName ';' default=PropertyDefault? | default=PropertyDefault "type" '=' type=PropertyTypeName ';') | + default=PropertyDefault ("type" '=' type=PropertyTypeName ';' usage=PropertyUsage | usage=PropertyUsage "type" '=' type=PropertyTypeName ';') + ) '}' ';' + ; + +enum PropertyTypeName: + STRING="string" | NUMBER="number" | BOOLEAN="boolean" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | FIELD="field" | REF="ref" + ; + +PropertyDefault: + "default" '=' (string=STR | value=NUM | string="true" | string="false") ';' + ; + +PropertyUsage: + "component" '=' components+=PropertyComponent ('|' components+=PropertyComponent)* ';' + ; + +enum PropertyComponent: + SIGNAL="signal" | ADDRMAP="addrmap" | REG="reg" | REGFILE="regfile" | FIELD="field" | ALL="all" + ; + +ComponentDefinition: + type=ComponentDefinitionType name=ID? + '{' + ( componentDefinitions+=ComponentDefinition + | namedInstantiations+=NamedInstantiation + | propertyAssignments+=PropertyAssignment + | enumDefinitions+=EnumDefinition + )* '}' immediateInstantiation=ImmediateInstantiation? ';' + ; + +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)* + ; + +ComponentInstance: + name=ID (range=Range)? + //reset + ('=' reset=NUM)? + //address + ('@' address=NUM)? + //addr inc + ('+=' addrInc=NUM)? + //addr mod + ('%=' addrMod=NUM)? + ; + +Range: + '[' (start=NUM ':' end=NUM | size=NUM) ']' + ; + +PropertyAssignment: + DefaultProperyAssignment | ExplicitPropertyAssignment | PostPropertyAssignment + ; + +DefaultProperyAssignment: + "default" ExplicitPropertyAssignment + ; + +ExplicitPropertyAssignment : + modifier=PropertyModifier name=Property ';' | + name=Property ('=' rhs=PropertyAssignmentRhs)? ';' + ; + +PostPropertyAssignment: + (instance=HierInstanceRef '->' (propertyEnum=Property | property=[PropertyDefinition]) | + property=[PropertyDefinition] ) ('=' rhs=PropertyAssignmentRhs)? ';' + ; + +InstancePropertyRef: + instance=InstanceRef ('->' (propertyEnum=Property | property=[PropertyDefinition]))? + ; + +// unused rules to infer inheritance +Entity: + ComponentInstance|EnumDefinition|PropertyDefinition + ; + +InstanceRef: + instance=[Entity] ( "." tail=HierInstanceRef)? +; + +HierInstanceRef returns InstanceRef: + instance=[ComponentInstance] ( "." tail=HierInstanceRef)? + ; + +PropertyAssignmentRhs: + value=PropertyRvalueConstant | + instPropRef=InstancePropertyRef | + enumRef= [EnumDefinition] + "enum" enums=EnumBody | + elements=Concat + ; + +Concat: + '{' elements+=ConcatElem (',' elements+=ConcatElem)* '}' + ; + +ConcatElem: + instPropRef=InstancePropertyRef | value=NUM + ; + +enum PropertyEnum: + UNSPECIFIED | + NAME="name" | + DESC="desc" | + ARBITER="arbiter" | + RSET="rset" | + RCLR="rclr" | + WOCLR="woclr" | + WOSET="woset" | + + WE="we" | + WEL="wel" | + + SWWE="swwe" | + SWWEL="swwel" | + + HWSET="hwset" | + HWCLR="hwclr" | + + SWMOD="swmod" | + SWACC="swacc" | + + STICKY="sticky" | + STICKYBIT="stickybit" | + INTR="intr" | + + ANDED="anded" | + ORED="ored" | + XORED="xored" | + + COUNTER="counter" | + OVERFLOW="overflow" | + + SHAREDEXTBUS="sharedextbus" | + ERREXTBUS="errextbus" | + + RESET="reset" | + + LITTLEENDIAN="littleendian" | + BIGENDIAN="bigendian" | + RSVDSET="rsvdset" | + RSVDSETX="rsvdsetX" | + BRIDGE="bridge" | + SHARED="shared" | + MSB0="msb0" | + LSB0="lsb0" | + SYNC="sync" | + ASYNC="async" | + CPUIF_RESET="cpuif_reset" | + FIELD_RESET="field_reset" | + ACTIVEHIGH="activehigh" | + ACTIVELOW="activelow" | + SINGLEPULSE="singlepulse" | + UNDERFLOW="underflow" | + + INCR="incr" | + DECR="decr" | + + INCRWIDTH="incrwidth" | + DECRWIDTH="decrwidth" | + + INCRVALUE="incrvalue" | + DECRVALUE="decrvalue" | + + SATURATE="saturate" | + DECRSATURATE="decrsaturate" | + + THRESHOLD="threshold" | + DECRTHRESHOLD="decrthreshold" | + + DONTCOMPARE="dontcompare" | + DONTTEST="donttest" | + INTERNAL="internal" | + + ALIGNMENT="alignment" | + REGWIDTH="regwidth" | + FIELDWIDTH="fieldwidth" | + SIGNALWIDTH="signalwidth" | + ACCESSWIDTH="accesswidth" | + + + SW="sw" | + HW="hw" | + ADDRESSING="addressing" | + PRECEDENCE="precedence" | + + ENCODE="encode" | + RESETSIGNAL="resetsignal" | + CLOCK="clock" | + + MASK="mask" | + ENABLE="enable" | + + HWENABLE="hwenable" | + HWMASK="hwmask" | + + HALTMASK="haltmask" | + HALTENABLE="haltenable" | + + + HALT="halt" | + + NEXT="next" + ; + +enum Property returns PropertyEnum: + NAME="name" | + DESC="desc" | + ARBITER="arbiter" | + RSET="rset" | + RCLR="rclr" | + WOCLR="woclr" | + WOSET="woset" | + + WE="we" | + WEL="wel" | + + SWWE="swwe" | + SWWEL="swwel" | + + HWSET="hwset" | + HWCLR="hwclr" | + + SWMOD="swmod" | + SWACC="swacc" | + + STICKY="sticky" | + STICKYBIT="stickybit" | + INTR="intr" | + + ANDED="anded" | + ORED="ored" | + XORED="xored" | + + COUNTER="counter" | + OVERFLOW="overflow" | + + SHAREDEXTBUS="sharedextbus" | + ERREXTBUS="errextbus" | + + RESET="reset" | + + LITTLEENDIAN="littleendian" | + BIGENDIAN="bigendian" | + RSVDSET="rsvdset" | + RSVDSETX="rsvdsetX" | + BRIDGE="bridge" | + SHARED="shared" | + MSB0="msb0" | + LSB0="lsb0" | + SYNC="sync" | + ASYNC="async" | + CPUIF_RESET="cpuif_reset" | + FIELD_RESET="field_reset" | + ACTIVEHIGH="activehigh" | + ACTIVELOW="activelow" | + SINGLEPULSE="singlepulse" | + UNDERFLOW="underflow" | + + INCR="incr" | + DECR="decr" | + + INCRWIDTH="incrwidth" | + DECRWIDTH="decrwidth" | + + INCRVALUE="incrvalue" | + DECRVALUE="decrvalue" | + + SATURATE="saturate" | + DECRSATURATE="decrsaturate" | + + THRESHOLD="threshold" | + DECRTHRESHOLD="decrthreshold" | + + DONTCOMPARE="dontcompare" | + DONTTEST="donttest" | + INTERNAL="internal" | + + ALIGNMENT="alignment" | + REGWIDTH="regwidth" | + FIELDWIDTH="fieldwidth" | + SIGNALWIDTH="signalwidth" | + ACCESSWIDTH="accesswidth" | + + + SW="sw" | + HW="hw" | + ADDRESSING="addressing" | + PRECEDENCE="precedence" | + + ENCODE="encode" | + RESETSIGNAL="resetsignal" | + CLOCK="clock" | + + MASK="mask" | + ENABLE="enable" | + + HWENABLE="hwenable" | + HWMASK="hwmask" | + + HALTMASK="haltmask" | + HALTENABLE="haltenable" | + + + HALT="halt" | + + NEXT="next" + ; + +PropertyRvalueConstant returns RValue: + val=RValueConstant | num=NUM | str=STR + ; + +enum RValueConstant: + UNDEFINED | TRUE="true" | FALSE="false" | RW="rw" | WR="wr" | R="r" | W="w" | NA="na" | COMPACT="compact" | REGALIGN="regalign" | FULLALIGN="fullalign" | HW="hw" | SW="sw" +; + +enum PropertyModifier: + UNDEFINED | POSEDGE="posedge" | NEGEDGE="negedge" | BOTHEDGE="bothedge" | LEVEL="level" | NONSTICKY="nonsticky" + ; + +EnumDefinition: + "enum" name=ID body=EnumBody ';' + ; + +EnumBody: + '{' {EnumBody} entries+=EnumEntry* '}' + ; + +EnumEntry: + name=ID '=' index=NUM ('{' properties+=EnumProperty* '}')? ';' + ; + +EnumProperty: + ( name='name' '=' value=STR | name='desc' '=' value=STR ) ';' + ; + +/////////////////////////////////////////////////////////////////////////////// +// the terminals +/////////////////////////////////////////////////////////////////////////////// + +terminal ID: + '\\'? ('a'..'z'|'A'..'Z' | '_')('a'..'z'|'A'..'Z' | '_' | '0'..'9')*; + +terminal WS : (' '|'\t'|'\r'|'\n')+; +terminal ML_COMMENT : '/*' -> '*/' ; +terminal SL_COMMENT : '//' !('\n'|'\r')* ('\r'? '\n')?; +terminal ESCAPE_JSP : '<%' -> '%>' ; +terminal ESCAPE_ORDL: '(' -> ')' ; + +terminal NUM returns ecore::EJavaObject: +// <= verilog like numbers with size and base (16'123 'h1fff, ...====================================================================================> <= hexa decimal numbers =============> + //'0'..'9'* '\'' ( 'b' ('0' | '1' | '_')+ | 'd'? ('0'..'9' | '_')+ | 'o' ('0'..'7' | '_')+ | 'h' ('0'..'9' | 'a'..'f' | 'A'..'F' | '_')+) | "0x" ('0'..'9' | 'a'..'f' | 'A'..'F')+ | '0'..'9'+; + '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'+ + ; + +terminal STR: + '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') | !('\\'|'"') )* '"' //| +// "'" ( '\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') | !('\\'|"'") )* "'" + ; + + \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDLRuntimeModule.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDLRuntimeModule.xtend new file mode 100644 index 0000000..5dbdd25 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDLRuntimeModule.xtend @@ -0,0 +1,37 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl + +import org.eclipse.xtext.conversion.IValueConverterService +import com.minres.rdl.converter.RdlTerminalConverters +import org.eclipse.xtext.scoping.IGlobalScopeProvider +import org.eclipse.xtext.naming.IQualifiedNameProvider + +/** + * Use this class to register components to be used at runtime / without the Equinox extension registry. + */ +class RDLRuntimeModule extends AbstractRDLRuntimeModule { + + override Class bindIValueConverterService() { + return typeof(RdlTerminalConverters); + } + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + override void configureIScopeProviderDelegate(com.google.inject.Binder binder) { + binder.bind(typeof(org.eclipse.xtext.scoping.IScopeProvider)). + annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)). + to(typeof(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider)); + } + // the following two are used to allow URI based include mechanism + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + override Class bindIGlobalScopeProvider() { + //return typeof(ResourceSetGlobalScopeProvider) + return typeof(org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider) + } + // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment + override Class bindIQualifiedNameProvider() { + //return typeof(ResourceSetGlobalScopeProvider) + return typeof(org.eclipse.xtext.naming.SimpleNameProvider) + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDLStandaloneSetup.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDLStandaloneSetup.xtend new file mode 100644 index 0000000..da33b04 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RDLStandaloneSetup.xtend @@ -0,0 +1,15 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl + + +/** + * Initialization support for running Xtext languages without Equinox extension registry. + */ +class RDLStandaloneSetup extends RDLStandaloneSetupGenerated { + + def static void doSetup() { + new RDLStandaloneSetup().createInjectorAndDoEMFRegistration() + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RdlImportUriResolver.java b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RdlImportUriResolver.java new file mode 100644 index 0000000..f81ce73 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/RdlImportUriResolver.java @@ -0,0 +1,21 @@ +package com.minres.rdl; + +import org.apache.log4j.Level; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.scoping.impl.ImportUriResolver; + +public class RdlImportUriResolver extends ImportUriResolver { + + private static final Logger LOGGER = Logger.getLogger(RdlImportUriResolver.class); + + public RdlImportUriResolver() { + super(); + LOGGER.setLevel(Level.INFO); + } + + @Override + public String resolve(EObject object) { + return super.resolve(object); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/IDValueConverter.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/IDValueConverter.xtend new file mode 100644 index 0000000..8230ed8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/IDValueConverter.xtend @@ -0,0 +1,18 @@ +package com.minres.rdl.converter + +import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter +import org.eclipse.xtext.nodemodel.INode + +class IDValueConverter extends AbstractLexerBasedConverter { + + override protected String toEscapedString(String value) { + return value + } + + override String toValue(String string, INode node) { + if(string.startsWith('\\')) + return string.substring(1) + else + return string + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/NUMValueConverter.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/NUMValueConverter.xtend new file mode 100644 index 0000000..2de4de8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/NUMValueConverter.xtend @@ -0,0 +1,29 @@ +package com.minres.rdl.converter + +import org.eclipse.xtext.conversion.ValueConverterException +import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter +import org.eclipse.xtext.nodemodel.INode +import org.eclipse.xtext.util.Strings +import com.minres.rdl.IntegerWithRadix + +package class NUMValueConverter extends AbstractLexerBasedConverter { + + override protected String toEscapedString(IntegerWithRadix value) { + return value.toString() + } + + override protected void assertValidValue(IntegerWithRadix value) { + super.assertValidValue(value) + } + + override IntegerWithRadix toValue(String string, INode node) throws ValueConverterException { + if(Strings.isEmpty(string)) throw new ValueConverterException( + "Couldn't convert empty string to an integer value.", node, null); + try { + return new IntegerWithRadix(string) + } catch (NumberFormatException e) { + throw new ValueConverterException('''Couldn't convert '«»«string»' to an integer value.''', node, e) + } + + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/RdlTerminalConverters.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/RdlTerminalConverters.xtend new file mode 100644 index 0000000..a3ce258 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/RdlTerminalConverters.xtend @@ -0,0 +1,27 @@ +package com.minres.rdl.converter + +import org.eclipse.xtext.common.services.DefaultTerminalConverters +import org.eclipse.xtext.conversion.IValueConverter +import org.eclipse.xtext.conversion.ValueConverter +import com.google.inject.Inject +import com.minres.rdl.IntegerWithRadix + +class RdlTerminalConverters extends DefaultTerminalConverters { + @Inject NUMValueConverter numValueConverter + + @Inject STRValueConverter stringConverter + + @Inject IDValueConverter idConverter + + @ValueConverter(rule="NUM") def IValueConverter getNumValueConverter() { + return numValueConverter + } + + @ValueConverter(rule = "STR") def IValueConverter getStrValueConverter() { + return stringConverter; + } + + @ValueConverter(rule = "ID") def IValueConverter getIdValueConverter() { + return idConverter; + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/STRValueConverter.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/STRValueConverter.xtend new file mode 100644 index 0000000..7eed89d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/converter/STRValueConverter.xtend @@ -0,0 +1,15 @@ +package com.minres.rdl.converter + +import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter +import org.eclipse.xtext.nodemodel.INode + +class STRValueConverter extends AbstractLexerBasedConverter { + + override protected String toEscapedString(String value) { + return "\""+value+"\"" + } + + override String toValue(String string, INode node) { + return string.substring(1, string.length-1) + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/formatting/RDLFormatter.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/formatting/RDLFormatter.xtend new file mode 100644 index 0000000..1b1df62 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/formatting/RDLFormatter.xtend @@ -0,0 +1,30 @@ +/* + * generated by Xtext + */ +package com.minres.rdl.formatting + +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter +import org.eclipse.xtext.formatting.impl.FormattingConfig +import com.google.inject.Inject; +import com.minres.rdl.services.RDLGrammarAccess + +/** + * This class contains custom formatting description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#formatting + * on how and when to use it + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +class RDLFormatter extends AbstractDeclarativeFormatter { + + @Inject extension RDLGrammarAccess + + override protected void configureFormatting(FormattingConfig c) { +// It's usually a good idea to activate the following three statements. +// They will add and preserve newlines around comments + c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) + c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) + c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) + } +} 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 new file mode 100644 index 0000000..ad82685 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend @@ -0,0 +1,25 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.generator + +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 + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +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(', ')) + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/messages/RDLSyntaxErrorMessageProvider.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/messages/RDLSyntaxErrorMessageProvider.xtend new file mode 100644 index 0000000..00c198f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/messages/RDLSyntaxErrorMessageProvider.xtend @@ -0,0 +1,29 @@ +package com.minres.rdl.messages; + +import com.google.inject.Inject +import org.eclipse.xtext.GrammarUtil +import org.eclipse.xtext.IGrammarAccess +import org.eclipse.xtext.nodemodel.SyntaxErrorMessage +import org.eclipse.xtext.parser.antlr.SyntaxErrorMessageProvider + +class RDLSyntaxErrorMessageProvider extends SyntaxErrorMessageProvider { + + public static val String USED_RESERVED_KEYWORD = "USED_RESERVED_KEYWORD" + + @Inject IGrammarAccess grammarAccess + /** + * Customized error message for reserved keywords + */ + override getSyntaxErrorMessage(IParserErrorContext context) { + println context?.recognitionException?.class + val unexpectedText = context?.recognitionException?.token?.text + if (GrammarUtil::getAllKeywords(grammarAccess.getGrammar()).contains(unexpectedText)) { + println(context.defaultMessage) + return new SyntaxErrorMessage(''' + "«unexpectedText»" is a reserved keyword which is not allowed as Identifier. + Please choose another word or alternatively confuse your co-workers by escaping it with the caret (^) character like this: "^«unexpectedText»".''', + USED_RESERVED_KEYWORD) + } + super.getSyntaxErrorMessage(context) + } +} \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/PreferenceConstants.java b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/PreferenceConstants.java new file mode 100644 index 0000000..d37a29a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/PreferenceConstants.java @@ -0,0 +1,12 @@ +package com.minres.rdl.preferences; + +/** + * Constant definitions for plug-in preferences + */ +public class PreferenceConstants { + + public static final String P_GENERATE_CSV = "booleanCsvPreference"; + + public static final String P_ADDRESSUNIT = "choiceAddrunitPreference"; + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/PreferenceInitializer.java b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/PreferenceInitializer.java new file mode 100644 index 0000000..882789b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/PreferenceInitializer.java @@ -0,0 +1,41 @@ +package com.minres.rdl.preferences; + +import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; +import org.eclipse.core.runtime.preferences.DefaultScope; +import org.eclipse.core.runtime.preferences.IEclipsePreferences; + +/** + * Class used to initialize default preference values. + */ +public class PreferenceInitializer extends AbstractPreferenceInitializer { + + /* + * (non-Javadoc) + * + * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer# + * initializeDefaultPreferences() + */ + public void initializeDefaultPreferences() { + IEclipsePreferences store = getPreferenceStore(); + store.putBoolean(PreferenceConstants.P_GENERATE_CSV, true); + String value = System.getProperty("com.minres.rdl.rdl.addrunit"); + if(value!=null){ + if("byte".equals(value)){ + store.put(PreferenceConstants.P_ADDRESSUNIT, "byte"); + } else if("word".equals(value)){ + store.put(PreferenceConstants.P_ADDRESSUNIT, "word"); + } else if("dword".equals(value)){ + store.put(PreferenceConstants.P_ADDRESSUNIT, "dword"); + } else { + System.err.println("Unknown configuration value: '"+value+"', using 'byte'"); + store.put(PreferenceConstants.P_ADDRESSUNIT, "byte"); + } + } else + store.put(PreferenceConstants.P_ADDRESSUNIT, "byte"); + } + + public static IEclipsePreferences getPreferenceStore() { + return DefaultScope.INSTANCE.getNode("com.minres.rdl.rdl"); + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/RdlPreferences.java b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/RdlPreferences.java new file mode 100644 index 0000000..a9370ac --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/RdlPreferences.java @@ -0,0 +1,19 @@ +package com.minres.rdl.preferences; + +import org.eclipse.core.runtime.preferences.IEclipsePreferences; +import org.eclipse.core.runtime.preferences.InstanceScope; + +public class RdlPreferences { + + public static boolean getGenerateCsv() { + return getPreferenceStore().getBoolean(PreferenceConstants.P_GENERATE_CSV, true); + } + + public static String getAddrUnit() { + return getPreferenceStore().get(PreferenceConstants.P_ADDRESSUNIT, System.getProperty("com.minres.rdl.rdl.addrunit")); + } + + public static IEclipsePreferences getPreferenceStore() { + return InstanceScope.INSTANCE.getNode("com.minres.rdl.rdl"); + } +} \ 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 new file mode 100644 index 0000000..4715611 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/scoping/RDLScopeProvider.xtend @@ -0,0 +1,162 @@ +/* + * generated by Xtext 2.12.0 + */ +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. + * + * see : http://www.eclipse.org/Xtext/documentation.html#scoping + * on how and when to use it + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + * + */ + +class RDLScopeProvider extends AbstractRDLScopeProvider { //AbstractDeclarativeScopeProvider { + +// override IScope getScope(EObject context, EReference reference){ +//// println("scope_"+reference.EContainingClass.name+"_"+reference.name+"("+context.eClass.name+",..)") +// switch(context){ +// InstanceRef:{ +// var definition = context.componentDefinition +// val parent = context.eContainer() +// if (parent instanceof InstanceRef) +// definition = parent.instance.componentDefinition +// if (definition !== null) +// return getScopeWithInstancesAndEnums(definition) +// return IScope.NULLSCOPE +// } +// NamedInstantiation:{ +// val componentDef = context.componentDefinition +// if(componentDef!==null) +// return getScopeWithComponentDefinition(componentDef) +// else +// return getScopeWithComponentDefinition(context.root) +// } +// } +// super.getScope(context, reference) +// } + + dispatch def IScope getScopeWithComponentDefinition(ComponentDefinition componentDef){ + return Scopes.scopeFor(componentDef.componentDefinitions, getScopeWithComponentDefinition(componentDef.eContainer)) + } + + dispatch def IScope getScopeWithComponentDefinition(Root root){ + var compDefs = root.componentDefinitions + for (incl : root.includes) { + var resource = EcoreUtil2.getResource(root.eResource, incl.importURI); + val r = resource.contents.head as Root + compDefs+=r.componentDefinitions + } + 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(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 + } + +// dispatch def Iterable allComponentDefinitions(ComponentDefinition definition){ +// return definition.componentDefinitions + definition.eContainer.allComponentDefinitions +// } +// +// dispatch def Iterable allComponentDefinitions(Root root){ +// var compDefs = root.componentDefinitions +// for (incl : root.includes) { +// var resource = EcoreUtil2.getResource(root.eResource, incl.importURI); +// val r = resource.contents.head as Root +// compDefs+=r.allComponentDefinitions +// } +// return compDefs +// } + +// dispatch def Iterable allEnumDefinitions(ComponentDefinition componentDefinition){ +// return componentDefinition.enumDefinitions + componentDefinition.eContainer.allEnumDefinitions +// } +// +// dispatch def Iterable allEnumDefinitions(Root root){ +// var List res1=newArrayList() +// res1+=root.eResource +// var enums = EcoreUtil2.getAllContentsOfType(root, EnumDefinition) +// for (incl : root.includes) { +// val resource = EcoreUtil2.getResource(root.eResource, incl.importURI); +// enums+=(resource.contents.head as Root).allEnumDefinitions +// } +// return enums +// } +// +// private def Iterable allInstances(ComponentDefinition componentDefinition){ +// var res = new ArrayList() +// for(NamedInstantiation inst:componentDefinition.namedInstantiations) +// if(inst.componentInstances.size>0) res.addAll(inst.componentInstances) +// for(ComponentDefinition definition:componentDefinition.componentDefinitions) +// if(definition.immediateInstantiation!==null && definition.immediateInstantiation.componentInstances.size>0) +// res.addAll(definition.immediateInstantiation.componentInstances) +// if(componentDefinition.eContainer instanceof ComponentDefinition) { +// res.addAll((componentDefinition.eContainer as ComponentDefinition).allInstances) +// } else if(componentDefinition.eContainer instanceof Root){ +// var root = componentDefinition.eContainer as Root +// 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) +// } +// return res +// } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/validation/RDLValidator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/validation/RDLValidator.xtend new file mode 100644 index 0000000..99245c8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/validation/RDLValidator.xtend @@ -0,0 +1,25 @@ +/* + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.validation + + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +class RDLValidator extends AbstractRDLValidator { + +// public static val INVALID_NAME = 'invalidName' +// +// @Check +// def checkGreetingStartsWithCapital(Greeting greeting) { +// if (!Character.isUpperCase(greeting.name.charAt(0))) { +// warning('Name should start with a capital', +// RDLPackage.Literals.GREETING__NAME, +// INVALID_NAME) +// } +// } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLRuntimeModule.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLRuntimeModule.java._trace new file mode 100644 index 0000000..09c26d9 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLRuntimeModule.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLRuntimeModule.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLRuntimeModule.xtendbin new file mode 100644 index 0000000..e34b173 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLRuntimeModule.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLStandaloneSetup.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLStandaloneSetup.java._trace new file mode 100644 index 0000000..5f28abe Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLStandaloneSetup.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLStandaloneSetup.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLStandaloneSetup.xtendbin new file mode 100644 index 0000000..5ac3b10 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/.RDLStandaloneSetup.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/RDLRuntimeModule.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/RDLRuntimeModule.java new file mode 100644 index 0000000..a58c885 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/RDLRuntimeModule.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl; + +import com.google.inject.Binder; +import com.google.inject.name.Names; +import com.minres.rdl.AbstractRDLRuntimeModule; +import com.minres.rdl.converter.RdlTerminalConverters; +import org.eclipse.xtext.conversion.IValueConverterService; +import org.eclipse.xtext.naming.IQualifiedNameProvider; +import org.eclipse.xtext.naming.SimpleNameProvider; +import org.eclipse.xtext.scoping.IGlobalScopeProvider; +import org.eclipse.xtext.scoping.IScopeProvider; +import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; +import org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider; +import org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider; + +/** + * Use this class to register components to be used at runtime / without the Equinox extension registry. + */ +@SuppressWarnings("all") +public class RDLRuntimeModule extends AbstractRDLRuntimeModule { + @Override + public Class bindIValueConverterService() { + return RdlTerminalConverters.class; + } + + @Override + public void configureIScopeProviderDelegate(final Binder binder) { + binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(SimpleLocalScopeProvider.class); + } + + @Override + public Class bindIGlobalScopeProvider() { + return ImportUriGlobalScopeProvider.class; + } + + @Override + public Class bindIQualifiedNameProvider() { + return SimpleNameProvider.class; + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/RDLStandaloneSetup.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/RDLStandaloneSetup.java new file mode 100644 index 0000000..d295a18 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/RDLStandaloneSetup.java @@ -0,0 +1,16 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl; + +import com.minres.rdl.RDLStandaloneSetupGenerated; + +/** + * Initialization support for running Xtext languages without Equinox extension registry. + */ +@SuppressWarnings("all") +public class RDLStandaloneSetup extends RDLStandaloneSetupGenerated { + public static void doSetup() { + new RDLStandaloneSetup().createInjectorAndDoEMFRegistration(); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.CoreDslTerminalConverters.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.CoreDslTerminalConverters.java._trace new file mode 100644 index 0000000..0c19738 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.CoreDslTerminalConverters.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.IDValueConverter.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.IDValueConverter.java._trace new file mode 100644 index 0000000..2190ba4 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.IDValueConverter.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.IDValueConverter.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.IDValueConverter.xtendbin new file mode 100644 index 0000000..03a1996 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.IDValueConverter.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.NUMValueConverter.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.NUMValueConverter.java._trace new file mode 100644 index 0000000..1f76811 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.NUMValueConverter.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.NUMValueConverter.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.NUMValueConverter.xtendbin new file mode 100644 index 0000000..4309c24 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.NUMValueConverter.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.RdlTerminalConverters.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.RdlTerminalConverters.java._trace new file mode 100644 index 0000000..b88890b Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.RdlTerminalConverters.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.RdlTerminalConverters.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.RdlTerminalConverters.xtendbin new file mode 100644 index 0000000..a2cf790 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.RdlTerminalConverters.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.STRValueConverter.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.STRValueConverter.java._trace new file mode 100644 index 0000000..7a3c133 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.STRValueConverter.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.STRValueConverter.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.STRValueConverter.xtendbin new file mode 100644 index 0000000..5aa2c0f Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.STRValueConverter.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.StringConverter.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.StringConverter.java._trace new file mode 100644 index 0000000..9e382d5 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/.StringConverter.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/IDValueConverter.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/IDValueConverter.java new file mode 100644 index 0000000..fb729eb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/IDValueConverter.java @@ -0,0 +1,22 @@ +package com.minres.rdl.converter; + +import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; +import org.eclipse.xtext.nodemodel.INode; + +@SuppressWarnings("all") +public class IDValueConverter extends AbstractLexerBasedConverter { + @Override + protected String toEscapedString(final String value) { + return value; + } + + @Override + public String toValue(final String string, final INode node) { + boolean _startsWith = string.startsWith("\\"); + if (_startsWith) { + return string.substring(1); + } else { + return string; + } + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/NUMValueConverter.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/NUMValueConverter.java new file mode 100644 index 0000000..1748bde --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/NUMValueConverter.java @@ -0,0 +1,45 @@ +package com.minres.rdl.converter; + +import com.minres.rdl.IntegerWithRadix; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.conversion.ValueConverterException; +import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.util.Strings; +import org.eclipse.xtext.xbase.lib.Exceptions; + +@SuppressWarnings("all") +class NUMValueConverter extends AbstractLexerBasedConverter { + @Override + protected String toEscapedString(final IntegerWithRadix value) { + return value.toString(); + } + + @Override + protected void assertValidValue(final IntegerWithRadix value) { + super.assertValidValue(value); + } + + @Override + public IntegerWithRadix toValue(final String string, final INode node) throws ValueConverterException { + boolean _isEmpty = Strings.isEmpty(string); + if (_isEmpty) { + throw new ValueConverterException( + "Couldn\'t convert empty string to an integer value.", node, null); + } + try { + return new IntegerWithRadix(string); + } catch (final Throwable _t) { + if (_t instanceof NumberFormatException) { + final NumberFormatException e = (NumberFormatException)_t; + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Couldn\'t convert \'"); + _builder.append(string); + _builder.append("\' to an integer value."); + throw new ValueConverterException(_builder.toString(), node, e); + } else { + throw Exceptions.sneakyThrow(_t); + } + } + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/RdlTerminalConverters.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/RdlTerminalConverters.java new file mode 100644 index 0000000..5c438ef --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/RdlTerminalConverters.java @@ -0,0 +1,37 @@ +package com.minres.rdl.converter; + +import com.google.inject.Inject; +import com.minres.rdl.IntegerWithRadix; +import com.minres.rdl.converter.IDValueConverter; +import com.minres.rdl.converter.NUMValueConverter; +import com.minres.rdl.converter.STRValueConverter; +import org.eclipse.xtext.common.services.DefaultTerminalConverters; +import org.eclipse.xtext.conversion.IValueConverter; +import org.eclipse.xtext.conversion.ValueConverter; + +@SuppressWarnings("all") +public class RdlTerminalConverters extends DefaultTerminalConverters { + @Inject + private NUMValueConverter numValueConverter; + + @Inject + private STRValueConverter stringConverter; + + @Inject + private IDValueConverter idConverter; + + @ValueConverter(rule = "NUM") + public IValueConverter getNumValueConverter() { + return this.numValueConverter; + } + + @ValueConverter(rule = "STR") + public IValueConverter getStrValueConverter() { + return this.stringConverter; + } + + @ValueConverter(rule = "ID") + public IValueConverter getIdValueConverter() { + return this.idConverter; + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/STRValueConverter.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/STRValueConverter.java new file mode 100644 index 0000000..5588c55 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/converter/STRValueConverter.java @@ -0,0 +1,19 @@ +package com.minres.rdl.converter; + +import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; +import org.eclipse.xtext.nodemodel.INode; + +@SuppressWarnings("all") +public class STRValueConverter extends AbstractLexerBasedConverter { + @Override + protected String toEscapedString(final String value) { + return (("\"" + value) + "\""); + } + + @Override + public String toValue(final String string, final INode node) { + int _length = string.length(); + int _minus = (_length - 1); + return string.substring(1, _minus); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.RDLFormatter.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.RDLFormatter.java._trace new file mode 100644 index 0000000..ddec2bd Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.RDLFormatter.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.RDLFormatter.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.RDLFormatter.xtendbin new file mode 100644 index 0000000..bd46eb1 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/.RDLFormatter.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/RDLFormatter.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/RDLFormatter.java new file mode 100644 index 0000000..adef80f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/formatting/RDLFormatter.java @@ -0,0 +1,32 @@ +/** + * generated by Xtext + */ +package com.minres.rdl.formatting; + +import com.google.inject.Inject; +import com.minres.rdl.services.RDLGrammarAccess; +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; +import org.eclipse.xtext.formatting.impl.FormattingConfig; +import org.eclipse.xtext.xbase.lib.Extension; + +/** + * This class contains custom formatting description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#formatting + * on how and when to use it + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +@SuppressWarnings("all") +public class RDLFormatter extends AbstractDeclarativeFormatter { + @Inject + @Extension + private RDLGrammarAccess _rDLGrammarAccess; + + @Override + protected void configureFormatting(final FormattingConfig c) { + c.setLinewrap(0, 1, 2).before(this._rDLGrammarAccess.getSL_COMMENTRule()); + c.setLinewrap(0, 1, 2).before(this._rDLGrammarAccess.getML_COMMENTRule()); + c.setLinewrap(0, 1, 1).after(this._rDLGrammarAccess.getML_COMMENTRule()); + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.RDLGenerator.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.RDLGenerator.java._trace new file mode 100644 index 0000000..ce3b655 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.RDLGenerator.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.RDLGenerator.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.RDLGenerator.xtendbin new file mode 100644 index 0000000..9766c70 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/.RDLGenerator.xtendbin differ 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 new file mode 100644 index 0000000..67504c1 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/generator/RDLGenerator.java @@ -0,0 +1,21 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.generator; + +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; + +/** + * Generates code from your model files on save. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation + */ +@SuppressWarnings("all") +public class RDLGenerator extends AbstractGenerator { + @Override + public void doGenerate(final Resource resource, final IFileSystemAccess2 fsa, final IGeneratorContext context) { + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.RDLSyntaxErrorMessageProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.RDLSyntaxErrorMessageProvider.java._trace new file mode 100644 index 0000000..2fe6a71 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.RDLSyntaxErrorMessageProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.RDLSyntaxErrorMessageProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.RDLSyntaxErrorMessageProvider.xtendbin new file mode 100644 index 0000000..6088f9d Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/.RDLSyntaxErrorMessageProvider.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/RDLSyntaxErrorMessageProvider.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/RDLSyntaxErrorMessageProvider.java new file mode 100644 index 0000000..8b12cd5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/messages/RDLSyntaxErrorMessageProvider.java @@ -0,0 +1,67 @@ +package com.minres.rdl.messages; + +import com.google.inject.Inject; +import org.antlr.runtime.RecognitionException; +import org.antlr.runtime.Token; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.nodemodel.SyntaxErrorMessage; +import org.eclipse.xtext.parser.antlr.ISyntaxErrorMessageProvider; +import org.eclipse.xtext.parser.antlr.SyntaxErrorMessageProvider; +import org.eclipse.xtext.xbase.lib.InputOutput; + +@SuppressWarnings("all") +public class RDLSyntaxErrorMessageProvider extends SyntaxErrorMessageProvider { + public final static String USED_RESERVED_KEYWORD = "USED_RESERVED_KEYWORD"; + + @Inject + private IGrammarAccess grammarAccess; + + /** + * Customized error message for reserved keywords + */ + @Override + public SyntaxErrorMessage getSyntaxErrorMessage(final ISyntaxErrorMessageProvider.IParserErrorContext context) { + SyntaxErrorMessage _xblockexpression = null; + { + InputOutput.println(); + RecognitionException _recognitionException = null; + if (context!=null) { + _recognitionException=context.getRecognitionException(); + } + if (_recognitionException!=null) { + _recognitionException.getClass(); + } + RecognitionException _recognitionException_1 = null; + if (context!=null) { + _recognitionException_1=context.getRecognitionException(); + } + Token _ken = null; + if (_recognitionException_1!=null) { + _ken=_recognitionException_1.token; + } + String _text = null; + if (_ken!=null) { + _text=_ken.getText(); + } + final String unexpectedText = _text; + boolean _contains = GrammarUtil.getAllKeywords(this.grammarAccess.getGrammar()).contains(unexpectedText); + if (_contains) { + InputOutput.println(context.getDefaultMessage()); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("\""); + _builder.append(unexpectedText); + _builder.append("\" is a reserved keyword which is not allowed as Identifier."); + _builder.newLineIfNotEmpty(); + _builder.append("Please choose another word or alternatively confuse your co-workers by escaping it with the caret (^) character like this: \"^"); + _builder.append(unexpectedText); + _builder.append("\"."); + return new SyntaxErrorMessage(_builder.toString(), + RDLSyntaxErrorMessageProvider.USED_RESERVED_KEYWORD); + } + _xblockexpression = super.getSyntaxErrorMessage(context); + } + return _xblockexpression; + } +} diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.RDLScopeProvider.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.RDLScopeProvider.java._trace new file mode 100644 index 0000000..b7ccbc4 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.RDLScopeProvider.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.RDLScopeProvider.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.RDLScopeProvider.xtendbin new file mode 100644 index 0000000..c74b4f4 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/.RDLScopeProvider.xtendbin differ 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 new file mode 100644 index 0000000..d7e0854 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/scoping/RDLScopeProvider.java @@ -0,0 +1,151 @@ +/** + * generated by Xtext 2.12.0 + */ +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; +import org.eclipse.xtext.EcoreUtil2; +import org.eclipse.xtext.scoping.IScope; +import org.eclipse.xtext.scoping.Scopes; +import org.eclipse.xtext.xbase.lib.IterableExtensions; + +/** + * This class contains custom scoping description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#scoping + * on how and when to use it + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping + * on how and when to use it. + */ +@SuppressWarnings("all") +public class RDLScopeProvider extends AbstractRDLScopeProvider { + protected IScope _getScopeWithComponentDefinition(final ComponentDefinition componentDef) { + return Scopes.scopeFor(componentDef.getComponentDefinitions(), this.getScopeWithComponentDefinition(componentDef.eContainer())); + } + + protected IScope _getScopeWithComponentDefinition(final Root root) { + EList compDefs = root.getComponentDefinitions(); + EList _includes = root.getIncludes(); + for (final Include incl : _includes) { + { + Resource resource = EcoreUtil2.getResource(root.eResource(), incl.getImportURI()); + EObject _head = IterableExtensions.head(resource.getContents()); + final Root r = ((Root) _head); + EList _componentDefinitions = r.getComponentDefinitions(); + Iterables.addAll(compDefs, _componentDefinitions); + } + } + 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); + } else if (componentDef instanceof Root) { + return _getScopeWithComponentDefinition((Root)componentDef); + } else { + throw new IllegalArgumentException("Unhandled parameter types: " + + 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/.RDLValidator.java._trace b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.RDLValidator.java._trace new file mode 100644 index 0000000..518244e Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.RDLValidator.java._trace differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.RDLValidator.xtendbin b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.RDLValidator.xtendbin new file mode 100644 index 0000000..af61d79 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/.RDLValidator.xtendbin differ diff --git a/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/RDLValidator.java b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/RDLValidator.java new file mode 100644 index 0000000..3ca0787 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/xtend-gen/com/minres/rdl/validation/RDLValidator.java @@ -0,0 +1,15 @@ +/** + * generated by Xtext 2.12.0 + */ +package com.minres.rdl.validation; + +import com.minres.rdl.validation.AbstractRDLValidator; + +/** + * This class contains custom validation rules. + * + * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation + */ +@SuppressWarnings("all") +public class RDLValidator extends AbstractRDLValidator { +} diff --git a/com.minres.rdl.parent/pom.xml b/com.minres.rdl.parent/pom.xml new file mode 100644 index 0000000..ab964df --- /dev/null +++ b/com.minres.rdl.parent/pom.xml @@ -0,0 +1,285 @@ + + 4.0.0 + com.minres.rdl + 1.0.0-SNAPSHOT + com.minres.rdl.parent + pom + + + 1.0.0 + 2.12.0 + UTF-8 + 1.8 + 1.8 + + + com.minres.rdl + com.minres.rdl.ide + com.minres.rdl.ui + com.minres.rdl.target + com.minres.rdl.feature + com.minres.rdl.repository + com.minres.rdl.tests + com.minres.rdl.ui.tests + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + + plugin-source + + + + + + org.eclipse.tycho.extras + tycho-source-feature-plugin + ${tycho-version} + + + source-feature + package + + source-feature + + + + + + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} + + + attach-p2-metadata + package + + p2-metadata + + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + + + com.minres.rdl + com.minres.rdl.target + ${project.version} + + + + + macosx + cocoa + x86_64 + + + win32 + win32 + x86_64 + + + linux + gtk + x86_64 + + + + + + + + + org.eclipse.xtend + xtend-maven-plugin + ${xtextVersion} + + + + compile + xtend-install-debug-info + testCompile + xtend-test-install-debug-info + + + + + ${basedir}/xtend-gen + ${basedir}/xtend-gen + + + + org.apache.maven.plugins + maven-clean-plugin + 2.5 + + + + ${basedir}/xtend-gen + + **/* + + ${basedir}/xtend-gen + + **/* + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-resources-plugin + + + [2.4.3,) + + + resources + testResources + + + + + + + + + + org.codehaus.mojo + + + build-helper-maven-plugin + + + [1.9.1,) + + + add-resource + add-source + add-test-resource + add-test-source + + + + + + + + + + org.eclipse.tycho + + + tycho-compiler-plugin + + + [0.23.1,) + + + compile + + + + + + + + + + org.eclipse.tycho + + + tycho-packaging-plugin + + + [0.23.1,) + + + build-qualifier + build-qualifier-aggregator + validate-id + validate-version + + + + + + + + + + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + -err:-forbidden + + + + + + + + codehaus-snapshots + disable dead 'Codehaus Snapshots' repository, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=481478 + http://nexus.codehaus.org/snapshots/ + + false + + + false + + + + + + codehaus-snapshots + disable dead 'Codehaus Snapshots' repository, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=481478 + http://nexus.codehaus.org/snapshots/ + + false + + + false + + + + + + +